/*
Theme Name: Jamie Ruten REALTOR
Theme URI: https://jamierutenrealtor.com
Author: Jamie Ruten, REALTOR®
Description: Custom theme for Jamie Ruten, REALTOR® (All City Real Estate). Frosted-glass cards floating over a photo background (structure modeled on the Dragonfly Inspections theme), in a soft ivory / blush / warm-neutral palette with gold from Jamie's logo.
Version: 2.0
License: GNU General Public License v2 or later
Text Domain: jamie-ruten
*/

/* ===== Design tokens ===== */
:root {
  --gold: #c5983d;            /* sampled from JamieRutenRealtor_Logo_Gold.png */
  --gold-light: #e4c88e;
  --gold-soft: rgba(197,152,61,.38);
  --gold-text: #7a5718;       /* AA on ivory (6.1:1) */
  --ivory: #fbf7f1;
  --cream: #f7efe8;
  --blush: #f2dfd8;
  --blush-deep: #e6c6bb;
  --sand: #e9dccb;
  --taupe: #6b5a52;           /* secondary text, AA 5.7:1 */
  --ink: #3b2f2a;             /* body text, 11:1 */
  --mocha: #3f302b;
  --glass: rgba(255,251,247,.66);
  --glass-strong: rgba(255,251,247,.86);
  --glass-blush: rgba(248,231,225,.70);
  --glass-dark: rgba(63,48,43,.84);
  --radius: 22px;
  --shadow: 0 10px 34px rgba(80,52,40,.14), 0 1px 0 rgba(255,255,255,.6) inset;
  --serif: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --script: 'Allura', 'Brush Script MT', cursive;
  --max: 1160px;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--sans); font-weight: 400; font-size: 1.0625rem; line-height: 1.7; color: var(--ink); background: var(--ivory); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--mocha); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--mocha); line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li { margin-bottom: .35em; }
.screen-reader-text, .sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--mocha); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }

/* ===== Photo background (fixed layer like Dragonfly's .page-bg) ===== */
.page-bg { position: fixed; inset: 0; z-index: -2; background: var(--cream) url('/wp-content/uploads/jr/bg-1000.webp') center/cover no-repeat; }
@media (min-width: 1001px) { .page-bg { background-image: url('/wp-content/uploads/jr/bg-1920.webp'); } }
.page-bg::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(251,247,241,.42) 0%, rgba(244,224,216,.30) 45%, rgba(236,222,203,.46) 100%); }
.page-bg .df { position: absolute; width: 180px; opacity: .16; z-index: 1; pointer-events: none; }
.page-bg .df-1 { top: 16%; right: 5%; transform: rotate(-18deg); }
.page-bg .df-2 { bottom: 10%; left: 4%; width: 130px; transform: rotate(22deg) scaleX(-1); }

/* ===== Layout ===== */
.container { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
main { display: block; padding: 8px 0 24px; }
.glass { background: var(--glass); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255,255,255,.65); outline: 1px solid var(--gold-soft); outline-offset: -7px;
  border-radius: var(--radius); box-shadow: var(--shadow); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .glass { background: var(--glass-strong); } }
.glass.blush { background: var(--glass-blush); }
.glass.dark { background: var(--glass-dark); color: #f3e6d3; border-color: rgba(228,200,142,.35); outline-color: rgba(228,200,142,.3); }
.glass.dark h2, .glass.dark h3 { color: #fff; }
.glass.dark a:not(.btn) { color: var(--gold-light); }
.section { margin: 26px auto; max-width: var(--max); padding: 0 18px; }
.card { padding: clamp(26px, 4vw, 52px); }
.center { text-align: center; }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }

/* Section headings: serif caps + script accent, gold hairline with dragonfly (mirrors Dragonfly's "OUR Services") */
.eyebrow { font-family: var(--sans); font-size: .8rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 .7em; }
.glass.dark .eyebrow { color: var(--gold-light); }
.sh { text-align: center; }
.sh .script, h1 .script, h2 .script { font-family: var(--script); font-weight: 400; color: var(--gold-text); font-size: 1.35em; letter-spacing: 0; line-height: .9; }
.glass.dark .sh .script, .glass.dark h2 .script { color: var(--gold-light); }
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 4px auto 22px; }
.ornament::before, .ornament::after { content: ''; height: 1px; width: 80px; background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament::after { transform: scaleX(-1); }
.ornament img { width: 44px; height: auto; }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 50; padding: 12px 0 0; }
.site-header .bar { max-width: var(--max); margin: 0 auto; padding: 10px 18px 10px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(255,251,247,.82); -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(255,255,255,.7); border-radius: 999px; box-shadow: 0 6px 24px rgba(80,52,40,.12); }
@media (max-width: 1199px) { .site-header { padding: 10px 12px 0; } }
.brand img { height: 54px; width: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; }
.site-nav li { margin: 0; }
.site-nav a { display: inline-block; padding: 8px 9px; border-radius: 999px; text-decoration: none; color: var(--ink); font-size: .84rem; font-weight: 500; letter-spacing: .05em; white-space: nowrap; text-transform: uppercase; }
.site-nav a:hover { background: rgba(197,152,61,.14); color: var(--mocha); }
.site-nav .current-menu-item > a, .site-nav .current_page_item > a, .site-nav .current-page-ancestor > a { color: var(--gold-text); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.header-cta { white-space: nowrap; }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--gold); border-radius: 999px; padding: 9px 12px; cursor: pointer; color: var(--mocha); }
.nav-toggle-bar { display: block; width: 22px; height: 2px; background: currentColor; margin: 4px 0; border-radius: 2px; }
@media (max-width: 1080px) {
  .site-header .bar { border-radius: 26px; flex-wrap: wrap; }
  .brand img { height: 46px; }
  .nav-toggle { display: inline-block; }
  .site-header .header-cta { display: none; }
  .site-nav { display: none; width: 100%; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 8px 0 6px; }
  .site-nav a { display: block; padding: 13px 10px; border-top: 1px solid rgba(197,152,61,.25); border-radius: 0; }
  .site-nav .current-menu-item > a, .site-nav .current_page_item > a { box-shadow: inset 3px 0 0 var(--gold); }
}

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 26px; border-radius: 999px; font-family: var(--sans); font-size: .88rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .15s; }
.btn-gold { background: linear-gradient(135deg, #d9b467, var(--gold) 55%, #b48632); color: #2e2420; box-shadow: 0 6px 18px rgba(176,131,44,.32); }
.btn-gold:hover { color: #2e2420; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(176,131,44,.4); }
.btn-outline { background: rgba(255,255,255,.5); color: var(--mocha); border-color: var(--gold); }
.btn-outline:hover { background: rgba(255,255,255,.85); color: var(--mocha); }
.glass.dark .btn-outline { background: transparent; color: #fff; border-color: var(--gold-light); }
.glass.dark .btn-outline:hover { background: rgba(228,200,142,.15); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.center .btn-row, .btn-row.center { justify-content: center; }

/* ===== Hero ===== */
.hero { margin-top: 26px; }
.hero .card { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 28px; padding-bottom: 0; overflow: hidden; }
.hero-copy { padding-bottom: clamp(26px, 4vw, 52px); }
.hero-logo { width: min(330px, 80%); margin: 0 0 18px; }
.hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.5rem); font-weight: 500; }
.hero h1 .script { display: block; font-size: 1.1em; margin-top: .1em; }
.hero .lead { font-size: 1.15rem; color: var(--taupe); max-width: 560px; }
.hero-meta { font-size: .86rem; letter-spacing: .08em; color: var(--taupe); margin-top: 20px; }
.hero-photo { position: relative; align-self: end; display: flex; justify-content: center; }
.hero-photo .arch { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 88%; aspect-ratio: 3/4; border-radius: 999px 999px 0 0;
  background: radial-gradient(circle at 50% 30%, #fff 0%, var(--blush) 55%, var(--blush-deep) 100%); border: 1px solid var(--gold-soft); }
.hero-photo .ring { position: absolute; top: 10%; left: 50%; transform: translateX(-50%); width: 76%; aspect-ratio: 1; border-radius: 50%; border: 1.5px solid var(--gold); opacity: .7; }
.hero-photo img.portrait { position: relative; width: min(400px, 92%); height: auto; }
.hero-photo .df-float { position: absolute; top: 6%; right: 2%; width: 92px; transform: rotate(-12deg); }
@media (max-width: 860px) {
  .hero .card { grid-template-columns: 1fr; text-align: center; padding-top: 30px; }
  .hero-logo { margin: 0 auto 14px; width: min(260px, 74%); }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero .btn-row { justify-content: center; }
  .hero-photo img.portrait { width: min(320px, 82%); }
}

/* ===== Grids & feature cards ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 760px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.feature { overflow: hidden; display: flex; flex-direction: column; padding: 0; }
.feature img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.feature .body { padding: 26px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.feature .body .btn { margin-top: auto; align-self: flex-start; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: center; }
.split img { border-radius: calc(var(--radius) - 6px); box-shadow: 0 10px 30px rgba(80,52,40,.18); width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: 30% 50%; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 14px; height: 8px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.pill-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; padding: 0; margin: 0; }
.pill-list a, .pill-list span { display: inline-block; padding: 8px 16px; border: 1px solid var(--gold-soft); background: rgba(255,255,255,.55); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: .95rem; }
.pill-list a:hover { border-color: var(--gold); background: #fff; }
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding: 16px 18px 16px 64px; background: rgba(255,255,255,.55); border: 1px solid var(--gold-soft); border-radius: 16px; margin: 0; }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 1.15rem; color: #2e2420; background: linear-gradient(135deg, #e0bf7a, var(--gold)); }
.steps strong { display: block; font-family: var(--serif); font-size: 1.25rem; color: var(--mocha); }

/* ===== Placeholders (clearly marked; for content the owner must supply) ===== */
.placeholder { border: 1.5px dashed var(--gold); background: rgba(255,255,255,.5); border-radius: 14px; padding: 16px 18px; color: var(--taupe); font-size: .95rem; }
.placeholder strong { color: var(--gold-text); letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; display: block; margin-bottom: 4px; }

/* ===== IDX "coming soon" cards ===== */
.idx-card { position: relative; overflow: hidden; text-align: center; padding: clamp(26px,4vw,44px); border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255,255,255,.72), rgba(242,223,216,.72)); border: 1px solid var(--gold-soft); }
.idx-card .df-mark { width: 64px; margin: 0 auto 10px; }
.idx-card h2, .idx-card h3 { margin-bottom: .3em; }
.idx-card .soon { display: inline-block; font-size: .76rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text); border: 1px solid var(--gold); border-radius: 999px; padding: 4px 14px; margin-bottom: 14px; }
.idx-card p { max-width: 620px; margin-left: auto; margin-right: auto; color: var(--taupe); }
.idx-card .btn-row { justify-content: center; }
.idx-ghost { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 22px auto 4px; max-width: 760px; }
.idx-ghost span { display: block; aspect-ratio: 4/3; border-radius: 14px; background: linear-gradient(160deg, rgba(255,255,255,.8), rgba(233,220,203,.7)); border: 1px solid rgba(197,152,61,.22); }
@media (max-width: 600px) { .idx-ghost { grid-template-columns: 1fr 1fr; } .idx-ghost span:nth-child(3) { display: none; } }

/* ===== Inner pages ===== */
.page-hero { margin-top: 26px; }
.page-hero .card { text-align: center; padding-top: 40px; padding-bottom: 36px; }
.page-hero h1 { margin-bottom: .25em; }
.page-hero .lead { max-width: 760px; margin: 0 auto; color: var(--taupe); font-size: 1.12rem; }
.breadcrumbs { font-size: .85rem; letter-spacing: .04em; color: var(--taupe); margin: 0 0 14px; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: '\203A'; margin: 0 6px; color: var(--gold); }
.breadcrumbs a { color: var(--taupe); }
.entry { font-size: 1.05rem; }
.entry > .glass { margin: 26px 0; }
.entry h2 { margin-top: .2em; }
.entry h3 { margin-top: 1.2em; }
.entry .glass h2:first-child { margin-top: 0; }
.entry table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: .97rem; background: rgba(255,255,255,.5); border-radius: 12px; overflow: hidden; }
.entry th, .entry td { text-align: left; padding: 10px 12px; border-bottom: 1px solid rgba(197,152,61,.25); vertical-align: top; }
.entry th { font-family: var(--sans); font-weight: 600; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); background: rgba(247,239,232,.8); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 6px 0 18px; }
.fact { background: rgba(255,255,255,.6); border: 1px solid var(--gold-soft); border-radius: 16px; padding: 16px 18px; }
.fact .k { display: block; font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); }
.fact .v { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--mocha); line-height: 1.2; margin-top: 4px; }
.fact .n { display: block; font-size: .82rem; color: var(--taupe); margin-top: 4px; }
.sources { font-size: .86rem; color: var(--taupe); }
.sources li { margin-bottom: .2em; }
.asof { font-size: .85rem; color: var(--taupe); font-style: italic; }
.attractions { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.attractions li { background: rgba(255,255,255,.6); border: 1px solid var(--gold-soft); border-left: 3px solid var(--gold); border-radius: 14px; padding: 14px 16px; margin: 0; }
.attractions strong { font-family: var(--serif); font-size: 1.2rem; color: var(--mocha); display: block; }
.attractions .type { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); }
.attractions p { margin: 6px 0 0; font-size: .96rem; }
.nearby { margin-top: 8px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; list-style: none; padding: 0; margin: 18px 0 0; }
.toc li { margin: 0; }
.toc a { display: inline-block; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--gold-soft); color: var(--ink); background: rgba(255,255,255,.5); }
.toc a:hover { border-color: var(--gold); background: #fff; }

/* FAQ (native details/summary: accessible, no JS, content stays crawlable) */
.faq details { background: rgba(255,255,255,.62); border: 1px solid var(--gold-soft); border-radius: 14px; margin: 0 0 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-family: var(--serif); font-size: 1.22rem; font-weight: 600; color: var(--mocha); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 1.4rem; color: var(--gold-text); }
.faq details[open] summary::after { content: '\2212'; }
.faq details > div { padding: 0 18px 14px; }

/* ===== Communities hub ===== */
.hub-search { max-width: 680px; margin: 22px auto 0; display: flex; gap: 10px; }
.hub-search input[type=search] { flex: 1; min-width: 0; min-height: 52px; font: inherit; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--gold); background: rgba(255,255,255,.85); color: var(--ink); }
.hub-search input[type=search]::placeholder { color: #8a7a72; }
.hub-count { text-align: center; font-size: .9rem; color: var(--taupe); margin: 10px 0 0; min-height: 1.5em; }
.county-group { margin-top: 26px; }
.county-group > h2 { text-align: center; font-size: 1.6rem; }
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0; }
.city-card { margin: 0; }
.city-card a.inner { display: flex; flex-direction: column; height: 100%; padding: 22px 22px 18px; text-decoration: none; color: var(--ink); border-radius: 18px; background: rgba(255,255,255,.66); border: 1px solid var(--gold-soft); border-top: 3px solid var(--gold); transition: transform .15s, box-shadow .15s; }
.city-card a.inner:hover, .city-card a.inner:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(80,52,40,.14); }
.city-card h3 { margin: 0 0 2px; font-size: 1.5rem; }
.city-card .county { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; }
.city-card p { font-size: .95rem; margin: 10px 0; color: var(--taupe); }
.city-card .tags { font-size: .82rem; color: var(--taupe); margin-top: auto; border-top: 1px solid rgba(197,152,61,.25); padding-top: 10px; }
.city-card .more { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; margin-top: 8px; }
.city-card[hidden], .county-group[hidden] { display: none; }

/* ===== Forms ===== */
.jr-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.jr-form .full { grid-column: 1 / -1; }
.jr-form label { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mocha); margin-bottom: 6px; }
.jr-form input, .jr-form select, .jr-form textarea { width: 100%; font: inherit; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(122,87,24,.45); background: rgba(255,255,255,.85); color: var(--ink); min-height: 48px; }
.jr-form textarea { min-height: 140px; resize: vertical; }
.jr-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.jr-form .consent { font-size: .85rem; color: var(--taupe); }
.notice { padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; border: 1px solid; }
.notice.ok { background: #f1f7ee; border-color: #8fb07e; color: #2f4a25; }
.notice.err { background: #fbefec; border-color: #c98a7a; color: #6b2a1c; }
@media (max-width: 640px) { .jr-form { grid-template-columns: 1fr; } }
.contact-lines { list-style: none; padding: 0; }
.contact-lines li { margin-bottom: 10px; }
.contact-lines .k { display: block; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; }

/* ===== Search results ===== */
.search-results-list { list-style: none; padding: 0; }
.search-results-list li { padding: 16px 0; border-bottom: 1px solid rgba(197,152,61,.25); }
.search-results-list h2 { font-size: 1.4rem; margin: 0 0 4px; }
.search-form { display: flex; gap: 10px; max-width: 560px; margin: 16px auto 0; }
.search-form input[type=search] { flex: 1; min-height: 48px; font: inherit; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--gold); background: rgba(255,255,255,.85); }

/* ===== Footer ===== */
.site-footer { margin: 34px auto 18px; max-width: var(--max); padding: 0 18px; }
.site-footer .card { padding: 42px clamp(22px, 4vw, 48px) 28px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light) !important; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: #f3e6d3 !important; text-decoration: none; }
.site-footer a:hover { color: #fff !important; text-decoration: underline; }
.footer-logo { width: 210px; margin-bottom: 14px; }
.footer-small { font-size: .9rem; line-height: 1.6; }
.trec { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(228,200,142,.3); display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; font-size: .92rem; }
.trec a { text-decoration: underline !important; text-underline-offset: 3px; }
.legal { text-align: center; font-size: .82rem; color: #d9c9b6; margin-top: 16px; }
.legal p { margin: 4px 0; }
.eho { display: inline-flex; align-items: center; gap: 6px; }
.social { display: flex; flex-wrap: wrap; gap: 8px 14px; }

/* ===== Misc ===== */
.wp-caption, .alignnone { max-width: 100%; }
.aligncenter { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; }

.small { font-size: .88rem; color: var(--taupe); }
.placeholder-inline { color: var(--gold-text); font-style: italic; }
.glass.blush .steps li { background: rgba(255,255,255,.7); }
@media (min-width: 1081px) { .site-nav ul { flex-wrap: nowrap; } }

/* Google reviews (Trustindex widget wrapper) */
.jr-reviews { margin-top: 1.25rem; }
.jr-reviews-widget { margin: 1rem 0 0; text-align: left; }
.jr-reviews-widget .ti-widget { font-family: inherit !important; }
.review-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 1.25rem 0 0; }
#reviews .review-links { justify-content: flex-start; }

/* Leaflet maps (progressive enhancement) */
.jr-map-wrap { margin: 1.25rem 0 1.5rem; }
.jr-map { position: relative; z-index: 0; height: 440px; border-radius: 18px; overflow: hidden; border: 1px solid var(--gold-soft); background: var(--cream); box-shadow: var(--shadow); }
.jr-map-city { height: 360px; margin-top: 1rem; }
.jr-map .map-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; margin: 0; color: var(--taupe); font-size: .95rem; text-align: center; padding: 1rem; }
.map-note { margin: .6rem 0 0; color: var(--taupe); }
.jr-pin, .jr-lake { background: none; border: 0; }
.jr-pin svg { filter: drop-shadow(0 2px 3px rgba(63,48,43,.35)); }
.jr-lake svg { filter: drop-shadow(0 1px 2px rgba(63,48,43,.3)); }
.jr-map .leaflet-popup-content-wrapper { border-radius: 14px; background: var(--glass-strong); backdrop-filter: blur(6px); box-shadow: var(--shadow); }
.jr-map .leaflet-popup-content { margin: 12px 16px; font-family: var(--sans); color: var(--ink); line-height: 1.4; }
.jr-map .pp-t { display: block; font-family: var(--serif); font-size: 1.2rem; color: var(--mocha); }
.jr-map .pp-c { display: block; font-size: .82rem; color: var(--taupe); margin: 2px 0 6px; }
.jr-map .leaflet-popup-content a { color: var(--gold-text); font-weight: 600; }
.jr-map .leaflet-control-layers { border-radius: 12px; font-family: var(--sans); }
.jr-map .leaflet-container, .jr-map.leaflet-container { font-family: var(--sans); }
@media (max-width: 640px) { .jr-map { height: 340px; } .jr-map-city { height: 300px; } }

.jr-cluster { background: none; border: 0; }
.jr-cluster span { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #e4c88e, #c5983d 70%); color: #3f302b; font: 600 14px/1 var(--sans); border: 2px solid #fffaf3; box-shadow: 0 0 0 5px rgba(197,152,61,.28), 0 2px 6px rgba(63,48,43,.3); }
.jr-map-hint { background: var(--glass-strong); color: var(--ink); font: 500 13px/1.3 var(--sans); padding: 6px 10px; border-radius: 10px; box-shadow: var(--shadow); }

@media (max-width: 520px) { .hub-search { flex-wrap: wrap; } .hub-search input[type=search] { flex-basis: 100%; } .hub-search .btn { width: 100%; } }

/* Trustindex Google reviews: palette overrides */
.jr-rating-line { margin: .25rem 0 0; color: var(--taupe); font-size: .98rem; }
.jr-rating-line strong { color: var(--mocha); font-family: var(--serif); font-size: 1.25rem; }
.jr-stars { color: var(--gold); letter-spacing: 2px; }
.jr-reviews-widget .ti-widget.ti-goog .ti-review-item > .ti-inner { background: var(--glass-strong) !important; border: 1px solid var(--gold-soft) !important; border-radius: 18px !important; box-shadow: 0 6px 20px rgba(80,52,40,.10) !important; }
.jr-reviews-widget .ti-widget.ti-goog .ti-name { font-family: var(--serif) !important; font-size: 1.2rem !important; font-weight: 600 !important; color: var(--mocha) !important; }
.jr-reviews-widget .ti-widget.ti-goog .ti-date { color: var(--taupe) !important; }
.jr-reviews-widget .ti-widget.ti-goog .ti-review-content, .jr-reviews-widget .ti-widget.ti-goog .ti-review-text-container { color: var(--ink) !important; font-family: var(--sans) !important; font-size: .97rem !important; line-height: 1.6 !important; }
.jr-reviews-widget .ti-widget.ti-goog .ti-read-more span, .jr-reviews-widget .ti-widget.ti-goog .ti-read-more { color: var(--gold-text) !important; font-weight: 600 !important; }
.jr-reviews-widget .ti-widget.ti-goog .ti-controls .ti-next, .jr-reviews-widget .ti-widget.ti-goog .ti-controls .ti-prev { background-color: var(--glass-strong) !important; border: 1px solid var(--gold-soft) !important; }
.jr-reviews-widget .ti-widget.ti-goog .ti-controls-line .dot { background: var(--gold) !important; }
.jr-reviews-widget .ti-widget.ti-goog .ti-controls-line { background: var(--gold-soft) !important; }
.jr-reviews .jr-reviews-widget .ti-widget.ti-goog .ti-review-item .ti-read-more, .jr-reviews .jr-reviews-widget .ti-widget.ti-goog .ti-review-item .ti-read-more span, .jr-reviews .jr-reviews-widget .ti-widget.ti-goog .ti-review-item .ti-read-more a { color: var(--gold-text) !important; opacity: 1 !important; }

.jr-ico { display: inline-block; vertical-align: -3px; margin-right: 6px; flex: none; }
.btn-fb { display: inline-flex; align-items: center; }
.btn-fb .jr-ico { color: #1877f2; }

/* ---------- Market updates + keep-reading (SEO pass 2026-10) ---------- */
.post-grid { list-style: none; padding: 0; margin: 0 0 1em; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.post-card a.inner, .mu-link { display: block; height: 100%; background: rgba(255,255,255,.62); border: 1px solid var(--gold-soft); border-left: 3px solid var(--gold); border-radius: 14px; padding: 18px 20px; color: var(--mocha); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.post-card a.inner:hover, .post-card a.inner:focus-visible, .mu-link:hover, .mu-link:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(63,48,43,.12); }
.post-card h2, .post-card h3 { font-size: 1.4rem; margin: .25em 0 .35em; line-height: 1.2; }
.post-card p { margin: 0 0 .6em; font-size: .98rem; }
.post-card .county, .mu-link .county { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.post-card .more, .mu-link .more { font-family: var(--sans); font-size: .9rem; font-weight: 600; color: var(--gold-text); }
.mu-link strong { display: block; font-family: var(--serif); font-size: 1.3rem; line-height: 1.25; margin: .2em 0 .4em; }
.byline { font-family: var(--sans); font-size: .95rem; color: var(--mocha); margin: .4em 0 0; }
.kr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: start; }
.kr-label { font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; margin: 0 0 8px; }
.guide-links { list-style: none; padding: 0; margin: 0 0 .6em; }
.guide-links li { margin: 0 0 8px; padding-left: 18px; position: relative; }
.guide-links li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.post-body .stat-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.post-body .stat-list li { background: rgba(255,255,255,.62); border: 1px solid var(--gold-soft); border-radius: 12px; padding: 12px 14px; margin: 0; }
.post-body .stat-list strong { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--mocha); }
.post-body .stat-list span { font-size: .88rem; }
.nav-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; font-family: var(--sans); }
.nav-links .page-numbers { padding: 6px 12px; border: 1px solid var(--gold-soft); border-radius: 999px; text-decoration: none; }
.nav-links .current { background: var(--gold); color: #fff; }
/* Header with 9 nav items: keep the logo from shrinking, tighten links on mid-width screens, and switch to the menu button below 1200px */
.brand { flex-shrink: 0; }
@media (min-width: 1200px) {
  .site-nav a { padding: 8px 6px; font-size: .78rem; letter-spacing: .03em; }
  .site-header .bar { gap: 10px; }
  .header-cta { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 1199px) {
  .site-header .bar { border-radius: 26px; flex-wrap: wrap; }
  .brand img { height: 46px; }
  .nav-toggle { display: inline-block; }
  .site-header .header-cta { display: none; }
  .site-nav { display: none; width: 100%; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 8px 0 6px; }
  .site-nav a { display: block; padding: 13px 10px; border-top: 1px solid rgba(197,152,61,.25); border-radius: 0; font-size: .84rem; }
  .site-nav .current-menu-item > a, .site-nav .current_page_item > a { box-shadow: inset 3px 0 0 var(--gold); }
}
.mu-block .small a, .kr-grid .small a, .guide-links a { display: inline-block; min-height: 24px; padding: 3px 0; }
