/* ApnaDoctor – mobile-first styles for doctor search, profiles, registration and dashboard. */
.ad {
	--ad-primary: var(--ast-global-color-0, #0b5ed7);
	--ad-text: var(--ast-global-color-3, #1c2440);
	--ad-muted: #5b6475;
	--ad-border: #dfe4ec;
	--ad-bg: #f5f7fb;
	--ad-ok: #137a3f;
	--ad-warn: #9a5b00;
	--ad-bad: #b42318;
	color: var(--ad-text);
	font-size: 16px;
	line-height: 1.5;
	max-width: 980px;
	margin: 0 auto;
}
.ad *, .ad *::before, .ad *::after { box-sizing: border-box; }
.ad h1 { font-size: 1.6rem; margin: 0 0 .25rem; }
.ad h2 { font-size: 1.35rem; margin: 0 0 .75rem; }
.ad h3 { font-size: 1.1rem; margin: 0 0 .5rem; }
.ad-muted, .ad small { color: var(--ad-muted); font-size: .9rem; }
.ad-center { text-align: center; }
.ad-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ad-hp { position: absolute; left: -9999px; }

.ad-card { background: #fff; border: 1px solid var(--ad-border); border-radius: 12px; padding: 16px; margin: 0 0 16px; }

.ad-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border-radius: 8px; border: 1px solid var(--ad-primary); color: var(--ad-primary); background: #fff; font-weight: 600; text-decoration: none; cursor: pointer; }
.ad-btn:hover { text-decoration: none; }
.ad-btn-primary { background: var(--ad-primary); color: #fff; }
.ad-btn-primary:hover { color: #fff; filter: brightness(1.08); }
.ad-btn[disabled] { opacity: .6; cursor: not-allowed; }
.ad-btn-block { width: 100%; }

.ad-alert { border-radius: 8px; padding: 12px 14px; margin: 0 0 16px; }
.ad-alert-error { background: #fdecea; color: var(--ad-bad); }
.ad-alert-success { background: #e8f6ee; color: var(--ad-ok); }

/* Forms */
.ad-form fieldset { border: 1px solid var(--ad-border); border-radius: 12px; padding: 16px; margin: 0 0 16px; background: #fff; }
.ad-form legend { font-weight: 700; padding: 0 6px; }
.ad-form label { display: block; margin: 0 0 12px; font-weight: 600; }
.ad-form input[type=text], .ad-form input[type=email], .ad-form input[type=tel], .ad-form input[type=password],
.ad-form input[type=number], .ad-form input[type=search], .ad-form select, .ad-form textarea,
.ad-filters input[type=search], .ad-filters select {
	display: block; width: 100%; min-height: 44px; margin-top: 4px; padding: 8px 12px;
	border: 1px solid #c7ceda; border-radius: 8px; font: inherit; font-weight: 400; background: #fff;
}
.ad-form input[type=file] { display: block; margin-top: 6px; font-weight: 400; max-width: 100%; }
.ad-label { display: block; font-weight: 600; margin: 0 0 6px; }
.ad-inline { display: inline-flex !important; align-items: center; gap: 6px; margin: 0 14px 8px 0 !important; font-weight: 400 !important; }
.ad-row { margin: 0 0 12px; }
.ad-checks { display: flex; flex-wrap: wrap; margin: 0 0 12px; }
.ad-qual { display: grid; grid-template-columns: 1fr; gap: 6px; margin: 0 0 10px; }
.ad-field-error { color: var(--ad-bad); font-size: .9rem; margin: -6px 0 12px; }
.ad-consent { align-items: flex-start !important; }
.ad-details { margin: 0 0 12px; }
.ad-details summary { cursor: pointer; font-weight: 600; color: var(--ad-primary); min-height: 44px; display: flex; align-items: center; }
.ad-steps { padding-left: 1.2em; }

/* Search */
.ad-filters { background: var(--ad-bg); border-radius: 12px; padding: 12px; margin: 0 0 12px; }
.ad-filters-main { display: grid; gap: 8px; }
.ad-filters-more { display: grid; gap: 8px; }
.ad-filters-more label { font-weight: 600; font-size: .95rem; }
.ad-grid { display: grid; gap: 12px; }
.ad-doctor-card { display: grid; grid-template-columns: 72px 1fr; gap: 12px; margin: 0; }
.ad-doctor-photo img, .ad-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; display: flex; align-items: center; justify-content: center; background: #e7eefb; color: var(--ad-primary); font-size: 1.8rem; font-weight: 700; }
.ad-doctor-photo-lg img, .ad-doctor-photo-lg .ad-avatar { width: 120px; height: 120px; }
.ad-doctor-info h3 a { color: var(--ad-text); text-decoration: none; }
.ad-specialty { color: var(--ad-primary); font-weight: 600; margin: 0 0 4px; }
.ad-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 4px; font-size: .92rem; color: var(--ad-muted); }
.ad-verified { color: var(--ad-ok); font-weight: 600; }
.ad-doctor-cta { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--ad-border); padding-top: 12px; }
.ad-fee { font-size: 1.15rem; font-weight: 700; margin: 0; }
.ad-pagination { display: flex; gap: 6px; justify-content: center; margin: 16px 0; }
.ad-pagination a, .ad-pagination span { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ad-border); border-radius: 8px; text-decoration: none; }
.ad-pagination span { background: var(--ad-primary); color: #fff; }

/* Profile */
.ad-profile-head { display: grid; grid-template-columns: 1fr; gap: 16px; justify-items: start; }
.ad-booking-box .ad-fee { margin-bottom: 8px; }

/* Dashboard */
.ad-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-weight: 700; font-size: .85rem; background: #eef1f6; }
.ad-badge-verified { background: #e8f6ee; color: var(--ad-ok); }
.ad-badge-needs_info, .ad-badge-submitted, .ad-badge-under_review { background: #fff4e5; color: var(--ad-warn); }
.ad-badge-rejected, .ad-badge-suspended { background: #fdecea; color: var(--ad-bad); }
.ad-message { border-left: 4px solid var(--ad-warn); background: #fffaf2; margin: 12px 0 0; padding: 10px 14px; }
.ad-checklist { list-style: none; padding: 0; margin: 0; }
.ad-checklist li { padding: 6px 0 6px 28px; position: relative; }
.ad-checklist li::before { content: "○"; position: absolute; left: 4px; color: var(--ad-muted); }
.ad-checklist li.done::before { content: "✔"; color: var(--ad-ok); }
.ad-dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; }
.ad-dl dt { font-weight: 600; }
.ad-dl dd { margin: 0; }
.ad-login form p { margin: 0 0 12px; }
.ad-login input[type=text], .ad-login input[type=password] { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid #c7ceda; border-radius: 8px; }

@media (min-width: 640px) {
	.ad-filters-main { grid-template-columns: 1fr 1fr auto; }
	.ad-filters-more { grid-template-columns: repeat(3, 1fr); }
	.ad-qual { grid-template-columns: 2fr 2fr 1fr; }
	.ad-profile-head { grid-template-columns: auto 1fr; align-items: center; }
}
@media (min-width: 900px) {
	.ad-grid { grid-template-columns: 1fr 1fr; }
}

/* RTL (Urdu pages) */
[dir=rtl] .ad-inline { margin: 0 0 8px 14px !important; }
[dir=rtl] .ad-checklist li { padding: 6px 28px 6px 0; }
[dir=rtl] .ad-checklist li::before { left: auto; right: 4px; }
[dir=rtl] .ad-message { border-left: 0; border-right: 4px solid var(--ad-warn); }

/* ---- Phase 2: booking, payment, account, availability ---- */
.ad .ad-h3 { font-size: 1.2rem; margin: 0 0 .25rem; }
.ad-alert-warn { background: #fff4e5; color: var(--ad-warn); }
.ad-booking-doctor { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; }
.ad-chosen-time { border-left: 4px solid var(--ad-primary); }
.ad-days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 12px; scroll-snap-type: x mandatory; }
.ad-day { flex: 0 0 auto; min-width: 76px; display: flex; flex-direction: column; align-items: center; padding: 8px 10px; border: 1px solid var(--ad-border); border-radius: 10px; text-decoration: none; color: var(--ad-text); scroll-snap-align: start; background: #fff; }
.ad-day.is-active { border-color: var(--ad-primary); background: var(--ad-primary); color: #fff; }
.ad-day.is-active small { color: #e8efff; }
.ad-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; margin: 0 0 16px; }
.ad-slot { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 48px; padding: 6px; border: 1px solid var(--ad-primary); border-radius: 8px; color: var(--ad-primary); font-weight: 600; text-decoration: none; background: #fff; }
.ad-slot:hover, .ad-slot:focus { background: var(--ad-primary); color: #fff; }
.ad-slot small { font-weight: 400; font-size: .75rem; }
.ad-slots-compact { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.ad-new-patient { border-left: 3px solid var(--ad-border); padding-left: 12px; margin: 4px 0 12px; }
.ad-method { display: flex !important; gap: 10px; align-items: flex-start; border: 1px solid var(--ad-border); border-radius: 10px; padding: 12px; font-weight: 400 !important; }
.ad-method input { margin-top: 4px; }
.ad-pay-details dd strong { font-size: 1.05rem; word-break: break-all; }
.ad-appointment-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.ad-appointment h4 { margin: 0 0 4px; }
.ad-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ad-actions form { margin: 0; }
.ad-btn-link { background: none; border: 0; color: var(--ad-bad); text-decoration: underline; cursor: pointer; padding: 8px; min-height: 44px; font: inherit; }
.ad-list { list-style: none; padding: 0; margin: 0 0 12px; }
.ad-list li { padding: 8px 0; border-bottom: 1px solid var(--ad-border); }
.ad-inline-form { display: inline; margin: 0 0 0 8px; }
.ad-next { margin: 0; font-size: .92rem; color: var(--ad-muted); }
.ad-hours-day { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 10px 0; border-bottom: 1px solid var(--ad-border); }
.ad-hours-block { display: inline-flex; align-items: center; gap: 6px; }
.ad-hours-block input[type=time] { width: auto !important; min-width: 120px; display: inline-block !important; margin: 0 !important; }
.ad-badge-pending_payment, .ad-badge-payment_review { background: #fff4e5; color: var(--ad-warn); }
.ad-badge-confirmed { background: #e8f6ee; color: var(--ad-ok); }
.ad-badge-expired, .ad-badge-payment_failed, .ad-badge-cancelled_by_patient, .ad-badge-cancelled_by_doctor, .ad-badge-cancelled_by_admin { background: #fdecea; color: var(--ad-bad); }
@media (min-width: 640px) {
	.ad-hours-day { grid-template-columns: 120px 1fr 1fr; align-items: center; }
}

/* ---- Phase 3: consultation room, reports, prescriptions ---- */
.ad-btn-small { min-height: 36px; padding: 6px 12px; font-size: .9rem; margin-left: 6px; }
.ad-consult-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ad-consult-head p { margin: 0 0 4px; }
.ad-video { width: 100%; height: 70vh; min-height: 420px; max-height: 720px; background: #0f172a; border-radius: 10px; overflow: hidden; }
.ad-video iframe { border: 0; }
.ad-video-placeholder { background: var(--ad-bg); border-radius: 10px; padding: 24px 16px; text-align: center; }
.ad-rx-item { padding: 12px !important; }
.ad-rx-grid { display: grid; grid-template-columns: 1fr; gap: 0 10px; }
.ad-rx-grid label { margin-bottom: 8px; font-size: .92rem; }
.ad-urdu { font-family: "Noto Naskh Arabic", "Jameel Noori Nastaleeq", Tahoma, sans-serif; }
.ad-rx { background: #fff; border: 1px solid var(--ad-border); border-radius: 12px; padding: 24px; }
.ad-rx-header { display: flex; justify-content: space-between; gap: 16px; border-bottom: 2px solid var(--ad-primary); padding-bottom: 12px; margin-bottom: 12px; }
.ad-rx-header h1 { font-size: 1.4rem; margin: 0 0 4px; }
.ad-rx-header p { margin: 0; }
.ad-rx-brand { text-align: right; color: var(--ad-primary); }
.ad-rx-patient p { margin: 0 0 4px; }
.ad-rx-symbol { font-size: 2rem; margin: 12px 0 4px; color: var(--ad-primary); }
.ad-rx-items li { margin-bottom: 12px; }
.ad-rx-footer { border-top: 1px solid var(--ad-border); margin-top: 20px; padding-top: 12px; font-size: .9rem; }
.ad-rx-code { font-family: monospace; font-size: 1.05rem; letter-spacing: 1px; }
@media (min-width: 640px) {
	.ad-rx-grid { grid-template-columns: repeat(3, 1fr); }
}
@media print {
	header.site-header, footer.site-footer, #masthead, #colophon, .ad-no-print, .ast-above-header-wrap, .ast-below-footer-wrap, #wpadminbar, [class*="surecookie"] { display: none !important; }
	body, .ad-rx { background: #fff !important; }
	.ad-rx { border: 0; padding: 0; }
	.ad { max-width: none; }
}

/* ---- Phase 4 ---- */
.ad-stars { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 8px; color: #b7791f; }


/* ==================================================================
 * Design-token layer (2026 redesign). Everything above keeps working;
 * these rules re-point the old variables at the shared tokens and
 * modernise the shared components.
 * ================================================================== */
.ad {
	--ad-primary: var(--primary);
	--ad-text: var(--text-primary);
	--ad-muted: var(--text-secondary);
	--ad-border: var(--border);
	--ad-bg: var(--background);
	--ad-ok: var(--success);
	--ad-warn: var(--warning);
	--ad-bad: var(--danger);
	font-family: var(--font-sans);
	max-width: var(--container);
	padding: 0 var(--space-4);
}

.ad h1 { font-size: var(--text-h1); }
.ad h2 { font-size: var(--text-h2); }
.ad h3 { font-size: var(--text-h3); }

.ad-card {
	border-radius: var(--radius);
	border-color: var(--border);
	box-shadow: var(--shadow-sm);
	padding: var(--space-5);
}

.ad-btn {
	border-radius: var(--radius-pill);
	font-weight: var(--weight-semibold);
	padding: 11px 22px;
	transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
	gap: var(--space-2);
}

.ad-btn:hover { box-shadow: var(--shadow-sm); }
.ad-btn-primary { background: var(--primary); border-color: var(--primary); }
.ad-btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); filter: none; }

.ad-form input, .ad-form select, .ad-form textarea,
.ad-filters input, .ad-filters select {
	border-radius: var(--radius-sm);
	border: 1px solid var(--border-strong);
	min-height: 46px;
	font-family: inherit;
}

.ad-form input:focus, .ad-form select:focus, .ad-form textarea:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 3px var(--primary-light);
	outline: none;
}

.ad-badge { border-radius: var(--radius-pill); font-weight: var(--weight-semibold); }
.ad-alert { border-radius: var(--radius-sm); }
.ad-verified { color: var(--secondary-dark); font-weight: var(--weight-semibold); display: inline-flex; align-items: center; gap: 4px; }

/* ------------------------------------------------------------------ doctor cards */
.ad-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: var(--space-4); }

.ad-doctor-card {
	display: grid;
	grid-template-columns: 84px 1fr;
	gap: var(--space-4);
	align-items: start;
	padding: var(--space-5);
	border-radius: var(--radius);
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.ad-doctor-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--primary) 30%, var(--border)); }
.ad-doctor-photo img, .ad-doctor-photo .ad-avatar { width: 84px; height: 84px; border-radius: var(--radius); object-fit: cover; }
.ad-avatar { display: inline-flex; align-items: center; justify-content: center; background: var(--primary-light); color: var(--primary-dark); font-weight: var(--weight-bold); font-size: 1.5rem; }
.ad-doctor-card h3 { margin: 0 0 2px; font-size: 1.05rem; }
.ad-doctor-card .ad-specialty { color: var(--secondary-dark); font-weight: var(--weight-medium); margin: 0 0 6px; }
.ad-doctor-card .ad-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: var(--text-small); color: var(--text-secondary); margin: 0 0 8px; }
.ad-doctor-card .ad-meta span { display: inline-flex; align-items: center; gap: 4px; }
.ad-doctor-cta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; justify-content: space-between; border-top: 1px solid var(--border); padding-top: var(--space-3); margin-top: var(--space-1); }
.ad-fee { font-size: 1.15rem; font-weight: var(--weight-bold); margin: 0; }
.ad-fee small { display: block; font-size: var(--text-tiny); color: var(--text-secondary); font-weight: var(--weight-normal); }
.ad-next { margin: 0; font-size: var(--text-small); color: var(--text-secondary); }

/* ------------------------------------------------------------------ search filters */
.ad-search .ad-filters {
	background: var(--surface);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: var(--space-4);
	gap: var(--space-3);
}

.ad-filters-main { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.ad-filters-main input[type=search] { flex: 2 1 260px; }
.ad-filters-main select { flex: 1 1 200px; }
.ad-filters-more { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: var(--space-3); margin-top: var(--space-3); }
.ad-details summary { cursor: pointer; font-weight: var(--weight-semibold); color: var(--primary); }

/* ------------------------------------------------------------------ Homepage */
.ad-home { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-4); }
.ad-home h2 { font-size: var(--text-h2); margin: 0 0 var(--space-2); text-align: center; }
.ad-home h3 { font-size: var(--text-h3); margin: 0 0 6px; }
.ad-section { padding: var(--space-8) 0; }
.ad-section-alt { background: var(--surface-muted); margin: 0 calc(50% - 50vw); padding-left: calc(50vw - 50%); padding-right: calc(50vw - 50%); }
.ad-section-sub { text-align: center; color: var(--text-secondary); max-width: 660px; margin: 0 auto var(--space-6); }

/* Hero */
.ad-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--space-8); align-items: center; padding: var(--space-8) 0 var(--space-7); }
.ad-hero h1 { font-size: var(--text-hero); line-height: 1.08; margin: 0 0 var(--space-4); letter-spacing: -.03em; }
.ad-lead { font-size: 1.125rem; color: var(--text-secondary); margin: 0 0 var(--space-5); max-width: 52ch; }
.ad-hero-points { list-style: none; padding: 0; margin: 0 0 var(--space-5); display: grid; gap: var(--space-2); }
.ad-hero-points li { display: flex; align-items: flex-start; gap: var(--space-2); font-weight: var(--weight-medium); }
.ad-hero-points .ad-icon { color: var(--secondary); margin-top: 3px; }
.ad-hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-4); }
.ad-hero-search { display: flex; gap: var(--space-2); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-2); box-shadow: var(--shadow-md); }
.ad-hero-search select { flex: 1; min-height: 48px; border: 0; background: transparent; font-size: 1rem; font-family: inherit; color: var(--text-primary); }
.ad-quick { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-4) 0 0; }
.ad-quick a { padding: 7px 14px; border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--surface); text-decoration: none; font-size: var(--text-small); color: var(--text-primary); }
.ad-quick a:hover { border-color: var(--primary); color: var(--primary); }

.ad-hero-media { position: relative; }
.ad-hero-media img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); display: block; }
.ad-hero-badge {
	position: absolute; left: -12px; bottom: 22px; background: var(--surface); border-radius: var(--radius);
	box-shadow: var(--shadow-md); padding: var(--space-3) var(--space-4); display: flex; align-items: center; gap: var(--space-3); max-width: 260px;
}
.ad-hero-badge .ad-icon { color: var(--secondary); }
.ad-hero-badge strong { display: block; font-size: var(--text-small); }
.ad-hero-badge span { font-size: var(--text-tiny); color: var(--text-secondary); }

/* Trust bar */
.ad-trust { list-style: none; margin: 0 0 var(--space-6); padding: var(--space-4); display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-4); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.ad-trust li { display: flex; align-items: center; gap: var(--space-2); font-weight: var(--weight-medium); font-size: var(--text-small); }
.ad-trust .ad-icon { color: var(--secondary); }

/* Steps */
.ad-steps { list-style: none; padding: 0; margin: var(--space-6) 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); counter-reset: step; }
.ad-steps li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-5); box-shadow: var(--shadow-sm); }
.ad-step-num { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center; background: var(--primary-light); color: var(--primary-dark); font-weight: var(--weight-bold); margin-bottom: var(--space-3); }
.ad-steps p { color: var(--text-secondary); margin: 0; }

/* Specialties */
.ad-spec-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); margin-bottom: var(--space-5); }
.ad-spec-card { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; color: var(--text-primary); box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.ad-spec-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--primary) 35%, var(--border)); box-shadow: var(--shadow-md); }
.ad-spec-icon { width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--secondary-light); color: var(--secondary-dark); display: inline-flex; align-items: center; justify-content: center; }
.ad-spec-cta { color: var(--primary); font-size: var(--text-small); font-weight: var(--weight-semibold); display: inline-flex; align-items: center; gap: 4px; }

/* Split section */
.ad-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: center; }
.ad-split h2 { text-align: start; }
.ad-split img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.ad-ticks { list-style: none; padding: 0; display: grid; gap: var(--space-2); }
.ad-ticks li { display: flex; gap: var(--space-2); align-items: flex-start; }
.ad-ticks .ad-icon { color: var(--secondary); margin-top: 3px; }

/* Can / cannot */
.ad-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); margin-top: var(--space-5); }
.ad-can { border-top: 4px solid var(--success); }
.ad-cannot { border-top: 4px solid var(--danger); }
.ad-can h3, .ad-cannot h3 { display: flex; align-items: center; gap: var(--space-2); }
.ad-can .ad-icon { color: var(--success); }
.ad-cannot .ad-icon { color: var(--danger); }
.ad-can ul, .ad-cannot ul { margin: 0; padding-left: 1.1rem; color: var(--text-secondary); }
.ad-can li, .ad-cannot li { margin: 6px 0; }
.ad-emergency { background: var(--danger-light); color: var(--danger); padding: var(--space-3); border-radius: var(--radius-sm); font-weight: var(--weight-semibold); margin: var(--space-4) 0 0; display: flex; gap: var(--space-2); align-items: center; }

/* Payments */
.ad-pay-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin: var(--space-4) 0; }
.ad-pay-logos span { padding: 12px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); font-weight: var(--weight-semibold); box-shadow: var(--shadow-sm); }

/* FAQ */
.ad-faq { max-width: 820px; margin: 0 auto; }
.ad-faq .ad-details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-4); margin: 0 0 var(--space-3); box-shadow: var(--shadow-sm); }
.ad-faq summary { font-weight: var(--weight-semibold); color: var(--text-primary); }
.ad-faq details p { margin: var(--space-3) 0 0; color: var(--text-secondary); }

/* Doctor call-to-action band */
.ad-cta-band { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); background: linear-gradient(135deg, var(--primary) 0%, var(--secondary-dark) 100%); color: #fff; border-radius: var(--radius-lg); padding: var(--space-7); margin: var(--space-5) 0 var(--space-8); box-shadow: var(--shadow-md); }
.ad-cta-band h2 { color: #fff; text-align: start; }
.ad-cta-band p { margin: 0; color: var(--text-on-dark); }
.ad-cta-band .ad-btn { background: #fff; border-color: #fff; color: var(--primary-dark); flex-shrink: 0; }
.ad-cta-band .ad-btn:hover { background: var(--surface-muted); color: var(--primary-dark); }

@media (max-width: 900px) {
	.ad-hero, .ad-split, .ad-cols { grid-template-columns: 1fr; gap: var(--space-5); }
	.ad-hero-media { order: -1; }
	.ad-hero-badge { left: 8px; bottom: 8px; }
	.ad-trust { grid-template-columns: 1fr 1fr; }
	.ad-steps { grid-template-columns: 1fr; }
	.ad-spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ad-spec-card { padding: var(--space-4); overflow-wrap: anywhere; }
	.ad-cta-band { flex-direction: column; text-align: center; padding: var(--space-5); }
	.ad-cta-band h2 { text-align: center; }
	.ad-doctor-card { grid-template-columns: 64px 1fr; }
	.ad-doctor-photo img, .ad-doctor-photo .ad-avatar { width: 64px; height: 64px; }
}

@media (max-width: 520px) {
	.ad-hero-search { flex-direction: column; }
	.ad-trust { grid-template-columns: 1fr; }
	.ad-section { padding: var(--space-6) 0; }
}

/* Right-to-left (Urdu) adjustments */
body.apna-urdu .ad-hero-badge { left: auto; right: -12px; }
body.apna-urdu .ad-can ul, body.apna-urdu .ad-cannot ul { padding-left: 0; padding-right: 1.1rem; }

/* Hero badge: stack the two lines; buttons: breathing room around icons */
.ad-hero-badge > span { display: flex; flex-direction: column; gap: 2px; }
.ad-hero-badge span span { display: block; }
.ad-btn { gap: 8px; }
.ad-btn .ad-icon { margin-inline-end: 2px; }
.ad-trust li .ad-icon, .ad-hero-points .ad-icon, .ad-ticks .ad-icon { flex: none; }

/* ==================================================================
 * Page styling: profile, booking, account, auth, consultation, documents
 * ================================================================== */

/* ------------------------------------------------------------------ shared */
.ad-alert { display: flex; gap: var(--space-2); align-items: flex-start; padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); font-size: var(--text-small); }
.ad-alert-success { background: var(--success-light); color: var(--success); }
.ad-alert-error { background: var(--danger-light); color: var(--danger); }
.ad-alert-warn { background: var(--warning-light); color: var(--warning); }
.ad-list { list-style: none; margin: 0; padding: 0; }
.ad-list > li { padding: var(--space-3) 0; border-bottom: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }
.ad-list > li:last-child { border-bottom: 0; }
.ad-dl { display: grid; grid-template-columns: auto 1fr; gap: var(--space-2) var(--space-4); margin: 0; }
.ad-dl dt { color: var(--text-secondary); font-size: var(--text-small); }
.ad-dl dd { margin: 0; }
.ad-details { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: var(--space-3) var(--space-4); margin: 0 0 var(--space-3); background: var(--surface); }
.ad-details[open] { box-shadow: var(--shadow-sm); }
.ad-field-error { color: var(--danger); font-size: var(--text-small); margin: 4px 0 0; }
.ad-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }
.ad-btn-block { width: 100%; }
.ad-btn-small { min-height: 34px; padding: 6px 14px; font-size: var(--text-small); }
.ad-btn-link { background: none; border: 0; color: var(--primary); cursor: pointer; padding: 4px 8px; font: inherit; }
.ad-form label { display: block; margin: 0 0 var(--space-4); font-weight: var(--weight-medium); }
.ad-form label > input, .ad-form label > select, .ad-form label > textarea { display: block; width: 100%; margin-top: 6px; font-weight: var(--weight-normal); }
.ad-form small { display: block; color: var(--text-secondary); font-size: var(--text-small); font-weight: var(--weight-normal); margin-top: 4px; }
.ad-form fieldset { border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-5); margin: 0 0 var(--space-4); background: var(--surface); }
.ad-form legend { font-weight: var(--weight-bold); padding: 0 var(--space-2); }
.ad-inline { display: flex; align-items: flex-start; gap: var(--space-2); font-weight: var(--weight-normal); }
.ad-inline input[type=radio], .ad-inline input[type=checkbox] { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--primary); }
.ad-row { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }
.ad-label { font-weight: var(--weight-medium); }
.ad-center { text-align: center; }
.ad-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------------ doctor profile */
.ad-profile-head { display: grid; grid-template-columns: 132px 1fr; gap: var(--space-5); align-items: center; }
.ad-doctor-photo-lg img, .ad-doctor-photo-lg .ad-avatar { width: 132px; height: 132px; border-radius: var(--radius-lg); object-fit: cover; font-size: 2.4rem; }
.ad-profile-head h1 { margin: 0 0 4px; }
.ad-profile .ad-specialty { color: var(--secondary-dark); font-weight: var(--weight-semibold); margin: 0 0 var(--space-2); }
.ad-profile .ad-meta { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); color: var(--text-secondary); font-size: var(--text-small); }
.ad-profile .ad-meta span { display: inline-flex; align-items: center; gap: 4px; }
.ad-booking-box { position: sticky; top: calc(var(--header-height) + 12px); border: 1px solid var(--border); border-top: 3px solid var(--primary); }
.ad-booking-box .ad-fee { font-size: 1.6rem; }
.ad-profile .ad-qual { list-style: none; padding: 0; }
.ad-profile .ad-qual li { padding: var(--space-2) 0; border-bottom: 1px dashed var(--border); }
.ad-profile .ad-stars, .ad-stars { color: #d98c00; letter-spacing: 1px; }

/* ------------------------------------------------------------------ booking flow */
.ad-booking { max-width: 860px; }
.ad-booking h2 { display: flex; align-items: center; gap: var(--space-2); font-size: 1.3rem; margin: var(--space-6) 0 var(--space-3); }
.ad-booking-doctor { display: flex; gap: var(--space-4); align-items: center; background: var(--primary-light); border-color: transparent; }
.ad-booking-doctor .ad-h3 { margin: 0 0 2px; font-size: 1.15rem; font-weight: var(--weight-bold); }
.ad-chosen-time { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); border-left: 3px solid var(--secondary); }
.ad-chosen-time p { margin: 0; }
.ad-days { display: flex; gap: var(--space-2); overflow-x: auto; padding-bottom: var(--space-2); margin-bottom: var(--space-4); }
.ad-day { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 92px; padding: var(--space-3); border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); text-decoration: none; color: var(--text-primary); }
.ad-day:hover { border-color: var(--primary); }
.ad-day.is-active { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.ad-day small { font-size: var(--text-tiny); opacity: .8; }
.ad-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: var(--space-2); }
.ad-slot { display: flex; flex-direction: column; align-items: center; padding: var(--space-3); border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); text-decoration: none; color: var(--text-primary); font-weight: var(--weight-medium); transition: border-color .15s ease, background .15s ease; }
.ad-slot:hover { border-color: var(--primary); background: var(--primary-light); color: var(--primary-dark); }
.ad-slot small { color: var(--text-secondary); font-size: var(--text-tiny); font-weight: var(--weight-normal); }
.ad-slots-compact { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); }
.ad-method { display: flex; gap: var(--space-3); align-items: flex-start; border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-4); margin: 0 0 var(--space-3); cursor: pointer; background: var(--surface); }
.ad-method:hover { border-color: var(--primary); }
.ad-method:has(input:checked) { border-color: var(--primary); background: var(--primary-light); box-shadow: 0 0 0 1px var(--primary) inset; }
.ad-method input { margin-top: 4px; accent-color: var(--primary); width: 18px; height: 18px; }
.ad-consent { background: var(--surface-muted); border-radius: var(--radius-sm); padding: var(--space-3); }
.ad-new-patient { border-left: 2px solid var(--border); padding-left: var(--space-4); margin: var(--space-3) 0; }
.ad-pay-details { background: var(--surface-muted); border-radius: var(--radius-sm); padding: var(--space-4); }
.ad-pay-details dt { font-weight: var(--weight-medium); }
.ad-copy { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.05rem; }

/* Step indicator */
.ad-steps-bar { display: flex; gap: var(--space-2); list-style: none; padding: 0; margin: 0 0 var(--space-5); }
.ad-steps-bar li { flex: 1; display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-small); color: var(--text-secondary); padding: var(--space-2) var(--space-3); border-radius: var(--radius-pill); background: var(--surface-muted); }
.ad-steps-bar li b { display: inline-flex; width: 22px; height: 22px; border-radius: 50%; background: var(--border-strong); color: #fff; align-items: center; justify-content: center; font-size: var(--text-tiny); }
.ad-steps-bar li.is-current { background: var(--primary-light); color: var(--primary-dark); font-weight: var(--weight-semibold); }
.ad-steps-bar li.is-current b, .ad-steps-bar li.is-done b { background: var(--primary); }
.ad-steps-bar li.is-done { color: var(--text-primary); }

/* ------------------------------------------------------------------ patient account */
.ad-account h2 { font-size: var(--text-h2); margin-bottom: var(--space-5); }
.ad-account section { margin-bottom: var(--space-6); }
.ad-account h3 { display: flex; align-items: center; gap: var(--space-2); font-size: 1.15rem; margin: 0 0 var(--space-3); }
.ad-appointment { border-left: 3px solid var(--primary); }
.ad-appointment-head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); margin-bottom: var(--space-2); }
.ad-appointment h4 { margin: 0 0 4px; font-size: 1.05rem; }
.ad-badge { display: inline-block; padding: 3px 10px; font-size: var(--text-tiny); background: var(--surface-muted); color: var(--text-secondary); }
.ad-badge-confirmed { background: var(--success-light); color: var(--success); }
.ad-badge-in_progress { background: var(--primary-light); color: var(--primary-dark); }
.ad-badge-completed { background: var(--surface-muted); color: var(--text-secondary); }
.ad-badge-pending_payment, .ad-badge-payment_review { background: var(--warning-light); color: var(--warning); }
.ad-badge-cancelled_by_patient, .ad-badge-cancelled_by_doctor, .ad-badge-cancelled_by_admin, .ad-badge-payment_failed, .ad-badge-expired { background: var(--danger-light); color: var(--danger); }
.ad-message { background: var(--surface-muted); border-left: 3px solid var(--border-strong); border-radius: var(--radius-sm); padding: var(--space-3); margin: 0 0 var(--space-2); }
.ad-inline-form { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }

/* ------------------------------------------------------------------ login & registration */
.ad-login { max-width: 460px; margin: var(--space-7) auto; padding: var(--space-6); box-shadow: var(--shadow-md); }
.ad-login h2 { text-align: center; margin-bottom: var(--space-5); }
.ad-login .login-username, .ad-login .login-password, .ad-login .login-remember, .ad-login .login-submit { margin: 0 0 var(--space-4); }
.ad-login label { display: block; font-weight: var(--weight-medium); margin-bottom: 4px; }
.ad-login input[type=text], .ad-login input[type=password] { width: 100%; padding: 11px 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); font-size: 1rem; min-height: 46px; }
.ad-login input[type=submit] { width: 100%; background: var(--primary); color: #fff; border: 0; border-radius: var(--radius-pill); padding: 12px 20px; font-weight: var(--weight-semibold); font-size: 1rem; cursor: pointer; min-height: 48px; }
.ad-login input[type=submit]:hover { background: var(--primary-dark); }
.ad-login .login-remember label { display: flex; align-items: center; gap: var(--space-2); font-weight: var(--weight-normal); }
.ad-register { max-width: 760px; }
.ad-register .ad-intro { color: var(--text-secondary); margin-bottom: var(--space-5); }
.ad-checks { list-style: none; padding: 0; display: grid; gap: var(--space-2); }
.ad-checks li { display: flex; gap: var(--space-2); align-items: flex-start; }

/* ------------------------------------------------------------------ consultation room (patient) */
.ad-consultation { max-width: 980px; }
.ad-consult-head { display: flex; justify-content: space-between; gap: var(--space-4); align-items: center; }
.ad-video-card { padding: var(--space-4); }
.ad-video { background: #0d1622; border-radius: var(--radius); min-height: 320px; overflow: hidden; }
.ad-video-placeholder { background: var(--surface-muted); border: 1px dashed var(--border-strong); border-radius: var(--radius); padding: var(--space-6); text-align: center; }
.ad-consultation .ad-dl dt { font-weight: var(--weight-medium); }

/* ------------------------------------------------------------------ prescription & verification */
.ad-rx-page { max-width: 820px; }
.ad-rx { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-6); box-shadow: var(--shadow-sm); }
.ad-rx-header { display: flex; justify-content: space-between; gap: var(--space-4); border-bottom: 2px solid var(--primary); padding-bottom: var(--space-4); margin-bottom: var(--space-4); }
.ad-rx-brand { font-weight: var(--weight-bold); color: var(--primary); font-size: 1.3rem; }
.ad-rx-symbol { font-size: 1.6rem; font-weight: var(--weight-bold); color: var(--primary); }
.ad-rx-patient { background: var(--surface-muted); border-radius: var(--radius-sm); padding: var(--space-4); margin-bottom: var(--space-4); }
.ad-rx-item { border-bottom: 1px solid var(--border); padding: var(--space-3) 0; }
.ad-rx-footer { border-top: 1px solid var(--border); margin-top: var(--space-5); padding-top: var(--space-4); color: var(--text-secondary); font-size: var(--text-small); }
.ad-rx-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--surface-muted); padding: 2px 8px; border-radius: 6px; }
.ad-verify { max-width: 680px; }
.ad-verify .ad-filters { box-shadow: var(--shadow); }

/* ------------------------------------------------------------------ doctor application page */
.ad-dashboard { max-width: 980px; }
.ad-status-head { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; justify-content: space-between; }
.ad-checklist { list-style: none; padding: 0; display: grid; gap: var(--space-2); }
.ad-checklist li { display: flex; gap: var(--space-2); align-items: flex-start; }
.ad-hours-day { display: grid; grid-template-columns: 110px 1fr; gap: var(--space-3); align-items: center; padding: var(--space-2) 0; border-bottom: 1px solid var(--border); }
.ad-hours-block { display: flex; gap: var(--space-2); align-items: center; flex-wrap: wrap; }

@media (max-width: 760px) {
	.ad-profile-head { grid-template-columns: 1fr; text-align: center; justify-items: center; }
	.ad-booking-box { position: static; }
	.ad-steps-bar { flex-direction: column; }
	.ad-appointment-head { flex-direction: column; align-items: flex-start; }
	.ad-hours-day { grid-template-columns: 1fr; }
}

@media print {
	.ad-no-print, .site-header, .site-footer, .apna-urdu-bar { display: none !important; }
	.ad-rx { border: 0; box-shadow: none; padding: 0; }
}

/* ---------------------------------------------------------------- how ApnaDoctor works: find, consult, prescription */
.ad-how { position: relative; isolation: isolate; }

/* Soft shapes behind the section. Decorative only, and kept inside the section's own box. */
.ad-how::before {
	content: '';
	position: absolute;
	inset-inline: 0;
	inset-block: -4%;
	z-index: -1;
	background:
		radial-gradient(36rem 20rem at 12% 0%, color-mix(in srgb, var(--primary) 7%, transparent), transparent 70%),
		radial-gradient(32rem 18rem at 92% 78%, color-mix(in srgb, var(--secondary) 8%, transparent), transparent 70%);
	pointer-events: none;
}

/* Urdu lines printed beside the English text on the English pages. */
.ad-ur {
	font-family: var(--font-urdu), var(--font-sans);
	line-height: 2;
	color: var(--text-secondary);
	margin: 0 0 var(--space-2);
}

.ad-ur-lead { color: var(--primary-dark); font-size: 1.1rem; }

/* ---- layout: steps on the left, picture on the right (desktop) */
.ad-how-layout { display: grid; grid-template-columns: 1fr; gap: var(--space-7); align-items: start; }
.ad-how-intro { max-width: 640px; margin-inline: auto; }
.ad-how-intro p { margin: 0 0 var(--space-2); }

/* ---- the three steps */
.ad-journey {
	list-style: none;
	margin: var(--space-6) 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-6);
}

.ad-journey-step {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: var(--space-5);
	box-shadow: var(--shadow-sm);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.ad-journey-step:hover,
.ad-journey-step:focus-within {
	transform: translateY(-4px);
	border-color: var(--secondary);
	box-shadow: var(--shadow-md);
}

/* Connector between the cards: vertical while they are stacked. */
.ad-journey-step::after {
	content: '';
	position: absolute;
	inset-inline-start: calc(var(--space-5) + 23px);
	top: 100%;
	width: 2px;
	height: var(--space-6);
	background: var(--border-strong);
	transition: background .2s ease;
}

.ad-journey-step:last-child::after { content: none; }
.ad-journey-step:hover::after { background: var(--secondary); }

.ad-journey-num { font-size: var(--text-tiny); font-weight: var(--weight-bold); letter-spacing: .12em; color: var(--secondary-dark); }

.ad-journey-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin: var(--space-2) 0 var(--space-3);
	border-radius: var(--radius);
	background: var(--primary-light);
	color: var(--primary-dark);
	transition: background .2s ease, color .2s ease, transform .2s ease;
}

.ad-journey-step:hover .ad-journey-icon,
.ad-journey-step:focus-within .ad-journey-icon { background: var(--secondary); color: #fff; transform: translateY(-2px); }

.ad-journey-step h3 { font-size: 1.1rem; margin: 0 0 var(--space-1); color: var(--text-primary); }
.ad-journey-step > p { color: var(--text-secondary); font-size: var(--text-small); margin: 0 0 var(--space-3); }

/* The little booking flow inside each card. */
.ad-journey-flow { list-style: none; padding: 0; margin: 0 0 var(--space-3); display: grid; gap: 4px; counter-reset: flow; }
.ad-journey-flow li { position: relative; padding-inline-start: 18px; font-size: var(--text-tiny); color: var(--text-primary); font-weight: var(--weight-medium); }
.ad-journey-flow li::before { content: ''; position: absolute; inset-inline-start: 4px; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--secondary); }
.ad-journey-flow li:not(:last-child)::after { content: ''; position: absolute; inset-inline-start: 7px; top: 13px; width: 1px; height: calc(100% - 6px); background: var(--border-strong); }

.ad-journey-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 var(--space-4); }
.ad-journey-chips li { font-size: var(--text-tiny); color: var(--text-secondary); background: var(--surface-muted); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 4px 10px; }

.ad-journey-note { display: flex; align-items: flex-start; gap: 6px; font-size: var(--text-tiny); color: var(--text-secondary); margin: 0 0 var(--space-3); }
.ad-journey-note .ad-icon { flex: none; color: var(--primary); margin-top: 1px; }

.ad-journey-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-small); font-weight: var(--weight-semibold); color: var(--primary); text-decoration: none; }
.ad-journey-link:hover { color: var(--primary-dark); text-decoration: underline; }
.ad-journey-link:focus-visible,
.ad-how-actions .ad-btn:focus-visible,
.ad-how-strip a:focus-visible { outline: 3px solid var(--secondary); outline-offset: 3px; border-radius: var(--radius-sm); }

/* ---- picture */
.ad-how-media { margin: 0; }
.ad-how-media img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); display: block; }
.ad-how-media figcaption { margin-top: var(--space-2); font-size: var(--text-tiny); color: var(--text-secondary); text-align: center; }

/* ---- trust strip */
.ad-how-strip {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-3);
	padding: var(--space-4);
	margin: var(--space-7) 0 var(--space-6);
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
}

.ad-how-strip li { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-small); }
.ad-how-strip .ad-icon { flex: none; color: var(--secondary); }
.ad-how-strip span { display: flex; flex-direction: column; line-height: 1.3; }
.ad-how-strip em { font-style: normal; font-family: var(--font-urdu), var(--font-sans); font-size: var(--text-tiny); color: var(--text-secondary); line-height: 1.9; }

/* ---- closing call to action */
.ad-how-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-4);
	background: var(--primary-light);
	border-radius: var(--radius-lg);
	padding: var(--space-5) var(--space-6);
}

.ad-how-cta h3 { margin: 0; font-size: var(--text-h3); color: var(--primary-dark); }
.ad-how-cta .ad-ur { margin: var(--space-1) 0 0; }
.ad-how-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ---- tablet: the three steps become a row */
@media (min-width: 860px) {
	.ad-journey { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
	.ad-journey-step::after { inset-inline-start: 100%; top: 64px; width: var(--space-5); height: 2px; }
	.ad-how-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---- desktop: picture alongside the steps */
@media (min-width: 1200px) {
	.ad-how-layout { grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.9fr); gap: var(--space-8); align-items: center; }
	.ad-how-intro { margin-inline: 0; text-align: start; }
	.ad-how-intro h2 { text-align: start; }
	.ad-journey-step { padding: var(--space-4); }
}

@media (prefers-reduced-motion: reduce) {
	.ad-journey-step,
	.ad-journey-icon,
	.ad-journey-step::after { transition: none; }
	.ad-journey-step:hover,
	.ad-journey-step:focus-within,
	.ad-journey-step:hover .ad-journey-icon { transform: none; }
}

/* ---------------------------------------------------------------- information pages (specialties, how it works, for doctors, FAQ, disclaimer) */
.ad-page { --page-gap: var(--space-7); }
.ad-prose { max-width: 760px; margin-inline: auto; }
.ad-prose h2 { font-size: var(--text-h3); margin: var(--space-6) 0 var(--space-2); }
.ad-prose p { color: var(--text-secondary); }

.ad-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); font-size: var(--text-small); color: var(--text-secondary); margin: var(--space-4) 0 0; }
.ad-breadcrumb a { color: var(--primary); text-decoration: none; }
.ad-breadcrumb a:hover { text-decoration: underline; }

/* Specialty cards with a description */
.ad-spec-grid-lg { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.ad-spec-card-lg { gap: var(--space-2); }
.ad-spec-card-lg h2,
.ad-spec-card-lg h3 { font-size: 1.05rem; margin: 0; }
.ad-spec-card-lg h2 a { color: var(--text-primary); text-decoration: none; }
.ad-spec-card-lg h2 a:hover { color: var(--primary); text-decoration: underline; }
.ad-spec-desc { font-size: var(--text-small); color: var(--text-secondary); margin: 0; }
.ad-spec-count { font-size: var(--text-tiny); color: var(--secondary-dark); margin: 0; }
.ad-spec-card-lg .ad-ur { font-size: var(--text-small); margin: 0; }

/* The five-step page version of the journey: one card per row, roomier */
.ad-journey-list { grid-template-columns: 1fr; max-width: 820px; margin-inline: auto; }
.ad-journey-list .ad-journey-step h2 { font-size: 1.15rem; margin: 0 0 var(--space-1); }
.ad-journey-list .ad-journey-step p { color: var(--text-secondary); font-size: var(--text-small); margin: 0 0 var(--space-2); }

/* Tick lists */
.ad-ticks-center { max-width: 560px; margin-inline: auto; }
.ad-ticks em { display: block; font-style: normal; font-family: var(--font-urdu), var(--font-sans); font-size: var(--text-small); color: var(--text-secondary); line-height: 1.9; }

/* FAQ accordion */
.ad-faq-list { display: grid; gap: var(--space-3); margin: 0 0 var(--space-6); }
.ad-faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-4) var(--space-5); box-shadow: var(--shadow-sm); }
.ad-faq-item > summary { cursor: pointer; font-weight: var(--weight-semibold); list-style: none; display: flex; justify-content: space-between; gap: var(--space-3); }
.ad-faq-item > summary::-webkit-details-marker { display: none; }
.ad-faq-item > summary::after { content: '+'; color: var(--primary); font-weight: var(--weight-bold); }
.ad-faq-item[open] > summary::after { content: '–'; }
.ad-faq-item > summary:focus-visible { outline: 3px solid var(--secondary); outline-offset: 3px; }
.ad-faq-item p { color: var(--text-secondary); margin: var(--space-3) 0 0; }

/* Emergency note */
.ad-emergency {
	display: flex;
	gap: var(--space-3);
	align-items: flex-start;
	margin: var(--space-7) 0 0;
	padding: var(--space-4) var(--space-5);
	background: var(--danger-light);
	border: 1px solid color-mix(in srgb, var(--danger) 30%, transparent);
	border-radius: var(--radius);
}

.ad-emergency .ad-icon { flex: none; color: var(--danger); margin-top: 2px; }
.ad-emergency p { margin: 0 0 var(--space-1); font-size: var(--text-small); }
.ad-emergency p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- services and health library */
.ad-fee-note { font-size: var(--text-small); color: var(--text-secondary); }
.ad-topic-chips { justify-content: center; margin-bottom: var(--space-6); }
.ad-topic-chips a { text-decoration: none; color: var(--text-primary); }
.ad-topic-chips li:hover { border-color: var(--secondary); }

.ad-article-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.ad-article-card h2 { font-size: 1.1rem; margin: 0 0 var(--space-2); }
.ad-article-card h2 a { color: var(--text-primary); text-decoration: none; }
.ad-article-card h2 a:hover { color: var(--primary); text-decoration: underline; }
.ad-article-meta { display: flex; align-items: center; gap: 6px; font-size: var(--text-tiny); color: var(--text-secondary); margin: 0 0 var(--space-2); }
.ad-article-meta .ad-icon { color: var(--primary); }
.ad-article-reviewer { display: flex; align-items: center; gap: 6px; font-size: var(--text-tiny); color: var(--secondary-dark); margin: 0 0 var(--space-3); }
.ad-article-reviewer .ad-icon { color: var(--secondary); }

.ad-article-body p { margin: 0 0 var(--space-4); line-height: var(--leading); }
.ad-article-body h2 { font-size: var(--text-h3); margin: var(--space-6) 0 var(--space-2); }
.ad-article-body ul, .ad-article-body ol { margin: 0 0 var(--space-4); padding-inline-start: 1.3em; color: var(--text-secondary); }
.ad-red-flags { border-color: color-mix(in srgb, var(--warning) 40%, var(--border)); }
.ad-red-flags .ad-icon { color: var(--warning); }
.ad-article-refs { font-size: var(--text-small); color: var(--text-secondary); }
.ad-article-refs ul { padding-inline-start: 1.2em; }
.ad-related { list-style: none; padding: 0; display: grid; gap: var(--space-2); }
.ad-related a { color: var(--primary); }
.ad-pager { display: flex; justify-content: center; gap: var(--space-2); margin-top: var(--space-6); }
.ad-pager .page-numbers { padding: 6px 12px; border-radius: var(--radius-sm); border: 1px solid var(--border); text-decoration: none; color: var(--text-primary); }
.ad-pager .page-numbers.current { background: var(--primary); border-color: var(--primary); color: var(--primary-contrast); }

/* Policy pages */
.ad-legal h2 { margin-top: var(--space-7); }
.ad-legal-review {
	display: flex;
	gap: var(--space-3);
	align-items: flex-start;
	margin: 0 0 var(--space-6);
	padding: var(--space-4) var(--space-5);
	background: var(--warning-light);
	border: 1px solid color-mix(in srgb, var(--warning) 35%, transparent);
	border-radius: var(--radius);
}
.ad-legal-review .ad-icon { flex: none; color: var(--warning); margin-top: 2px; }
.ad-legal-review p { margin: 0 0 var(--space-1); font-size: var(--text-small); }
.ad-legal-review p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- pricing, tools and reviews */
.ad-price-cards { display: grid; grid-template-columns: 1fr; gap: var(--space-4); margin-bottom: var(--space-6); }
.ad-price-card { text-align: center; }
.ad-price-card h2 { font-size: 1rem; margin: 0 0 var(--space-2); color: var(--text-secondary); font-weight: var(--weight-medium); }
.ad-price-figure { font-size: 1.8rem; font-weight: var(--weight-bold); color: var(--primary-dark); margin: 0 0 var(--space-1); letter-spacing: -.02em; }
.ad-price-card .ad-muted { font-size: var(--text-tiny); margin: 0; }

.ad-table { width: 100%; border-collapse: collapse; margin: 0 0 var(--space-4); font-size: var(--text-small); }
.ad-table th, .ad-table td { text-align: start; padding: 8px 10px; border-bottom: 1px solid var(--border); }
.ad-table th { color: var(--text-secondary); font-weight: var(--weight-semibold); }

.ad-tool-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-5); box-shadow: var(--shadow-sm); margin: 0 0 var(--space-4); }
.ad-tool-fields { display: grid; grid-template-columns: 1fr; gap: var(--space-4); margin-bottom: var(--space-4); }
.ad-tool-form .ad-field { display: flex; flex-direction: column; gap: 6px; }
.ad-tool-form .ad-field span { font-weight: var(--weight-medium); font-size: var(--text-small); }
.ad-tool-form input { min-height: 46px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 0 12px; font: inherit; }
.ad-tool-form input:focus-visible { outline: 3px solid var(--secondary); outline-offset: 2px; }

.ad-tool-result:not(:empty) {
	display: flex;
	flex-direction: column;
	gap: 4px;
	background: var(--primary-light);
	border-radius: var(--radius);
	padding: var(--space-4) var(--space-5);
	margin: 0 0 var(--space-6);
}
.ad-tool-result strong { font-size: 1.3rem; color: var(--primary-dark); }
.ad-tool-result small { color: var(--text-secondary); font-size: var(--text-tiny); }

.ad-review-card { display: flex; flex-direction: column; gap: var(--space-2); }
.ad-review-stars { display: flex; gap: 2px; margin: 0; color: var(--border-strong); }
.ad-review-stars .is-on { color: var(--warning); }
.ad-review-response { margin: 0; padding-inline-start: var(--space-3); border-inline-start: 3px solid var(--border); color: var(--text-secondary); font-size: var(--text-small); }

@media (min-width: 720px) {
	.ad-price-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ad-tool-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------------------------------------------------------------- online GP & family practice */
.ad-gp-hero { display: grid; grid-template-columns: 1fr; gap: var(--space-6); align-items: center; }
.ad-gp-hero-text h1 { font-size: var(--text-h1); margin: 0 0 var(--space-3); letter-spacing: -.02em; }
.ad-gp-hero-text .ad-ur { margin-bottom: var(--space-3); }
.ad-gp-hero-media { margin: 0; }
.ad-gp-hero-media img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); display: block; }
.ad-gp-hero-media figcaption { margin-top: var(--space-2); font-size: var(--text-tiny); color: var(--text-secondary); text-align: center; }

.ad-gp-benefits { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: var(--space-4); }
.ad-gp-benefits li { display: flex; flex-direction: column; gap: var(--space-2); }
.ad-gp-benefits h2 { font-size: 1.05rem; margin: 0; }
.ad-gp-benefits p { color: var(--text-secondary); font-size: var(--text-small); margin: 0; }
.ad-gp-benefits .ad-ur { margin: 0; font-size: var(--text-small); }

.ad-ticks-compact li { align-items: flex-start; gap: 6px; font-size: var(--text-small); }
.ad-ticks-compact .ad-icon { color: var(--secondary); flex: none; margin-top: 3px; }

.ad-gp-note { display: flex; gap: var(--space-3); align-items: flex-start; border-color: color-mix(in srgb, var(--warning) 35%, var(--border)); }
.ad-gp-note .ad-icon { flex: none; color: var(--warning); margin-top: 2px; }
.ad-gp-note p { margin: 0 0 var(--space-1); font-size: var(--text-small); }
.ad-gp-note p:last-child { margin-bottom: 0; }

@media (min-width: 720px) {
	.ad-gp-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
	.ad-gp-hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: var(--space-8); }
	.ad-gp-benefits { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Full-bleed bands are sized with 100vw, which includes the scrollbar; clip the few pixels that
   overhang instead of letting them scroll the page. `clip` (not `hidden`) keeps sticky headers. */
html:has(.ad-section-alt),
body:has(.ad-section-alt) { overflow-x: clip; }

/* ---------------------------------------------------------------- homepage: online GP box */
.ad-gp-box-inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-6);
	align-items: center;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: var(--space-6);
	box-shadow: var(--shadow-md);
	position: relative;
	overflow: hidden;
}

.ad-gp-box-inner::before {
	content: '';
	position: absolute;
	inset-block: 0;
	inset-inline-start: 0;
	width: 4px;
	background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.ad-gp-box-text h2 { font-size: var(--text-h2); margin: 0 0 var(--space-2); }
.ad-gp-box-text .ad-lead { margin: 0 0 var(--space-3); }
.ad-gp-box-text .ad-ur { margin: 0 0 var(--space-3); }
.ad-gp-box-text .ad-ticks { margin-bottom: var(--space-5); }
.ad-gp-box-media { margin: 0; }
.ad-gp-box-media img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); display: block; }
.ad-gp-box-media figcaption { margin-top: var(--space-2); font-size: var(--text-tiny); color: var(--text-secondary); text-align: center; }

@media (min-width: 900px) {
	.ad-gp-box-inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: var(--space-8); padding: var(--space-7); }
}

/* Without a picture the box and hero use the full width. */
.ad-gp-box-inner:not(:has(.ad-gp-box-media)),
.ad-gp-hero:not(:has(.ad-gp-hero-media)) { grid-template-columns: 1fr; }

/* Advertised service price */
.ad-gp-price { display: flex; flex-direction: column; gap: 2px; background: var(--primary-light); border-radius: var(--radius); padding: var(--space-3) var(--space-4); margin: 0 0 var(--space-4); }
.ad-gp-price-label { font-size: var(--text-small); color: var(--primary-dark); font-weight: var(--weight-medium); }
.ad-gp-price-figure { font-size: 1.6rem; color: var(--primary-dark); line-height: 1.1; }
.ad-gp-price small { font-size: var(--text-tiny); color: var(--text-secondary); }
.ad-gp-box-price { display: flex; align-items: baseline; gap: var(--space-2); margin: 0 0 var(--space-4); }
.ad-gp-box-price strong { font-size: 1.5rem; color: var(--primary-dark); }
.ad-gp-box-price span { font-size: var(--text-small); color: var(--text-secondary); }
.ad-spec-price { font-size: var(--text-small); color: var(--text-secondary); margin: 0; }
.ad-spec-price strong { color: var(--primary-dark); font-size: 1.05rem; }

/* ================================================================ visual polish
   Depth, rhythm and colour across the public pages. Layout and markup are unchanged – this only
   changes how the existing components look. */

/* ---- hero: a soft wash behind the fold instead of flat white */
.ad-home .ad-hero { position: relative; isolation: isolate; padding-block: var(--space-8) var(--space-8); }

.ad-home .ad-hero::before {
	content: '';
	position: absolute;
	z-index: -1;
	inset-block: calc(var(--space-8) * -1) calc(var(--space-6) * -1);
	inset-inline: calc(50% - 50vw);
	background:
		radial-gradient(42rem 26rem at 15% 10%, color-mix(in srgb, var(--primary) 10%, transparent), transparent 70%),
		radial-gradient(38rem 24rem at 85% 85%, color-mix(in srgb, var(--secondary) 10%, transparent), transparent 70%),
		linear-gradient(180deg, color-mix(in srgb, var(--primary) 4%, var(--background)) 0%, var(--background) 100%);
	pointer-events: none;
}

.ad-hero h1 { font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.4rem); }
.ad-hero .ad-lead { font-size: 1.08rem; color: var(--text-secondary); max-width: 46ch; }

/* ---- the search card is the thing to notice first */
.ad-hero-search {
	padding: var(--space-3);
	border-radius: var(--radius-lg);
	box-shadow: 0 18px 40px -22px rgba(15, 93, 158, .45);
	border-color: color-mix(in srgb, var(--primary) 18%, var(--border));
}

.ad-hero-search select { min-height: 52px; padding-inline: var(--space-3); font-weight: var(--weight-medium); }
.ad-hero-search .ad-btn { padding-inline: var(--space-5); border-radius: var(--radius); }
.ad-quick a { transition: background .15s ease, border-color .15s ease, color .15s ease; }
.ad-quick a:hover { background: var(--primary-light); border-color: var(--primary); color: var(--primary-dark); }

/* ---- trust bar reads as one card */
.ad-trust {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	padding: var(--space-5);
	gap: var(--space-5);
}

.ad-trust li { min-width: 0; align-items: flex-start; line-height: 1.35; }
.ad-trust li + li { border-inline-start: 1px solid var(--border); padding-inline-start: var(--space-5); margin-inline-start: calc(var(--space-5) * -1 + 1px); }
.ad-trust li .ad-icon { margin-top: 2px; }
.ad-trust .ad-icon { color: var(--secondary); }

/* ---- section headings carry more weight */
.ad-section-title h2 { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.25rem); letter-spacing: -.02em; }
.ad-section-title p { font-size: 1.02rem; }
.ad-how-intro .ad-ur, .ad-how-intro p { text-align: inherit; }

/* ---- specialty cards: a tinted icon tile and a bit of motion */
.ad-spec-card { padding: var(--space-4); gap: var(--space-3); }

.ad-spec-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 14%, var(--surface)), color-mix(in srgb, var(--secondary) 14%, var(--surface)));
	color: var(--primary-dark);
	transition: background .18s ease, color .18s ease, transform .18s ease;
}

.ad-spec-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); }
.ad-spec-card:hover .ad-spec-icon { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; transform: scale(1.04); }
.ad-spec-card strong { font-size: 1.02rem; }
.ad-spec-cta { color: var(--primary); font-weight: var(--weight-semibold); font-size: var(--text-small); display: inline-flex; align-items: center; gap: 6px; margin-top: auto; }
.ad-spec-cta .ad-icon { transition: transform .18s ease; }
.ad-spec-card:hover .ad-spec-cta .ad-icon { transform: translateX(3px); }

/* ---- doctor cards: rounder avatar, calmer type, clearer fee */
.ad-doctor-card { padding: var(--space-5); }
.ad-doctor-photo img, .ad-doctor-card .ad-avatar {
	border-radius: 50%;
	background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 16%, var(--surface)), color-mix(in srgb, var(--secondary) 16%, var(--surface)));
	color: var(--primary-dark);
	font-weight: var(--weight-bold);
}

.ad-doctor-card h3 { font-size: 1.08rem; line-height: 1.3; }
.ad-doctor-card .ad-specialty { font-size: var(--text-small); line-height: 1.45; color: var(--secondary-dark); }
.ad-doctor-card .ad-fee { font-size: 1.15rem; font-weight: var(--weight-bold); color: var(--primary-dark); margin-bottom: 2px; }
.ad-doctor-card .ad-fee small { display: block; font-size: var(--text-tiny); font-weight: var(--weight-normal); color: var(--text-secondary); }
.ad-doctor-card .ad-verified { color: var(--secondary-dark); font-weight: var(--weight-medium); }

/* ---- the closing band earns its place */
.ad-cta-band {
	background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
	color: var(--text-on-dark);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
}

.ad-cta-band h2, .ad-cta-band p, .ad-cta-band li { color: #fff; }
.ad-cta-band .ad-btn { background: #fff; border-color: #fff; color: var(--primary-dark); font-weight: var(--weight-semibold); }
.ad-cta-band .ad-btn:hover { background: rgba(255, 255, 255, .9); color: var(--primary-dark); }
.ad-cta-band .ad-icon { color: #fff; }

/* ---- buttons lift very slightly, consistently */
.ad-btn { transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease; }
.ad-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 20px -12px rgba(15, 93, 158, .8); }

@media (prefers-reduced-motion: reduce) {
	.ad-btn, .ad-spec-card, .ad-spec-icon, .ad-spec-cta .ad-icon { transition: none; }
	.ad-btn-primary:hover, .ad-spec-card:hover, .ad-spec-card:hover .ad-spec-icon, .ad-spec-card:hover .ad-spec-cta .ad-icon { transform: none; }
}

@media (max-width: 782px) {
	.ad-trust li + li { border-inline-start: 0; }
	.ad-trust { padding: var(--space-4); }
}

/* ---- the price in the hero, taken from the doctors' own fees */
.ad-hero-price {
	display: inline-flex;
	align-items: baseline;
	gap: var(--space-2);
	margin: 0 0 var(--space-4);
	padding: 8px 16px;
	border-radius: var(--radius-pill);
	background: color-mix(in srgb, var(--secondary) 12%, var(--surface));
	border: 1px solid color-mix(in srgb, var(--secondary) 28%, transparent);
}

.ad-hero-price-figure { font-size: 1.35rem; font-weight: var(--weight-bold); color: var(--secondary-dark); letter-spacing: -.01em; }
.ad-hero-price-label { font-size: var(--text-small); color: var(--text-secondary); }
.ad-home .ad-emergency { margin-top: var(--space-7); }
