/*
Theme Name: Nature’s Due Theme
Theme URI: http://naturesdue.com
Author: Four Leaf Innovations
Author URI: https://fourleafinnovations.com
Description: A high-fidelity, magazine-style WordPress theme. National Geographic x Modern Homesteader aesthetic. Lightweight, SEO-hardened, and designed for visual authority.
Version: 1.0.0
Text Domain: natures-due
*/

:root {
    /* 🌿 Core Botanical Palette */
    --color-moss: #2D5A27;
    /* Deep Forest Green */
    --color-sage: #8AA399;
    /* Muted Sage */
    --color-leaf: #5D8233;
    /* Growth Green */
    --color-earth: #4A3728;
    /* Deep Soil Brown */
    --color-clay: #B19470;
    /* Rich Gold/Clay Accent */
    --color-parchment: #F9F6F0;
    /* Organic Off-White */
    --color-white: #FFFFFF;
    --color-shadow: rgba(45, 90, 39, 0.1);

    /* 📖 Typography: Magazine Power */
    --font-display: 'Lora', serif;
    /* Editorial Serif */
    --font-body: 'Inter', sans-serif;
    /* Functional Sans */

    /* 📐 Layout & Spacing */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --space-gutter: 2rem;
    --shadow-soft: 0 10px 30px -5px var(--color-shadow);
    --shadow-luxe: 0 20px 40px -10px rgba(0, 0, 0, 0.1);

    /* ⚡ Transitions */
    --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    background-color: var(--color-parchment);
    color: var(--color-earth);
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

/* Typography Scale */
h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1.5rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.01em;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

/* Global Utilities */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 var(--space-gutter);
}

.grid-magazine {
    display: grid;
    grid-gap: var(--space-gutter);
}

.rounded-luxe {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.shadow-luxe {
    box-shadow: var(--shadow-luxe);
}

.abs-inset {
    position: absolute;
    inset: 0;
}

.object-cover {
    object-fit: cover;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.text-center {
    text-align: center;
}

.gap-4 {
    gap: 1rem;
}

.gap-8 {
    gap: 2rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-xxl {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.mt-xxl {
    margin-top: 5rem;
}

.mb-lg {
    margin-bottom: 2.5rem;
}

.opacity-70 {
    opacity: 0.7;
}

.opacity-80 {
    opacity: 0.8;
}

.text-xs {
    font-size: 0.75rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.uppercase {
    text-transform: uppercase;
}

.tracking-widest {
    letter-spacing: 0.15em;
}

.font-bold {
    font-weight: 700;
}

/* Category Tags */
.cat-tag {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    background: var(--color-moss);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- INTERACTION & UTILITY --- */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--color-moss);
    z-index: 10001;
    width: 0;
    transition: width 0.1s ease-out;
}

.sticky-header {
    background: var(--color-parchment);
    transition: all 0.4s ease;
    z-index: 1000;
    position: sticky;
    top: 0;
}

.sticky-header.scrolled {
    background: rgba(249, 246, 240, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* --- POPUPS --- */
.luxe-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 10, 0.9);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.luxe-popup-overlay.active {
    display: flex;
    opacity: 1;
}

.luxe-popup-container {
    max-width: 600px;
    width: 90%;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.luxe-popup-overlay.active .luxe-popup-container {
    transform: translateY(0);
}

.popup-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--color-moss);
}

/* --- MAGAZINE SLIDER LAYOUT --- */
.h-\[600px\] {
    height: 600px;
}

.z-10 {
    z-index: 10;
}

.z-20 {
    z-index: 20;
}

.bg-black\/30 {
    background-color: rgba(0, 0, 0, 0.3);
}

/* --- EDITORIAL TYPOGRAPHY --- */
.editorial-typography {
    font-size: 1.25rem;
    line-height: 1.9;
    color: var(--color-earth);
}

.editorial-typography p {
    margin-bottom: 2rem;
}

.editorial-typography p:first-of-type::first-letter {
    float: left;
    font-size: 5rem;
    line-height: 0.8;
    margin-right: 0.15em;
    font-weight: bold;
    color: var(--color-moss);
    font-family: var(--font-display);
}

blockquote {
    font-family: var(--font-display);
    font-size: 2rem;
    font-style: italic;
    border-left: 4px solid var(--color-clay);
    padding-left: 2rem;
    margin: 3rem 0;
    color: var(--color-moss);
}

/* --- CUSTOM BLOCKS --- */
.nature-fact-box {
    background: var(--color-moss);
    color: var(--color-white);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: var(--radius-lg);
    margin: 3rem 0;
}

.callout-block {
    background: var(--color-white);
    border-left: 6px solid var(--color-clay);
    font-family: var(--font-display);
    font-style: italic;
    padding: 2rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 2rem 0;
    box-shadow: var(--shadow-luxe);
}

/* Mobile Mega Menu */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: var(--color-parchment);
    z-index: 10002;
    transform: translateX(100%);
    transition: var(--transition-smooth);
    padding: var(--space-gutter);
    display: flex;
    flex-direction: column;
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.mobile-nav-close {
    align-self: flex-end;
    font-size: 2.5rem;
    color: var(--color-moss);
    margin-bottom: 2rem;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-menu li {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 0.5rem;
}

.mobile-nav-menu a {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-earth);
    text-decoration: none;
}

/* Tool Buttons */
.tool-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-moss);
    cursor: pointer;
    transition: 0.3s;
}

.tool-btn:hover {
    color: var(--color-clay);
}

@media (max-width: 1024px) {
    .lg\:block {
        display: none !important;
    }

    .site-branding .logo-primary {
        font-size: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .lg\:hidden {
        display: none !important;
    }
}

/* ===================================================================
   🌿 MAGAZINE FRONT PAGE SECTIONS
   Nature's Due — Dynamic Section Styles
   =================================================================== */

/* --- Shared Section Utilities --- */
.nd-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--color-moss);
}

.nd-section-heading {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-earth);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin: 0;
}

.nd-section-link {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-moss);
    text-decoration: none;
    border-bottom: 2px solid var(--color-moss);
    padding-bottom: 2px;
    transition: var(--transition-smooth);
}

.nd-section-link:hover {
    color: var(--color-clay);
    border-color: var(--color-clay);
}

.nd-meta-sep {
    opacity: 0.4;
    margin: 0 0.3em;
}

/* ===================================================================
   1. HERO SLIDER
   =================================================================== */
.nd-hero-slider {
    position: relative;
    overflow: hidden;
}

.nd-hero-swiper {
    width: 100%;
    height: 75vh;
    min-height: 500px;
    max-height: 800px;
}

.nd-hero-slide {
    position: relative;
    overflow: hidden;
}

.nd-hero-slide__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(74, 55, 40, 0.95) 0%,
            rgba(74, 55, 40, 0.4) 40%,
            rgba(74, 55, 40, 0.1) 70%,
            transparent 100%);
    z-index: 2;
}

.nd-hero-slide__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.nd-hero-slide__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 4rem;
    z-index: 3;
    max-width: 800px;
}

.nd-hero-slide__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin: 0.75rem 0;
    color: #fff;
}

.nd-hero-slide__title a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nd-hero-slide__title a:hover {
    opacity: 0.85;
}

.nd-hero-slide__subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin: 0 0 1rem;
    max-width: 600px;
}

.nd-hero-slide__meta {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.nd-hero-slide__cta {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: 2px solid #fff;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    transition: all 0.4s ease;
    border-radius: var(--radius-sm);
}

.nd-hero-slide__cta:hover {
    background: #fff;
    color: var(--color-earth);
}

/* Hero Slider Nav */
.nd-hero-prev,
.nd-hero-next {
    color: #fff !important;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.nd-hero-prev:hover,
.nd-hero-next:hover {
    opacity: 1;
}

.nd-hero-prev::after,
.nd-hero-next::after {
    font-size: 1.5rem !important;
    font-weight: 900;
}

.nd-hero-pagination {
    bottom: 1.5rem !important;
}

.nd-hero-bullet {
    width: 12px !important;
    height: 3px !important;
    border-radius: 2px !important;
    background: rgba(255, 255, 255, 0.5) !important;
    transition: all 0.3s ease;
}

.nd-hero-bullet.swiper-pagination-bullet-active {
    width: 32px !important;
    background: #fff !important;
}

/* ===================================================================
   2. CATEGORY CAROUSEL
   =================================================================== */
.nd-category-carousel {
    padding: 3.5rem 0;
}

.nd-carousel-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    height: 100%;
}

.nd-carousel-card:hover {
    box-shadow: var(--shadow-luxe);
    transform: translateY(-4px);
}

.nd-carousel-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 2;
}

.nd-carousel-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.nd-carousel-card:hover .nd-carousel-card__img {
    transform: scale(1.08);
}

.nd-carousel-card__cat {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
}

.nd-carousel-card__body {
    padding: 1.25rem;
}

.nd-carousel-card__title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 0.5rem;
}

.nd-carousel-card__title a {
    color: var(--color-earth);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nd-carousel-card__title a:hover {
    color: var(--color-moss);
}

.nd-carousel-card__excerpt {
    font-size: 0.85rem;
    color: var(--color-earth);
    opacity: 0.7;
    line-height: 1.5;
    margin: 0 0 0.75rem;
}

.nd-carousel-card__meta {
    font-size: 0.7rem;
    color: var(--color-sage);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Carousel Nav */
.nd-carousel-prev,
.nd-carousel-next {
    color: var(--color-moss) !important;
    background: var(--color-white);
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nd-carousel-prev:hover,
.nd-carousel-next:hover {
    background: var(--color-moss);
    color: #fff !important;
}

.nd-carousel-prev::after,
.nd-carousel-next::after {
    font-size: 1rem !important;
    font-weight: 900;
}

/* ===================================================================
   3. FEATURED GRID
   =================================================================== */
.nd-featured-grid {
    padding: 3.5rem 0;
}

.nd-featured-grid__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .nd-featured-grid__layout {
        grid-template-columns: 3fr 2fr;
        gap: 1.5rem;
        min-height: 550px;
    }
}

/* Hero Card */
.nd-featured-grid__hero {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.nd-featured-grid__hero-media {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.nd-featured-grid__hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    transition: transform 0.8s ease;
}

.nd-featured-grid__hero:hover .nd-featured-grid__hero-img {
    transform: scale(1.05);
}

.nd-featured-grid__hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(74, 55, 40, 0.9), transparent 60%);
    z-index: 2;
}

.nd-featured-grid__hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    z-index: 3;
    color: #fff;
}

.nd-featured-grid__hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0.5rem 0;
}

.nd-featured-grid__hero-title a {
    color: inherit;
    text-decoration: none;
}

.nd-featured-grid__hero-excerpt {
    font-size: 0.9rem;
    opacity: 0.85;
    line-height: 1.5;
    margin: 0;
}

/* Sidebar Cards */
.nd-featured-grid__sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .nd-featured-grid__sidebar {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
    }
}

.nd-featured-grid__card {
    display: flex;
    gap: 1rem;
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.nd-featured-grid__card:hover {
    box-shadow: var(--shadow-luxe);
    transform: translateY(-2px);
}

.nd-featured-grid__card-media {
    flex-shrink: 0;
    width: 100px;
    overflow: hidden;
}

.nd-featured-grid__card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.nd-featured-grid__card:hover .nd-featured-grid__card-img {
    transform: scale(1.1);
}

.nd-featured-grid__card-body {
    padding: 0.75rem 0.75rem 0.75rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nd-featured-grid__card-cat {
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

.nd-featured-grid__card-title {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 0.25rem;
}

.nd-featured-grid__card-title a {
    color: var(--color-earth);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nd-featured-grid__card-title a:hover {
    color: var(--color-moss);
}

.nd-featured-grid__card-date {
    font-size: 0.65rem;
    color: var(--color-sage);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===================================================================
   4. FULL-WIDTH BANNER
   =================================================================== */
.nd-full-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 8rem 0;
    text-align: center;
    overflow: hidden;
}

.nd-full-banner__overlay {
    position: absolute;
    inset: 0;
    background: rgba(45, 90, 39, 0.85);
    z-index: 1;
}

.nd-full-banner__content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.nd-full-banner__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin: 0 0 1rem;
    line-height: 1.15;
}

.nd-full-banner__desc {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.nd-full-banner__cta {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    background: var(--color-clay);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 0.4s ease;
}

.nd-full-banner__cta:hover {
    background: var(--color-white);
    color: var(--color-moss);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ===================================================================
   5. EDITORIAL STRIP
   =================================================================== */
.nd-editorial-strip {
    padding: 3.5rem 0;
}

.nd-editorial-strip__grid {
    display: grid;
    grid-template-columns: repeat(var(--nd-cols, 4), 1fr);
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .nd-editorial-strip__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .nd-editorial-strip__grid {
        grid-template-columns: 1fr;
    }
}

.nd-editorial-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
}

.nd-editorial-card:hover {
    box-shadow: var(--shadow-luxe);
    transform: translateY(-4px);
}

.nd-editorial-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.nd-editorial-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.nd-editorial-card:hover .nd-editorial-card__img {
    transform: scale(1.08);
}

.nd-editorial-card__cat {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
}

.nd-editorial-card__body {
    padding: 1.25rem;
}

.nd-editorial-card__title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 0.75rem;
}

.nd-editorial-card__title a {
    color: var(--color-earth);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nd-editorial-card__title a:hover {
    color: var(--color-moss);
}

.nd-editorial-card__footer {
    font-size: 0.7rem;
    color: var(--color-sage);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===================================================================
   6. SIDEBAR FEED
   =================================================================== */
.nd-sidebar-feed {
    padding: 3.5rem 0;
}

.nd-sidebar-feed__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .nd-sidebar-feed__layout {
        grid-template-columns: 2fr 1fr;
    }
}

/* Feed Article Cards */
.nd-feed-article {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(45, 90, 39, 0.08);
    transition: all 0.3s ease;
}

.nd-feed-article:last-child {
    border-bottom: none;
}

.nd-feed-article:hover {
    background: rgba(249, 246, 240, 0.5);
    padding-left: 1rem;
    border-radius: var(--radius-md);
}

.nd-feed-article__media {
    flex-shrink: 0;
    width: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.nd-feed-article__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3 / 2;
    transition: transform 0.5s ease;
}

.nd-feed-article:hover .nd-feed-article__img {
    transform: scale(1.05);
}

.nd-feed-article__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nd-feed-article__cat {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.35rem;
}

.nd-feed-article__title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 0.5rem;
}

.nd-feed-article__title a {
    color: var(--color-earth);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nd-feed-article__title a:hover {
    color: var(--color-moss);
}

.nd-feed-article__excerpt {
    font-size: 0.85rem;
    color: var(--color-earth);
    opacity: 0.7;
    line-height: 1.5;
    margin: 0 0 0.5rem;
}

.nd-feed-article__meta {
    font-size: 0.7rem;
    color: var(--color-sage);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 640px) {
    .nd-feed-article {
        flex-direction: column;
    }

    .nd-feed-article__media {
        width: 100%;
    }
}

/* Sidebar Widgets */
.nd-sidebar-feed__sidebar {
    position: sticky;
    top: 6rem;
    align-self: start;
}

.nd-sidebar-widget {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.nd-sidebar-widget__heading {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-moss);
    margin: 0 0 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(45, 90, 39, 0.15);
}

/* Trending List */
.nd-sidebar-trending {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: trending;
}

.nd-sidebar-trending__item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(45, 90, 39, 0.06);
    align-items: flex-start;
}

.nd-sidebar-trending__item:last-child {
    border-bottom: none;
}

.nd-sidebar-trending__rank {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-moss);
    opacity: 0.2;
    line-height: 1;
    flex-shrink: 0;
    width: 2rem;
}

.nd-sidebar-trending__title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-earth);
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: block;
}

.nd-sidebar-trending__title:hover {
    color: var(--color-moss);
}

.nd-sidebar-trending__date {
    font-size: 0.65rem;
    color: var(--color-sage);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-top: 0.2rem;
}

/* Newsletter Widget */
.nd-sidebar-newsletter {
    background: var(--color-moss);
    color: #fff;
}

.nd-sidebar-newsletter .nd-sidebar-widget__heading {
    color: rgba(255, 255, 255, 0.7);
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

.nd-sidebar-newsletter__desc {
    font-size: 0.85rem;
    opacity: 0.85;
    line-height: 1.6;
    margin: 0 0 1rem;
}

.nd-sidebar-newsletter__form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nd-sidebar-newsletter__input {
    padding: 0.65rem 0.85rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 0.85rem;
    outline: none;
    transition: all 0.3s ease;
}

.nd-sidebar-newsletter__input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.nd-sidebar-newsletter__input:focus {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.2);
}

.nd-sidebar-newsletter__btn {
    padding: 0.65rem 1.25rem;
    background: var(--color-clay);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nd-sidebar-newsletter__btn:hover {
    background: var(--color-white);
    color: var(--color-moss);
}

/* ===================================================================
   7. TRENDING TICKER
   =================================================================== */
.nd-trending-ticker {
    display: flex;
    align-items: stretch;
    background: var(--color-earth);
    overflow: hidden;
}

.nd-trending-ticker__label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--color-moss);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    white-space: nowrap;
    flex-shrink: 0;
    z-index: 2;
}

.nd-trending-ticker__icon {
    font-size: 1rem;
}

.nd-trending-ticker__track {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.nd-trending-ticker__scroll {
    display: flex;
    gap: 0;
    animation: nd-ticker-scroll 40s linear infinite;
    white-space: nowrap;
    width: max-content;
}

@keyframes nd-ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.nd-trending-ticker__item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: color 0.3s ease;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    white-space: nowrap;
}

.nd-trending-ticker__item:hover {
    color: var(--color-clay);
}

.nd-trending-ticker__cat {
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-clay);
    flex-shrink: 0;
}

.nd-trending-ticker__title {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===================================================================
   RESPONSIVE: Mobile Overrides
   =================================================================== */
@media (max-width: 768px) {
    .nd-hero-swiper {
        height: 60vh;
        min-height: 400px;
    }

    .nd-hero-slide__content {
        padding: 2rem;
    }

    .nd-hero-slide__cta {
        display: none;
    }

    .nd-hero-prev,
    .nd-hero-next {
        display: none !important;
    }

    .nd-full-banner {
        padding: 4rem 0;
        background-attachment: scroll;
    }

    .nd-featured-grid__sidebar {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .nd-trending-ticker__label {
        padding: 0.75rem 0.75rem;
        font-size: 0.6rem;
        letter-spacing: 0.08em;
    }
}

/* ===================================================================
   🌿 SINGLE ARTICLE PAGE
   Nature's Due — Article Layout Styles
   =================================================================== */

/* --- Article Hero Image (Above Article) --- */
.nd-article-hero {
    width: 100%;
    overflow: hidden;
    background: var(--color-earth);
}

.nd-article-hero__media {
    width: 100%;
    max-height: 560px;
    overflow: hidden;
}

.nd-article-hero__img {
    width: 100%;
    height: 100%;
    max-height: 560px;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* --- Single Article 2-Column Layout --- */
.nd-single-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .nd-single-layout {
        grid-template-columns: 1fr 320px;
        gap: 4rem;
    }
}

.nd-single-layout__content {
    min-width: 0;
}

/* Sidebar */
.nd-single-layout__sidebar {
    display: none;
}

@media (min-width: 1024px) {
    .nd-single-layout__sidebar {
        display: block;
    }
}

.nd-single-sidebar-inner {
    position: sticky;
    top: 6rem;
}

.nd-single-layout__sidebar .nd-sidebar-widget {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-soft);
    margin-bottom: 2rem;
}

.nd-single-layout__sidebar .nd-sidebar-widget__heading {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-earth);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-moss);
}

.nd-single-layout__sidebar .nd-sidebar-newsletter__desc {
    font-size: 0.85rem;
    color: var(--color-earth);
    opacity: 0.75;
    line-height: 1.5;
    margin: 0 0 1rem;
}

.nd-single-layout__sidebar .nd-sidebar-newsletter__form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nd-single-layout__sidebar .nd-sidebar-newsletter__input {
    padding: 0.6rem 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.3s ease;
}

.nd-single-layout__sidebar .nd-sidebar-newsletter__input:focus {
    border-color: var(--color-moss);
}

.nd-single-layout__sidebar .nd-sidebar-newsletter__btn {
    padding: 0.6rem 1rem;
    background: var(--color-moss);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background 0.3s ease;
}

.nd-single-layout__sidebar .nd-sidebar-newsletter__btn:hover {
    background: var(--color-leaf);
}

/* --- Article Header --- */
.nd-article-header {
    margin-bottom: 2.5rem;
}

.nd-article-header__cats {
    margin-bottom: 0.75rem;
}

.nd-article-header__cats a {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    background: var(--color-moss);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background 0.3s ease;
}

.nd-article-header__cats a:hover {
    background: var(--color-leaf);
}

.nd-article-header__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-earth);
    margin: 0 0 1.25rem;
}

.nd-article-header__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nd-article-header__avatar-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-moss);
}

.nd-article-header__meta-info {
    display: flex;
    flex-direction: column;
}

.nd-article-header__author {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-earth);
}

.nd-article-header__date {
    font-size: 0.75rem;
    color: var(--color-sage);
}

/* --- Social Share Bar --- */
.nd-share-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    margin-bottom: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nd-share-bar__label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-sage);
}

.nd-share-bar__buttons {
    display: flex;
    gap: 0.5rem;
}

.nd-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    transform: translateY(0);
}

.nd-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nd-share-btn--facebook {
    background: #1877F2;
}

.nd-share-btn--facebook:hover {
    background: #0d65d9;
}

.nd-share-btn--instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.nd-share-btn--instagram:hover {
    opacity: 0.9;
}

.nd-share-btn--x {
    background: #000;
}

.nd-share-btn--x:hover {
    background: #333;
}

/* --- Like Button --- */
.nd-like-section {
    display: flex;
    justify-content: center;
    padding: 2.5rem 0;
    margin-top: 2rem;
}

.nd-like-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--color-white);
    border: 2px solid var(--color-moss);
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-moss);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.nd-like-btn:hover {
    background: var(--color-moss);
    color: #fff;
    box-shadow: 0 4px 16px rgba(45, 90, 39, 0.25);
}

.nd-like-btn.nd-liked {
    background: var(--color-moss);
    color: #fff;
    cursor: default;
    border-color: var(--color-moss);
}

.nd-like-btn.nd-liking {
    opacity: 0.7;
    pointer-events: none;
}

.nd-like-heart {
    font-size: 1.2rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.nd-like-btn:hover .nd-like-heart,
.nd-like-btn.nd-liked .nd-like-heart {
    color: #ff4d6d;
}

.nd-like-btn.nd-liked:hover .nd-like-heart {
    color: #fff;
}

.nd-like-heart.nd-like-pulse {
    animation: nd-pulse 0.6s ease;
}

@keyframes nd-pulse {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.5);
    }

    60% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}

.nd-like-count {
    font-weight: 800;
    font-size: 1rem;
}

.nd-like-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Author Box --- */
.nd-author-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2.5rem;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 2px solid rgba(45, 90, 39, 0.08);
    box-shadow: var(--shadow-soft);
    text-align: center;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .nd-author-box {
        flex-direction: row;
        text-align: left;
        gap: 2rem;
    }
}

.nd-author-box__avatar {
    flex-shrink: 0;
}

.nd-author-box__avatar-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--color-white);
    box-shadow: var(--shadow-luxe);
}

.nd-author-box__details {
    flex: 1;
}

.nd-author-box__label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-clay);
    margin-bottom: 0.25rem;
}

.nd-author-box__name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-earth);
    margin: 0 0 0.5rem;
}

.nd-author-box__bio {
    font-size: 0.9rem;
    color: var(--color-earth);
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.nd-author-box__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .nd-author-box__links {
        justify-content: flex-start;
    }
}

.nd-author-box__link {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-moss);
    text-decoration: none;
    border-bottom: 2px solid var(--color-moss);
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.nd-author-box__link:hover {
    color: var(--color-clay);
    border-color: var(--color-clay);
}

.nd-author-box__social {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-clay);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.nd-author-box__social:hover {
    color: var(--color-moss);
}

/* --- Related Article Cards --- */
.nd-related-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.nd-related-card:hover {
    box-shadow: var(--shadow-soft);
    transform: translateY(-2px);
}

.nd-related-card__media {
    flex-shrink: 0;
    width: 100px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.nd-related-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nd-related-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nd-related-card__title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 0.25rem;
}

.nd-related-card__title a {
    color: var(--color-earth);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nd-related-card__title a:hover {
    color: var(--color-moss);
}

.nd-related-card__date {
    font-size: 0.7rem;
    color: var(--color-sage);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===================================================================
   🖼️ GLOBAL IMAGE SCALING — SLIDER & CARD SAFETY
   Ensures all images scale without distortion in any container.
   =================================================================== */
.nd-hero-slide__img,
.nd-featured-grid__hero-img,
.nd-featured-grid__card-img,
.nd-carousel-card__img,
.nd-editorial-card__img,
.nd-feed-article__img,
.nd-article-hero__img,
.nd-related-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Responsive image containers maintain aspect ratio */
.nd-carousel-card__media,
.nd-editorial-card__media {
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.nd-feed-article__media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

/* Prevent images from overflowing their containers */
img {
    max-width: 100%;
    height: auto;
}

/* --- Single Article Mobile Adjustments --- */
@media (max-width: 767px) {
    .nd-article-hero__media {
        max-height: 320px;
    }

    .nd-article-hero__img {
        max-height: 320px;
    }

    .nd-article-header__title {
        font-size: 1.75rem;
    }

    .nd-share-bar {
        flex-wrap: wrap;
    }

    .nd-like-btn {
        padding: 0.6rem 1.25rem;
        font-size: 0.85rem;
    }

    .nd-author-box {
        padding: 1.5rem;
    }

    .nd-related-card {
        flex-direction: column;
    }

    .nd-related-card__media {
        width: 100%;
        height: 160px;
    }
}

/* Custom Logo */
.nd-custom-logo img {
    max-width: 100px;
    height: auto;
}

/* ===================================================================
   🔧 UTILITY CLASSES
   Tailwind-style helpers used in theme templates.
   =================================================================== */

/* Display */
.hidden {
    display: none;
}

.block {
    display: block;
}

.flex {
    display: flex;
}

.inline-flex {
    display: inline-flex;
}

.grid {
    display: grid;
}

/* Flexbox */
.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-1 {
    flex: 1;
}

/* Gap */
.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-12 {
    gap: 3rem;
}

/* Grid */
.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Spacing */
.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.py-xl {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.py-xxl {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.p-8 {
    padding: 2rem;
}

.p-12 {
    padding: 3rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-lg {
    margin-bottom: 2rem;
}

.mb-xl {
    margin-bottom: 3rem;
}

.mt-xxl {
    margin-top: 5rem;
}

.mr-4 {
    margin-right: 1rem;
}

/* Typography */
.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.font-bold {
    font-weight: 700;
}

.uppercase {
    text-transform: uppercase;
}

.tracking-widest {
    letter-spacing: 0.1em;
}

.space-y-2>*+* {
    margin-top: 0.5rem;
}

/* Colors / Opacity */
.opacity-80 {
    opacity: 0.8;
}

/* Borders */
.border {
    border-width: 1px;
    border-style: solid;
}

.border-t {
    border-top-width: 1px;
    border-top-style: solid;
}

.rounded-md {
    border-radius: var(--radius-md, 0.375rem);
}

.rounded-xl {
    border-radius: var(--radius-lg, 0.75rem);
}

/* Backgrounds */
.bg-parchment {
    background-color: var(--color-parchment, #faf8f5);
}

/* Responsive: lg (1024px+) */
@media (min-width: 1024px) {
    .lg\:block {
        display: block !important;
    }

    .lg\:flex {
        display: flex !important;
    }

    .lg\:hidden {
        display: none !important;
    }

    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Responsive: md (768px+) */
@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Nav Menu */
.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: var(--color-earth);
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu .current-menu-item>a {
    color: var(--color-moss);
}

/* Sub-menus */
.nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--color-white, #fff);
    border-radius: var(--radius-md, 0.375rem);
    box-shadow: var(--shadow-luxe, 0 4px 20px rgba(0, 0, 0, 0.1));
    padding: 0.5rem 0;
    z-index: 100;
    list-style: none;
}

.nav-menu li:hover>.sub-menu {
    display: block;
}

.nav-menu .sub-menu a {
    display: block;
    padding: 0.5rem 1.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.02em;
}

.nav-menu .sub-menu a:hover {
    background: var(--color-parchment, #faf8f5);
}

/* Header Tools */
.tool-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--color-earth);
    transition: color 0.3s ease;
    font-size: 1.1rem;
}

.tool-btn:hover {
    color: var(--color-moss);
}