/* Apptly specialist pages (/specialists/ hub and /specialists/{specialty}-near-me/).
   Colours, type and spacing follow the approved Cardiology sample. Everything is scoped to .apx. */

.apx {
	--apx-navy: #020631;
	--apx-ink: #2E3D53;
	--apx-muted: #64748B;
	--apx-blue: #2E66FF;
	--apx-blue-10: rgba(46, 102, 255, .1);
	--apx-blue-20: rgba(46, 102, 255, .2);
	--apx-blue-5: rgba(46, 102, 255, .05);
	--apx-line: #E5E7EB;
	--apx-line-2: #CDDCE5;
	--apx-alt: rgba(241, 245, 249, .5);
	--apx-aqua: #CCF5FF;
	--apx-grad: linear-gradient(to right, hsl(224 100% 59%), #06b6d4);
	--apx-shadow-sm: 0 1px 2px rgba(0, 0, 0, .05);
	--apx-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, .15);
	--apx-shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, .25);
	font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
	color: var(--apx-ink);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

.apx *,
.apx *::before,
.apx *::after { box-sizing: border-box; }
/* Resets use one class of weight, so every component rule below wins over them and over the theme's element styles. */
.apx :where(h1, h2, h3, h4, p, ul, ol, li, figure, blockquote) { margin: 0; padding: 0; }
.apx :where(ul, ol) { list-style: none; }
.apx :where(h1, h2, h3, h4) { font-family: inherit; color: var(--apx-navy); text-transform: none; letter-spacing: normal; }
.apx :where(img) { display: block; max-width: 100%; height: auto; }
.apx :where(a) { color: var(--apx-blue); text-underline-offset: 3px; }
.apx :where(strong) { color: var(--apx-navy); font-weight: 600; }
.apx :where(svg) { flex: none; }
.apx .apx-ico { display: inline-block; }
.apx :focus-visible { outline: 3px solid var(--apx-blue); outline-offset: 3px; }
.apx [id] { scroll-margin-top: calc(var(--apx-top, 100px) + 20px); }
.apx [hidden] { display: none !important; }
.apx-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Layout */
.apx-wrap { width: 92%; max-width: 1360px; margin: 0 auto; }
.apx-narrow { max-width: 880px; }
.apx-stack { display: flex; flex-direction: column; gap: 18px; }
.apx-sec { padding: 80px 0; background: #fff; }
.apx-alt { background: var(--apx-alt); }
.apx-teal { background: linear-gradient(90deg, #1D6F84, #386799); color: #fff; }
.apx-teal .apx-h2, .apx-teal .apx-lead { color: #fff; }
.apx-grid { display: grid; gap: 16px; }
.apx-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.apx-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.apx-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.apx-grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.apx-grid-6 > * { grid-column: span 2; }
.apx-grid-6 > :nth-child(4),
.apx-grid-6 > :nth-child(5) { grid-column: span 3; }
.apx-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.apx-split-top { align-items: start; }
.apx-split-copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.apx-cols-2 { columns: 2; column-gap: 28px; }

/* Type */
.apx-eyebrow { align-self: flex-start; display: inline-block; margin: 0 0 4px; padding: 6px 16px; border: 1px solid var(--apx-blue-20); border-radius: 9999px; background: var(--apx-blue-10); font-size: 14px; font-weight: 500; line-height: 14px; letter-spacing: .35px; text-transform: uppercase; color: var(--apx-blue); }
.apx-eyebrow-light { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .12); color: #fff; }
.apx-eyebrow-dark { border-color: rgba(204, 245, 255, .3); background: rgba(204, 245, 255, .1); color: var(--apx-aqua); }
.apx-h1 { display: flex; flex-direction: column; font-weight: 700; letter-spacing: -1.8px; }
.apx-h1-lead { font-size: 64px; line-height: 1.05; color: var(--apx-navy); }
.apx-h1-accent { font-size: 72px; line-height: 1; padding-bottom: .06em; }
.apx-h2 { font-size: 48px; font-weight: 600; line-height: 1.12; letter-spacing: -1px; }
.apx-h3xl { font-size: 32px; font-weight: 600; line-height: 1.12; letter-spacing: -1px; }
.apx-h3 { font-size: 22px; font-weight: 700; line-height: 1.35; }
.apx-step .apx-h3 { font-size: 19px; }
.apx-grad { background-image: var(--apx-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.apx-block { display: block; width: fit-content; }
.apx-lead { font-size: 18px; line-height: 28px; color: var(--apx-muted); }
.apx-muted { font-size: 16px; line-height: 26px; color: var(--apx-muted); }
.apx-small { font-size: 14px; line-height: 20px; color: var(--apx-muted); }
.apx-cite { font-size: .72em; font-weight: 700; vertical-align: super; line-height: 0; text-decoration: none; }

/* Buttons */
.apx-btn,
.apx-btn:visited { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 28px; border: 2px solid var(--apx-blue); border-radius: 6px; background: var(--apx-blue); color: #fff; font-family: inherit; font-size: 17px; font-weight: 500; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease; }
.apx-btn:hover,
.apx-btn:focus-visible { background: rgba(46, 102, 255, .9); color: #fff; transform: translateY(-4px); box-shadow: var(--apx-shadow-lg); }
.apx-btn-outline,
.apx-btn-outline:visited { background: transparent; color: var(--apx-blue); }
.apx-btn-outline:hover,
.apx-btn-outline:focus-visible { background: var(--apx-blue-5); color: var(--apx-navy); }
.apx-btn-white,
.apx-btn-white:visited { border-color: #fff; background: #fff; color: var(--apx-navy); }
.apx-btn-white:hover,
.apx-btn-white:focus-visible { border-color: var(--apx-aqua); background: var(--apx-aqua); color: var(--apx-navy); }
.apx-btn-lg { min-height: 56px; padding: 0 32px; font-size: 18px; }

/* Cards and icons */
.apx-card { display: flex; flex-direction: column; gap: 12px; padding: 24px; background: #fff; border: 1px solid var(--apx-line); border-radius: 12px; box-shadow: var(--apx-shadow-sm); color: var(--apx-ink); }
.apx-card p { font-size: 16px; line-height: 24px; color: var(--apx-muted); }
.apx-facts .apx-card p,
.apx-card-ring p { color: var(--apx-ink); }
.apx-card-hover { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.apx-card-hover:hover { transform: translateY(-4px); border-color: var(--apx-blue); box-shadow: var(--apx-shadow-lg); }
.apx-card-ring { border-color: var(--apx-blue-20); }
.apx-ico-box { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--apx-blue-10); color: var(--apx-blue); }
.apx-ico-box .apx-ico { width: 20px; height: 20px; }
.apx-ico-sm { width: 38px; height: 38px; }
.apx-ico-sm .apx-ico { width: 18px; height: 18px; }
.apx-ico-xs { width: 26px; height: 26px; border-radius: 4px; }
.apx-ico-xs .apx-ico { width: 14px; height: 14px; }
.apx-ico-lg { width: 46px; height: 46px; }
.apx-ico-lg .apx-ico { width: 22px; height: 22px; }
.apx-card-head { display: flex; align-items: center; gap: 14px; font-size: 22px; font-weight: 700; line-height: 1.35; }
.apx-checklist { display: flex; flex-direction: column; gap: 12px; }
.apx-checklist li { display: flex; gap: 10px; font-size: 17px; line-height: 26px; color: var(--apx-ink); break-inside: avoid; }
.apx-checklist .apx-ico { width: 13px; height: 13px; margin-top: 7px; color: var(--apx-blue); }
.apx-cols-2.apx-checklist { display: block; }
.apx-cols-2.apx-checklist li { margin-bottom: 12px; }
.apx-checkbox { padding: 28px; background: var(--apx-alt); border: 1px solid var(--apx-line-2); border-radius: 12px; box-shadow: var(--apx-shadow-sm); }
.apx-checkbox .apx-card-head { margin-bottom: 18px; }
ul.apx-checkbox { margin-top: 6px; }

/* Hero */
.apx-hero { position: relative; z-index: 0; padding: 46px 0 86px; overflow: hidden; }
.apx-hero::before { content: ""; position: absolute; top: 0; left: 50%; z-index: -1; width: 100%; max-width: 1000px; height: 500px; transform: translateX(-50%); border-radius: 9999px; background: rgba(204, 245, 255, .3); filter: blur(120px); pointer-events: none; }
.apx-hero-grid { display: grid; grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); gap: 48px; align-items: center; }
.apx-hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.apx-crumbs { padding-bottom: 12px; font-size: 14px; line-height: 20px; color: var(--apx-muted); }
.apx-crumbs a { color: var(--apx-muted); text-decoration: none; }
.apx-crumbs a:hover { color: var(--apx-blue); }
.apx-hero .apx-eyebrow { margin-bottom: 12px; }
.apx-hero .apx-h1 { margin-bottom: 8px; }
.apx-hero-intro { margin-bottom: 8px; font-size: 20px; line-height: 32px; color: var(--apx-muted); }
.apx-hero-helper { margin: 12px 0; font-size: 14px; line-height: 20px; color: var(--apx-muted); }
.apx-paying { width: 100%; padding: 12px 16px; background: #fff; border: 1px solid var(--apx-line); border-radius: 12px; font-size: 15px; line-height: 23px; color: var(--apx-ink); }
.apx-badges { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 12px 0; }
.apx-badges li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; line-height: 22px; color: var(--apx-ink); }
.apx-badges .apx-ico { width: 13px; height: 13px; color: var(--apx-blue); }

/* Search card */
.apx-search { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; width: 100%; margin: 8px 0 0; padding: 14px; background: #fff; border: 1px solid var(--apx-line); border-radius: 12px; box-shadow: 0 20px 25px -12px rgba(15, 23, 42, .12); }
.apx-field { display: flex; flex-direction: column; gap: 6px; margin: 0; font-size: 13px; font-weight: 600; color: var(--apx-ink); }
.apx-field-spec { flex: 0 0 auto; }
.apx-field-zip { flex: 1 1 140px; min-width: 0; }
.apx-search > .apx-btn { flex: 1 1 auto; }
.apx-chip { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px; border: 1px solid var(--apx-line-2); border-radius: 6px; background: var(--apx-alt); font-size: 16px; font-weight: 600; color: var(--apx-navy); white-space: nowrap; }
.apx-chip a { font-size: 13px; font-weight: 500; }
.apx input[type="text"],
.apx input:not([type]),
.apx input[type="search"] { width: 100%; height: 48px; margin: 0; padding: 0 14px; border: 1px solid var(--apx-line-2); border-radius: 6px; background: #fff; font-family: inherit; font-size: 16px; color: var(--apx-navy); box-shadow: none; }
.apx input:focus { outline: 2px solid var(--apx-blue); outline-offset: 1px; border-color: var(--apx-blue); }
.apx input[aria-invalid="true"] { border-color: #B54708; outline-color: #B54708; }
.apx-search-msg { flex: 1 1 100%; font-size: 14px; font-weight: 500; color: #B54708; }
.apx-steps + .apx-search { margin-top: 8px; }

/* Live availability panel (hero) */
.hero-panel { color: var(--apx-ink); background: #fff; border: 1px solid var(--apx-line); border-radius: 24px; padding: 22px 22px 18px; box-shadow: var(--apx-shadow-xl); }
.hp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.hp-eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 6px !important; font-size: 12px; font-weight: 600; letter-spacing: .35px; text-transform: uppercase; color: var(--apx-blue); }
.hp-pulse { width: 8px; height: 8px; border-radius: 50%; background: #16A37F; box-shadow: 0 0 0 4px rgba(22, 163, 127, .15); animation: apxPulse 2s ease-in-out infinite; }
.apx .hp-title { font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: 0; color: var(--apx-navy); }
.hp-title span { color: var(--apx-blue); }
.hp-change { padding-top: 2px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.hp-list { margin: 6px 0 0 !important; }
.hp-list li + li { border-top: 1px solid var(--apx-line); }
.hp-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; margin: 0 -8px; padding: 13px 8px; border-radius: 12px; text-decoration: none; color: var(--apx-ink) !important; transition: background .15s; }
.hp-row:hover, .hp-row:focus-visible { background: var(--apx-alt); }
.hp-row img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: center 20%; background: #F1F5F9; box-shadow: 0 0 0 1px var(--apx-line); }
.hp-who { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.hp-who strong { font-size: 16px; font-weight: 600; line-height: 1.2; color: var(--apx-navy); }
.hp-tag { align-self: flex-start; padding: 2px 8px; border-radius: 999px; background: var(--apx-blue-10); font-size: 11px; font-weight: 600; color: var(--apx-blue); white-space: nowrap; }
.hp-tag-video { background: var(--apx-aqua); color: #0B7F8A; }
.hp-where { font-size: 13px; color: var(--apx-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-when { display: flex; flex-direction: column; gap: 2px; text-align: right; }
.hp-next { font-size: 14px; font-weight: 600; color: var(--apx-blue); white-space: nowrap; }
.hp-price { font-size: 13px; color: var(--apx-muted); white-space: nowrap; }
.hp-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--apx-line); }
.hp-foot p { flex: 1 1 180px; font-size: 14px; color: var(--apx-muted); }
.hero-panel .hp-all { min-height: 44px; padding: 0 18px; font-size: 15px; }
.hp-note { margin: 10px 0 0 !important; font-size: 12px; color: var(--apx-muted); }
.hp-empty { padding: 18px 4px; font-size: 15px; color: var(--apx-muted); }
.hero-panel[aria-busy="true"] .hp-foot { opacity: .5; }
.av-initials { flex: none; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: linear-gradient(135deg, var(--apx-blue-10), var(--apx-aqua)); color: var(--apx-blue); font-weight: 700; font-size: 17px; box-shadow: 0 0 0 1px var(--apx-line); }
.hp-skel { height: 82px; margin: 4px 0; border-radius: 12px; background: linear-gradient(90deg, #F1F5F9 25%, #E5ECF7 50%, #F1F5F9 75%); background-size: 800px 100%; animation: apxShimmer 1.2s linear infinite; }
.hp-list li.hp-skel + li.hp-skel { border-top: 0; }

/* Explore strip */
.apx-explore { padding: 16px 0; background: rgba(241, 245, 249, .98); border-top: 1px solid var(--apx-line); border-bottom: 1px solid var(--apx-line); }
.apx-explore-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: center; }
.apx-explore-title { justify-self: center; font-size: 17px; font-weight: 700; line-height: 32px; color: var(--apx-navy); }
.apx-explore-link { justify-self: center; display: inline-flex; align-items: center; gap: 16px; font-size: 17px; font-weight: 500; line-height: 32px; color: var(--apx-navy) !important; text-decoration: none; }
.apx-explore-link:hover { color: var(--apx-blue) !important; }

/* Direct answer and facts */
.apx-answer { display: flex; flex-direction: column; gap: 10px; padding: 28px 32px; background: rgba(241, 245, 249, .98); border-left: 5px solid var(--apx-blue); border-radius: 0 12px 12px 0; }
.apx-answer p { font-size: 18px; line-height: 28px; color: var(--apx-ink); }
.apx-facts-title { margin-top: 28px; }
.apx-facts { align-items: stretch; }

/* Providers strip */
.apx-providers-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; }
.apx-providers-head > div { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.pv-zip { color: var(--apx-blue); }
.pv-zipform { display: flex; flex-direction: column; gap: 6px; margin: 0; font-size: 13px; font-weight: 600; color: var(--apx-ink); }
.pv-zipwrap { display: flex; gap: 8px; }
.apx .pv-zipwrap input { width: 140px; }
.pv-zipwrap .apx-btn { padding: 0 20px; font-size: 16px; }
.pv-rail-wrap { position: relative; }
.pv-rail { margin: 0; padding: 6px 4px 18px !important; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: thin; overscroll-behavior-x: contain; }
.pv-rail:has(.pc-empty) { display: block; }
.pv-rail:focus-visible { outline: 3px solid var(--apx-blue); outline-offset: 4px; border-radius: 12px; }
.pc-card { scroll-snap-align: start; }
.pc-card article { height: 100%; display: flex; flex-direction: column; padding: 18px; background: #fff; border: 1px solid var(--apx-line); border-radius: 12px; box-shadow: var(--apx-shadow-sm); transition: box-shadow .25s, transform .25s, border-color .25s; }
.pc-card article:hover { transform: translateY(-4px); border-color: var(--apx-blue); box-shadow: var(--apx-shadow-lg); }
.pc-top { display: flex; align-items: center; gap: 12px; }
.pc-id { min-width: 0; }
.pc-photo { flex: none; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: center 20%; background: #F1F5F9; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--apx-line); }
.apx .pc-name { margin: 0 0 2px; font-size: 17px; font-weight: 600; line-height: 1.25; color: var(--apx-navy); }
.pc-spec { margin: 0 0 6px !important; font-size: 14px; color: var(--apx-muted); }
.pc-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 7px; border-radius: 999px; background: var(--apx-blue-10); font-size: 12px; font-weight: 600; color: var(--apx-blue); white-space: nowrap; }
.pc-meta { display: grid; gap: 6px; margin: 14px 0 12px !important; padding: 12px 0 0 !important; border-top: 1px solid var(--apx-line); font-size: 14px; color: var(--apx-ink); }
.pc-k { display: block; font-size: 11px; font-weight: 600; letter-spacing: .35px; text-transform: uppercase; color: var(--apx-muted); }
.pc-dot { color: #9AA6BB; }
.pc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.pc-chip { padding: 4px 10px; border-radius: 999px; background: var(--apx-blue-10); font-size: 12px; font-weight: 600; color: var(--apx-blue); }
.pc-chip-video { background: var(--apx-aqua); color: #0B7F8A; }
.pc-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; padding: 12px 0 14px; border-top: 1px dashed var(--apx-line); }
.pc-price strong { display: block; font-size: 22px; font-weight: 700; line-height: 1; color: var(--apx-navy); }
.pc-price span, .pc-next span { font-size: 12px; color: var(--apx-muted); }
.pc-next { text-align: right; }
.pc-next strong { display: block; font-size: 15px; font-weight: 600; color: var(--apx-blue); }
.pc-card .pc-cta { width: 100%; padding: 0 14px; font-size: 15px; }
.pc-more a { height: 100%; min-height: 300px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; padding: 24px; border: 2px dashed var(--apx-blue-20); border-radius: 12px; background: linear-gradient(160deg, #fff, var(--apx-blue-5)); font-size: 17px; font-weight: 600; color: var(--apx-navy) !important; text-decoration: none; }
.pc-more-n { font-size: 42px; font-weight: 700; line-height: 1; color: var(--apx-blue); }
.pc-more-arrow { font-size: 26px; color: var(--apx-blue); }
.pc-empty { max-width: 640px; padding: 24px; background: #fff; border: 1px dashed var(--apx-line-2); border-radius: 12px; font-size: 15px; color: var(--apx-muted); }
.pv-nav { position: absolute; top: 42%; z-index: 2; width: 44px; height: 44px; padding: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--apx-line); background: #fff; color: var(--apx-navy); box-shadow: var(--apx-shadow-lg); cursor: pointer; }
.pv-nav:hover { color: var(--apx-blue); }
.pv-nav:disabled { opacity: 0; pointer-events: none; }
.pv-prev { left: -18px; }
.pv-next { right: -18px; }
.pv-note { margin: 6px 0 0 !important; max-width: 90ch; font-size: 13px; color: var(--apx-muted); }
.pc-skel { min-height: 380px; border: 1px solid var(--apx-line); border-radius: 12px; background: linear-gradient(90deg, #fff 25%, #EEF3FB 50%, #fff 75%); background-size: 800px 100%; animation: apxShimmer 1.2s linear infinite; }

/* Why, when, cost */
.apx-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; box-shadow: var(--apx-shadow-xl); }
.apx-card-list { gap: 18px; }
.apx-emergency { display: flex; align-items: flex-start; gap: 16px; margin-top: 12px; padding: 22px 24px; background: #FFF4EC; border-left: 5px solid #B54708; border-radius: 0 12px 12px 0; font-size: 17px; line-height: 27px; color: var(--apx-ink); }
.apx-emergency .apx-ico { width: 22px; height: 22px; margin-top: 3px; color: #B54708; }
.apx-emergency strong { color: #B54708; }
.apx-note-box { padding: 16px 20px; background: var(--apx-blue-5); border: 1px solid var(--apx-blue-20); border-radius: 12px; font-size: 16px; line-height: 26px; color: var(--apx-ink); }

/* Steps */
.apx-step { border-top: 3px solid var(--apx-blue); }
.apx-step-no { display: flex; align-items: center; gap: 12px; font-size: 14px !important; font-weight: 500; line-height: 14px !important; letter-spacing: .35px; text-transform: uppercase; color: var(--apx-blue) !important; }

/* First visit */
.apx-numbered { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.apx-numbered li { display: flex; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--apx-line); }
.apx-numbered h3 { padding-bottom: 6px; font-size: 18px; font-weight: 700; line-height: 22px; }
.apx-numbered p { font-size: 16px; line-height: 25px; color: var(--apx-ink); }
.apx-num { flex: 0 0 36px; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--apx-blue-10); font-size: 16px; font-weight: 700; color: var(--apx-blue); }

/* Choose checklist */
.apx-ticks { padding: 28px; gap: 0; }
.apx-ticks li { position: relative; margin: 0 0 14px; padding: 0 0 14px 34px; border-bottom: 1px solid var(--apx-line); font-size: 17px; line-height: 27px; color: var(--apx-ink); }
.apx-ticks li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.apx-ticks li::before { content: "\2713"; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--apx-blue-10); color: var(--apx-blue); font-size: 12px; font-weight: 800; line-height: 22px; text-align: center; }

/* Evidence */
.apx-stats .apx-card { gap: 10px; }
.apx-stat { width: fit-content; font-size: 48px !important; font-weight: 600; line-height: 1 !important; letter-spacing: -1.8px; padding-bottom: 4px; }
.apx-stat-label { padding-bottom: 10px; border-bottom: 1px solid var(--apx-line); font-size: 18px !important; font-weight: 600; line-height: 26px !important; color: var(--apx-navy) !important; }
.apx-stat-note { font-size: 15px !important; line-height: 23px !important; }

/* Comparison table */
.apx-table { width: 100%; margin-top: 8px; border-collapse: separate; border-spacing: 0; overflow: hidden; background: #fff; border: 1px solid var(--apx-line); border-radius: 12px; box-shadow: var(--apx-shadow-sm); font-size: 16px; line-height: 24px; }
.apx-table th, .apx-table td { padding: 18px 22px; text-align: left; vertical-align: middle; border: 0; }
.apx-table thead th { background: var(--apx-navy); color: #fff; font-weight: 600; }
.apx-table thead th.apx-col-us { background: var(--apx-blue); }
.apx-table thead .apx-ico { width: 16px; height: 16px; margin-right: 8px; vertical-align: -3px; }
.apx-table th:first-child { width: 30%; }
.apx-table tbody th { font-weight: 500; color: var(--apx-navy); }
.apx-table tbody td.apx-col-us { width: 35%; background: var(--apx-blue-5); font-weight: 600; color: var(--apx-navy); }
.apx-table tbody td { color: var(--apx-ink); }
.apx-table tbody tr + tr > * { border-top: 1px solid var(--apx-line); }

/* Related */
.apx-link-card { flex-direction: row; align-items: center; gap: 14px; padding: 18px; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.apx-link-card:hover { transform: translateY(-4px); border-color: var(--apx-blue); box-shadow: var(--apx-shadow-lg); }
.apx-link-text { flex: 1; font-size: 17px; font-weight: 600; line-height: 24px; color: var(--apx-navy); transition: color .2s; }
.apx-link-card:hover .apx-link-text { color: var(--apx-blue); }
.apx-arrow { width: 20px; height: 20px; color: var(--apx-blue); transition: transform .2s ease; }
.apx-link-card:hover .apx-arrow { transform: translateX(4px); }

/* FAQ */
.apx-faq { margin-top: 6px; }
.apx-faq-item { border-bottom: 1px solid var(--apx-line); }
.apx-faq-item:first-child { border-top: 1px solid var(--apx-line); }
.apx-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; }
.apx-faq-item summary::-webkit-details-marker { display: none; }
.apx-faq-item h3 { font-size: 18px; font-weight: 500; line-height: 28px; color: var(--apx-navy); transition: color .2s ease; }
.apx-faq-item summary:hover h3,
.apx-faq-item[open] h3 { color: var(--apx-blue); }
.apx-faq-icon { position: relative; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; background: var(--apx-blue-10); }
.apx-faq-icon::before,
.apx-faq-icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--apx-blue); transition: transform .25s ease; }
.apx-faq-icon::after { transform: rotate(90deg); }
.apx-faq-item[open] .apx-faq-icon::after { transform: rotate(0deg); }
.apx-faq-body { padding: 0 48px 22px 0; }
.apx-faq-body p { font-size: 16px; line-height: 26px; color: var(--apx-muted); }
.apx-faq-more { margin-top: 8px; font-size: 15px; line-height: 24px; }

/* Final CTA and physician card */
.apx-banner { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 48px; background: var(--apx-navy); border: 1px solid rgba(255, 255, 255, .1); border-radius: 24px; box-shadow: var(--apx-shadow-lg); color: #fff; }
.apx-banner::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: rgba(46, 102, 255, .35); filter: blur(90px); pointer-events: none; }
.apx-banner > * { position: relative; z-index: 1; }
.apx-banner > div { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.apx .apx-banner-title { font-size: 36px; font-weight: 600; line-height: 1.12; letter-spacing: -1px; color: #fff; }
.apx-banner p:not(.apx-eyebrow) { font-size: 18px; line-height: 28px; color: rgba(255, 255, 255, .8); }
.apx-physician { display: grid; grid-template-columns: 1fr 1fr; margin-top: 10px; overflow: hidden; background: #fff; border: 1px solid var(--apx-line); border-radius: 24px; box-shadow: var(--apx-shadow-sm); }
.apx-physician-media img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.apx-physician-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; padding: 44px; }

/* Review and sources */
.apx-reviewer { flex-direction: row; align-items: center; gap: 24px; padding: 20px; }
.apx .apx-reviewer-name { font-size: 18px; font-weight: 600; line-height: 26px; }
.apx-reviewer p { font-size: 15px; line-height: 22px; }
.apx-sources-title { margin-top: 10px; }
.apx-sources { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.apx-sources li { flex-direction: row; align-items: flex-start; gap: 14px; padding: 16px; }
.apx-sources a { font-size: 16px; font-weight: 500; line-height: 23px; text-decoration: none; }
.apx-sources a:hover { color: var(--apx-navy); text-decoration: underline; }
.apx-sources p { margin-top: 2px; font-size: 13px; line-height: 19px; }
.apx-sources li:target { border-color: var(--apx-blue); box-shadow: 0 0 0 3px var(--apx-blue-20); }

/* Mobile sticky search button */
.apx-sticky { display: none; }

/* Gentle reveal on scroll (only when JavaScript runs) */
.apx-js [data-apx-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.apx-js [data-apx-reveal].is-in { opacity: 1; transform: none; }

@keyframes apxShimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }
@keyframes apxPulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(22, 163, 127, .15); } 50% { box-shadow: 0 0 0 7px rgba(22, 163, 127, .05); } }

@media (min-width: 2400px) {
	.apx-wrap { width: 52%; }
}

@media (max-width: 1100px) {
	.pv-rail { grid-auto-columns: calc((100% - 40px) / 3); }
}

@media (max-width: 1024px) {
	.apx-wrap { width: 96%; }
	.apx-hero-grid, .apx-split { grid-template-columns: 1fr; gap: 36px; }
	.apx-h1-lead { font-size: 52px; }
	.apx-h1-accent { font-size: 62px; }
	.apx-h2 { font-size: 40px; }
	.apx-h3xl { font-size: 30px; }
	.apx-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.apx-grid-3, .apx-grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.apx-grid-6 > *, .apx-grid-6 > :nth-child(4), .apx-grid-6 > :nth-child(5) { grid-column: auto; }
	.apx-grid-6 > :nth-child(5) { grid-column: 1 / -1; }
	.apx-explore-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.apx-explore-title { grid-column: 1 / -1; }
	.apx-banner { flex-direction: column; align-items: flex-start; }
	.apx-physician { grid-template-columns: 1fr; }
	.apx-sources { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
	.pv-rail { grid-auto-columns: calc((100% - 20px) / 2); }
}

@media (max-width: 767px) {
	.apx-wrap { width: 100%; padding: 0 16px; }
	.apx-sec { padding: 60px 0; }
	.apx-hero { padding: 36px 0 60px; }
	.apx-h1-lead { font-size: 40px; }
	.apx-h1-accent { font-size: 44px; }
	.apx-h2 { font-size: 32px; }
	.apx-h3xl { font-size: 26px; }
	.apx-h3, .apx-card-head { font-size: 20px; }
	.apx-hero-intro { font-size: 17px; line-height: 28px; }
	.apx-eyebrow { padding: 4px 14px; font-size: 12px; }
	.apx-grid-2, .apx-grid-3, .apx-grid-4 { grid-template-columns: 1fr; }
	.apx-grid-6 { grid-template-columns: 1fr; }
	.apx-cols-2 { columns: 1; }
	.apx-card, .apx-checkbox, .apx-ticks { padding: 20px; }
	.apx-answer { padding: 22px 20px; }
	.apx-field-spec, .apx-field-zip, .apx-search > .apx-btn { flex: 1 1 100%; }
	.apx-chip { white-space: normal; }
	.apx-explore-grid { grid-template-columns: 1fr; gap: 8px; }
	.apx-explore-title, .apx-explore-link { justify-self: start; }
	.apx-providers-head { flex-direction: column; align-items: stretch; }
	.apx .pv-zipwrap input { flex: 1; width: auto; }
	.pv-rail { grid-auto-columns: 82%; gap: 14px; }
	.pv-nav { display: none; }
	.hero-panel { padding: 18px 16px 14px; border-radius: 18px; }
	.hp-row { grid-template-columns: 48px 1fr auto; gap: 10px; }
	.hp-row img, .hp-row .av-initials { width: 48px !important; height: 48px !important; }
	.hp-foot .apx-btn { width: 100%; }
	.apx-emergency { gap: 12px; padding: 18px; font-size: 16px; line-height: 26px; }
	.apx-banner { padding: 28px 22px; }
	.apx .apx-banner-title { font-size: 26px; }
	.apx-physician-copy { padding: 24px 22px 28px; }
	.apx-reviewer { gap: 16px; }
	/* Comparison table becomes one card per row, Apptly Health first */
	.apx-table thead { display: none; }
	.apx-table, .apx-table tbody, .apx-table tr, .apx-table th, .apx-table td { display: block; width: 100% !important; }
	.apx-table tbody tr + tr > * { border-top: 0; }
	.apx-table tbody tr + tr { border-top: 8px solid var(--apx-line); }
	.apx-table tbody th { padding: 14px 16px 6px; font-weight: 700; }
	.apx-table tbody td { padding: 8px 16px; }
	.apx-table tbody td:last-child { padding-bottom: 14px; }
	.apx-table tbody td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 600; letter-spacing: .35px; text-transform: uppercase; color: var(--apx-muted); }
	.apx-table tbody td.apx-col-us::before { color: var(--apx-blue); }
	.apx-sticky { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 999; transform: translateY(150%); transition: transform .25s ease; box-shadow: 0 10px 30px rgba(2, 6, 49, .25); }
	.apx-sticky.show { transform: none; }
	.apx-body { padding-bottom: 76px; }
}

@media (prefers-reduced-motion: reduce) {
	.apx *, .apx *::before, .apx *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.apx-js [data-apx-reveal] { opacity: 1; transform: none; }
}

/* Specialty hub (/specialists/) */
.apx-hub-hero { position: relative; overflow: hidden; padding: 56px 0 96px; background: linear-gradient(115deg, #F9FCFF 0%, #EEF5FF 56%, #E1F8FA 100%); }
.apx-hub-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.apx-hub-hero .apx-eyebrow { margin-bottom: 12px; }
.apx-hub-h1 { margin-bottom: 18px; font-size: clamp(44px, 5.2vw, 72px); font-weight: 700; line-height: 1.05; letter-spacing: -1.8px; }
.apx-hub-h1 .apx-grad { display: inline; padding-bottom: .06em; }
.apx-hub-hero .apx-hero-intro { max-width: 630px; margin-bottom: 24px; }
.apx-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.apx-ico-btn { width: 14px; height: 14px; }
.apx-hero-support { margin-top: 18px; }
.apx-journey { padding: 28px; background: #fff; border: 1px solid var(--apx-line); border-radius: 24px; box-shadow: var(--apx-shadow-xl); }
.apx-journey-label { margin-bottom: 16px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--apx-muted); }
.apx-journey ol { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }
.apx-journey li { display: flex; align-items: center; gap: 16px; padding: 18px; background: var(--apx-alt); border: 1px solid var(--apx-line); border-radius: 16px; }
.apx-journey-no { flex: 0 0 48px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--apx-blue-10); font-size: 20px; font-weight: 700; color: var(--apx-blue); }
.apx-journey strong { display: block; font-size: 18px; line-height: 1.3; }
.apx-journey li span:not(.apx-journey-no) { display: block; margin-top: 3px; font-size: 15px; line-height: 1.4; color: var(--apx-muted); }
.apx-hub-search { position: relative; z-index: 3; margin-top: -40px; scroll-margin-top: calc(var(--apx-top, 100px) + 20px); }

/* Specialty + ZIP finder */
.apx-finder { position: relative; display: flex; flex-direction: column; gap: 18px; margin: 0; padding: 28px 32px 22px; background: #fff; border: 1px solid var(--apx-line); border-radius: 24px; box-shadow: 0 24px 48px -20px rgba(15, 23, 42, .22), 0 2px 6px rgba(15, 23, 42, .04); }
.apx-finder::before { content: ""; position: absolute; inset: 0 24px auto; height: 3px; border-radius: 0 0 3px 3px; background: var(--apx-grad); opacity: .9; }
.apx-finder-head { display: flex; flex-direction: column; gap: 4px; }
.apx .apx-finder-title { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; color: var(--apx-navy); }
.apx .apx-finder-sub { margin: 0; font-size: 15px; line-height: 1.5; color: var(--apx-muted); }
.apx-finder-row { display: grid; grid-template-columns: minmax(0, 1fr) 230px auto; gap: 14px; align-items: start; }
.apx-finder-field { position: relative; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.apx-finder-field > label { font-size: 13px; line-height: 20px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--apx-ink); }
.apx-finder-box { position: relative; display: flex; align-items: center; height: 62px; background: #F8FAFC; border: 2px solid var(--apx-line-2); border-radius: 14px; transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.apx-finder-box:hover { border-color: #A9C1D6; }
.apx-finder-box:focus-within { background: #fff; border-color: var(--apx-blue); box-shadow: 0 0 0 4px var(--apx-blue-10); }
.apx-finder-ico { position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: #8193A8; pointer-events: none; transition: color .2s ease; }
.apx-finder-box:focus-within .apx-finder-ico { color: var(--apx-blue); }
.apx .apx-finder-box input[type="text"] { flex: 1 1 auto; width: 100%; height: 100%; padding: 0 16px 0 48px; background: transparent; border: 0; border-radius: 12px; outline: 0; font-size: 18px; font-weight: 500; color: var(--apx-navy); text-overflow: ellipsis; }
.apx .apx-finder-box input[type="text"]:focus { outline: 0; }
.apx .apx-finder-box input::placeholder { font-weight: 400; color: #8193A8; opacity: 1; }
.apx .apx-finder-spec input[type="text"] { padding-right: 52px; }
.apx-finder-clear { position: absolute; right: 12px; top: 50%; display: grid; place-items: center; width: 32px; height: 32px; margin-top: -16px; padding: 0; background: #EEF2F7; border: 0; border-radius: 50%; color: var(--apx-ink); cursor: pointer; transition: background .2s ease, color .2s ease; }
.apx-finder-clear:hover, .apx-finder-clear:focus-visible { background: var(--apx-blue-10); color: var(--apx-blue); outline: 0; }
.apx-finder-clear svg { width: 14px; height: 14px; }
.has-choice .apx-finder-spec .apx-finder-box { background: #fff; border-color: rgba(46, 102, 255, .45); }
.has-choice .apx-finder-spec .apx-finder-ico { color: var(--apx-blue); }

/* Suggestions */
.apx-finder-pop { position: absolute; top: calc(100% + 10px); left: -2px; right: -2px; z-index: 40; padding: 8px; background: #fff; border: 1px solid var(--apx-line); border-radius: 18px; box-shadow: 0 28px 56px -18px rgba(15, 23, 42, .32), 0 4px 12px rgba(15, 23, 42, .06); transform-origin: top center; animation: apxPop .16s ease-out; }
@keyframes apxPop { from { opacity: 0; transform: translateY(-6px) scale(.985); } to { opacity: 1; transform: none; } }
.apx .apx-finder-pop-head { display: flex; justify-content: space-between; margin: 0; padding: 8px 12px 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8193A8; }
.apx-finder-list { max-height: 360px; margin: 0; padding: 0; overflow-y: auto; list-style: none; overscroll-behavior: contain; scrollbar-width: thin; }
.apx-finder-opt { display: flex; align-items: center; gap: 14px; margin: 0; padding: 10px 12px; border-radius: 12px; cursor: pointer; transition: background-color .12s ease; }
.apx-finder-opt.is-active { background: #F1F5FF; }
.apx-finder-opt-ico { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; background: var(--apx-blue-10); color: var(--apx-blue); transition: background .15s ease, color .15s ease; }
.apx-finder-opt-ico .apx-ico { width: 18px; height: 18px; }
.apx-finder-opt.is-active .apx-finder-opt-ico { background: var(--apx-blue); color: #fff; }
.apx-finder-opt-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.apx-finder-opt-name { font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--apx-navy); }
.apx-finder-opt-name mark { padding: 0; background: none; font-weight: 800; color: var(--apx-blue); }
.apx-finder-opt-sub mark { padding: 0; background: none; font-weight: 700; color: var(--apx-blue); }
.apx-finder-opt-sub { overflow: hidden; font-size: 13px; line-height: 1.4; white-space: nowrap; text-overflow: ellipsis; color: var(--apx-muted); }
.apx-finder-opt-go { flex: 0 0 18px; width: 18px; height: 18px; color: var(--apx-blue); opacity: 0; transform: translateX(-4px); transition: opacity .15s ease, transform .15s ease; }
.apx-finder-opt.is-active .apx-finder-opt-go { opacity: 1; transform: none; }
.apx .apx-finder-none { margin: 0; padding: 10px 12px 12px; font-size: 15px; line-height: 1.5; color: var(--apx-ink); }
.apx-finder-none a { --apx-a: var(--apx-blue); --apx-a-hover: var(--apx-navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Button, messages, notes */
.apx-finder-go { align-self: start; margin-top: 27px; gap: 10px; height: 62px; min-height: 62px; padding: 0 30px; border-radius: 14px; white-space: nowrap; box-shadow: 0 12px 24px -10px rgba(46, 102, 255, .55); }
.apx-finder-go .apx-ico { width: 17px; height: 17px; }
.is-loading .apx-finder-go { opacity: .85; pointer-events: none; }
.apx .apx-finder-msg { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 14px; font-weight: 600; color: #B42318; }
.apx-finder-field.is-invalid .apx-finder-box { background: #FFFBFA; border-color: #F04438; box-shadow: 0 0 0 4px rgba(240, 68, 56, .12); }
.apx-finder-field.is-invalid .apx-finder-ico { color: #F04438; }
.apx-finder-pop.is-empty .apx-finder-pop-head { display: none; }
.apx-finder-notes { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; }
.apx-finder-notes li { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; font-weight: 500; color: var(--apx-ink); }
.apx-finder-notes .apx-ico { width: 12px; height: 12px; padding: 4px; box-sizing: content-box; border-radius: 50%; background: rgba(16, 185, 129, .12); color: #059669; }

.apx-features > li { display: flex; }
.apx-feature { width: 100%; min-height: 270px; gap: 8px; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.apx-feature:hover { transform: translateY(-4px); border-color: var(--apx-blue); box-shadow: var(--apx-shadow-lg); }
.apx-feature .apx-ico-box { margin-bottom: 10px; }
.apx-feature-type { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--apx-blue); }
.apx-feature-name { font-size: 22px; font-weight: 700; line-height: 1.25; color: var(--apx-navy); }
.apx-feature-desc { font-size: 15px; line-height: 1.5; color: var(--apx-muted); }
.apx-feature-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; font-size: 16px; font-weight: 600; color: var(--apx-blue); }
.apx-feature:hover .apx-arrow { transform: translateX(4px); }
.apx-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.apx-filter { padding: 11px 18px; background: #fff; border: 1px solid var(--apx-line-2); border-radius: 999px; font-family: inherit; font-size: 15px; font-weight: 600; color: var(--apx-navy); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.apx-filter:hover { border-color: var(--apx-blue); color: var(--apx-blue); }
.apx-filter[aria-pressed="true"] { background: var(--apx-blue); border-color: var(--apx-blue); color: #fff; }
.apx-count { font-size: 16px; color: var(--apx-muted); }
.apx-dir-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.apx-dir-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 80px; padding: 20px 22px; background: #fff; border: 1px solid var(--apx-line); border-radius: 12px; box-shadow: var(--apx-shadow-sm); font-size: 18px; font-weight: 600; line-height: 1.35; color: var(--apx-navy) !important; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.apx-dir-card:hover { transform: translateY(-3px); border-color: var(--apx-blue); box-shadow: var(--apx-shadow-lg); color: var(--apx-blue) !important; }
.apx-dir-card:hover .apx-arrow { transform: translateX(4px); }
.apx-dir-empty { align-items: flex-start; }
.apx-hub-help { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.apx-hub-aside { flex-direction: column; align-items: flex-start; }
.apx-hub-aside .apx-btn { margin-top: 6px; }
.apx .apx-hub-aside-note { font-size: 14px; line-height: 22px; color: rgba(255, 255, 255, .7); }

@media (max-width: 1024px) {
	.apx-hub-hero-grid, .apx-hub-help { grid-template-columns: 1fr; gap: 36px; }
	.apx-finder-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.apx-finder-spec { grid-column: 1 / -1; }
	.apx-dir-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
	.apx-hub-hero { padding: 36px 0 80px; }
	.apx-finder { gap: 16px; padding: 22px 18px 18px; border-radius: 20px; }
	.apx .apx-finder-title { font-size: 20px; }
	.apx-finder-row { grid-template-columns: 1fr; gap: 14px; }
	.apx-finder-go { width: 100%; margin-top: 4px; justify-content: center; }
	.apx-finder-list { max-height: 300px; }
	.apx-finder-notes { gap: 8px 16px; }
	.apx-dir-grid { grid-template-columns: 1fr; }
	.apx-dir-card { min-height: 64px; padding: 16px 18px; font-size: 17px; }
	.apx-actions .apx-btn { flex: 1 1 100%; }
	.apx-journey { padding: 20px; }
	.apx-feature { min-height: 0; }
}

/* ------------------------------------------------------------------
   Link colours. The site theme colours every link navy with
   "body.wp-child-theme-uber-main-child a:not(.button)", which is stronger
   than a single class. This one rule is stronger still, and each
   component below only sets --apx-a / --apx-a-hover.
   ------------------------------------------------------------------ */
body.apx-body .apx a:not(.apx-none),
body.apx-body .apx a:not(.apx-none):visited { color: var(--apx-a, var(--apx-blue)); }
body.apx-body .apx a:not(.apx-none):hover,
body.apx-body .apx a:not(.apx-none):focus-visible { color: var(--apx-a-hover, var(--apx-a, var(--apx-blue))); }

.apx-btn { --apx-a: #fff; --apx-a-hover: #fff; }
.apx-btn-outline { --apx-a: var(--apx-blue); --apx-a-hover: var(--apx-navy); }
.apx-btn-white { --apx-a: var(--apx-navy); --apx-a-hover: var(--apx-navy); }
.apx-cite { --apx-a: var(--apx-blue); --apx-a-hover: var(--apx-navy); }
.apx-crumbs { --apx-a: var(--apx-muted); --apx-a-hover: var(--apx-blue); }
.apx-explore-link { --apx-a: var(--apx-navy); --apx-a-hover: var(--apx-blue); }
.hp-row { --apx-a: var(--apx-ink); --apx-a-hover: var(--apx-ink); }
.hp-change, .apx-chip { --apx-a: var(--apx-blue); --apx-a-hover: var(--apx-navy); }
.pc-more { --apx-a: var(--apx-navy); --apx-a-hover: var(--apx-blue); }
.apx-link-card, .apx-feature { --apx-a: var(--apx-navy); --apx-a-hover: var(--apx-navy); }
.apx-dir-card { --apx-a: var(--apx-navy); --apx-a-hover: var(--apx-blue); }
.apx-sources { --apx-a: var(--apx-blue); --apx-a-hover: var(--apx-navy); }
.apx-banner { --apx-a: var(--apx-aqua); --apx-a-hover: #fff; }

/* ------------------------------------------------------------------
   Polish: hero background, "Change" pill, doctor rail scrollbar,
   moving gradients and hover effects.
   ------------------------------------------------------------------ */

/* Hero: soft full-width gradient with two slowly drifting glows */
.apx-hero,
.apx-hub-hero { background: linear-gradient(115deg, #F9FCFF 0%, #EEF5FF 55%, #E1F8FA 100%); isolation: isolate; }
.apx-hero::before,
.apx-hub-hero::before { content: ""; position: absolute; z-index: -1; top: -140px; left: 8%; transform: none; width: 520px; max-width: 70vw; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(46, 102, 255, .16), rgba(46, 102, 255, 0) 70%); filter: blur(10px); pointer-events: none; animation: apxDriftA 18s ease-in-out infinite alternate; }
.apx-hero::after,
.apx-hub-hero::after { content: ""; position: absolute; z-index: -1; right: 4%; bottom: -160px; width: 560px; max-width: 75vw; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(6, 182, 212, .16), rgba(6, 182, 212, 0) 70%); filter: blur(10px); pointer-events: none; animation: apxDriftB 22s ease-in-out infinite alternate; }

/* Teal sections and the dark banner: gentle moving gradient */
.apx-teal { position: relative; overflow: hidden; background: linear-gradient(110deg, #1D6F84, #2B6A8E, #386799, #1D6F84); background-size: 300% 100%; animation: apxShift 18s ease-in-out infinite alternate; }
.apx-teal::before { content: ""; position: absolute; top: -200px; right: -120px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(204, 245, 255, .18), rgba(204, 245, 255, 0) 70%); pointer-events: none; animation: apxDriftA 20s ease-in-out infinite alternate; }
.apx-teal > .apx-wrap { position: relative; }
.apx-banner::after { animation: apxDriftB 16s ease-in-out infinite alternate; }
.apx-banner::before { content: ""; position: absolute; left: -140px; bottom: -160px; width: 360px; height: 360px; border-radius: 50%; background: rgba(6, 182, 212, .22); filter: blur(90px); pointer-events: none; animation: apxDriftA 19s ease-in-out infinite alternate; }

/* Specialty chip with a balanced "Change" pill */
.apx-chip { gap: 12px; padding: 0 8px 0 14px; justify-content: space-between; }
.apx-chip a { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--apx-blue-10); font-size: 13px; font-weight: 600; text-decoration: none; transition: background .2s, color .2s; }
.apx-chip a:hover { background: var(--apx-blue-20); }

/* Doctor rail: styled scrollbar */
.pv-rail { scrollbar-width: thin; scrollbar-color: rgba(46, 102, 255, .55) #E5ECF7; }
.pv-rail::-webkit-scrollbar { height: 8px; }
.pv-rail::-webkit-scrollbar-track { background: #E5ECF7; border-radius: 999px; margin: 0 4px; }
.pv-rail::-webkit-scrollbar-thumb { background: linear-gradient(90deg, var(--apx-blue), #06b6d4); border-radius: 999px; }
.pv-rail::-webkit-scrollbar-thumb:hover { background: var(--apx-blue); }

/* Buttons: soft shine on hover */
.apx-btn { position: relative; overflow: hidden; }
.apx-btn::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(110deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .35), rgba(255, 255, 255, 0)); transform: skewX(-20deg); pointer-events: none; transition: left .6s ease; }
.apx-btn:hover::after { left: 120%; }
.apx-btn-outline::after,
.apx-btn-white::after { background: linear-gradient(110deg, rgba(46, 102, 255, 0), rgba(46, 102, 255, .12), rgba(46, 102, 255, 0)); }

/* Cards: icon fills on hover, images zoom gently */
.apx-ico-box { transition: background-color .25s ease, color .25s ease, transform .25s ease; }
.apx-card-hover:hover .apx-ico-box,
.apx-link-card:hover .apx-ico-box,
.apx-feature:hover .apx-ico-box,
.apx-card-list:hover .apx-ico-box { background: var(--apx-blue); color: #fff; transform: scale(1.06); }
.apx-card-list,
.apx-sources li,
.apx-reviewer,
.apx-checkbox { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.apx-card-list:hover,
.apx-sources li:hover,
.apx-reviewer:hover { transform: translateY(-3px); border-color: var(--apx-blue-20); box-shadow: var(--apx-shadow-lg); }
.apx-split-media { overflow: hidden; border-radius: 12px; box-shadow: var(--apx-shadow-xl); }
.apx-split-media .apx-photo { box-shadow: none; transition: transform .8s ease; }
.apx-split-media:hover .apx-photo { transform: scale(1.04); }
.apx-physician-media { overflow: hidden; }
.apx-physician-media img { transition: transform .8s ease; }
.apx-physician:hover .apx-physician-media img { transform: scale(1.04); }
.apx-stats .apx-card-hover:hover { background: linear-gradient(180deg, #fff, rgba(46, 102, 255, .04)); }
.apx-faq-item summary { margin: 0 -12px; padding-left: 12px; padding-right: 12px; border-radius: 10px; transition: background .2s ease; }
.apx-faq-item summary:hover { background: var(--apx-blue-5); }
.apx-faq-item[open] .apx-faq-icon { background: var(--apx-blue); }
.apx-faq-item[open] .apx-faq-icon::before { background: #fff; }
.apx-checklist li { transition: transform .2s ease; }
.apx-checklist li:hover { transform: translateX(3px); }
.apx-table tbody tr { transition: background .2s ease; }
.apx-table tbody tr:hover > * { background-color: rgba(46, 102, 255, .04); }
.apx-table tbody tr:hover > td.apx-col-us { background-color: rgba(46, 102, 255, .09); }
.apx-explore-link .apx-ico-box { transition: background .2s, color .2s; }
.apx-explore-link:hover .apx-ico-box { background: var(--apx-blue); color: #fff; }
.apx-journey li { transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.apx-journey li:hover { transform: translateX(4px); border-color: var(--apx-blue-20); background: #fff; }

@keyframes apxDriftA { from { transform: translate(0, 0) scale(1); } to { transform: translate(60px, 40px) scale(1.12); } }
@keyframes apxDriftB { from { transform: translate(0, 0) scale(1); } to { transform: translate(-70px, -30px) scale(1.1); } }
@keyframes apxShift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

@media (max-width: 767px) {
	.apx-hero::before, .apx-hub-hero::before { width: 320px; height: 320px; }
	.apx-hero::after, .apx-hub-hero::after { width: 340px; height: 340px; }
	.apx-chip { white-space: nowrap; }
}

/* The theme pads the top of <body> for its fixed header; paint that strip like the hero. */
body.apx-body { background: linear-gradient(115deg, #F9FCFF 0%, #EEF5FF 55%, #E1F8FA 100%) top / 100% 800px no-repeat, #fff; }

/* Open FAQ: white minus on the blue circle. */
.apx-faq-item[open] .apx-faq-icon::before,
.apx-faq-item[open] .apx-faq-icon::after { background: #fff; }

/* Hero glows start inside the hero, so no hard edge shows at its top. */
.apx-hero::before, .apx-hub-hero::before { top: 10%; }

/* The sticky phone button stays fixed (the button shine effect sets position: relative on .apx-btn). */
.apx-btn.apx-sticky { position: fixed; }
@media (max-width: 767px) {
	.apx-btn.apx-sticky { left: 12px; right: 12px; bottom: 12px; width: auto; max-width: calc(100vw - 24px); white-space: normal; }
}

/* Clip, not hidden: an overflow:hidden box can still be scrolled from inside by an anchor jump or a
   focused field, which left the hero's headline and doctor panel cut off until a page refresh. */
.apx-hero, .apx-hub-hero, .apx-teal, .apx-banner { overflow: clip; }

/* Specialty page variants (other 49 pages). */
/* Seven cards: 4 + 3. */
.apx-grid-7 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.apx-grid-7 > * { grid-column: span 4; }
.apx-grid-7 > :nth-child(-n+4) { grid-column: span 3; }
/* A section photo beside its heading, cards below. */
.apx-sec-head { margin-bottom: 8px; }
.apx-sec-head .apx-split-copy { gap: 18px; }
/* Sections without a photo keep their copy at a readable width. */
.apx-narrow-copy { max-width: 880px; }
.apx-narrow-copy .apx-split-copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
/* Two-column guide table (e.g. urgent care or the emergency room). */
.apx-table thead td { background: var(--apx-navy); }
.apx-table-plain th:first-child, .apx-table-plain td:first-child { width: 20%; }
.apx-table-plain thead th:last-child { background: #B42318; }
/* Hero photo shown in place of the doctor panel when no doctors are listed near the ZIP or the listing cannot load. */
.hero-panel.is-photo { position: relative; padding: 0; overflow: hidden; }
.hero-panel.is-photo > :not(.hp-photo) { display: none !important; }
.hp-photo { margin: 0; }
.hp-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.hp-photo-cap { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .94); box-shadow: var(--apx-shadow-sm); font-size: 14px; line-height: 21px; color: var(--apx-ink); }
.hp-photo-cap:empty { display: none; }
@media (max-width: 1024px) {
	.apx-grid-7 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.apx-grid-7 > *, .apx-grid-7 > :nth-child(-n+4) { grid-column: auto; }
	.apx-grid-7 > :nth-child(7) { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
	.apx-grid-7 { grid-template-columns: 1fr; }
	.apx-table-plain th:first-child, .apx-table-plain td:first-child { width: 100%; }
	.apx-table thead td { display: none; }
	.hero-panel.is-photo { border-radius: 18px; }
	.hp-photo-cap { position: static; border-radius: 0; box-shadow: none; background: #fff; }
}

/* For Employers page (/for-employers/). Look borrowed from the page's design reference: tilted hero card with an
   offset aqua frame, gradient number and icon badges, accent bars on cards, deep navy-to-teal form section. */
.apx-emp { --emp-grad: linear-gradient(110deg, var(--apx-blue), #00B9C6); --emp-badge: linear-gradient(130deg, #DFE9FF, #D9FAF7); }
.apx-emp-hero { padding: 64px 0 104px; background: radial-gradient(circle at 89% 5%, rgba(0, 206, 206, .19), transparent 34%), linear-gradient(135deg, #F9FCFF 12%, #EDF4FF 100%); }
.apx-emp-hero::after { content: ""; position: absolute; right: -225px; bottom: -290px; width: 440px; height: 440px; border-radius: 50%; background: linear-gradient(135deg, rgba(46, 101, 255, .09), rgba(0, 206, 206, .13)); pointer-events: none; }
.apx-emp .apx-hub-hero-grid { grid-template-columns: 1.15fr .85fr; gap: 64px; }
.apx-emp .apx-hub-h1 { font-size: clamp(40px, 4.6vw, 64px); }
.apx-emp-hero-text { max-width: 630px; margin-bottom: 28px; font-size: 16px; line-height: 26px; color: var(--apx-muted); }
/* Hero card */
.apx-emp-panel-wrap { position: relative; isolation: isolate; }
.apx-emp-panel-wrap::before { content: ""; position: absolute; z-index: 0; inset: 14px -12px -14px 14px; border: 2px solid #B8EEEE; border-radius: 25px; transform: rotate(3deg); pointer-events: none; }
.apx-emp-panel { position: relative; z-index: 1; padding: 30px 32px 18px; border-color: rgba(216, 230, 249, .8); border-radius: 26px; box-shadow: 0 28px 75px rgba(29, 62, 126, .13); transform: rotate(1deg); }
.apx-emp-panel .apx-journey-label { display: inline-block; margin-bottom: 6px; padding: 7px 14px; border-radius: 999px; background: #E0EAFE; font-size: 11px; letter-spacing: .16em; color: #235CDA; }
.apx-emp-panel ol { gap: 0; margin: 0; }
.apx-emp-panel li { align-items: flex-start; padding: 20px 0; background: none; border: 0; border-bottom: 1px solid var(--apx-line); border-radius: 0; }
.apx-emp-panel li:last-child { border-bottom: 0; }
.apx-emp-panel .apx-journey-no { flex-basis: 46px; width: 46px; height: 46px; border-radius: 14px; background: var(--emp-badge); font-size: 17px; font-weight: 800; }
.apx-journey-title { font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--apx-navy); }
/* Photo band */
.apx-emp-band { background: linear-gradient(180deg, #EFFAFF 0%, #FFF 100%); }
.apx-emp-featured { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; }
.apx-emp-figure { margin: 0; overflow: hidden; background: #fff; border: 1px solid #CFEEF4; border-radius: 28px; box-shadow: 0 24px 70px rgba(14, 52, 113, .14); }
.apx-emp-figure img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 40%; transition: transform .8s ease; }
.apx-emp-figure:hover img { transform: scale(1.03); }
.apx-emp-figure figcaption { position: relative; padding: 14px 20px; background: #fff; font-size: 14px; line-height: 22px; color: var(--apx-muted); }
.apx-emp-proof { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid #CFEEF4; border-radius: 12px; font-size: 16px; font-weight: 600; line-height: 26px; color: #1D4669; }
.apx-emp-proof .apx-ico { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 3px; color: #00A8A8; }
.apx-emp-note { display: flex; align-items: flex-start; gap: 12px; padding: 16px 20px; background: #EDF5FF; border-left: 4px solid var(--apx-blue); border-radius: 0 12px 12px 0; font-size: 16px; line-height: 26px; color: var(--apx-ink); }
.apx-emp-note .apx-ico { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 4px; color: var(--apx-blue); }
/* Strategy questions */
.apx-emp-questions { padding: 32px; background: #fff; border-color: rgba(216, 230, 249, .9); border-radius: 24px; box-shadow: 0 28px 75px rgba(29, 62, 126, .11); }
.apx-emp-questions .apx-checklist li { padding: 12px 0; border-bottom: 1px solid var(--apx-line); }
.apx-emp-questions .apx-checklist li:last-child { border-bottom: 0; padding-bottom: 0; }
/* Specialties */
.apx-emp-pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.apx-emp-pills a { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; background: #fff; border: 1px solid #D5E4FB; border-radius: 999px; font-size: 15px; font-weight: 600; color: #273D69 !important; text-decoration: none; transition: border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease; }
.apx-emp-pills a:hover, .apx-emp-pills a:focus-visible { border-color: var(--apx-blue); color: var(--apx-blue) !important; box-shadow: 0 8px 20px rgba(46, 101, 255, .12); transform: translateY(-2px); }
.apx-emp-more { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; }
.apx-emp-more .apx-arrow { width: 18px; height: 18px; }
.apx-emp-links { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.apx-emp-more .apx-arrow[viewBox="0 0 512 512"] { width: 14px; height: 14px; }
/* Form section */
.apx-emp-cta-sec { position: relative; overflow: clip; padding: 96px 0; background: linear-gradient(123deg, #101D42 0%, #1C3C83 57%, #146DA0 100%); color: #fff; }
.apx-emp-cta-sec::before { content: ""; position: absolute; left: -270px; bottom: -300px; width: 540px; height: 540px; border: 90px solid rgba(0, 206, 206, .07); border-radius: 50%; pointer-events: none; }
.apx-emp-cta-sec::after { content: ""; position: absolute; right: -160px; top: -160px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 206, 206, .16), transparent 70%); pointer-events: none; }
.apx-emp-cta { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.apx-emp-cta-copy { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.apx .apx-emp-cta-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #8DEAE9; }
.apx .apx-emp-cta-title { font-size: clamp(32px, 3.2vw, 46px); font-weight: 700; line-height: 1.12; letter-spacing: -1px; color: #fff; }
.apx-emp-cta-copy p:not(.apx-emp-cta-eyebrow) { max-width: 520px; font-size: 18px; line-height: 30px; color: rgba(255, 255, 255, .86); }
.apx-emp-form { padding: 32px; background: #fff; border-radius: 25px; box-shadow: 0 28px 75px rgba(5, 15, 45, .35); color: var(--apx-ink); }
.apx-emp-form h3 { margin-bottom: 18px; font-size: 22px; font-weight: 700; line-height: 1.3; color: var(--apx-navy); }
.apx-emp-form-slot { display: grid; place-items: center; min-height: 300px; padding: 24px; border: 2px dashed var(--apx-line-2); border-radius: 14px; background: var(--apx-alt); font-size: 15px; line-height: 24px; text-align: center; color: var(--apx-muted); }
@media (max-width: 1024px) {
	.apx-emp .apx-hub-hero-grid, .apx-emp-featured, .apx-emp-cta { grid-template-columns: 1fr; gap: 40px; }
	.apx-emp-panel { transform: none; }
	.apx-emp-panel-wrap::before { transform: rotate(1.5deg); }
}
@media (max-width: 767px) {
	.apx-emp-hero { padding: 36px 0 80px; }
	.apx-emp-panel { padding: 22px 22px 10px; }
	.apx-emp-panel-wrap::before { inset: 10px -6px -10px 8px; }
	.apx-emp-questions, .apx-emp-form { padding: 22px; }
	.apx-emp-cta-sec { padding: 64px 0; }
	.apx-emp-pills a { min-height: 40px; padding: 0 16px; font-size: 14px; }
	.apx-emp .apx-split-copy { min-width: 0; }
	.apx-emp .apx-actions .apx-btn { min-height: 52px; padding: 12px 20px; white-space: normal; text-align: center; line-height: 1.3; }
	.apx-emp-figure { border-radius: 20px; }
}
