/* Local Communities theme — navy/amber system shared with the group cover + spotlight assets. */
:root {
	--navy: #0e1f38;
	--navy-2: #14243f;
	--navy-3: #1c3050;
	--paper: #f7f8fa;
	--ink: #1d2733;
	--muted: #5b6b7d;
	--amber: #f5a623;
	--rust: #b3541e;
	--line: #dde3ea;
	--radius: 14px;
	--shell: 1200px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { font-family: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rust); text-decoration: none; }
.shell { max-width: var(--shell); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Browser surfaces carry the brand too */
::selection { background: var(--amber); color: var(--navy-2); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--amber); color: var(--navy-2); font-weight: 700; padding: 10px 18px; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

/* Header */
.site-header { background: var(--navy); position: sticky; top: 0; z-index: 50; }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { font-size: 19px; letter-spacing: .5px; color: #fff; display: inline-flex; align-items: center; gap: 11px; }
.brand-logo { height: 40px; width: auto; }
.brand-mark { font-weight: 800; }
.brand-thin { font-weight: 400; color: rgba(255,255,255,.7); }
.nav-list { display: flex; gap: 26px; list-style: none; align-items: center; }
.nav-list a { color: rgba(255,255,255,.88); font-size: 15px; font-weight: 600; }
.nav-list a:hover { color: #fff; }
.nav-cta { background: var(--amber); color: var(--navy-2) !important; padding: 9px 18px; border-radius: 999px; }
.nav-toggle { display: none; }

/* Buttons */
.btn { display: inline-block; font-weight: 700; font-size: 16px; padding: 13px 26px; border-radius: 999px; border: 0; cursor: pointer; transition: transform .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-amber { background: var(--amber); color: var(--navy-2); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn-navy { background: var(--navy); color: #fff; }

/* Hero */
.hero { position: relative; min-height: 72vh; display: flex; align-items: center; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; background: url("../img/downtown.jpg") center 60% / cover no-repeat; }
.hero-tint { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,22,44,.9) 0%, rgba(10,22,44,.65) 42%, rgba(10,22,44,.25) 75%, rgba(10,22,44,.1) 100%); }
.hero-inner { position: relative; padding-top: 56px; padding-bottom: 56px; max-width: var(--shell); width: 100%; }
.hero h1 { color: #fff; font-size: clamp(38px, 5.5vw, 64px); line-height: 1.05; font-weight: 800; max-width: 640px; text-shadow: 0 3px 18px rgba(0,0,0,.4); }
.hero-sub { color: rgba(255,255,255,.92); font-size: 20px; max-width: 520px; margin: 18px 0 28px; text-shadow: 0 2px 10px rgba(0,0,0,.45); }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Stats */
.stats-band { background: var(--navy-2); color: #fff; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 34px 24px; }
.stat strong { display: block; font-size: 32px; font-weight: 800; color: var(--amber); font-variant-numeric: tabular-nums; }
.stat span { font-size: 14px; color: rgba(255,255,255,.75); }

/* Sections */
.section { padding: 72px 0; }
.section h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; color: var(--navy-2); }
.section-sub { color: var(--muted); margin-top: 8px; max-width: 60ch; }

/* Spotlight cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 34px; }
.spot-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.spot-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(14,31,56,.12); }
.spot-card img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.spot-card-body { padding: 16px 18px 18px; }
.spot-card-body h3 { font-size: 18px; font-weight: 700; color: var(--navy-2); line-height: 1.3; }
.spot-date { font-size: 13px; color: var(--muted); }
.strip-more { margin-top: 34px; }
.empty-note { margin-top: 24px; color: var(--muted); }

/* How band — lead column + 2x2 content area, accent card spans the bottom row */
.how-band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.how-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; grid-template-rows: auto auto; gap: 30px 40px; align-items: start; }
.how-lead { grid-row: 1 / 3; align-self: center; }
.how-lead h2 { margin-bottom: 10px; }
.how-lead p { color: var(--muted); margin-bottom: 22px; }
.how-item h3 { font-size: 20px; font-weight: 800; color: var(--navy-2); margin-bottom: 8px; }
.how-item p { color: var(--muted); font-size: 15.5px; }
.how-item-accent { background: var(--navy); border-radius: var(--radius); padding: 28px 30px; grid-column: 2 / 4; display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.how-item-accent h3 { color: var(--amber); }
.how-item-accent p { color: rgba(255,255,255,.85); margin-bottom: 0; max-width: 52ch; }

/* Newsletter */
.newsletter-band { background: var(--navy); color: #fff; }
.newsletter-inner { text-align: center; max-width: 640px; }
.newsletter-band h2 { color: #fff; }
.newsletter-band > .shell > p, .newsletter-inner > p { color: rgba(255,255,255,.8); margin-top: 10px; }
.newsletter-form { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; justify-content: center; }
.newsletter-form input { flex: 1 1 200px; padding: 13px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.1); color: #fff; font-size: 15px; }
.newsletter-form input::placeholder { color: rgba(255,255,255,.65); }
.newsletter-form input:focus { outline: 2px solid var(--amber); outline-offset: 1px; }
.form-note { width: 100%; font-size: 14px; color: var(--amber); min-height: 20px; }

/* Archive + single */
.archive-head { padding-bottom: 0; }
.archive-head h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; color: var(--navy-2); }
.single-shell { max-width: 760px; }
.single-head h1 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; color: var(--navy-2); line-height: 1.15; }
.single-meta { color: var(--muted); margin-top: 8px; font-size: 14px; }
.single-hero { margin: 28px 0; border-radius: var(--radius); overflow: hidden; }
.single-post { padding: 64px 0; }
.single-content p { margin: 18px 0; font-size: 17px; }
.single-content h2, .single-content h3 { color: var(--navy-2); margin-top: 30px; }
.single-content a { font-weight: 600; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--rust) 40%, transparent); text-underline-offset: 3px; }
.single-content a:hover { text-decoration-color: var(--rust); }
.single-content a.btn { text-decoration: none; }
.single-foot { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
.pager { margin-top: 40px; }
.pager .nav-links { display: flex; gap: 10px; }
.pager a, .pager span.current { padding: 8px 15px; border-radius: 8px; border: 1px solid var(--line); }
.pager span.current { background: var(--navy); color: #fff; }

/* Footer */
.site-footer { background: var(--navy-2); color: rgba(255,255,255,.8); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 40px; }
.site-footer .brand-logo { display: block; height: 34px; }
.footer-brand p { margin-top: 14px; font-size: 15px; max-width: 34ch; color: rgba(255,255,255,.7); }
.footer-col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-col h4 { color: var(--amber); font-size: 13px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 4px; }
.footer-col a { color: rgba(255,255,255,.85); font-weight: 600; font-size: 15px; }
.footer-col a:hover { color: var(--amber); }
.footer-powered { grid-column: 1 / -1; text-align: center; padding-top: 8px; }
.footer-ld { display: inline-flex; align-items: center; gap: 12px; }
.footer-ld-label { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.55); }
.footer-ld img { width: 190px; height: auto; opacity: .92; transition: opacity .15s ease; }
.footer-ld:hover img { opacity: 1; }
.footer-ld:hover .footer-ld-label { color: rgba(255,255,255,.8); }
.footer-meta { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.15); padding-top: 20px; font-size: 13.5px; color: rgba(255,255,255,.72); text-align: center; }
.footer-meta a { color: rgba(255,255,255,.85); font-weight: 600; }
.footer-meta a:hover { color: var(--amber); }

/* Mobile */
@media (max-width: 860px) {
	.nav-toggle { display: block; background: none; border: 0; width: 40px; height: 40px; position: relative; cursor: pointer; }
	.nav-toggle span { position: absolute; left: 8px; right: 8px; height: 2px; background: #fff; transition: transform .2s ease; }
	.nav-toggle span:first-child { top: 15px; }
	.nav-toggle span:last-child { top: 23px; }
	.nav-list { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--navy); flex-direction: column; padding: 18px 24px 26px; gap: 16px; align-items: flex-start; }
	.site-nav.open .nav-list { display: flex; }
	.stats-row { grid-template-columns: repeat(2, 1fr); }
	.card-grid { grid-template-columns: 1fr; }
	.how-grid { grid-template-columns: 1fr; }
	.how-lead { grid-row: auto; }
	.how-item-accent { grid-column: auto; flex-direction: column; align-items: flex-start; }
	.footer-grid { grid-template-columns: 1fr; }
	.hero { min-height: 80vh; }
}
@media (min-width: 861px) and (max-width: 1100px) {
	.card-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Content block library (usable in post_content and templates) ===== */
.callout { background: var(--navy); color: rgba(255,255,255,.88); border-radius: var(--radius); padding: 26px 28px; margin: 28px 0; }
.callout h3, .callout h2 { color: var(--amber); margin: 0 0 8px; font-size: 20px; }
.callout p { margin: 0 0 10px; }
.callout p:last-child { margin-bottom: 0; }
.callout a { color: var(--amber); font-weight: 700; }
.callout-light { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.callout-light h3, .callout-light h2 { color: var(--navy-2); }
.callout-light a { color: var(--rust); }

.cta-band { background: var(--navy); border-radius: var(--radius); padding: 40px 32px; text-align: center; margin: 40px 0; }
.cta-band h2, .cta-band h3 { color: #fff; margin: 0 0 8px; font-size: 26px; }
.cta-band p { color: rgba(255,255,255,.8); margin: 0 0 20px; }
.cta-band .btn { margin: 0 6px; }

.check-list { list-style: none; margin: 18px 0; padding: 0; }
.check-list li { padding: 7px 0 7px 34px; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 22px; height: 22px; border-radius: 50%; background: var(--amber); }
.check-list li::after { content: ""; position: absolute; left: 6px; top: 15px; width: 10px; height: 6px; border-left: 3px solid var(--navy-2); border-bottom: 3px solid var(--navy-2); transform: rotate(-45deg); }

.stat-chips { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0; }
.stat-chip { background: var(--navy-2); color: #fff; border-radius: 999px; padding: 9px 20px; font-size: 15px; }
.stat-chip strong { color: var(--amber); font-weight: 800; }

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 30px 0; }
.info-cell { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.info-cell h3 { color: var(--navy-2); font-size: 19px; margin: 0 0 8px; }
.info-cell p { margin: 0; color: var(--muted); font-size: 15.5px; }
.info-cell-accent { background: var(--navy); border-color: var(--navy); }
.info-cell-accent h3 { color: var(--amber); }
.info-cell-accent p { color: rgba(255,255,255,.85); }

.price-card { background: #fff; border: 2px solid var(--navy-2); border-radius: 18px; padding: 34px 36px; margin: 34px auto; max-width: 460px; text-align: center; }
.price-card .price { font-size: 46px; font-weight: 800; color: var(--navy-2); }
.price-card .price span { font-size: 18px; font-weight: 600; color: var(--muted); }
.price-card .price-alt { color: var(--muted); font-weight: 600; margin-top: 2px; }
.price-card .check-list { text-align: left; margin: 22px 0 26px; }
.price-note { font-size: 14px; color: var(--muted); margin-top: 12px; }

.figure-card { margin: 30px 0; text-align: center; }
.figure-card img { border-radius: var(--radius); box-shadow: 0 14px 40px rgba(14,31,56,.18); margin: 0 auto; }
.figure-card figcaption { font-size: 14px; color: var(--muted); margin-top: 12px; }

.rule-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; margin: 18px 0; }
.rule-block h2 { font-size: 20px; margin: 0 0 8px; color: var(--navy-2); }
.rule-block h2 .rule-num { color: var(--amber); font-weight: 800; margin-right: 8px; }
.rule-block p { margin: 8px 0 0; font-size: 15.5px; }

.contact-cards { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 28px 0; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; }
.contact-card h3 { color: var(--navy-2); font-size: 18px; margin: 0 0 4px; }
.contact-card p { margin: 0; color: var(--muted); font-size: 15px; }
.contact-card a { font-weight: 700; }

/* Get Listed full-width template */
.gl-section { padding: 56px 0; }
.gl-section-navy { background: var(--navy); color: rgba(255,255,255,.88); }
.gl-section-navy h2 { color: #fff; }
.gl-intro h1 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; color: var(--navy-2); max-width: 700px; }
.gl-intro p.lead { font-size: 19px; color: var(--muted); max-width: 640px; margin-top: 14px; }
.gl-two-col { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; }

@media (max-width: 860px) {
  .info-grid, .gl-two-col { grid-template-columns: 1fr; }
  .price-card { padding: 28px 22px; }
}
