/* Town pages (/secteurs, /secteurs/<ville>) and the home's town links.
   Generated pages (scripts/town-pages); every rule builds on the document
   page of site.css and the Glass rules of themes.css. Only the town delta is
   here: the breadcrumb, the hero with the Google rating and the broker's card,
   the steps, the listings, the hub grid and the home link list. */

html:root .crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;margin:0 0 22px;font-size:14px;color:var(--theme-muted)}
html:root .crumbs a{color:var(--theme-muted);text-decoration:underline;text-underline-offset:3px;text-decoration-color:#45607a55}
html:root .crumbs a:hover{color:var(--theme-ink)}
html:root .crumbs [aria-current]{color:var(--theme-ink)}

html:root .town-hero{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:clamp(32px,5vw,72px);align-items:center}
html:root .seo-doc .town-hero h1{max-width:20ch;font-size:clamp(36px,4.4vw,58px);line-height:1.06}
html:root .town-page .dtitle .lede{margin-top:18px}
html:root .town-page .dtitle .ctarow{margin-top:var(--s5)}
html:root .town-page .dtitle .stamp{margin-top:var(--s4)}

/* The broker's public Google rating, as proof in the hero. */
html:root .g-rating{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin:20px 0 4px;padding:10px 18px 10px 14px;border-radius:999px;background:#ffffffb0;border:1px solid #ffffff;box-shadow:0 8px 24px #516f9614;color:var(--theme-ink);text-decoration:none;font-size:17px;line-height:1.2;transition:background .2s ease}
html:root .g-rating:hover{background:#fff}
html:root .g-rating .stars{display:inline-flex;gap:2px}
html:root .g-rating .stars svg{display:block}
html:root .g-rating b{font-weight:600;font-size:19px}
html:root .g-rating .count{color:var(--theme-ink);text-decoration:underline;text-underline-offset:3px;text-decoration-color:#45607a55}

html:root .town-card{padding:clamp(24px,3vw,36px);background:#ffffff38;border:1px solid var(--theme-rim);border-radius:24px;box-shadow:0 16px 42px #516f9610;backdrop-filter:blur(16px)}
html:root .town-agent img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:50% 30%;border-radius:16px}
html:root .town-agent p{margin:0;font-size:15.5px;line-height:1.55;color:var(--theme-muted)}
html:root .town-agent .who{margin-top:18px;font-size:19px;color:var(--theme-ink)}
html:root .town-agent .tel{display:inline-block;margin-top:10px;font-size:19px;color:var(--theme-ink);text-decoration:underline;text-underline-offset:4px;text-decoration-color:#45607a55}

html:root .seo-doc .sec .go{color:var(--blue);font-weight:600;text-decoration:none}
html:root .seo-doc .steps .row{grid-template-columns:minmax(0,13rem) minmax(0,1fr)}
html:root .seo-doc .faq .row{grid-template-columns:minmax(0,17rem) minmax(0,1fr)}
html:root .seo-doc .faq dd a{white-space:nowrap}
html:root .town-page .rows .row:last-child{border-bottom:0}
html:root .home-faq .faq .row{grid-template-columns:minmax(0,17rem) minmax(0,1fr)}
html:root .home-faq .faq dd a{white-space:nowrap}
html:root .home-faq .rows .row:last-child{border-bottom:0}

html:root .town-listings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--s3);margin-top:var(--s4)}
html:root .town-listings .lcard{display:block}
html:root .town-listings .status{display:none}
html:root .town-listings .lcard .m{text-transform:none;letter-spacing:0;font-size:13px}

html:root .town-grid{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;max-width:1100px}
html:root .town-grid a{display:flex;flex-direction:column;gap:4px;height:100%;padding:20px 22px;background:#ffffff2e;border:1px solid #ffffffb8;border-radius:18px;backdrop-filter:blur(12px);transition:background .22s ease,border-color .22s ease,transform .22s ease}
html:root .town-grid a:hover{background:#ffffff62;border-color:#fff;transform:translateY(-1px)}
html:root .town-grid strong{font-size:19px;font-weight:400;color:var(--theme-ink);margin-bottom:4px}
html:root .town-grid span{font-size:14.5px;line-height:1.5;color:var(--theme-muted)}
html:root .town-note{max-width:1100px;margin-top:var(--s5)}

html:root .town-links{list-style:none;padding:0;margin:0;padding-top:var(--s5);display:flex;flex-wrap:wrap;gap:10px}
html:root .town-links a{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:999px;background:#ffffff30;border:1px solid #ffffffb8;color:var(--theme-ink);font-size:15px;backdrop-filter:blur(12px);transition:background .22s ease,border-color .22s ease}
html:root .town-links a:hover{background:#ffffff72;border-color:#fff}

/* The glass bridge is a rounded card; on these pages it keeps air above the footer. */
html:root .town-page .bridge+footer{margin-top:clamp(48px,6vw,88px)}

@media(max-width:1000px){
 html:root .town-hero{grid-template-columns:1fr}
 html:root .town-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
 html:root .seo-doc .town-hero h1{font-size:clamp(32px,9vw,42px)}
 html:root .town-card{border-radius:20px}
 html:root .town-agent{display:grid;grid-template-columns:96px 1fr;column-gap:16px;align-items:center}
 html:root .town-agent img{grid-row:1 / span 4;width:96px;height:96px;aspect-ratio:1;border-radius:50%;object-position:50% 25%}
 html:root .town-agent .who{margin-top:0}
 html:root .town-agent .tel{margin-top:4px}
 html:root .town-grid{grid-template-columns:1fr}
 html:root .town-listings{grid-template-columns:1fr}
 html:root :is(.seo-doc,.home-faq) .faq .row{grid-template-columns:1fr}
 html:root .seo-doc .steps .row{grid-template-columns:1fr}
}
@supports not (backdrop-filter:blur(1px)){
 html:root :is(.town-card,.town-grid a,.town-links a){background:#edf3fa}
}
@media(prefers-reduced-transparency:reduce){
 html:root :is(.town-card,.town-grid a,.town-links a){background:#edf3fa;backdrop-filter:none}
}
