/*
Theme Name: Shenandoah Mutual
Theme URI: https://shenandoahmutual.com
Author: Ledger Marketing
Author URI: https://ledgermarketing.com
Description: Custom full-site-editing block theme for Shenandoah Mutual Fire Insurance Company — a Woodstock, Virginia farm & home mutual insurer chartered in 1876. Warm, small-town, mutual-owned brand with online bill-pay front and center.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shenandoah-mutual
*/

/* ============================================================
   Shenandoah Mutual — component & override CSS
   theme.json is the design source of truth; this file adds
   layout structure, the header/nav, hero overlays, cards,
   and the hard-won FSE fixes.
   ============================================================ */

:root {
	--shen-ink: #1e2a25;
	--shen-ink-deep: #161f1b;
	--shen-green: #2f8461;
	--shen-green-deep: #245c44;
	--shen-gold: #c1873f;
	--shen-cream: #f7f4ec;
	--shen-shadow: 0 14px 40px rgba(22, 31, 27, 0.12);
	--shen-shadow-sm: 0 6px 18px rgba(22, 31, 27, 0.10);
}

/* ---- GOTCHA: kill block-gap strips between top-level blocks
   and between full-width sections so the body bg never shows
   as a stripe under the header / between colored bands. ---- */
.wp-site-blocks > * { margin-block: 0; }
.wp-site-blocks main .alignfull { margin-block: 0; }
.wp-site-blocks main > .alignfull + .alignfull { margin-block: 0; }

body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

/* ---- Skip link ---- */
.skip-link:focus { background: #fff; color: var(--shen-ink); padding: .6rem 1rem; z-index: 9999; }

/* ============================================================
   TOP UTILITY BAR (ink) — phone, hours, toll-free
   ============================================================ */
.wm-topbar { background: var(--shen-ink-deep); color: #d9e4dd; font-size: .86rem; }
.wm-topbar a { color: #eef3ee; text-decoration: none; }
.wm-topbar a:hover { color: #fff; text-decoration: underline; }
.wm-topbar .wm-topbar-inner { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; align-items: center; justify-content: space-between; padding: .5rem 0; }
.wm-topbar strong { color: #fff; font-weight: 600; }
.wm-topbar-items { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; align-items: center; }

/* ============================================================
   HEADER / BRAND / NAV
   ============================================================ */
.wm-header { background: #fffdf8; border-bottom: 1px solid #ece5d5; position: sticky; top: 0; z-index: 100; }
.wm-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .55rem 0; }
.wm-brand img { display: block; height: 62px; width: auto; }
@media (max-width: 600px) { .wm-brand img { height: 46px; } }

.wm-header .wp-block-navigation { font-weight: 600; }
.wm-header .wp-block-navigation a { color: var(--shen-ink); text-decoration: none; letter-spacing: .005em; }
.wm-header .wp-block-navigation a:hover { color: var(--shen-green-deep); }
.wm-nav-wrap { display: flex; align-items: center; gap: 1.4rem; }

/* Header pay button — always visible, brand-forward */
.wm-header-pay a,
.wm-pay-btn a {
	display: inline-flex; align-items: center; gap: .5rem;
	background: var(--shen-green); color: #fff !important;
	font-family: Figtree, sans-serif; font-weight: 700; font-size: .98rem;
	text-decoration: none; padding: .68rem 1.25rem; border-radius: 8px;
	box-shadow: 0 6px 16px rgba(47, 132, 97, 0.28); transition: background .15s ease, transform .15s ease;
	white-space: nowrap;
}
.wm-header-pay a:hover,
.wm-pay-btn a:hover { background: var(--shen-green-deep); transform: translateY(-1px); }
.wm-header-pay a::before { content: ""; width: 17px; height: 17px; background-repeat: no-repeat; background-size: contain;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cline x1='2' y1='10' x2='22' y2='10'/%3E%3C/svg%3E"); }

/* ============================================================
   BUTTONS — ghost/secondary variant for light sections
   (avoids core is-style-outline's dark border + dark text)
   ============================================================ */
/* Safety net: never let buttons in a flex group collide, even if blockGap is 0 */
.wp-block-buttons.is-layout-flex { gap: 0.8rem; }
.wp-block-button.wm-ghost > .wp-block-button__link {
	background-color: transparent; color: var(--shen-green-deep);
	border: 2px solid var(--shen-green); box-shadow: none;
	padding-top: calc(0.85rem - 2px); padding-bottom: calc(0.85rem - 2px);
}
.wp-block-button.wm-ghost > .wp-block-button__link:hover,
.wp-block-button.wm-ghost > .wp-block-button__link:focus {
	background-color: var(--shen-green); color: #fff; border-color: var(--shen-green);
}
/* Ghost/secondary on DARK bands: white outline + white text */
.wp-block-button.wm-ghost-light > .wp-block-button__link {
	background-color: transparent; color: #fff;
	border: 2px solid rgba(255,255,255,.6); box-shadow: none;
	padding-top: calc(0.85rem - 2px); padding-bottom: calc(0.85rem - 2px);
}
.wp-block-button.wm-ghost-light > .wp-block-button__link:hover,
.wp-block-button.wm-ghost-light > .wp-block-button__link:focus {
	background-color: #fff; color: var(--shen-green-deep); border-color: #fff;
}

/* ============================================================
   CLAIMS PAGE — form + sidebar
   ============================================================ */
.wm-claimwrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 860px) { .wm-claimwrap { grid-template-columns: 1fr; gap: 1.6rem; } }
.wm-claimwrap-main h2 { margin-top: .2rem; }

/* Form */
.wm-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem 1.4rem; align-items: start; }
@media (max-width: 560px) { .wm-form-grid { grid-template-columns: 1fr; gap: 1.5rem; } }
.wm-form-grid .wm-form-full { grid-column: 1 / -1; }
.wm-claimform label { display: flex; flex-direction: column; gap: .4rem; font-weight: 600; color: var(--shen-ink); font-size: .92rem; }
.wm-claimform .wm-fld-label { display: block; line-height: 1.2; }
.wm-claimform .wm-req { color: var(--shen-green-deep); font-weight: 700; }
.wm-claimform input,
.wm-claimform select,
.wm-claimform textarea {
	font-family: Figtree, sans-serif; font-size: 1rem; color: var(--shen-ink);
	background: #fff; border: 1px solid #d9d2c1; border-radius: 9px; padding: .72rem .85rem; width: 100%;
	font-weight: 400;
}
.wm-claimform textarea { resize: vertical; min-height: 120px; }
.wm-claimform input:focus,
.wm-claimform select:focus,
.wm-claimform textarea:focus { outline: 2px solid var(--shen-green); border-color: var(--shen-green); }
.wm-claim-submit { border: 0; cursor: pointer; margin-top: 1.4rem; font-size: 1rem; }
.wm-form-note { color: #6b756e; font-size: .85rem; margin-top: .9rem; line-height: 1.5; }
.wm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Buttons reused across claims + sidebar */
.wm-claim-actions { display: flex; flex-direction: column; gap: .7rem; margin-top: 1.1rem; }
.wm-btn-solid, .wm-btn-ghost2 { display: inline-block; text-align: center; padding: .9rem 1.4rem; border-radius: 8px; font-weight: 700; text-decoration: none; font-family: Figtree, sans-serif; transition: background .15s ease, color .15s ease; }
.wm-btn-solid { background: var(--shen-green); color: #fff; }
.wm-btn-solid:hover { background: var(--shen-green-deep); color: #fff; }
.wm-btn-ghost2 { background: transparent; color: var(--shen-green-deep); border: 2px solid var(--shen-green); padding: calc(.9rem - 2px) 1.4rem; }
.wm-btn-ghost2:hover { background: var(--shen-green); color: #fff; }
.wm-claim-actions a { display: block; }

/* Sidebar */
.wm-claim-card { padding: 1.6rem 1.5rem; }
.wm-claim-card h3 { margin: 0 0 .5rem; color: var(--shen-ink); font-size: 1.2rem; min-height: auto; }
.wm-claim-card p { color: #4c574f; margin: 0; }
.wm-side-phone { margin: .4rem 0 !important; }
.wm-side-phone a { font-family: Fraunces, serif; font-weight: 700; font-size: 1.6rem; color: var(--shen-green-deep); text-decoration: none; }
.wm-side-sub { color: #6b756e !important; font-size: .9rem; }
.wm-side-sub a { color: var(--shen-green-deep); }
.wm-ticklist { list-style: none; margin: .3rem 0 0; padding: 0; }
.wm-ticklist li { position: relative; padding: .3rem 0 .3rem 1.6rem; color: #3c463f; font-size: .95rem; }
.wm-ticklist li::before { content: ""; position: absolute; left: 0; top: .62rem; width: 12px; height: 8px; border-left: 2px solid var(--shen-green); border-bottom: 2px solid var(--shen-green); transform: rotate(-45deg); }

/* Notices */
.wm-notice { border-radius: 12px; padding: 1.1rem 1.3rem; margin-bottom: 2rem; display: flex; flex-direction: column; gap: .2rem; }
.wm-notice strong { font-size: 1.05rem; }
.wm-notice-ok { background: #e7f3ec; border: 1px solid #b9dcc6; color: #1d5a3c; }
.wm-notice-ok a { color: #1d5a3c; }
.wm-notice-err { background: #fbeceb; border: 1px solid #e6c3c0; color: #9a3128; }
.wm-notice-err a { color: #9a3128; }

/* Document / download link cards */
.wm-doc { text-decoration: none; color: inherit; }
.wm-doc:hover { text-decoration: none; }
.wm-doc .wm-doc-ico { width: 46px; height: 46px; border-radius: 11px; background: #eaf3ee; display: flex; align-items: center; justify-content: center; margin-bottom: .9rem; }
.wm-doc .wm-doc-ico svg { width: 24px; height: 24px; stroke: var(--shen-green-deep); }
.wm-doc h3 { color: var(--shen-ink); }
.wm-doc p { color: var(--shen-green-deep); font-weight: 600; margin: .2rem 0 0; }

/* ============================================================
   HERO / COVER OVERLAYS
   ============================================================ */
.wm-hero { position: relative; }
/* GOTCHA: theme.json colors headings to ink; force white on dark covers, ALL levels */
.wm-hero :where(h1, h2, h3, h4, p, li, .wp-block-heading) { color: #fff; }
.wm-hero .wm-eyebrow { color: #ffe6bf; }
.wm-eyebrow {
	font-family: Figtree, sans-serif; font-weight: 700; text-transform: uppercase;
	letter-spacing: .16em; font-size: .8rem; color: var(--shen-gold); margin: 0 0 .35rem;
}
.wm-hero .wp-block-buttons { margin-top: 1.4rem; }

/* Hero pay/CTA button large */
.wm-cta-lg a { font-size: 1.05rem !important; padding: .95rem 1.9rem !important; border-radius: 9px !important; }

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
.wm-section { padding-block: clamp(3.25rem, 2.4rem + 4vw, 5.5rem); }
.wm-eyebrow-dark { font-family: Figtree, sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; color: var(--shen-green); margin: 0 0 .4rem; }
.wm-lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.28rem); color: #3f4a44; line-height: 1.65; }
.wm-rule { width: 64px; height: 3px; background: var(--shen-gold); border: 0; border-radius: 3px; margin: 1rem 0 0; }

/* ============================================================
   FEATURE / COVERAGE CARDS
   GOTCHA: align-items:start + height:auto so cards size to content
   ============================================================ */
.wm-cards .wp-block-column { align-self: start; }
.wm-card {
	background: #fff; border: 1px solid #ece5d5; border-radius: 14px;
	padding: 1.6rem 1.5rem; height: auto; box-shadow: var(--shen-shadow-sm);
	transition: transform .16s ease, box-shadow .16s ease;
}
.wm-card:hover { transform: translateY(-3px); box-shadow: var(--shen-shadow); }
.wm-card h3, .wm-card h4 { margin-top: .3rem; }
.wm-card p { color: #4c574f; margin-bottom: 0; }
.wm-card-icon {
	width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
	background: #eaf3ee; margin-bottom: 1rem;
}
.wm-card-icon svg { width: 26px; height: 26px; stroke: var(--shen-green-deep); }

/* Coverage list grid (many products) */
.wm-cov-grid .wp-block-column { align-self: start; }
.wm-cardgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; align-items: stretch; margin-top: 2.2rem; }
.wm-cardgrid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.wm-cardgrid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.wm-cardgrid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .wm-cardgrid, .wm-cardgrid.cols-2, .wm-cardgrid.cols-3, .wm-cardgrid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .wm-cardgrid, .wm-cardgrid.cols-2, .wm-cardgrid.cols-3, .wm-cardgrid.cols-4 { grid-template-columns: 1fr; } }
.wm-linklist { list-style: none; margin: .4rem 0 0; padding: 0; }
.wm-linklist li { margin: 0; }
.wm-linklist li a { display: block; padding: .55rem 0; border-bottom: 1px dashed #eee4d2; color: var(--shen-green-deep); text-decoration: none; font-weight: 500; font-size: .96rem; }
.wm-linklist li:last-child a { border-bottom: 0; }
.wm-linklist li a:hover { color: var(--shen-ink); text-decoration: underline; }
.wm-cardgrid .wm-card { display: flex; flex-direction: column; }
.wm-card .wm-card-eyebrow { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--shen-gold); font-weight: 700; margin: 0 0 .3rem; }
.wm-card h3 { font-size: 1.22rem; margin: 0 0 .5rem; color: var(--shen-ink); }
.wm-cardgrid .wm-card h3 { min-height: 2.7rem; display: flex; align-items: flex-end; }
.wm-cardgrid .wm-card p { margin-top: 0; }
.wm-center { text-align: center; }
.wm-center .wm-rule { margin-inline: auto; }
.wm-maxw { max-width: 720px; margin-inline: auto; }

/* ============================================================
   PAY BAND (focal green band)
   GOTCHA: white button w/ brand text on the colored band
   ============================================================ */
.wm-payband { background: var(--shen-green); position: relative; overflow: hidden; }
.wm-payband::after { content: ""; position: absolute; inset: 0; background: radial-gradient(1200px 400px at 85% -10%, rgba(255,255,255,.12), transparent 60%); pointer-events: none; }
.wm-payband :where(h1, h2, h3, p) { color: #fff; position: relative; }
.wm-payband .wm-pay-lg a {
	background: #fff !important; color: var(--shen-green-deep) !important;
	font-weight: 700; font-size: 1.05rem; padding: .95rem 1.9rem !important; border-radius: 9px !important;
	box-shadow: 0 10px 24px rgba(15, 40, 28, .28);
}
.wm-payband .wm-pay-lg a:hover { background: #f3fbf6 !important; color: var(--shen-ink) !important; }

/* Ink band variant */
.wm-inkband { background: var(--shen-ink); }
.wm-inkband :where(h1,h2,h3,h4,p,li){ color: #fff; }

/* ============================================================
   PAGE HEADER BAND (ink) for interior pages
   ============================================================ */
.wm-pagehead { background: var(--shen-ink); position: relative; }
.wm-pagehead.has-photo { background-size: cover; background-position: center; }
.wm-pagehead .wm-pagehead-veil { background: linear-gradient(90deg, rgba(22,31,27,.9) 0%, rgba(22,31,27,.6) 100%); }
.wm-pagehead :where(h1, p, .wm-eyebrow) { color: #fff; }
.wm-pagehead .wm-eyebrow { color: #ffe6bf; }

/* ============================================================
   AGENT CARDS (content varies → size to content)
   ============================================================ */
.wm-agents-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.1rem; align-items: start; }
.wm-agent {
	background: #fff; border: 1px solid #e8e1d0; border-left: 4px solid var(--shen-green);
	border-radius: 12px; padding: 1.1rem 1.2rem; height: auto; box-shadow: var(--shen-shadow-sm);
}
.wm-agent h3 { font-size: 1.12rem; margin: 0 0 .1rem; color: var(--shen-ink); }
.wm-agent .wm-agent-town { color: var(--shen-green-deep); font-weight: 600; font-size: .92rem; margin: 0 0 .55rem; }
.wm-agent p { margin: .2rem 0; font-size: .93rem; color: #4c574f; }
.wm-agent a { color: var(--shen-green-deep); }
.wm-agent-meta { display: flex; flex-direction: column; gap: .15rem; }
.wm-agent-meta span { display: inline-flex; gap: .5rem; align-items: baseline; }
.wm-agent-meta .wm-lbl { color: #97a09a; font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; min-width: 44px; }

/* Filter box */
.wm-agent-filter { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; margin-bottom: 1.6rem; }
.wm-agent-filter input {
	flex: 1 1 320px; padding: .8rem 1rem; border: 1px solid #d9d2c1; border-radius: 9px;
	font-family: Figtree, sans-serif; font-size: 1rem; background: #fff; color: var(--shen-ink);
}
.wm-agent-filter input:focus { outline: 2px solid var(--shen-green); border-color: var(--shen-green); }
.wm-agent-count { color: #6b756e; font-size: .9rem; }
.wm-agent.is-hidden { display: none; }
.wm-agent-empty { display: none; color: #6b756e; padding: 1rem 0; }

/* ============================================================
   CONTACT
   ============================================================ */
.wm-contact-card { background: #fff; border: 1px solid #e8e1d0; border-radius: 14px; padding: 1.8rem; box-shadow: var(--shen-shadow-sm); height: 100%; }
.wm-contact-card h3 { margin-top: 0; }
.wm-contact-row { display: flex; gap: .8rem; align-items: flex-start; padding: .55rem 0; border-bottom: 1px dashed #eee4d2; }
.wm-contact-row:last-child { border-bottom: 0; }
.wm-contact-row .wm-ci { width: 38px; height: 38px; border-radius: 9px; background: #eaf3ee; flex: none; display: flex; align-items: center; justify-content: center; }
.wm-contact-row .wm-ci svg { width: 19px; height: 19px; stroke: var(--shen-green-deep); }
.wm-contact-row b { display: block; color: var(--shen-ink); font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; }
.wm-contact-row a, .wm-contact-row span { color: #3c463f; text-decoration: none; }
.wm-map { border: 0; width: 100%; height: 100%; min-height: 360px; border-radius: 14px; }

/* ============================================================
   FOOTER
   ============================================================ */
.wm-footer { background: var(--shen-ink-deep); color: #c4cfc8; }
.wm-footer a { color: #dfe8e1; text-decoration: none; }
.wm-footer a:hover { color: #fff; text-decoration: underline; }
.wm-footer h4 { color: #fff; font-family: Figtree, sans-serif; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 1rem; font-weight: 700; }
.wm-footer-logo img { height: 66px; width: auto; margin-bottom: 1rem; }
.wm-footer p { color: #aab6ae; font-size: .93rem; line-height: 1.7; }
.wm-footer ul { list-style: none; margin: 0; padding: 0; }
.wm-footer ul li { margin: .4rem 0; font-size: .95rem; }
.wm-affil { display: flex; gap: .7rem; flex-wrap: wrap; align-items: center; }
.wm-affil-chip { background: #fff; border-radius: 8px; padding: .55rem .7rem; display: inline-flex; align-items: center; }
.wm-affil-chip img { height: 40px; width: auto; display: block; }
.wm-affil-cap { color: #94a09a; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 .6rem; }
.wm-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.wm-footer-bottom .wm-fb-inner { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; align-items: center; justify-content: space-between; padding: 1.2rem 0; }
.wm-footer-bottom p { color: #8f9b93; font-size: .86rem; margin: 0; }
.wm-credit a { color: #cdd7cf; }
.wm-footer .wm-footer-pay a {
	display: inline-block; background: var(--shen-green); color: #fff !important; font-weight: 700;
	padding: .7rem 1.3rem; border-radius: 8px; text-decoration: none;
}
.wm-footer .wm-footer-pay a:hover { background: var(--shen-green-bright, #3f9b73); text-decoration: none; }

/* ============================================================
   GENERIC PAGE CONTENT (prose)
   ============================================================ */
.wm-prose h2 { margin-top: 2.2rem; }
.wm-prose h3 { margin-top: 1.6rem; }
.wm-prose p, .wm-prose li { color: #37423c; }
.wm-timeline { list-style: none; margin: 1.4rem 0 0; padding: 0; }
.wm-timeline li { position: relative; padding: 0 0 1.3rem 2.2rem; border-left: 2px solid #e3dccb; }
.wm-timeline li:last-child { border-left-color: transparent; }
.wm-timeline li::before { content: ""; position: absolute; left: -8px; top: .2rem; width: 14px; height: 14px; border-radius: 50%; background: var(--shen-green); border: 3px solid var(--shen-cream); }
.wm-timeline .wm-year { font-family: Fraunces, serif; font-weight: 700; color: var(--shen-green-deep); font-size: 1.15rem; display: block; }

/* Stat strip */
.wm-stat .wm-stat-num { font-family: Fraunces, serif; font-weight: 700; color: var(--shen-green-deep); font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem); line-height: 1; }
.wm-stat .wm-stat-lbl { color: #5c6862; font-size: .95rem; }

/* ============================================================
   MOBILE NAV OVERLAY
   GOTCHA: prefix with body to beat core specificity; center items
   ============================================================ */
body .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--shen-ink) !important; padding: 5rem 1.5rem 2.5rem !important;
}
body .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	width: 100%; display: flex; justify-content: center;
}
body .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
body .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	gap: .1rem; width: 100%; max-width: 340px; align-items: center !important; justify-content: center !important;
}
body .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
	align-items: center !important; width: 100%; border-bottom: 1px solid rgba(255,255,255,.08); text-align: center;
}
body .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a {
	color: #fff !important; font-size: 1.18rem; padding: .7rem 0; text-decoration: none; font-family: Fraunces, serif; width: 100%; justify-content: center; text-align: center;
}
body .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a:hover { color: #ffe6bf !important; }
body .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close { color: #fff; top: 1.6rem; right: 1.4rem; }
/* Mobile menu pay CTA inside overlay */
.wm-mobile-pay { display: none; }
@media (max-width: 781px) {
	.wm-mobile-pay { display: block; margin-top: 1.4rem; }
	.wm-mobile-pay a { display: block; text-align: center; background: var(--shen-green); color: #fff !important; font-weight: 700; padding: .9rem; border-radius: 9px; text-decoration: none; font-family: Figtree, sans-serif; }
}
/* Hamburger color on light header */
.wm-header .wp-block-navigation__responsive-container-open svg { fill: var(--shen-ink); }

/* Keep header pay button visible on mobile (do NOT hide in hamburger) */
@media (max-width: 781px) {
	.wm-header-inner { gap: .6rem; }
	.wm-header-pay { order: 2; }
	.wm-header-pay a { padding: .6rem 1rem; font-size: .9rem; }
	.wm-header-pay a span.wm-pay-full { display: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 781px) {
	.wm-topbar { display: none; }
	.wm-split { flex-direction: column; }
	.wm-map { min-height: 280px; }
}
@media (max-width: 600px) {
	.wm-agents-grid { grid-template-columns: 1fr; }
}
