/*
Theme Name: Live In Bozeman
Description: Custom theme for liveinbozeman.com. Version 2 is layout concept E ("Valley, navy and white"), chosen Nov 4, 2026: Live In Bozeman navy with white accents, Cinzel headings, Poppins text. Built and maintained in Git by Claude Code.
Author: Live In Bozeman
Version: 2.0.0
Requires PHP: 8.1
Text Domain: liveinbozeman
*/

/* ---------- Tokens (Live In Bozeman design system navy, white in place of gold) ---------- */
:root {
	--navy: #0e1b2c;        /* header, hero, dark bands, footer */
	--navy-2: #182b45;      /* guides band, links on light */
	--navy-card: #1b2e4a;   /* cards on navy */
	--navy-line: #33506f;   /* borders on navy */
	--ink: #14202f;         /* text on light */
	--muted: #14202f;       /* secondary text on light: black like body text, the grey was hard to read (Chase, Nov 15 2026; was #4e5c6b) */
	--muted-dark: #ffffff;  /* secondary text on navy: white, the light blue was hard to read (Chase, Nov 15 2026; was #a8b9cc) */
	--on-dark: #edf1f5;     /* text on navy */
	--ground: #f5f6f4;      /* page background */
	--line: #0e1b2c;        /* card borders on light: solid navy, same 1.5px width (Chase, Nov 15 2026) */
	--line-light: #a9b8c6;  /* the old grey-blue, kept for the large decorative numerals and quote marks */
	--line-soft: #e1e4e7;   /* rules inside cards */
	--tint: #cdd8e1;        /* empty image slots */
	--white: #fff;
	--radius: 12px;
	--serif: "Cinzel", Georgia, serif;
	--sans: "Poppins", Arial, "Helvetica Neue", Helvetica, sans-serif;
	--container: 1180px;
	--gutter: 24px;
	--header-h: 80px;
	/* Older names other files may still use */
	--night: var(--navy);
	--wash: var(--ground);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 28px; color: var(--ink); background: var(--ground); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--serif); font-weight: 400; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: 56px; line-height: 1.15; }
h2 { font-size: 42px; line-height: 1.24; }
h3 { font-size: 32px; line-height: 1.3; }
h4 { font-size: 26px; line-height: 1.3; }
h5 { font-size: 22px; line-height: 1.3; }
h6 { font-size: 18px; line-height: 1.35; }
p { margin: 0 0 1.2em; }
.container { max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { clip: auto; width: auto; height: auto; z-index: 1000; top: 8px; left: 8px; background: var(--white); color: var(--ink); padding: 8px 16px; }
.kicker { font: 500 13px/1.4 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }

/* Buttons: navy on light, white on navy, rounded */
.button { display: inline-block; font: 600 14px/1.2 var(--sans); letter-spacing: .02em; text-decoration: none; border: 1.5px solid transparent; border-radius: var(--radius); padding: 14px 22px; cursor: pointer; color: var(--white); background: var(--navy-2); transition: background .2s, color .2s; }
.button:hover, .button:focus { background: var(--navy); }
.button--dark { background: var(--navy-2); }
.button--light { background: var(--white); color: var(--navy); }
.button--light:hover, .button--light:focus { background: var(--on-dark); color: var(--navy); }
.button--outline { background: transparent; color: var(--navy-2); border-color: var(--navy-2); }
.button--outline:hover, .button--outline:focus { background: var(--navy-2); color: var(--white); }
.button--outline-light { background: transparent; color: var(--on-dark); border-color: var(--on-dark); }
.button--outline-light:hover, .button--outline-light:focus { background: var(--white); color: var(--navy); }
/* REW button classes carried in the migrated copy */
.button--blue, .button--primary { background: var(--navy-2); color: var(--white); }
.button--green { background: transparent; color: var(--navy-2); border-color: var(--navy-2); }
.button--green:hover { background: var(--navy-2); color: var(--white); }

/* Visible placeholders for unconfirmed facts and not-yet-live features (rule 7) */
.lib-confirm { display: inline-block; background: #fff3c4; color: #5c4400; font: 600 12px/1.6 var(--sans); letter-spacing: 0; text-transform: none; padding: 0 6px; border-radius: 3px; }
.lib-placeholder { border: 2px dashed #c9a227; background: #fffbea; color: #5c4400; padding: 28px; margin: 24px 0; font-size: 15px; line-height: 1.6; text-align: center; border-radius: var(--radius); }
.lib-placeholder strong { display: block; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 4px; }
.lib-placeholder--dark { background: transparent; color: #d8cfa6; border-color: #6d5f2b; font-size: 13px; }

/* ---------- Header: solid navy bar, spaced caps menu, outlined phone ---------- */
.site-header { position: relative; z-index: 50; background: var(--navy); color: var(--on-dark); border-bottom: 1px solid var(--navy-line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1480px; margin: 0 auto; padding: 0 32px; min-height: var(--header-h); }    /* wider than the content: the full menu needs ~1380px */
.site-header__logo { font-family: var(--serif); font-size: 22px; line-height: 1.2; letter-spacing: .16em; color: var(--on-dark); text-decoration: none; white-space: nowrap; }
.site-header__bar { display: flex; align-items: center; gap: 18px; min-width: 0; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex-wrap: nowrap; gap: 18px; }
.nav__item { position: relative; }
.nav__item:nth-last-child(-n+3) .nav__sub { left: auto; right: -16px; }    /* right-hand menus open leftward, inside the page */
.nav__item > a { display: block; padding: 28px 0; font-size: 12px; line-height: 16px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark); text-decoration: none; white-space: nowrap; }
.nav__item.has-children > a::after { content: "\00a0\25BE"; font-size: 9px; }    /* no-break space keeps the arrow on the last word */
.nav__item > a:hover { color: var(--white); }
.nav__item.is-current > a { color: var(--white); box-shadow: inset 0 -1px 0 var(--white); }
.nav__toggle { display: none; }
/* Dropdowns: the header's navy, hanging from it (Jake, Nov 5 2026) */
.nav__sub { list-style: none; margin: 0; padding: 10px; position: absolute; top: calc(100% + (var(--header-h) - 72px) / 2);    /* starts on the header's bottom edge */ left: -16px; min-width: 280px; background: rgba(14, 27, 44, .75); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--navy-line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; z-index: 60; }
.nav__item:hover .nav__sub, .nav__item:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__item:hover > a, .nav__item:focus-within > a { color: var(--white); }
.nav__sub li + li { border-top: 1px solid rgba(51, 80, 111, .55); }
.nav__sub a { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; border-radius: 8px; color: var(--on-dark); text-decoration: none; font-size: 14px; line-height: 1.4; transition: background .15s, color .15s; }
.nav__sub a::after { content: "→"; color: var(--muted-dark); opacity: 0; transform: translateX(-6px); transition: opacity .15s, transform .15s; }
.nav__sub a:hover, .nav__sub a:focus-visible { background: var(--navy-2); color: var(--white); }
.nav__sub a:hover::after, .nav__sub a:focus-visible::after { opacity: 1; transform: none; color: var(--white); }
.nav__sub a.is-current { color: var(--white); font-weight: 600; padding-left: 20px; }    /* the page you're on */
.nav__sub a.is-current::before { content: ""; position: absolute; left: 8px; top: 12px; bottom: 12px; width: 3px; border-radius: 2px; background: var(--white); }
/* Communities: Towns and Bozeman Areas side by side (inc/navigation.php) */
.nav__sub--cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; min-width: 470px; }
.nav__sub--cols > li + li { border-top: 0; }
.nav__group ul { list-style: none; margin: 0; padding: 0; }
.nav__heading { display: block; padding: 8px 14px 8px; font-size: 11px; line-height: 1.4; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-dark); }
/* Desktop: the menu fills the stretch between the name and the phone, items spread evenly
   instead of bunched at the right (Jake, Nov 5 2026) */
@media (min-width: 1200px) {
	.site-header__bar { flex: 1; }
	.nav { flex: 1; }
	.nav__list { justify-content: space-evenly; padding-left: 24px; }
}
/* Contact: an outlined button at the end of the menu */
.nav__item--button > a { padding: 10px 18px; border: 1px solid var(--white); border-radius: var(--radius); transition: background .15s, color .15s; }
.nav__item--button > a:hover, .nav__item--button > a:focus-visible, .nav__item--button.is-current > a { background: var(--white); color: var(--navy); box-shadow: none; }
.site-header__actions { display: flex; align-items: center; gap: 16px; }
/* The phone: plain text with a handset icon beside the Contact button, no box (Jake, Nov 5 2026) */
.site-header__phone { display: inline-block; color: var(--on-dark); font-size: 13px; line-height: 16px; letter-spacing: .08em; white-space: nowrap; }
.site-header__phone a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; padding: 10px 0; }
.site-header__phone a::before { content: ""; flex: none; width: 15px; height: 15px; background: currentColor; -webkit-mask: var(--icon-phone) center / contain no-repeat; mask: var(--icon-phone) center / contain no-repeat; }
.site-header__phone a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
:root { --icon-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E"); }
.site-header__phone:has(.lib-confirm) { border: 1px solid var(--white); padding: 8px 10px; letter-spacing: 0; }    /* the unconfirmed-phone placeholder */
.site-header__phone:has(.lib-confirm) { padding: 8px 10px; letter-spacing: 0; }    /* the unconfirmed-phone placeholder is longer than a number */
.site-header__phone .lib-confirm { font-size: 11px; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 26px; height: 2px; background: var(--white); position: relative; transition: transform .2s; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -8px; }
.nav-toggle__bars::after { top: 8px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-8px) rotate(-45deg); }
.site-header--landing .site-header__inner { justify-content: center; }

/* ---------- Page hero / title band ---------- */
.page-hero { position: relative; color: var(--on-dark); background: var(--navy); }
.page-hero--photo { min-height: 480px; display: flex; align-items: flex-end; background: var(--navy) var(--hero-image) center / cover no-repeat; }
.page-hero--photo::before { content: ""; position: absolute; inset: 0; background: rgba(14, 27, 44, .55); }
.page-hero--home { min-height: 640px; align-items: center; text-align: center; }
.page-hero__inner { position: relative; width: 100%; padding-top: 96px; padding-bottom: 64px; }
.page-hero--band { background: var(--navy-2); }    /* title bands without a photo: a step lighter than the header */
.page-hero--band .page-hero__inner { padding-top: 56px; padding-bottom: 56px; }
.page-hero__title { color: var(--on-dark); margin: 0; font-size: 64px; line-height: 1.12; }
.page-hero--band .page-hero__title { font-size: 52px; }
.page-hero--home .page-hero__title { font-size: 60px; max-width: 900px; margin: 0 auto; }
.page-hero__kicker { font: 500 13px/1.4 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--white); margin: 24px 0 12px; }
.page-hero--home .page-hero__kicker { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 0; }
.page-hero--home .page-hero__kicker::before, .page-hero--home .page-hero__kicker::after { content: ""; width: 56px; height: 1px; background: var(--white); }
.page-hero__lede { font-size: 18px; line-height: 30px; max-width: 640px; margin: 16px 0 0; color: var(--on-dark); }
.page-hero--home .page-hero__lede { margin: 16px auto 0; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.breadcrumbs ol { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 0; font-size: 13px; line-height: 1.5; color: var(--muted-dark); }
.breadcrumbs li + li::before { content: "/"; padding: 0 8px; }
.breadcrumbs a { color: var(--muted-dark); text-decoration: none; }
.breadcrumbs a:hover { color: var(--white); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--on-dark); }
@media (max-width: 768px) {    /* one line on phones: a long page name ends in "…" instead of wrapping */
	.breadcrumbs ol { flex-wrap: nowrap; white-space: nowrap; }
	.breadcrumbs li:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
}

/* Home hero: the two big doors, Buy and Sell */
.hero-doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; max-width: 940px; margin: 36px auto 0; }    /* four doors, two by two (Chase, Nov 14 2026) */
@media (max-width: 700px) { .hero-doors { grid-template-columns: 1fr; gap: 14px; } }
.hero-door { flex: 1 1 320px; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; text-decoration: none; background: rgba(14, 27, 44, .82); border: 1.5px solid var(--white); border-radius: var(--radius); padding: 28px 30px; transition: background .2s, transform .2s; }    /* solid white border before hover (Chase, Nov 14 2026) */
.hero-door:hover, .hero-door:focus { background: rgba(14, 27, 44, .95); transform: translateY(-2px); }
.hero-door__text { display: flex; flex-direction: column; gap: 6px; }
.hero-door__label { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--white); }
.hero-door__title { font-family: var(--serif); font-size: 26px; line-height: 1.25; color: var(--on-dark); }
.hero-door__sub { font-size: 13px; line-height: 1.5; color: var(--muted-dark); }
.hero-door__arrow { font-size: 26px; color: var(--white); }

/* Hero search bar (points at /search/ until Showcase IDX supplies its own) */
.hero-search { display: flex; max-width: 820px; margin-top: 28px; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.hero-search select, .hero-search input { font: 15px var(--sans); color: var(--ink); border: 0; padding: 18px 20px; background: transparent; }
.hero-search select { border-right: 1px solid var(--line-soft); }
.hero-search input { flex: 1; min-width: 0; }
.hero-search .button { margin: 6px; }

/* ---------- Town hub sub-nav ---------- */
.subnav { position: sticky; top: 0; z-index: 40; background: var(--white); border-bottom: 1.5px solid var(--line); }
.admin-bar .subnav { top: 32px; }
.subnav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 28px; }
.subnav ul a { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--muted); }
.subnav ul a:hover { color: var(--ink); }
.subnav__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Content ---------- */
.site-main { padding: 72px 0 88px; }
.site-main--home { padding: 0; }
.entry { color: var(--ink); }
.entry p, .entry li { line-height: 30px; }
.entry a { color: var(--navy-2); text-decoration: underline; text-underline-offset: 3px; }
.entry a:hover { color: var(--navy); }
.entry a.button { text-decoration: none; color: var(--white); }
.entry a.button--light { color: var(--navy); }    /* white buttons keep navy text inside page copy */
.entry a.button--outline { color: var(--navy-2); }
.entry img { margin: 24px 0; border-radius: var(--radius); }
.entry ul, .entry ol { padding-left: 1.3em; margin: 0 0 1.4em; }
.entry h2, .entry h3, .entry h4 { margin-top: 1.2em; }
.entry > :first-child { margin-top: 0; }
.entry table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: 15px; background: var(--white); }
.entry th, .entry td { border-bottom: 1px solid var(--line-soft); padding: 10px 12px; text-align: left; }
.entry blockquote { margin: 1.5em 0; padding: 20px 24px; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); }
.entry iframe { max-width: 100%; }
.entry sup.kicker__headline { display: block; font: 500 13px/1.4 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--muted); vertical-align: baseline; margin-bottom: 8px; }

/* YouTube on click: white play disc, navy triangle */
.yt { position: relative; aspect-ratio: 16 / 9; background: var(--navy); margin: 28px 0; overflow: hidden; cursor: pointer; border-radius: var(--radius); }
.yt img { width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt__play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; transform: translate(-50%, -50%); border: 0; border-radius: 50%; background: var(--white); cursor: pointer; box-shadow: 0 4px 16px rgba(0, 0, 0, .3); transition: transform .2s; }
.yt__play::after { content: ""; position: absolute; left: 29px; top: 24px; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent var(--navy); }
.yt:hover .yt__play { transform: translate(-50%, -50%) scale(1.06); }

/* REW's price-band table on subdivision pages */
.entry .pricing-table { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-soft); }
.entry .pricing-table li { border-bottom: 1px solid var(--line-soft); padding: 10px 0; font-size: 14px; }
.entry .pricing-table a { text-decoration: none; color: var(--muted); }
.listings-block { margin: 56px 0 0; }

/* Town hub copy (REW community module carried over in the migrated copy) */
.teasers__community--2-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.teaser__community__images img { margin: 0; width: 100%; }
.teaser__community__controls:empty, .entry sup.kicker__headline:empty { display: none; }
/* Market statistics: navy panel, figures re-pulled from the MLS (rule 8) */
.stats-placeholder { margin: 56px 0 0; padding: 40px; background: var(--navy); color: var(--on-dark); border-radius: var(--radius); }
.stats-placeholder h2 { color: var(--on-dark); margin-top: 0; }
.stats-placeholder .lib-placeholder { margin-bottom: 0; }
.cta__communities ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.cta__communities ul a { display: inline-block; text-decoration: none; color: var(--ink); border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 18px; font-size: 14px; background: var(--white); }
.cta__communities ul a:hover { border-color: var(--navy-2); }

/* Blog layout: 760px article + 380px sidebar */
.with-sidebar { display: grid; grid-template-columns: minmax(0, 760px) 340px; gap: 48px; justify-content: space-between; }
/* The blog navigation stays in view while the posts scroll (blog list and single posts) */
.with-sidebar > .sidebar { position: sticky; top: 24px; align-self: start; }
.admin-bar .with-sidebar > .sidebar { top: 56px; }
.entry__byline { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--line-soft); font-size: 14px; color: var(--muted); }
.sidebar__box { margin-bottom: 24px; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.sidebar__title { font: 500 12px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.sidebar__box ul { list-style: none; margin: 0; padding: 0; }
.sidebar__box li a { display: flex; justify-content: space-between; padding: 10px 0; font-size: 14px; text-decoration: none; border-top: 1px solid var(--line-soft); color: var(--ink); }
.sidebar__box li a::after { content: "→"; color: var(--muted); }
.sidebar__box li a:hover { color: var(--navy-2); }
.sidebar__rss { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.sidebar__rss a { text-decoration: none; color: var(--muted); }

/* Blog intro band (template-parts/blog-intro.php): navy, copy left, Chase's picture right */
/* Same columns as .with-sidebar below it, so the picture is exactly the sidebar's width */
.blog-intro { position: relative; z-index: 2; background: var(--navy); color: var(--on-dark); padding: 28px 0; border-top: 1px solid var(--navy-line); }
.blog-intro + .site-main { padding-top: 168px; }    /* room for the picture's overhang and caption above the sidebar */
/* Name on its own line, title and brokerage on one line, centered under the picture (the
   title line is a little wider than the picture, so it centers on it rather than wrapping) */
.blog-intro__caption { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 12px; }
.blog-intro__name { font-family: var(--serif); font-size: 18px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.blog-intro__role { font-size: 11.5px; line-height: 1.5; color: var(--muted); white-space: nowrap; }
.blog-intro__inner { display: grid; grid-template-columns: minmax(0, 760px) 340px; gap: 48px; justify-content: space-between; align-items: center; }
.blog-intro__text { min-width: 0; }
.blog-intro__text .kicker { color: var(--white); }
.blog-intro__lede { color: var(--on-dark); font-size: 20px; line-height: 32px; margin: 0 0 20px; max-width: 680px; }
.blog-intro__media { margin: -110px 0 -158px; }    /* runs past the band's top and bottom edges; the caption sits below, on the page */
.blog-intro__photo { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center top; border-radius: var(--radius); margin: 0; box-shadow: 0 12px 32px rgba(0, 0, 0, .3); }
@media (max-width: 1100px) {
	.blog-intro__inner { grid-template-columns: 1fr; }
	.blog-intro__media { margin: 0; max-width: 340px; }
	.blog-intro__name { color: var(--on-dark); }
	.blog-intro__role { color: var(--muted-dark); }
	.blog-intro + .site-main { padding-top: 56px; }
}
@media (max-width: 768px) {
	.blog-intro { padding: 32px 0; }
	.blog-intro__lede { font-size: 18px; line-height: 29px; }
	.blog-intro__media { max-width: 240px; }
}

/* ---------- Montana Move Method page (templates/method.php) ---------- */
.site-main--method { padding: 0; }
.method-hero { min-height: 560px; }
.method-hero__title { max-width: 920px; font-size: 52px; }
.method-hero__lede { max-width: 760px; margin-top: 18px; }
.method-hero__lede p { font-size: 18px; line-height: 30px; color: var(--on-dark); margin: 0; }
.method-hero__lede strong { color: var(--white); }
.method-intro { padding-top: 88px; padding-bottom: 80px; text-align: center; }
.method-quote { margin: 0 auto 56px; max-width: 920px; padding: 0; border: 0; background: none; font-family: var(--serif); font-size: 30px; line-height: 1.45; color: var(--navy-2); }
.method-quote::before, .method-quote::after { content: ""; display: block; width: 64px; height: 2px; background: var(--navy-2); margin: 0 auto 28px; }
.method-quote::after { margin: 28px auto 0; }
.method-what { max-width: 780px; margin: 0 auto; }
.method-what h2 { font-size: 38px; margin: 0 0 16px; }
.method-what p { font-size: 17px; line-height: 31px; color: var(--muted); margin: 0; }
.method-overview { background: var(--navy); color: var(--on-dark); padding: 64px 0; }
.method-overview .kicker { color: var(--white); text-align: center; margin-bottom: 28px; }
.method-overview__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.method-overview__list a { display: flex; flex-direction: column; gap: 6px; height: 100%; text-decoration: none; background: var(--navy-card); border: 1.5px solid var(--navy-line); border-radius: var(--radius); padding: 26px 24px; transition: border-color .2s; }
.method-overview__list a:hover { border-color: var(--white); }
.method-overview__num { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--white); }
.method-overview__name { font-family: var(--serif); font-size: 24px; color: var(--on-dark); margin-top: 8px; }
.method-overview__tag { font-size: 14px; line-height: 1.5; color: var(--muted-dark); }
.method-phase { padding: 88px 0; scroll-margin-top: 24px; }
.method-phase--alt { background: var(--white); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.method-phase__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.method-phase__head { grid-column: 1; }
.method-phase__body { grid-column: 2; grid-row: 1 / span 2; }
.method-phase__media { grid-column: 1; margin: 0; }
.method-phase__num { display: block; font-family: var(--serif); font-size: 96px; line-height: .9; color: var(--tint); margin-bottom: 16px; }
.method-phase--alt .method-phase__num { color: var(--line-light); }
.method-phase__head h2 { font-size: 34px; line-height: 1.25; margin: 0 0 14px; }
.method-phase__tag { display: inline-block; font-size: 14px; font-weight: 600; color: var(--white); background: var(--navy-2); border-radius: 999px; padding: 6px 14px; margin: 0; }
.method-phase__body p { font-size: 17px; line-height: 31px; margin: 0 0 20px; }
.method-phase__photo { width: 100%; height: 300px; object-fit: cover; border-radius: var(--radius); margin: 0; }
.method-personal { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 64px; align-items: center; padding-top: 96px; padding-bottom: 96px; }
.method-personal__media { margin: 0; }
.method-personal__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); margin: 0; box-shadow: 0 16px 40px rgba(14, 27, 44, .2); }
.method-personal__text h2 { font-size: 38px; margin: 0 0 18px; }
.method-personal__text p { font-size: 17px; line-height: 31px; margin: 0 0 20px; }
.method-why { background: var(--navy-2); color: var(--on-dark); padding: 80px 0; }
.method-why h2 { color: var(--on-dark); text-align: center; font-size: 36px; margin: 0 0 36px; }
.method-why__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.method-why__list li { display: flex; flex-direction: column; gap: 14px; background: var(--navy); border: 1.5px solid var(--navy-line); border-radius: var(--radius); padding: 24px; font-size: 16px; line-height: 1.55; color: var(--on-dark); }
.method-why__list em { font-style: normal; }
.method-why__check { width: 36px; height: 36px; border-radius: 50%; background: var(--white); position: relative; flex: 0 0 auto; }
.method-why__check::after { content: ""; position: absolute; left: 13px; top: 9px; width: 8px; height: 14px; border: solid var(--navy); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.method-guide { padding-top: 88px; padding-bottom: 72px; text-align: center; }
.method-guide h2 { font-size: 38px; margin: 0 0 12px; }
.method-guide__lede { font-size: 17px; color: var(--muted); margin: 0 auto 8px; max-width: 640px; }
.method-guide .entry { text-align: left; }
.method-cta { background: var(--navy); color: var(--on-dark); padding: 72px 0; }
.method-cta__inner { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.method-cta__text { flex: 1 1 520px; }
.method-cta__text h2 { color: var(--on-dark); font-size: 36px; margin: 0 0 12px; }
.method-cta__text p { color: var(--muted-dark); font-size: 16px; line-height: 28px; margin: 0 0 12px; }
.method-cta__text em { font-style: normal; color: var(--on-dark); }
.method-cta__contact { font-size: 14px; }
.method-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.method-resources { padding-top: 72px; padding-bottom: 88px; }
.method-resources h2 { font-size: 30px; margin: 0 0 24px; }
.method-resources__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.method-resource { display: flex; justify-content: space-between; align-items: center; gap: 16px; text-decoration: none; color: var(--ink); background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 18px 20px; font-size: 15px; transition: border-color .2s; }
.method-resource:hover { border-color: var(--navy-2); }
.method-resource span { color: var(--muted); }
@media (max-width: 1024px) {
	.method-overview__list, .method-why__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.method-phase__inner { grid-template-columns: 1fr; gap: 24px; }
	.method-phase__head, .method-phase__body, .method-phase__media { grid-column: 1; grid-row: auto; }
	.method-personal { grid-template-columns: 1fr; gap: 32px; }
	.method-personal__media { max-width: 320px; }
}
@media (max-width: 640px) {
	.method-hero__title { font-size: 36px; }
	.method-quote { font-size: 22px; }
	.method-overview__list, .method-why__list { grid-template-columns: 1fr; }
	.method-phase { padding: 56px 0; }
	.method-phase__num { font-size: 64px; }
	.method-phase__head h2, .method-personal__text h2, .method-what h2, .method-guide h2 { font-size: 28px; }
}

/* ---------- Guide pages (inc/guide-pages.php): shared pieces ---------- */
.guide-page .entry { font-size: 17px; }
.guide-page .entry p, .guide-page .entry li { line-height: 30px; }
.guide-page .gp-intro { max-width: 860px; }
.guide-page .gp-intro { max-width: 780px; }
.guide-page .gp-intro > p:first-of-type:not(.gp-eyebrow), .guide-page .gp-eyebrow + p { font-size: 20px; line-height: 34px; font-weight: 500; color: var(--navy-2); margin-bottom: 18px; }
.guide-page .gp-intro > p { color: var(--ink); }
.guide-page .gp-eyebrow { font: 500 13px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.guide-page .gp-sec { margin: 64px 0 0; }
.guide-page .gp-sec > h2 { font-size: 34px; line-height: 1.25; margin: 0 0 20px; }
.guide-page .gp-sub > h3, .guide-page .gp-sub > h4 { font-size: 24px; line-height: 1.3; margin: 0 0 12px; }
.guide-page .gp-sub > h4 { font: 600 13px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
/* Card lists: each point in its own white card */
.guide-page .gp-cards, .guide-page .gp-sec > ul:not(.gp-checklist), .guide-page .gp-intro .gp-sub > ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.guide-page .gp-sec > ul:not(.gp-checklist) > li, .guide-page .gp-intro .gp-sub > ul > li { margin: 0; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.guide-page .gp-sec > ul > li > p, .guide-page .gp-sub > ul > li > p { margin: 0; }
/* Link sections: link cards */
.guide-page .gp-sec--links > ul, .guide-page .gp-sub--links { list-style: none; padding: 0; }
.guide-page .gp-sec--links > ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); grid-auto-rows: 1fr; gap: 12px; }    /* every card the same size */
.guide-page .gp-sec--links > ul > li { display: flex; }
.guide-page .gp-sec--links > ul > li > a, .guide-page .gp-sec--links > ul > li > p, .guide-page .gp-sec--links > ul > li > p > a { flex: 1 1 auto; margin: 0; }
.guide-page .gp-sec--links > ul > li > p { display: flex; }
/* "Connect with Chase…" duplicates the contact band that closes these pages */
.guide-buyers-guide .gp-sec--links li:has(a[href="/contact/"]), .guide-selling-luxury-homes-bozeman .gp-sec--links li:has(a[href="/contact/"]) { display: none; }
.guide-page .gp-sec--links > ul > li { padding: 0 !important; background: none !important; border: 0 !important; }
.guide-page .gp-sec--links a, .guide-page .gp-sub--links p > a { display: flex; justify-content: space-between; align-items: center; gap: 14px; height: 100%; box-sizing: border-box; text-decoration: none; color: var(--ink); background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 16px 20px; font-size: 15px; line-height: 1.45; }
.guide-page .gp-sec--links a::after, .guide-page .gp-sub--links p > a::after { content: "→"; color: var(--muted); }
.guide-page .gp-sec--links a:hover, .guide-page .gp-sub--links p > a:hover { border-color: var(--navy-2); }
.guide-page .gp-sub--links { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-top: 40px; }
.guide-page .gp-sub--links > h3 { grid-column: 1 / -1; }
.guide-page .gp-sub--links > p { margin: 0; }
/* Navy panels: calls to action and the guide PDF */
.guide-page .gp-sec--cta, .guide-page .gp-sub--cta { background: var(--navy); color: var(--on-dark); border-radius: var(--radius); padding: 40px 44px 30px; }
.guide-page .gp-sub--cta { margin-top: 40px; }
.guide-page .gp-sec--cta h2, .guide-page .gp-sub--cta h3 { color: var(--on-dark); }
.guide-page .gp-sec--cta p, .guide-page .gp-sub--cta p { color: var(--muted-dark); }
.guide-page .gp-sec--cta strong { color: var(--white); }
.guide-page .gp-sec--cta a:not(.button) { color: var(--white); }
.guide-page .gp-sec--cta p > a[href="/contact/"] { display: inline-block; background: var(--white); color: var(--navy) !important; text-decoration: none; font-weight: 600; padding: 14px 22px; border-radius: var(--radius); }
.guide-page .gp-cta__buttons { margin-top: 8px; }
.guide-page .pdf-viewer--panel { background: var(--navy); border-radius: var(--radius); padding: 30px 32px 26px; margin: 36px 0; }
.guide-page .gp-sec--cta .pdf-viewer--panel, .guide-page .gp-dark .pdf-viewer--panel { background: var(--navy-2); padding: 24px 0 0; margin-bottom: 0; }
.guide-page .pdf-viewer__kicker { display: block; font: 500 12px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--white); }
.guide-page .pdf-viewer__head { display: block; font-family: var(--serif); font-size: 26px; line-height: 1.3; color: var(--on-dark); margin: 8px 0 18px; }
.guide-page .pdf-viewer--panel .pdf-viewer__frame { border-color: var(--navy-line); }
.guide-page .pdf-viewer--panel .pdf-viewer__open { background: var(--white); color: var(--navy) !important; }
/* Town relocation pages: copy on the left, the other towns' guides down the right (follows the reader) */
.guide-page .gp-town-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.guide-page .gp-town-main .gp-intro { max-width: none; }
.guide-page .gp-towns { position: sticky; top: 24px; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 22px 22px 18px; }
.admin-bar.guide-page .gp-towns { top: 56px; }
.guide-page .gp-towns__title { font: 500 12px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.guide-page .gp-towns ul { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; }
.guide-page .gp-towns li { margin: 0; }
.guide-page .entry a.gp-town { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); border: 1.5px solid var(--line-soft); border-radius: var(--radius); padding: 8px 12px 8px 8px; transition: border-color .2s; }
.guide-page .entry a.gp-town:hover { border-color: var(--navy-2); }
.guide-page .entry .gp-town__img { width: 76px; height: 58px; object-fit: cover; border-radius: 8px; margin: 0; flex: 0 0 auto; }
.guide-page .gp-town__text { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.guide-page .gp-town__name { font-family: var(--serif); font-size: 19px; line-height: 1.25; }
.guide-page .gp-town__sub { font-size: 12px; line-height: 1.4; color: var(--muted); }
.guide-page .gp-town__arrow { color: var(--muted); }
.guide-page .entry a.gp-towns__all { display: block; text-align: center; text-decoration: none; background: var(--navy); color: var(--white); font-weight: 600; font-size: 14px; border-radius: var(--radius); padding: 12px 16px; }
.guide-page .entry a.gp-towns__all:hover { background: var(--navy-2); }
@media (max-width: 1024px) {
	.guide-page .gp-town-layout { grid-template-columns: 1fr; gap: 40px; }
	.guide-page .gp-towns { position: static; }
}

/* Relocation copy (on /buyers-guide/ until Nov 6 2026, now /relocation-guides/), simplified (Jake, Nov 4 2026): plain opening, a two-column checklist, the four
   phases as plain columns split by thin rules. The navy is kept for the guide panel and the
   closing call to action only. */
.guide-relocation-guides .gp-sec--why-people-are-moving-to-bozeman > ul:not(.gp-checklist) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 40px; margin: 0 0 22px; }
.guide-relocation-guides .gp-sec--why-people-are-moving-to-bozeman > ul:not(.gp-checklist) > li { position: relative; background: none; border: 0; border-radius: 0; padding: 0 0 0 34px; }
.guide-relocation-guides .gp-sec--why-people-are-moving-to-bozeman > ul > li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--navy-2); }
.guide-relocation-guides .gp-sec--why-people-are-moving-to-bozeman > ul > li::after { content: ""; position: absolute; left: 8px; top: 8px; width: 5px; height: 10px; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.guide-relocation-guides .gp-sec--why-people-are-moving-to-bozeman > p:not(:has(img)) { max-width: 780px; }
.guide-relocation-guides .gp-sec--why-people-are-moving-to-bozeman img { width: 100%; height: 280px; object-fit: cover; margin: 8px 0 0; }
/* The four phases as stacked rows, a smaller take on the /our-method/ phase sections: a faded
   number and the phase name on the left, its points on the right, rows alternating white */
/* Phase rows, shared by /buyers-guide/ and the luxury selling page: the faded number and phase
   name on the left (the number is drawn by the heading), everything else for that phase on the
   right, rows alternating white */
.guide-relocation-guides .gp-sec--the-montana-move-method-for-relocation, .guide-selling-luxury-homes-bozeman .gp-sec--the-montana-move-method-for-luxury-listi { counter-reset: phase; }
.guide-page .gp-sub--phase { counter-increment: phase; display: grid; grid-template-columns: 240px minmax(0, 1fr); column-gap: 40px; row-gap: 0; align-items: start; padding: 28px 32px; border-radius: var(--radius); }
.guide-page .gp-sub--phase:nth-of-type(odd) { background: var(--white); border: 1.5px solid var(--line-soft); }
.guide-page .gp-sub--phase > h3 { grid-column: 1; grid-row: 1 / span 8; font-size: 22px; line-height: 1.3; color: var(--navy-2); margin: 0; }
.guide-page .gp-sub--phase > h3::before { content: counter(phase, decimal-leading-zero); display: block; font-family: var(--serif); font-size: 56px; line-height: .9; color: var(--tint); margin-bottom: 10px; }
.guide-page .gp-sub--phase:nth-of-type(odd) > h3::before { color: var(--line-light); }
.guide-page .gp-sub--phase > :not(h3) { grid-column: 2; margin: 0; }
.guide-page .gp-sub--phase > :not(h3) + :not(h3) { margin-top: 12px; }
.guide-page .gp-sub--phase p { font-size: 16px; line-height: 1.6; }
.guide-page .gp-sub--phase ul { padding-left: 1.1em; font-size: 16px; display: block; }
.guide-page .gp-sub--phase li { line-height: 1.6; margin-bottom: 8px; background: none; border: 0; padding: 0; }
.guide-page .gp-sub--phase li:last-child { margin-bottom: 0; }
.guide-page .gp-sub--phase li p { margin: 0; }
.guide-page .gp-sub--phase + .gp-sub--phase { margin-top: 10px; }
.guide-selling-luxury-homes-bozeman .gp-sec--the-montana-move-method-for-luxury-listi > p { color: var(--muted); }
.guide-relocation-guides .gp-sec--the-montana-move-method-for-relocation > .gp-sub:not(.gp-sub--phase) { margin-top: 48px; max-width: 860px; }
/* The town cards have no heading of their own, so they land in this last block: let it run full width
   for the cards while its text keeps the reading width (Jake, Nov 6 2026) */
.guide-relocation-guides .gp-sec--the-montana-move-method-for-relocation > .gp-sub:not(.gp-sub--phase):has(.teasers) { max-width: none; }
.guide-relocation-guides .gp-sec--the-montana-move-method-for-relocation > .gp-sub:has(.teasers) > :not(.teasers):not(:has(.teasers)) { max-width: 860px; }
.guide-relocation-guides .gp-sec--the-montana-move-method-for-relocation > .gp-sub:not(.gp-sub--phase) ul { padding-left: 1.2em; }
.guide-relocation-guides .gp-sec--the-montana-move-method-for-relocation > .gp-sub:not(.gp-sub--phase) li p { margin: 0; }
.guide-relocation-guides .gp-sec--the-montana-move-method-for-relocation .pdf-viewer--panel { max-width: none; }
@media (max-width: 1024px) {
	.guide-page .gp-sub--phase { grid-template-columns: 1fr; padding: 22px; }
	.guide-page .gp-sub--phase > h3, .guide-page .gp-sub--phase > :not(h3) { grid-column: 1; grid-row: auto; }
}
@media (max-width: 640px) {
	.guide-relocation-guides .gp-sec--why-people-are-moving-to-bozeman > ul:not(.gp-checklist) { grid-template-columns: 1fr; }
}

/* /buying/: what's in the guide as check cards, who it's for as a navy checklist */
.guide-buying .gp-sec--what-youll-learn-in-the-guide { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.guide-buying .gp-sec--what-youll-learn-in-the-guide > h2 { grid-column: 1 / -1; }
.guide-buying .gp-sec--what-youll-learn-in-the-guide > .gp-sub { position: relative; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 22px 24px 8px 70px; }
.guide-buying .gp-sec--what-youll-learn-in-the-guide > .gp-sub::before { content: ""; position: absolute; left: 22px; top: 24px; width: 32px; height: 32px; border-radius: 50%; background: var(--navy-2); }
.guide-buying .gp-sec--what-youll-learn-in-the-guide > .gp-sub::after { content: ""; position: absolute; left: 34px; top: 31px; width: 7px; height: 13px; border: solid var(--white); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.guide-buying .gp-sec--what-youll-learn-in-the-guide h3 { font-size: 21px; }
.guide-buying .gp-sec--what-youll-learn-in-the-guide p { font-size: 16px; line-height: 28px; }
.guide-buying .gp-sec--who-is-this-guide-for { background: var(--navy); color: var(--on-dark); border-radius: var(--radius); padding: 44px; }
.guide-buying .gp-sec--who-is-this-guide-for h2 { color: var(--on-dark); }
.guide-buying .gp-checklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px 28px; }
.guide-buying .gp-checklist li { position: relative; padding-left: 36px; color: var(--on-dark); }
.guide-buying .gp-checklist li::before { content: ""; position: absolute; left: 0; top: 5px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); }
.guide-buying .gp-checklist li::after { content: ""; position: absolute; left: 8px; top: 9px; width: 5px; height: 10px; border: solid var(--navy); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.guide-buying .gp-checklist strong, .guide-buying .gp-checklist em { color: var(--white); font-weight: 500; }
.guide-buying .gp-sec--why-work-with-me { border-left: 4px solid var(--navy-2); padding-left: 28px; }

/* /seller-guide/ "Why sellers need more than a salesperson": heading and lead-in on the left; the
   three things as one numbered panel on the right (not separate boxes, which read like links) */
.guide-seller-guide .gp-sec--why-bozeman-sellers-need-more-than-a-sal { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 56px; align-items: center; }
.guide-seller-guide .gp-sec--why-bozeman-sellers-need-more-than-a-sal > h2 { grid-column: 1; grid-row: 1; align-self: end; }
.guide-seller-guide .gp-sec--why-bozeman-sellers-need-more-than-a-sal > p { grid-column: 1; grid-row: 2; align-self: start; color: var(--muted); margin: 0; }
.guide-seller-guide .gp-sec--why-bozeman-sellers-need-more-than-a-sal > ul:not(.gp-checklist) { grid-column: 2; grid-row: 1 / span 2; display: block; counter-reset: why; margin: 0; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 8px 28px; }
.guide-seller-guide .gp-sec--why-bozeman-sellers-need-more-than-a-sal > ul:not(.gp-checklist) > li { counter-increment: why; position: relative; background: none; border: 0; border-radius: 0; padding: 20px 0 20px 56px; font-size: 17px; line-height: 1.5; }
.guide-seller-guide .gp-sec--why-bozeman-sellers-need-more-than-a-sal > ul > li + li { border-top: 1px solid var(--line-soft); }
.guide-seller-guide .gp-sec--why-bozeman-sellers-need-more-than-a-sal > ul > li::before { content: counter(why); position: absolute; left: 0; top: 50%; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%; background: var(--navy-2); color: var(--white); font: 600 15px/36px var(--sans); text-align: center; }
.guide-seller-guide .gp-sec--why-bozeman-sellers-need-more-than-a-sal > ul > li p { margin: 0; line-height: 1.5; }
.guide-seller-guide .gp-sec--why-bozeman-sellers-need-more-than-a-sal > :not(h2):not(p):not(ul) { grid-column: 1 / -1; grid-row: 3; }    /* the guide panel, full width below */
@media (max-width: 900px) {
	.guide-seller-guide .gp-sec--why-bozeman-sellers-need-more-than-a-sal { grid-template-columns: 1fr; }
	.guide-seller-guide .gp-sec--why-bozeman-sellers-need-more-than-a-sal > * { grid-column: 1 !important; grid-row: auto !important; }
	.guide-seller-guide .gp-sec--why-bozeman-sellers-need-more-than-a-sal > p { margin-bottom: 22px; }
}

/* Luxury "My Role as Your Strategic Advisor": the same numbered panel as the seller guide's reasons */
.guide-selling-luxury-homes-bozeman .gp-sec--my-role-as-your-strategic-advisor { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 56px; align-items: center; }
.guide-selling-luxury-homes-bozeman .gp-sec--my-role-as-your-strategic-advisor > h2 { grid-column: 1; grid-row: 1; align-self: end; }
.guide-selling-luxury-homes-bozeman .gp-sec--my-role-as-your-strategic-advisor > p:first-of-type { grid-column: 1; grid-row: 2; align-self: start; color: var(--muted); margin: 0; }
.guide-selling-luxury-homes-bozeman .gp-sec--my-role-as-your-strategic-advisor > ul:not(.gp-checklist) { grid-column: 2; grid-row: 1 / span 2; display: block; counter-reset: role; margin: 0; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 8px 28px; }
.guide-selling-luxury-homes-bozeman .gp-sec--my-role-as-your-strategic-advisor > ul:not(.gp-checklist) > li { counter-increment: role; position: relative; background: none; border: 0; border-radius: 0; padding: 20px 0 20px 56px; font-size: 17px; line-height: 1.5; }
.guide-selling-luxury-homes-bozeman .gp-sec--my-role-as-your-strategic-advisor > ul > li + li { border-top: 1px solid var(--line-soft); }
.guide-selling-luxury-homes-bozeman .gp-sec--my-role-as-your-strategic-advisor > ul > li::before { content: counter(role); position: absolute; left: 0; top: 50%; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%; background: var(--navy-2); color: var(--white); font: 600 15px/36px var(--sans); text-align: center; }
.guide-selling-luxury-homes-bozeman .gp-sec--my-role-as-your-strategic-advisor > ul > li p { margin: 0; line-height: 1.5; }
.guide-selling-luxury-homes-bozeman .gp-sec--my-role-as-your-strategic-advisor > :not(h2):not(ul):not(p:first-of-type) { grid-column: 1 / -1; }    /* the guide line and panel, full width below */
.guide-selling-luxury-homes-bozeman .gp-sec--my-role-as-your-strategic-advisor > p:nth-of-type(2) { margin: 40px 0 0; }
@media (max-width: 900px) {
	.guide-selling-luxury-homes-bozeman .gp-sec--my-role-as-your-strategic-advisor { grid-template-columns: 1fr; }
	.guide-selling-luxury-homes-bozeman .gp-sec--my-role-as-your-strategic-advisor > * { grid-column: 1 !important; grid-row: auto !important; }
	.guide-selling-luxury-homes-bozeman .gp-sec--my-role-as-your-strategic-advisor > p:first-of-type { margin-bottom: 22px; }
}

/* /seller-guide/: tools as described link cards */
.guide-seller-guide .gp-sec--seller-tools-resources > ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.guide-seller-guide .gp-sec--seller-tools-resources > ul > li { display: flex; flex-direction: column; gap: 4px; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.guide-seller-guide .gp-sec--seller-tools-resources a { font-weight: 600; color: var(--navy-2); text-decoration: none; }
.guide-seller-guide .gp-sec--seller-tools-resources em { font-style: normal; font-size: 14px; line-height: 1.5; color: var(--muted); }
/* The whole card is the link: the link stretches over its card; title and description on their own lines (the " - " between them is hidden) */
.guide-seller-guide .gp-sec--seller-tools-resources > ul > li { position: relative; transition: border-color .2s; }
.guide-seller-guide .gp-sec--seller-tools-resources > ul > li:hover { border-color: var(--navy-2); }
.guide-seller-guide .gp-sec--seller-tools-resources > ul > li > p { font-size: 0; line-height: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.guide-seller-guide .gp-sec--seller-tools-resources > ul > li a { font-size: 17px; line-height: 1.4; }
.guide-seller-guide .gp-sec--seller-tools-resources > ul > li a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.guide-seller-guide .gp-sec--seller-tools-resources > ul > li a:focus-visible::after { outline: 2px solid var(--navy-2); outline-offset: 2px; }
.guide-seller-guide .gp-sec--seller-tools-resources > ul > li em { display: block; }

/* /sell/: what to expect as numbered cards, the consultation form in a white card */
.guide-sell .gp-intro { max-width: none; }
.guide-sell .gp-intro > .gp-sub { max-width: 860px; }
.guide-sell .gp-intro > .gp-sub:first-of-type { margin-top: 40px; }
.guide-sell .gp-intro .gp-sub > ul { counter-reset: expect; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.guide-sell .gp-intro .gp-sub > ul > li { counter-increment: expect; position: relative; padding-top: 52px; }
.guide-sell .gp-intro .gp-sub > ul > li::before { content: counter(expect, decimal-leading-zero); position: absolute; left: 22px; top: 16px; font-family: var(--serif); font-size: 26px; color: var(--navy-2); }
.guide-sell .gp-intro .gp-sub:has(> ul) { max-width: none; }
.guide-sell .gp-sec--lets-start-with-a-real-conversation { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 40px 44px; }
.guide-sell .gp-sec--lets-start-with-a-real-conversation .lead-form + p { font-size: 11px; line-height: 1.6; letter-spacing: .02em; color: var(--muted); }

/* Luxury selling: buyer motivations and the advisor role as cards, the phases on a navy band */
/* "Understanding the luxury buyer": copy and a plain two-column checklist on the left, the photo on the right */
.guide-selling-luxury-homes-bozeman .gp-sec--understanding-the-luxury-buyer-in-bozema { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: 56px; align-items: start; }
.guide-selling-luxury-homes-bozeman .gp-sec--understanding-the-luxury-buyer-in-bozema > :not(p:has(img)) { grid-column: 1; }
.guide-selling-luxury-homes-bozeman .gp-sec--understanding-the-luxury-buyer-in-bozema > p:has(img) { grid-column: 2; grid-row: 1 / span 5; align-self: stretch; margin: 0; }
.guide-selling-luxury-homes-bozeman .gp-sec--understanding-the-luxury-buyer-in-bozema img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; margin: 0; }
.guide-selling-luxury-homes-bozeman .gp-sec--understanding-the-luxury-buyer-in-bozema > ul:not(.gp-checklist) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; margin: 4px 0 24px; }
.guide-selling-luxury-homes-bozeman .gp-sec--understanding-the-luxury-buyer-in-bozema > ul:not(.gp-checklist) > li { position: relative; background: none; border: 0; border-radius: 0; padding: 0 0 0 34px; }
.guide-selling-luxury-homes-bozeman .gp-sec--understanding-the-luxury-buyer-in-bozema > ul > li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--navy-2); }
.guide-selling-luxury-homes-bozeman .gp-sec--understanding-the-luxury-buyer-in-bozema > ul > li::after { content: ""; position: absolute; left: 8px; top: 8px; width: 5px; height: 10px; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.guide-selling-luxury-homes-bozeman .gp-sec--understanding-the-luxury-buyer-in-bozema > p:not(:has(img)):last-of-type { color: var(--muted); }
@media (max-width: 900px) {
	.guide-selling-luxury-homes-bozeman .gp-sec--understanding-the-luxury-buyer-in-bozema { grid-template-columns: 1fr; }
	.guide-selling-luxury-homes-bozeman .gp-sec--understanding-the-luxury-buyer-in-bozema > * { grid-column: 1 !important; grid-row: auto !important; }
	.guide-selling-luxury-homes-bozeman .gp-sec--understanding-the-luxury-buyer-in-bozema img { height: 260px; min-height: 0; }
}

/* /relocation-guides/ and /retirement-guide/: the subtitle as a lead, retirement questions as cards */
.guide-relocation-guides .gp-sec:first-child, .guide-retirement-guide .gp-sec:first-child { margin-top: 0; }
.guide-relocation-guides .gp-sec > h2 + p, .guide-retirement-guide .gp-sec > h2 + p { font-family: var(--serif); font-size: 22px; line-height: 1.5; color: var(--navy-2); }
.guide-relocation-guides .gp-sec > h2 + p strong, .guide-retirement-guide .gp-sec > h2 + p strong { font-weight: 400; }
.guide-retirement-guide .gp-sub:not(.gp-sub--links) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 48px; }
.guide-retirement-guide .gp-sub:not(.gp-sub--links) > h3 { grid-column: 1 / -1; }
.guide-retirement-guide .gp-sub:not(.gp-sub--links) > p:has(strong) { margin: 0; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 20px 22px; font-size: 15px; line-height: 1.6; }
.guide-retirement-guide .gp-sub > p strong { display: block; font-size: 16px; color: var(--navy-2); margin-bottom: 6px; }
.guide-retirement-guide .gp-sub > p:not(:has(strong)) { grid-column: 1 / -1; margin-top: 24px; }
/* The town photo grid: full width (on the retirement page it sits inside the questions block), all four towns in one row */
.guide-retirement-guide .gp-sub > .teasers, .guide-retirement-guide .gp-sub > :has(.teasers) { grid-column: 1 / -1; }
.guide-relocation-guides .entry .teasers--3-col, .guide-retirement-guide .entry .teasers--3-col { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 24px 0 0; }
.guide-relocation-guides .entry a.teaser .teaser__img img, .guide-retirement-guide .entry a.teaser .teaser__img img { height: 240px; }
@media (max-width: 900px) {
	.guide-relocation-guides .entry .teasers--3-col, .guide-retirement-guide .entry .teasers--3-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* /relocation-guides/ has five towns since Gallatin Valley was added (Nov 6 2026): one row on desktop,
   and on smaller screens a short last row is centered */
.guide-relocation-guides .entry .teasers--3-col { display: flex; flex-wrap: wrap; justify-content: center; }
.guide-relocation-guides .entry .teasers--3-col > a.teaser { flex: 0 1 calc((100% - 4 * 16px) / 5); min-width: 0; }
.guide-relocation-guides .block--communities .teaser__headline, .guide-relocation-guides .entry .teaser__headline { font-size: 22px; }
.guide-relocation-guides .entry a.teaser .teaser__img img { height: 220px; }
.guide-relocation-guides .entry a.teaser .teaser__content { flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px 18px; }    /* "Explore" under the name, not beside it, on the narrower cards */
/* The page's lead-in rule (serif navy text after each H2) mustn't reach the navy "Ready to start" box */
.guide-relocation-guides .gp-sec--cta > h2 + p { font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--muted-dark); }
@media (max-width: 1100px) { .guide-relocation-guides .entry .teasers--3-col > a.teaser { flex-basis: calc((100% - 2 * 16px) / 3); } }
@media (max-width: 760px) { .guide-relocation-guides .entry .teasers--3-col > a.teaser { flex-basis: calc((100% - 16px) / 2); } }
/* Its four Helpful Tools links in one row (two on smaller screens), not three and a stray. (A centered
   920px column was tried here on Nov 6 2026 and reverted at Jake's call: the full-width layout read better.) */
.guide-relocation-guides .gp-sec--links > ul:not(.gp-checklist) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .guide-relocation-guides .gp-sec--links > ul:not(.gp-checklist) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .guide-relocation-guides .gp-sec--links > ul:not(.gp-checklist) { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .guide-relocation-guides .entry .teasers--3-col > a.teaser { flex-basis: 100%; } }
/* /buyers-guide/: a short overview of the Buyer's Guide PDF (Jake, Nov 6 2026). A large serif lead, the
   guide's contents as numbered cards, the eight steps as numbered tiles, then Chase's "best time to buy"
   answer as a navy quote band before the closing call to action. */
.guide-buyers-guide .gp-intro > p { max-width: 780px; }
.guide-buyers-guide .gp-intro > p:first-child { font-family: var(--sans); font-weight: 300; font-size: 23px; line-height: 1.55; color: var(--navy-2); max-width: 900px; margin-bottom: 22px; }    /* not Cinzel: it has no lowercase, so a paragraph in it reads as shouting */
.guide-buyers-guide .gp-sec--whats-in-the-buyers-guide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: inside; }
.guide-buyers-guide .gp-sec--whats-in-the-buyers-guide > h2 { grid-column: 1 / -1; margin-bottom: 8px; }
.guide-buyers-guide .gp-sec--whats-in-the-buyers-guide > .gp-sub { counter-increment: inside; margin: 0; padding: 26px 26px 24px; background: var(--white); border: 1.5px solid var(--line); border-top: 3px solid var(--navy-2); border-radius: var(--radius); }
.guide-buyers-guide .gp-sec--whats-in-the-buyers-guide > .gp-sub::before { content: counter(inside, decimal-leading-zero); display: block; font-family: var(--serif); font-size: 38px; line-height: 1; color: var(--line-light); margin-bottom: 14px; }
.guide-buyers-guide .gp-sec--whats-in-the-buyers-guide > .gp-sub h3 { font-size: 21px; line-height: 1.3; margin: 0 0 10px; }
.guide-buyers-guide .gp-sec--whats-in-the-buyers-guide > .gp-sub p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--muted); }
.entry ol.bg-steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: step; }
.entry ol.bg-steps > li { counter-increment: step; display: flex; align-items: center; gap: 14px; margin: 0; padding: 16px 18px; background: var(--white); border: 1.5px solid var(--line-soft); border-radius: var(--radius); font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.entry ol.bg-steps > li::before { content: counter(step); flex: none; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy-2); color: var(--white); font-family: var(--serif); font-size: 19px; font-weight: 400; }
.guide-buyers-guide .gp-sec--how-buying-a-home-works > ol + p { margin: 18px 0 0; color: var(--muted); max-width: 780px; }
.guide-buyers-guide .gp-sec--when-is-the-best-time-to-buy { position: relative; background: var(--white); border: 1.5px solid var(--line-soft); border-left: 5px solid var(--navy-2); border-radius: var(--radius); padding: 44px 56px 40px 72px; }    /* white, so it doesn't run into the navy call to action below it */
.guide-buyers-guide .gp-sec--when-is-the-best-time-to-buy > h2 { color: var(--muted); font: 500 13px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; margin: 0 0 18px; }
.guide-buyers-guide .gp-sec--when-is-the-best-time-to-buy > p { position: relative; margin: 0; max-width: 920px; font-family: var(--sans); font-weight: 300; font-size: 24px; line-height: 1.55; color: var(--ink); }
.guide-buyers-guide .gp-sec--when-is-the-best-time-to-buy > p::before { content: "\201C"; position: absolute; left: -38px; top: -14px; font-family: var(--serif); font-size: 72px; line-height: 1; color: var(--line-light); }
.guide-buyers-guide .gp-sec--when-is-the-best-time-to-buy > p::after { content: "Chase Heiland"; display: block; margin-top: 18px; font: 600 14px/1.4 var(--sans); letter-spacing: .08em; color: var(--navy-2); }
@media (max-width: 1024px) { .guide-buyers-guide .gp-sec--whats-in-the-buyers-guide { grid-template-columns: repeat(2, minmax(0, 1fr)); } .entry ol.bg-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
	.guide-buyers-guide .gp-intro > p:first-child { font-size: 21px; }
	.guide-buyers-guide .gp-sec--whats-in-the-buyers-guide, .entry ol.bg-steps { grid-template-columns: 1fr; }
	.guide-buyers-guide .gp-sec--when-is-the-best-time-to-buy { padding: 36px 24px 32px; }
	.guide-buyers-guide .gp-sec--when-is-the-best-time-to-buy > p { font-size: 20px; }
	.guide-buyers-guide .gp-sec--when-is-the-best-time-to-buy > p::before { position: static; display: block; height: 34px; }
}

@media (max-width: 1024px) {

}
@media (max-width: 640px) {
	.guide-page .gp-sec > h2 { font-size: 28px; }
	.guide-page .gp-intro > p:first-of-type:not(.gp-eyebrow), .guide-page .gp-eyebrow + p { font-size: 20px; }
	.guide-buying .gp-sec--who-is-this-guide-for, .guide-page .gp-sec--cta, .guide-sell .gp-sec--lets-start-with-a-real-conversation { padding: 28px 22px; }
	.guide-retirement-guide .gp-sub:not(.gp-sub--links) { grid-template-columns: 1fr; }
	.guide-page .pdf-viewer--panel { padding: 22px; }
}

/* ---------- Blog post (single.php), concept E ---------- */
.post-hero { background: var(--navy-2); color: var(--on-dark); padding: 56px 0 96px; }    /* a step lighter than the header, so the two read apart */
/* Posts share the site's 1180px column (article 760px, sidebar 340px, as .with-sidebar sets) */
.post-hero__title, .post-hero__byline { max-width: 900px; }
.post-hero .page-hero__kicker a { color: var(--white); text-decoration: none; }
.post-hero .page-hero__kicker a:hover { text-decoration: underline; }
.post-hero__title { color: var(--on-dark); font-size: 52px; line-height: 1.2; margin: 6px 0 18px; }
.post-hero__byline { font-size: 14px; color: var(--muted-dark); margin: 0; }
.site-main--post { padding-top: 0; }
.entry--post > .post-hero__media { margin: -56px 0 36px; }    /* overlaps the navy band */
.entry--post .post-hero__img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius); margin: 0; box-shadow: 0 12px 32px rgba(14, 27, 44, .25); }
/* Post sidebar: the author card scrolls away; the contents list and guide card follow the reader
   as one group that never gets taller than the window. The guide card keeps its size and the
   contents list takes the rest, scrolling inside its box when it's long. */
.with-sidebar > .sidebar--post { position: static; align-self: stretch; }
.sidebar--post .author-card { margin-bottom: 24px; }
.sidebar__follow { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 24px; max-height: calc(100vh - 48px); }
.admin-bar .sidebar__follow { top: 56px; max-height: calc(100vh - 80px); }
.sidebar__follow > nav.sidebar__box { margin: 0; flex: 0 1 auto; min-height: 120px; display: flex; flex-direction: column; overflow: hidden; }
.sidebar--post nav.sidebar__box li a:hover { color: var(--navy-2); text-decoration: underline; text-underline-offset: 3px; }
.sidebar__follow > nav.sidebar__box ul { flex: 1 1 auto; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line-light) transparent; padding-right: 14px; margin-right: -10px; }
.sidebar--post nav.sidebar__box li a { gap: 14px; align-items: flex-start; font-size: 14px; line-height: 1.45; padding: 10px 0; }
.sidebar--post nav.sidebar__box li a::after { flex: 0 0 auto; line-height: 1.45; }
.sidebar__follow > .guide-card { margin: 0; flex: 0 0 auto; }
@media (max-width: 1100px) { .sidebar__follow { position: static; max-height: none; } }
.site-main--post .sidebar--post { padding-top: 36px; }
.entry--post h2 { scroll-margin-top: 72px; }
/* Post body: reading sizes, smaller than page headings */
.entry--post { font-size: 17px; }
.entry--post p, .entry--post li { line-height: 31px; }
.entry--post p { margin-bottom: 22px; }
.entry--post h2 { font-size: 32px; line-height: 1.3; margin: 52px 0 16px; }
.entry--post h3 { font-size: 24px; line-height: 1.35; margin: 36px 0 12px; }
.entry--post h4 { font: 600 13px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 36px 0 12px; }
.entry--post > .post-hero__media + h2, .entry--post > .post-hero__media + h3, .entry--post > .post-hero__media + h4 { margin-top: 0; }
.entry--post ul, .entry--post ol { margin: 0 0 24px; padding-left: 1.4em; }
.entry--post li { margin-bottom: 8px; }
.entry--post li::marker { color: var(--navy-2); }
.entry--post strong { font-weight: 600; color: var(--ink); }
.entry--post hr { border: 0; border-top: 1px solid var(--line-soft); margin: 44px 0; }
.entry--post > br { display: none; }    /* stray line breaks REW left after each video */
.entry--post img { border-radius: var(--radius); }
/* REW wrapped each video in a fixed-ratio box; the theme's player already keeps 16:9 */
.entry div[style*="padding-bottom"] { position: static !important; height: auto !important; padding-bottom: 0 !important; overflow: visible !important; }
.entry--post .yt { margin: 32px 0 12px; }
.entry--post .yt + p, .entry--post div[style*="padding-bottom"] + p { font-size: 14px; line-height: 1.6; color: var(--muted); }
/* "The short version" summary near the top of the post, wrapped as a card by the importer */
.entry--post .lib-short-version { margin: 32px 0 8px; padding: 28px 30px 8px; background: var(--navy); color: var(--on-dark); border-radius: var(--radius); }
.entry--post .lib-short-version h4 { margin: 0 0 12px; color: var(--white); }
.entry--post .lib-short-version p { font-size: 16px; line-height: 28px; margin-bottom: 18px; color: var(--on-dark); }
.entry--post .lib-short-version strong, .entry--post .lib-short-version b { color: var(--white); }
.entry--post .lib-short-version a { color: var(--white); }
.entry--post .internal-links { margin-top: 40px; }
.entry--post .internal-links a { font-size: 15px; line-height: 1.5; }
.guide-card { margin-bottom: 24px; background: var(--navy); color: var(--on-dark); border-radius: var(--radius); padding: 26px 24px; }
.guide-card__kicker { font: 500 12px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--white); margin: 0 0 10px; }
.guide-card__title { font-family: var(--serif); font-size: 24px; line-height: 1.3; color: var(--on-dark); margin: 0 0 18px; }
.guide-card__button { display: block; text-align: center; }
.author-card { display: flex; gap: 14px; align-items: center; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.author-card__photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin: 0; flex: 0 0 64px; }
.author-card__name { font-weight: 600; margin: 0; }
.author-card__role { font-size: 13px; line-height: 1.4; color: var(--muted); margin: 0; }
.keep-reading { background: var(--white); border-top: 1px solid var(--line-soft); padding: 64px 0; }
.keep-reading .card { background: var(--ground); }
@media (max-width: 768px) {
	.post-hero { padding: 40px 0 72px; }
	.post-hero__title { font-size: 34px; }
	.entry--post .post-hero__img { height: 240px; }
	.entry--post > .post-hero__media { margin-top: -40px; }
}

/* Blog cards */
.post-card { display: grid; grid-template-columns: 260px 1fr; gap: 24px; padding: 20px; margin: 0 0 20px; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); }
.post-card__img img { margin: 0; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; }
.post-card__title { font-size: 24px; line-height: 1.3; margin: 0 0 6px; }
.post-card__title a { text-decoration: none; color: var(--ink); }
.post-card__meta { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.post-card__more { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none !important; color: var(--navy-2); }
.pagination { display: flex; gap: 12px; font-size: 14px; }
.pagination .current { font-weight: 600; }

/* ---------- Home page sections (REW markup carried over in the migrated copy) ---------- */
.site-main--home .entry > section, .site-main--home .entry > .listings-block { padding: 80px 0; }
.site-main--home .listings-block { max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.cta--background-light { background: var(--white); border-bottom: 1px solid var(--line-soft); }
.cta--home-worth { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta--home-worth h3 { font-size: 38px; margin: 0 0 4px; }
.cta--home-worth p { margin: 0; color: var(--muted); }
.cta--home-worth .lib-placeholder { margin: 0; flex: 0 1 460px; }
.block--lightest { background: var(--ground); }
.block--darkest { background: var(--navy); color: var(--on-dark); }
.block--darkest h2, .block--darkest h3 { color: var(--on-dark); }
.teasers { display: grid; gap: 20px; }
.teasers--2-col { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.teasers--3-col { grid-template-columns: repeat(3, 1fr); }
.about-chase .teaser__content img { margin: 0; width: 100%; }
.about-chase h2 { font-size: 42px; }
.communities-header { padding-bottom: 0 !important; text-align: center; }
.headline--large { font-size: 42px; }
.block--darkest.block--communities { background: transparent; color: var(--ink); padding-top: 32px !important; }    /* E: the town photos sit on the page, not in a dark box */
.block--communities .teasers a, .block--communities a.teaser { position: relative; display: block; color: var(--on-dark); text-decoration: none; overflow: hidden; background: var(--navy); border-radius: var(--radius); }
.block--communities .teaser__img img { margin: 0; width: 100%; height: 300px; object-fit: cover; border-radius: 0; transition: transform .4s; }
.block--communities a:hover .teaser__img img { transform: scale(1.04); }
.block--communities .teaser__content { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; background: linear-gradient(transparent, rgba(14, 27, 44, .92)); }
.block--communities .teaser__content::after { content: "Explore →"; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--white); white-space: nowrap; }
.block--communities .teaser__headline { color: var(--on-dark); font-size: 28px; margin: 0; }
.block--communities .teaser__kicker:empty { display: none; }
.block--communities .button--large { margin-top: 32px; }
.communities-more { text-align: center; margin-top: 36px; }    /* home: "View all" moved under the town photos (templates/home.php) */
.communities-more .button--large { margin-top: 0; }

/* Home: Downtown, South, North and West Bozeman and Belgrade, each card a link to its page (inc/youtube.php).
   Five cards: one row on desktop; on smaller screens a short last row is centered. */
.home-areas { padding: 72px 0 8px; }
.home-areas__head { text-align: center; margin-bottom: 32px; }
.home-areas__head h2 { margin: 0; }
.home-areas__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.home-area { flex: 0 1 calc((100% - 4 * 16px) / 5); min-width: 0; display: flex; flex-direction: column; gap: 10px; min-height: 140px; padding: 24px 22px 22px; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: border-color .2s, background .2s; }
.entry a.home-area, .entry a.home-area * { text-decoration: none; }    /* the band sits inside the page copy, whose links are underlined */
.home-area:hover, .home-area:focus-visible { border-color: var(--navy-2); background: #fbfcfd; }
.home-area__name { font-family: var(--serif); font-size: 22px; line-height: 1.25; color: var(--ink); }
.home-area__desc { font-size: 14px; line-height: 1.55; color: var(--muted); }
.home-area__link { margin-top: auto; padding-top: 8px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-2); }
.entry a.home-area:hover .home-area__link { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1100px) { .home-area { flex-basis: calc((100% - 2 * 16px) / 3); } }
@media (max-width: 760px) { .home-area { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 600px) { .home-areas { padding-top: 56px; } .home-area { flex-basis: 100%; min-height: 0; } }

/* Home: latest posts and the free guides band (templates/home.php) */
/* Home: the two newest YouTube videos (inc/youtube.php) */
.home-videos { background: var(--navy); color: var(--on-dark); padding: 80px 0; }
.home-videos__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 28px; }
.home-videos .kicker { color: var(--muted-dark); }
.home-videos h2 { color: var(--on-dark); margin: 0; }
.home-videos__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.home-video { margin: 0; }
.home-video .yt { margin: 0 0 14px; box-shadow: 0 12px 32px rgba(0, 0, 0, .35); }
.home-video figcaption { display: flex; flex-direction: column; gap: 4px; }
.home-video__title { font-family: var(--serif); font-size: 21px; line-height: 1.35; color: var(--on-dark); }
.home-video time { font-size: 13px; color: var(--muted-dark); }
@media (max-width: 760px) { .home-videos { padding: 56px 0; } .home-videos__grid { grid-template-columns: 1fr; } }
/* The same band under any page (inc/page-videos.php): one video sits centered at half width */
.page-videos--one .home-videos__grid { grid-template-columns: minmax(0, 560px); justify-content: center; }
.page-videos { scroll-margin-top: var(--header-h, 88px); }
/* "Want to learn more? Check out these videos on …" below the page's description, jumping to the band */
.method-what .page-videos-jump a { color: var(--navy-2); font-weight: 600; text-underline-offset: 4px; }
.entry .page-videos-jump { margin: 8px 0 32px; font-size: 17px; line-height: 1.5; color: var(--ink); }
.entry .page-videos-jump a { color: var(--navy-2); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.entry .page-videos-jump a:hover { color: var(--navy); text-decoration-thickness: 2px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.home-journal { padding: 88px 0; }
.home-journal__head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }
.home-journal__head h2 { margin: 0; }
.home-journal__all { font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--navy-2); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { display: block; text-decoration: none; color: var(--ink); background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s; }
.card:hover { border-color: var(--navy-2); }
.card__img { width: 100%; height: 200px; object-fit: cover; background: var(--tint); }
.card__body { display: block; padding: 20px 22px; }
.card__kicker { display: block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.card__title { display: block; font-weight: 600; font-size: 18px; line-height: 26px; margin-top: 8px; }
.home-guides { background: var(--navy-2); color: var(--on-dark); padding: 72px 0; }
.home-guides__inner { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.home-guides__text { flex: 1 1 420px; }
.home-guides__text .kicker { color: var(--white); }
.home-guides__text h2 { color: var(--on-dark); font-size: 36px; margin: 0 0 10px; }
.home-guides__text p { margin: 0; color: var(--muted-dark); font-size: 15px; line-height: 26px; }
.home-guides__links { flex: 1 1 420px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.home-guides__links a { text-decoration: none; color: var(--on-dark); background: var(--navy); border: 1.5px solid var(--navy-line); border-radius: var(--radius); padding: 16px 18px; font-size: 14px; }
.home-guides__links a:hover { border-color: var(--white); }
.home-guides__links a.is-featured { background: var(--white); color: var(--navy); border-color: var(--white); font-weight: 600; }
.home-guides__links a.is-featured:hover, .home-guides__links a.is-featured:focus { border-color: var(--white); box-shadow: inset 0 0 0 3px var(--white), inset 0 0 0 5px var(--navy); }

/* Reviews carousel (no rating markup; stars are decoration only) */
.reviews { max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 80px var(--gutter); }
.reviews__head { display: flex; justify-content: space-between; align-items: center; padding: 24px; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); margin-bottom: 20px; }
.reviews__label { font-size: 14px; font-weight: 600; }
.reviews__score { font-size: 28px; line-height: 1.3; }
.reviews__score .stars, .review .stars { color: var(--navy-2); letter-spacing: 2px; }
.reviews__based { font-size: 13px; color: var(--muted); }
.reviews__tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.reviews__tab { font: 600 13px var(--sans); border: 1.5px solid var(--line); background: var(--white); color: var(--ink); border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.reviews__tab span { color: var(--muted); font-weight: 400; margin-left: 4px; }
.reviews__tab[aria-selected="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.reviews__tab[aria-selected="true"] span { color: var(--muted-dark); }
.reviews__viewport { position: relative; }
/* Score box on the left half, source pills on the right (Chase, Nov 14 2026) */
.reviews__bar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: center; margin-bottom: 20px; }
.reviews__bar .reviews__head, .reviews__bar .reviews__tabs { margin-bottom: 0; }
.reviews__bar .reviews__tabs { justify-content: flex-end; }
@media (max-width: 860px) { .reviews__bar { grid-template-columns: 1fr; } .reviews__bar .reviews__tabs { justify-content: flex-start; } }
.reviews__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.reviews__track::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.6; }
.review[hidden] { display: none; }
.review header { display: flex; gap: 12px; align-items: center; }
.review__avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--navy-2); color: var(--white); display: grid; place-items: center; font-weight: 600; }
.review__name { display: block; font-weight: 600; }
.review time { font-size: 12px; color: var(--muted); }
.review__context { font-size: 12px; color: var(--muted); margin: 0; }
.review__text { margin: 0; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.review.is-open .review__text { display: block; }
.review__more { align-self: flex-start; background: none; border: 0; padding: 0; font: 13px var(--sans); color: var(--navy-2); text-decoration: underline; cursor: pointer; }
.review__posted { margin-top: auto; font-size: 12px; color: var(--muted); }
.reviews__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; z-index: 2; }
.reviews__arrow--prev { left: -20px; }
.reviews__arrow--next { right: -20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--muted-dark); padding: 64px 0 40px; font-size: 14px; line-height: 1.6; }
.site-footer a { color: var(--muted-dark); }
.site-footer a:hover { color: var(--white); }
.site-footer__top { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid var(--navy-line); }
.site-footer__name { font-family: var(--serif); font-size: 22px; letter-spacing: .16em; color: var(--on-dark); margin: 0 0 8px; }
.site-footer__brokerage { color: var(--on-dark); margin: 0 0 4px; }
.site-footer__note { margin: 0 0 20px; }
.site-footer__licensee, .site-footer__contact { margin: 0 0 8px; }
.site-footer__licensee strong { color: var(--on-dark); font-weight: 600; }
.site-footer__columns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.site-footer h2 { color: var(--on-dark); font: 600 14px/1.4 var(--sans); letter-spacing: 0; margin: 0 0 14px; }
.site-footer__columns ul { list-style: none; margin: 0; padding: 0; }
.site-footer__columns li { margin-bottom: 8px; }
.site-footer__columns a { font-size: 14px; text-decoration: none; }
.site-footer__bottom { padding-top: 24px; font-size: 13px; }
.site-footer__bottom p { margin: 0 0 12px; }
.site-footer--landing { padding: 32px 0; text-align: center; }
/* Keller Williams Montana Realty's logo and its required line (footer.php) */
.site-footer__kw { margin: 8px 0 28px; }
.site-footer__kw img { width: 200px; height: auto; margin: 0; border-radius: 0; }
.site-footer__kw p { margin: 10px 0 0; font-size: 13px; font-style: italic; color: var(--on-dark); }    /* same size as the "© Live In Bozeman" line (Chase, Nov 15 2026; was 15px) */
.site-footer--landing .site-footer__kw { margin: 20px 0; }
.site-footer--landing .site-footer__kw img { margin: 0 auto; }

/* ---------- REW blocks inside the migrated copy, on every page ---------- */
/* REW repeated the page title as an H1 inside the copy; the hero already shows it */
.entry .hero__container__headline { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
/* Photo teasers (communities, relocation guides, subdivision indexes): the home page's town card */
.entry .teasers--3-col { margin: 32px 0; }
.entry a.teaser__overlay, .entry a.teaser { position: relative; display: block; color: var(--on-dark); text-decoration: none; overflow: hidden; background: var(--navy); border-radius: var(--radius); }
.entry a.teaser .teaser__img img { margin: 0; width: 100%; height: 280px; object-fit: cover; border-radius: 0; transition: transform .4s; }
.entry a.teaser:hover .teaser__img img { transform: scale(1.04); }
.entry a.teaser .teaser__content { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; background: linear-gradient(transparent, rgba(14, 27, 44, .92)); }
.entry a.teaser .teaser__content::after { content: "Explore →"; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--white); white-space: nowrap; }
.entry a.teaser .teaser__headline { color: var(--on-dark); font-size: 26px; line-height: 1.2; margin: 0; text-decoration: none; }
.entry a.teaser .teaser__kicker:empty { display: none; }
/* "Resources for…" link lists at the end of guides and blog posts */
.entry .internal-links, .entry .lib-internal-links { margin: 48px 0 0; padding: 26px 28px 14px; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); }
.entry .internal-links h2, .entry .internal-links h3, .entry .lib-internal-links h2, .entry .lib-internal-links h3 { font: 500 12px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.entry .internal-links p, .entry .lib-internal-links p, .entry .lib-internal-links li { margin: 0; list-style: none; }
.entry .lib-internal-links ul { padding: 0; margin: 0; }
.entry .internal-links a, .entry .lib-internal-links a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-soft); color: var(--ink); text-decoration: none; }
.entry .internal-links a::after, .entry .lib-internal-links a::after { content: "→"; color: var(--muted); }
.entry .internal-links a:hover, .entry .lib-internal-links a:hover { color: var(--navy-2); }
/* "More Bozeman guides" (/relocation-guides/) and "Homes by type" (/buying/): a row of cards you can
   swipe through, four across on desktop with arrows, about one and a quarter on phones (inc/internal-links.php) */
.entry .lib-more-links { margin: 64px 0 0; }
.lib-more-links__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.entry .lib-more-links__head h2 { margin: 0; }
.lib-more-links__nav { display: none; gap: 8px; flex: none; }
.lib-more-links.is-scrollable .lib-more-links__nav { display: flex; }
.lib-more-links__arrow { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); color: var(--navy-2); font-size: 18px; cursor: pointer; transition: background .2s, color .2s, opacity .2s; }
.lib-more-links__arrow:hover:not(:disabled) { background: var(--navy-2); border-color: var(--navy-2); color: var(--white); }
.lib-more-links__arrow:disabled { opacity: .35; cursor: default; }
.entry .lib-more-links__track { list-style: none; margin: 0; padding: 4px 2px 14px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.entry .lib-more-links__track::-webkit-scrollbar { display: none; }
.entry .lib-more-links__track > li { margin: 0; padding: 0; scroll-snap-align: start; list-style: none; }
.entry a.lib-more-card { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s; }
.entry a.lib-more-card:hover, .entry a.lib-more-card:focus-visible { border-color: var(--navy-2); transform: translateY(-2px); }
.lib-more-card__img { display: block; aspect-ratio: 16 / 10; background: var(--navy); overflow: hidden; }
.entry .lib-more-card__img img { width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; }
.lib-more-card__img--none { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); }
.lib-more-card__img--none span { font-family: var(--serif); font-size: 15px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-dark); }
.lib-more-card__body { display: flex; flex-direction: column; gap: 14px; flex: 1; padding: 18px 20px 20px; }
.lib-more-card__title { font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lib-more-card__go { margin-top: auto; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-2); }
.entry a.lib-more-card:hover .lib-more-card__go { text-decoration: underline; text-underline-offset: 4px; }
.lib-more-links--text .lib-more-card__img { display: none; }
.lib-more-links--text .lib-more-card__body { padding: 22px 22px 20px; min-height: 140px; border-top: 3px solid var(--navy-2); }
.lib-more-links--text .lib-more-card__title { font-family: var(--serif); font-weight: 400; font-size: 19px; line-height: 1.35; }
@media (max-width: 1024px) { .entry .lib-more-links__track { grid-auto-columns: calc((100% - 2 * 16px) / 2.6); } }
@media (max-width: 640px) { .entry .lib-more-links__track { grid-auto-columns: 78%; } .lib-more-links.is-scrollable .lib-more-links__nav { display: none; } }    /* phones swipe; the heading gets the width */
.entry .decorated-link { color: var(--navy-2); font-weight: 600; }
/* Pasted copy carries white text highlights from REW's editor; on the gray page they show as boxes */
.entry [style*="background-color: #ffffff"], .entry [style*="background-color: #fff;"], .entry [style*="background-color: rgb(255, 255, 255)"] { background-color: transparent !important; }
/* REW's call-to-action pairs (/seller/): copy beside a photo, as one bordered card per pair */
.entry .cta_seller { display: grid; gap: 24px; }
.entry .teaser__cta { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.entry .teaser__cta__content { padding: 40px; }
.entry .teaser__cta__content .h1 { font-size: 40px; line-height: 1.2; margin: 0 0 12px; }
.entry .teaser__cta__image img { margin: 0; width: 100%; height: 100%; min-height: 280px; object-fit: cover; border-radius: 0; }
/* Testimonials page: each review as a white card */
.entry .testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.entry .testimonials__headline { display: none; }
.entry .testimonial { margin: 0; height: 100%; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.entry .testimonial blockquote { margin: 0; padding: 0; border: 0; background: none; font-size: 15px; line-height: 26px; }
.entry .testimonial blockquote p { margin: 0 0 .8em; line-height: 26px; }
.entry .testimonial__cite { margin-top: auto; font-weight: 600; font-size: 14px; color: var(--navy-2); }
/* Guide PDFs shown on the page (inc/markers.php). A span so it can sit inside REW's paragraph. */
.entry .pdf-viewer { display: block; margin: 24px 0 8px; font-weight: 400; }
.entry .pdf-viewer__frame { display: block; width: 100%; height: 80vh; min-height: 560px; max-height: 900px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white); }
.entry .pdf-viewer__open { margin-top: 14px; }
@media (max-width: 768px) {
	.entry .pdf-viewer__frame { display: none; }    /* phones open PDFs in their own viewer instead */
}
/* Bordered tables carried from REW */
.entry .table--bordered { border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden; border-collapse: separate; border-spacing: 0; }
.entry .table--bordered th { background: var(--navy); color: var(--on-dark); font-weight: 500; }

/* ---------- Landing pages: the guide offer as a white card on navy ---------- */
.site-main--landing { padding: 72px 0 88px; background: var(--navy); }
.entry--landing { max-width: 760px; }
.entry--landing .lib-gate { background: var(--white); border-radius: var(--radius); padding: 44px 44px 36px; box-shadow: 0 16px 40px rgba(0, 0, 0, .3); }
.lib-gate__kicker { font: 500 13px/1.4 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.lib-gate__title { font-size: 40px; line-height: 1.2; margin: 0 0 14px; }
.lib-gate__lede { font-size: 16px; line-height: 28px; color: var(--muted); margin: 0 0 8px; }
.lib-gate__download { display: inline-block; margin-top: 16px; background: var(--navy-2); color: var(--white) !important; text-decoration: none !important; font-weight: 600; padding: 14px 22px; border-radius: var(--radius); }
.site-header--landing { border-bottom: 1px solid var(--navy-line); }
@media (max-width: 768px) {
	.entry--landing .lib-gate { padding: 28px 22px; }
	.lib-gate__title { font-size: 30px; }
	.entry a.teaser .teaser__img img { height: 220px; }
	.entry .teaser__cta { grid-template-columns: 1fr; }
	.entry .teaser__cta__content { padding: 28px 22px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1440px) {
	.nav__list { gap: 14px; }
	.nav__item > a { letter-spacing: .1em; font-size: 11px; }
	.site-header__logo { font-size: 20px; letter-spacing: .12em; }
}
/* 1200–1365px (most laptops): the full menu, packed tighter so it fits on one line */
@media (max-width: 1365px) and (min-width: 1200px) {
	.site-header__inner { padding: 0 20px; gap: 16px; }
	.site-header__bar { gap: 12px; }
	.site-header__logo { font-size: 18px; letter-spacing: .1em; }
	.nav__list { gap: 10px; }
	.nav__item > a { letter-spacing: .04em; }
}
/* Below 1200px the menu moves behind the ☰ button */
@media (max-width: 1199.98px) {    /* .98, not 1199: on scaled screens a width can fall between 1199 and 1200 */
	.site-header__actions { margin-left: auto; }
	.nav-toggle { display: block; }
	.nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--navy); overflow-y: auto; padding: 16px 24px 48px; transform: translateX(100%); transition: transform .25s; }
	.admin-bar .nav { top: calc(var(--header-h) + 46px); }
	.nav-open .nav { transform: none; }
	.nav-open { overflow: hidden; }
	.nav__list { display: block; }
	.nav__item { border-bottom: 1px solid var(--navy-line); }
	.nav__item > a { padding: 16px 48px 16px 0; font-size: 13px; }
	.nav__item.is-current > a { box-shadow: none; }
	.nav__item.has-children > a::after { content: ""; }
	.nav__toggle { display: block; position: absolute; right: 0; top: 6px; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; }
	.nav__toggle::after { content: "+"; color: var(--white); font-size: 24px; }
	.nav__item.is-open .nav__toggle::after { content: "–"; }
	.nav__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; border: 0; display: none; padding: 0 0 12px 12px; min-width: 0; }
	.nav__sub li + li { border-top: 0; }
	.nav__sub a::after { content: none; }
	.nav__sub a.is-current { padding-left: 0; text-decoration: underline; }
	.nav__sub a.is-current::before { content: none; }
	.nav__item.is-open .nav__sub { display: block; }
	.nav__sub a { color: var(--on-dark); padding: 8px 0; }
	.nav__sub a:hover { background: transparent; text-decoration: underline; }
	.nav__heading { padding: 10px 0 2px; }
	.nav__group + .nav__group { margin-top: 6px; }
	.nav__item--button > a, .nav__item--button > a:hover, .nav__item--button.is-current > a { border: 0; border-radius: 0; background: none; color: var(--on-dark); padding: 16px 48px 16px 0; }
}
@media (max-width: 1280px) {
	.with-sidebar { grid-template-columns: 1fr; }
	.with-sidebar > .sidebar { position: static; }
	.teasers--3-col { grid-template-columns: repeat(2, 1fr); }
	.reviews__track { grid-auto-columns: calc((100% - 20px) / 2); }
	.site-footer__top { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
	h1, .page-hero__title, .page-hero--band .page-hero__title { font-size: 40px; line-height: 1.15; }
	.page-hero--home .page-hero__title { font-size: 38px; }
	h2, .about-chase h2, .headline--large, .cta--home-worth h3 { font-size: 30px; }
	h3 { font-size: 24px; }
	h4 { font-size: 21px; }
	.site-header__logo { font-size: 18px; letter-spacing: .12em; }
	/* Phones: the number becomes a 44px call button beside the menu button (the number stays as the link's text for screen readers) */
	.site-header__actions { gap: 4px; }
	.site-header__phone a { width: 44px; height: 44px; justify-content: center; padding: 0; font-size: 0; letter-spacing: 0; }
	.site-header__phone a::before { width: 20px; height: 20px; }
	.site-header__phone:has(.lib-confirm) { display: none; }
	.page-hero--photo { min-height: 380px; }
	.page-hero--home { min-height: 560px; }
	.page-hero__inner { padding-top: 64px; padding-bottom: 48px; }
	.hero-door { padding: 22px; }
	.hero-door__title { font-size: 22px; }
	.hero-search { flex-direction: column; box-shadow: none; background: transparent; gap: 8px; overflow: visible; }
	.hero-search select, .hero-search input { background: var(--white); border-radius: var(--radius); }
	.hero-search .button { margin: 0; padding: 16px; }
	.subnav { position: static; }
	.subnav__inner { flex-direction: column; align-items: flex-start; }
	.teasers--2-col, .teasers--3-col, .teasers__community--2-col { grid-template-columns: 1fr; gap: 24px; }
	.post-card { grid-template-columns: 1fr; }
	.reviews__track { grid-auto-columns: 88%; }
	.reviews__arrow { display: none; }
	.site-footer__columns { grid-template-columns: 1fr 1fr; }
	.entry .pricing-table { grid-template-columns: 1fr 1fr; }
	.stats-placeholder { padding: 28px 20px; }
	.home-guides__links { grid-template-columns: 1fr; }
}

/* ---------- Lead forms (inc/forms.php) ---------- */
.lead-form { margin: 24px 0; max-width: 760px; }
/* /home-valuation/: the intro line and the form on one white card, centered (Jake, Nov 5 2026) */
article.entry:has(> div > .lead-form--home-value) { max-width: 760px; margin-left: auto; margin-right: auto; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 40px 44px 32px; }
article.entry:has(> div > .lead-form--home-value) > p:first-child { margin-top: 0; font-size: 17px; }
article.entry:has(> div > .lead-form--home-value) .lead-form { margin-bottom: 0; }
@media (max-width: 600px) { article.entry:has(> div > .lead-form--home-value) { padding: 28px 20px 20px; } }
.lead-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.lead-form__wide { grid-column: 1 / -1; }
.lead-form__field label { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; color: var(--muted); }
.lead-form input[type="text"], .lead-form input[type="email"], .lead-form input[type="tel"], .lead-form select, .lead-form textarea { width: 100%; font: 15px/1.4 var(--sans); color: var(--ink); background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 13px 14px; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: 2px solid var(--navy-2); outline-offset: 1px; border-color: var(--navy-2); }
.lead-form.has-error [required]:invalid, .lead-form.has-error [required]:placeholder-shown { border-color: #b3261e; }
.lead-form__consent { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; font-size: 12px; line-height: 1.6; color: var(--muted); }
.lead-form__consent input { margin-top: 3px; flex: 0 0 auto; }
.lead-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form__fineprint { margin: 12px 0 0; font-size: 12px; line-height: 1.6; color: var(--muted); }
.lead-form__fineprint a { color: inherit; }
.lead-form__status { margin: 12px 0 0; font-size: 14px; min-height: 1.4em; }
.lead-form.has-error .lead-form__status { color: #b3261e; }
.lead-form__test { background: #fff3c4; color: #5c4400; font-size: 13px; padding: 8px 12px; margin: 0 0 16px; border-radius: 6px; }
.lead-form__thanks { font-size: 18px; line-height: 1.6; padding: 24px; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); }
.lead-form--inline { display: flex; gap: 8px; max-width: 520px; margin: 0; flex: 0 1 520px; }
.lead-form--inline input { flex: 1; min-width: 0; font: 15px var(--sans); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 14px; }
.lead-form--guide { background: var(--white); }
@media (max-width: 768px) {
	.lead-form__grid { grid-template-columns: 1fr; }
	.lead-form--inline { flex-direction: column; flex-basis: 100%; }
}

/* ---------- About menu pages (inc/about-pages.php) ---------- */
.about-page .page-hero__lede { max-width: 760px; font-size: 20px; line-height: 32px; }
.about-page .entry > section { margin: 0 0 56px; }
.about-page .entry > section:last-child { margin-bottom: 0; }

/* /about/: the story beside Chase's picture */
.about-story { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 56px; align-items: start; }
.about-story__media { margin: 0; position: sticky; top: 24px; }
.entry .about-story__photo { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center top; margin: 0; border-radius: var(--radius); box-shadow: 0 12px 32px rgba(14, 27, 44, .18); }
.about-story__caption { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 14px; text-align: center; }
.about-story__name { font-family: var(--serif); font-size: 18px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.about-story__role { font-size: 12px; line-height: 1.5; color: var(--muted); }
.about-story__text { font-size: 17px; }
.about-story__text p { line-height: 31px; }
.about-story__text p:last-child { font-family: var(--serif); font-size: 24px; line-height: 1.45; color: var(--navy-2); margin: 28px 0 0; padding-left: 22px; border-left: 3px solid var(--navy-2); }

/* /about/: the Method paragraph and its four phases on navy */
.about-method { background: var(--navy); color: var(--on-dark); border-radius: var(--radius); padding: 48px; }
.about-method__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.about-method .kicker { color: var(--white); }
.entry .about-method p { color: var(--on-dark); font-size: 17px; line-height: 30px; margin: 0 0 24px; }
.about-method strong { color: var(--white); font-weight: 600; }
.entry .about-method a.button--light { color: var(--navy); }
.about-method__phases { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-method__phases li { margin: 0; }
.entry .about-method__phases a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 22px; background: var(--navy-card); border: 1.5px solid var(--navy-line); border-radius: var(--radius); color: var(--on-dark); text-decoration: none; transition: border-color .2s, background .2s; }
.entry .about-method__phases a:hover { border-color: var(--on-dark); background: var(--navy-2); color: var(--white); }
.about-method__num { font: 500 13px/1 var(--sans); letter-spacing: .2em; color: var(--muted-dark); }
.about-method__name { font-family: var(--serif); font-size: 24px; line-height: 1.2; }

/* /about/: the closing paragraphs, centered */
.about-closing { max-width: 820px; margin-left: auto !important; margin-right: auto !important; text-align: center; font-size: 18px; }
.about-closing p { line-height: 32px; }
.about-closing p:last-child { font-family: var(--serif); font-size: 26px; line-height: 1.45; color: var(--navy-2); margin-bottom: 0; }

/* Testimonial cards (/about/ and /testimonials/) */
.tcard { margin: 0; display: flex; flex-direction: column; gap: 16px; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 28px 26px 24px; position: relative; }
.tcard::before { content: "\201C"; font: 400 64px/1 var(--serif); color: var(--navy-2); height: 30px; margin-top: -4px; }
.entry .tcard blockquote { margin: 0; padding: 0; border: 0; background: none; border-radius: 0; font-size: 15.5px; line-height: 27px; color: var(--ink); }
.entry .tcard blockquote p { margin: 0 0 .8em; line-height: 27px; }
.entry .tcard blockquote p:last-child { margin-bottom: 0; }
.tcard figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line-soft); font-weight: 600; font-size: 14.5px; color: var(--navy-2); }
.tcard__avatar { width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--navy-2); color: var(--white); display: flex; align-items: center; justify-content: center; font: 500 15px/1 var(--serif); }
.about-words__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 18px; }
.about-words__head .kicker { margin: 0; }
.entry .about-words__all { font-weight: 600; font-size: 15px; text-decoration: none; }
.about-words__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

/* /testimonials/: one quote featured on navy, then the wall of cards */
.tst-feature { background: var(--navy); border-radius: var(--radius); padding: 56px 48px; text-align: center; }
.tst-feature__quote { margin: 0 auto; max-width: 860px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.tst-feature__quote::before { content: "\201C"; font: 400 88px/1 var(--serif); color: var(--muted-dark); height: 40px; }
.entry .tst-feature__quote blockquote { margin: 0; padding: 0; border: 0; background: none; border-radius: 0; }
.entry .tst-feature__quote blockquote p { font-family: var(--sans); font-size: 23px; font-weight: 300; line-height: 1.6; color: var(--on-dark); margin: 0; }    /* Cinzel has no lowercase, so a long quote in it reads as shouting */
/* Phones: long reviews show their first seven lines and a Read more (assets/js/site.js marks them) */
.tcard__more { display: none; align-self: flex-start; background: none; border: 0; padding: 0; margin-top: -6px; font: 600 13px var(--sans); color: var(--navy-2); text-decoration: underline; cursor: pointer; }
@media (max-width: 760px) {
	.tcard.is-clamped blockquote { max-height: 189px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 65%, transparent); mask-image: linear-gradient(#000 65%, transparent); }
	.tcard.is-clamped .tcard__more { display: block; }
}
.tst-feature__quote figcaption { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--on-dark); }
.tst-feature__quote .tcard__avatar { background: var(--white); color: var(--navy); }
.tst-wall { columns: 3 320px; column-gap: 20px; }
.tst-wall .tcard { break-inside: avoid; margin: 0 0 20px; }

/* The navy call to action that ends /about/ and /testimonials/ */
.about-cta { display: flex; flex-wrap: wrap; gap: 24px 32px; align-items: center; justify-content: space-between; background: var(--navy); color: var(--on-dark); border-radius: var(--radius); padding: 40px 48px; }
.about-cta .kicker { color: var(--white); margin-bottom: 8px; }
.entry .about-cta__contact { margin: 0; color: var(--muted-dark); font-size: 15px; }
/* The confirmed phone and email are links now; on the navy call-to-action boxes they need light text */
.entry .about-cta__contact a, .method-cta__contact a, .entry .hv-est__consult a:not(.button):not(.hv-tool) { color: var(--white); text-underline-offset: 3px; }
.about-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.entry .about-cta a.button { text-decoration: none; }
.entry .about-cta a.button--light { color: var(--navy); }
.entry .about-cta a.button--outline-light { color: var(--on-dark); }
.entry .about-cta a.button--outline-light:hover { color: var(--navy); }

@media (max-width: 960px) {
	.about-story { grid-template-columns: 1fr; gap: 32px; }
	.about-story__media { position: static; max-width: 320px; margin: 0 auto; }
	.about-method { padding: 32px 24px; }
	.about-method__inner { grid-template-columns: 1fr; gap: 28px; }
	.about-words__grid { grid-template-columns: 1fr; }
	.tst-feature { padding: 40px 24px; }
	.entry .tst-feature__quote blockquote p { font-size: 18px; }
	.about-cta { padding: 32px 24px; }
}
@media (max-width: 480px) {
	/* A long word in a page title ("Neighborhoods:") is wider than a phone at 40px */
	h1, .page-hero__title, .page-hero--band .page-hero__title { font-size: 32px; overflow-wrap: break-word; }
	.about-method__phases { grid-template-columns: 1fr; }
	.about-story__text p:last-child, .about-closing p:last-child { font-size: 21px; }
}

/* ---------- Monthly market update (inc/market-update.php) ---------- */
.market-update .page-hero__lede { font-size: 15px; letter-spacing: .02em; color: var(--muted-dark); }
.mu-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 48px; align-items: start; }
.mu-toc { grid-column: 2; grid-row: 1; position: sticky; top: 24px; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 20px 20px 14px; }
.admin-bar .mu-toc { top: 56px; }
.mu-toc__title { font: 500 12px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.entry .mu-toc ol { list-style: none; margin: 0; padding: 0; }
.entry .mu-toc li { margin: 0; line-height: 1.35; }
.entry .mu-toc a { display: block; padding: 7px 0 7px 12px; border-left: 2px solid var(--line-soft); font-size: 14px; color: var(--ink); text-decoration: none; }
.entry .mu-toc a:hover { border-left-color: var(--navy-2); color: var(--navy-2); }
.mu-main { grid-column: 1; grid-row: 1; min-width: 0; }
.mu-sec { margin: 0 0 56px; scroll-margin-top: 24px; }
.entry .mu-sec > h2 { font-size: 34px; margin: 0 0 20px; }
.entry .mu-sec h3 { font-size: 22px; margin: 0 0 10px; }

/* Stat tiles */
.mu-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin: 0 0 24px; }
.mu-stat { display: flex; flex-direction: column; gap: 4px; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 18px 18px 16px; }
.mu-stat__label { font-size: 13px; line-height: 1.4; color: var(--muted); }
.mu-stat__value { font-family: var(--serif); font-size: 28px; line-height: 1.2; color: var(--navy); overflow-wrap: anywhere; }
.mu-stat__approx { font-family: var(--sans); font-weight: 400; margin-right: 1px; }
.mu-stat__note { font-size: 13px; line-height: 1.4; font-weight: 600; color: var(--muted); }
.mu-stat--up .mu-stat__note::before, .mu-stat--down .mu-stat__note::before { display: inline-block; margin-right: 5px; }
.mu-stat--up .mu-stat__note::before { content: "▲"; font-size: 10px; color: #2e7d4f; }
.mu-stat--down .mu-stat__note::before { content: "▼"; font-size: 10px; color: #b3412f; }
.mu-stat--wide { grid-column: 1 / -1; background: var(--navy); border-color: var(--navy); }
.mu-stat--wide .mu-stat__label { color: var(--muted-dark); letter-spacing: .2em; text-transform: uppercase; font-size: 12px; }
.mu-stat--wide .mu-stat__text { color: var(--on-dark); font-size: 17px; line-height: 28px; }
.mu-sec--at-a-glance .mu-stats, .mu-sec:first-child .mu-stats { margin-bottom: 0; }

/* The opening summary and the explainer */
.mu-sec--lead p { font-size: 19px; line-height: 33px; color: var(--navy-2); }
.mu-sec--explainer { background: var(--white); border: 1.5px solid var(--line); border-left: 6px solid var(--navy-2); border-radius: var(--radius); padding: 32px 36px 14px; }
.entry .mu-sec--explainer > h2 { font-size: 28px; }

/* Selling and buying points */
.entry .mu-points { list-style: none; counter-reset: mu; margin: 0; padding: 0; display: grid; gap: 14px; }
.mu-points li { counter-increment: mu; position: relative; margin: 0; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 22px 26px 8px 76px; }
.mu-points li::before { content: counter(mu, decimal-leading-zero); position: absolute; left: 22px; top: 20px; width: 38px; height: 38px; border-radius: 50%; background: var(--navy-2); color: var(--white); font: 500 13px/38px var(--sans); text-align: center; letter-spacing: .05em; }
.entry .mu-points__head { font-weight: 600; color: var(--navy); margin: 0 0 6px; line-height: 1.45; }
.entry .mu-points li p { line-height: 28px; }

/* The area table */
.mu-table { overflow-x: auto; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); margin: 0 0 14px; }
.entry .mu-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry .mu-table th { background: var(--navy); color: var(--on-dark); font-weight: 500; font-size: 13px; letter-spacing: .04em; padding: 12px 14px; text-align: right; white-space: nowrap; }
.entry .mu-table th:first-child { text-align: left; }
.entry .mu-table td { padding: 11px 14px; text-align: right; border-top: 1px solid var(--line-soft); white-space: nowrap; }
.entry .mu-table td:first-child { text-align: left; white-space: normal; }
.entry .mu-table tbody tr:first-child td { background: #eef2f6; }
/* Phones: the area names stay put while the numbers scroll, and the right edge shades while there's more to see */
@media (max-width: 760px) {
	.entry .mu-table th:first-child, .entry .mu-table td:first-child { position: sticky; left: 0; z-index: 1; min-width: 112px; box-shadow: 1px 0 0 var(--line-soft); }
	.entry .mu-table td:first-child { background: var(--white); }
	.mu-table { background: linear-gradient(to left, var(--white) 30%, rgba(255, 255, 255, 0)) right / 40px 100% no-repeat local, radial-gradient(farthest-side at 100% 50%, rgba(14, 27, 44, .22), transparent) right / 14px 100% no-repeat scroll, var(--white); }
}
.mu-chg--up { color: #2e7d4f; font-weight: 600; }
.mu-chg--down { color: #b3412f; font-weight: 600; }
.entry .mu-footnote { font-size: 14px; line-height: 24px; color: var(--muted); margin: 0 0 24px; }
.mu-areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mu-area:only-child { grid-column: 1 / -1; }
.mu-area { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 24px 24px 6px; }
.entry .mu-area p { font-size: 15.5px; line-height: 27px; }

/* Videos side by side */
.mu-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.mu-video { margin: 0; }
.mu-video .yt { margin: 0 0 10px; }
.mu-video figcaption { font-size: 14px; color: var(--muted); }

/* Questions */
.mu-faq { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); margin: 0 0 10px; }
.mu-faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 600; color: var(--navy); position: relative; line-height: 1.45; }
.mu-faq summary::-webkit-details-marker { display: none; }
.mu-faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font: 400 24px/1 var(--sans); color: var(--navy-2); }
.mu-faq[open] summary::after { content: "−"; }
.mu-faq[open] summary { border-bottom: 1px solid var(--line-soft); }
.entry .mu-faq p { margin: 0; padding: 16px 22px 20px; line-height: 28px; }

/* The closing call to action */
.mu-sec--cta { background: var(--navy); color: var(--on-dark); border-radius: var(--radius); padding: 40px 44px 24px; }
.entry .mu-sec--cta > h2 { color: var(--on-dark); font-size: 30px; }
.entry .mu-sec--cta p { color: var(--muted-dark); }
.entry .mu-sec--cta a { color: var(--white); }
.mu-methodology { border-top: 1px solid var(--line); padding-top: 20px; }
.entry .mu-methodology p { font-size: 13.5px; line-height: 23px; color: var(--muted); }

@media (max-width: 1100px) {
	.mu-layout { grid-template-columns: 1fr; gap: 28px; }
	.mu-toc { position: static; grid-column: 1; }
	.mu-main { grid-row: 2; }
	.entry .mu-toc ol { columns: 2 220px; column-gap: 24px; }
}
@media (max-width: 760px) {
	.mu-areas, .mu-videos { grid-template-columns: 1fr; }
	.mu-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mu-stat__value { font-size: 23px; }
	.mu-points li { padding: 66px 20px 6px; }
	.mu-points li::before { left: 20px; top: 18px; }
	.mu-sec--explainer, .mu-sec--cta { padding: 26px 22px 10px; }
	.entry .mu-sec > h2 { font-size: 28px; }
}

/* ---------- Home value guide and estimator (inc/home-value-pages.php) ---------- */
.hv-page .page-hero__lede { max-width: 760px; font-size: 19px; line-height: 31px; }
.hv-page .entry > * + * { margin-top: 56px; }
.hv-page .entry h2 { font-size: 34px; margin: 0 0 18px; }

/* Guide: the second intro line, then pricing on navy */
.hv-intro p { font-size: 20px; line-height: 33px; color: var(--navy-2); max-width: 860px; margin: 0; }
.hv-pricing { background: var(--navy); border-radius: var(--radius); padding: 44px 48px 28px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
.entry .hv-pricing h2 { color: var(--on-dark); margin: 0; }
.entry .hv-pricing p { color: var(--on-dark); font-size: 18px; line-height: 31px; }

/* Guide: the five factors */
.entry .hv-factors__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.hv-factors__list li { grid-column: span 2; margin: 0; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 26px 24px 10px; }
.hv-factors__list li:nth-child(4) { grid-column: 2 / span 2; }
.hv-factors__num { display: block; font: 500 13px/1 var(--sans); letter-spacing: .2em; color: var(--muted); margin-bottom: 14px; }
.entry .hv-factors__list h3 { font-size: 21px; line-height: 1.3; margin: 0 0 10px; color: var(--navy); }
.entry .hv-factors__list p { font-size: 15.5px; line-height: 27px; }

/* Guide: the picture beside the algorithms section */
.hv-algo { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hv-algo__media { margin: 0; }
.entry .hv-algo__media img { margin: 0; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.entry .hv-algo__text p { font-size: 17px; line-height: 30px; }

/* Guide: what to expect */
.hv-expect { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 40px 44px 24px; }
.entry .hv-checks { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.entry .hv-checks li { margin: 0; position: relative; padding: 16px 18px 16px 54px; background: var(--ground); border-radius: var(--radius); line-height: 26px; }
.hv-checks li::before { content: ""; position: absolute; left: 18px; top: 17px; width: 22px; height: 22px; border-radius: 50%; background: var(--navy-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.entry .hv-expect__note p { font-family: var(--serif); font-size: 21px; line-height: 1.5; color: var(--navy-2); }

/* Closing navy panel with the tools (guide), and the estimator's resource cards */
.hv-cta { background: var(--navy); border-radius: var(--radius); padding: 44px 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.entry .hv-cta h2 { color: var(--on-dark); }
.entry .hv-cta p { color: var(--muted-dark); }
.entry .hv-cta a.button--light { color: var(--navy); text-decoration: none; }
.hv-cta__tools { display: flex; flex-direction: column; gap: 10px; }
.entry .hv-tool { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border-radius: var(--radius); background: var(--navy-card); border: 1.5px solid var(--navy-line); color: var(--on-dark); font-weight: 500; text-decoration: none; transition: border-color .2s, background .2s; }
.entry .hv-tool:hover { border-color: var(--on-dark); background: var(--navy-2); color: var(--white); }
.entry .hv-tool--light { background: var(--white); border-color: var(--line); color: var(--navy); }
.entry .hv-tool--light:hover { background: var(--white); border-color: var(--navy-2); color: var(--navy-2); }
.hv-tool__arrow { flex: none; }

/* Estimator: the tool beside the consultation */
.hv-est { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.hv-est > section { border-radius: var(--radius); padding: 40px 40px 28px; }
.hv-est__tool { background: var(--white); border: 1.5px solid var(--line); }
.hv-est__consult { background: var(--navy); }
.entry .hv-est h3 { font-size: 27px; line-height: 1.3; margin: 0 0 16px; }
.entry .hv-est__consult h3 { color: var(--on-dark); }
.entry .hv-est__consult p { color: var(--muted-dark); }
.entry .hv-est__consult strong { color: var(--on-dark); font-weight: 600; }
.entry .hv-est__consult a.button--light { color: var(--navy); text-decoration: none; margin-top: 4px; }
.hv-est__widget { margin-top: 8px; }
.hv-more .kicker { margin-bottom: 14px; }
.hv-more__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

@media (max-width: 960px) {
	.hv-pricing, .hv-algo, .hv-cta, .hv-est { grid-template-columns: 1fr; gap: 24px; }
	.entry .hv-factors__list { grid-template-columns: 1fr 1fr; }
	.hv-factors__list li, .hv-factors__list li:nth-child(4) { grid-column: auto; }
	.hv-factors__list li:last-child { grid-column: 1 / -1; }
	.hv-more__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.hv-pricing, .hv-expect, .hv-cta, .hv-est > section { padding: 28px 22px 16px; }
	.entry .hv-factors__list, .entry .hv-checks { grid-template-columns: 1fr; }
	.hv-page .entry h2 { font-size: 28px; }
}

/* ---------- Neighborhoods and subdivisions (inc/neighborhood-pages.php) ---------- */
.nb-page .page-hero__lede { max-width: 820px; font-size: 18px; line-height: 30px; }
.nb-page .entry > * + * { margin-top: 56px; }
.nb-page .entry h2 { font-size: 34px; margin: 0 0 20px; }

/* Neighborhoods: the Method line, then the areas */
.nb-intro p { font-family: var(--serif); font-size: 23px; line-height: 1.5; color: var(--navy-2); max-width: 880px; margin: 0; }
.nb-areas__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.nb-area { display: flex; flex-direction: column; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 26px 24px 22px; }
.entry .nb-area h3 { font-size: 23px; line-height: 1.3; margin: 0 0 12px; color: var(--navy); }
.entry .nb-area__desc { list-style: none; margin: 0 0 14px; padding: 0; }
.entry .nb-area__desc li { margin: 0; font-size: 15.5px; line-height: 26px; }
.entry .nb-area__label { margin: auto 0 8px; padding-top: 14px; border-top: 1px solid var(--line-soft); font-size: 12px; line-height: 1.4; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.nb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.entry .nb-chip { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--ground); border: 1.5px solid var(--line); color: var(--navy-2); font-size: 14px; line-height: 1.3; font-weight: 500; text-decoration: none; }
.entry .nb-chip:hover { background: var(--navy-2); border-color: var(--navy-2); color: var(--white); }
.entry .nb-area--map { background: var(--navy); border-color: var(--navy); color: var(--on-dark); text-decoration: none; justify-content: center; gap: 8px; transition: background .2s; }
.entry .nb-area--map:hover { background: var(--navy-2); color: var(--white); }
.nb-area__kicker { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted-dark); }
.nb-area__mapname { font-family: var(--serif); font-size: 25px; line-height: 1.3; }

/* Neighborhoods: the picture beside "Choosing the Right Neighborhood" */
.nb-choose { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.nb-choose__media { margin: 0; }
.entry .nb-choose__media img { margin: 0; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.entry .nb-choose__lead { font-weight: 600; color: var(--navy); margin-bottom: 12px; }
.entry .nb-checks { grid-template-columns: 1fr 1fr; }
.entry .nb-choose__text > p:last-child { margin-bottom: 0; }

/* Subdivisions: the map beside the list */
.sd-explorer { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 20px; align-items: stretch; }
.sd-map { display: flex; flex-direction: column; gap: 8px; }
.sd-map__canvas { height: 640px; border-radius: var(--radius); border: 1.5px solid var(--line); overflow: hidden; background: var(--tint); z-index: 0; }
.sd-map__canvas .leaflet-tile-pane { filter: grayscale(1) contrast(.92) brightness(1.04); }
.entry .sd-map__note { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.sd-list { display: flex; flex-direction: column; height: 640px; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sd-search { display: block; padding: 14px 14px 0; }
.sd-search input { width: 100%; font: 400 15px/1.4 var(--sans); color: var(--ink); padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--ground); }
.sd-search input:focus { outline: 2px solid var(--navy-2); outline-offset: 1px; }
.entry .sd-count { margin: 10px 18px 6px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.entry .sd-items { list-style: none; margin: 0; padding: 0 6px 10px; overflow-y: auto; flex: 1; }
.entry .sd-item { margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 10px; border-radius: 8px; line-height: 1.35; }
.sd-item[hidden] { display: none; }
.sd-item.is-on { background: #e3ecf6; }
.entry .sd-item a { flex: 1; padding: 9px 0; font-size: 15px; color: var(--ink); text-decoration: none; }
.entry .sd-item a:hover { color: var(--navy-2); text-decoration: underline; text-underline-offset: 3px; }
.sd-locate { flex: none; appearance: none; border: 1.5px solid var(--line); background: var(--white); color: var(--navy-2); border-radius: 999px; padding: 4px 10px; font: 500 11px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.sd-locate:hover { background: var(--navy-2); border-color: var(--navy-2); color: var(--white); }
.sd-tip { font: 600 13px/1.3 var(--sans); color: var(--navy); border-radius: 8px; }
.leaflet-popup-content-wrapper { border-radius: var(--radius); }
.leaflet-popup-content { margin: 14px 18px; font-family: var(--sans); }
.entry .leaflet-popup-content p.sd-pop__name { margin: 0 0 6px; font-family: var(--serif); font-size: 18px; line-height: 1.3; color: var(--navy); }
.entry .leaflet-popup-content a.sd-pop__link { font-weight: 600; font-size: 14px; color: var(--navy-2); }
.entry .leaflet-container a { text-decoration: none; }

/* Subdivisions: the lifestyle pages */
.sd-lifestyles__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.entry .sd-life { display: flex; flex-direction: column; gap: 8px; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 22px 20px 18px; color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s; }
.entry .sd-life:hover { border-color: var(--navy-2); }
.sd-life__name { font-family: var(--serif); font-size: 20px; line-height: 1.3; color: var(--navy); }
.sd-life__desc { font-size: 14px; line-height: 23px; color: var(--muted); flex: 1; }
.sd-life__arrow { color: var(--navy-2); font-weight: 600; }

@media (max-width: 1100px) {
	.nb-areas__grid, .sd-lifestyles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.sd-explorer, .nb-choose { grid-template-columns: 1fr; }
	.sd-map__canvas { height: 420px; }
	.sd-list { height: 460px; }
}
@media (max-width: 640px) {
	.nb-areas__grid, .sd-lifestyles__grid, .entry .nb-checks { grid-template-columns: 1fr; }
	.nb-page .entry h2 { font-size: 28px; }
	.nb-intro p { font-size: 20px; }
}

/* ---------- Each subdivision page (inc/subdivision-page.php) ---------- */
.sub-page .entry > * + * { margin-top: 56px; }
.sub-page .entry > .listings-block { margin-top: 56px; }
.sub-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: stretch; }
.sub-top__text { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 40px 40px 32px; display: flex; flex-direction: column; justify-content: center; }
.entry .sub-top__text p { font-size: 18px; line-height: 32px; color: var(--ink); }
.sub-top__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.entry .sub-top__actions a.button { text-decoration: none; color: var(--white); }
.entry .sub-top__actions a.button--outline { color: var(--navy-2); }
.entry .sub-top__actions a.button--outline:hover { color: var(--white); }
.sub-map { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.sub-map__canvas { flex: 1; min-height: 360px; border-radius: var(--radius); border: 1.5px solid var(--line); overflow: hidden; background: var(--tint); z-index: 0; }
.sub-map__canvas .leaflet-tile-pane { filter: grayscale(1) contrast(.92) brightness(1.04); }
.sub-map figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.entry .sub-map figcaption a { font-weight: 600; font-size: 14px; text-decoration: none; }
.entry .sub-map .leaflet-container a { text-decoration: none; }
.entry .sub-mapcard { display: flex; flex-direction: column; justify-content: center; gap: 8px; background: var(--navy); border-radius: var(--radius); padding: 40px; color: var(--on-dark); text-decoration: none; transition: background .2s; }
.entry .sub-mapcard:hover { background: var(--navy-2); color: var(--white); }
.sub-mapcard__kicker { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted-dark); }
.sub-mapcard__name { font-family: var(--serif); font-size: 28px; line-height: 1.3; }
.sub-page .entry h2 { font-size: 32px; margin: 0 0 20px; }
.sub-more__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.entry .sub-card { display: flex; flex-direction: column; gap: 8px; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 22px 20px 18px; color: var(--ink); text-decoration: none; transition: border-color .2s; }
.entry .sub-card:hover { border-color: var(--navy-2); }
.sub-card__name { font-family: var(--serif); font-size: 20px; line-height: 1.3; color: var(--navy); }
.sub-card__desc { font-size: 14px; line-height: 23px; color: var(--muted); flex: 1; }
.sub-card__arrow { color: var(--navy-2); font-weight: 600; }
@media (max-width: 1100px) { .sub-more__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
	.sub-top { grid-template-columns: 1fr; gap: 20px; }
	.sub-map__canvas { min-height: 300px; }
	.sub-top__text { padding: 28px 22px 22px; }
}
@media (max-width: 560px) { .sub-more__grid { grid-template-columns: 1fr; } }

/* ---------- Showcase listing detail pages (/search/listing/…), in the site's look (Jake, Nov 5 2026) ----------
   Scoped to a Showcase container that holds a listing's details, so search pages and grids are untouched.
   Colors only: Showcase's purple and bright blue become the site's navy, headings take Cinzel, and the
   compact title band lets the photos show sooner. What the page shows is set in Showcase's dashboard. */
body:has(.sidx-listing-details) .page-hero--band .page-hero__inner { padding-top: 28px; padding-bottom: 28px; }
body:has(.sidx-listing-details) .page-hero--band .page-hero__title { font-size: 30px; }
.page-hero__title { font-family: var(--serif); font-weight: 400; }    /* search pages make the title a <p>, so it doesn't pick up the h1 font */
.sidx-container:has(.sidx-listing-details) h1,
.sidx-container:has(.sidx-listing-details) h1 *,
.sidx-container:has(.sidx-listing-details) h2,
.sidx-container:has(.sidx-listing-details) h3,
.sidx-container:has(.sidx-listing-details) .sidx-heading,
.sidx-container:has(.sidx-listing-details) .sidx-heading *,
.sidx-container:has(.sidx-listing-details) .sidx-title { font-family: var(--serif) !important; font-weight: 400 !important; color: var(--ink) !important; letter-spacing: .02em; }
.sidx-container:has(.sidx-listing-details) .sidx-price { color: var(--navy) !important; }
.sidx-container:has(.sidx-listing-details) .sidx-primary { background: var(--navy-2) !important; border-color: var(--navy-2) !important; color: var(--white) !important; border-radius: var(--radius) !important; font-weight: 600 !important; transition: background .2s; }
.sidx-container:has(.sidx-listing-details) .sidx-primary:hover, .sidx-container:has(.sidx-listing-details) .sidx-primary:focus-visible { background: var(--navy) !important; border-color: var(--navy) !important; }
.sidx-container:has(.sidx-listing-details) .sidx-primary * { color: var(--white) !important; }
.sidx-container:has(.sidx-listing-details) i.blue, .sidx-container:has(.sidx-listing-details) .sidx-icon,
.sidx-container:has(.sidx-listing-details) .sidx-primary-action, .sidx-container:has(.sidx-listing-details) .sidx-actions { color: var(--navy-2) !important; border-color: var(--line) !important; }
.sidx-container:has(.sidx-listing-details) .sidx-primary-actions { border-color: var(--line-soft) !important; }    /* the slim bar atop the left column: a rule above and below, no box */
.sidx-container:has(.sidx-listing-details) .sidx-primary-actions.sidx-primary-jumbo { border-color: var(--line) !important; border-width: 1.5px !important; border-radius: var(--radius) !important; }    /* the boxed bar under the description */
.sidx-container:has(.sidx-listing-details) .sidx-primary-action:hover { color: var(--navy) !important; }
.sidx-container:has(.sidx-listing-details) button:not(.sidx-primary) { color: var(--navy-2) !important; border-color: var(--line) !important; border-radius: var(--radius) !important; }
.sidx-container:has(.sidx-listing-details) .sidx-chart-datum, .sidx-container:has(.sidx-listing-details) .sidx-legend-dot { background-color: var(--navy-2) !important; }
.sidx-container:has(.sidx-listing-details) input, .sidx-container:has(.sidx-listing-details) select { border: 1.5px solid var(--line) !important; border-radius: var(--radius) !important; }

/* ---------- Showcase IDX (inc/idx.php). Kept minimal; Showcase styles its own widgets. ---------- */
.idx-hero-search { max-width: 820px; margin-top: 24px; background: var(--white); padding: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); color: var(--ink); }
.idx-grid { margin-top: 32px; }
/* Showcase's own pages (/search/ and below): a wider column for the map and results, with the
   page copy under them kept to reading width. Showcase sizes its search area to the space left
   on screen below it, which the title band shrinks, while its map keeps a fixed 600px; the
   minimum height and the map fill keep the map inside its box. Theme content styles are
   undone inside Showcase's widgets. */
.idx-page .entry { max-width: calc(1400px + 2 * var(--gutter)); }
.idx-page .entry > p, .idx-page .entry > div:not(.sidx-container) { max-width: 760px; }
.sidx-search-grid { min-height: 720px; }
.sidx-search-grid__map .sidx-map-container { height: 100% !important; }
.entry .sidx-container img { margin: 0; border-radius: 0; }
.entry .sidx-container a { text-decoration: none; color: inherit; }
.entry .sidx-container p, .entry .sidx-container li { line-height: inherit; }
/* Showcase widgets in the site's look: Poppins, white fields with thin borders and rounded
   corners, navy action button, bordered listing cards. Colors and fonts that Showcase's own
   Settings > Design covers are also set there; these rules cover what that screen can't. */
.sidx-container *:not(.sidx-icon) { font-family: var(--sans) !important; }
.sidx-container .sidx-suggestions-input { border: 1.5px solid var(--line) !important; border-radius: var(--radius) !important; padding: 4px 12px !important; background: var(--white) !important; }
.sidx-container .sidx-suggestions-input input { font-size: 15px !important; color: var(--ink) !important; }
.sidx-container .sidx-searchform .sidx-field { background: var(--white) !important; color: var(--navy) !important; border: 1.5px solid var(--line) !important; border-radius: var(--radius) !important; font-weight: 500 !important; }
.sidx-container .sidx-search-pill { border-radius: var(--radius) !important; }
.sidx-container .sidx-save-search-pill { background: var(--navy-2) !important; border-color: var(--navy-2) !important; }
.sidx-container .sidx-save-search-pill .sidx-label { color: var(--white) !important; }
.sidx-container .sidx-search-result-grid-item { border: 1.5px solid var(--line) !important; border-radius: var(--radius) !important; overflow: hidden; background: var(--white); }
.sidx-container .sidx-info-title, .sidx-container .sidx-sale-type, .sidx-container .sidx-mls-info { letter-spacing: .12em; color: var(--muted) !important; }
/* Showcase's results cards are a fixed 400px; center them in the results column */
.sidx-container .sidx-grid .sidx-search-result-grid-item { margin-left: auto !important; margin-right: auto !important; }
/* "More" filters toggle: matches the Price / Beds / Baths buttons instead of Showcase's blue */
.sidx-container .sidx-streamlined-toggle { background: var(--white) !important; color: var(--navy) !important; border: 1.5px solid var(--line) !important; border-radius: var(--radius) !important; font-weight: 500 !important; }
.sidx-container .sidx-streamlined-toggle * { color: var(--navy) !important; }
/* /search/ layout: filters across the top, map with the page copy and buyer form beside it
   (moved there by inc/idx.php once Showcase renders), listings in rows of 400px cards below.
   The results list grows with the page instead of scrolling inside its own box. */
.idx-side-placed .sidx-search-grid { grid-template-columns: minmax(0, 3fr) minmax(320px, 2fr) !important; grid-template-rows: auto auto auto !important; column-gap: 32px !important; height: auto !important; }
.idx-side-placed .sidx-search-grid__form { grid-column: 1 / -1 !important; }
.idx-side-placed .sidx-search-grid__map { grid-column: 1 !important; grid-row: 2 !important; height: auto !important; min-height: 560px; }
.idx-side-placed .sidx-search-grid__results { grid-column: 1 / -1 !important; grid-row: 3 !important; height: auto !important; max-height: none !important; overflow: visible !important; padding-top: 32px; }
.idx-side-placed .sidx-container .sidx-grid { grid-template-columns: repeat(auto-fill, 400px) !important; justify-content: center; gap: 24px !important; }
.idx-side-placed .sidx-container .sidx-grid .sidx-search-result-grid-item { margin: 0 !important; }
.idx-side { grid-column: 2; grid-row: 2; align-self: start; }
.idx-side > p:first-child { margin-top: 0; }
.idx-page .idx-side > p, .idx-page .idx-side > div { max-width: none; }
.idx-side .lead-form { max-width: none; margin-top: 16px; }
@media (max-width: 1100px) {
	.idx-side-placed .sidx-search-grid { grid-template-columns: 1fr !important; grid-template-rows: auto auto auto auto !important; }
	.idx-side-placed .sidx-search-grid__map { min-height: 420px; }
	.idx-side { grid-column: 1; grid-row: 3; padding-top: 32px; }
	.idx-side-placed .sidx-search-grid__results { grid-row: 4 !important; }
}
@media (max-width: 640px) {
	.idx-side-placed .sidx-container .sidx-grid { grid-template-columns: minmax(0, 400px) !important; }
}
/* A little space between the search bar and the map / form row, and rounded map corners */
.idx-side-placed .sidx-search-grid__map, .idx-side-placed .idx-side { margin-top: 20px; }
.sidx-search-grid__map, .sidx-search-grid__map .sidx-map-container { border-radius: var(--radius); overflow: hidden; }
/* "Search Results" heading left of Showcase's sort menu, in the site's heading font */
.idx-side-placed .sidx-search-grid__results .sidx-listings-controls { align-items: center; margin-bottom: 16px; }
.idx-side-placed .sidx-search-grid__results .sidx-listings-controls > :first-child::before { content: "Search Results"; font: 400 30px/1.2 var(--serif) !important; color: var(--navy); }
/* The map itself is a fixed 600px; make it fill the rounded frame so the bottom corners round too */
.sidx-search-grid__map .sidx-listings-map, .sidx-search-grid__map .leaflet-container { height: 100% !important; }
/* Page listing grids (hotsheets, .idx-grid): Showcase reserves 49px under each card (99px on
   phones) for a save/share bar and stretches every row to the tallest card, which left large
   gaps. On these grids the bar is hidden (saving and sharing stay on the listing page), rows
   size to their own cards, and "See All Results" is a site button. */
.idx-grid .sidx-search-results .sidx-grid { grid-auto-rows: auto !important; grid-gap: 24px !important; align-items: start; }
.idx-grid .sidx-search-result-grid-item { margin-bottom: 0 !important; }
.idx-grid .sidx-small-screen .sidx-search-result-grid-item { margin: 0 auto 24px !important; }
.idx-grid .sidx-search-result-grid-item .sidx-actions { display: none !important; }
.idx-grid .sidx-hotsheet-see-all-results { display: inline-block; margin-top: 24px; padding: 14px 22px; border: 0; border-radius: var(--radius); background: var(--navy-2); color: var(--white) !important; font: 600 14px/1.2 var(--sans) !important; letter-spacing: .02em; white-space: nowrap; cursor: pointer; }
.idx-grid .sidx-hotsheet-see-all-results:hover, .idx-grid .sidx-hotsheet-see-all-results:focus { background: var(--navy); }
/* Phones: Showcase's script writes inline "padding/margin 0 !important; width 100%" on the
   grid's section and its parents, which a stylesheet can't override, so the heading and cards
   touched the screen edges. The gutter goes on the elements inside instead. */
@media (max-width: 768px) {
	.idx-grid > h2, .idx-grid .sidx-container > div { padding-left: var(--gutter) !important; padding-right: var(--gutter) !important; box-sizing: border-box; }
}
/* Center "See All Results" under the grid on every screen size */
.idx-grid .sidx-hotsheet-see-all-results { display: block !important; width: fit-content; margin: 24px auto 0 !important; }
/* Its <form> is shrink-wrapped narrower than the button on phones; make it full width */
.idx-grid form:has(> .sidx-hotsheet-see-all-results) { display: flex !important; justify-content: center; width: 100% !important; max-width: none !important; padding: 0 !important; box-sizing: border-box; }

/* ---------- Home page: market report card and FAQ (Chase, Nov 14 2026; inc/home-faq.php) ---------- */
.market-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 28px; align-items: center; margin: 0 0 20px; padding: 28px 32px; background: var(--navy); color: var(--on-dark); border-radius: var(--radius); text-decoration: none; transition: transform .15s; }
.market-card:hover, .market-card:focus-visible { transform: translateY(-2px); }
.market-card__text { display: flex; flex-direction: column; gap: 8px; }
.market-card__kicker { font: 500 12px/1.3 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted-dark); }
.market-card__title { font: 400 28px/1.2 var(--serif); color: var(--white); }
.market-card__meta { font-size: 14px; color: var(--muted-dark); }
.market-card__more { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--white); }
.market-card__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.market-card__stat { display: flex; flex-direction: column; gap: 4px; padding: 16px; background: var(--navy-card); border: 1px solid var(--navy-line); border-radius: var(--radius); }
.market-card__value { font: 500 24px/1.2 var(--serif); color: var(--white); }
.market-card__label { font-size: 12.5px; line-height: 1.35; color: var(--muted-dark); }
.market-card__change { font-size: 12.5px; color: var(--on-dark); }
@media (max-width: 900px) { .market-card { grid-template-columns: 1fr; padding: 24px 22px; } }
@media (max-width: 560px) { .market-card__stats { grid-template-columns: 1fr; } }

.home-faq { padding: 80px 0 88px; background: var(--navy); color: var(--on-dark); }    /* boxes on navy, "Read FAQs" set vertically (Chase, Nov 14 2026) */
.home-faq__inner { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 40px; align-items: stretch; }
.home-faq__side { display: flex; flex-direction: column; align-items: center; gap: 18px; border-right: 1px solid var(--navy-line); padding-right: 36px; }
.home-faq__kicker { margin: 0; font: 500 12px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted-dark); text-align: center; }
.home-faq__title { margin: 0; writing-mode: vertical-rl; transform: rotate(180deg); font: 400 64px/1 var(--serif); letter-spacing: .06em; color: var(--white); white-space: nowrap; }
.home-faq__list { display: flex; flex-direction: column; gap: 12px; }
.home-faq__item { background: var(--white); border-radius: 14px; border: 1px solid var(--white); overflow: hidden; }
.home-faq__item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 22px; font: 600 16px/1.4 var(--sans); color: var(--navy); }
.home-faq__item summary::-webkit-details-marker { display: none; }
.home-faq__item summary::after { content: ""; flex: 0 0 auto; width: 9px; height: 9px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.home-faq__item[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.home-faq__item[open] summary { border-bottom: 1px solid var(--line-soft); }
.home-faq__item p { margin: 0; padding: 16px 22px 20px; font-size: 15.5px; line-height: 27px; color: var(--ink); }
.home-faq__item a { color: var(--navy-2); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) {
	.home-faq { padding: 56px 0 64px; }
	.home-faq__inner { grid-template-columns: 1fr; gap: 24px; }
	.home-faq__side { flex-direction: row; justify-content: flex-start; border-right: 0; padding-right: 0; gap: 14px; align-items: baseline; }
	.home-faq__title { writing-mode: horizontal-tb; transform: none; font-size: 36px; }
	.home-faq__item summary { font-size: 15px; padding: 14px 18px; }
}
/* Less space between the reviews and "Bozeman by area" (Chase, Nov 14 2026) */
.reviews + .home-areas, .reviews ~ .home-areas { padding-top: 16px; }

/* MLS disclaimer in the footer (Chase, Nov 14 2026) */
.site-footer__mls { flex-basis: 100%; margin: 14px 0 0; font-size: 12px; line-height: 1.6; color: var(--muted-dark); max-width: 980px; }
/* Tighter spacing between the home listings, the video band and the blog section (Chase, Nov 14 2026) */
.site-main--home .idx-grid ~ br { display: none; }    /* REW's stray line break after the listings */
.site-main--home .block--lightest { padding-bottom: 40px; }
.site-main--home .home-videos { padding: 56px 0; }
.site-main--home .home-journal { padding-top: 56px; }
/* The FAQ band and the footer share the navy, so less space between them and a thin line (Chase, Nov 14 2026) */
.home-faq { padding-bottom: 48px; }
.home-faq + * , .site-main--home + .site-footer { border-top: 1px solid var(--navy-line); }

/* Header logo image in place of the typeset name (Chase, Nov 14 2026). The file is REW's 200x94 white logo. */
.site-header__logo { display: inline-flex; align-items: center; }
.site-header__logo-img { display: block; height: 52px; width: auto; margin: 0; }
@media (max-width: 1100px) { .site-header__logo-img { height: 46px; } }
@media (max-width: 700px) { .site-header__logo-img { height: 40px; } }
/* Even spacing around "Bozeman by area" and "Our Service Areas" (Chase, Nov 14 2026) */
.site-main--home section.reviews { padding-bottom: 40px; }
.site-main--home .block--darkest.block--communities { padding-top: 12px; }
/* Bio as one block with the photo floated right and the text wrapping around it (Chase, Nov 14 2026) */
.about-chase .teasers.teasers--2-col { display: block; }
.about-chase .teaser__content::after { content: ""; display: table; clear: both; }
.about-chase h2 { margin-top: 6px; margin-bottom: 22px; }
.about-chase .teaser__content img.about-chase__photo { float: right; width: 42%; max-width: 480px; margin: 6px 0 24px 48px; border-radius: var(--radius); }
.about-chase .teaser__content p { margin-bottom: 18px; }
@media (max-width: 760px) { .about-chase .teaser__content img.about-chase__photo { float: none; width: 100%; max-width: none; margin: 0 0 24px; } }
/* The gap under "Our Service Areas": the section's own padding and the photo grid's top margin (Chase, Nov 14 2026) */
.site-main--home .block--darkest.block--communities { padding-top: 0 !important; }
.site-main--home .block--communities .teasers { margin-top: 36px; }

/* The texting consent box stays hidden until a phone number is typed (forms.js) */
.lead-form__consent[hidden] { display: none !important; }

/* Search-first home layout (Chase, Nov 15 2026; preview at /?layout=search-first) */
.page-hero--home .idx-hero-search,
.page-hero--home .hero-search { max-width: 940px; margin: 32px auto 0; text-align: left; border-radius: var(--radius); }
.hero-doors--row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.hero-doors--row .hero-door { padding: 14px 16px; gap: 10px; }
.hero-doors--row .hero-door__label { font-size: 10px; letter-spacing: .2em; }
.hero-doors--row .hero-door__title { font-size: 17px; }
.hero-doors--row .hero-door__sub { display: none; }
.hero-doors--row .hero-door__arrow { font-size: 18px; }
@media (max-width: 900px) { .hero-doors--row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.site-main--search-first .listings-block { padding-top: 56px; }

.home-contact { background: var(--navy-2); color: var(--on-dark); padding: 72px 0; }
.home-contact__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.home-contact__text .kicker { color: var(--white); }
.home-contact__text h2 { color: var(--on-dark); font-size: 36px; margin: 0 0 12px; }
.home-contact__text p { color: var(--muted-dark); font-size: 15px; line-height: 26px; }
.home-contact__form { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 28px; }
@media (max-width: 860px) { .home-contact__inner { grid-template-columns: 1fr; gap: 24px; } }

/* Hero search bar styled like the doors (Chase, Nov 15 2026): navy fields with white borders and white
   text over the photo, and a white search button with a navy icon */
.page-hero .idx-hero-search { background: transparent; box-shadow: none; padding: 0; border-radius: 0; }
.page-hero .idx-hero-search .sidx-container .sidx-suggestions-input,
.page-hero .idx-hero-search .sidx-container .sidx-searchform .sidx-field,
.page-hero .idx-hero-search .sidx-container .sidx-streamlined-toggle { background: rgba(14, 27, 44, .82) !important; border: 1.5px solid var(--white) !important; border-radius: var(--radius) !important; color: var(--white) !important; transition: background .2s; }
.page-hero .idx-hero-search .sidx-container .sidx-suggestions-input:focus-within,
.page-hero .idx-hero-search .sidx-container .sidx-searchform .sidx-field:hover,
.page-hero .idx-hero-search .sidx-container .sidx-streamlined-toggle:hover { background: rgba(14, 27, 44, .95) !important; }
.page-hero .idx-hero-search .sidx-container .sidx-suggestions-input .sidx-icon,
.page-hero .idx-hero-search .sidx-container .sidx-streamlined-toggle .sidx-icon,
.page-hero .idx-hero-search .sidx-container .sidx-streamlined-toggle * { color: var(--white) !important; }
.page-hero .idx-hero-search .sidx-container .sidx-suggestions-input input { background: transparent !important; color: var(--white) !important; }
.page-hero .idx-hero-search .sidx-container .sidx-suggestions-input input::placeholder { color: rgba(255, 255, 255, .78) !important; }
.page-hero .idx-hero-search .sidx-container button.sidx-primary { background: var(--white) !important; border: 1.5px solid var(--white) !important; border-radius: var(--radius) !important; color: var(--navy) !important; }
/* hover: the navy flip below (Chase, Nov 15 2026) replaced the light grey */
.page-hero .idx-hero-search .sidx-container button.sidx-primary .sidx-icon { color: var(--navy) !important; }
/* Showcase strips the hero container's side padding on narrow screens; the search bar keeps a margin */
/* Showcase forces padding and margin to 0 (inline !important) on its widget and every container above it on
   narrow screens. It leaves borders alone, so a transparent border gives the hero its side gutter back */
.page-hero__inner[style*="padding-left: 0"] { border-left: var(--gutter) solid transparent; border-right: var(--gutter) solid transparent; box-sizing: border-box; }

/* The four doors as their own band after the bio (search-first layout) */
.home-doors { background: var(--navy); padding: 64px 0 72px; }
.home-doors__title { color: var(--on-dark); text-align: center; font-size: 36px; margin: 0; }
.home-doors .hero-doors { margin-top: 32px; }

/* Bio side padding of its own: Showcase's listing grid script strips the padding from the page container
   it sits in on phones, and the bio shared that container, so its text ran to the screen edges */
.site-main--search-first .about-chase { padding-left: var(--gutter); padding-right: var(--gutter); max-width: calc(var(--container) + 2 * var(--gutter)); margin-left: auto; margin-right: auto; box-sizing: border-box; }
.site-main--home .container[style*="padding-left: 0"] > .about-chase { padding-left: var(--gutter); padding-right: var(--gutter); box-sizing: border-box; }

/* Search-first spacing (Chase, Nov 15 2026): the copy's wrapper adds no padding of its own, and each
   section carries the same 64px above and below, so the gaps match all the way down */
.site-main--search-first .entry > section { padding: 0 !important; }
.site-main--search-first .listings-block { padding-top: 36px !important; padding-bottom: 64px !important; }
.site-main--search-first .listings-block h2 { margin-top: 0; }
.site-main--search-first .about-chase { padding-top: 64px; padding-bottom: 48px; }
.site-main--search-first .about-chase .teaser__content > :last-child { margin-bottom: 0; }
.site-main--search-first .home-areas { padding-top: 64px; }
.site-main--search-first .block--darkest.block--communities { padding-bottom: 8px !important; }
.site-main--search-first .communities-more { margin-top: 32px; }
.site-main--search-first .home-journal { padding: 64px 0; }
.site-main--search-first .home-guides { padding: 64px 0; }
.site-main--search-first section.reviews { padding-top: 64px; padding-bottom: 64px; }
.site-main--search-first .home-doors { padding: 64px 0; }
.site-main--search-first .home-contact { padding: 64px 0; }
/* The form's status line stays out of the layout until there's a message to show */
.lead-form__status:empty { display: none; }
.home-contact__form .lead-form__fineprint { margin-bottom: 0; }

/* Town statistics from the monthly market report (Chase, Nov 15 2026) */
.town-stats { margin: 48px auto; background: var(--navy); color: var(--on-dark); border-radius: var(--radius); padding: 40px; }
.town-stats h2 { color: var(--on-dark); margin: 0 0 6px; }
.town-stats__meta { color: var(--muted-dark); font-size: 14px; margin: 0 0 24px; }
.town-stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 0; }
.town-stats__item { border: 1.5px solid var(--navy-line); border-radius: var(--radius); padding: 18px 20px; }
.town-stats__item dt { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-dark); margin: 0 0 8px; }
.town-stats__item dd { margin: 0; font-family: var(--serif); font-size: 30px; color: var(--white); }
.town-stats__note { color: var(--muted-dark); font-size: 13px; margin: 16px 0 0; }
.town-stats__more { margin: 20px 0 0; }
.town-stats__more a { color: var(--white); }
@media (max-width: 600px) { .town-stats { padding: 28px 22px; } .town-stats__item dd { font-size: 24px; } }

/* Page title areas, every page (Chase, Nov 15 2026): the title block starts a fixed distance below the
   menu, 96px (64px on phones), and the photo area is only as tall as its text, instead of a fixed
   480px with the title pinned to the bottom, which left a tall empty band on pages with short titles */
.page-hero--photo:not(.page-hero--home), .method-hero { min-height: 0; align-items: flex-start; }
.page-hero--photo:not(.page-hero--home) .page-hero__inner { padding-top: 96px; padding-bottom: 72px; }
@media (max-width: 760px) {
	.page-hero--photo:not(.page-hero--home), .method-hero { min-height: 0; }
	.page-hero--photo:not(.page-hero--home) .page-hero__inner { padding-top: 64px; padding-bottom: 48px; }
}

/* Live "homes for sale right now" count over listing grids (Showcase's count widget, Chase, Nov 15 2026) */
.listings-count { display: flex; align-items: baseline; gap: 10px; margin: -6px 0 24px; font-size: 15px; color: var(--muted); }
.listings-count__num, .listings-count__num * { display: inline !important; margin: 0 !important; padding: 0 !important; }
.listings-count__num a { font-family: var(--serif); font-size: 30px; color: var(--navy) !important; text-decoration: none; }
.listings-count__num a:hover { text-decoration: underline; }
.listings-count__num link, .listings-count__num img, .listings-count__num input { display: none !important; }

/* Home hero about 25% shorter, the same space above and below its text (Chase, Nov 15 2026: the first adjustment, photo at 58%; he preferred it to both the original 640px and the 75% mountain shift) */
.page-hero--home { min-height: 480px; background-position: center 58%; }
.page-hero--home .page-hero__inner { padding-top: 48px; padding-bottom: 48px; }
@media (max-width: 768px) { .page-hero--home { min-height: 420px; } .page-hero--home .page-hero__inner { padding-top: 40px; padding-bottom: 40px; } }
/* Navy ring around the white search button */
.page-hero .idx-hero-search .sidx-container button.sidx-primary { border-color: var(--navy) !important; }
/* Bio signature line (Chase, Nov 15 2026) */
.about-chase__sig { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line-soft); font-weight: 600; color: var(--navy); clear: both; }
/* Hover on white cards over cream: the navy border stays, the card lifts with a soft navy shadow (Chase, Nov 15 2026) */
.cta__communities ul a, .method-resource, .guide-page .gp-sec--links a, .guide-page .gp-sub--links p > a, .guide-page .entry a.gp-town, .guide-seller-guide .gp-sec--seller-tools-resources > ul > li, .card, .home-area, .entry a.lib-more-card, .entry .sd-life, .entry .sub-card, .entry .hv-tool--light, .sidx-container .sidx-search-result-grid-item, #lvg .lvg-town, #lvg .lvg-cat { transition: transform .2s, box-shadow .2s, border-color .2s; }
.cta__communities ul a:hover, .method-resource:hover, .guide-page .gp-sec--links a:hover, .guide-page .gp-sub--links p > a:hover, .guide-page .entry a.gp-town:hover, .guide-seller-guide .gp-sec--seller-tools-resources > ul > li:hover, .card:hover, .home-area:hover, .entry a.lib-more-card:hover, .entry .sd-life:hover, .entry .sub-card:hover, .entry .hv-tool--light:hover, .sidx-container .sidx-search-result-grid-item:hover, #lvg .lvg-town:hover, #lvg .lvg-cat:hover, .cta__communities ul a:focus-visible, .method-resource:focus-visible, .guide-page .gp-sec--links a:focus-visible, .guide-page .gp-sub--links p > a:focus-visible, .guide-page .entry a.gp-town:focus-visible, .card:focus-visible, .home-area:focus-visible, .entry a.lib-more-card:focus-visible { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(14, 27, 44, .30) !important; border-color: var(--navy) !important; }
@media (prefers-reduced-motion: reduce) { .cta__communities ul a:hover, .method-resource:hover, .guide-page .gp-sec--links a:hover, .guide-page .gp-sub--links p > a:hover, .guide-page .entry a.gp-town:hover, .guide-seller-guide .gp-sec--seller-tools-resources > ul > li:hover, .card:hover, .home-area:hover, .entry a.lib-more-card:hover, .entry .sd-life:hover, .entry .sub-card:hover, .entry .hv-tool--light:hover, .sidx-container .sidx-search-result-grid-item:hover, #lvg .lvg-town:hover, #lvg .lvg-cat:hover { transform: none; } }
/* The line above the search bar matches the LIVE IN BOZEMAN line (Chase, Nov 15 2026) */
.page-hero--home .page-hero__lede { font: 500 13px/1.4 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--white); margin-top: 20px; }
/* That line sits close to the search bar it labels (Chase, Nov 15 2026) */
.page-hero--home .page-hero__lede { margin-top: 28px; }
.page-hero--home .page-hero__inner:has(.page-hero__lede) .idx-hero-search, .page-hero--home .page-hero__inner:has(.page-hero__lede) .hero-search { margin-top: 12px; }
@media (max-width: 480px) { .page-hero--home .page-hero__lede { font-size: 12px; letter-spacing: .16em; } }    /* one line on phones */

/* "Search Bozeman Homes" heads the Search Homes menu as a white button (Chase, Nov 15 2026) */
.nav__sub .nav__cta-item { padding-bottom: 6px; }
.nav__sub .nav__cta-item + li { border-top: 0; }
.nav__sub a.nav__cta { justify-content: center; gap: 8px; background: var(--white); color: var(--navy); font-weight: 600; border: 1.5px solid var(--white); }
.nav__sub a.nav__cta::after { content: "\2192"; opacity: 1; transform: none; color: var(--navy); }
.nav__sub a.nav__cta:hover, .nav__sub a.nav__cta:focus-visible { background: var(--tint); color: var(--navy); }
.nav__sub a.nav__cta:hover::after, .nav__sub a.nav__cta:focus-visible::after { color: var(--navy); }
@media (max-width: 1199.98px) { .nav__sub a.nav__cta { justify-content: flex-start; margin: 4px 12px 4px 0; } }

/* Testimonials page merged with the home page reviews (Chase, Nov 15 2026) */
.tst-summary { margin: 28px 0 22px; text-align: center; color: var(--muted); font-size: 15px; }
.tst-summary strong { color: var(--navy); font-size: 20px; margin-right: 4px; }
.tst-summary .stars, .tcard__meta .stars { color: var(--navy-2); letter-spacing: 1px; }    /* same as the home carousel */
.tcard__who { display: flex; flex-direction: column; gap: 2px; }
.tcard__meta { font-weight: 400; font-size: 13px; color: var(--muted); }
.tst-tabs { justify-content: center; margin: 0 0 24px; }
.tst-wall .tcard[hidden] { display: none; }

/* Office Featured Listings under Chase's own on /listings/ (Nov 15 2026) */
.idx-grid--office { margin-top: 56px; }
.idx-grid__lede { color: var(--muted); margin: -6px 0 18px; }

/* Featured Listings (/listings/) spacing (Chase, Nov 15 2026): less empty space above the intro, room above the closing line */
body.page-id-411 .site-main { padding-top: 44px; padding-bottom: 64px; }
body.page-id-411 .entry > .hero__container__headline { display: none; }    /* REW's leftover "Our Listings" heading */
body.page-id-411 .entry > p:first-of-type { max-width: 820px; margin-bottom: 0; }
body.page-id-411 .entry > p.highlight { margin: 40px 0 0; }
@media (max-width: 768px) { body.page-id-411 .site-main { padding-top: 32px; padding-bottom: 48px; } body.page-id-411 .entry > p.highlight { margin-top: 28px; } }

/* Landing pages: logo about 40% larger (Chase, Nov 15 2026); the header grows to fit it */
.site-header--landing .site-header__logo-img { height: 72px; }
.site-header--landing .site-header__inner { min-height: 0; height: auto; padding-top: 14px; padding-bottom: 14px; }
@media (max-width: 1100px) { .site-header--landing .site-header__logo-img { height: 64px; } }
@media (max-width: 700px) { .site-header--landing .site-header__logo-img { height: 56px; } .site-header--landing .site-header__inner { padding-top: 10px; padding-bottom: 10px; } }

/* Space between the last field and the submit button on every lead form (Chase, Nov 15 2026); the texting checkbox, when it opens, keeps its own margins */
.lead-form .lead-form__submit { margin-top: 20px; }
.lead-form .lead-form__consent:not([hidden]) ~ .lead-form__submit { margin-top: 2px; }
.lead-form .lead-form__fineprint { margin-top: 16px; }

/* Landing page light concept, preview only with ?look=light (Chase, Nov 15 2026): light page, white card
   with the same solid navy border as the site's cards, navy kept for the header, button and footer */
.landing--light .site-main--landing { background: var(--ground); padding-top: 56px; }
.landing--light .entry--landing .lib-gate { border: 1.5px solid var(--navy); box-shadow: 0 12px 32px rgba(14, 27, 44, .12); }
.landing--light .entry--landing .lib-gate::before { content: ""; display: block; height: 6px; margin: -44px -44px 36px; background: var(--navy); border-radius: var(--radius) var(--radius) 0 0; }
.landing--light .lib-gate__kicker { color: var(--navy); font-weight: 600; }
@media (max-width: 768px) { .landing--light .entry--landing .lib-gate::before { margin: -28px -22px 24px; } }

/* No grey text (Chase, Nov 15 2026): Showcase's listing cards (price, address, beds/baths/sqft, subdivision) in black too */
.sidx-container .sidx-price, .sidx-container .sidx-listing-heading, .sidx-container .sidx-info-value, .sidx-container .sidx-search-result-grid-item small { color: var(--ink) !important; }

/* Landing pages: the kicker sits right over the title (Chase, Nov 15 2026) */
.entry--landing .lib-gate__kicker { margin-bottom: 8px; }
.entry--landing .lib-gate__title { margin-top: 0; }

/* Landing pages: after sign-up the guide shows in the card, with Download and Open full screen (Chase, Nov 15 2026).
   Phones, which can't show a PDF inside a page, get the two buttons (the frame hides under 760px, line ~941). */
.entry--landing .lead-form.is-sent .lead-form__thanks { font-size: 18px; color: var(--ink); margin: 4px 0 16px; }
.entry--landing .pdf-viewer--landing { display: block; margin: 0; }
.entry--landing .pdf-viewer--landing .pdf-viewer__frame { height: 70vh; min-height: 480px; }
.entry--landing .pdf-viewer__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.entry--landing .pdf-viewer__actions .pdf-viewer__open { margin-top: 0; border: 1.5px solid var(--navy); color: var(--navy) !important; background: var(--white); }

/* Search bar: the same small arrow on Price, Beds, Baths and More (Chase, Nov 15 2026). Showcase only gave More one
   (a 12px icon); all four now share this smaller drawn chevron, and More's flips up while its panel is open. */
.sidx-container .sidx-dropdown .sidx-field { display: flex; align-items: center; justify-content: center; }    /* full width of its slot, as before the arrows */
.sidx-container .sidx-streamlined-toggle > span { display: inline-flex; align-items: center; }
.sidx-container .sidx-dropdown .sidx-field::after, .sidx-container .sidx-streamlined-toggle > span::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: -3px 0 0 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .15s; flex: none; }
.sidx-container .sidx-streamlined-toggle[aria-expanded="true"] > span::after { transform: rotate(-135deg); margin-top: 3px; }
.sidx-container .sidx-streamlined-toggle > span > i.sidx-icon { display: none !important; }

/* Hero search button: the word "Search" beside the magnifying glass, and on hover it fills navy with a white icon
   and label, lifting slightly like the cards (Chase, Nov 15 2026) */
.page-hero .idx-hero-search .sidx-container button.sidx-primary { display: flex !important; align-items: center; justify-content: center; gap: 8px; font: 600 14px/1 var(--sans) !important; letter-spacing: .02em; transition: background .15s, color .15s, transform .15s, box-shadow .15s; }
.page-hero .idx-hero-search .sidx-container button.sidx-primary::after { content: "Search"; }
.page-hero .idx-hero-search .sidx-container button.sidx-primary:hover, .page-hero .idx-hero-search .sidx-container button.sidx-primary:focus-visible { background: var(--navy) !important; color: var(--white) !important; border-color: var(--white) !important; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .35); }
.page-hero .idx-hero-search .sidx-container button.sidx-primary:hover .sidx-icon, .page-hero .idx-hero-search .sidx-container button.sidx-primary:focus-visible .sidx-icon { color: var(--white) !important; }
@media (prefers-reduced-motion: reduce) { .page-hero .idx-hero-search .sidx-container button.sidx-primary:hover { transform: none; } }

/* Where would you like to start? band: the doors on the lighter navy card color, like the market report boxes, so they
   stand out from the navy band (Chase, Nov 15 2026; they were see-through navy, made for sitting over the hero photo) */
.home-doors { background: var(--navy-card); }    /* swapped (Chase, Nov 15 2026): lighter band, dark navy boxes */
.home-doors .hero-door { background: var(--navy); }
.home-doors .hero-door:hover, .home-doors .hero-door:focus { background: #070f1a; box-shadow: 0 10px 24px rgba(0, 0, 0, .3); }

/* Home hero: "LIVE IN BOZEMAN" a few sizes larger so it stands out (Chase, Nov 15 2026; was 13px). The search line under
   the title stays 13px. */
.page-hero--home .page-hero__kicker { font-size: 17px; letter-spacing: .3em; }
.page-hero--home .page-hero__kicker::before, .page-hero--home .page-hero__kicker::after { width: 72px; }
@media (max-width: 480px) { .page-hero--home .page-hero__kicker { font-size: 14px; letter-spacing: .24em; gap: 12px; } .page-hero--home .page-hero__kicker::before, .page-hero--home .page-hero__kicker::after { width: 36px; } }

/* Town photo boxes: the name and "Explore" sit on a navy footer strip so they read on any photo (Chase, Nov 15 2026;
   they were on a fade that got lost on bright photos). Home service areas and every town grid like it. */
.block--communities .teaser__content, .entry a.teaser .teaser__content { background: rgba(14, 27, 44, .88) !important; padding: 14px 20px !important; align-items: center !important; border-top: 1px solid rgba(255, 255, 255, .18); transition: background .2s; }
.block--communities a.teaser:hover .teaser__content, .entry a.teaser:hover .teaser__content, .entry a.teaser:focus-visible .teaser__content { background: var(--navy) !important; }
.block--communities .teaser__headline { font-size: 24px; line-height: 1.2; }
.entry a.teaser .teaser__headline { font-size: 22px; }
.block--communities .teaser__content::after, .entry a.teaser .teaser__content::after { font-weight: 600; }

/* Where would you like to start?: BUY / SELL / MOVE / MARKET labels a few sizes larger (Chase, Nov 16 2026; were 12px) */
.home-doors .hero-door__label { font-size: 16px; letter-spacing: .26em; font-weight: 500; }
.home-doors .hero-door__text { gap: 10px; }
@media (max-width: 700px) { .home-doors .hero-door__label { font-size: 14px; letter-spacing: .22em; } }
