/* Covenant Supporters Directory. Everything is scoped under .cvs so it does not
   fight the theme. Fonts are inherited from the theme. */

.cvs {
	--cvs-accent: #b91c2c;
	--cvs-bg: #ffffff;
	--cvs-surface: #ffffff;
	--cvs-surface-2: #f6f6f4;
	--cvs-text: #1b1b1b;
	--cvs-muted: #5d5d5d;
	--cvs-border: #e3e3e0;
	--cvs-logo-bg: #ffffff;
	--cvs-radius: 12px;
	--cvs-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 4px 14px rgba(0, 0, 0, .05);
	color: var(--cvs-text);
	font-size: 16px;
	line-height: 1.55;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}
.cvs--dark {
	--cvs-surface: #171717;
	--cvs-surface-2: #202020;
	--cvs-text: #f1f1f1;
	--cvs-muted: #a9a9a9;
	--cvs-border: #2e2e2e;
	--cvs-shadow: 0 1px 2px rgba(0, 0, 0, .4);
}
.cvs *,
.cvs *::before,
.cvs *::after { box-sizing: border-box; }
.cvs [hidden] { display: none !important; }
.cvs-sr {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Buttons and inputs ---------- */
.cvs-button {
	display: inline-flex; align-items: center; justify-content: center; gap: .4em;
	min-height: 46px; padding: .7em 1.4em; border: 0; border-radius: 999px;
	background: var(--cvs-accent); color: #fff !important; font: inherit; font-weight: 600;
	text-decoration: none !important; cursor: pointer; transition: filter .15s, transform .15s;
}
.cvs-button:hover { filter: brightness(1.1); }
.cvs-button:active { transform: translateY(1px); }
.cvs-button:disabled { opacity: .65; cursor: progress; }
.cvs-button:focus-visible,
.cvs-link-button:focus-visible,
.cvs-input:focus-visible,
.cvs-card a:focus-visible,
.cvs-card summary:focus-visible { outline: 3px solid var(--cvs-accent); outline-offset: 2px; }
.cvs-button--small { min-height: 42px; padding: .5em 1.1em; }
.cvs-link-button {
	background: none; border: 0; padding: .25em .4em; color: var(--cvs-accent);
	font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer;
}

.cvs-input {
	width: 100%; min-height: 46px; padding: .6em .85em; font: inherit; font-size: 16px;
	color: var(--cvs-text); background: var(--cvs-surface); border: 1px solid var(--cvs-border);
	border-radius: 8px; box-shadow: none; appearance: none; -webkit-appearance: none;
}
select.cvs-input {
	padding-right: 2.2em;
	background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
	background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
	background-size: 5px 5px; background-repeat: no-repeat;
}
.cvs-input:focus { border-color: var(--cvs-accent); }
.cvs-textarea { min-height: 130px; resize: vertical; }

/* ---------- Directory: filters ---------- */
.cvs-filters {
	display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
	padding: 14px; margin: 0 0 32px; background: var(--cvs-surface-2);
	border: 1px solid var(--cvs-border); border-radius: var(--cvs-radius);
}
.cvs-filters__search { position: relative; flex: 1 1 280px; }
.cvs-filters__search .cvs-input { padding-left: 2.6em; }
.cvs-filters__icon {
	position: absolute; left: .85em; top: 50%; width: 18px; height: 18px;
	transform: translateY(-50%); fill: var(--cvs-muted); pointer-events: none;
}
.cvs-filters__selects { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; flex: 0 1 auto; }
.cvs-filters__selects .cvs-input { width: auto; min-width: 150px; }
.cvs-filters__status { flex-basis: 100%; margin: 0; font-size: .9em; color: var(--cvs-muted); }
.cvs-filters__status:empty { display: none; }

/* ---------- Directory: tier sections ---------- */
.cvs-tier { margin: 0 0 44px; }
.cvs-tier__head {
	display: flex; align-items: center; gap: 12px; margin: 0 0 18px;
	padding-bottom: 10px; border-bottom: 2px solid var(--cvs-tier);
}
.cvs-tier__title {
	display: flex; align-items: center; gap: 10px; margin: 0 !important;
	font-size: 1.45em; line-height: 1.2; color: inherit;
}
.cvs-tier__mark {
	width: 14px; height: 14px; border-radius: 50%; flex: none;
	background: var(--cvs-tier); box-shadow: 0 0 0 4px color-mix(in srgb, var(--cvs-tier) 25%, transparent);
}
.cvs-tier__count {
	margin-left: auto; min-width: 2em; padding: .1em .6em; border-radius: 999px; text-align: center;
	font-size: .85em; font-weight: 600; color: var(--cvs-muted); background: var(--cvs-surface-2);
}

/* ---------- Directory: grid and cards ---------- */
.cvs-grid {
	display: grid; gap: 18px; margin: 0 !important; padding: 0 !important; list-style: none !important;
}
.cvs-grid--large { grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); }
.cvs-grid--medium { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.cvs-grid--small { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 14px; }

.cvs-card {
	position: relative; display: flex; flex-direction: column; margin: 0 !important; overflow: hidden;
	background: var(--cvs-surface); border: 1px solid var(--cvs-border); border-radius: var(--cvs-radius);
	box-shadow: var(--cvs-shadow);
}
.cvs-card::before {
	content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--cvs-tier);
}
.cvs-card__logo {
	display: flex; align-items: center; justify-content: center;
	aspect-ratio: 16 / 9; padding: 18px; background: var(--cvs-logo-bg);
	border-bottom: 1px solid var(--cvs-border);
}
.cvs-logo__img { max-width: 100%; max-height: 100%; width: auto !important; height: auto !important; object-fit: contain; }
.cvs-logo__initials {
	display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%;
	font-size: 1.6em; font-weight: 700; color: #fff; background: var(--cvs-tier);
}
.cvs-card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 16px 18px 18px; }
.cvs-card__top { display: flex; }
.cvs-card__name { margin: 0 !important; font-size: 1.15em; line-height: 1.3; color: inherit; overflow-wrap: anywhere; }
.cvs-card__meta { margin: 0; font-size: .9em; color: var(--cvs-muted); }
.cvs-card__desc { color: var(--cvs-text); font-size: .95em; }
.cvs-card__desc p { margin: 0 0 .6em; }
.cvs-card__desc p:last-child { margin-bottom: 0; }
.cvs-card__more summary { cursor: pointer; list-style: none; }
.cvs-card__more summary::-webkit-details-marker { display: none; }
.cvs-card__toggle { display: inline-block; margin-top: 4px; font-size: .9em; font-weight: 600; color: var(--cvs-accent); }
.cvs-card__more[open] .cvs-card__desc--short { display: none; }
.cvs-card__more[open] .cvs-card__toggle { display: none; }
.cvs-card__desc--short { display: block; }
.cvs-card__links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: auto; padding-top: 6px; }
.cvs-card__link {
	display: inline-flex; align-items: center; gap: 6px; min-height: 32px; max-width: 100%;
	font-size: .9em; font-weight: 600; color: var(--cvs-accent) !important; text-decoration: none !important;
}
.cvs-card__link span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cvs-card__link:hover span { text-decoration: underline; }
.cvs-icon { width: 16px; height: 16px; flex: none; fill: currentColor; }

/* Large (Gold) cards sit side by side with the logo on wider screens. */
@media (min-width: 640px) {
	.cvs-card--large { flex-direction: row; }
	.cvs-card--large .cvs-card__logo {
		flex: 0 0 38%; aspect-ratio: auto; min-height: 200px;
		border-bottom: 0; border-right: 1px solid var(--cvs-border);
	}
	.cvs-card--large .cvs-card__body { padding: 22px 24px; }
	.cvs-card--large .cvs-card__name { font-size: 1.35em; }
}
.cvs-card--small .cvs-card__logo { aspect-ratio: 3 / 2; padding: 14px; }
.cvs-card--small .cvs-card__body { padding: 12px 14px 14px; gap: 6px; }
.cvs-card--small .cvs-card__name { font-size: 1.02em; }
.cvs-card--small .cvs-card__desc { font-size: .9em; }
.cvs-card--small .cvs-logo__initials { width: 56px; height: 56px; font-size: 1.25em; }

/* ---------- Badges ---------- */
.cvs-badge {
	display: inline-flex; align-items: center; gap: 6px; padding: .2em .7em .2em .55em;
	border-radius: 999px; font-size: .75em; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
	color: var(--cvs-text); background: color-mix(in srgb, var(--cvs-tier) 16%, transparent);
	border: 1px solid color-mix(in srgb, var(--cvs-tier) 55%, transparent);
}
.cvs-badge__dot {
	display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: none;
	background: var(--cvs-tier);
}

/* ---------- Empty, no results, call to action ---------- */
.cvs-empty, .cvs-no-results {
	padding: 32px 20px; text-align: center; color: var(--cvs-muted);
	background: var(--cvs-surface-2); border: 1px dashed var(--cvs-border); border-radius: var(--cvs-radius);
}
.cvs-empty p { margin: 0 0 12px; }
.cvs-empty p:last-child { margin: 0; }
.cvs-cta {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
	margin-top: 12px; padding: 24px 26px; border-radius: var(--cvs-radius);
	background: var(--cvs-surface-2); border: 1px solid var(--cvs-border); border-left: 5px solid var(--cvs-accent);
}
.cvs-cta__title { margin: 0 0 4px !important; font-size: 1.25em; color: inherit; }
.cvs-cta p { margin: 0; color: var(--cvs-muted); }

/* ---------- Sign-up form ---------- */
.cvs-form { max-width: 760px; margin: 0 auto; }
.cvs-fieldset {
	min-width: 0; margin: 0 0 24px; padding: 22px 22px 6px; background: var(--cvs-surface);
	border: 1px solid var(--cvs-border); border-radius: var(--cvs-radius);
}
.cvs-legend {
	float: left; width: 100%; padding: 0; margin: 0 0 14px; font-size: 1.2em; font-weight: 700; color: inherit;
}
.cvs-legend + * { clear: both; }
.cvs-fieldset > .cvs-hint { margin-top: -6px; }
.cvs-field { margin: 0 0 18px; }
.cvs-row { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
@media (min-width: 600px) { .cvs-row { grid-template-columns: 1fr 1fr; } }
.cvs-label { display: block; margin: 0 0 6px; font-weight: 600; color: inherit; }
.cvs-req { color: var(--cvs-accent); }
.cvs-optional { font-weight: 400; font-size: .9em; color: var(--cvs-muted); }
.cvs-hint { margin: 0 0 8px; font-size: .9em; color: var(--cvs-muted); }
.cvs-error { margin: 0 0 8px; font-size: .92em; font-weight: 600; color: #c62828; }
.cvs--dark .cvs-error { color: #ff8a80; }
.cvs-field--error .cvs-input,
.cvs-form--checked .cvs-input:invalid { border-color: #c62828; box-shadow: 0 0 0 1px #c62828; }
.cvs-counter { margin: 6px 0 0; font-size: .85em; color: var(--cvs-muted); text-align: right; }

.cvs-upload { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.cvs-file {
	max-width: 100%; padding: 10px; font: inherit; font-size: .95em; color: var(--cvs-text);
	background: var(--cvs-surface-2); border: 1px dashed var(--cvs-border); border-radius: 8px;
}
.cvs-upload__preview {
	display: grid; place-items: center; width: 120px; height: 80px; padding: 8px;
	background: #fff; border: 1px solid var(--cvs-border); border-radius: 8px;
}
.cvs-upload__preview img { max-width: 100%; max-height: 100%; object-fit: contain; }

.cvs-tiers { display: grid; gap: 12px; margin-bottom: 16px; }
.cvs-tier-option {
	position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px;
	border: 2px solid var(--cvs-border); border-radius: 10px; cursor: pointer; background: var(--cvs-surface);
	transition: border-color .15s, background .15s;
}
.cvs-tier-option:hover { border-color: color-mix(in srgb, var(--cvs-tier) 60%, var(--cvs-border)); }
.cvs-tier-option input { margin: .3em 0 0; width: 18px; height: 18px; flex: none; accent-color: var(--cvs-accent); }
.cvs-tier-option:has(input:checked) {
	border-color: var(--cvs-tier); background: color-mix(in srgb, var(--cvs-tier) 9%, var(--cvs-surface));
}
.cvs-tier-option:has(input:focus-visible) { outline: 3px solid var(--cvs-accent); outline-offset: 2px; }
.cvs-tier-option__body { display: flex; flex-direction: column; gap: 2px; }
.cvs-tier-option__name { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.05em; }
.cvs-tier-option__desc { font-size: .92em; color: var(--cvs-muted); }

.cvs-consent { padding: 16px 18px; background: var(--cvs-surface-2); border: 1px solid var(--cvs-border); border-radius: 10px; }
.cvs-check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .95em; }
.cvs-check input { margin: .25em 0 0; width: 20px; height: 20px; flex: none; accent-color: var(--cvs-accent); }
.cvs-check a { color: var(--cvs-accent); font-weight: 600; }
.cvs-actions { margin: 24px 0 0; }
.cvs-actions .cvs-button { width: 100%; font-size: 1.05em; }
@media (min-width: 600px) { .cvs-actions .cvs-button { width: auto; min-width: 240px; } }

.cvs-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Notices ---------- */
.cvs-notice {
	max-width: 760px; margin: 0 auto 24px; padding: 18px 20px; border-radius: 10px;
	border: 1px solid; outline: none;
}
.cvs-notice__title { margin: 0 0 6px !important; font-size: 1.15em; color: inherit; }
.cvs-notice p:last-child, .cvs-notice ul:last-child { margin-bottom: 0; }
.cvs-notice--success { color: #14532d; background: #ecfdf3; border-color: #86efac; }
.cvs-notice--error { color: #7f1d1d; background: #fef2f2; border-color: #fca5a5; }
.cvs-notice--error a { color: inherit; }
.cvs-notice ul { margin: 0; padding-left: 1.2em; }

@media (max-width: 480px) {
	.cvs-fieldset { padding: 18px 16px 4px; }
	.cvs-filters__selects { width: 100%; }
	.cvs-filters__selects .cvs-input { flex: 1 1 140px; min-width: 0; }
	.cvs-tier__title { font-size: 1.25em; }
	.cvs-cta { padding: 20px; }
	.cvs-cta .cvs-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.cvs * { transition: none !important; }
}

/* =====================================================================
   Covenant skin: matches supportthecovenant.co.uk. Black, red and white,
   Playfair Display and DM Sans, the Union Flag, and service-medal tier marks.
   Switch to "Plain" in Settings > General > Look to follow the theme instead.
   ===================================================================== */

/* Icons are only drawn by the Covenant skin. */
.cvs-medal,
.cvs-badge__medal,
.cvs-shield,
.cvs-flag,
.cvs-banner__flag { display: none; }

.cvs--font-serif { font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif; }
.cvs--font-serif .cvs-banner__title,
.cvs--font-serif .cvs-tier__title,
.cvs--font-serif .cvs-card__name,
.cvs--font-serif .cvs-cta__title,
.cvs--font-serif .cvs-legend,
.cvs--font-serif .cvs-notice__title { font-family: "Playfair Display", Georgia, "Times New Roman", serif; }
.cvs--font-serif .cvs-input,
.cvs--font-serif .cvs-button { font-family: inherit; }

.cvs--skin-covenant {
	--cvs-red: #bc202a;
	--cvs-flag-blue: #012169;
	--cvs-flag-red: #c8102e;
	--cvs-heading: #0d0d0d;
	--cvs-surface: #ffffff;
	--cvs-surface-2: #f5f5f5;
	--cvs-border: #e5e5e5;
	--cvs-field: #ffffff;
	--cvs-radius: 16px;
	--cvs-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
.cvs--skin-covenant.cvs--dark {
	--cvs-heading: #ffffff;
	--cvs-surface: #1a1a1a;
	--cvs-surface-2: #141414;
	--cvs-border: #262626;
	--cvs-field: #0d0d0d;
	--cvs-text: rgba(255, 255, 255, .85);
	--cvs-muted: #a6a6a6;
	--cvs-shadow: none;
}

/* Icons */
.cvs--skin-covenant .cvs-medal,
.cvs--skin-covenant .cvs-badge__medal,
.cvs--skin-covenant .cvs-shield,
.cvs--skin-covenant .cvs-flag { display: inline-block; flex: none; }
.cvs-medal__ribbon-b { fill: var(--cvs-flag-blue, #012169); }
.cvs-medal__ribbon-w { fill: #ffffff; }
.cvs-medal__ribbon-r { fill: var(--cvs-flag-red, #c8102e); }
.cvs-medal__disc { fill: var(--cvs-tier); stroke: color-mix(in srgb, var(--cvs-tier) 65%, #000); stroke-width: 1.5; }
.cvs-medal__ring { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 1.2; }
.cvs-medal__star { fill: rgba(255, 255, 255, .92); }
.cvs-shield path { fill: none; stroke: var(--cvs-red, #bc202a); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cvs-flag--mini { width: 24px; height: 12px; margin-right: 10px; border-radius: 2px; vertical-align: -1px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .15); }

/* Inputs on dark */
.cvs--skin-covenant .cvs-input { background-color: var(--cvs-field); border-color: var(--cvs-border); border-radius: 10px; }
.cvs--skin-covenant .cvs-input:focus { border-color: var(--cvs-red); box-shadow: 0 0 0 3px rgba(188, 32, 42, .2); outline: none; }
.cvs--skin-covenant.cvs--dark .cvs-input::placeholder { color: #737373; }
.cvs--skin-covenant.cvs--dark select.cvs-input option { background: #1a1a1a; color: #fff; }

/* Buttons: red pills, as on the website */
.cvs--skin-covenant .cvs-button { border-radius: 999px; font-weight: 600; background: var(--cvs-accent); }
.cvs--skin-covenant .cvs-button:hover { filter: brightness(1.12); }

/* ---------- Banners (directory, sign-up form, call to action) ---------- */
.cvs-banner { display: none; }
.cvs--skin-covenant .cvs-banner,
.cvs--skin-covenant .cvs-cta {
	position: relative; overflow: hidden; isolation: isolate; color: #fff;
	background: #1a1a1a; border: 1px solid #262626; border-radius: 24px;
}
.cvs--skin-covenant .cvs-banner__flag {
	display: block; position: absolute; top: 0; bottom: 0; right: 0; width: 58%; z-index: -1;
}
.cvs--skin-covenant .cvs-banner__flag .cvs-flag { display: block; width: 100%; height: 100%; opacity: .9; }
.cvs--skin-covenant .cvs-banner__flag::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(90deg, #1a1a1a 0%, rgba(26, 26, 26, .82) 22%, rgba(26, 26, 26, .35) 60%, rgba(26, 26, 26, .12) 100%),
		linear-gradient(0deg, rgba(13, 13, 13, .55) 0%, transparent 55%);
}
.cvs--skin-covenant .cvs-banner {
	display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
	margin: 0 0 32px; padding: 48px 44px;
}
.cvs-banner__shield { width: 56px; height: 56px; }
.cvs-banner__eyebrow {
	display: flex; align-items: center; margin: 0 0 10px !important;
	font-size: .75em; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .7);
}
.cvs-banner__title {
	margin: 0 !important; color: #fff !important; font-size: clamp(2em, 5vw, 3.4em); line-height: 1.08; font-weight: 800;
	text-shadow: 0 2px 18px rgba(0, 0, 0, .5);
}
.cvs-banner__lead { margin: 14px 0 0 !important; max-width: 54ch; color: rgba(255, 255, 255, .82); font-size: 1.05em; text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }
.cvs-banner__cta { white-space: nowrap; box-shadow: 0 6px 20px rgba(188, 32, 42, .35); }
.cvs-signup .cvs-banner { max-width: 760px; margin-left: auto; margin-right: auto; grid-template-columns: auto 1fr; padding: 40px 36px; }
.cvs-signup .cvs-banner__title { font-size: clamp(1.8em, 4.5vw, 2.6em); }

/* ---------- Filter bar ---------- */
.cvs--skin-covenant .cvs-filters { background: var(--cvs-surface); border-color: var(--cvs-border); border-radius: var(--cvs-radius); padding: 16px; }

/* ---------- Tier headings: a medal, then the name ---------- */
.cvs--skin-covenant .cvs-tier { margin-bottom: 52px; }
.cvs--skin-covenant .cvs-tier__mark { display: none; }
.cvs-tier__medal { width: 28px; height: 39px; margin-top: -6px; }
.cvs--skin-covenant .cvs-tier__head { gap: 14px; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--cvs-border); position: relative; }
.cvs--skin-covenant .cvs-tier__head::after {
	content: ""; position: absolute; left: 0; bottom: -1px; width: 120px; height: 3px; border-radius: 3px; background: var(--cvs-tier);
}
.cvs--skin-covenant .cvs-tier__title { gap: 14px; color: var(--cvs-heading) !important; font-weight: 700; font-size: clamp(1.5em, 3vw, 2em); }
.cvs--skin-covenant .cvs-tier__count {
	color: var(--cvs-heading); background: rgba(188, 32, 42, .18); border: 1px solid rgba(188, 32, 42, .45); font-weight: 700;
}

/* ---------- Badges ---------- */
.cvs--skin-covenant .cvs-badge {
	gap: 6px; padding: .3em .8em .3em .55em; letter-spacing: .1em; color: var(--cvs-heading);
	background: color-mix(in srgb, var(--cvs-tier) 12%, transparent); border: 1px solid color-mix(in srgb, var(--cvs-tier) 60%, transparent);
}
.cvs--skin-covenant .cvs-badge__dot { display: none; }
.cvs-badge__medal { width: 10px; height: 14px; }

/* ---------- Cards ---------- */
.cvs--skin-covenant .cvs-card { border-radius: var(--cvs-radius); transition: border-color .2s, transform .2s; }
.cvs--skin-covenant .cvs-card:hover { border-color: rgba(188, 32, 42, .45); transform: translateY(-2px); }
.cvs--skin-covenant .cvs-card::before { height: 3px; }
.cvs--skin-covenant .cvs-card__logo { margin: 12px 12px 0; border: 0; border-radius: 12px; }
.cvs--skin-covenant .cvs-card__name { color: var(--cvs-heading) !important; font-weight: 700; font-size: 1.25em; }
.cvs--skin-covenant .cvs-card--small .cvs-card__name { font-size: 1.08em; }
.cvs--skin-covenant .cvs-card--large { border-color: color-mix(in srgb, var(--cvs-tier) 40%, var(--cvs-border)); }
.cvs--skin-covenant .cvs-card--large::before { height: 4px; background: linear-gradient(90deg, var(--cvs-tier), color-mix(in srgb, var(--cvs-tier) 50%, #fff) 50%, var(--cvs-tier)); }
@media (min-width: 640px) {
	.cvs--skin-covenant .cvs-card--large .cvs-card__logo {
		margin: 12px 0 12px 12px; border-right: 0; min-height: 0; flex-basis: 40%;
		align-self: flex-start; aspect-ratio: 1 / 1;
	}
	.cvs--skin-covenant .cvs-card--large .cvs-card__name { font-size: 1.6em; }
}
.cvs--skin-covenant .cvs-card__link { color: var(--cvs-red) !important; }
.cvs--skin-covenant.cvs--dark .cvs-card__link { color: #e0434d !important; }
.cvs--skin-covenant .cvs-card__toggle { color: var(--cvs-red); }
.cvs--skin-covenant.cvs--dark .cvs-card__toggle { color: #e0434d; }

/* ---------- Call to action ---------- */
.cvs--skin-covenant .cvs-cta { padding: 32px 36px; gap: 20px; justify-content: flex-start; margin-top: 8px; }
.cvs--skin-covenant .cvs-cta .cvs-banner__flag { width: 45%; }
.cvs--skin-covenant .cvs-cta__text { flex: 1 1 260px; }
.cvs-cta__shield { width: 44px; height: 44px; }
.cvs--skin-covenant .cvs-cta__title { color: #fff !important; font-weight: 700; font-size: 1.6em; }
.cvs--skin-covenant .cvs-cta p { color: rgba(255, 255, 255, .8); }

/* ---------- Empty state and no results ---------- */
.cvs--skin-covenant .cvs-empty,
.cvs--skin-covenant .cvs-no-results { background: var(--cvs-surface); border-color: var(--cvs-border); border-radius: var(--cvs-radius); }

/* ---------- Sign-up form ---------- */
.cvs--skin-covenant .cvs-fieldset { background: var(--cvs-surface); border-color: var(--cvs-border); border-radius: var(--cvs-radius); padding: 26px 26px 8px; }
.cvs--skin-covenant .cvs-legend { display: flex; align-items: center; gap: 12px; color: var(--cvs-heading); font-weight: 700; font-size: 1.45em; }
.cvs--skin-covenant .cvs-legend::before { content: ""; width: 4px; height: 1.1em; border-radius: 2px; background: var(--cvs-red); flex: none; }
.cvs--skin-covenant .cvs-label { color: var(--cvs-heading); font-weight: 500; }
.cvs--skin-covenant .cvs-req { color: #e0434d; }
.cvs--skin-covenant .cvs-file { background: var(--cvs-field); border-color: var(--cvs-border); }
.cvs--skin-covenant .cvs-tier-option { background: var(--cvs-surface-2); border: 1px solid var(--cvs-border); border-radius: 12px; }
.cvs--skin-covenant .cvs-tier-option:has(input:checked) {
	border-color: var(--cvs-tier); background: color-mix(in srgb, var(--cvs-tier) 10%, var(--cvs-surface-2));
	box-shadow: 0 0 0 1px var(--cvs-tier);
}
.cvs--skin-covenant .cvs-tier-option__medal { width: 22px; height: 31px; }
.cvs--skin-covenant .cvs-tier-option__name .cvs-badge__dot { display: none; }
.cvs--skin-covenant .cvs-tier-option__name { gap: 10px; color: var(--cvs-heading); font-size: 1.1em; }
.cvs--skin-covenant .cvs-tier-option input { margin-top: .55em; }
.cvs--skin-covenant .cvs-consent { background: var(--cvs-surface); border-color: var(--cvs-border); border-radius: 12px; }
.cvs--skin-covenant.cvs--dark .cvs-check a { color: #e0434d; }
.cvs--skin-covenant .cvs-actions .cvs-button { min-height: 54px; font-size: 1.05em; box-shadow: 0 6px 20px rgba(188, 32, 42, .3); }

/* Notices on dark */
.cvs--skin-covenant.cvs--dark .cvs-notice--success { color: #d1fae5; background: rgba(34, 197, 94, .1); border-color: rgba(34, 197, 94, .4); }
.cvs--skin-covenant.cvs--dark .cvs-notice--error { color: #fecaca; background: rgba(188, 32, 42, .12); border-color: rgba(188, 32, 42, .55); }
.cvs--skin-covenant .cvs-notice { border-radius: var(--cvs-radius); }

@media (max-width: 640px) {
	.cvs--skin-covenant .cvs-banner,
	.cvs-signup .cvs-banner { grid-template-columns: 1fr; gap: 14px; padding: 30px 22px; }
	.cvs--skin-covenant .cvs-banner__flag { width: 100%; }
	.cvs--skin-covenant .cvs-banner__flag .cvs-flag { opacity: .55; }
	.cvs--skin-covenant .cvs-banner__flag::after { background: linear-gradient(180deg, rgba(26, 26, 26, .55), rgba(26, 26, 26, .92) 70%); }
	.cvs-banner__shield { width: 44px; height: 44px; }
	.cvs-banner__cta { width: 100%; }
	.cvs--skin-covenant .cvs-cta { padding: 26px 22px; }
	.cvs-cta__shield { display: none !important; }
	.cvs--skin-covenant .cvs-fieldset { padding: 20px 16px 4px; }
}

/* ---------- Example listings ("Your business here") ---------- */
.cvs-card--example { border-style: dashed !important; border-width: 2px !important; }
.cvs-card__ribbon {
	position: absolute; top: 14px; right: 14px; z-index: 2; padding: .25em .7em; border-radius: 999px;
	font-size: .72em; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
	color: #fff; background: var(--cvs-accent);
}
.cvs-logo__placeholder {
	display: grid; place-items: center; width: 100%; height: 100%; min-height: 90px; padding: 10px;
	border: 2px dashed #c9c9c9; border-radius: 10px; color: #8a8a8a; font-weight: 600; text-align: center;
}
.cvs-card--example .cvs-card__name { opacity: .9; }
.cvs-card--example .cvs-card__links { padding-top: 10px; }

/* ---------- Payment ---------- */
.cvs-tier-option__price {
	margin-left: auto; padding: .15em .7em; border-radius: 999px; font-size: .9em; font-weight: 700;
	color: var(--cvs-heading, inherit); background: color-mix(in srgb, var(--cvs-tier) 18%, transparent);
	border: 1px solid color-mix(in srgb, var(--cvs-tier) 55%, transparent);
}
.cvs-tier-option__name { width: 100%; }
.cvs-pay-hint { margin-top: 10px; }
.cvs-notice--thanks p { margin: 0 0 .8em; }
