@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

:root {
    /* Exact Original Brand Color Palette */
    --pine-deep: #0f241a;
    --pine-medium: #1b4332;
    --pine-light: #2d6a4f;
    --pine-accent: #40916c;
    --pine-pale: #e9f5ed;
    --copper-accent: #d97706;
    --copper-dark: #b45309;
    --copper-text: #9a4406;
    --copper-light: #f59e0b;
    --cream-bg: #FAF9F5;
    --cream-card: #f3f0e6;
    --text-dark: #1a2a20;
    --text-muted: #47564b;
    --white: #ffffff;

    /* Option A Blog Category Palette (Zero Green, WCAG AA >= 5.0:1 on #ffffff) */
    --blog-cat-study: #1d5a8a;
    --blog-cat-study-dark: #7dd3fc;
    --blog-cat-freebie: #b45309;
    --blog-cat-freebie-dark: #fcd34d;
    --blog-cat-howto: #a83232;
    --blog-cat-howto-dark: #fca5a5;

    /* High-Legibility Editorial Sans Pairing (Zero Bouncing Numerals) */
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 2px 4px rgba(15, 36, 26, 0.05);
    --shadow-md: 0 8px 16px rgba(15, 36, 26, 0.08);
    --shadow-lg: 0 16px 32px rgba(15, 36, 26, 0.12);
    --shadow-glow: 0 0 15px rgba(217, 119, 6, 0.4);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Animation Speeds */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: clip;
    width: 100%;
}

body {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--cream-bg);
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.62;
    text-align: left;
    font-kerning: normal;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    word-wrap: break-word;
}

main {
    flex: 1;
    width: 100%;
}

main [id] {
    scroll-margin-top: 108px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-variant-numeric: lining-nums;
    line-height: 1.18;
    letter-spacing: -0.024em;
    color: var(--pine-deep);
    text-wrap: balance;
}

p, li, dd, blockquote {
    text-wrap: pretty;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

:focus-visible {
    outline: 2.5px solid var(--copper-accent);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 2000;
    background: var(--pine-deep);
    color: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.skip-link:focus {
    top: 16px;
}

button, .btn {
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
    font-weight: 500;
    transition: var(--transition-normal);
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--cream-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--pine-light);
    border: 3px solid var(--cream-bg);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--pine-medium);
}

/* --- BALANCED RESPONSIVE CONTAINER --- */
.container {
    width: 100%;
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 clamp(16px, 2.8vw, 40px);
}

.section-padding {
    padding: clamp(56px, 6vw, 96px) 0;
}

.section-header {
    text-align: center;
    max-width: 58ch;
    margin: 0 auto 48px auto;
}

.section-header-split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.section-subtitle {
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--copper-text);
    font-size: 13px;
    margin-bottom: 10px;
    display: inline-block;
}

.section-title {
    font-size: clamp(28px, 3.2vw, 42px);
    color: var(--pine-deep);
    margin-bottom: 14px;
    max-inline-size: 25ch;
}

.section-header .section-title {
    margin-inline: auto;
}

.section-description {
    color: var(--text-muted);
    font-size: 17.5px;
    line-height: 1.6;
    max-inline-size: 54ch;
}

/* Glassmorphism Classes */
.glass-panel {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: var(--radius-md);
}

.glass-panel-dark {
    background: rgba(15, 36, 26, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
}

/* Exact Brand Buttons */
.btn-primary {
    background: var(--pine-medium);
    color: var(--white);
    padding: 13px 26px;
    min-height: 44px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary:hover {
    background: var(--pine-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background: var(--copper-dark);
    color: var(--white);
    padding: 13px 26px;
    min-height: 44px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    box-shadow: var(--shadow-glow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-accent:hover {
    background: var(--copper-text);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.55);
}

.btn-secondary {
    background: var(--white);
    color: var(--pine-medium);
    border: 1.5px solid var(--pine-medium);
    padding: 12px 24px;
    min-height: 44px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: var(--pine-pale);
    color: var(--pine-deep);
    transform: translateY(-2px);
}

/* --- FLOATING GLASSMORPHIC NAVIGATION (EXACT ORIGINAL BRAND HEADER) --- */
header.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition-normal);
}

header.site-header.scrolled {
    padding: 10px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: clamp(10px, 1.4vw, 20px);
    width: 100%;
    padding: 10px clamp(14px, 1.8vw, 22px);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

header.site-header.scrolled .nav-container {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow-lg);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--pine-deep);
    flex-shrink: 0;
}

.logo svg {
    fill: var(--copper-accent);
    height: 30px;
    width: 30px;
    flex-shrink: 0;
}

.logo span {
    color: var(--pine-medium);
    font-weight: 400;
    font-style: italic;
    font-size: 17.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: clamp(12px, 1.5vw, 24px);
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-dark);
    position: relative;
    padding: 8px 0;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.nav-caret {
    width: 13px;
    height: 13px;
    opacity: 0.65;
    transition: transform var(--transition-fast);
}

.nav-item:hover .nav-caret,
.nav-item:focus-within .nav-caret {
    transform: rotate(180deg);
    opacity: 1;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: -14px;
    min-width: 245px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(27, 67, 50, 0.12);
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 18px 40px rgba(15, 36, 26, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    display: flex;
    flex-direction: column;
    gap: 2px;
    z-index: 1010;
}

.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown a {
    padding: 9px 13px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--pine-deep);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.nav-dropdown a span:last-child {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-muted);
}

.nav-dropdown a:hover,
.nav-dropdown a.active {
    background: var(--pine-pale);
    color: var(--pine-medium);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--copper-accent);
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--copper-text);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-drawer-extras {
    display: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav-icon-btn {
    min-height: 42px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    background: var(--pine-pale);
    color: var(--pine-deep);
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-icon-btn:hover {
    background: var(--pine-medium);
    color: var(--white);
}

.glovebox-pill-count {
    background: var(--pine-deep);
    color: var(--copper-light);
    font-size: 12px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 50px;
}

.nav-btn-book {
    padding: 10px 18px;
    min-height: 42px;
    font-size: 14px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    gap: 5px;
    background: transparent;
    border: none;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--pine-deep);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* --- HOME HERO SECTION (EXACT ORIGINAL ATMOSPHERIC MOUNTAIN HERO) --- */
.hero {
    min-height: 86vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    padding: 140px 0 120px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--pine-deep);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15, 36, 26, 0.48) 0%,
        rgba(15, 36, 26, 0.66) 60%,
        rgba(15, 36, 26, 0.90) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-badge {
    background: rgba(217, 119, 6, 0.25);
    border: 1px solid var(--copper-light);
    color: var(--copper-light);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.12;
    max-inline-size: 20ch;
    margin: 0 auto 22px auto;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.28);
}

.hero-desc {
    font-size: clamp(16.5px, 1.5vw, 19.5px);
    font-weight: 400;
    line-height: 1.58;
    color: rgba(255, 255, 255, 0.94);
    max-inline-size: 50ch;
    margin: 0 auto 34px auto;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-ctas .btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.hero-ctas .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    color: var(--white);
}

/* Floating Quick Search Panel (Exact Original Signature Widget) */
.quick-search-wrapper {
    position: absolute;
    bottom: -52px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    padding: 0 clamp(16px, 3.2vw, 52px);
    z-index: 10;
}

.quick-search {
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.55);
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr auto;
    gap: 16px;
    align-items: end;
}

.search-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.search-field label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--pine-deep);
}

.search-field .input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-field select,
.search-field input {
    width: 100%;
    min-height: 46px;
    padding: 11px 14px 11px 40px;
    background: var(--white);
    border: 1px solid rgba(27, 67, 50, 0.2);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition-fast);
}

.search-field select:focus,
.search-field input:focus {
    background: var(--white);
    border-color: var(--pine-medium);
    box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.12);
}

.search-field svg.field-icon {
    position: absolute;
    left: 13px;
    width: 17px;
    height: 17px;
    color: var(--pine-medium);
    pointer-events: none;
}

.search-btn {
    min-height: 46px;
    padding: 0 28px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
}

.after-hero-offset {
    padding-top: 125px;
}

/* --- RICH PINE FOREST SUBPAGE / ARTICLE HERO BANNER --- */
.subpage-banner {
    position: relative;
    background-color: var(--pine-deep);
    background-image: url('/assets/hero_background.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 128px 0 52px;
}

.subpage-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15, 36, 26, 0.72) 0%,
        rgba(15, 36, 26, 0.90) 100%
    );
    z-index: 1;
}

.subpage-banner-inner {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    margin-inline: auto;
}

.subpage-meta-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.subpage-kicker-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.12);
    color: var(--copper-light);
    border: 1px solid rgba(252, 211, 77, 0.35);
}

.subpage-banner h1 {
    color: var(--white);
    font-size: clamp(32px, 3.6vw, 46px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.14;
    max-inline-size: 30ch;
    margin: 0 0 14px;
}

.subpage-banner p {
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(18px, 1.2vw, 19.5px);
    font-weight: 400;
    line-height: 1.58;
    max-inline-size: 60ch;
    margin: 0;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.breadcrumbs a {
    color: var(--copper-light);
    font-weight: 600;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* --- FULL-WIDTH CARDS & GRIDS (EXACT ORIGINAL .class-card / .guide-card / .amenity-card) --- */
.bg-white {
    background: var(--white);
}

.bg-cream {
    background: var(--cream-bg);
}

.classes-grid,
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 26px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(430px, 1fr));
    gap: 26px;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.class-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid rgba(27, 67, 50, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 26px;
}

.bg-white .class-card {
    background: var(--cream-bg);
}

.bg-white .class-card:hover {
    background: var(--white);
}

.class-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(27, 67, 50, 0.22);
}

.card-badge-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.site-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 11px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    background: var(--pine-pale);
    color: var(--pine-medium);
}

.site-badge.copper {
    background: #fef3c7;
    color: #92400e;
}

.site-badge.dark {
    background: var(--pine-deep);
    color: var(--copper-light);
}

.site-badge.alert {
    background: #fee2e2;
    color: #991b1b;
}

.class-title {
    font-size: 22px;
    color: var(--pine-deep);
    margin-bottom: 10px;
}

.class-desc {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.62;
    margin-bottom: 18px;
    flex-grow: 1;
}

.class-meta-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid rgba(27, 67, 50, 0.08);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--pine-medium);
}

.class-meta-cta {
    color: var(--copper-text);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

/* Amenity-Style Pillar Cards */
.amenity-card {
    padding: 28px;
    border-radius: var(--radius-md);
    background: var(--cream-bg);
    transition: var(--transition-normal);
    border: 1px solid rgba(27, 67, 50, 0.07);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.amenity-card:hover {
    background: var(--white);
    border-color: var(--pine-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.amenity-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--white);
    color: var(--pine-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.amenity-card:hover .amenity-icon {
    background: var(--pine-medium);
    color: var(--white);
}

/* --- 50-STATE INTERACTIVE ATLAS MATRIX --- */
.state-stamp-grid {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 10px;
}

.state-tile {
    background: var(--white);
    border: 1px solid rgba(27, 67, 50, 0.12);
    border-radius: var(--radius-sm);
    padding: 12px 6px;
    min-height: 62px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.state-tile:hover {
    background: var(--pine-deep);
    border-color: var(--copper-accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.state-tile .abbr {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--pine-deep);
    line-height: 1.1;
}

.state-tile .sname {
    font-size: 11.5px;
    color: var(--text-muted);
    margin-top: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.state-tile:hover .abbr {
    color: var(--copper-light);
}

.state-tile:hover .sname {
    color: rgba(255, 255, 255, 0.85);
}

/* --- HUB FILTER BAR --- */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(27, 67, 50, 0.08);
}

.filter-pills-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.filter-btn {
    min-height: 42px;
    padding: 8px 16px;
    border-radius: 50px;
    background: var(--cream-bg);
    color: var(--text-dark);
    border: 1px solid rgba(27, 67, 50, 0.12);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--pine-medium);
    border-color: var(--pine-medium);
    color: var(--white);
}

.filter-search-inline {
    min-height: 44px;
    min-width: 250px;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(27, 67, 50, 0.2);
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-dark);
    background: var(--cream-bg);
}

/* --- EDITORIAL 2-COLUMN ENTRY / GUIDE LAYOUT + 300px STICKY RAIL --- */
.entry-wrap {
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: clamp(24px, 3vw, 36px);
    padding: 36px 0 80px;
    align-items: start;
}

.entry-article {
    width: 100%;
    min-width: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: clamp(26px, 3.6vw, 46px) clamp(22px, 3.8vw, 48px);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(27, 67, 50, 0.08);
}

/* Standalone Hub Bottom Article Cards (Tables + FAQs without right sidebar) */
:not(.entry-wrap) > .entry-article {
    max-width: 1040px;
    margin-inline: auto;
}

/* Answer-First Summary Box Below H1 — Calibrated to ~65 CPL in Inter */
.answer-first-box {
    background: var(--pine-pale);
    border-left: 4px solid var(--pine-medium);
    padding: 22px 26px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 0 0 30px;
    max-inline-size: 58ch;
    font-size: clamp(18px, 1.15vw, 19px);
    line-height: 1.65;
    text-align: left;
    color: var(--pine-deep);
}

/* Minimal Single-Row Editorial Byline & Utility Bar */
.entry-action-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding: 0 0 18px;
    background: transparent;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(15, 36, 26, 0.1);
    margin-bottom: 26px;
    font-size: 15.5px;
    color: #47584d;
}

.entry-byline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 15.5px;
    line-height: 1.45;
    color: #47584d;
}

.entry-byline a {
    font-weight: 700;
    color: var(--pine-deep);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.entry-byline .byline-sep {
    color: #94a399;
}

.action-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.action-chip-btn {
    min-height: 36px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #f6f7f3;
    border: 1px solid rgba(15, 36, 26, 0.14);
    color: #1f3328;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.action-chip-btn:hover,
.action-chip-btn.saved {
    background: var(--pine-medium);
    border-color: var(--pine-medium);
    color: var(--white);
}

.entry-article h2 {
    font-size: clamp(25px, 2.4vw, 30px);
    font-weight: 800;
    letter-spacing: -0.022em;
    line-height: 1.2;
    max-inline-size: 30ch;
    color: var(--pine-deep);
    margin: 48px 0 16px;
    padding: 2px 0 2px 15px;
    border-top: none;
    border-left: 4px solid var(--copper-accent);
}

.entry-article h2:first-of-type {
    padding-top: 2px;
    margin-top: 26px;
}

.section-chapter-kicker + h2 {
    margin-top: 2px;
}

.entry-article h3 {
    font-size: clamp(20px, 1.8vw, 23px);
    font-weight: 700;
    letter-spacing: -0.018em;
    line-height: 1.28;
    max-inline-size: 36ch;
    color: var(--pine-deep);
    margin: 28px 0 10px;
}

.entry-article p {
    margin: 0 0 1.25em;
    max-inline-size: 56ch;
    color: #16241c;
    font-size: clamp(18px, 1.18vw, 19.25px);
    line-height: 1.68;
    text-align: left;
}

.entry-article > ul:not([class]),
.entry-article > ol:not([class]) {
    max-inline-size: 56ch;
    padding-inline-start: 1.45em;
    margin: 0 0 1.45em;
    display: grid;
    gap: 0.65em;
}

.entry-article > ul:not([class]) li,
.entry-article > ol:not([class]) li {
    font-size: clamp(18px, 1.15vw, 19px);
    line-height: 1.65;
    color: #16241c;
    padding-inline-start: 0.2em;
}

.entry-article > ul:not([class]) li::marker,
.entry-article > ol:not([class]) li::marker {
    color: var(--copper-text);
    font-weight: 700;
}

/* Scorecard & Spec Bars */
.scorecard-box {
    background: var(--cream-bg);
    border: 1px solid rgba(27, 67, 50, 0.1);
    border-radius: var(--radius-md);
    padding: 24px;
    margin: 24px 0 30px;
}

.scorecard-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 18px;
}

.score-meter-label {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
    color: var(--pine-deep);
}

.score-bar-track {
    height: 10px;
    background: rgba(27, 67, 50, 0.12);
    border-radius: 50px;
    overflow: hidden;
}

.score-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--pine-medium), var(--copper-accent));
    border-radius: 50px;
}

/* Callouts */
.callout-box {
    border-left: 4px solid var(--pine-medium);
    background: var(--cream-bg);
    padding: 20px 24px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 26px 0;
    max-inline-size: 58ch;
}

.callout-box#official-safety {
    max-inline-size: 100%;
}

.callout-box p,
.callout-box li {
    max-inline-size: 54ch;
    font-size: 17.5px;
    line-height: 1.62;
}

.callout-box.warning {
    border-left-color: var(--copper-accent);
    background: #fffbeb;
}

.callout-box.green {
    border-left-color: var(--pine-accent);
    background: var(--pine-pale);
}

.callout-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--copper-text);
    margin-bottom: 8px;
}

.callout-box.green .callout-title {
    color: var(--pine-medium);
}

/* Good vs Ugly Split Ledger */
.split-ledger {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin: 24px 0;
}

.ledger-col {
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid rgba(27, 67, 50, 0.1);
    background: var(--cream-bg);
}

.ledger-col.good {
    background: var(--pine-pale);
    border-color: rgba(45, 106, 79, 0.25);
}

.ledger-col.ugly {
    background: #fff7ed;
    border-color: rgba(217, 119, 6, 0.28);
}

.ledger-col h3 {
    margin-top: 0;
    margin-bottom: 14px;
}

.ledger-col ul {
    padding-left: 20px;
    display: grid;
    gap: 10px;
    font-size: 17px;
    line-height: 1.6;
}

/* Step Cards & Checklists */
.step-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin: 22px 0;
}

.step-list.single-col {
    grid-template-columns: 1fr;
    max-inline-size: 60ch;
}

.step-card {
    background: var(--cream-bg);
    border-radius: var(--radius-md);
    padding: 24px 26px;
    border: 1px solid rgba(27, 67, 50, 0.09);
}

.step-card p {
    max-inline-size: 54ch;
    font-size: 17.5px;
    line-height: 1.62;
}

.step-kicker {
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--copper-text);
    display: block;
    margin-bottom: 6px;
}

.checklist-cards {
    list-style: none;
    display: grid;
    gap: 12px;
    margin: 20px 0;
    max-inline-size: 60ch;
}

.checklist-cards li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--cream-bg);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    border: 1px solid rgba(27, 67, 50, 0.09);
    font-size: 17.5px;
    line-height: 1.6;
}

.checklist-cards li span {
    max-inline-size: 52ch;
}

.checklist-cards input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    accent-color: var(--pine-medium);
    cursor: pointer;
    flex-shrink: 0;
}

/* Reference Matrix Semantic Tables */
.table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 22px 0 28px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(27, 67, 50, 0.12);
}

.comp-table {
    width: 100%;
    min-width: 540px;
    border-collapse: collapse;
    background: var(--white);
    font-size: 16.5px;
    line-height: 1.56;
}

.comp-table th,
.comp-table td {
    padding: 15px 18px;
    text-align: left;
    border-bottom: 1px solid rgba(27, 67, 50, 0.08);
    vertical-align: top;
    max-inline-size: 56ch;
}

.comp-table tbody tr:nth-child(even) td {
    background: rgba(243, 247, 244, 0.52);
}

.comp-table th {
    background: var(--pine-deep);
    color: var(--white);
    font-size: 13.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.comp-table tr:last-child td {
    border-bottom: none;
}

/* Semantic <details> FAQs */
.faq-stack {
    display: grid;
    gap: 14px;
    margin: 22px 0;
    max-inline-size: 60ch;
}

details.faq-item {
    background: var(--cream-bg);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(27, 67, 50, 0.1);
    padding: 18px 24px;
}

details.faq-item summary {
    font-weight: 700;
    font-size: 18.5px;
    line-height: 1.44;
    color: var(--pine-deep);
    cursor: pointer;
    padding: 4px 0;
}

details.faq-item p {
    margin: 12px 0 0;
    max-inline-size: 54ch;
    font-size: 18px;
    line-height: 1.64;
    color: #16241c;
}

/* Sticky 320px Right Sidebar Rail */
.entry-sidebar {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 22px;
}

.rail-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(27, 67, 50, 0.08);
}

.rail-title {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: var(--copper-text);
    padding-bottom: 10px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(27, 67, 50, 0.08);
}

.toc-list,
.rail-links {
    list-style: none;
    display: grid;
    gap: 10px;
}

.toc-list a {
    display: block;
    font-size: 15.5px;
    font-weight: 500;
    color: #3d4f44;
    padding: 4px 0;
}

.toc-list a:hover {
    color: var(--copper-text);
    padding-left: 4px;
}

.rail-links a {
    display: block;
    font-size: 15.5px;
    font-weight: 600;
    color: var(--pine-deep);
    line-height: 1.42;
}

.rail-links a:hover {
    color: var(--copper-text);
}

.rail-links span {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.rabbit-hole-box {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid rgba(27, 67, 50, 0.12);
}

/* --- INSTANT SEARCH MODAL --- */
.search-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 36, 26, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1200;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 8vh 16px 20px;
}

.search-modal-backdrop.open {
    display: flex;
}

.search-modal {
    width: 100%;
    max-width: 760px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.search-modal-top {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--cream-bg);
    border-bottom: 1px solid rgba(27, 67, 50, 0.1);
}

.search-modal-top input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 16.5px;
    color: var(--text-dark);
    outline: none;
}

.search-close-btn {
    min-height: 38px;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    background: var(--pine-pale);
    color: var(--pine-deep);
    font-weight: 700;
    font-size: 12px;
}

.search-results-list {
    max-height: 64vh;
    overflow-y: auto;
    padding: 12px;
    display: grid;
    gap: 6px;
}

.search-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
}

.search-result-item:hover {
    background: var(--pine-pale);
}

.search-result-item strong {
    display: block;
    color: var(--pine-deep);
    font-size: 15.5px;
}

.search-result-item small {
    color: var(--text-muted);
    font-size: 13.5px;
}

/* --- EXACT ORIGINAL DARK PINE FOOTER --- */
footer.site-footer {
    width: 100%;
    background-color: var(--pine-deep);
    color: rgba(255, 255, 255, 0.85);
    padding: 76px 0 32px 0;
    border-top: 4px solid var(--copper-accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 0.9fr 1fr;
    gap: 40px;
    margin-bottom: 52px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 22px;
}

.footer-about .logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-about .logo svg {
    fill: var(--copper-light);
}

.footer-about .logo span {
    color: rgba(255, 255, 255, 0.72);
}

.footer-about p {
    font-size: 14.5px;
    line-height: 1.7;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.78);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-links a {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.78);
}

.footer-links a:hover {
    color: var(--copper-light);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.65);
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.72);
}

.footer-bottom-links a:hover {
    color: var(--copper-light);
}

.print-watermark {
    display: none;
}

/* --- RESPONSIVE MEDIA QUERIES (DESKTOP -> TABLET -> PHONE) --- */
@media (max-width: 1120px) {
    .entry-wrap {
        grid-template-columns: 1fr;
    }
    .entry-sidebar {
        position: static;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .quick-search {
        grid-template-columns: repeat(2, 1fr);
    }
    .quick-search .search-btn {
        grid-column: span 2;
        width: 100%;
    }
    .state-stamp-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1240px) {
    .nav-menu {
        gap: 12px;
    }
    .nav-link {
        font-size: 14px;
    }
    .nav-icon-btn span {
        display: none;
    }
    .nav-icon-btn {
        padding: 8px 11px;
    }
    .logo {
        font-size: 18.5px;
    }
    .logo span {
        font-size: 16px;
    }
    .nav-btn-book {
        padding: 9px 14px;
        font-size: 13.5px;
    }
}

@media (max-width: 1040px) {
    .nav-container {
        padding: 8px 16px;
    }
    .logo {
        font-size: 18px;
    }
    .logo svg {
        height: 26px;
        width: 26px;
    }
    .nav-actions .nav-btn-book,
    .nav-actions .nav-glovebox-btn {
        display: none;
    }
    .mobile-toggle {
        display: flex;
        z-index: 1002;
    }

    /* Exact Original Sliding Dark-Pine Glassmorphic Mobile Drawer */
    .nav-menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(15, 36, 26, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 92px 26px 36px 26px;
        gap: 14px;
        z-index: 1001;
        transition: var(--transition-normal);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.28);
        align-items: flex-start;
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        overflow-y: auto;
    }
    .nav-menu.active {
        right: 0;
    }
    .nav-item {
        width: 100%;
    }
    .nav-link {
        color: var(--copper-light);
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1.4px;
        width: 100%;
        padding: 6px 0 4px;
    }
    .nav-caret {
        display: none;
    }
    .nav-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        backdrop-filter: none;
        border: none;
        box-shadow: none;
        padding: 2px 0 8px 0;
        min-width: 0;
        gap: 2px;
    }
    .nav-dropdown::before {
        display: none;
    }
    .nav-dropdown a {
        color: rgba(255, 255, 255, 0.9);
        padding: 7px 10px;
        font-size: 15px;
        font-weight: 500;
    }
    .nav-dropdown a span:last-child {
        color: rgba(255, 255, 255, 0.52);
    }
    .nav-dropdown a:hover,
    .nav-dropdown a.active {
        background: rgba(255, 255, 255, 0.1);
        color: var(--white);
    }
    .nav-link:hover,
    .nav-link.active {
        color: var(--copper-light);
    }
    .nav-link::after {
        display: none;
    }
    .nav-drawer-extras {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        margin-top: 8px;
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }
    .nav-drawer-extras a {
        width: 100%;
    }
    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
        background: var(--white);
    }
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
        background: var(--white);
    }
}

@media (max-width: 920px) {
    .hero {
        height: auto;
        min-height: auto;
        padding: 130px 0 56px;
        flex-direction: column;
    }
    .quick-search-wrapper {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin: 34px auto 0;
    }
    .quick-search {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    .quick-search .search-btn {
        grid-column: span 1;
        width: 100%;
    }
    .after-hero-offset {
        padding-top: 56px;
    }
    .split-ledger,
    .scorecard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .logo span {
        display: none;
    }
    .classes-grid,
    .grid-3,
    .grid-2,
    .amenities-grid,
    .step-list,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .state-stamp-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
    }
    .filter-pills-wrap {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }
    .filter-search-inline {
        width: 100%;
        min-width: 0;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-bottom-links {
        justify-content: center;
    }
    .search-result-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media print {
    header.site-header,
    footer.site-footer,
    .entry-sidebar,
    .entry-action-bar,
    .rabbit-hole-box {
        display: none !important;
    }
    .entry-wrap {
        display: block;
    }
    .print-watermark {
        display: block;
        margin-top: 32px;
        padding-top: 12px;
        border-top: 1px solid #ccc;
        font-size: 12px;
        color: #444;
    }
}

/* --- HOMEPAGE VISUAL TRIAGE COMMAND DECK & DIAGNOSTIC CONSOLE --- */
.triage-deck {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 52px;
}

.triage-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(27, 67, 50, 0.12);
    border-top: 5px solid var(--pine-medium);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
}

.triage-card.emergency {
    border-top-color: var(--copper-accent);
    background: linear-gradient(180deg, #fffdf9 0%, #ffffff 100%);
}

.triage-card.buyer {
    border-top-color: var(--pine-deep);
}

.triage-card.road {
    border-top-color: var(--pine-accent);
}

.triage-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.triage-icon-badge {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--pine-pale);
    color: var(--pine-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.triage-card.emergency .triage-icon-badge {
    background: #fef3c7;
    color: #92400e;
}

.triage-kicker {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: var(--copper-text);
    display: block;
    margin-bottom: 3px;
}

.triage-title {
    font-size: 22px;
    color: var(--pine-deep);
    line-height: 1.22;
}

.triage-sub {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.5;
}

.triage-chip-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.triage-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 9px 12px;
    background: var(--cream-bg);
    border: 1px solid rgba(27, 67, 50, 0.12);
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--pine-deep);
    transition: var(--transition-fast);
}

.triage-chip span.chip-tag {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    background: var(--white);
    color: var(--copper-text);
    flex-shrink: 0;
}

.triage-chip:hover {
    background: var(--pine-deep);
    border-color: var(--pine-deep);
    color: var(--white);
    transform: translateY(-2px);
}

.triage-chip:hover span.chip-tag {
    background: var(--copper-accent);
    color: var(--white);
}

/* Dark-Pine 10 PM LED Diagnostic Console */
.diagnostic-console {
    background: linear-gradient(145deg, var(--pine-deep) 0%, #143325 100%);
    border-radius: var(--radius-xl);
    padding: clamp(28px, 4vw, 48px);
    color: var(--white);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.diagnostic-console .section-title {
    color: var(--white);
}

.diagnostic-console .section-subtitle {
    color: var(--copper-light);
}

.diagnostic-console .section-description {
    color: rgba(255, 255, 255, 0.82);
}

.led-board-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.led-code-tile {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    transition: var(--transition-fast);
}

.led-code-tile:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--copper-light);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
}

.led-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.led-screen-pill {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 5px 10px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.55);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.45);
    box-shadow: inset 0 0 8px rgba(251, 191, 36, 0.18);
}

.led-screen-pill.red {
    color: #fca5a5;
    border-color: rgba(248, 113, 113, 0.5);
    box-shadow: inset 0 0 8px rgba(248, 113, 113, 0.22);
}

.led-brand-tag {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: rgba(255, 255, 255, 0.72);
}

.led-tile-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    line-height: 1.28;
}

.led-tile-cause {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.48;
}

.led-tile-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--copper-light);
}

.led-tile-footer span:last-child {
    white-space: nowrap;
    flex-shrink: 0;
}

/* Compact Scannable Card Rule Callout & Mini Score Bars */
.card-rule-pill {
    background: var(--pine-pale);
    border-left: 3.5px solid var(--pine-medium);
    border-radius: 0 8px 8px 0;
    padding: 10px 13px;
    margin: 4px 0 12px;
    font-size: 13.5px;
    line-height: 1.45;
    color: var(--pine-deep);
}

.card-rule-pill.copper {
    background: #fffbeb;
    border-left-color: var(--copper-accent);
    color: #78350f;
}

.card-rule-pill.alert {
    background: #fef2f2;
    border-left-color: #dc2626;
    color: #7f1d1d;
}

.card-rule-pill strong {
    font-weight: 700;
    display: block;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 2px;
}

.mini-score-bars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    background: var(--cream-bg);
    padding: 12px;
    border-radius: var(--radius-sm);
    margin: 6px 0 14px;
    border: 1px solid rgba(27, 67, 50, 0.08);
}

.mini-score-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mini-score-head {
    display: flex;
    justify-content: space-between;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--pine-deep);
}

.mini-score-track {
    height: 6px;
    background: rgba(27, 67, 50, 0.14);
    border-radius: 50px;
    overflow: hidden;
}

.mini-score-fill {
    height: 100%;
    background: var(--pine-medium);
    border-radius: 50px;
}

.mini-score-fill.copper {
    background: var(--copper-accent);
}

@media (max-width: 1100px) {
    .triage-deck {
        grid-template-columns: 1fr;
    }
    .led-board-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .triage-chip-grid,
    .led-board-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================================
   B1 FULL-BLEED PROGRESSIVE BLUR CARDS + 6 DEDICATED SECTION BLUR THEMES
   ========================================================================= */
.b1-grid-3,
.b1-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.b1-card {
    --panel-bg: #0b2218;
    --accent-solid: #c25e00;
    --eyebrow-color: #fcd34d;

    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background-color: var(--panel-bg);
    box-shadow: 0 14px 34px rgba(15, 36, 26, 0.14);
    display: flex;
    flex-direction: column;
    color: var(--white);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.b1-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(15, 36, 26, 0.22);
    color: var(--white);
}

/* 1. DEEP PINE (Brands & Comparisons) */
.theme-pine {
    --panel-bg: #0b2218;
    --accent-solid: #c25e00;
    --eyebrow-color: #fcd34d;
}

/* 2. BLUE RIDGE DUSK SLATE (Roof Care & Wiring) */
.theme-slate {
    --panel-bg: #0d2231;
    --accent-solid: #1b657e;
    --eyebrow-color: #bae6fd;
}

/* 3. CAMPFIRE EMBER (Error Codes & Troubleshooting) */
.theme-ember {
    --panel-bg: #291208;
    --accent-solid: #c2410c;
    --eyebrow-color: #fdba74;
}

/* 4. SADDLE LEATHER & CEDAR (Model Problems & Buying Guides) */
.theme-cedar {
    --panel-bg: #24180e;
    --accent-solid: #a16207;
    --eyebrow-color: #fde68a;
}

/* 5. REDWOOD CANYON CLAY (RV Mistakes & Safety) */
.theme-canyon {
    --panel-bg: #281013;
    --accent-solid: #a83232;
    --eyebrow-color: #fecdd3;
}

/* 6. OVERLAND WAXED OLIVE (Scenic Drives & State Laws) */
.theme-olive {
    --panel-bg: #1c200e;
    --accent-solid: #5b6d27;
    --eyebrow-color: #d9f99d;
}

.b1-card-media {
    position: relative;
    height: 222px;
    width: 100%;
    overflow: hidden;
    flex-shrink: 0;
    mask-image: linear-gradient(
        180deg,
        #000000 0%,
        #000000 46%,
        rgba(0, 0, 0, 0.95) 54%,
        rgba(0, 0, 0, 0.82) 62%,
        rgba(0, 0, 0, 0.60) 71%,
        rgba(0, 0, 0, 0.35) 79%,
        rgba(0, 0, 0, 0.15) 86%,
        rgba(0, 0, 0, 0.045) 92%,
        rgba(0, 0, 0, 0.008) 96.5%,
        rgba(0, 0, 0, 0) 98.8%,
        rgba(0, 0, 0, 0) 100%
    );
    -webkit-mask-image: linear-gradient(
        180deg,
        #000000 0%,
        #000000 46%,
        rgba(0, 0, 0, 0.95) 54%,
        rgba(0, 0, 0, 0.82) 62%,
        rgba(0, 0, 0, 0.60) 71%,
        rgba(0, 0, 0, 0.35) 79%,
        rgba(0, 0, 0, 0.15) 86%,
        rgba(0, 0, 0, 0.045) 92%,
        rgba(0, 0, 0, 0.008) 96.5%,
        rgba(0, 0, 0, 0) 98.8%,
        rgba(0, 0, 0, 0) 100%
    );
}

.b1-card.gateway .b1-card-media {
    height: 235px;
}

.b1-card.compact .b1-card-media {
    height: 196px;
}

.b1-card-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.24) 0%,
        rgba(0, 0, 0, 0) 34%
    );
    z-index: 1;
    pointer-events: none;
}

.b1-card img.main-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
    display: block;
    transition: transform var(--transition-slow);
}

.b1-card:hover img.main-photo {
    transform: scale(1.05);
}

.b1-card-top {
    position: absolute;
    top: 16px;
    left: 18px;
    right: 18px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.b1-card-bottom {
    position: relative;
    z-index: 4;
    margin-top: -14px;
    padding: 0 24px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: transparent;
}

.b1-card.compact .b1-card-bottom {
    padding: 0 20px 18px;
}

.b1-glass-tag {
    background: rgba(8, 16, 13, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.26);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    white-space: nowrap;
    max-width: 175px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.b1-accent-pill {
    background: var(--accent-solid);
    border: 1px solid rgba(255, 255, 255, 0.26);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.26);
    white-space: nowrap;
    max-width: 185px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.b1-eyebrow,
.entry-article .b1-card .b1-eyebrow {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--eyebrow-color) !important;
    margin-bottom: 5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.b1-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--eyebrow-color);
    flex-shrink: 0;
}

.b1-title,
.entry-article .b1-card .b1-title {
    font-family: var(--font-heading);
    font-size: 22.5px;
    font-weight: 600;
    color: #ffffff !important;
    line-height: 1.22;
    margin: 0 0 7px 0;
    border: none;
    padding: 0;
}

.b1-card.gateway .b1-title,
.entry-article .b1-card.gateway .b1-title {
    font-size: 24px;
}

.b1-card.compact .b1-title,
.entry-article .b1-card.compact .b1-title {
    font-size: 20.5px;
}

.b1-desc,
.entry-article .b1-card .b1-desc {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.89) !important;
    margin: 0 0 15px 0;
}

.b1-bar {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 9.5px 14px;
    border-radius: 13px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    transition: background var(--transition-fast);
}

.b1-card:hover .b1-bar {
    background: rgba(255, 255, 255, 0.16);
}

.b1-arrow {
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: var(--accent-solid);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.b1-card:hover .b1-arrow {
    transform: translateX(3px);
}

/* Section Theme Accent Buttons */
.btn-theme-slate,
.btn-theme-ember,
.btn-theme-cedar,
.btn-theme-canyon,
.btn-theme-olive {
    padding: 13px 26px;
    min-height: 44px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-theme-slate { background: #154c60; color: #fff; }
.btn-theme-slate:hover { background: #1b657e; color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-theme-ember { background: #9a3412; color: #fff; }
.btn-theme-ember:hover { background: #c2410c; color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-theme-cedar { background: #854d0e; color: #fff; }
.btn-theme-cedar:hover { background: #a16207; color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-theme-canyon { background: #882323; color: #fff; }
.btn-theme-canyon:hover { background: #a83232; color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-theme-olive { background: #46541e; color: #fff; }
.btn-theme-olive:hover { background: #5b6d27; color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* --- RESTORED ORIGINAL DROOKODA 2-COLUMN EDITORIAL SHOWCASE --- */
.about-showcase-grid {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 56px;
    align-items: center;
}

.about-lead {
    font-size: 17.5px;
    line-height: 1.62;
    max-inline-size: 52ch;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.about-quote-bar {
    font-family: var(--font-heading);
    font-size: 19px;
    font-style: italic;
    max-inline-size: 52ch;
    color: var(--pine-medium);
    border-left: 3px solid var(--copper-accent);
    padding-left: 18px;
    margin: 22px 0 28px;
    line-height: 1.48;
}

.about-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-pillar-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-pillar-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--pine-pale);
    color: var(--pine-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-pillar-icon svg {
    width: 17px;
    height: 17px;
}

.about-pillar-item strong {
    display: block;
    font-size: 15px;
    color: var(--pine-deep);
    margin-bottom: 2px;
}

.about-pillar-item span {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.45;
}

.about-images {
    position: relative;
    height: 440px;
}

.about-img-main {
    position: absolute;
    width: 80%;
    height: 80%;
    border-radius: var(--radius-lg);
    object-fit: cover;
    box-shadow: var(--shadow-lg);
    top: 0;
    left: 0;
    border: 4px solid var(--white);
    transition: var(--transition-slow);
}

.about-img-sub {
    position: absolute;
    width: 60%;
    height: 60%;
    border-radius: var(--radius-lg);
    object-fit: cover;
    box-shadow: var(--shadow-lg);
    bottom: 0;
    right: 0;
    border: 4px solid var(--white);
    z-index: 2;
    transition: var(--transition-slow);
}

.about-images:hover .about-img-main {
    transform: translate(-6px, -6px) rotate(-1deg);
}

.about-images:hover .about-img-sub {
    transform: translate(6px, 6px) rotate(1deg);
}

@media (max-width: 1040px) {
    .b1-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .about-showcase-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .about-images {
        height: 360px;
        max-width: 620px;
    }
}

@media (max-width: 680px) {
    .b1-grid-3,
    .b1-grid-2,
    .about-pillars {
        grid-template-columns: 1fr;
    }
    .b1-card-media,
    .b1-card.gateway .b1-card-media {
        height: 204px;
    }
    .b1-card-bottom {
        padding: 0 20px 20px;
    }
    .about-images {
        height: 290px;
    }
    .article-hero-frame {
        height: 205px;
    }
    .rv-map-canvas {
        height: 300px;
    }
}

/* --- EDITORIAL BLOG VISUAL FLOW, PHOTO HEROES & INTERACTIVE RV MAPS --- */
.article-hero-frame {
    position: relative;
    width: 100%;
    height: 330px;
    border-radius: 20px;
    overflow: hidden;
    margin: 0 0 28px;
    background: var(--pine-deep);
    box-shadow: 0 12px 30px rgba(15, 36, 26, 0.1);
}

.article-hero-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 58%;
    display: block;
}

.article-hero-frame:has(.article-hero-chips)::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 34, 24, 0.06) 0%, rgba(11, 34, 24, 0.16) 54%, rgba(11, 34, 24, 0.8) 100%);
    pointer-events: none;
}

.article-hero-chips {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.article-stat-chip {
    background: rgba(11, 34, 24, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #ffffff;
    padding: 6px 13px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.article-stat-chip strong {
    color: #fcd34d;
    margin-right: 4px;
}

.section-chapter-kicker {
    display: block;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--copper-text);
    margin: 44px 0 8px;
    padding-top: 22px;
    border-top: 1px solid rgba(15, 36, 26, 0.09);
}

.flow-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin: 22px 0 28px;
}

.flow-topic-card {
    background: var(--cream-bg);
    border: 1px solid rgba(27, 67, 50, 0.1);
    border-radius: var(--radius-md);
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.flow-topic-head {
    display: flex;
    align-items: center;
    gap: 11px;
}

.flow-num-badge {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--pine-deep);
    color: #fcd34d;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.entry-article .flow-topic-card h3 {
    margin: 0;
    font-size: 18.5px;
    line-height: 1.28;
    color: var(--pine-deep);
}

.entry-article .flow-topic-card p {
    margin: 0;
    max-inline-size: 48ch;
    font-size: 16.5px;
    line-height: 1.6;
    color: var(--text-dark);
}

.flow-more-details {
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px dashed rgba(27, 67, 50, 0.14);
}

.flow-more-details summary {
    font-size: 13px;
    font-weight: 700;
    color: var(--copper-text);
    cursor: pointer;
    user-select: none;
}

.entry-article .flow-more-details p {
    margin-top: 8px;
    max-inline-size: 52ch;
    font-size: 15.2px;
    line-height: 1.58;
    color: var(--text-muted);
}

/* --- INTERACTIVE LEAFLET RV MAP SHELL --- */
.rv-map-shell {
    background: var(--cream-bg);
    border: 1px solid rgba(27, 67, 50, 0.14);
    border-radius: 20px;
    overflow: hidden;
    margin: 20px 0 30px;
    box-shadow: 0 8px 24px rgba(15, 36, 26, 0.06);
}

.rv-map-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 13px 18px;
    background: var(--white);
    border-bottom: 1px solid rgba(27, 67, 50, 0.1);
}

.rv-map-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.rv-map-filter-btn {
    padding: 6px 13px;
    border-radius: 50px;
    border: 1px solid rgba(27, 67, 50, 0.16);
    background: var(--cream-bg);
    color: var(--pine-deep);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.rv-map-filter-btn:hover,
.rv-map-filter-btn.active {
    background: var(--pine-deep);
    border-color: var(--pine-deep);
    color: var(--white);
}

.rv-map-reset-btn {
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(27, 67, 50, 0.18);
    background: var(--white);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.rv-map-reset-btn:hover {
    color: var(--pine-deep);
    border-color: var(--pine-deep);
}

.rv-map-canvas {
    width: 100%;
    height: 365px;
    background: #e7ece8;
    z-index: 1;
}

.rv-map-canvas.usa-atlas {
    height: 430px;
}

.rv-map-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
    gap: 12px;
    padding: 16px 18px 18px;
    background: var(--cream-bg);
}

.rv-map-focus-card {
    background: var(--white);
    border: 1px solid rgba(27, 67, 50, 0.12);
    border-radius: 14px;
    padding: 14px 16px;
    cursor: pointer;
    text-align: left;
    transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.rv-map-focus-card:hover,
.rv-map-focus-card.active {
    border-color: var(--copper-accent);
    box-shadow: 0 6px 18px rgba(194, 65, 12, 0.12);
    transform: translateY(-2px);
}

.rv-focus-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.rv-focus-tag {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    color: var(--copper-text);
}

.rv-focus-zoom-hint {
    font-size: 11px;
    font-weight: 700;
    color: var(--pine-medium);
}

.entry-article .rv-map-focus-card h3 {
    margin: 0 0 6px;
    font-size: 16px;
    line-height: 1.28;
    color: var(--pine-deep);
}

.entry-article .rv-map-focus-card p {
    margin: 0;
    font-size: 13.8px;
    line-height: 1.52;
    color: var(--text-muted);
}

/* Custom Leaflet Pin Icons & Popups */
.rv-map-div-icon {
    background: transparent;
    border: none;
}

.rv-pin {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2.5px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.32);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 800;
    transition: transform 0.15s ease;
}

.rv-pin:hover {
    transform: scale(1.16);
}

.rv-pin-pine { background: #1b4332; }
.rv-pin-teal { background: #155e75; }
.rv-pin-gold { background: #b45309; }
.rv-pin-danger { background: #b91c1c; }

.rv-map-popup {
    font-family: var(--font-body);
    padding: 2px 0;
}

.rv-popup-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 3px 8px;
    border-radius: 50px;
    color: #ffffff;
    margin-bottom: 6px;
}

.rv-popup-pine { background: #1b4332; }
.rv-popup-teal { background: #155e75; }
.rv-popup-gold { background: #b45309; }
.rv-popup-danger { background: #b91c1c; }

.rv-popup-title {
    display: block;
    font-family: var(--font-heading);
    font-size: 16.5px;
    color: #0f241a;
    line-height: 1.25;
    margin-bottom: 4px;
}

.rv-popup-sub {
    font-size: 12px;
    font-weight: 700;
    color: #b45309;
    margin-bottom: 6px;
}

.entry-article .rv-popup-desc,
.rv-popup-desc {
    font-size: 13px !important;
    line-height: 1.48 !important;
    color: #374151 !important;
    margin: 0 0 8px !important;
}

.rv-popup-link {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 700;
    color: #1b4332 !important;
    text-decoration: underline;
}

/* --- PHOTO SHOWCASE CARDS FOR FEATURED CAMP & ROADSIDE DETOUR --- */
.gem-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin: 20px 0 30px;
}

.gem-photo-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background-color: var(--panel-bg, #0b2218);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 30px rgba(15, 36, 26, 0.14);
}

.gem-photo-card .b1-card-media {
    height: 220px;
}

.gem-photo-card img.main-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 68%;
    display: block;
    transition: transform var(--transition-slow);
}

.gem-photo-card:hover img.main-photo {
    transform: scale(1.04);
}

.gem-card-body {
    position: relative;
    z-index: 4;
    margin-top: -12px;
    padding: 0 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.entry-article .gem-photo-card h3 {
    font-family: var(--font-heading);
    font-size: 21px;
    font-weight: 600;
    color: #ffffff !important;
    line-height: 1.24;
    margin: 0 0 8px;
}

.entry-article .gem-photo-card p {
    font-size: 14.2px;
    line-height: 1.56;
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0 0 14px;
}

.gem-rig-note {
    margin-top: auto;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 13px;
    padding: 11px 14px;
    font-size: 13px;
    line-height: 1.48;
    color: rgba(255, 255, 255, 0.92);
}

.gem-rig-note strong {
    color: var(--eyebrow-color);
}

.gem-map-jump-btn {
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    border-radius: 10px;
    padding: 8px 13px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    transition: background var(--transition-fast);
}

.gem-map-jump-btn:hover {
    background: rgba(255, 255, 255, 0.22);
}

@media (max-width: 760px) {
    .gem-showcase-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Original Research & Data Studies — Journalist Stat Cards, SVG Charts & Citations
   ========================================================================== */
.research-meta-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0 20px;
}

.research-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    background: rgba(27, 67, 50, 0.08);
    color: var(--pine-deep);
    border: 1px solid rgba(27, 67, 50, 0.16);
}

.research-meta-pill.copper {
    background: rgba(180, 83, 9, 0.1);
    color: #9a3412;
    border-color: rgba(180, 83, 9, 0.24);
}

.stat-magnet-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 20px 0 26px;
}

.stat-magnet-card {
    background: #ffffff;
    border: 1px solid rgba(27, 67, 50, 0.14);
    border-top: 4px solid var(--pine-deep);
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 4px 14px rgba(15, 36, 26, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stat-magnet-card:nth-child(2) {
    border-top-color: #c2410c;
}

.stat-magnet-card:nth-child(3) {
    border-top-color: #155e75;
}

.stat-magnet-card:nth-child(4) {
    border-top-color: #b45309;
}

.stat-magnet-num {
    font-family: var(--font-heading);
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 800;
    line-height: 1.08;
    color: var(--pine-deep);
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.entry-article .stat-magnet-card p.stat-magnet-desc {
    font-size: 15.5px;
    line-height: 1.5;
    color: #1c2c23 !important;
    margin: 0 0 10px;
}

.stat-magnet-source {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #526358;
    padding-top: 9px;
    border-top: 1px dashed rgba(27, 67, 50, 0.16);
}

.research-chart-card {
    background: linear-gradient(180deg, #ffffff 0%, #f9fbf9 100%);
    border: 1px solid rgba(27, 67, 50, 0.18);
    border-radius: 20px;
    padding: 26px 28px 22px;
    margin: 30px 0 34px;
    box-shadow: 0 12px 30px rgba(15, 36, 26, 0.07);
}

.research-chart-head {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(27, 67, 50, 0.1);
}

.research-chart-kicker {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #b45309;
}

.entry-article .research-chart-card h3.research-chart-title {
    font-family: var(--font-heading);
    font-size: clamp(21px, 2.3vw, 25px);
    font-weight: 800;
    color: var(--pine-deep) !important;
    margin: 0;
    line-height: 1.25;
}

.entry-article .research-chart-card p.research-chart-sub {
    font-size: 16px;
    color: #47584d !important;
    margin: 0;
    line-height: 1.5;
    max-inline-size: 62ch;
}

.research-svg-wrap {
    width: 100%;
    overflow-x: auto;
}

.research-svg-wrap svg {
    width: 100%;
    max-width: 900px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.research-chart-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(27, 67, 50, 0.1);
    font-size: 14px;
    color: #4a5b50;
}

.comp-table caption {
    caption-side: top;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--pine-deep);
    padding: 14px 18px;
    background: #f3f7f4;
    border: 1px solid rgba(27, 67, 50, 0.14);
    border-bottom: none;
    border-radius: 12px 12px 0 0;
}

.cite-study-box {
    background: linear-gradient(145deg, #0f241a 0%, #1b4332 100%);
    color: #ffffff;
    border-radius: 18px;
    padding: 26px 28px;
    margin: 34px 0;
    box-shadow: 0 10px 26px rgba(15, 36, 26, 0.16);
}

.why-matters-box {
    background: #fbfdfb;
    border: 1px solid rgba(27, 67, 50, 0.18);
    border-left: 5px solid var(--pine-deep);
    border-radius: 16px;
    padding: 24px 26px;
    margin: 30px 0;
}

.entry-article .why-matters-box h2 {
    margin-top: 0 !important;
}

.entry-article .cite-study-box h3 {
    color: #ffffff !important;
    font-size: 22px;
    margin: 0 0 14px;
}

.entry-article .cite-study-box p {
    color: rgba(255, 255, 255, 0.9) !important;
    max-inline-size: 54ch;
    font-size: 17px;
    line-height: 1.6;
    margin: 0 0 16px;
}

.cite-snippet-pre {
    background: rgba(0, 0, 0, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    padding: 14px 16px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 14.5px;
    line-height: 1.55;
    color: #fef3c7;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
    margin-bottom: 16px;
}

.cite-btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cite-copy-btn {
    background: #d97706;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 11px 18px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.cite-copy-btn:hover {
    background: #b45309;
    transform: translateY(-1px);
}

.cite-copy-btn.secondary {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.cite-copy-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.24);
}

.sources-ol {
    columns: 1;
    margin: 16px 0 0;
    padding-left: 24px;
}

.sources-ol li {
    font-size: 16px !important;
    line-height: 1.58 !important;
    margin-bottom: 10px !important;
    color: #213329;
}

.sources-ol li a {
    color: var(--pine-deep);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.research-queue-panel {
    background: #ffffff;
    border: 1px solid rgba(27, 67, 50, 0.15);
    border-radius: 20px;
    padding: 26px 28px;
    margin-top: 28px;
    box-shadow: 0 8px 24px rgba(15, 36, 26, 0.05);
}

.research-queue-panel p {
    max-inline-size: 54ch;
    line-height: 1.6;
}

@media (max-width: 760px) {
    .stat-magnet-grid {
        grid-template-columns: 1fr;
    }
    .sources-ol {
        columns: 1;
    }
}

/* ==========================================================================
   Portfolio Blog Option A Gold Standard (3-Column Grid, Zero Pills, Zero Green)
   ========================================================================== */
.blog-hero-eyebrow {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blog-cat-freebie-dark);
}

.blog-hero-meta {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.blog-hero-sep {
    color: rgba(255, 255, 255, 0.42);
    font-weight: 600;
}

.blog-hero-sub {
    font-size: 0.84rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.86);
}

.blog-filter-bar .filter-btn {
    background: var(--cream-bg);
    color: var(--text-dark);
    border: 1px solid rgba(28, 36, 43, 0.16);
}

.blog-filter-bar .filter-btn:hover {
    background: #ffffff;
    border-color: var(--blog-cat-freebie);
    color: #1c242b;
}

.blog-filter-bar .filter-btn.active {
    background: #1c242b;
    border-color: #1c242b;
    color: #ffffff;
}

.blog-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 44px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid rgba(27, 67, 50, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-align: left;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(180, 83, 9, 0.38);
}

.blog-card-art {
    width: 100%;
    height: 175px;
    overflow: hidden;
    background: var(--cream-card);
    flex-shrink: 0;
}

.blog-card-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 55%;
    display: block;
    transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card-art img {
    transform: scale(1.04);
}

.blog-card-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.blog-card-top-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.blog-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    line-height: 1.15;
}

.blog-type-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: currentColor;
    display: inline-block;
    flex-shrink: 0;
}

.blog-type-study {
    color: var(--blog-cat-study);
}

.blog-type-freebie {
    color: var(--blog-cat-freebie);
}

.blog-type-howto {
    color: var(--blog-cat-howto);
}

.subpage-banner .blog-type-study {
    color: var(--blog-cat-study-dark);
}

.subpage-banner .blog-type-freebie {
    color: var(--blog-cat-freebie-dark);
}

.subpage-banner .blog-type-howto {
    color: var(--blog-cat-howto-dark);
}

.blog-card-date {
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--text-muted);
}

.blog-card-title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.28;
    color: var(--pine-deep);
}

.blog-card:hover .blog-card-title {
    color: #0f172a;
}

.blog-card-desc {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.52;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-cta {
    margin-top: auto;
    padding-top: 8px;
    font-size: 0.84rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.blog-card[data-blog-type="data-study"] .blog-card-cta {
    color: var(--blog-cat-study);
}

.blog-card[data-blog-type="freebies"] .blog-card-cta {
    color: var(--blog-cat-freebie);
}

.blog-card[data-blog-type="how-to"] .blog-card-cta {
    color: var(--blog-cat-howto);
}

.blog-related-section {
    max-width: 1180px;
    margin: 0 auto 56px;
}

.blog-related-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.blog-related-head h2 {
    font-size: clamp(22px, 2.2vw, 28px);
    color: var(--pine-deep);
    margin: 0;
}

.blog-related-all-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--blog-cat-study);
    white-space: nowrap;
}

.blog-related-all-link:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .blog-hub-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .blog-hub-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}
