/* ============================================================
   content-page.css — "Paper" content-page style system.

   Loaded ONLY by the ported location / agent pages. Everything is
   scoped under `.asx-page` so it never leaks to other pages and so it
   cleanly overrides the older location-page.css glass-over-island look.

   Pairs with:
     - the static landing-matching hero (.asx-hero) below
     - the full-bleed AgentSeekerFooter (component)
   ============================================================ */

.asx-page {
    --asx-paper:      #F4F0E8;
    --asx-warm-white: #FBFAF6;
    --asx-ink:        #1A1F1C;
    --asx-text:       #2E3530;
    --asx-muted:      #6B746E;
    --asx-sage:       #7A9088;
    --asx-gold:       #C3A05F;
    --asx-gold-dark:  #8A7040;
    --asx-gold-deep:  #6E5828;
    --asx-line:       rgba(26, 31, 28, 0.10);
    --asx-serif:      'Playfair Display', Georgia, serif;
    --asx-body:       'Outfit', sans-serif;

    background: var(--asx-paper);
    color: var(--asx-text);
    font-family: var(--asx-body);
}

/* The old fixed island background is retired here — the photograph now
   lives ONLY in the hero, so content sits on a calm paper surface. */
.asx-page .parallax-background { display: none !important; }

/* Let the hero + footer run full-bleed; strip any container chrome. */
.asx-page .app-container {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
}

/* ============================================================
   HERO — faithful static copy of the live landing head section
   (centered title -> postcode field -> trust line over the house
   photograph). No scroll-scrub; just a gentle drift on the still.
   ============================================================ */
.asx-hero { position: relative; overflow: hidden; }

.asx-hero-media {
    position: absolute; inset: 0; z-index: 0;
    background: url('/video/hero-frames/frame-0001.webp') center 42% / cover no-repeat;
    transform: scale(1.06);
    animation: asxHeroDrift 26s ease-in-out infinite alternate;
    will-change: transform;
}
@keyframes asxHeroDrift {
    0%   { transform: scale(1.06); }
    100% { transform: scale(1.13) translateY(-1.3%); }
}

.asx-hero-scrim {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg,
        rgba(20, 30, 40, 0.34) 0%,
        rgba(20, 30, 40, 0)   42%,
        rgba(244, 240, 232, 0) 78%,
        var(--asx-paper)      100%);
}

.asx-hero-inner {
    position: relative; z-index: 2;
    min-height: 100vh;
    display: flex; flex-direction: column; align-items: center;
    padding: 22vh 1.5rem 4rem;
    text-align: center;
}

.asx-hero-title {
    font-family: var(--asx-serif); font-weight: 500;
    font-size: clamp(2rem, 4.6vw, 3.4rem);
    color: #fff; letter-spacing: .01em; line-height: 1.12;
    text-shadow: 0 2px 20px rgba(20, 30, 40, .35);
    margin: 0 0 2.2rem; max-width: 20ch;
}
.asx-hero-title em { font-style: italic; color: #E9CE97; }

/* Centre the PropertySurveyFlow postcode field in the hero column. */
.asx-hero-inner .search-wrapper,
.asx-hero-inner .search-container { margin-left: auto; margin-right: auto; }

.asx-hero-trust {
    margin: 1.2rem 0 0; font-family: var(--asx-body); font-weight: 400;
    font-size: .82rem; letter-spacing: .03em;
    color: rgba(255, 255, 255, .85);
    text-shadow: 0 1px 6px rgba(20, 30, 40, .45);
}

.asx-scroll-hint {
    position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 5;
    color: rgba(255, 255, 255, .85);
    font: 400 .78rem var(--asx-body); letter-spacing: .14em; text-transform: uppercase;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.asx-chev {
    width: 20px; height: 20px;
    border-right: 2px solid rgba(255, 255, 255, .8);
    border-bottom: 2px solid rgba(255, 255, 255, .8);
    transform: rotate(45deg);
    animation: asxBob 1.8s ease-in-out infinite;
}
@keyframes asxBob {
    0%, 100% { transform: rotate(45deg) translate(0, 0); }
    50%      { transform: rotate(45deg) translate(4px, 4px); }
}

/* ============================================================
   PAPER CONTENT SHELL
   ============================================================ */
.asx-main {
    position: relative; z-index: 2;
    background: var(--asx-paper);
    max-width: 940px; margin: 0 auto;
    padding: 0 1.5rem 4rem;
}

.asx-breadcrumb { font-size: .8rem; color: var(--asx-muted); padding: 1.6rem 0 0; }
.asx-breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; }
.asx-breadcrumb li { display: flex; gap: .5rem; align-items: center; }
.asx-breadcrumb li:not(:last-child)::after { content: '/'; color: var(--asx-line); }
.asx-breadcrumb a { color: var(--asx-gold-dark); text-decoration: none; }
.asx-breadcrumb a:hover { text-decoration: underline; }
.asx-breadcrumb li[aria-current="page"] { color: var(--asx-text); }

.asx-updated { font-size: .8rem; color: var(--asx-sage); margin: .6rem 0 0; }

/* Neutralise the old glass containers so sections sit flat on paper. */
.asx-main .below-fold-section,
.asx-main .location-content-section,
.asx-main .town-snapshot,
.asx-main .best-featured-agents,
.asx-main .how-it-works,
.asx-main .nearby-areas-section,
.asx-main .town-faqs {
    max-width: none; width: 100%;
    background: transparent;
    backdrop-filter: none; -webkit-backdrop-filter: none;
    border: none; box-shadow: none; border-radius: 0;
    margin: 0; padding: 0;
}

/* Vertical rhythm between the stacked content blocks. */
.asx-main .below-fold-section > * { margin-top: 3.4rem; }
.asx-main .below-fold-section > *:first-child { margin-top: 2.6rem; }

/* Typography */
.asx-main h2 {
    font-family: var(--asx-serif); font-weight: 500; color: var(--asx-ink);
    font-size: clamp(1.5rem, 3vw, 2.05rem); letter-spacing: .005em; line-height: 1.2;
    margin: 0 0 1rem;
}
.asx-main h3 { font-family: var(--asx-body); font-weight: 600; color: var(--asx-ink); font-size: 1.05rem; margin: 0 0 .4rem; }
.asx-main p { font-family: var(--asx-body); font-weight: 300; color: var(--asx-text); line-height: 1.7; margin: 0 0 1rem; font-size: 1rem; }
.asx-main a { color: var(--asx-gold-dark); }
.asx-main a:hover { color: var(--asx-gold-deep); }

/* Section kicker (small-caps gold, matches the preview) */
.asx-main .asx-kicker { font: 600 .7rem var(--asx-body); letter-spacing: .22em; text-transform: uppercase; color: var(--asx-gold-dark); margin: 0 0 .6rem; }

/* Market stat cards — value first, separated rounded cards */
.asx-main .asx-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin-top: 1.8rem; }
.asx-main .asx-stat { background: #fff; border: 1px solid var(--asx-line); border-radius: 18px; padding: 1.3rem 1.3rem 1.15rem; }
.asx-main .asx-stat-num { font-family: var(--asx-serif); font-weight: 500; font-size: 1.85rem; color: var(--asx-ink); line-height: 1; }
.asx-main .asx-stat-num small { font-size: .9rem; color: var(--asx-sage); font-family: var(--asx-body); }
.asx-main .asx-stat-label { font: 500 .72rem var(--asx-body); text-transform: uppercase; letter-spacing: .08em; color: var(--asx-gold-dark); margin-top: .55rem; }
.asx-main .asx-stat-sub { font-size: .74rem; color: var(--asx-sage); margin-top: .2rem; }

/* "What sells" breakdown table */
.asx-main .asx-tbl { width: 100%; border-collapse: collapse; margin-top: 1.6rem; font-size: .95rem; }
.asx-main .asx-tbl th { text-align: left; font: 600 .68rem var(--asx-body); text-transform: uppercase; letter-spacing: .12em; color: var(--asx-sage); padding: 0 0 .7rem; border-bottom: 1px solid rgba(26, 31, 28, .12); }
.asx-main .asx-tbl th.num, .asx-main .asx-tbl td.num { text-align: right; font-variant-numeric: tabular-nums; }
.asx-main .asx-tbl td { padding: .8rem 0; border-bottom: 1px solid rgba(26, 31, 28, .07); color: var(--asx-text); }
.asx-main .asx-tbl td.name { font-weight: 500; color: var(--asx-ink); }
.asx-main .asx-tbl tr:last-child td { border-bottom: 0; }
.asx-main .asx-source { font-size: .75rem; color: var(--asx-sage); margin-top: 1.4rem; font-style: italic; }
.asx-main .asx-source a { color: var(--asx-gold-dark); }

/* Ranked agent list — rank number + logo/monogram + score pill */
.asx-main .asx-agents { margin-top: 1.8rem; display: flex; flex-direction: column; }
.asx-main .asx-agent { display: flex; align-items: center; gap: 1.1rem; padding: 1.1rem 0; border-bottom: 1px solid rgba(26, 31, 28, .08); }
.asx-main .asx-agent:first-child { border-top: 1px solid rgba(26, 31, 28, .08); }
.asx-main .asx-agent-rank { font-family: var(--asx-serif); font-size: 1.1rem; color: var(--asx-sage); width: 1.6rem; flex: none; text-align: center; }
.asx-main .asx-agent-logo { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; font: 700 1rem var(--asx-body); background: rgba(195, 160, 95, .14); border: 1px solid rgba(195, 160, 95, .3); color: var(--asx-gold-dark); overflow: hidden; }
.asx-main .asx-agent-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.asx-main .asx-agent-body { flex: 1; min-width: 0; }
.asx-main .asx-agent-name { font: 600 1.02rem var(--asx-body); color: var(--asx-ink); }
.asx-main .asx-agent-meta { font-size: .82rem; color: var(--asx-sage); margin-top: .15rem; }
.asx-main .asx-score { flex: none; display: inline-flex; align-items: baseline; gap: .1rem; font: 700 .95rem var(--asx-body); color: #1A1F1C; background: var(--asx-gold); border-radius: 999px; padding: .35rem .7rem; white-space: nowrap; }
.asx-main .asx-score small { font-size: .72em; opacity: .7; }
.asx-main .asx-score.mid { background: #E2CAA8; }
.asx-main .asx-score.low { background: #E7E1D6; color: #5A5346; }

/* Lead-capture funnel below the ranking — a compact, unobtrusive row that
   nudges browsers to the shortlist without breaking the reading flow. */
.asx-main .asx-funnel { margin-top: 1.5rem; padding: 1rem 1.25rem; background: var(--asx-warm-white); border: 1px solid var(--asx-line); border-radius: 14px; display: flex; align-items: center; justify-content: space-between; gap: 1rem 1.25rem; flex-wrap: wrap; }
.asx-main .asx-funnel-text { font-size: .85rem; color: var(--asx-muted); line-height: 1.5; margin: 0; flex: 1; min-width: 220px; }
.asx-main .asx-funnel-btn { flex: none; display: inline-block; background: var(--asx-gold); color: #1A1F1C; font: 600 .72rem var(--asx-body); letter-spacing: .05em; text-transform: uppercase; padding: .62rem 1.15rem; border-radius: 50px; text-decoration: none; white-space: nowrap; transition: background .2s ease, color .2s ease; }
.asx-main .asx-funnel-btn:hover { background: var(--asx-gold-dark); color: #fff; }

/* How-it-works / step cards */
.asx-main .how-it-works .steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: 1.2rem; }
.asx-main .step-card { background: var(--asx-warm-white); border: 1px solid var(--asx-line); border-radius: 16px; padding: 1.4rem; }
.asx-main .step-icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(195, 160, 95, .14); border: 1px solid rgba(195, 160, 95, .3); margin-bottom: .8rem; }
.asx-main .step-icon svg { width: 20px; height: 20px; stroke: var(--asx-gold-dark); fill: none; stroke-width: 1.6; }
.asx-main .step-number { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(195, 160, 95, .14); border: 1px solid rgba(195, 160, 95, .3); color: var(--asx-gold-dark); font: 700 .95rem var(--asx-body); margin-bottom: .7rem; }

/* FAQ — clean paper cards. Overrides the old glass card, the "Q" ::before
   glyph and the hover-lift that were leaking from location-page.css. */
.asx-main .town-faqs .town-faq-item {
    background: var(--asx-warm-white);
    border: 1px solid var(--asx-line);
    border-radius: 14px;
    box-shadow: none;
    backdrop-filter: none; -webkit-backdrop-filter: none;
    padding: 1.3rem 1.6rem;
    margin: 0 0 .85rem;
}
.asx-main .town-faqs .town-faq-item:hover { transform: none; box-shadow: none; }
.asx-main .town-faq-item::before { content: none; display: none; }
.asx-main .town-faq-question { font-family: var(--asx-body); font-weight: 600; font-size: 1.02rem; color: var(--asx-ink); margin: 0 0 .55rem; line-height: 1.4; }
.asx-main .town-faq-answer { margin: 0; }

/* Nearby areas / chip links */
.asx-main .nearby-areas-grid { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; justify-content: flex-start; }
.asx-main .nearby-area-link { display: inline-block; background: var(--asx-warm-white); border: 1px solid var(--asx-line); border-radius: 50px; padding: .5rem .95rem; font-size: .85rem; color: var(--asx-text); text-decoration: none; transition: .2s ease; }
.asx-main .nearby-area-link:hover { border-color: var(--asx-gold); color: var(--asx-gold-deep); }

/* Closing CTA — dark band (re-styled after the neutralise reset above) */
.asx-main .cta-section {
    background: linear-gradient(135deg, rgba(26, 31, 28, .97), rgba(46, 53, 48, .97));
    color: #F0EDEA; border-radius: 22px; padding: 2.6rem 2rem; text-align: center; margin-top: 3.8rem;
}
.asx-main .cta-section h2 { color: #F7F2E9; }
.asx-main .cta-section p { color: rgba(240, 237, 234, .72); }
.asx-main .cta-button {
    display: inline-block; background: var(--asx-gold); color: #1A1F1C; font-weight: 600;
    text-transform: uppercase; letter-spacing: .06em; font-size: .82rem;
    padding: .85rem 1.7rem; border-radius: 50px; text-decoration: none; margin-top: .6rem;
    transition: background .2s ease;
}
.asx-main .cta-button:hover { background: #D4AD68; }

@media (max-width: 767px) {
    .asx-hero-inner { padding-top: 20vh; }
    .asx-main { padding-left: 1.15rem; padding-right: 1.15rem; }
}

/* ============================================================
   TownMarketSnapshot component (data-rich towns) — same Paper look
   as the Land Registry market layout. The component only renders on
   ported pages, so scoping under .asx-page is safe.
   ============================================================ */
.asx-page .snapshot-header { display: flex; gap: 1.5rem; align-items: flex-start; flex-wrap: wrap; margin-top: 1.4rem; }
.asx-page .sellability-badge { flex: none; width: 140px; background: var(--asx-warm-white); border: 1px solid var(--asx-line); border-top: 3px solid var(--asx-gold); border-radius: 16px; padding: 1.3rem 1rem; text-align: center; }
.asx-page .sellability-badge.score-high { border-top-color: var(--asx-sage); }
.asx-page .sellability-badge.score-good { border-top-color: var(--asx-gold); }
.asx-page .sellability-badge.score-avg  { border-top-color: #E2CAA8; }
.asx-page .sellability-badge.score-low  { border-top-color: #C9C2B6; }
.asx-page .sellability-score-num { font-family: var(--asx-serif); font-weight: 500; font-size: 2.4rem; color: var(--asx-ink); line-height: 1; }
.asx-page .sellability-score-of { font-size: .72rem; color: var(--asx-sage); }
.asx-page .sellability-score-label { font: 600 .72rem var(--asx-body); text-transform: uppercase; letter-spacing: .05em; color: var(--asx-gold-dark); margin-top: .55rem; }
.asx-page .sellability-narrative { flex: 1; min-width: 260px; }

/* Component stat cards — reuse the value-first card look. The component
   markup is label-first, so CSS ordering lifts the value to the top. */
.asx-page .snapshot-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-top: 1.8rem; }
.asx-page .snapshot-stat { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--asx-line); border-radius: 18px; padding: 1.3rem 1.3rem 1.15rem; }
.asx-page .snapshot-stat-value { order: -1; font-family: var(--asx-serif); font-weight: 500; font-size: 1.85rem; color: var(--asx-ink); line-height: 1; }
.asx-page .snapshot-stat-label { font: 500 .72rem var(--asx-body); text-transform: uppercase; letter-spacing: .08em; color: var(--asx-gold-dark); margin-top: .55rem; }
.asx-page .snapshot-stat-sub { font-size: .74rem; color: var(--asx-sage); margin-top: .2rem; }
.asx-page .snapshot-stat-info { color: var(--asx-sage); cursor: help; font-size: .8em; }

/* Component prose sections */
.asx-page .snapshot-framing, .asx-page .snapshot-tips, .asx-page .snapshot-article { margin-top: 2rem; }
.asx-page .snapshot-tips ul { padding-left: 1.1rem; margin: .5rem 0 0; }
.asx-page .snapshot-tips li { font-weight: 300; color: var(--asx-text); line-height: 1.7; margin-bottom: .45rem; }
.asx-page .snapshot-footnote { font-size: .75rem; color: var(--asx-sage); margin-top: 1.4rem; font-style: italic; }

/* Component loading / refreshing state */
.asx-page .town-snapshot-loading { display: flex; align-items: center; gap: 1rem; background: var(--asx-warm-white); border: 1px solid var(--asx-line); border-radius: 16px; padding: 1.5rem; margin-top: 1.8rem; }
.asx-page .town-snapshot-loader { width: 26px; height: 26px; flex: none; border: 3px solid rgba(195, 160, 95, .25); border-top-color: var(--asx-gold); border-radius: 50%; animation: asxSpin .9s linear infinite; }
@keyframes asxSpin { to { transform: rotate(360deg); } }
.asx-page .town-snapshot-message { margin: 0; font-size: .9rem; color: var(--asx-muted); }

/* ============================================================
   Fee calculator (_FeeCalculator partial) — dark panel, matches the
   preview's .calc. Used only on the ported agent/fees pages.
   ============================================================ */
.asx-page .fee-calc { background: transparent; border: none; box-shadow: none; padding: 0; }
.asx-page .fee-calc-intro { font-family: var(--asx-body); font-weight: 300; color: var(--asx-text); line-height: 1.7; margin: 0 0 .4rem; max-width: 62ch; }
.asx-page .fee-calc-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.5rem; margin-top: 1.6rem; background: var(--asx-ink); color: #F0EDEA; border-radius: 24px; padding: 2rem; }
.asx-page .fee-calc-controls { display: flex; flex-direction: column; gap: 1.3rem; }
.asx-page .fee-calc-field-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .55rem; }
.asx-page .fee-calc-field-head label { font: 500 .72rem var(--asx-body); text-transform: uppercase; letter-spacing: .1em; color: rgba(240, 237, 234, .6); }
.asx-page .fee-calc-unit { color: rgba(240, 237, 234, .5); font-size: .85rem; }
.asx-page .fee-calc-slider { width: 100%; -webkit-appearance: none; appearance: none; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .15); outline: 0; margin: .3rem 0 .7rem; }
.asx-page .fee-calc-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--asx-gold); cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
.asx-page .fee-calc-slider::-moz-range-thumb { width: 20px; height: 20px; border: none; border-radius: 50%; background: var(--asx-gold); cursor: pointer; }
.asx-page .fee-calc-number { width: 100%; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px; color: #F5F1E8; font: 600 1rem var(--asx-body); padding: .5rem .8rem; outline: 0; }
.asx-page .fee-calc-number:focus { border-color: rgba(195, 160, 95, .6); }
.asx-page .fee-calc-outputs { display: flex; flex-direction: column; gap: .8rem; justify-content: center; }
.asx-page .fee-calc-output { border-radius: 16px; padding: 1.1rem 1.3rem; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.asx-page .fee-calc-output-keep { background: linear-gradient(135deg, rgba(195, 160, 95, .22), rgba(195, 160, 95, .08)); border: 1px solid rgba(195, 160, 95, .4); }
.asx-page .fee-calc-output-label { font: 500 .68rem var(--asx-body); text-transform: uppercase; letter-spacing: .1em; color: rgba(240, 237, 234, .6); }
.asx-page .fee-calc-output-value { font-family: var(--asx-serif); font-weight: 500; font-size: 1.8rem; margin-top: .2rem; color: #F5F1E8; }
.asx-page .fee-calc-output-keep .fee-calc-output-value { color: var(--asx-gold); }
.asx-page .fee-calc-note { font-size: .75rem; color: var(--asx-sage); margin-top: 1rem; font-style: italic; max-width: 66ch; }
.asx-page .fee-calc-note strong { color: var(--asx-text); font-weight: 600; }
@media (max-width: 760px) { .asx-page .fee-calc-grid { grid-template-columns: 1fr; } }

/* ============================================================
   /best-estate-agents hub bespoke sections (bea-*) -> Paper.
   The .asx-page prefix raises specificity above the page's own
   embedded <style>, so these win.
   ============================================================ */
.asx-page .bea-gold-rule { border: none; border-top: 1px solid var(--asx-line); margin: 0 0 1rem; height: 0; }
/* The page's embedded <style> sets these headings to white (for the old dark
   backdrop) and loads AFTER content-page.css, so it needs the extra specificity. */
.asx-page .bea-pillars h2,
.asx-page .bea-towns h2,
.asx-page .bea-faq h2 { color: var(--asx-ink); text-shadow: none; }
.asx-page .bea-pillars-sub, .asx-page .bea-towns-sub { color: var(--asx-muted); margin: 0 0 1.3rem; font-weight: 300; }

/* Town finder: search 1,500+ towns without scrolling an A-Z wall */
.asx-page .bea-town-search { position: relative; max-width: 520px; margin: 0 auto; }
.asx-page .bea-town-input { width: 100%; height: 3rem; padding: 0 1.25rem; border-radius: 50px; border: 1px solid var(--asx-line); background: #fff; font: 300 .95rem var(--asx-body); color: var(--asx-text); outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.asx-page .bea-town-input::placeholder { color: rgba(46, 53, 48, .45); }
.asx-page .bea-town-input:focus { border-color: var(--asx-gold); box-shadow: 0 0 0 3px rgba(195, 160, 95, .16); }
.asx-page .bea-town-results { position: absolute; top: calc(100% + .45rem); left: 0; right: 0; z-index: 30; list-style: none; margin: 0; padding: .35rem; background: #fff; border: 1px solid var(--asx-line); border-radius: 14px; box-shadow: 0 14px 36px rgba(26, 31, 28, .14); max-height: 320px; overflow-y: auto; text-align: left; }
.asx-page .bea-town-results li { margin: 0; }
.asx-page .bea-town-results a { display: flex; align-items: baseline; gap: .5rem; padding: .6rem .85rem; border-radius: 10px; text-decoration: none; color: var(--asx-text); font-size: .9rem; }
.asx-page .bea-town-results a:hover { background: rgba(195, 160, 95, .12); }
.asx-page .bea-town-results strong { color: var(--asx-ink); font-weight: 600; }
.asx-page .bea-town-results span { color: var(--asx-sage); font-size: .78rem; }
.asx-page .bea-town-empty { text-align: center; font-size: .85rem; color: var(--asx-muted); margin: .9rem 0 0; }
.asx-page .bea-town-popular-label { text-align: center; font: 600 .7rem var(--asx-body); letter-spacing: .18em; text-transform: uppercase; color: var(--asx-gold-dark); margin: 2rem 0 1rem; }
.asx-page .bea-view-all { text-align: center; width: 100%; margin-top: 1.5rem; }
.asx-page .bea-pillar-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; margin-top: 1.4rem; }
.asx-page .bea-pillar { background: var(--asx-warm-white); border: 1px solid var(--asx-line); border-radius: 16px; padding: 1.4rem; }
.asx-page .bea-pillar h3 { color: var(--asx-ink); }
.asx-page .bea-pillar p { color: var(--asx-text); }
.asx-page .bea-pillar-icon { width: 30px; height: 30px; stroke: var(--asx-gold-dark); fill: none; margin-bottom: .7rem; }
.asx-page .bea-process-band { margin-top: 2rem; }
.asx-page .bea-process-inner { background: var(--asx-ink); color: #F0EDEA; border-radius: 20px; padding: 1.9rem 2.1rem; position: relative; }
.asx-page .bea-process-inner p { color: rgba(240, 237, 234, .88); font-family: var(--asx-serif); font-size: 1.2rem; line-height: 1.55; margin: 0; font-style: italic; }
.asx-page .bea-process-mark { display: none; }
.asx-page .bea-town-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; margin-top: 1rem; }
.asx-page .bea-town-link { display: inline-flex; gap: .4rem; align-items: center; background: var(--asx-warm-white); border: 1px solid var(--asx-line); border-radius: 50px; padding: .5rem .95rem; font-size: .85rem; color: var(--asx-text); text-decoration: none; transition: border-color .2s ease; }
.asx-page .bea-town-link:hover { border-color: var(--asx-gold); }
.asx-page .bea-town-county { color: var(--asx-sage); font-size: .78rem; }
.asx-page .bea-view-all { display: inline-block; margin-top: 1.2rem; color: var(--asx-gold-dark); font-weight: 600; text-decoration: none; }
.asx-page .bea-view-all:hover { color: var(--asx-gold-deep); }
.asx-page .bea-faq .faq-item { background: var(--asx-warm-white); border: 1px solid var(--asx-line); border-radius: 14px; padding: 1.1rem 1.4rem; margin-bottom: .8rem; }
.asx-page .bea-faq .faq-item summary { font: 600 1rem var(--asx-body); color: var(--asx-ink); cursor: pointer; list-style: none; }
.asx-page .bea-faq .faq-item summary::-webkit-details-marker { display: none; }
.asx-page .bea-faq .faq-item p { margin: .7rem 0 0; color: var(--asx-text); }

/* /estate-agent-fees hub: neutralise the scroll-reveal wrapper so its CTA
   isn't stuck hidden without the animation trigger. */
.asx-page .window-opening { opacity: 1 !important; transform: none !important; background: transparent; padding: 0; margin: 0; }

/* Prose lists (e.g. best-pillars-list on the town ranking page) */
.asx-main ol, .asx-main ul { padding-left: 1.2rem; margin: 1rem 0 1.5rem; }
.asx-main li { line-height: 1.7; margin-bottom: .45rem; color: var(--asx-text); font-weight: 300; }
.asx-main li strong { color: var(--asx-ink); font-weight: 600; }

/* Small "Verified" tag next to an agent name in the ranking list */
.asx-main .asx-agent-tag { display: inline-block; margin-left: .5rem; font: 600 .6rem var(--asx-body); letter-spacing: .05em; text-transform: uppercase; color: var(--asx-gold-deep); background: rgba(195, 160, 95, .16); border: 1px solid rgba(195, 160, 95, .3); border-radius: 50px; padding: .1rem .5rem; vertical-align: middle; }

/* Fee CTA buttons (town best-agents fallback branch) */
.asx-main .fee-cta-row { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.4rem; }
.asx-main .fee-cta-primary { display: inline-block; background: var(--asx-gold); color: #1A1F1C; font: 600 .82rem var(--asx-body); letter-spacing: .05em; text-transform: uppercase; padding: .8rem 1.6rem; border-radius: 50px; text-decoration: none; transition: background .2s ease, color .2s ease; }
.asx-main .fee-cta-primary:hover { background: var(--asx-gold-dark); color: #fff; }
.asx-main .fee-cta-secondary { display: inline-block; background: transparent; color: var(--asx-ink); border: 1px solid rgba(26, 31, 28, .22); font: 600 .82rem var(--asx-body); letter-spacing: .05em; text-transform: uppercase; padding: .8rem 1.6rem; border-radius: 50px; text-decoration: none; transition: border-color .2s ease; }
.asx-main .fee-cta-secondary:hover { border-color: var(--asx-ink); }

/* ============================================================
   /estate-agent-fees-in-{town} bespoke fee visualisations -> Paper.
   ============================================================ */
.asx-main .fee-hero-card { background: var(--asx-warm-white); border: 1px solid var(--asx-line); border-radius: 20px; padding: 1.9rem; margin-top: 1.8rem; }
.asx-main .fee-headline-label { font: 500 .72rem var(--asx-body); text-transform: uppercase; letter-spacing: .1em; color: var(--asx-gold-dark); }
.asx-main .fee-hero-value { font-family: var(--asx-serif); font-weight: 500; font-size: 3rem; color: var(--asx-ink); line-height: 1; margin: .3rem 0; }
.asx-main .fee-hero-value .fee-unit { font-size: 1.4rem; color: var(--asx-sage); }
.asx-main .fee-hero-allin { font-size: .82rem; color: var(--asx-sage); margin-bottom: 1.4rem; }
.asx-main .fee-hero-bar { position: relative; height: 8px; border-radius: 6px; background: rgba(26, 31, 28, .08); margin: 1rem 0 .4rem; }
.asx-main .fee-hero-bar-band { position: absolute; top: 0; height: 100%; border-radius: 6px; background: rgba(195, 160, 95, .4); }
.asx-main .fee-hero-bar-mark { position: absolute; top: -3px; width: 3px; height: 14px; border-radius: 2px; background: var(--asx-gold-dark); transform: translateX(-50%); }
.asx-main .fee-hero-bar-ends { display: flex; justify-content: space-between; font-size: .72rem; color: var(--asx-sage); }
.asx-main .fee-hero-compare { margin-top: 1.4rem; border-top: 1px solid var(--asx-line); padding-top: 1.2rem; }
.asx-main .fee-hero-compare-title { font: 500 .72rem var(--asx-body); text-transform: uppercase; letter-spacing: .08em; color: var(--asx-sage); margin-bottom: .7rem; }
.asx-main .fee-compare-row { display: flex; align-items: center; gap: .8rem; padding: .5rem .6rem; border-bottom: 1px solid var(--asx-line); font-size: .9rem; }
.asx-main .fee-compare-row:last-child { border-bottom: 0; }
.asx-main .fee-compare-row-us { background: rgba(195, 160, 95, .1); border-radius: 8px; border-bottom: 0; }
.asx-main .fee-compare-name { flex: 1; color: var(--asx-text); }
.asx-main .fee-compare-val { font-weight: 600; color: var(--asx-ink); font-variant-numeric: tabular-nums; }
.asx-main .fee-compare-arrow { color: #A05028; font-weight: 400; }
.asx-main .fee-compare-tag { font-size: .72rem; color: var(--asx-sage); }
.asx-main .fee-compare-tag-good { color: var(--asx-sage); }
.asx-main .fee-compare-tag-bad { color: #A05028; }
.asx-main .fee-hero-caveat { font-size: .78rem; color: var(--asx-muted); line-height: 1.55; margin: 1rem 0 0; }
.asx-main .fee-headline-source { font-size: .74rem; color: var(--asx-sage); font-style: italic; margin-top: 1rem; }
.asx-main .fee-position-scale { position: relative; height: 8px; border-radius: 6px; background: linear-gradient(90deg, rgba(122, 144, 136, .35), rgba(195, 160, 95, .55)); margin: 2.6rem 0; }
.asx-main .fee-position-marker { position: absolute; top: 50%; transform: translate(-50%, -50%); }
.asx-main .fee-position-marker-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--asx-gold-dark); border: 2px solid #fff; box-shadow: 0 2px 6px rgba(26, 31, 28, .2); }
.asx-main .fee-position-marker-uk .fee-position-marker-dot { background: var(--asx-sage); }
.asx-main .fee-position-marker-label { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: .72rem; color: var(--asx-text); text-align: center; }
.asx-main .fee-position-labels { display: flex; justify-content: space-between; font-size: .72rem; color: var(--asx-sage); }
.asx-main .fee-position-note { font-size: .78rem; color: var(--asx-muted); font-style: italic; margin-top: 1rem; }
/* Worked-examples table. location-page.css gives this a white rounded card
   with overflow:hidden and a BLACK thead — strip all of it so it reads as the
   same flat editorial table as the rest of the system. */
.asx-main .fee-table-wrap { overflow-x: auto; margin: 1.2rem 0; background: transparent; border: none; border-radius: 0; box-shadow: none; }
.asx-main .fee-examples-table { width: 100%; border-collapse: collapse; font-size: .95rem; background: transparent; border-radius: 0; overflow: visible; box-shadow: none; }
.asx-main .fee-examples-table thead th {
    background: transparent; color: var(--asx-sage); text-align: left;
    font: 600 .68rem var(--asx-body); text-transform: uppercase; letter-spacing: .1em;
    padding: 0 0 .7rem; border-bottom: 1px solid rgba(26, 31, 28, .12);
}
.asx-main .fee-examples-table tbody td {
    background: transparent; padding: .8rem 0; border-bottom: 1px solid rgba(26, 31, 28, .07);
    color: var(--asx-text); font-variant-numeric: tabular-nums;
}
.asx-main .fee-examples-table tbody tr:nth-child(even) { background: transparent; }
.asx-main .fee-examples-table tbody tr:last-child td { border-bottom: 0; }
/* Money columns read better right-aligned (the markup has no .num class) */
.asx-main .fee-examples-table thead th:not(:first-child),
.asx-main .fee-examples-table tbody td:not(:first-child) { text-align: right; padding-left: 1rem; }
.asx-main .fee-examples-table tbody td:first-child { color: var(--asx-ink); font-weight: 500; }
.asx-main .fee-examples-note { font-size: .82rem; color: var(--asx-muted); margin-top: .8rem; }

/* ============================================================
   PRODUCT CROSS-LINKS
   Compact two-card band linking the content pages to the wider
   AgentSeeker toolkit (Property Reports + the area heat map).
   Rendered by Pages/Shared/_ProductCrossLinks.cshtml.
   ============================================================ */
.asx-main .asx-crosslinks-band { margin-top: 3.4rem; }
.asx-main .asx-crosslinks { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; margin-top: .4rem; }
.asx-main .asx-crosslink { background: var(--asx-warm-white); border: 1px solid var(--asx-line); border-radius: 16px; padding: 1.4rem 1.5rem; text-decoration: none; display: block; transition: border-color .2s ease; }
.asx-main .asx-crosslink:hover { border-color: var(--asx-gold); }
.asx-main .asx-crosslink-title { font: 600 1.02rem var(--asx-body); color: var(--asx-ink); margin: 0 0 .35rem; }
.asx-main .asx-crosslink-desc { font-size: .85rem; color: var(--asx-muted); line-height: 1.55; margin: 0 0 .6rem; }
.asx-main .asx-crosslink-go { font: 600 .72rem var(--asx-body); letter-spacing: .05em; text-transform: uppercase; color: var(--asx-gold-dark); }
