/*
Theme Name:   HomeIsBeautiful
Theme URI:    https://homeisbeautiful.net/
Description:  GeneratePress child theme for HomeIsBeautiful.net, a US buying-guide publication. Seven colour-coded areas, 45 categories, roundup and comparison layouts, trust pages and block patterns.
Author:       HomeIsBeautiful
Template:     generatepress
Version:      1.0.28
Requires PHP: 7.4
Text Domain:  hib
*/

/* Self-hosted fonts (latin + latin-ext), replacing Google Fonts (2026-11-13) */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('/wp-content/themes/homeisbeautiful/assets/fonts/fraunces-latin-ext-796716.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('/wp-content/themes/homeisbeautiful/assets/fonts/fraunces-latin-39ce20.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/wp-content/themes/homeisbeautiful/assets/fonts/inter-latin-ext-395290.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/wp-content/themes/homeisbeautiful/assets/fonts/inter-latin-567244.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 600 700; font-display: swap; src: url('/wp-content/themes/homeisbeautiful/assets/fonts/newsreader-latin-ext-w67.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 600 700; font-display: swap; src: url('/wp-content/themes/homeisbeautiful/assets/fonts/newsreader-latin-w67.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }


/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
	/* Neutrals */
	--ink: #0F2340;          /* headings, primary buttons, footer */
	--text: #1F2937;         /* body */
	--muted: #4B5563;        /* secondary text: 7.5:1 on white */
	--subtle: #6B7280;       /* meta: 4.8:1 on white */
	--line: #E5E7EB;
	--line-strong: #D1D5DB;
	--paper: #FFFFFF;
	--canvas: #F7F7F4;       /* warm off-white page sections */
	--sand: #FFF8EC;

	/* Brand */
	--brand: #12355B;
	--accent: #E8792B;       /* signature orange: highlights, focus, marks (use --accent-text for text on white) */
	--accent-text: #B4541A;
	--link: #1F5FAD;
	--link-hover: #12355B;
	--good: #15803D;
	--good-bg: #ECFDF3;
	--warn: #B42318;
	--warn-bg: #FEF3F2;

	/* Seven area colours (all 4.5:1+ with white text) */
	--p-home: #1E4A7A;
	--p-kitchen: #1E4A7A;
	--p-power: #1E4A7A;
	--p-tools: #1E4A7A;
	--p-outdoor: #1E4A7A;
	--p-tech: #1E4A7A;
	--p-family: #1E4A7A;
	--p: var(--ink);

	/* Type */
	--font-display: "Fraunces", Georgia, "Times New Roman", serif;
	--font-ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--fs-xs: .78rem;
	--fs-sm: .875rem;
	--fs-base: 1.0625rem;
	--fs-lg: 1.1875rem;
	--fs-h3: clamp(1.15rem, 1rem + .6vw, 1.35rem);
	--fs-h2: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
	--fs-h1: clamp(2.1rem, 1.5rem + 2.8vw, 3.5rem);

	/* Space, shape, depth */
	--s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 4.5rem;
	--r-sm: 8px; --r: 14px; --r-lg: 20px; --r-pill: 999px;
	--shadow-sm: 0 1px 2px rgba(17, 24, 39, .06), 0 1px 3px rgba(17, 24, 39, .08);
	--shadow: 0 2px 4px rgba(17, 24, 39, .04), 0 8px 24px rgba(17, 24, 39, .08);
	--shadow-lg: 0 12px 40px rgba(17, 24, 39, .16);
	--wrap: 1240px;
	--spectrum: linear-gradient(90deg, var(--p-home) 0 14.28%, var(--p-kitchen) 0 28.57%, var(--p-power) 0 42.85%, var(--p-tools) 0 57.14%, var(--p-outdoor) 0 71.42%, var(--p-tech) 0 85.71%, var(--p-family) 0);
}

/* Area colour scoping: any element (or body class) can set the current area. */
[data-pillar="home-rooms"], .pillar-home-rooms, .mega-home-rooms { --p: var(--p-home); --p-icon: "sofa"; }
[data-pillar="kitchen-appliances"], .pillar-kitchen-appliances, .mega-kitchen-appliances { --p: var(--p-kitchen); }
[data-pillar="power-utilities"], .pillar-power-utilities, .mega-power-utilities { --p: var(--p-power); }
[data-pillar="tools-garage"], .pillar-tools-garage, .mega-tools-garage { --p: var(--p-tools); }
[data-pillar="outdoor-garden"], .pillar-outdoor-garden, .mega-outdoor-garden { --p: var(--p-outdoor); }
[data-pillar="tech-connected"], .pillar-tech-connected, .mega-tech-connected { --p: var(--p-tech); }
[data-pillar="family-hobbies"], .pillar-family-hobbies, .mega-family-hobbies { --p: var(--p-family); }
[data-pillar] , [class*="pillar-"], [class*="mega-"] {
	--p-tint: color-mix(in srgb, var(--p) 9%, #fff);
	--p-tint-2: color-mix(in srgb, var(--p) 18%, #fff);
	--p-deep: color-mix(in srgb, var(--p) 78%, #000);
}

/* ==========================================================================
   2. Base + GeneratePress shell overrides
   ========================================================================== */
body.hib {
	background: var(--paper);
	color: var(--text);
	font-family: var(--font-ui);
	font-size: var(--fs-base);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
.hib .site.grid-container { max-width: none; padding: 0; background: transparent; }
.hib .site-content { display: block !important; padding: 0 !important; }
.hib h1, .hib h2, .hib h3, .hib h4 { font-family: var(--font-display); color: var(--ink); font-weight: 600; letter-spacing: -.01em; line-height: 1.15; font-variation-settings: "opsz" 72; }
.hib h1 { font-size: var(--fs-h1); }
.hib h2 { font-size: var(--fs-h2); }
.hib h3 { font-size: var(--fs-h3); }
.hib a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
.hib a:hover { color: var(--link-hover); }
.hib img { max-width: 100%; height: auto; }
.hib :focus-visible { outline: 3px solid var(--link); outline-offset: 2px; border-radius: 4px; }
.hib ::selection { background: var(--accent); color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.wrap--narrow { max-width: 820px; }
.sr-only, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--subtle); font-size: var(--fs-sm); margin: 0; }
.hib-main { display: block; }

.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.22em; }
.icon--sm { width: 1.05em; height: 1.05em; }
.icon--xs { width: .9em; height: .9em; }

.eyebrow { font-family: var(--font-ui); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--p, var(--ink)); margin: 0 0 var(--s2); }
.eyebrow--light { color: var(--accent); }
.dot { display: inline-block; width: .55em; height: .55em; border-radius: 50%; background: var(--p); margin-right: .45em; vertical-align: .08em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 600 var(--fs-sm)/1 var(--font-ui); padding: .9em 1.35em; border-radius: var(--r-pill); border: 2px solid transparent; text-decoration: none !important; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; min-height: 44px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--ink); color: #fff !important; }
.btn--primary:hover { background: #000; box-shadow: 0 6px 18px rgba(17, 24, 39, .25); }
.btn--light { background: #fff; color: var(--ink) !important; }
.btn--light:hover { background: var(--accent); }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ink) !important; }
.btn--sm { padding: .65em 1em; min-height: 38px; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .35em; font-weight: 600; font-size: var(--fs-sm); color: var(--ink) !important; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow .icon { transition: transform .15s ease; }

/* Chips & pills */
.chip-icon { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 10px; background: var(--p); color: #fff; flex: none; }
.chip-icon .icon { width: 1.2rem; height: 1.2rem; }
.chip-icon--lg { width: 3rem; height: 3rem; border-radius: 14px; }
.chip-icon--lg .icon { width: 1.5rem; height: 1.5rem; }
.chip-icon--xl { width: 4rem; height: 4rem; border-radius: 18px; }
.chip-icon--xl .icon { width: 2rem; height: 2rem; }
.pill { display: inline-flex; align-items: center; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--p-deep, var(--ink)) !important; background: var(--p-tint, var(--canvas)); padding: .45em .9em; border-radius: var(--r-pill); text-decoration: none !important; }
.badge { display: inline-flex; align-items: center; gap: .3em; font-size: .72rem; font-weight: 600; padding: .3em .65em; border-radius: var(--r-pill); }
.badge--method { background: #F3F4F6; color: var(--muted); }

/* ==========================================================================
   3. Header + navigation (GeneratePress markup)
   ========================================================================== */
.hib .site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; }
.hib .site-header::before { content: ""; display: block; height: 5px; background: var(--spectrum); }
.admin-bar.hib .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar.hib .site-header { top: 0; position: relative; } }
.hib .inside-header { max-width: var(--wrap); padding: 10px 20px; position: relative; }
.hib .site-branding .main-title { margin: 0; line-height: 1; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; color: var(--ink) !important; }
.brand__word { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: -.02em; color: var(--ink); }
.brand__word span { color: var(--accent-text); font-style: italic; font-weight: 600; padding: 0 1px; }
.brand--light .brand__word { color: #fff; }
.brand--light .brand__word span { color: var(--accent); }
.logo-mark { flex: none; }

.hib .main-navigation, .hib .main-navigation ul ul { background: transparent; }
.hib .main-navigation .main-nav ul li a,
.hib .main-navigation .menu-bar-item > a { font-family: var(--font-ui); font-size: .95rem; font-weight: 600; color: var(--ink); line-height: 44px; padding-inline: 14px; }
.hib .main-navigation .main-nav > ul > li > a { border-radius: var(--r-pill); }
.hib .main-navigation .main-nav > ul > li:hover > a,
.hib .main-navigation .main-nav > ul > li.sfHover > a,
.hib .main-navigation .main-nav > ul > li[class*="current-menu-"] > a { color: var(--ink); background: #F3F4F6; }
.hib .main-navigation .menu-bar-item > a { padding-inline: 12px; }
.hib .main-navigation .menu-toggle { font-weight: 600; color: var(--ink); background: #F3F4F6; border-radius: var(--r-pill); padding: 0 16px; line-height: 42px; }
.hib .main-navigation ul ul { box-shadow: var(--shadow-lg); border-radius: var(--r); border: 1px solid var(--line); }
.hib .main-navigation .main-nav ul ul li a { font-size: .9rem; font-weight: 500; line-height: 1.35; padding: 9px 14px; color: var(--text); }
.hib .main-navigation .main-nav ul ul li a:hover { background: var(--canvas); color: var(--ink); }

/* Mega menu: Categories > 7 areas > 45 categories (desktop) */
@media (min-width: 769px) {
	.hib .main-navigation,
	.hib .main-navigation .inside-navigation,
	.hib .main-navigation .main-nav,
	.hib .main-navigation .main-nav > ul,
	.hib .main-navigation li.mega-menu { position: static; }
	.hib .main-navigation li.mega-menu > ul.sub-menu {
		left: 20px !important; right: 20px; width: auto; top: 100%;
		display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px 18px;
		padding: 22px; background: #fff; border-radius: 0 0 var(--r-lg) var(--r-lg);
		max-height: calc(100vh - 140px); overflow: auto;
	}
	.hib .main-navigation li.mega-menu:not(.sfHover) > ul.sub-menu { display: none; }
	.hib .main-navigation li.mega-menu > ul > li { width: auto; float: none; }
	.hib .main-navigation li.mega-menu > ul > li.mega-pillar > a {
		display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.02rem; font-weight: 700;
		color: var(--ink); padding: 8px 10px; border-radius: 10px; background: var(--p-tint); border-left: 4px solid var(--p);
	}
	.hib .main-navigation li.mega-menu > ul > li.mega-pillar > a:hover { background: var(--p-tint-2); }
	.hib .main-navigation li.mega-menu ul ul {
		position: static !important; left: auto !important; opacity: 1 !important; visibility: visible !important; height: auto !important;
		pointer-events: auto !important; display: block !important; box-shadow: none; border: 0; width: auto; padding: 4px 0 12px; background: transparent;
	}
	.hib .main-navigation li.mega-menu ul ul li a { padding: 5px 10px 5px 14px; font-size: .88rem; color: var(--muted); border-radius: 6px; }
	.hib .main-navigation li.mega-menu ul ul li a:hover { color: var(--ink); background: var(--p-tint); }
	.hib .main-navigation li.mega-menu .dropdown-menu-toggle { display: none; }
	.hib .main-navigation li.mega-menu > a .dropdown-menu-toggle { display: inline-block; }
	.hib .main-navigation li.mega-menu > ul > li.mega-all { grid-column: 4; align-self: end; }
	.hib .main-navigation li.mega-menu > ul > li.mega-all > a { background: var(--ink); color: #fff; border-radius: var(--r-pill); text-align: center; font-weight: 600; padding: 12px 16px; }
	.hib .main-navigation li.mega-menu > ul > li.mega-all > a:hover { background: #000; color: #fff; }
}
/* Mobile menu: colour-coded area rows */
@media (max-width: 768px) {
	.hib .main-navigation .main-nav ul li a { line-height: 1.4; padding: 12px 16px; }
	.hib .main-navigation.toggled .main-nav > ul { border-top: 1px solid var(--line); padding: 8px 0 16px; }
	.hib .main-navigation li.mega-pillar > a { border-left: 4px solid var(--p); font-weight: 700; }
	.hib .main-navigation ul ul { box-shadow: none; border: 0; border-radius: 0; }
	.hib .main-navigation ul ul ul a { padding-left: 36px !important; color: var(--muted); }
	.hib .brand__word { font-size: 1.2rem; }
	.hib .logo-mark { width: 32px; height: 32px; }
}

/* GeneratePress search modal */
.hib .gp-modal__overlay { background: rgba(17, 24, 39, .55); backdrop-filter: blur(3px); }
.hib .gp-modal__container { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.hib .gp-search-modal .search-field { font-size: 1.15rem; padding: 18px 20px; }

/* ==========================================================================
   4. Shared components
   ========================================================================== */
.hib-search { display: flex; align-items: center; gap: 6px; background: #fff; border: 2px solid var(--ink); border-radius: var(--r-pill); padding: 5px 5px 5px 16px; max-width: 560px; box-shadow: 4px 4px 0 var(--accent); }
.hib-search:focus-within { box-shadow: 4px 4px 0 var(--link); }
.hib-search__icon { color: var(--subtle); display: grid; }
.hib-search input[type="search"] { flex: 1; min-width: 0; border: 0 !important; background: transparent !important; padding: 10px 4px !important; font-size: 1rem; color: var(--ink); box-shadow: none !important; outline: 0; }
.hib-search .btn { padding: .8em 1.3em; }

.section { padding-block: var(--s8); }
.section--first { padding-top: var(--s6); }
.section--compact { padding-block: var(--s7); }
.section--tint { background: var(--canvas); }
.section--ink { background: var(--ink); color: #E5E7EB; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; margin-bottom: var(--s6); }
.section__head h2 { margin: 0; }

.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.list { display: grid; gap: 14px; }

/* Guide card */
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card:focus-within { box-shadow: 0 0 0 3px var(--link); }
.card .thumb { aspect-ratio: 4 / 3; background: var(--p-tint, var(--canvas)); display: grid; place-items: center; overflow: hidden; position: relative; }
.card .thumb::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--p); }
.card .thumb img { width: 100%; height: 100%; object-fit: contain; padding: 14px; mix-blend-mode: multiply; }
.thumb--empty { color: var(--p); background: radial-gradient(circle at 80% 15%, var(--p-tint-2) 0 22%, transparent 23%), radial-gradient(circle at 12% 90%, var(--p-tint-2) 0 18%, transparent 19%), var(--p-tint, var(--canvas)) !important; }
.thumb--empty .icon { width: 3.25rem; height: 3.25rem; stroke-width: 1.4; }
.card__body { padding: 18px 18px 16px; display: flex; flex-direction: column; flex: 1; }
.card__cat { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--p-deep, var(--ink)); margin: 0 0 8px; }
.card__title { font-size: 1.18rem !important; line-height: 1.25 !important; margin: 0 0 8px; }
.card__title a { color: var(--ink) !important; text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__title a:focus-visible { outline: none; }
.card:hover .card__title a { text-decoration: underline; text-decoration-color: var(--p); text-decoration-thickness: 2px; }
.card__excerpt { font-size: .95rem; color: var(--muted); margin: 0 0 14px; line-height: 1.55; }
.card__meta { margin: auto 0 0; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: .8rem; color: var(--subtle); }
.card--row { flex-direction: row; }
.card--row .thumb { width: 220px; flex: none; aspect-ratio: auto; min-height: 150px; }
.card--row .thumb::after { left: auto; top: 0; width: 4px; height: auto; }
.card--feature { grid-row: span 2; }
.card--feature .thumb { aspect-ratio: 16 / 10; }
.card--feature .card__title { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem) !important; }
@media (max-width: 640px) {
	.card--row .thumb { width: 108px; min-height: 0; }
	.card--row .thumb .icon { width: 2rem; height: 2rem; }
	.card--row .card__excerpt { display: none; }
	.card--row .card__body { padding: 14px; }
	.card--row .card__title { font-size: 1.02rem !important; }
}

.empty { text-align: center; background: var(--canvas); border: 2px dashed var(--line-strong); border-radius: var(--r-lg); padding: var(--s7) var(--s5); }
.empty > .icon { width: 2.5rem; height: 2.5rem; color: var(--subtle); }
.empty h2, .empty h3 { margin: var(--s3) 0 var(--s2); font-size: var(--fs-h3); }
.empty p { color: var(--muted); max-width: 52ch; margin: 0 auto var(--s5); }

.crumbs ol { list-style: none; margin: 0 0 var(--s4); padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: var(--fs-sm); color: var(--subtle); }
.crumbs li + li::before { content: "/"; margin-right: 4px; color: var(--line-strong); }
.crumbs a { color: var(--muted) !important; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.pagination ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: var(--s7) 0 0; justify-content: center; }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); text-decoration: none; color: var(--ink) !important; font-weight: 600; font-size: var(--fs-sm); }
.pagination .current { background: var(--ink); color: #fff !important; border-color: var(--ink); }
.pagination a:hover { border-color: var(--ink); }

/* ==========================================================================
   5. Homepage
   ========================================================================== */
.hero { position: relative; padding: var(--s8) 0 var(--s7); background: radial-gradient(1200px 400px at 85% -10%, #FFF4D6 0, transparent 60%), linear-gradient(180deg, #FFFDF8, #fff); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--s7); align-items: center; }
.hero .eyebrow { color: var(--p-home); }
.hero__title { font-size: clamp(2.5rem, 1.6rem + 4vw, 4.6rem) !important; line-height: 1.02 !important; letter-spacing: -.03em !important; margin: 0 0 var(--s4); }
.hero__title em { font-style: italic; color: var(--ink); background: linear-gradient(transparent 62%, var(--accent) 62% 92%, transparent 92%); padding: 0 .08em; }
.hero__lede { font-size: var(--fs-lg); color: var(--muted); max-width: 38em; margin: 0 0 var(--s5); }
.hero__popular { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: var(--s5) 0 0; font-size: var(--fs-sm); }
.hero__popular span { color: var(--subtle); font-weight: 600; margin-right: 4px; }
.hero__popular a { color: var(--ink) !important; text-decoration: none; background: #fff; border: 1px solid var(--line-strong); padding: 6px 12px; border-radius: var(--r-pill); font-weight: 500; }
.hero__popular a:hover { border-color: var(--ink); }

.hero__map { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 22px; position: relative; }
.hero__map::before { content: ""; position: absolute; inset: -14px 14px auto auto; width: 120px; height: 120px; border-radius: 28px; background: var(--accent); z-index: -1; transform: rotate(10deg); }
.hero__map-title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink); margin: 0 0 12px; }
.hero__map ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hero__map li a { display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 8px; border-radius: 12px; text-decoration: none; color: var(--ink) !important; font-weight: 600; font-size: .98rem; transition: background-color .15s ease; }
.hero__map li a:hover { background: var(--p-tint); }
.hero__map li a:hover .hero__map-n { background: var(--p); color: #fff; }
.hero__map-name { flex: 1; }
.hero__map-n { font-size: .75rem; font-weight: 700; min-width: 28px; text-align: center; padding: 3px 8px; border-radius: var(--r-pill); background: var(--p-tint); color: var(--p-deep); transition: all .15s ease; }
.hero__map li.hero__map-all a { background: var(--ink); color: #fff !important; margin-top: 6px; justify-content: center; }
.hero__map li.hero__map-all a:hover { background: #000 !important; }
@media (max-width: 900px) {
	.hero { padding-top: var(--s6); }
	.hero__grid { grid-template-columns: 1fr; gap: var(--s6); }
	.hero__map ul { grid-template-columns: 1fr 1fr; }
	.hero__map-all { grid-column: 1 / -1; }
	.hero__map-n { display: none; }
	.hero__map li a { font-size: .9rem; gap: 8px; }
	.hero__map::before { display: none; }
}

.trust { border-block: 1px solid var(--line); background: #fff; }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__grid > div { display: flex; gap: 12px; align-items: flex-start; padding: 22px 18px; }
.trust__grid > div + div { border-left: 1px solid var(--line); }
.trust__grid .icon { width: 1.6rem; height: 1.6rem; color: var(--ink); background: var(--accent); border-radius: 10px; padding: 6px; box-sizing: content-box; }
.trust__grid p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.45; }
.trust__grid strong { display: block; color: var(--ink); font-size: .95rem; margin-bottom: 2px; }
@media (max-width: 900px) {
	.trust__grid { grid-template-columns: 1fr 1fr; }
	.trust__grid > div:nth-child(3) { border-left: 0; }
	.trust__grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
	.trust__grid { grid-template-columns: 1fr; }
	.trust__grid > div { border-left: 0 !important; padding: 14px 0; }
	.trust__grid > div + div { border-top: 1px solid var(--line); }
}

.picks { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; }
.picks .card--row { grid-column: 2; }
@media (max-width: 900px) { .picks { grid-template-columns: 1fr; } .picks .card--row { grid-column: auto; } }

/* Area (pillar) cards: bold colour headers */
.pillar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.pillar-card { background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .2s ease, transform .2s ease; }
.pillar-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.pillar-card__head { background: var(--p); color: #fff; padding: 20px; display: flex; gap: 14px; align-items: flex-start; position: relative; overflow: hidden; }
.pillar-card__head::after { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.pillar-card__head .chip-icon { background: rgba(255, 255, 255, .18); }
.pillar-card__head h3 { margin: 0 0 4px; font-size: 1.3rem !important; }
.pillar-card__head h3 a { color: #fff !important; text-decoration: none; }
.pillar-card__head h3 a:hover { text-decoration: underline; }
.pillar-card__head p { margin: 0; font-size: .88rem; color: rgba(255, 255, 255, .9); line-height: 1.4; }
.pillar-card__list { list-style: none; margin: 0; padding: 12px 12px 16px; display: grid; gap: 2px; }
.pillar-card__list a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--text) !important; text-decoration: none; font-size: .95rem; font-weight: 500; }
.pillar-card__list a:hover { background: var(--p-tint); color: var(--p-deep) !important; }
.pillar-card__list a::before { content: "→"; color: var(--p); margin-right: 8px; font-weight: 700; }

/* Room / task finder */
.tabs__list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s5); padding: 6px; background: var(--canvas); border-radius: var(--r-pill); width: fit-content; max-width: 100%; }
.tabs__list button, .tabs__link { display: inline-flex; align-items: center; gap: 6px; font: 600 var(--fs-sm)/1 var(--font-ui); padding: 12px 18px; border-radius: var(--r-pill); border: 0; background: transparent; color: var(--muted) !important; cursor: pointer; text-decoration: none; min-height: 44px; }
.tabs__list button[aria-selected="true"] { background: var(--ink); color: #fff !important; box-shadow: var(--shadow-sm); }
.tabs__list button:hover:not([aria-selected="true"]), .tabs__link:hover { color: var(--ink) !important; background: #fff; }
.finder-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.finder { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.finder h3 { font-size: 1.1rem !important; margin: 0 0 10px; }
.finder ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.finder li a { display: inline-flex; align-items: center; font-size: .85rem; font-weight: 500; padding: 6px 11px; border-radius: var(--r-pill); background: var(--p-tint); color: var(--p-deep) !important; text-decoration: none; }
.finder li a:hover { background: var(--p); color: #fff !important; }
.finder li a:hover .dot { background: #fff; }

/* Method band */
.method { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--s7); align-items: center; }
.method__intro p:not(.eyebrow) { color: #D1D5DB; font-size: var(--fs-lg); margin: 0 0 var(--s5); }
.method__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.method__steps li { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r); padding: 20px; position: relative; overflow: hidden; }
.method__steps li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
.method__steps li:nth-child(1)::before { background: var(--p-home); }
.method__steps li:nth-child(2)::before { background: var(--p-power); }
.method__steps li:nth-child(3)::before { background: var(--p-tools); }
.method__steps li:nth-child(4)::before { background: var(--p-outdoor); }
.method__steps span { font: 700 .8rem var(--font-ui); color: var(--accent); letter-spacing: .1em; }
.method__steps h3 { margin: 6px 0; font-size: 1.15rem !important; }
.method__steps p { margin: 0; font-size: .92rem; color: #D1D5DB; line-height: 1.5; }
@media (max-width: 900px) { .method { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .method__steps { grid-template-columns: 1fr; } }

.feedback { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); flex-wrap: wrap; background: var(--sand); border: 1px solid #F5E1B8; border-radius: var(--r-lg); padding: var(--s6); }
.feedback h2 { font-size: 1.5rem !important; margin: 0 0 4px; }
.feedback p { margin: 0; color: var(--muted); }

/* ==========================================================================
   6. Category pages
   ========================================================================== */
.cat-hero { background: var(--p-tint, var(--canvas)); padding: var(--s6) 0 var(--s5); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.cat-hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--p); }
.cat-hero--pillar { background: var(--p); color: #fff; padding: var(--s7) 0 var(--s6); border: 0; }
.cat-hero--pillar::before { display: none; }
.cat-hero--pillar::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 380px; height: 380px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.cat-hero--pillar h1, .cat-hero--pillar .eyebrow, .cat-hero--pillar .crumbs a, .cat-hero--pillar .crumbs, .cat-hero--pillar .crumbs span { color: #fff !important; }
.cat-hero--pillar .cat-hero__desc { color: rgba(255, 255, 255, .92); }
.cat-hero--pillar .chip-icon { background: rgba(255, 255, 255, .2); }
.cat-hero__row { display: flex; gap: 20px; align-items: flex-start; position: relative; z-index: 1; }
.cat-hero h1 { margin: 0 0 6px; }
.cat-hero .eyebrow { color: var(--p-deep); }
.cat-hero__desc { color: var(--muted); font-size: var(--fs-lg); max-width: 60ch; }
.cat-hero__desc p { margin: 0; }
.siblings { margin-top: var(--s5); }
.siblings ul { list-style: none; margin: 0; padding: 0 0 4px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; }
.siblings a { display: inline-block; white-space: nowrap; padding: 8px 14px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line-strong); color: var(--text) !important; text-decoration: none; font-size: .88rem; font-weight: 500; }
.siblings a:hover { border-color: var(--p); color: var(--p-deep) !important; }
.siblings a[aria-current="page"] { background: var(--p); border-color: var(--p); color: #fff !important; }
@media (max-width: 640px) { .cat-hero__row { flex-direction: column; gap: 12px; } .chip-icon--xl { width: 3rem; height: 3rem; } }

.subcat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 16px; }
.subcat { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--p); text-decoration: none !important; transition: box-shadow .2s ease, transform .2s ease; }
.subcat:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.subcat__name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.subcat__desc { color: var(--muted); font-size: .93rem; line-height: 1.5; }
.subcat__count { margin-top: auto; padding-top: 8px; font-size: .82rem; font-weight: 700; color: var(--p-deep); display: inline-flex; align-items: center; gap: 4px; }

.other-pillars ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.other-pillars a { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink) !important; font-weight: 600; font-size: .92rem; }
.other-pillars a:hover { border-color: var(--p); background: var(--p-tint); }
.other-pillars .chip-icon { width: 2rem; height: 2rem; border-radius: 50%; }

/* ==========================================================================
   7. Guide (roundup) article
   ========================================================================== */
.guide__header { background: linear-gradient(180deg, var(--p-tint, var(--canvas)), #fff 85%); padding: var(--s6) 0 var(--s5); position: relative; }
.guide__header::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--p); }
.guide__header .wrap, .guide__content { max-width: 860px; }
.guide__content { padding-top: var(--s5); padding-bottom: var(--s8); }
.guide__title { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem) !important; margin: 14px 0 12px; max-width: 22ch; }
.guide__dek { font-size: 1.25rem; color: var(--muted); max-width: 60ch; margin: 0 0 var(--s5); line-height: 1.5; }
.hib-byline { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 26px; margin-bottom: var(--s5); padding: 14px 0; border-block: 1px solid var(--line); }
.hib-byline__person { display: flex; align-items: center; gap: 10px; }
.hib-byline__avatar { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; font: 700 .85rem var(--font-ui); flex: none; }
.hib-byline__avatar--check { background: var(--accent-text); }
.hib-byline p { margin: 0; font-size: .95rem; line-height: 1.3; }
.hib-byline__role { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); }
.hib-byline a { color: var(--ink) !important; font-weight: 600; text-decoration: none; }
.hib-byline a:hover { text-decoration: underline; }
.hib-byline__dates { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--subtle); font-size: .85rem !important; margin-left: auto !important; }
@media (max-width: 640px) { .hib-byline__dates { margin-left: 0 !important; width: 100%; } }
.guide__badges { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.method-badge, .disclosure { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 14px 16px; border-radius: var(--r); font-size: .88rem; line-height: 1.5; }
.method-badge { background: #EEF2FF; color: #1E3A8A; border: 1px solid #C7D2FE; }
.method-badge[data-method="tested"], .method-badge[data-method="mixed"] { background: var(--good-bg); color: #14532D; border-color: #BBF7D0; }
.method-badge .icon, .disclosure .icon { margin-top: 2px; }
.method-badge a, .disclosure a { color: inherit !important; font-weight: 600; }
.disclosure { background: var(--sand); color: #713F12; border: 1px solid #F5E1B8; }
@media (max-width: 720px) { .guide__badges { grid-template-columns: 1fr; } .guide__dek { font-size: 1.1rem; } }

.guide__layout { max-width: 1240px; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: var(--s7); padding-top: var(--s5); padding-bottom: var(--s7); }
.guide__layout--single { grid-template-columns: minmax(0, 1fr); max-width: 1040px; }
.guide__layout--single .guide__aside { position: static; }
.guide__aside { position: sticky; top: 96px; align-self: start; display: grid; gap: 16px; }
.admin-bar .guide__aside { top: 128px; }
.guide__body { min-width: 0; max-width: 760px; }
.guide--compare .guide__body { max-width: none; }
.guide__hero-img { margin: 0 0 var(--s5); border-radius: var(--r-lg); overflow: hidden; background: var(--p-tint); }

.toc { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 6px; }
.toc summary { cursor: pointer; font-weight: 700; padding: 10px 12px; font-size: .9rem; list-style: none; display: flex; align-items: center; gap: 8px; color: var(--ink); }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { list-style: none; counter-reset: toc; margin: 0; padding: 0 6px 8px; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 7px 8px; border-radius: 8px; font-size: .88rem; line-height: 1.35; color: var(--muted) !important; text-decoration: none; border-left: 3px solid transparent; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-weight: 700; font-size: .75rem; color: var(--subtle); padding-top: 1px; }
.toc a:hover { background: var(--canvas); color: var(--ink) !important; }
.toc a.is-active { color: var(--ink) !important; background: var(--p-tint); border-left-color: var(--p); font-weight: 600; }
.toc a.is-active::before { color: var(--p-deep); }
.guide__layout--single .toc ol { display: flex; flex-wrap: wrap; gap: 6px; }
.guide__layout--single .toc a { border: 1px solid var(--line); border-radius: var(--r-pill); }
.aside-card { background: var(--canvas); border-radius: var(--r); padding: 16px; font-size: .88rem; color: var(--muted); }
.aside-card__h { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); margin: 0 0 6px; }
.aside-card p { margin: 0 0 10px; }
@media (max-width: 960px) {
	.guide__layout { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
	.guide__aside { position: static; }
	.aside-card { display: none; }
	.toc:not([open]) { padding: 0; }
}

/* Long-form content */
.prose { font-size: var(--fs-base); line-height: 1.75; color: var(--text); }
.prose > * { margin-block: 0 1.15em; }
.prose h2 { margin: 2.2em 0 .6em; padding-top: .9em; border-top: 1px solid var(--line); scroll-margin-top: 110px; position: relative; }
.prose h2::before { content: ""; position: absolute; left: 0; top: -1px; width: 56px; height: 3px; background: var(--p); }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.8em 0 .5em; scroll-margin-top: 110px; }
.prose h4 { font-family: var(--font-ui); font-size: 1rem; font-weight: 700; margin: 1.5em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--p); font-weight: 700; }
.prose a { color: var(--link); font-weight: 500; }
.prose strong { color: var(--ink); }
.prose blockquote { margin-left: 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--accent); font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); }
.prose figure, .prose .wp-block-image { margin-inline: 0; }
.prose img { border-radius: var(--r); }
.prose figcaption { font-size: .85rem; color: var(--subtle); text-align: center; margin-top: 6px; }
.prose .lead { font-size: 1.25rem; line-height: 1.6; color: var(--ink); }
.prose .closing { font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); border-top: 1px solid var(--line); padding-top: 1em; }
.prose .editor-note { background: #FEF3C7; border: 1px dashed #D97706; border-radius: var(--r-sm); padding: 10px 14px; font-size: .9rem; color: #78350F; }
/* Product images inside guide content sit on a soft panel so cut-outs look consistent */
.prose > .wp-block-image img, .prose p > img, .prose h3 + p img, .prose .hib-product__img img { background: #fff; }
.prose h3 + figure, .prose h3 + .wp-block-image, .prose h3 + p:has(> img:only-child) { background: var(--canvas); border-radius: var(--r); padding: 18px; text-align: center; }
.prose h3 + figure img, .prose h3 + .wp-block-image img, .prose h3 + p img { max-height: 340px; width: auto; object-fit: contain; mix-blend-mode: multiply; background: transparent; }

/* Tables: scannable, scrollable, stacked on phones */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); margin: 1.5em 0; background: #fff; box-shadow: var(--shadow-sm); }
.table-wrap:focus-visible { outline: 3px solid var(--link); }
.prose table { width: 100%; border-collapse: collapse; font-size: .93rem; line-height: 1.5; margin: 0; border: 0; }
.prose thead th { background: var(--ink); color: #fff; text-align: left; font-weight: 600; font-size: .82rem; letter-spacing: .02em; padding: 12px 14px; border: 0; white-space: nowrap; }
.prose td { padding: 12px 14px; border: 0; border-top: 1px solid var(--line); vertical-align: top; }
.prose tbody tr:nth-child(even) td { background: #FAFAF9; }
.prose tbody tr:hover td { background: var(--p-tint); }
.prose td:first-child { font-weight: 600; color: var(--ink); min-width: 140px; }
.prose figure.wp-block-table { margin: 0; }
@media (max-width: 640px) {
	.table-wrap.is-stacked { border: 0; box-shadow: none; background: transparent; overflow: visible; }
	.is-stacked thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.is-stacked table, .is-stacked tbody, .is-stacked tr, .is-stacked td { display: block; width: 100%; }
	.is-stacked tr { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--p); border-radius: var(--r); margin-bottom: 12px; padding: 6px 0; box-shadow: var(--shadow-sm); }
	.is-stacked tbody tr:nth-child(even) td, .is-stacked tbody tr:hover td { background: transparent; }
	.is-stacked td { border: 0; padding: 6px 14px; display: grid; grid-template-columns: 38% 1fr; gap: 10px; }
	.is-stacked td::before { content: attr(data-label); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--subtle); padding-top: 3px; }
	.is-stacked td:first-child { display: block; font-family: var(--font-display); font-size: 1.1rem; padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
	.is-stacked td:first-child::before { display: none; }
}

/* Roundup patterns */
.hib-picks { background: var(--ink); color: #E5E7EB; border-radius: var(--r-lg); padding: 24px 26px; }
.hib-picks h2 { color: #fff; border: 0 !important; padding: 0 !important; margin: 0 0 12px !important; font-size: 1.4rem !important; }
.hib-picks h2::before { display: none; }
.hib-picks ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.hib-picks li { padding: 10px 0 0; border-top: 1px solid rgba(255, 255, 255, .12); margin: 0; }
.hib-picks li:first-child { border-top: 0; padding-top: 0; }
.hib-picks strong { color: var(--accent); }
.hib-picks a { color: #fff !important; text-decoration-color: var(--accent); }
.hib-product { position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; background: #fff; box-shadow: var(--shadow-sm); margin: 2em 0; }
.hib-product::before { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 4px; background: var(--p); border-radius: 0 0 4px 4px; }
.hib-product h3 { margin: 4px 0 12px !important; }
.hib-product__label { display: inline-block; margin: 0 !important; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: var(--accent); padding: 4px 10px; border-radius: var(--r-pill); }
.hib-product__img { background: var(--canvas); border-radius: var(--r); padding: 16px; text-align: center; }
.hib-product__img img { max-height: 280px; width: auto; mix-blend-mode: multiply; }
.hib-specs { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.hib-specs li { background: var(--canvas); border-radius: var(--r-sm); padding: 8px 12px; margin: 0; font-size: .9rem; }
.hib-proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 1.15em; }
.hib-pros, .hib-cons { border-radius: var(--r); padding: 14px 16px; }
.hib-pros { background: var(--good-bg); }
.hib-cons { background: var(--warn-bg); }
.hib-pros > p, .hib-cons > p { margin: 0 0 6px; }
.hib-pros strong { color: var(--good); }
.hib-cons strong { color: var(--warn); }
.hib-pros ul, .hib-cons ul { list-style: none; padding: 0; margin: 0; }
.hib-pros li, .hib-cons li { position: relative; padding-left: 24px; font-size: .93rem; }
.hib-pros li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 800; }
.hib-cons li::before { content: "–"; position: absolute; left: 2px; color: var(--warn); font-weight: 800; }
@media (max-width: 600px) { .hib-proscons { grid-template-columns: 1fr; } }
.hib-fit { font-size: .93rem; background: var(--canvas); border-radius: var(--r-sm); padding: 10px 14px; }
.hib-buy .wp-block-button__link, .prose .wp-block-button__link { background: var(--ink); color: #fff !important; border-radius: var(--r-pill); font-weight: 600; font-size: .95rem; padding: .85em 1.5em; text-decoration: none; min-height: 44px; }
.hib-buy .wp-block-button__link::after { content: " ↗"; }
.hib-buy .wp-block-button__link:hover, .prose .wp-block-button__link:hover { background: #000; }
.hib-callout { border-radius: var(--r); padding: 18px 20px; background: var(--p-tint); border-left: 4px solid var(--p); }
.hib-callout h2, .hib-callout h3 { margin-top: 0 !important; border: 0 !important; padding: 0 !important; }
.hib-callout h2::before { display: none; }
.hib-callout > :last-child { margin-bottom: 0; }
.hib-callout--tip { background: var(--sand); border-left-color: var(--accent); }
.hib-small { font-size: .85rem; color: var(--subtle); }
.hib-vs { gap: 14px !important; }
.hib-vs__col { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; border-top: 4px solid var(--p); }
.hib-vs__col:nth-child(2) { border-top-color: var(--accent); }
.prose details, .hib-faq { border: 1px solid var(--line); border-radius: var(--r); padding: 0; margin-bottom: 10px; background: #fff; }
.prose details summary { cursor: pointer; padding: 14px 44px 14px 16px; font-weight: 600; color: var(--ink); position: relative; list-style: none; }
.prose details summary::-webkit-details-marker { display: none; }
.prose details summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--p); }
.prose details[open] summary::after { content: "–"; }
.prose details > :not(summary) { padding: 0 16px; }
.prose details[open] { box-shadow: var(--shadow-sm); }

.author-box { display: flex; gap: 16px; align-items: flex-start; margin-top: var(--s7); padding: 20px; border-radius: var(--r); background: var(--canvas); }
.author-box img { border-radius: 50%; flex: none; }
.author-box p { margin: 0 0 4px; font-size: .93rem; color: var(--muted); }
.author-box__name { font-weight: 700; color: var(--ink) !important; font-size: 1rem !important; }
.report { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; padding: 16px 18px; border-radius: var(--r); border: 1px dashed var(--line-strong); font-size: .93rem; color: var(--muted); }
.report p { margin: 0; }
.report .icon { color: var(--subtle); margin-top: 3px; }

/* ==========================================================================
   8. Pages, directory, contact, search, 404
   ========================================================================== */
.page-hero { padding: var(--s7) 0 var(--s5); background: linear-gradient(180deg, #FFFBF0, #fff); position: relative; }
.page-hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--spectrum); opacity: .9; }
.page-hero h1 { margin: 0 0 12px; }
.page-hero__dek { font-size: 1.2rem; color: var(--muted); max-width: 62ch; margin: 0 0 var(--s4); }
.page-hero__meta { font-size: .85rem; color: var(--subtle); margin: 0; }
.page-article .prose { padding-block: var(--s5) var(--s6); }
.page-article .prose h2::before { background: var(--ink); }
.trust-nav { display: flex; flex-wrap: wrap; gap: 8px; padding: var(--s5) 0 var(--s7); border-top: 1px solid var(--line); }
.trust-nav a { padding: 8px 14px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); color: var(--text) !important; text-decoration: none; font-size: .88rem; font-weight: 500; }
.trust-nav a[aria-current="page"] { background: var(--ink); color: #fff !important; border-color: var(--ink); }

.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s4); }
.jump a { display: inline-flex; align-items: center; padding: 7px 13px; border-radius: var(--r-pill); background: var(--p-tint); color: var(--p-deep) !important; text-decoration: none; font-size: .85rem; font-weight: 600; }
.jump a:hover { background: var(--p); color: #fff !important; }
.jump a:hover .dot { background: #fff; }
.directory { padding-block: var(--s5) var(--s8); display: grid; gap: var(--s5); }
.directory__area { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); scroll-margin-top: 100px; }
.directory__head { display: flex; gap: 16px; align-items: center; padding: 20px 22px; background: var(--p); color: #fff; }
.directory__head .chip-icon { background: rgba(255, 255, 255, .2); }
.directory__head h2 { margin: 0 0 2px; font-size: 1.5rem !important; }
.directory__head h2 a { color: #fff !important; text-decoration: none; }
.directory__head h2 a:hover { text-decoration: underline; }
.directory__head p { margin: 0; color: rgba(255, 255, 255, .9); font-size: .93rem; }
.directory__list { list-style: none; margin: 0; padding: 10px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 6px; counter-reset: dir var(--start, 0); }
.directory__list a { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 12px 14px; border-radius: 10px; text-decoration: none; height: 100%; }
.directory__list a:hover { background: var(--p-tint); }
.directory__name { font-weight: 700; color: var(--ink); }
.directory__desc { grid-column: 1 / -1; font-size: .87rem; color: var(--muted); line-height: 1.45; }
.directory__count { grid-row: 1; grid-column: 2; font-size: .75rem; font-weight: 700; color: var(--p-deep); align-self: center; white-space: nowrap; }

.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: var(--s7); padding-block: var(--s5) var(--s8); align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow); position: sticky; top: 100px; }
.form__title { font-size: 1.35rem !important; margin: 0 0 16px; }
.form__row { margin-bottom: 16px; }
.form label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.form input[type="text"], .form input[type="email"], .form input[type="url"], .form select, .form textarea { width: 100%; border: 1.5px solid var(--line-strong) !important; border-radius: 10px !important; padding: 11px 13px !important; font: inherit; font-size: 1rem; background: #fff !important; color: var(--ink) !important; min-height: 46px; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--link) !important; outline: 3px solid rgba(29, 78, 216, .2); outline-offset: 0; }
.form input:user-invalid, .form textarea:user-invalid { border-color: var(--warn) !important; }
.form__hint { font-size: .8rem; color: var(--subtle); margin: 6px 0 0; }
.form__hp { position: absolute; left: -9999px; }
.notice { padding: 12px 14px; border-radius: 10px; font-size: .92rem; margin: 0 0 16px; }
.notice--success { background: var(--good-bg); color: #14532D; border: 1px solid #BBF7D0; }
.notice--error { background: var(--warn-bg); color: #7A271A; border: 1px solid #FECDCA; }

.page-hero .hib-search { margin-bottom: 12px; }
.cat-matches { margin-bottom: var(--s6); }
.cat-matches ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cat-matches a { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: var(--r-pill); background: var(--p-tint); color: var(--p-deep) !important; text-decoration: none; font-weight: 600; font-size: .9rem; }

.not-found { padding: var(--s8) 0; text-align: center; }
.not-found__code { font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem, 3rem + 10vw, 9rem); line-height: 1; margin: 0; background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; }
.not-found h1 { margin: 8px 0 12px; }
.not-found .page-hero__dek { margin-inline: auto; }
.not-found .hib-search { margin: var(--s5) auto 0; text-align: left; }
.not-found__areas { list-style: none; padding: 0; margin: var(--s7) auto 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 10px; text-align: left; max-width: 1000px; }
.not-found__areas a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--r); border: 1px solid var(--line); text-decoration: none; color: var(--ink) !important; font-weight: 600; }
.not-found__areas a:hover { background: var(--p-tint, var(--canvas)); border-color: var(--p, var(--ink)); }
.not-found__areas li:last-child .chip-icon { background: var(--ink); }

/* ==========================================================================
   9. Footer
   ========================================================================== */
.hib .site-footer { background: var(--ink); }
.hib-footer { background: var(--ink); color: #D1D5DB; position: relative; }
.hib-footer::before { content: ""; display: block; height: 6px; background: var(--spectrum); }
.hib-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s7); padding: var(--s8) 0 var(--s7); }
.hib-footer__brand p { font-size: .95rem; margin: 14px 0 0; max-width: 40ch; color: #D1D5DB; }
.hib-footer__disclosure { font-size: .85rem !important; color: #9CA3AF !important; }
.hib-footer a { color: #fff !important; text-decoration: none; }
.hib-footer a:hover { color: var(--accent) !important; text-decoration: underline; }
.hib-footer__h { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.hib-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .93rem; }
.hib-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 20px 0 28px; }
.hib-footer__bottom p { margin: 0; font-size: .8rem; color: #9CA3AF; }
@media (max-width: 800px) { .hib-footer__top { grid-template-columns: 1fr 1fr; } .hib-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .hib-footer__top { grid-template-columns: 1fr; gap: var(--s5); } }

/* ==========================================================================
   10. Motion & print
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
	.card:hover, .pillar-card:hover, .subcat:hover, .btn:hover { transform: none; }
}
html { scroll-behavior: smooth; }
@media print {
	.site-header, .hib-footer, .guide__aside, .report, .section--tint, .disclosure { display: none !important; }
	.guide__layout { display: block; }
}


/* -------------------------------------------------------------------------
   Text-only cards (no featured images, 2026-11-12)
   ------------------------------------------------------------------------- */
.card { border-top: 3px solid var(--brand); border-radius: var(--r-sm); }
.card:hover { border-color: var(--line); border-top-color: var(--accent); }
.card .thumb { display: none; }
.card__body { padding: 20px 22px 18px; gap: 0; }
.card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 12px; }
.card__cat { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); margin: 0; }
.card__kind { flex: none; font-size: .72rem; font-weight: 700; color: var(--accent-text); background: color-mix(in srgb, var(--accent) 12%, #fff); border-radius: var(--r-pill); padding: 3px 10px; }
.card__title { font-size: 1.22rem !important; line-height: 1.28 !important; margin: 0 0 10px; }
.card:hover .card__title a { text-decoration-color: var(--accent); }
.card__excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0 0 16px; }
.card__meta { justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); }
.card__more { font-weight: 700; color: var(--brand); }
.card:hover .card__more { color: var(--accent-text); }
.card--row { flex-direction: column; }
.card--row .card__excerpt { -webkit-line-clamp: 2; }
.card--feature { background: color-mix(in srgb, var(--brand) 5%, #fff); }
.card--feature .card__body { padding: 28px 30px 24px; }
.card--feature .card__excerpt { -webkit-line-clamp: 5; font-size: 1.02rem; }
@media (max-width: 640px) {
	.card--row .card__excerpt { display: -webkit-box; }
	.card__body, .card--feature .card__body { padding: 18px; }
}


/* Colored cards with white text (2026-11-12) */
.card { background: var(--brand); border: 0; border-top: 4px solid var(--brand); box-shadow: var(--shadow-sm); }
.card--guide { background: #1E4A7A; border-top-color: #1E4A7A; }
.card:hover { border-top-color: var(--accent); box-shadow: var(--shadow); }
.card--feature { background: var(--brand); }
.card__cat { color: #F6B17A; }
.card__kind { color: #fff; background: var(--accent); }
.card--guide .card__kind { background: rgba(255, 255, 255, .16); }
.card__title a { color: #fff !important; }
.card:hover .card__title a { text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.card__excerpt { color: rgba(255, 255, 255, .82); }
.card__meta { color: rgba(255, 255, 255, .68); border-top-color: rgba(255, 255, 255, .16); }
.card__more { color: #F6B17A; }
.card:hover .card__more { color: #fff; }
.card:focus-within { box-shadow: 0 0 0 3px var(--accent); }


/* Review articles: product headings, orange rule + orange number square (2026-11-12) */
.entry-content .pick-head { display: flex; align-items: flex-start; gap: 14px; margin: 2.6em 0 .6em; padding-top: 1.4em; border-top: 2px solid var(--accent); }
.entry-content .pick-head__num { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--accent-text); color: #fff; font: 700 1.2rem/40px var(--font-display); text-align: center; }
.entry-content h3.pick-title { margin: 0; padding-top: 1px; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 1.15rem + 1vw, 1.75rem); line-height: 1.2; color: var(--ink); }@media (max-width: 640px) {
	.entry-content .pick-head { gap: 12px; }
	.entry-content .pick-head__num { width: 34px; height: 34px; line-height: 34px; font-size: 1.05rem; border-radius: 8px; }
}


/* ==========================================================================
   11. Guide sidebar: top pick, table of contents, research note (sticky)
   ========================================================================== */
.guide__header .wrap { max-width: 1240px; }
.guide__header .wrap > * { max-width: 800px; }
.guide__badges { grid-template-columns: 1fr; }
.disclosure { padding: 10px 14px; align-items: center; }
.disclosure a { text-decoration: none; }
.disclosure a:hover { text-decoration: underline; }
.guide__layout { max-width: 1240px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; padding-top: var(--s5); padding-bottom: var(--s8); align-items: start; }
.guide__body { min-width: 0; max-width: 800px; }
.guide__aside { position: sticky; top: 96px; align-self: start; display: grid; gap: 14px; max-height: calc(100vh - 112px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 4px 8px 12px 4px; margin: -4px -8px 0 -4px; }
.admin-bar .guide__aside { top: 128px; max-height: calc(100vh - 144px); }
.top-pick { background: #fff; border: 2px solid var(--ink); border-radius: var(--r-lg); padding: 18px; box-shadow: 5px 5px 0 var(--accent); }
.top-pick__label { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 12px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--ink); color: #fff; padding: 5px 11px; border-radius: var(--r-pill); }
.top-pick__label svg { width: 14px; height: 14px; color: var(--accent); }
.top-pick__media { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px; margin: 0 0 12px; }
.top-pick__media img { display: block; width: 100%; height: 150px; object-fit: contain; }
.top-pick__title { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; line-height: 1.3; color: var(--ink); margin: 0 0 14px; }
.top-pick__btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; padding: 12px 16px; border-radius: var(--r-pill); background: var(--accent); border: 1px solid #E0A82E; color: var(--ink) !important; font: 700 .98rem/1.1 var(--font-ui); text-decoration: none !important; transition: background-color .15s ease, transform .15s ease; }
.top-pick__btn:hover { background: #F5B300; transform: translateY(-1px); }
.top-pick__btn svg { width: 16px; height: 16px; }
.top-pick__note { margin: 8px 0 0; font-size: .75rem; color: var(--subtle); text-align: center; }
.guide__aside .toc { margin: 0; }
.guide__aside .method-badge { margin: 0; font-size: .84rem; }
@media (max-width: 1024px) {
	.guide__layout { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: var(--s4); }
	.guide__aside { position: static; max-height: none; overflow: visible; order: -1; margin: 0; padding: 0; }
	.guide__body { max-width: none; }
	.top-pick { display: grid; grid-template-columns: 96px 1fr; gap: 4px 14px; align-items: center; }
	.top-pick__label { grid-column: 1 / -1; justify-self: start; }
	.top-pick__media { grid-row: span 2; margin: 0; padding: 6px; }
	.top-pick__media img { height: 84px; }
	.top-pick__title { margin: 0; font-size: 1rem; }
	.top-pick__btn { grid-column: 2; min-height: 44px; font-size: .9rem; }
	.top-pick__note { grid-column: 1 / -1; }
}

/* Sidebar fit: compact so it fits most screens; hidden scrollbar when it doesn't. */
@media (min-width: 1025px) {
	.guide__aside { gap: 12px; scrollbar-width: none; }
	.guide__aside::-webkit-scrollbar { display: none; }
	.top-pick { padding: 16px; }
	.top-pick__label { margin-bottom: 10px; }
	.top-pick__media { padding: 8px; margin-bottom: 10px; }
	.top-pick__media img { height: 112px; }
	.top-pick__title { font-size: 1.02rem; margin-bottom: 12px; }
	.top-pick__btn { min-height: 44px; }
	.guide__aside .toc summary { padding: 8px 10px; }
	.guide__aside .toc a { padding: 5px 8px; font-size: .85rem; }
	.guide__aside .method-badge { padding: 12px 14px; font-size: .8rem; }
}
@media (min-width: 1025px) and (max-height: 760px) {
	.top-pick__media { display: none; }
}

/* Full-width guide hero: title, meta and disclosure span the article column + sidebar. */
.guide__header .wrap { max-width: 1240px; }
.guide__header .wrap > * { max-width: none; }
.guide__header .guide__title { max-width: none; font-size: clamp(2rem, 1.3rem + 2.4vw, 3.4rem) !important; }
.guide__header .hib-byline { width: 100%; }
.guide__header .guide__badges { display: block; width: 100%; }
.guide__header .disclosure { width: 100%; box-sizing: border-box; }

/* Guide polish: thinner area line, slightly smaller title, flipped buy button, no box offset. */
.guide__header::before { height: 3px; }
.guide__header .guide__title { font-size: clamp(1.9rem, 1.25rem + 2.15vw, 3.05rem) !important; }
.top-pick { box-shadow: none; }
.top-pick__btn { background: var(--accent); border-color: var(--accent); color: #fff !important; }
.top-pick__btn:hover { background: var(--accent-text); border-color: var(--accent-text); }

/* Mega menu fix for GeneratePress "click" dropdowns (toggled-on + floated sub-menus). */
@media (min-width: 769px) {
	.hib .main-navigation li.mega-menu > ul.sub-menu,
	.dropdown-click .hib .main-navigation li.mega-menu.sfHover > ul.sub-menu.toggled-on,
	.hib.dropdown-click .main-navigation li.mega-menu.sfHover > ul.sub-menu.toggled-on {
		display: grid !important; left: 20px !important; right: 20px !important; width: auto !important;
		float: none !important; opacity: 1; visibility: visible; height: auto;
	}
	.hib .main-navigation li.mega-menu:not(.sfHover) > ul.sub-menu { display: none !important; }
	.hib .main-navigation li.mega-menu > ul.sub-menu > li { float: none !important; width: auto !important; display: block; }
	.hib .main-navigation li.mega-menu ul ul {
		float: none !important; display: block !important; visibility: visible !important; opacity: 1 !important;
		position: static !important; left: auto !important; width: auto !important; height: auto !important;
	}
}

/* Homepage hero: plain "work" (no highlight bar). */
.hero__title em { background: none !important; padding: 0; }

/* Blog area card + blog pages use the same navy as the other areas. */
[data-pillar="blog"] { --p: #1E4A7A; --p-tint: color-mix(in srgb, #1E4A7A 9%, #fff); --p-tint-2: color-mix(in srgb, #1E4A7A 18%, #fff); --p-deep: color-mix(in srgb, #1E4A7A 78%, #000); }

/* Top Picks card in Browse by area: brand navy header, star in accent yellow. */
[data-pillar="picks"] { --p: #1E4A7A; --p-tint: color-mix(in srgb, #1E4A7A 9%, #fff); --p-tint-2: color-mix(in srgb, #1E4A7A 18%, #fff); --p-deep: color-mix(in srgb, #1E4A7A 78%, #000); }
.pillar-card--picks .chip-icon { color: #F5B300; }

/* ==========================================================================
   12. Authors: hero photos, Edited-by box, related posts, About people
   ========================================================================== */
.hib-byline__avatar--img { object-fit: cover; padding: 0; background: #E5E7EB; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
/* PublishPress author box: hide the email icon. */
.pp-multiple-authors-boxes-wrapper .ppma-author-user_email-profile-data,
.pp-multiple-authors-boxes-wrapper a[href^="mailto:"] { display: none !important; }
.hib-editor-box { display: flex; gap: 22px; align-items: flex-start; margin: 18px 0 0; padding: 26px; border: 1px solid var(--line-strong); background: #fff; }
.hib-editor-box__img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex: none; }
.hib-editor-box__role { margin: 0 0 2px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); }
.hib-editor-box__name { margin: 0 0 8px; font-size: 1.35rem; line-height: 1.25; }
.hib-editor-box__name a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.hib-editor-box__bio, .hib-editor-box__bio p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.65; }
@media (max-width: 560px) { .hib-editor-box { flex-direction: column; gap: 12px; padding: 20px; } }
.hib-related { margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--line); }
.hib-related__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.hib-related__head h2 { margin: 0; font-size: 1.6rem !important; }
.hib-related__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 16px; }
.hib-related__grid .card__title { font-size: 1.05rem !important; }
.hib-people { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; margin: 1.2em 0; }
.hib-person { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.hib-person__img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex: none; margin: 0 !important; }
.hib-person__img--blank { display: block; background: var(--canvas); }
.hib-person__role { margin: 0 !important; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); }
.hib-person__name { margin: 2px 0 6px !important; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--ink); }
.hib-person__bio, .hib-person__bio p { margin: 0 !important; font-size: .95rem; line-height: 1.6; color: var(--muted); }

/* Quieter affiliate disclosure in the guide hero: small muted text, no box. */
.guide__header .disclosure { background: none !important; border: 0 !important; padding: 0 !important; margin: 0 !important; gap: 6px; font-size: .8rem !important; line-height: 1.4; color: var(--subtle) !important; }
.guide__header .disclosure .icon { width: .95em; height: .95em; margin-top: 0; opacity: .8; }
.guide__header .disclosure a, .guide__header .disclosure a strong { color: var(--subtle) !important; font-weight: 400 !important; text-decoration: none; }
.guide__header .disclosure a:hover { color: var(--muted) !important; text-decoration: underline; }

/* In-article "Check Price on Amazon" buttons (inline-styled by the generator): 2px shorter + hover (2026-11-12) */
.entry-content a[href*="amazon.com"][style*="background-color"] { padding-top: 11px !important; padding-bottom: 11px !important; transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.entry-content a[href*="amazon.com"][style*="background-color"]:hover,
.entry-content a[href*="amazon.com"][style*="background-color"]:focus-visible { background-color: var(--accent-text) !important; color: #fff !important; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(180, 84, 26, .25); }

/* Phones/tablets (sidebar stacks above the article): show only the Amazon top pick, hide TOC + research note (2026-11-12) */
@media (max-width: 1024px) {
	.guide__aside .toc,
	.guide__aside .method-badge { display: none !important; }
}

/* Article title a little smaller (2026-11-13, user request) */
.guide__header .guide__title { font-size: clamp(1.7rem, 1.15rem + 1.85vw, 2.6rem) !important; }
/* GeneratePress prints its own --accent (#1e73be) inline after this file on some optimized pages: higher specificity keeps the brand orange (2026-11-13) */
:root:root { --accent: #E8792B; }

/* Article header: no category pill under the breadcrumbs (it repeated the last crumb), tighter spacing so the article starts higher (2026-11-13) */
.guide__header .pill { display: none !important; }
.guide__header { padding-top: var(--s5); }
.guide__header .crumbs ol { margin-bottom: 6px; }
.guide__header .guide__title { margin-top: 0 !important; }

/* ==========================================================================
   Design A (2026-11-13, user choice): bigger logo, light hero with a one-line
   summary, top pick beside the title, article titles in Newsreader
   ========================================================================== */
.main-title .brand { gap: 12px; }
.main-title .brand .logo-mark { width: 46px; height: 46px; }
.main-title .brand__word { font-size: 1.6rem; }
@media (max-width: 768px) {
	.hib .main-title .brand .logo-mark { width: 38px; height: 38px; }
	.hib .main-title .brand__word { font-size: 1.32rem; }
}

.guide__hero--pick { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.guide__intro { min-width: 0; }
.guide__header .guide__title { font-family: 'Newsreader', Georgia, 'Times New Roman', serif !important; font-weight: 700; letter-spacing: -.01em; line-height: 1.12; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.75rem) !important; }
.guide__header .guide__dek { font-size: 1.06rem; line-height: 1.55; color: var(--muted); max-width: 72ch; margin: 10px 0 14px; }
.guide__header .top-pick { margin: 4px 0 0; }
.guide__header .top-pick__title { font-family: 'Newsreader', Georgia, serif; font-size: 1.15rem; }
@media (max-width: 1024px) {
	.guide__hero--pick { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.guide__header .top-pick { margin-top: 0; }
}

/* Article header spacing (2026-11-13, user request: more professional breathing room).
   Top pick lives in the sticky sidebar again, above the table of contents. */
.guide__header { padding: 44px 0 34px; }
.guide__header .crumbs ol { margin-bottom: 18px; }
.guide__header .guide__title { margin: 0 0 16px !important; max-width: 940px; }
.guide__header .guide__dek { margin: 0 0 26px; max-width: 760px; }
.guide__header .hib-byline { padding-top: 16px; padding-bottom: 16px; }
.guide__header .guide__badges { margin-top: 16px; }
.guide__layout { padding-top: 40px; }
.guide__aside .top-pick { margin: 0; }
@media (max-width: 768px) {
	.guide__header { padding: 28px 0 24px; }
	.guide__header .crumbs ol { margin-bottom: 12px; }
	.guide__header .guide__title { margin-bottom: 12px !important; }
	.guide__header .guide__dek { margin-bottom: 18px; }
	.guide__layout { padding-top: 24px; }
}

/* Article layout v3 (2026-11-13, user request): the title block sits in the content column
   and the sticky sidebar (top pick + TOC) starts level with the breadcrumbs. */
.guide { background: linear-gradient(180deg, var(--p-tint, var(--canvas)) 0, #fff 520px); }
.guide__layout { padding-top: 40px; }
.guide__body > .guide__header { background: none; padding: 0 0 30px; margin: 0 0 30px; border-bottom: 1px solid var(--line); }
.guide__body > .guide__header::before { display: none; }
.guide__body > .guide__header .guide__title { max-width: none; font-size: clamp(1.8rem, 1.2rem + 1.7vw, 2.55rem) !important; }
.guide__body > .guide__header .guide__dek { max-width: none; }
.guide__body > .guide__header .guide__badges { margin-top: 14px; }
@media (max-width: 1024px) {
	/* Phones/tablets: title first, then the top pick, then the article */
	.guide__layout { padding-top: 24px; }
	.guide__body { display: contents; }
	.guide__body > .guide__header { order: -2; margin-bottom: 0; padding-bottom: 20px; }
	.guide__aside { order: -1; }
}

/* ==========================================================================
   Header option 2 (2026-11-22, user choice): one compact row, window-house
   logo + divider + Inter wordmark, no top stripe, Search pill; Categories
   menu lists only the 7 areas
   ========================================================================== */
.hib .site-header::before { display: none; }
.hib .inside-header { padding-top: 12px; padding-bottom: 12px; }
.brand__div { width: 1px; height: 30px; background: #D1D5DB; flex: none; }
.main-title .brand { gap: 12px; }
.main-title .brand .logo-mark { width: 40px; height: 40px; }
.brand__word { font-family: var(--font-ui); font-weight: 800; letter-spacing: -.04em; color: #0F2340; }
.brand__word span { color: #E8792B; font-style: normal; font-weight: 800; padding: 0; font-feature-settings: "cv08" 1; } /* serifed I so "Is" never reads as "ls" */
.main-title .brand__word { font-size: 1.56rem; }
.hib .main-navigation .main-nav ul li a { font-weight: 700; color: #0F2340; }
.hib .main-navigation .main-nav ul ul li a { font-weight: 500; }
@media (min-width: 769px) {
	.hib #site-navigation .menu-bar-items { margin-left: 10px; }
	.hib #site-navigation .main-nav > ul > li > a .dropdown-menu-toggle { padding: 0 0 0 6px; } /* even gap after "Categories" */
	.hib #site-navigation .menu-bar-item > a { display: inline-flex; align-items: center; gap: 8px; line-height: 1; padding: 9px 16px 9px 14px; border: 1.5px solid #D1D5DB; border-radius: 999px; color: #0F2340; font-weight: 500; font-size: .9rem; }
	.hib #site-navigation .menu-bar-item > a::after { content: "Search"; color: #6B7280; }
	.hib #site-navigation .menu-bar-item > a:hover { border-color: #0F2340; }
	/* Categories: 7 area links only */
	.hib .main-navigation li.mega-menu > ul.sub-menu { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 14px; padding: 18px; }
	.hib .main-navigation li.mega-menu > ul > li.mega-pillar > a { padding: 13px 14px; }
	.hib .main-navigation li.mega-menu > ul > li.mega-all { grid-column: auto; align-self: stretch; }
	.hib .main-navigation li.mega-menu > ul > li.mega-all > a { display: flex; align-items: center; justify-content: center; height: 100%; box-sizing: border-box; }
}
@media (max-width: 768px) {
	.hib .main-title .brand { gap: 9px; }
	.hib .main-title .brand .logo-mark { width: 32px; height: 32px; }
	.hib .main-title .brand__word { font-size: 1.25rem; }
	.hib .brand__div { display: none; }
}

/* 2026-11-22 (user request): extra-bold wordmark (own 1.5 KB font face: only the wordmark letters, from the full Inter 4.1 release so cv08 works), slightly lighter article titles */
@font-face { font-family: 'Inter Wordmark'; font-style: normal; font-weight: 800; font-display: swap; src: url('/wp-content/themes/homeisbeautiful/assets/fonts/inter-wordmark-800.woff2') format('woff2'); }
.brand__word, .brand__word span { font-family: 'Inter Wordmark', var(--font-ui); font-weight: 800; }
.guide__header .guide__title { font-weight: 600 !important; }

/* Top pick on phones (2026-11-22, user request): stacked label, title, image, full-width button */
@media (max-width: 768px) {
	.top-pick { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
	.top-pick__label { order: 0; align-self: flex-start; margin: 0 0 12px; }
	.top-pick__title { order: 1; margin: 0 0 12px; font-size: 1.15rem; }
	.top-pick__media { order: 2; margin: 0 0 14px; padding: 10px; }
	.top-pick__media img { height: 180px; }
	.top-pick__btn { order: 3; width: 100%; min-height: 48px; font-size: 1rem; }
	.top-pick__note { order: 4; }
}
