/* ==========================================================================
   Campvix — main stylesheet
   ========================================================================== */

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
}

:root {
	--ink: #1f2b25;
	--muted: #68736b;
	--forest: #234d3a;
	--forest2: #32684e;
	--lime: #d7e7a4;
	--sand: #f6f4ed;
	--paper: #fffefa;
	--line: #e4e6dd;
	--orange: #e78a4b;
	--danger: #b4462f;
	--shadow: 0 18px 45px rgba(27, 48, 36, .10);
	--radius: 22px;
	--font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--header-h: 72px;
}

/* Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); line-height: 1.55; font-size: 15px; -webkit-font-smoothing: antialiased; }
body.is-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5, h6 { line-height: 1.15; letter-spacing: -.03em; margin: 0 0 .5em; }
:focus-visible { outline: 2px solid var(--forest2); outline-offset: 2px; }
::selection { background: var(--lime); color: var(--ink); }

.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; z-index: 100; top: 8px; left: 8px; background: #fff; padding: 10px 14px; border-radius: 10px; box-shadow: var(--shadow); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.cvx-icon { flex-shrink: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 820px; }

/* Announcement ------------------------------------------------------------ */
.announcement { background: var(--forest); color: #fff; text-align: center; padding: 9px 16px; font-size: 12px; letter-spacing: .04em; }
.announcement strong { color: var(--lime); }
.announcement a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Header ------------------------------------------------------------------ */
.site-header { position: sticky; top: 0; z-index: 90; background: rgba(255, 254, 250, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(228, 230, 221, .8); }
.admin-bar .site-header { top: 32px; }
.nav { max-width: 1200px; margin: auto; padding: 16px 24px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 22px; letter-spacing: -.06em; white-space: nowrap; }
.brand-mark { width: 35px; height: 35px; background: var(--forest); border-radius: 12px; display: grid; place-items: center; color: var(--lime); font-size: 20px; transform: rotate(-4deg); }
.brand-dot { color: var(--forest2); margin-left: -10px; }
.custom-logo-link img { max-height: 44px; width: auto; }

.navlinks { margin: auto; }
.navlinks .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 25px; font-size: 13px; font-weight: 650; color: #435047; }
.navlinks .menu > li { position: relative; }
.navlinks .menu a { display: block; padding: 6px 0; transition: color .2s; }
.navlinks .menu a:hover, .navlinks .current-menu-item > a, .navlinks .current-menu-ancestor > a, .navlinks .current_page_item > a { color: var(--forest2); }
.navlinks .sub-menu { list-style: none; position: absolute; left: -14px; top: 100%; min-width: 210px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px; margin: 0; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.navlinks li:hover > .sub-menu, .navlinks li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.navlinks .sub-menu a { padding: 8px 10px; border-radius: 9px; }
.navlinks .sub-menu a:hover { background: var(--sand); }
.navlinks .menu-item-has-children > a::after { content: "▾"; font-size: 10px; margin-left: 5px; opacity: .6; }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { border: 1px solid var(--line); background: #fff; border-radius: 50%; width: 39px; height: 39px; display: grid; place-items: center; color: var(--ink); position: relative; padding: 0; transition: border-color .2s, background .2s; }
.icon-btn:hover { border-color: var(--forest2); }
.cart-count { position: absolute; right: -4px; top: -5px; background: var(--orange); color: #fff; border-radius: 99px; min-width: 18px; height: 18px; padding: 0 4px; font-size: 10px; font-weight: 800; display: grid; place-items: center; }
.cart-count[data-count="0"] { background: #9aa39b; }
.cart-btn.bump .cart-count { animation: bump .45s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu-toggle { display: none; }

/* Buttons ----------------------------------------------------------------- */
.btn, .button, button.button, input[type="submit"] { border: 0; border-radius: 999px; padding: 14px 21px; font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: .2s; line-height: 1.2; cursor: pointer; text-align: center; }
.btn-primary { background: var(--forest); color: #fff; }
.btn-primary:hover { background: var(--forest2); transform: translateY(-2px); }
.btn-secondary { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.btn-secondary:hover { border-color: var(--forest2); }
.text-link { font-size: 12px; font-weight: 850; border-bottom: 1px solid var(--forest); padding-bottom: 4px; white-space: nowrap; display: inline-block; }
.text-link:hover { color: var(--forest2); }

/* Shared hero bits ------------------------------------------------------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--forest2); font-size: 11px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--orange); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Trust row --------------------------------------------------------------- */
.trust-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding: 0 0 66px; }
.trust-item { display: flex; align-items: center; gap: 12px; padding: 17px 15px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.trust-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: #edf1e6; color: var(--forest); flex-shrink: 0; }
.trust-item strong { display: block; font-size: 12px; }
.trust-item small { display: block; color: var(--muted); font-size: 10px; margin-top: 2px; }

/* Sections ---------------------------------------------------------------- */
.home-section { padding: 0 0 78px; }
.home-section--last { padding-bottom: 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 25px; }
.section-kicker { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--forest2); font-weight: 900; display: block; }
.section-head h2 { font-size: clamp(29px, 3vw, 41px); letter-spacing: -.06em; line-height: 1.05; margin: 8px 0 0; }
.section-head p { color: var(--muted); font-size: 13px; max-width: 400px; margin: 0; }

/* Categories -------------------------------------------------------------- */
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.category-card { position: relative; overflow: hidden; min-height: 270px; border-radius: 20px; background: #dce0d5; display: block; }
.category-card img { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; transition: transform .45s; }
.category-card:hover img { transform: scale(1.06); }
.category-card::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(10, 25, 17, .78)); }
.category-info { position: absolute; z-index: 1; bottom: 20px; left: 20px; right: 20px; color: #fff; }
.category-info small { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #dfe9d8; }
.category-info h3 { font-size: 23px; letter-spacing: -.05em; margin: 4px 0 8px; }
.category-info span { font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; gap: 8px; }
.category-info span b { font-size: 18px; font-weight: 400; }

/* Filters / chips ---------------------------------------------------------- */
.product-toolbar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.filter { border: 1px solid var(--line); background: #fff; color: #5d685f; padding: 9px 15px; border-radius: 999px; font-size: 11px; font-weight: 750; display: inline-flex; align-items: center; gap: 6px; transition: .15s; }
.filter.active, .filter:hover { background: var(--forest); color: #fff; border-color: var(--forest); }
.filter .count { font-size: 10px; opacity: .65; }
.filter-empty { font-size: 13px; color: var(--muted); }

/* Editorial --------------------------------------------------------------- */
.editorial { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.editorial-card { border-radius: 24px; overflow: hidden; position: relative; min-height: 310px; background: #ddd; }
.editorial-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.editorial-card:hover img { transform: scale(1.04); }
.editorial-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17, 36, 25, .78), rgba(17, 36, 25, .08)); }
.editorial-copy { position: relative; z-index: 1; padding: 34px; max-width: 390px; color: #fff; }
.editorial-copy small { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); font-weight: 900; }
.editorial-copy h3 { font-size: 32px; line-height: 1.03; letter-spacing: -.06em; margin: 12px 0; }
.editorial-copy p { font-size: 12px; color: #e1e8e0; max-width: 290px; margin-bottom: 22px; }
.editorial-copy .btn { background: #fff; color: var(--forest); padding: 11px 15px; }
.editorial-copy .btn:hover { background: var(--lime); }

/* Guides ------------------------------------------------------------------ */
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.guide-grid--archive { gap: 34px 18px; }
.guide-card { border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.guide-card__media { display: block; border-radius: 17px; overflow: hidden; background: #eee; aspect-ratio: 16 / 9.6; }
.guide-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.guide-card:hover .guide-card__media img { transform: scale(1.04); }
.guide-card__placeholder { display: grid; place-items: center; height: 100%; color: var(--forest2); background: var(--sand); }
.guide-meta { font-size: 10px; color: var(--forest2); text-transform: uppercase; letter-spacing: .1em; font-weight: 850; margin-top: 15px; }
.guide-meta a:hover { text-decoration: underline; }
.guide-card__title { font-size: 19px; line-height: 1.2; letter-spacing: -.04em; margin: 8px 0; }
.guide-card__title a:hover { color: var(--forest2); }
.guide-card p { font-size: 12.5px; color: var(--muted); margin: 0 0 12px; }
.guide-card__link { font-size: 11px; font-weight: 850; border-bottom: 1px solid #8d9b8e; padding-bottom: 3px; }

.guide-feature { display: grid; grid-template-columns: 1.15fr .85fr; gap: 0; background: var(--sand); border-radius: 26px; overflow: hidden; margin-bottom: 44px; }
.guide-feature__media { display: block; min-height: 360px; position: relative; }
.guide-feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.guide-feature__copy { padding: clamp(26px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.guide-feature__copy .guide-meta { margin-top: 10px; }
.guide-feature h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.055em; margin: 10px 0 12px; }
.guide-feature p { color: var(--muted); font-size: 14px; margin: 0 0 22px; }

/* Newsletter -------------------------------------------------------------- */
.newsletter { background: var(--lime); border-radius: 25px; padding: 36px clamp(22px, 5vw, 55px); display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.newsletter h2 { font-size: clamp(27px, 3vw, 38px); letter-spacing: -.06em; line-height: 1.05; margin: 7px 0; }
.newsletter p { font-size: 12.5px; color: #56634b; margin: 0; max-width: 420px; }
.email-form { display: flex; gap: 8px; width: min(100%, 420px); background: #fff; padding: 6px; border-radius: 999px; flex-shrink: 0; }
.email-form input[type="email"] { min-width: 0; flex: 1; border: 0; outline: 0; padding: 0 13px; background: transparent; font-size: 12.5px; }
.email-form button { background: var(--forest); color: #fff; border: 0; border-radius: 999px; padding: 12px 17px; font-size: 11px; font-weight: 850; white-space: nowrap; }
.email-form button:hover { background: var(--forest2); }
.email-form.is-loading button { opacity: .6; pointer-events: none; }
.blog-newsletter { padding-top: 60px; }

/* Footer ------------------------------------------------------------------ */
.site-footer { background: #1d3025; color: #f7f6ef; padding: 52px 0 22px; margin-top: 75px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
.footer-brand .brand-dot { color: var(--lime); }
.footer-brand p { color: #b6c2b8; font-size: 12.5px; max-width: 290px; }
.footer-tagline { font-weight: 700; color: #e8eee6 !important; }
.footer-email { display: flex; align-items: center; gap: 8px; }
.footer-email a:hover { color: var(--lime); }
.footer-col strong { font-size: 12px; display: block; margin-bottom: 15px; letter-spacing: .02em; }
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu a { display: block; color: #bdc8be; font-size: 12px; margin: 10px 0; transition: color .2s; }
.footer-menu a:hover { color: var(--lime); }
.footer-widgets { margin-top: 30px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; color: #bdc8be; font-size: 12px; }
.footer-bottom { border-top: 1px solid #3c4c40; margin-top: 35px; padding-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #a9b7ac; font-size: 11px; flex-wrap: wrap; }
.payment-badges { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.pay { border: 1px solid #44574a; border-radius: 6px; padding: 3px 8px; font-size: 10px; font-weight: 800; letter-spacing: .02em; color: #dfe6dc; }
.pay--paypal { background: #fff; color: #003087; border-color: #fff; font-style: italic; }
.social-links { display: flex; gap: 8px; margin-top: 16px; }
.social-links a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #44574a; color: #dfe6dc; transition: .2s; }
.social-links a:hover { background: var(--lime); color: var(--forest); border-color: var(--lime); }

/* Toast ------------------------------------------------------------------- */
.toast { position: fixed; bottom: 22px; right: 22px; background: var(--forest); color: #fff; padding: 13px 18px; border-radius: 13px; box-shadow: var(--shadow); font-size: 12.5px; z-index: 120; opacity: 0; transform: translateY(12px); pointer-events: none; transition: .25s; max-width: calc(100vw - 44px); }
.toast.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.toast a { color: var(--lime); font-weight: 800; margin-left: 8px; text-decoration: underline; text-underline-offset: 3px; }
.toast.is-error { background: var(--danger); }

/* Drawers ----------------------------------------------------------------- */
.drawer, .search-overlay { position: fixed; inset: 0; z-index: 100; visibility: hidden; pointer-events: none; }
.drawer.open, .search-overlay.open { visibility: visible; pointer-events: auto; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(15, 29, 20, .45); opacity: 0; transition: opacity .25s; }
.open .drawer-backdrop { opacity: 1; }
.drawer-panel { position: absolute; top: 0; bottom: 0; width: min(400px, 92vw); background: var(--paper); padding: 22px; display: flex; flex-direction: column; transition: transform .3s cubic-bezier(.2, .8, .2, 1); overflow-y: auto; }
.drawer--left .drawer-panel { left: 0; transform: translateX(-100%); border-radius: 0 22px 22px 0; }
.drawer--right .drawer-panel { right: 0; transform: translateX(100%); border-radius: 22px 0 0 22px; }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.drawer-title { font-size: 18px; letter-spacing: -.03em; }
.drawer-cart-count { color: var(--muted); font-weight: 600; }
.drawer-nav .menu { list-style: none; margin: 0; padding: 0; }
.drawer-nav .menu a { display: block; padding: 15px 0; border-bottom: 1px solid var(--line); font-weight: 750; font-size: 15px; }
.drawer-nav .sub-menu { list-style: none; padding: 0 0 0 14px; margin: 0; }
.drawer-nav .sub-menu a { font-weight: 600; font-size: 14px; color: var(--muted); }
.drawer-nav .current-menu-item > a { color: var(--forest2); }
.drawer-foot { margin-top: auto; padding-top: 24px; display: grid; gap: 14px; }
.drawer-foot .social-links a { border-color: var(--line); color: var(--ink); }

/* Search overlay ---------------------------------------------------------- */
.search-panel { position: relative; max-width: 760px; margin: 70px auto 0; background: var(--paper); border-radius: 24px; padding: 18px; box-shadow: var(--shadow); width: calc(100% - 32px); transform: translateY(-16px); opacity: 0; transition: .25s; max-height: calc(100vh - 110px); overflow-y: auto; }
.search-overlay.open .search-panel { transform: none; opacity: 1; }
.search-panel__form { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 16px; padding: 8px 8px 8px 16px; background: #fff; color: var(--muted); }
.search-panel__form input { flex: 1; border: 0; outline: 0; font-size: 17px; padding: 8px 0; background: transparent; color: var(--ink); min-width: 0; }
.search-panel__form input::-webkit-search-cancel-button { display: none; }
.search-results:not(:empty) { margin-top: 14px; }
.search-results h4 { font-size: 10px; text-transform: uppercase; letter-spacing: .14em; color: var(--forest2); margin: 14px 4px 8px; }
.sr-item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; }
.sr-item:hover, .sr-item:focus { background: var(--sand); }
.sr-item img, .sr-item .sr-ph { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; background: #eee; flex-shrink: 0; }
.sr-item strong { font-size: 14px; display: block; font-weight: 700; }
.sr-item span { font-size: 12px; color: var(--muted); }
.sr-all { display: block; margin: 10px 4px 2px; font-size: 12px; font-weight: 800; color: var(--forest2); }
.sr-empty { padding: 14px 6px; color: var(--muted); font-size: 13px; }
.search-suggest { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 14px; font-size: 12px; color: var(--muted); }
.search-suggest a { border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; color: var(--ink); font-weight: 650; }
.search-suggest a:hover { border-color: var(--forest2); }

/* Page hero / breadcrumbs ---------------------------------------------------- */
.page-hero { padding: 30px 0 40px; }
.page-hero__inner, .shop-hero { background: var(--sand); border-radius: 28px; padding: clamp(28px, 5vw, 56px); position: relative; overflow: hidden; }
.page-hero__inner::after, .shop-hero::after { content: "⌁"; position: absolute; right: -10px; bottom: -70px; font-size: 260px; color: rgba(35, 77, 58, .05); line-height: 1; pointer-events: none; }
.page-hero--image .page-hero__inner, .shop-hero--image { background: linear-gradient(90deg, rgba(17, 36, 25, .82), rgba(17, 36, 25, .25)), var(--hero-img) center / cover; color: #fff; }
.shop-hero--image .eyebrow, .page-hero--image .eyebrow { color: var(--lime); }
.shop-hero--image .page-hero__intro, .shop-hero--image .cvx-breadcrumb, .shop-hero--image .cvx-breadcrumb a { color: #e3eadf !important; }
.page-hero__title { font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -.065em; line-height: 1; margin: 14px 0 0; max-width: 820px; font-weight: 850; }
.page-hero__intro { color: var(--muted); max-width: 620px; font-size: 15px; margin-top: 14px; }
.page-hero__intro p { margin: 0; }
.page-hero--compact .page-hero__inner { padding: 26px 34px; }
.page-hero--compact .page-hero__title { font-size: clamp(28px, 3.4vw, 40px); }
.cvx-breadcrumb, .woocommerce .woocommerce-breadcrumb { font-size: 12px; color: var(--muted); margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cvx-breadcrumb a:hover { color: var(--forest2); text-decoration: underline; }
.cvx-breadcrumb .sep { opacity: .5; }

/* Entry content (pages, guides) --------------------------------------------- */
.entry-content { font-size: 16.5px; line-height: 1.75; color: #2c3a32; }
.entry-content > * { margin-top: 0; margin-bottom: 1.25em; }
.entry-content h2 { font-size: 28px; letter-spacing: -.045em; margin-top: 1.8em; color: var(--ink); }
.entry-content h3 { font-size: 21px; letter-spacing: -.03em; margin-top: 1.6em; color: var(--ink); }
.entry-content h4 { font-size: 17px; margin-top: 1.4em; }
.entry-content a:not(.btn):not(.wp-block-button__link) { color: var(--forest2); text-decoration: underline; text-decoration-color: rgba(50, 104, 78, .35); text-underline-offset: 3px; font-weight: 600; }
.entry-content a:not(.btn):hover { text-decoration-color: currentColor; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin: .35em 0; }
.entry-content li::marker { color: var(--forest2); }
.entry-content blockquote, .wp-block-quote { border-left: 3px solid var(--orange); background: var(--sand); margin-left: 0; margin-right: 0; padding: 18px 24px; border-radius: 0 16px 16px 0; font-size: 18px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.entry-content blockquote p { margin: 0; }
.entry-content blockquote cite { display: block; font-size: 13px; color: var(--muted); font-style: normal; margin-top: 8px; font-weight: 600; }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content img { border-radius: 16px; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.entry-content table, .wp-block-table table { width: 100%; border-collapse: collapse; font-size: 14.5px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.wp-block-table { overflow-x: auto; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.entry-content th, .entry-content thead td { background: var(--sand); font-weight: 800; color: var(--ink); }
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background: #fbfaf5; }
.entry-content .wp-block-table figcaption { font-size: 12px; color: var(--muted); margin-top: 8px; }
.wp-block-details { border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; background: #fff; margin-bottom: 10px !important; transition: border-color .2s; }
.wp-block-details[open] { border-color: #c9d3c4; box-shadow: 0 8px 20px rgba(27, 48, 36, .05); }
.wp-block-details summary { cursor: pointer; padding: 16px 28px 16px 0; font-weight: 750; font-size: 15.5px; list-style: none; position: relative; color: var(--ink); }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--forest2); transition: transform .2s; }
.wp-block-details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.wp-block-details > *:not(summary) { margin: 0 0 16px; font-size: 15px; }
.wp-block-button__link { background: var(--forest); color: #fff; border-radius: 999px; padding: 13px 22px; font-size: 13px; font-weight: 800; }
.wp-block-separator { border: 0; border-top: 1px solid var(--line); }
.wp-block-image figcaption, .wp-element-caption { font-size: 12px; color: var(--muted); text-align: center; }
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.page-links { font-weight: 700; display: flex; gap: 8px; }

/* Article ----------------------------------------------------------------- */
.article-hero { padding: 34px 0 30px; text-align: left; }
.article-hero .guide-meta { margin-top: 0; }
.article-title { font-size: clamp(34px, 4.8vw, 58px); letter-spacing: -.065em; line-height: 1.02; margin: 12px 0 14px; font-weight: 850; }
.article-lede { font-size: 18px; color: var(--muted); margin: 0 0 22px; max-width: 680px; }
.article-byline { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.article-byline img { border-radius: 50%; }
.article-byline strong { display: block; }
.article-byline span { color: var(--muted); font-size: 12px; }
.article-cover { margin: 0 auto 44px; }
.article-cover img { width: 100%; border-radius: 26px; aspect-ratio: 2 / 1; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: 70px minmax(0, 740px) 70px; gap: 30px; justify-content: center; }
.article-layout.has-sidebar { grid-template-columns: 70px minmax(0, 740px) 280px; }
.article-share { position: sticky; top: calc(var(--header-h) + 30px); align-self: start; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 800; }
.article-share a, .article-share button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--ink); transition: .2s; padding: 0; }
.article-share a:hover, .article-share button:hover { background: var(--forest); color: #fff; border-color: var(--forest); }
.article-sidebar { font-size: 14px; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2.2em; }
.article-tags a { text-decoration: none !important; font-size: 12px !important; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; color: var(--ink) !important; font-weight: 650 !important; }
.article-tags a::before { content: "#"; color: var(--forest2); }
.author-box { display: flex; gap: 16px; background: var(--sand); border-radius: 20px; padding: 22px; margin-top: 2.2em; align-items: flex-start; }
.author-box img { border-radius: 50%; }
.author-box strong { display: block; font-size: 17px; margin: 4px 0; }
.author-box p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.6; }
.shop-the-guide, .related-guides { padding-top: 70px; }
.shop-the-guide { background: linear-gradient(var(--sand), var(--sand)) no-repeat; background-size: 100% 62%; padding-top: 56px; margin-top: 56px; }
.post-navigation { margin: 0 0 30px; }
.post-navigation .nav-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.post-navigation a { display: block; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; height: 100%; transition: border-color .2s; }
.post-navigation a:hover { border-color: var(--forest2); }
.post-navigation .nav-next { text-align: right; }
.nav-kicker { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--forest2); font-weight: 850; }
.nav-title { font-weight: 750; font-size: 15px; letter-spacing: -.02em; }

/* Comments ---------------------------------------------------------------- */
.comments-area { border-top: 1px solid var(--line); padding-top: 34px; }
.comments-title, .comment-reply-title { font-size: 24px; letter-spacing: -.04em; }
.comment-list { list-style: none; padding: 0; margin: 0 0 30px; }
.comment-list .children { list-style: none; padding-left: 40px; }
.comment-body { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.comment-avatar img { border-radius: 50%; }
.comment-head { display: flex; gap: 10px; align-items: baseline; font-size: 14px; }
.comment-head time { font-size: 12px; color: var(--muted); }
.comment-content { font-size: 14.5px; }
.comment-reply a { font-size: 12px; font-weight: 800; color: var(--forest2); }
.comment-awaiting { font-size: 12px; color: var(--orange); }

/* Forms ------------------------------------------------------------------- */
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="tel"], input[type="number"], input[type="date"], textarea, select {
	width: 100%; border: 1px solid #d9ddd2; border-radius: 12px; padding: 12px 14px; background: #fff; font-size: 14px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
input:focus, textarea:focus, select:focus { outline: 0; border-color: var(--forest2); box-shadow: 0 0 0 3px rgba(50, 104, 78, .14); }
label { font-size: 13px; font-weight: 700; display: block; margin-bottom: 6px; }
abbr[title] { color: var(--orange); text-decoration: none; }
.comment-form p { margin: 0 0 14px; }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form-cookies-consent label { font-weight: 500; }
.comment-form-cookies-consent input { width: auto; margin-top: 4px; }
.search-form { display: flex; gap: 8px; max-width: 480px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px; }
.search-form .search-field { border: 0; box-shadow: none; padding: 9px 14px; border-radius: 999px; }
.search-form .search-submit { border: 0; background: var(--forest); color: #fff; border-radius: 50%; width: 40px; height: 40px; display: grid; place-items: center; flex-shrink: 0; }
.search-again { margin-bottom: 40px; }

/* Contact ----------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-info .entry-content { font-size: 15.5px; }
.contact-cards { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.contact-cards li { display: flex; gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; background: #fff; }
.contact-cards strong { display: block; font-size: 13px; }
.contact-cards a, .contact-cards span:not(.trust-icon) { font-size: 13.5px; color: var(--muted); }
.contact-cards a:hover { color: var(--forest2); }
.contact-form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 4vw, 38px); box-shadow: var(--shadow); }
.contact-form-card h2 { font-size: 26px; letter-spacing: -.045em; }
.contact-form p { margin: 0 0 16px; }
.form-row--2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-status { border-radius: 12px; padding: 12px 14px; margin-bottom: 16px; font-size: 14px; font-weight: 600; }
.form-status.is-success { background: #e7f1df; color: var(--forest); }
.form-status.is-error { background: #fbe9e3; color: var(--danger); }
.contact-form.is-loading button { opacity: .6; pointer-events: none; }

/* 404 / empty --------------------------------------------------------------- */
.notfound { text-align: center; max-width: 620px; margin: 40px auto 0; padding: 50px 24px; position: relative; }
.notfound__code { display: block; font-size: clamp(110px, 20vw, 190px); font-weight: 900; letter-spacing: -.08em; line-height: .9; color: #ebeee3; }
.notfound h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.06em; margin: 14px 0 10px; }
.notfound p { color: var(--muted); }
.notfound .search-form { margin: 24px auto; }
.notfound .actions { justify-content: center; }
.empty-state { text-align: center; padding: 50px 20px; max-width: 520px; margin: 0 auto; }
.empty-state__icon { width: 70px; height: 70px; border-radius: 22px; background: var(--sand); display: grid; place-items: center; margin: 0 auto 16px; color: var(--forest2); }
.empty-state p { color: var(--muted); }
.empty-state .search-form { margin: 20px auto 0; }

/* Pagination -------------------------------------------------------------- */
.pagination, .woocommerce nav.woocommerce-pagination { margin: 44px 0 0; }
.pagination .nav-links, .woocommerce nav.woocommerce-pagination ul { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; border: 0 !important; padding: 0; margin: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0 !important; }
.pagination .page-numbers, .woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { min-width: 42px; height: 42px; border-radius: 999px !important; border: 1px solid var(--line) !important; display: inline-grid !important; place-items: center; padding: 0 12px !important; font-size: 13px !important; font-weight: 750; background: #fff; color: var(--ink) !important; }
.pagination .page-numbers.current, .woocommerce nav.woocommerce-pagination ul li span.current { background: var(--forest) !important; color: #fff !important; border-color: var(--forest) !important; }
.pagination a.page-numbers:hover, .woocommerce nav.woocommerce-pagination ul li a:hover { border-color: var(--forest2) !important; background: #fff !important; }

/* Widgets ----------------------------------------------------------------- */
.widget { margin-bottom: 30px; }
.widget-title { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--forest2); }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { padding: 6px 0; border-bottom: 1px solid var(--line); }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1080px) {
	.article-layout { grid-template-columns: 56px minmax(0, 1fr); }
	.article-sidebar { grid-column: 2; }
}
@media (max-width: 950px) {
	.navlinks .menu { gap: 14px; }
	.trust-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-grid { grid-template-columns: 1fr 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
	.guide-feature { grid-template-columns: minmax(0, 1fr); }
	.guide-feature__media { min-height: 260px; }
	.contact-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 760px) {
	.navlinks { display: none; }
	.menu-toggle { display: grid; }
	.nav { padding: 12px 16px; gap: 12px; }
	.nav-actions { margin-left: auto; gap: 8px; }
	.account-btn { display: none; }
	.brand { font-size: 20px; }
}
@media (max-width: 680px) {
	body { font-size: 14.5px; }
	.announcement { font-size: 10px; }
	.wrap { padding: 0 16px; }
	.trust-row { gap: 9px; padding-bottom: 48px; }
	.trust-item { padding: 12px 10px; gap: 8px; }
	.trust-icon { width: 32px; height: 32px; }
	.trust-item strong { font-size: 10.5px; }
	.trust-item small { font-size: 9px; }
	.home-section { padding-bottom: 58px; }
	.section-head { align-items: start; flex-direction: column; }
	.section-head p { max-width: 100%; }
	.category-grid { gap: 10px; }
	.category-card { min-height: 220px; border-radius: 16px; }
	.category-info { left: 13px; right: 13px; bottom: 14px; }
	.category-info h3 { font-size: 18px; }
	.category-info small { font-size: 8px; }
	.category-info span { font-size: 10px; }
	.editorial { grid-template-columns: minmax(0, 1fr); }
	.editorial-card { min-height: 300px; }
	.editorial-copy { padding: 27px; }
	.editorial-copy h3 { font-size: 29px; }
	.guide-grid { grid-template-columns: minmax(0, 1fr); gap: 25px; }
	.newsletter { align-items: flex-start; flex-direction: column; padding: 28px 22px; }
	.email-form { width: 100%; }
	.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; }
	.footer-bottom { flex-direction: column; align-items: flex-start; }
	.page-hero { padding: 16px 0 28px; }
	.page-hero__inner, .shop-hero { border-radius: 20px; }
	.entry-content { font-size: 16px; }
	.article-layout { grid-template-columns: minmax(0, 1fr); }
	.article-share { position: static; flex-direction: row; order: 2; justify-content: flex-start; }
	.article-sidebar { grid-column: auto; }
	.article-cover img { border-radius: 18px; aspect-ratio: 16 / 10; }
	.post-navigation .nav-links { grid-template-columns: minmax(0, 1fr); }
	.form-row--2 { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.toast { left: 16px; right: 16px; bottom: 16px; }
	.search-panel { margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Header v2 — pill navigation, round actions, transparent overlay on home
   ========================================================================== */
.nav { padding: 18px 24px; gap: 24px; }
.navlinks .menu { gap: 2px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .7); font-size: 14px; font-weight: 600; color: var(--ink); }
.navlinks .menu > li > a { padding: 9px 18px; border-radius: 999px; transition: background .2s, color .2s; }
.navlinks .menu > li > a:hover { background: rgba(31, 43, 37, .06); color: var(--ink); }
.navlinks .menu > .current-menu-item > a, .navlinks .menu > .current-menu-ancestor > a, .navlinks .menu > .current_page_item > a { background: #fff; color: var(--forest); box-shadow: 0 2px 10px rgba(27, 48, 36, .1); }
.navlinks .sub-menu { top: calc(100% + 10px); left: 0; }
.navlinks .menu > li::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.nav-actions { gap: 10px; }
.nav-actions .icon-btn, .menu-toggle { width: 46px; height: 46px; border: 0; background: #eef0e8; }
.nav-actions .icon-btn:hover, .menu-toggle:hover { background: #e2e6da; }
.nav-actions .account-btn { background: var(--ink); color: #fff; }
.nav-actions .account-btn:hover { background: var(--forest); }

.site-header--overlay { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; margin-bottom: -82px; transition: background .3s, border-color .3s, box-shadow .3s; }
.site-header--overlay .nav { height: 82px; padding-top: 0; padding-bottom: 0; }
.site-header--overlay .navlinks .menu { background: rgba(255, 255, 255, .32); border-color: rgba(255, 255, 255, .65); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.site-header--overlay .navlinks .menu > li > a:hover { background: rgba(255, 255, 255, .55); }
.site-header--overlay .nav-actions .icon-btn:not(.account-btn), .site-header--overlay .menu-toggle { background: rgba(255, 255, 255, .6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.site-header--overlay.is-scrolled { background: rgba(255, 254, 250, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: rgba(228, 230, 221, .8); box-shadow: 0 6px 24px rgba(27, 48, 36, .06); }
.site-header--overlay.is-scrolled .navlinks .menu { background: rgba(255, 255, 255, .7); border-color: var(--line); }
.site-header--overlay.is-scrolled .nav-actions .icon-btn:not(.account-btn), .site-header--overlay.is-scrolled .menu-toggle { background: #eef0e8; }

/* ==========================================================================
   Hero banner — full-bleed photo, centered headline
   ========================================================================== */
.hero-banner { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(640px, calc(100vh - 36px), 900px); min-height: clamp(640px, calc(100svh - 36px), 900px); display: flex; flex-direction: column; align-items: center; margin-bottom: 56px; color: var(--ink); }
.hero-banner__media img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		linear-gradient(180deg, rgba(255, 254, 250, .8) 0%, rgba(255, 254, 250, .6) 30%, rgba(255, 254, 250, .32) 50%, rgba(255, 254, 250, 0) 66%),
		linear-gradient(0deg, rgba(12, 26, 18, .58) 0%, rgba(12, 26, 18, .18) 22%, rgba(12, 26, 18, 0) 38%); }
.hero-banner__content { position: relative; text-align: center; max-width: 980px; padding-top: calc(82px + clamp(44px, 9vh, 112px)); display: flex; flex-direction: column; align-items: center; }
.hero-banner__content .eyebrow { color: var(--forest); }
.hero-banner__content .eyebrow::after { content: ""; width: 22px; height: 2px; background: var(--orange); }
.hero-banner h1 { font-size: clamp(40px, 6.2vw, 86px); line-height: 1.02; letter-spacing: -.06em; font-weight: 850; margin: 16px auto 18px; max-width: 900px; text-wrap: balance; }
.hero-banner h1 em { font-style: normal; color: var(--forest2); }
.hero-banner__content p { font-size: 17px; line-height: 1.6; font-weight: 550; color: #1f2b25; text-shadow: 0 0 18px rgba(255, 254, 250, .9), 0 0 2px rgba(255, 254, 250, .8); max-width: 620px; margin: 0 auto 28px; text-wrap: pretty; }
.btn-dark { background: var(--ink); color: #fff; padding: 15px 26px; font-size: 14px; box-shadow: 0 10px 30px rgba(17, 30, 22, .25); }
.btn-dark:hover { background: var(--forest); transform: translateY(-2px); }

.hero-banner__proof, .hero-banner__more, .hero-banner__social { position: absolute; z-index: 1; }
.hero-banner__proof { left: max(24px, calc((100vw - 1200px) / 2 + 24px)); bottom: 44px; display: flex; flex-direction: column; align-items: center; text-align: center; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.hero-avatars { display: flex; margin-bottom: 10px; }
.hero-avatars img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; margin-left: -14px; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
.hero-avatars img:first-child { margin-left: 0; }
.hero-banner__proof strong { font-size: 16px; font-weight: 750; letter-spacing: -.01em; }
.hero-banner__proof span { font-size: 12.5px; opacity: .9; max-width: 190px; }
.hero-banner__more { right: max(24px, calc((100vw - 1200px) / 2 + 24px)); bottom: 48px; color: #fff; border: 1.5px solid rgba(255, 255, 255, .85); border-radius: 999px; padding: 12px 24px; font-size: 14px; font-weight: 700; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); background: rgba(255, 255, 255, .08); transition: .2s; }
.hero-banner__more:hover { background: #fff; color: var(--ink); }
.hero-banner__social { right: max(30px, calc((100vw - 1200px) / 2 + 60px)); top: 52%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero-banner__social .line { width: 1.5px; height: 110px; background: rgba(255, 255, 255, .85); }
.hero-banner__social .social-links { flex-direction: column; gap: 10px; margin: 0; }
.hero-banner__social .social-links a { border: 0; width: 36px; height: 36px; color: #fff; filter: drop-shadow(0 1px 6px rgba(0, 0, 0, .45)); }
.hero-banner__social .social-links svg { width: 22px; height: 22px; stroke-width: 2; }
.hero-banner__social .social-links a:hover { background: rgba(255, 255, 255, .2); color: #fff; }

@media (max-width: 950px) {
	.navlinks .menu > li > a { padding: 9px 12px; }
	.hero-banner__social { display: none; }
}
@media (max-width: 760px) {
	.nav { padding: 12px 16px; }
	.site-header--overlay { margin-bottom: -70px; }
	.site-header--overlay .nav { height: 70px; }
	.nav-actions .icon-btn, .menu-toggle { width: 42px; height: 42px; }
}
@media (max-width: 680px) {
	.hero-banner { min-height: 660px; min-height: max(620px, calc(100svh - 30px)); margin-bottom: 40px; }
	.hero-banner__media img { object-position: 74% 30%; }
	.hero-banner::before { background:
		linear-gradient(180deg, rgba(255, 254, 250, .86) 0%, rgba(255, 254, 250, .6) 30%, rgba(255, 254, 250, .12) 52%, rgba(255, 254, 250, 0) 62%),
		linear-gradient(0deg, rgba(12, 26, 18, .62) 0%, rgba(12, 26, 18, .2) 24%, rgba(12, 26, 18, 0) 40%); }
	.hero-banner__content { padding-top: calc(70px + 40px); }
	.hero-banner h1 { font-size: clamp(34px, 10.5vw, 46px); margin: 12px auto 14px; }
	.hero-banner__content p { font-size: 15px; margin-bottom: 22px; }
	.hero-banner__proof { left: 16px; bottom: 26px; align-items: flex-start; text-align: left; }
	.hero-avatars img { width: 36px; height: 36px; margin-left: -11px; }
	.hero-banner__proof strong { font-size: 14px; }
	.hero-banner__proof span { display: none; }
	.hero-banner__more { right: 16px; bottom: 30px; padding: 10px 18px; font-size: 13px; }
}

/* Pill nav needs room: collapse to the drawer below 1024px. */
.navlinks .menu > li > a { white-space: nowrap; }
@media (max-width: 1100px) {
	.navlinks { display: none; }
	.menu-toggle { display: grid; }
	.nav-actions { margin-left: auto; }
}

/* ==========================================================================
   Header dropdowns (product sub-categories) + mobile accordion
   ========================================================================== */
.navlinks .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .55; transition: transform .2s; }
.navlinks .menu > li:hover > a::after, .navlinks .menu > li:focus-within > a::after { transform: translateY(0) rotate(225deg); }
.navlinks .sub-menu { min-width: 260px; padding: 10px; border-radius: 18px; z-index: 50; box-shadow: 0 22px 50px rgba(27, 48, 36, .16); }
.navlinks .sub-menu li { position: relative; }
.navlinks .sub-menu a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.navlinks .sub-menu a:hover, .navlinks .sub-menu .current-menu-item > a { background: var(--sand); color: var(--forest); }
.navlinks .sub-menu li:last-child:not(:first-child) { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
.navlinks .sub-menu li:last-child:not(:first-child) > a { color: var(--forest2); font-weight: 750; }
.navlinks .sub-menu li:last-child:not(:first-child) > a::after { content: "→"; }
.navlinks .menu > li:last-child .sub-menu, .navlinks .menu > li:nth-last-child(2) .sub-menu { left: auto; right: 0; }

@media (max-width: 1280px) {
	.nav { gap: 16px; }
	.navlinks .menu > li > a { padding: 9px 12px; font-size: 13.5px; }
}

.drawer-nav .menu-item-has-children { position: relative; }
.drawer-nav .menu-item-has-children > a { padding-right: 48px; }
.drawer-nav .sub-toggle { position: absolute; right: 0; top: 7px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--ink); padding: 0; }
.drawer-nav .sub-toggle svg { transition: transform .2s; }
.drawer-nav .is-open > .sub-toggle svg { transform: rotate(45deg); }
.drawer-nav .menu-item-has-children > .sub-menu { display: none; padding: 4px 0 10px 14px; }
.drawer-nav .menu-item-has-children.is-open > .sub-menu { display: block; }
.drawer-nav .sub-menu a { padding: 11px 0; border-bottom: 0; font-size: 14px; }

/* Long dropdowns (8+ links) become a two-column panel. */
.navlinks .sub-menu:has(> li:nth-child(8)) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 6px; min-width: 520px; }
.navlinks .sub-menu:has(> li:nth-child(8)) > li:last-child { grid-column: 1 / -1; }
