/*
Theme Name: DailyTricks Magazine
Theme URI: https://mydailytricks.com
Author: MyDailyTricks
Description: A custom magazine theme inspired by Apartment Therapy.
Version: 1.2.1
*/

/* --- 1. VARIABLES --- */
:root {
    /* Colors - Brand */
    --color-primary: #333333;
    --color-accent: #8FBC8F;
    --color-brand-orange: #ed2b38;
    /* Logo Orange - User Defined */
    /* Sage */

    /* Colors - Explore Section */
    --color-coral: #FF7F50;
    --color-lavender: #E6E6FA;
    --color-lemon: #FFFACD;
    --color-sky: #87CEEB;
    --color-beige: #F5F5DC;
    --color-gray-light: #F7F7F7;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;

    /* Spacing */
    --spacing-container: 1200px;
    --spacing-gutter: 2rem;
}

/* --- 2. RESET & BASE --- */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--color-primary);
    line-height: 1.6;
    background-color: #fff;
    /* Explicitly white */
    -webkit-text-size-adjust: 100%;
    /* Prevent font scaling in landscape */
    overflow-x: hidden;
    /* Prevent horizontal scroll drift */
}

/* iOS Input Reset */
input,
textarea,
button,
select {
    -webkit-appearance: none;
    border-radius: 0;
}

input[type="checkbox"],
input[type="radio"] {
    -webkit-appearance: checkbox;
    /* Keep checkboxes native or style explicitly */
}

input[type="radio"] {
    -webkit-appearance: radio;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    margin: 0 0 1rem 0;
    font-weight: 400;
    /* User Request: Remove bold globally */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* --- 3. LAYOUT UTILITIES --- */
.site-container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 4rem;
    /* More breathing room */
}

/* --- 4. NAVIGATION --- */
/* --- 4. HEADER LAYOUT (3 Rows) --- */
/* --- 4. HEADER LAYOUT (3 Rows) --- */
.site-header {
    background: #fff;
    border-bottom: none;
    margin-bottom: 0;
    position: fixed;
    /* Fixed position */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Push content down so it's not hidden behind fixed header (Global) */
body {
    padding-top: 118px;
    /* Adjusted to 118px to close hairline gap below header */
}

/* Homepage is transparent originally, so no padding needed initially? 
   Actually, usually transparent headers overlay content, so padding 0 is correct for home. */
body.home {
    padding-top: 0;
}

/* Mobile/Tablet Padding Adjustment */
@media screen and (max-width: 900px) {
    body {
        padding-top: 60px;
        /* Reduced for mobile header height */
    }

    body.home {
        padding-top: 0;
    }
}

/* HOMEPAGE SPECIFIC: Transparent to White */
body.home .site-header {
    background: transparent;
    box-shadow: none;
}

/* When Scrolled (Class added by JS) */
body.header-scrolled .site-header {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Mobile Reading Progress Bar */
#mobile-progress-bar {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    height: 4px;
    background: var(--color-brand-orange);
    width: 0%;
    z-index: 1001;
    transition: width 0.1s linear;
    display: none;
    /* Hidden by default (Desktop) */
}

/* Show on Mobile/Tablet */
@media screen and (max-width: 900px) {
    #mobile-progress-bar {
        display: block;
    }
}

/* Inner Pages: Always White */
body:not(.home) .site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    /* Slight shadow always for depth */
}

/* Row 1: Top Bar */
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.2rem 1rem;
    position: relative;
}

.header-col-left,
.header-col-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.header-col-right {
    justify-content: flex-end;
    gap: 1.5rem;
}

/* Search Pill */
.search-pill {
    background: #fff;
    border: 1px solid #333;
    border-radius: 999px;
    padding: 0.6rem 1.5rem;
    /* Wider/Cleaner */
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 400;
    /* Regular weight */
    letter-spacing: 0.5px;
    transition: background 0.2s;
    font-family: var(--font-body);
    text-transform: uppercase;
}

.search-pill:hover {
    background: #f7f7f7;
}

/* Search Input inside pill */
.search-pill input.search-field {
    border: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.7rem;
    /* Reduced font size */
    color: #333;
    outline: none;
    width: 60px;
    /* Small default width */
    transition: width 0.2s ease;
    text-transform: uppercase;
    padding: 0;
}

.search-pill input.search-field:focus {
    width: 150px;
    /* Expands on click */
}

/* Branding Center */
.header-col-center {
    flex: 2;
    text-align: center;
    display: flex;
    justify-content: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: #333;
}

.logo-icon {
    width: 50px;
    height: 50px;
}

.site-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

/* ... existing code ... */

.footer-brand-col .site-logo-img {
    opacity: 1;
    height: 90px;
    width: auto;
    margin-top: -20px;
    margin-left: -10px;
    margin-bottom: 0px;
}

.footer-logo-link .site-logo-img {
    height: 120px;
}

/* User Tools */
.login-link {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-icons a {
    color: #333;
    display: flex;
    align-items: center;
    transition: color 0.2s ease, transform 0.2s ease;
}

.social-icons a:hover {
    color: var(--color-coral);
    /* Hover color */
    transform: translateY(-2px);
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #333;
    display: flex;
    /* Ensure SVG aligns */
}

/* Row 2: Nav Bar */
.header-nav-wrap {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center the whole group */
    padding: 0.4rem 1rem;
    gap: 2rem;
}

.btn-mood-board {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #333;
    border-radius: 999px;
    padding: 0.5rem 1.4rem;
    /* Match Search Pill style */
    font-size: 0.95rem;
    font-weight: 400;
    /* Regular weight */
    color: #333;
    text-decoration: none;
    background: #fff;
    white-space: nowrap;
    transition: background 0.2s;
    font-family: var(--font-body);
}

.btn-mood-board:hover {
    background: #f5f5f5;
}

/* Dropdown Menus */
.hardcoded-nav {
    display: flex;
    gap: 2rem;
    position: relative;
    z-index: 50;
}

.hardcoded-nav>li {
    position: relative;
    padding-bottom: 0.5rem;
    /* Hover bridge */
}

.hardcoded-nav li ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.9);
    /* Reduced opacity */
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    min-width: 220px;
    padding: 0.5rem 0;
    flex-direction: column;
    gap: 0;
    text-align: left;
    z-index: 100;
    border-radius: 12px;
    /* Rounded corners */
    overflow: hidden;
    backdrop-filter: blur(10px);
    /* Modern blur effect */
}


.hardcoded-nav li:hover>ul.sub-menu {
    display: flex;
    /* Show on hover */
}

.hardcoded-nav li ul.sub-menu li {
    padding: 0;
}

.hardcoded-nav li ul.sub-menu a {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: #555;
    border-bottom: 1px solid #f9f9f9;
}

.hardcoded-nav li ul.sub-menu a:hover {
    background: #f7f7f7;
    color: var(--color-primary);
}

.has-sub>a::after {
    content: " \25BE";
    /* Down arrow */
    font-size: 0.7em;
    margin-left: 4px;
}

/* Trend Bar (Top) */
.header-trend-bar {
    background-color: #a0c4ff;
    padding: 2px 0;
    /* Ultra thin */
    font-size: 0.8rem;
    color: #333;
}

.trend-inner {
    display: flex;
    justify-content: flex-end;
    /* Align to right as per screenshot */
    gap: 2.5rem;
}

.header-trend-bar a {
    color: #222;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: opacity 0.2s;
    font-family: var(--font-body);
}

.header-trend-bar a:hover {
    opacity: 0.75;
}

.header-trend-bar .arrow {
    font-size: 1.1em;
    line-height: 1;
}

.main-navigation {
    width: auto;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.main-navigation a {
    text-decoration: none;
    font-size: 0.95rem;
    color: #333;
    font-weight: 400;
    font-family: var(--font-body);
}

.main-navigation a:hover {
    text-decoration: none;
    color: var(--color-brand-orange);
}


/* Row 3: Blue Trend Bar */
.header-trend-bar {
    background-color: #92b4fa;
    /* Approximate blue */
    padding: 0.75rem 0;
    text-align: center;
}

.trend-inner {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding-bottom: 0;
    /* Override container padding */
}

.header-trend-bar a {
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.header-trend-bar a:hover {
    opacity: 0.8;
}

/* Responsive Header */
@media (max-width: 900px) {
    .site-title-text {
        font-size: 1.5rem;
    }

    .site-tagline-text {
        display: none;
    }

    .search-pill span,
    .login-link {
        display: none;
    }

    /* Header Layout Refinements: Minimal on Mobile */
    .header-top {
        padding: 0.5rem 1rem;
        gap: 0.5rem;
        position: relative;
        /* Ensure absolute centering works */
    }

    .mobile-menu-toggle {
        color: #fff !important;
        /* White Hamburger */
        z-index: 20;
        /* Ensure clickable */
    }

    .header-col-left {
        flex: 0 0 auto;
        gap: 0.8rem;
    }

    .search-pill,
    .social-icons,
    .header-col-right .social-icons {
        display: none !important;
        /* Force hide in header */
    }

    .header-col-center {
        /* Absolute Centering */
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        justify-content: center;
        z-index: 10;
    }

    .site-logo-img {
        height: 35px;
        /* Smaller mobile logo */
        width: auto;
    }

    /* Smaller Hero Title on Mobile */
    .hero-content h1 {
        font-size: 2rem !important;
        line-height: 1.3;
    }

    /* Center Hero Content on Mobile */
    .hero-content {
        text-align: center;
        padding: 2rem 1.5rem;
        /* Add horizontal padding */
        margin: 0 auto;
    }

    .header-col-right {
        /* Empty on mobile now */
        flex: 0 0 auto;
    }

    /* Hide desktop nav */
    .header-nav-wrap {
        display: none;
    }
}

/* --- MOBILE MENU DRAWER STYLES (Additions) --- */

/* Search in Drawer */
.mobile-menu-search {
    margin-bottom: 2rem;
}

.mobile-search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.mobile-search-field {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 3rem;
    /* Space for icon */
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    background: #f9f9f9;
}

.mobile-search-submit {
    position: absolute;
    left: 10px;
    background: none;
    border: none;
    padding: 0;
    color: #666;
    display: flex;
    align-items: center;
}

/* Social in Drawer */
.mobile-social-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.mobile-social-row a {
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid #000;
    border-radius: 50%;
    transition: all 0.2s;
}

.mobile-social-row svg {
    stroke: #000;
    fill: #000;
}

.mobile-social-row a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: #ed2b38;
    /* Red Hover */
    border-color: #ed2b38;
    background: #fff;
}

.mobile-social-row a:hover svg {
    stroke: #ed2b38;
    fill: #ed2b38;
}

/* --- 5. HOMEPAGE HERO --- */
.home-hero-section {
    position: relative;
    margin-bottom: 0;
    /* Removed gap for brand intro */
    color: #fff;
}

.hero-image {
    height: 700px;
    /* Expanded height */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    /* Center content vertically */
    position: relative;
    justify-content: center;
}

.hero-image::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.3);
    /* Light Black */
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 3rem;
    max-width: 800px;
    text-align: center;
}

.hero-content h1 {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 400;
    /* Remove bold */
    text-transform: capitalize;
    /* First letter of every word capital */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
}

.hero-cat a {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    color: var(--color-lemon);
    margin-bottom: 1rem;
    display: inline-block;
}

/* --- 6. SECTIONS --- */
.related-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Page Template Redesign */
.page-container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 3rem;
    padding-bottom: 5rem;
}

.page-title-centered {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #111;
}

/* Blog Index Grid */
.blog-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 900px) {
    .blog-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .blog-grid-container {
        grid-template-columns: 1fr;
    }
}

/* Pagination Styling */
.blog-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.blog-pagination a,
.blog-pagination span {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

.blog-pagination .current {
    background: #333;
    color: #fff;
    border-color: #333;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 2px solid #eee;
    padding-bottom: 1rem;
}

/* Latest Grid */
.latest-grid-3-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-item .post-thumbnail img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.post-details {
    text-align: center;
}

.post-cat a {
    color: var(--color-accent);
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: bold;
}

.post-title {
    font-size: 1.25rem;
    margin: 0.5rem 0;
}

/* Explore Grid */
.explore-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.explore-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-decoration: none;
    transition: transform 0.2s;
    border-radius: 8px;
    color: #333;
}

.explore-card:hover {
    transform: translateY(-5px);
}

.explore-card .icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.explore-card .label {
    font-family: var(--font-body);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Background Utilities */
.bg-coral {
    background-color: var(--color-coral);
}

.bg-lavender {
    background-color: var(--color-lavender);
}

.bg-lemon {
    background-color: var(--color-lemon);
}

.bg-sky-blue {
    background-color: var(--color-sky);
}

.bg-accent {
    background-color: var(--color-accent);
}

.bg-beige {
    background-color: var(--color-beige);
}

.bg-gray-light {
    background-color: var(--color-gray-light);
}

.bg-white {
    background-color: #fff;
    border: 1px solid #eee;
}

/* Responsive */
@media (max-width: 768px) {
    .explore-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content h1 a {
        font-size: 2rem;
    }
}

/* --- EXPLORE SECTION (Modern) --- */
.explore-section {
    background-color: #f5f2eb;
    /* Full width beige */
    padding: 1.5rem 0;
    /* Thinner */
    margin-bottom: 2rem;
    text-align: left;
    /* Align title left */
}

/* Common Section Title */
.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    /* Larger to match Latest Posts */
    font-weight: 400;
    /* Not bold */
    text-align: left;
    margin-bottom: 2rem;
    color: #333;
}

/* Center grid items */
.explore-grid-modern {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    text-align: center;
    /* Helper for internal centering */
}

.explore-card-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
    border-radius: 0;
    padding: 1rem;
    box-shadow: none;
    text-decoration: none;
    border: none;
}

.explore-card-modern:hover {
    transform: none;
    box-shadow: none;
}

.explore-icon-3d {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    /* Simulate 3D pop with drop shadow/transform */
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.15));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.explore-icon-3d img {
    height: 140px;
    /* Bigger icons */
    width: auto;
    display: block;
}

.explore-card-modern:hover .explore-icon-3d {
    transform: scale(1.1) translateY(-10px);
}

.explore-card-modern .label {
    font-size: 1.1rem;
    font-weight: 400;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* --- SOCIAL TRENDING SECTION --- */
/* Override grid to be flex row */
.trending-grid-4-col {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: nowrap;
    /* Force one row */
    overflow-x: auto;
    /* Allow scrolling */
    padding-top: 1rem;
    /* Space for badge */
    padding-left: 1rem;
    /* Space for badge */
    padding-bottom: 1rem;
}

.social-card {
    flex: 0 0 220px;
    /* Fixed width for small story shape */
    position: relative;
    text-align: center;
}

.social-number {
    position: absolute;
    top: -10px;
    left: -10px;
    background-color: var(--color-sky);
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.social-card .post-thumbnail {
    aspect-ratio: 9/16;
    border-radius: 20px;
    /* Rounded corners */
    overflow: hidden;
    margin-bottom: 0.5rem;
    display: block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.social-card .post-thumbnail img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.social-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.trending-title {
    font-size: 0.9rem;
    line-height: 1.3;
    margin: 0;
}

.trending-title a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

/* Pin Stats (Fire Icon + Views) */
.pin-stats {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #666;
    letter-spacing: 0.5px;
}

.pin-stats svg {
    flex-shrink: 0;
}

.view-count {
    white-space: nowrap;
}

.social-follow-bar {
    margin-top: 1.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    display: flex;
    flex-direction: row;
    /* Horizontal */
    justify-content: space-between;
    /* Title left, Icons right */
    align-items: center;
}

.trending-section {
    text-align: left;
    /* Ensure title is left */
}

.social-follow-bar h3 {
    font-size: 1.25rem;
    margin: 0;
    color: #333;
}

.social-icons-bar {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.social-icons-bar a {
    color: #333;
    transition: color 0.2s, transform 0.2s;
}

.social-icons-bar a:hover {
    color: var(--color-primary);
    transform: translateY(-2px);
}

/* --- FOOTER --- */
/* --- MODERN FOOTER --- */
.site-footer {
    background-color: #1a1a1a;
    /* Dark Charcoal */
    color: #b0b0b0;
    /* Light Gray text */
    padding: 2rem 0 0 0;
    margin-top: 0;
    /* Removed whitespace */
    font-size: 0.95rem;
    border-top: 5px solid var(--color-brand-orange);
    position: relative;
    /* Ensure it stays on top */
    z-index: 10;
}

.footer-newsletter-section {
    padding: 3rem 0;
    text-align: center;
}

.newsletter-content h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.newsletter-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #ccc;
}

.modern-footer-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.modern-footer-form input[type="email"] {
    flex: 1;
    padding: 12px 20px;
    border-radius: 50px;
    border: 1px solid #444;
    background: #000;
    color: #fff;
    font-family: var(--font-body);
}

.modern-footer-form button {
    padding: 12px 30px;
    border-radius: 50px;
    background: var(--color-brand-orange);
    color: #fff;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.modern-footer-form button:hover {
    transform: translateY(-2px);
    background: #fff;
    color: var(--color-brand-orange);
}

.footer-divider {
    height: 1px;
    background: #333;
    margin: 2rem auto;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer-brand-col .site-logo-img {
    opacity: 1;
    height: 90px;
    width: auto;
    margin-top: -20px;
    margin-left: -10px;
    margin-bottom: 0px;
}

.footer-bio {
    line-height: 1.3;
    max-width: 400px;
    font-size: 1.3rem;
    font-family: var(--font-heading);
    color: #fff;
    margin-top: -20px;
    /* Pull slogan up */
    margin-bottom: 15px;
}

.footer-social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 0;
}

.footer-social-icons a {
    color: #fff;
    background: #333;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.footer-social-icons a:hover {
    background: var(--color-brand-orange);
    transform: translateY(-3px);
}

.footer-nav-col h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.footer-nav-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-col li {
    margin-bottom: 0.8rem;
}

.footer-nav-col a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
}

.footer-nav-col a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-bottom-bar {
    border-top: 1px solid #222;
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #666;
}

.legal-links a {
    color: #666;
    text-decoration: none;
    margin-left: 1.5rem;
}

.legal-links a:hover {
    color: #999;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .modern-footer-form {
        flex-direction: column;
    }

    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom-bar {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        align-items: center;
    }

    .legal-links a {
        margin: 0 0.75rem;
    }
}


/* --- ABOUT PAGE --- */
.custom-page-wrap {
    padding: 3rem 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.centered-header {
    text-align: center;
    margin-bottom: 3rem;
    background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('assets/images/about-header-bg.png');
    background-size: cover;
    background-position: center;
    padding: 3rem 1rem;
    /* Compact padding */
    width: 100vw;
    margin-left: calc(50% - 50vw);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.entry-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.entry-subtitle {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.header-divider {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: #ccc;
}

.about-section h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-section p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #444;
}

.section-divider {
    border: 0;
    border-top: 1px solid #eee;
    margin: 3rem 0;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

/* Values List */
.values-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    text-align: center;
}

.values-list li {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.value-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
}

.value-desc {
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
}

.about-signature {
    text-align: center;
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.about-signature h6 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-style: italic;
    margin: 0;
}

.signature-role {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}

/* --- SOCIAL FOLLOW STRIP --- */
.social-follow-strip-wrap {
    margin-top: 4rem;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 1.5rem 0;
}

.social-follow-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.follow-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #333;
}

.follow-strip-right {
    display: flex;
    gap: 1rem;
}

.follow-strip-right a {
    color: #000;
    transition: transform 0.2s;
}

.follow-strip-right a:hover {
    transform: scale(1.1);
}

.follow-strip-sources {
    font-size: 0.65rem;
    color: #666;
    margin-top: 0.5rem;
}

@media (max-width: 600px) {
    .values-list {
        grid-template-columns: 1fr;
    }

    .social-follow-strip {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* --- HARPER BIO SECTION --- */
.harper-bio-section {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.harper-image-col img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.harper-text-col {
    padding-left: 1rem;
}

.bio-quote-icon {
    margin-bottom: 1.5rem;
    opacity: 0.6;
}

.bio-intro {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 2rem;
}

.bio-signature-block {
    margin-top: 1.5rem;
}

.harper-name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #e53935;
    /* Red color from reference */
    margin: 0;
    line-height: 1.2;
}

.harper-role {
    font-size: 0.9rem;
    color: #64748b;
    /* Slate grey */
    font-weight: 500;
}

@media (max-width: 768px) {
    .harper-bio-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .harper-text-col {
        padding-left: 0;
    }

    .harper-image-col {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* --- PHILOSOPHY SECTION --- */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 4rem 0;
}

.philosophy-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
}

.philo-heading {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    display: inline-block;
    border-bottom: 3px solid transparent;
    /* Using border-bottom for the underline effect */
}

.border-pink {
    border-bottom-color: #f9a8d4;
}

/* Pink-300 */
.border-gold {
    border-bottom-color: #fcd34d;
}

/* Amber-300 */
.border-blue {
    border-bottom-color: #93c5fd;
}

/* Blue-300 */

@media (max-width: 768px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* --- CONTACT PAGE --- */
.contact-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #333;
}

.contact-methods {
    text-align: center;
    margin: 3rem 0;
}

.contact-method-item h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-email-link {
    display: inline-block;
    margin-top: 1.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-coral);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}

.contact-email-link:hover {
    color: var(--color-brand-orange);
    border-color: #333;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
    text-align: left;
}

.contact-grid h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
    display: inline-block;
}

/* Form Styles */
.creative-contact-form .form-group {
    margin-bottom: 1.5rem;
}

.creative-contact-form input,
.creative-contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fafafa;
}

.creative-contact-form input:focus,
.creative-contact-form textarea:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
    background: #fff;
}

.submit-btn {
    background: var(--color-primary);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
}

.submit-btn:hover {
    background: var(--color-brand-orange);
}

/* FAQ Accordion Styles */
.faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 1rem;
}

.faq-question {
    list-style: none;
    /* Hide default triangle */
    cursor: pointer;
    padding: 1rem 0;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.icon-toggle::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: #999;
}

details[open] .icon-toggle::after {
    content: '-';
    color: var(--color-coral);
}

.faq-answer {
    padding-bottom: 1.5rem;
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}



/* --- BRAND INTRO SECTION --- */
.brand-intro-section {
    margin-bottom: 4rem;
    width: 100%;
    /* Full Width */
}

.brand-intro-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    border: none;
    /* Removed border */
    background: #fff;
}

/* ... */

.stat-icon {
    font-size: 2rem;
    color: var(--color-brand-orange);
    /* Updated to Brand Red */
}

/* ... */

.intro-user-menu a:hover {
    color: var(--color-brand-orange);
    /* ... */
}

.menu-icon {
    color: var(--color-brand-orange);
    /* Added for menu icons */
}

/* Left Column */
.intro-left-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.intro-text {
    /* Align with site-container: (100vw - container_width) / 2 */
    padding: 3rem 2rem 3rem max(2rem, calc((100vw - 1200px) / 2));
}

.intro-text h2 {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    color: #333;
    font-weight: 400;
    /* Removed bold */
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    max-width: 600px;
}

/* Stats Bar */
/* Stats Bar */
.intro-stats-bar {
    background-color: #91b4fa;
    /* Pastel Blue */
    display: flex;
    justify-content: flex-start;
    /* Start from left */
    align-items: center;
    /* Align with site-container: (100vw - container_width) / 2 */
    padding: 1.5rem 2rem 1.5rem max(2rem, calc((100vw - 1200px) / 2));
    border-top: 1px solid #e5e5e5;
    gap: 4rem;
    /* Space between items */
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    /* Increased to move icon left relative to text */
}

.stat-icon-img {
    width: 40px;
    height: auto;
    display: block;
    /* Fix baseline alignment */
    /* Filter to match #ed2b38 from black */
    filter: invert(28%) sepia(96%) saturate(1832%) hue-rotate(338deg) brightness(91%) contrast(94%);
    transition: transform 0.3s ease;
    /* Smooth animation */
}

.stat-item:hover .stat-icon-img {
    transform: scale(1.15);
    /* Slight zoom on hover */
}

.stat-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Vertically center in the flex item */
    font-size: 0.8rem;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #333;
}

.stat-info strong {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.1;
    color: #000;
}

/* Right Column */
.intro-right-col {
    background-color: #f6f3eb;
    /* Light Beige */
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid #e5e5e5;
}

.intro-signin-header {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.signin-arrow {
    font-size: 1.2rem;
    border: 1px solid #333;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.intro-signin-header a {
    color: #333;
    transition: color 0.2s;
}

.intro-signin-header a:hover {
    color: var(--color-brand-orange);
}

.intro-signin-header a:hover .signin-arrow {
    background: var(--color-brand-orange);
    border-color: var(--color-brand-orange);
    color: #fff;
}

.intro-user-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.intro-user-menu li {
    margin-bottom: 1rem;
}

.menu-icon-img {
    width: 24px;
    height: auto;
    display: block;
    filter: invert(28%) sepia(96%) saturate(1832%) hue-rotate(338deg) brightness(91%) contrast(94%);
    /* Brand Orange */
}

.intro-user-menu a {
    text-decoration: none;
    font-size: 1rem;
    color: #333;
    display: flex;
    align-items: flex-start;
    /* Align to top for multi-line */
    gap: 0.8rem;
    font-family: var(--font-body);
}

.menu-text {
    display: flex;
    flex-direction: column;
}

.menu-desc {
    font-size: 0.75rem;
    color: #666;
    margin-top: 0.2rem;
    font-style: italic;
}

.intro-user-menu a:hover {
    color: var(--color-brand-orange);
    transform: translateX(5px);
    transition: transform 0.2s, color 0.2s;
}

@media (max-width: 900px) {
    .brand-intro-grid {
        grid-template-columns: 1fr;
    }

    .intro-stats-bar {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }

    .intro-right-col {
        border-left: none;
        border-top: 1px solid #e5e5e5;
    }
}

/* --- LATEST STORIES (Revised) --- */
.latest-stories-section {
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.latest-stories-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.latest-stories-header .section-title {
    font-size: 3rem;
    margin-bottom: 0;
    font-weight: 400;
    /* Removed bold */
}

.see-more-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 45px;
    /* Even bigger padding */
    border: 1px solid #333;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 1.1rem;
    /* Bigger font */
    font-weight: 400;
    /* Removed bold */
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}

.see-more-btn:hover {
    background: #ed2b38;
    /* Brand hover color */
    border-color: #ed2b38;
    color: #fff;
}

/* Container for relative positioning of the button */
.latest-stories-container {
    position: relative;
}

/* Scroll Arrow Button */
.scroll-right-btn {
    position: absolute;
    top: 50%;
    right: -25px;
    /* Overhang slightly */
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    outline: none;
}

.scroll-right-btn:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-50%) scale(1.05);
    background-color: #91b4fa;
    /* User requested color */
    border-color: #91b4fa;
}

.scroll-right-btn:hover svg {
    color: #fff;
    /* White icon for better contrast */
}

.scroll-right-btn svg {
    width: 24px;
    height: 24px;
    color: #333;
}

.latest-stories-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(300px, 1fr));
    /* ensure visible cols */
    gap: 0;
    /* remove gap to use borders effectively if needed, or keep for spacing */
    column-gap: 2rem;
    /* Add spacing between cols */
    overflow-x: auto;
    /* Enable scroll */
    scroll-behavior: smooth;
    padding-bottom: 1rem;
    /* Space for scrollbar if visible */
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
    -ms-overflow-style: none;
    /* Hide scrollbar IE */
}

.latest-stories-grid::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

.story-card {
    padding: 0 1.5rem;
    border-right: 1px solid #eee;
    min-width: 300px;
    /* Ensure cards don't shrink */
    display: flex;
    flex-direction: column;
}

.story-card:first-child {
    padding-left: 0;
}

.story-card:last-child {
    border-right: none;
    padding-right: 0;
}

.story-cat {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #333;
    margin-bottom: 1rem;
    display: block;
    letter-spacing: 0.5px;
}

.story-img-link {
    display: block;
    margin-bottom: 1rem;
    overflow: hidden;
}

.story-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.story-card:hover .story-img {
    transform: scale(1.05);
}

.story-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.story-title a {
    color: #333;
    text-decoration: none;
}

.story-meta {
    font-size: 0.85rem;
    color: #666;
    margin-top: auto;
    /* Push to bottom if needed */
    font-style: italic;
}

/* Partner Card specific styles */
.partner-card .story-title {
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 900px) {
    .latest-stories-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .story-card {
        border-right: none;
        padding: 0 !important;
        border-bottom: 1px solid #eee;
        padding-bottom: 2rem !important;
    }

    .story-card:last-child {
        border-bottom: none;
    }

    .latest-stories-header .section-title {
        font-size: 2rem;
    }
}

/* --- FOOTER --- */
/* --- MODERN FOOTER --- */
.site-footer {
    background-color: #1a1a1a;
    /* Dark Charcoal */
    color: #b0b0b0;
    /* Light Gray text */
    padding: 2rem 0 0 0;
    margin-top: 5rem;
    font-size: 0.95rem;
    border-top: 5px solid var(--color-brand-orange);
}

.footer-newsletter-section {
    padding: 3rem 0;
    text-align: center;
}

.newsletter-content h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.newsletter-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #ccc;
}

.modern-footer-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.modern-footer-form input[type="email"] {
    flex: 1;
    padding: 12px 20px;
    border-radius: 50px;
    border: 1px solid #444;
    background: #000;
    color: #fff;
    font-family: var(--font-body);
}

.modern-footer-form button {
    padding: 12px 30px;
    border-radius: 50px;
    background: var(--color-brand-orange);
    color: #fff;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.modern-footer-form button:hover {
    transform: translateY(-2px);
    background: #fff;
    color: var(--color-brand-orange);
}

.footer-divider {
    height: 1px;
    background: #333;
    margin: 2rem auto;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    /* Closer gap */
}

.footer-brand-col .site-logo-img {
    opacity: 1;
    height: 150px;
    /* Updated height */
    width: auto;
    margin-top: -15px;
    /* Pull logo up */
    margin-bottom: 0;
}

.footer-bio {
    line-height: 1.3;
    max-width: 400px;
    font-size: 1.3rem;
    /* Bigger text */
    font-family: var(--font-heading);
    /* Match heading */
    color: #fff;
}

.footer-social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social-icons a {
    color: #fff;
    background: #333;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.footer-social-icons a:hover {
    background: var(--color-brand-orange);
    transform: translateY(-3px);
}

.footer-nav-col h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    /* Unbold */
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.footer-nav-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-col li {
    margin-bottom: 0.8rem;
}

.footer-nav-col a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
}

.footer-nav-col a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-bottom-bar {
    border-top: 1px solid #222;
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #666;
}

.legal-links a {
    color: #666;
    text-decoration: none;
    margin-left: 1.5rem;
}

.legal-links a:hover {
    color: #999;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .modern-footer-form {
        flex-direction: column;
    }

    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom-bar {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        align-items: center;
    }

    .legal-links a {
        margin: 0 0.75rem;
    }
}

.shop-section {
    background-color: #f5f2eb;
    /* Full beige */
    padding: 4rem 0;
    margin-bottom: 0;
    /* Removed whitespace */
    box-shadow: 0 100px 0 #f5f2eb;
    /* Cover any remaining gap */
}

.shop-header-wrapper {
    margin-bottom: 2rem;
}

.shop-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Center button with title */
    margin-bottom: 0.5rem;
}

.shop-header-top .section-title {
    margin-bottom: 0;
    /* Remove bottom margin for alignment */
}

/* Shop header (same as shop-header-top) */
.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.shop-header .section-title {
    margin-bottom: 0;
}

.shop-header .see-more-btn {
    font-size: 0.7rem;
    padding: 0.35rem 1rem;
    margin-top: -0.8rem;
}

.shop-desc {
    max-width: 700px;
    font-size: 1.05rem;
    color: #555;
    line-height: 1.6;
}

.see-more-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #333;
    border-radius: 999px;
    padding: 0.4rem 1.2rem;
    /* Smaller padding */
    color: #333;
    text-decoration: none;
    font-size: 0.75rem;
    /* Smaller font */
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.2s;
}

.see-more-btn:hover {
    background: #333;
    color: #fff;
}

/* Tabs */
.shop-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 2.5rem;
}

.shop-tab {
    background: transparent;
    border: none;
    border-bottom: 4px solid #e5e5e5;
    padding: 1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
    color: #999;
    cursor: pointer;
    transition: all 0.3s;
}

.shop-tab:hover {
    color: #333;
    background: rgba(0, 0, 0, 0.02);
}

.shop-tab.active {
    color: #333;
    background: rgba(0, 0, 0, 0.03);
}

.shop-tab[data-tab="buying-guides"].active {
    background-color: #f0faa2;
    /* Pastel Yellow */
    border-bottom-color: #e0ea92;
    color: #333;
}

.shop-tab[data-tab="gift-ideas"].active {
    background-color: #91b4fa;
    /* Pastel Blue */
    border-bottom-color: #7f9fd6;
    color: #333;
}

.shop-tab[data-tab="sales-deals"].active {
    background-color: #e9a6ff;
    /* Pastel Purple */
    border-bottom-color: #cd8ee0;
    color: #333;
}

/* Grid */
.shop-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    /* Asymmetric grid */
    gap: 2rem;
}

.shop-card {
    background: #f5f2eb;
    /* Match section bg */
    border: none;
    padding: 0;
    transition: transform 0.2s;
    position: relative;
}

.shop-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.shop-img-link {
    display: block;
    overflow: hidden;
}

.shop-img-link img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s;
}

.shop-card:hover .shop-img-link img {
    transform: scale(1.05);
}

.shop-content {
    padding: 1.5rem;
}

.shop-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    line-height: 1.25;
    margin: 0.5rem 0;
}

.shop-title a {
    text-decoration: none;
    color: #000;
}

/* Featured specific */
.featured .featured-img img {
    height: 400px;
    /* Taller */
    object-fit: cover;
}

.shop-badge-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 120px;
    height: 120px;
    z-index: 10;
    pointer-events: none;
}

.best-list-seal {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

/* Right Column */
.shop-col-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.shop-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    border-bottom: 2px solid #000;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
}

.arrow-circle {
    border: 1px solid #000;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.small .small-img img {
    height: 200px;
    object-fit: cover;
}

.small .shop-title {
    font-size: 1.1rem;
}

@media (max-width: 900px) {
    .shop-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Padding Reset */
@media (max-width: 768px) {
    .site-container {
        padding: 0 1rem;
    }
}

/* Force padding for Latest Posts and Footer if overridden elsewhere */
.latest-stories-section,
.footer-newsletter-section,
.footer-main-grid,
.footer-bottom-bar {
    padding-left: 4rem;
    padding-right: 4rem;
}

@media (max-width: 768px) {

    .latest-stories-section,
    .footer-newsletter-section,
    .footer-main-grid,
    .footer-bottom-bar {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-image {
        height: 400px;
        /* Mobile height */
    }
}

/* --- HOMEPAGE TRANSPARENT HEADER --- */
body.home .site-header,
body.front-page .site-header {
    position: absolute;
    top: 2rem;
    /* Moved lower */
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 100;
}

body.home .header-nav-wrap,
body.home .header-top,
body.front-page .header-nav-wrap,
body.front-page .header-top {
    border: none;
    background: transparent;
}

/* White Text Elements */
body.home .site-header a,
body.home .search-pill,
body.home .btn-mood-board,
body.home .menu-toggle,
body.front-page .site-header a,
body.front-page .search-pill,
body.front-page .btn-mood-board,
body.front-page .menu-toggle {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
    /* Semi-transparent borders */
}

body.home .search-pill,
body.home .btn-mood-board,
body.front-page .search-pill,
body.front-page .btn-mood-board {
    background: rgba(255, 255, 255, 0.1);
}

body.home .search-pill:hover,
body.home .btn-mood-board:hover,
body.front-page .search-pill:hover,
body.front-page .btn-mood-board:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Hover Specifics: Text turns Red */
body.home .site-header a:hover,
body.front-page .site-header a:hover,
body.home .search-pill:hover,
body.front-page .search-pill:hover,
body.home .btn-mood-board:hover,
body.front-page .btn-mood-board:hover,
body.home .menu-toggle:hover,
body.front-page .menu-toggle:hover {
    color: #ed2b38;
}

/* Invert Social Icons & Logo to White */
body.home .header-col-right .social-icons a,
body.home .site-branding img,
body.front-page .header-col-right .social-icons a,
body.front-page .site-branding img {
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease, color 0.3s ease;
}

body.home .header-col-right .social-icons a:hover,
body.front-page .header-col-right .social-icons a:hover {
    filter: none;
    /* remove invert so real red color shows */
    color: #ed2b38;
}

/* Specific: Dropdown still needs white background text fix */
body.home .hardcoded-nav li ul.sub-menu,
body.front-page .hardcoded-nav li ul.sub-menu {
    background: rgba(255, 255, 255, 0.6);
    /* More transparent (60%) */
    backdrop-filter: blur(10px);
    /* Frosted glass effect */
}

body.home .hardcoded-nav li ul.sub-menu a,
body.front-page .hardcoded-nav li ul.sub-menu a {
    color: #333;
    /* Keep dropdown text dark */
    transition: color 0.2s;
}

body.home .hardcoded-nav li ul.sub-menu a:hover,
body.front-page .hardcoded-nav li ul.sub-menu a:hover {
    color: #ed2b38;
    /* Red on hover */
}

/* Homepage Hamburger White */
body.home .mobile-menu-toggle,
body.front-page .mobile-menu-toggle,
body.home .mobile-menu-toggle svg,
body.front-page .mobile-menu-toggle svg,
body.home .mobile-menu-toggle line,
body.front-page .mobile-menu-toggle line {
    color: #fff !important;
    stroke: #fff !important;
}


/* --- CATEGORY PAGE TEMPLATE VALUES --- */

/* 1. Beige Header */
.category-header-wrap {
    background-color: #f5f2eb;
    /* Beige */
    padding: 0.5rem 0;
    /* Ultra Thinner */
    margin-bottom: 0;
}

.cat-page-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

/* Search Form */
.cat-search-form-wrap {
    margin-bottom: 1rem;
    max-width: 600px;
}

.cat-search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.cat-search-input {
    width: 100%;
    padding: 0.6rem 1rem 0.6rem 2.8rem;
    /* Compact */
    /* Space for icon */
    border: 1px solid transparent;
    border-radius: 999px;
    background: #fff;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #333;
    outline: none;
    transition: all 0.2s;
}

.cat-search-input:focus {
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

.cat-search-submit {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    padding: 0;
    display: flex;
    align-items: center;
    cursor: pointer;
}

/* Sub Nav Split Layout */
.cat-filter-container {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    /* Subtle divider */
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sub-nav-heading {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #000;
    font-family: var(--font-body);
    /* Lato */
}

.cat-sub-nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.sub-nav-link {
    font-size: 1rem;
    /* Slightly larger readability */
    color: #444;
    text-decoration: none;
    font-family: var(--font-body);
    /* Switch to Lato */
    transition: color 0.2s;
}

.sub-nav-link:hover {
    color: #91b4fa;
    /* Blue hover */
    text-decoration: none;
}

/* Responsive Filters */
@media (max-width: 768px) {
    .cat-filter-container {
        flex-direction: column;
        gap: 2rem;
    }
}

/* 2. Top Guides (Blue) */
.top-guides-section {
    background-color: #a0c4ff;
    /* Blue */
    padding: 1.5rem 0;
    margin-bottom: 4rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.guides-section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 400;
    color: #333;
}

.top-guides-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.guide-card {
    background: #fff;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: transform 0.2s, background 0.2s;
    min-height: 100px;
}

.guide-card:hover {
    transform: translateY(-3px);
    background: #fff;
    /* Keep white */
}

.guide-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    line-height: 1.3;
    font-weight: 500;
    max-width: 85%;
}

.guide-arrow {
    background: #a0c4ff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #333;
    transition: transform 0.2s;
    color: #333;
}

.guide-card:hover .guide-arrow {
    transform: translateX(2px) translateY(-2px);
}

/* 3. Main Content */
.main-cat-content {
    margin-bottom: 4rem;
}

.main-cat-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.main-cat-header-row .section-title {
    margin-bottom: 0;
    border-bottom: none;
    text-align: left;
    font-size: 2.5rem;
}

.text-left {
    text-align: left !important;
}

/* Responsive Category */
@media (max-width: 900px) {
    .top-guides-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .cat-page-title {
        font-size: 2.5rem;
    }

    .top-guides-grid {
        grid-template-columns: 1fr;
    }

    .main-cat-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}


/* --- HOMEPAGE LATEST POSTS CAROUSEL --- */

.latest-stories-container {
    position: relative;
    padding: 0 1rem;
}

.latest-stories-grid {
    display: flex;
    /* Horizontal alignment */
    overflow-x: auto;
    gap: 1.5rem;
    padding-bottom: 2rem;
    /* Space for scrollbar or look */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
}

.latest-stories-grid::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

/* Force cards to have width in flex */
.latest-stories-grid .story-card {
    flex: 0 0 320px;
    /* Fixed width per card */
    width: 320px;
    display: flex;
    flex-direction: column;
}

.latest-stories-grid .story-img-link {
    height: 220px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: block;
}

.latest-stories-grid .story-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.story-card:hover .story-img {
    transform: scale(1.05);
}

/* Carousel Buttons */
.scroll-left-btn,
.scroll-right-btn {
    position: absolute;
    top: 40%;
    /* Center vertically relative to content */
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #333;
}

.scroll-left-btn:hover,
.scroll-right-btn:hover {
    background: #ed2b38;
    color: #fff;
    border-color: #ed2b38;
}

.scroll-left-btn {
    left: -20px;
    /* Pull outside slightly or inline */
}

.scroll-right-btn {
    right: -20px;
}

@media (max-width: 1200px) {
    .scroll-left-btn {
        left: 0;
    }

    .scroll-right-btn {
        right: 0;
    }

    .latest-stories-grid {
        padding: 0 40px;
        /* prevent overlap with buttons */
    }
}


/* --- SINGLE POST TEMPLATE --- */

.single-post-container {
    padding-top: 3rem;
    padding-bottom: 4rem;
}

.single-layout-grid {
    display: grid;
    grid-template-columns: 80px 1fr 300px;
    /* Left Sidebar | Content | Right Sidebar */
    gap: 3rem;
    align-items: start;
    position: relative;
    margin-bottom: 4rem;
}

/* Left Sidebar Sticky */
.single-left-sidebar {
    position: relative;
    height: 100%;
}

.sticky-wrapper {
    position: sticky;
    top: 8rem;
    /* Moved down */
    margin-top: 4rem;
    /* Start pushed down */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Progress Square */
.progress-square-wrap {
    width: 50px;
    height: 50px;
    background: #fff;
    margin-bottom: 1rem;
}

.progress-bar {
    transition: stroke-dashoffset 0.1s linear;
    transform: rotate(-90deg);
    transform-origin: center;
    stroke: #ed2b38;
    /* Red */
}

/* Icons */
.left-icons-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: #fff;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.8rem;
}

.icon-box:hover {
    background: #fcfcfc;
    border-color: #bbb;
    color: #000;
}

.share-box {
    background: #ed2b38;
    /* Red */
    border: none;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.7rem;
    text-align: center;
    line-height: 1;
}

.share-box:hover {
    background: #c41e2a;
    /* Darker Red */
    color: #fff;
}

/* Responsive Hide Left Sidebar */
@media (max-width: 1200px) {
    .single-layout-grid {
        grid-template-columns: 1fr 300px;
        /* Default back to 2 col */
        gap: 2rem;
    }

    .single-left-sidebar {
        display: none;
    }
}

/* Main Column */
.single-article {
    max-width: 100%;
}

.single-post-meta-top {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    font-weight: 700;
}

.single-post-meta-top a {
    color: #ed2b38;
    text-decoration: none;
}

.single-post-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #111;
}

.single-author-block {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    color: #333;
}

.author-avatar img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.author-name {
    font-weight: 700;
    text-decoration: underline;
}

.single-featured-image {
    margin-bottom: 2.5rem;
}

.single-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.entry-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
    font-family: var(--font-body);
}

.entry-content p {
    margin-bottom: 1.5rem;
}

/* Newsletter Box */
.single-newsletter-box {
    background: #ff5e3a;
    /* Orange/Red from reference */
    padding: 2.5rem;
    color: #fff;
    margin-top: 4rem;
    text-align: center;
    border-radius: 2px;
}

.newsletter-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.newsletter-content p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 2px;
}

.newsletter-form button {
    background: #fff;
    color: #ff5e3a;
    border: none;
    padding: 0 1.5rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
}

/* Sidebar */
.site-sidebar {
    padding-top: 1rem;
}

.sidebar-ad-placeholder {
    width: 100%;
    height: 600px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    margin-bottom: 2rem;
    border: 1px dashed #ccc;
}

.widget-title {
    font-size: 1.1rem;
    text-transform: uppercase;
    border-bottom: 2px solid #000;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.trending-list {
    list-style: none;
    padding: 0;
}

/* Sidebar Redesign - Trending */
/* Sidebar Redesign - Trending */
.trending-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.trend-sidebar-card {
    display: flex;
    flex-direction: row;
    /* Side by side */
    gap: 1rem;
    align-items: flex-start;
}

.trend-sidebar-img {
    display: block;
    width: 100px;
    /* Fixed width for small rectangle */
    min-width: 100px;
    height: 100px;
    /* Square or small rectangle */
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 4px;
}

.trend-sidebar-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.trend-sidebar-card:hover .trend-sidebar-img img {
    transform: scale(1.05);
}

.trend-sidebar-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
}

.trend-sidebar-cat {
    background-color: #fdf2f0;
    color: #333;
    padding: 0.15rem 0.4rem;
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 0.1rem;
}

.trend-sidebar-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 0.2rem;
    font-weight: 400;
    /* Unbold */
    color: #111;
}

.trend-sidebar-title a {
    text-decoration: none;
    color: #111;
}

.trend-sidebar-title a:hover {
    color: #ed2b38;
}

.trend-sidebar-excerpt {
    display: none;
    /* Hide excerpt for compact horizontal layout */
}

.trend-read-more {
    background-color: #91b4fa;
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    transition: background 0.2s;
    display: inline-block;
    margin-top: 0.2rem;
}


.trend-read-more:hover {
    background-color: #7f9fd6;
    color: #fff;
    cursor: pointer;
}

/* Related Posts */
.related-posts-section {
    border-top: 1px solid #eee;
    padding-top: 3rem;
}

.related-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-style: normal;
    font-weight: 400;
    /* Remove bold */
    /* Remove italic */
    text-align: center;
    margin-bottom: 2.5rem;
    color: #333;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.related-card {
    text-decoration: none;
    color: #333;
}

.related-img-wrap {
    height: 180px;
    overflow: hidden;
    margin-bottom: 0.8rem;
}

.related-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-card:hover .related-img-wrap img {
    transform: scale(1.05);
}

.related-author {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
    display: block;
    font-weight: 700;
    font-family: var(--font-body);
}

/* --- MOBILE RELATED POSTS & SIDEBAR --- */
@media screen and (max-width: 900px) {

    /* Hide Trending Widget in Sidebar */
    .site-sidebar .sidebar-widget {
        display: none !important;
    }

    /* More to Love Section */
    .related-title {
        font-size: 1.6rem !important;
        /* Reduced */
    }

    .related-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .related-card {
        display: flex !important;
        flex-direction: row;
        align-items: flex-start;
        gap: 1rem;
        text-align: left;
    }

    .related-img-wrap {
        width: 140px !important;
        height: 100px !important;
        flex-shrink: 0;
        margin-bottom: 0 !important;
        border-radius: 4px;
        /* Slight round */
    }

    .related-content {
        flex: 1;
    }

    .related-card-title {
        font-size: 1.1rem !important;
        margin: 0 0 0.3rem 0;
        line-height: 1.3;
    }

    .related-author {
        font-size: 0.7rem;
        color: #666;
    }
}

.related-card-title {
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 400;
    /* Regular weight */
}

/* Responsive Single */
@media (max-width: 900px) {
    .single-layout-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .single-post-title {
        font-size: 2rem;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

/* Footer Responsive Center */
@media (max-width: 768px) {
    .footer-main-grid {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-brand-col,
    .footer-nav-col {
        align-items: center;
        margin: 0 auto;
        text-align: center;
    }

    .footer-nav-col ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-left: 0;
    }

    .footer-social-icons {
        justify-content: center;
    }

    .footer-bottom-bar {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Global Footer Bottom Bar: Vertical Stack */
.footer-bottom-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* --- MOBILE MENU STYLES --- */
.mobile-menu-toggle {
    display: none;
    /* Hidden on desktop */
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #333;
    margin-right: 1rem;
}

@media (max-width: 900px) {
    .mobile-menu-toggle {
        display: block;
    }
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    visibility: visible;
    opacity: 1;
}

.mobile-menu-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.mobile-menu-drawer {
    position: absolute;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 380px;
    height: 100%;
    background: #fff;
    z-index: 2;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu-overlay.active .mobile-menu-drawer {
    transform: translateX(0);
}

.mobile-menu-header {
    padding: 1.5rem;
    display: flex;
    justify-content: flex-start;
    /* Close button left */
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: -0.5rem;
    /* Align flush left */
    color: #000;
}

.mobile-menu-content {
    flex: 1;
    overflow-y: auto;
    padding: 0 2rem 2rem 2rem;
}

.mobile-main-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Mobile Main Nav Item Container */
.mobile-nav-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
    border-bottom: 1px solid #eee;
}

.mobile-nav-item a {
    flex-grow: 1;
    padding: 0.8rem 0;
    font-size: 1.1rem;
    color: #000 !important;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 500;
}

/* Remove old arrow */
.mobile-main-nav li a::after {
    display: none;
}

/* Toggle Arrow Button */
.mobile-submenu-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    padding: 1rem;
    /* Large hit area */
    cursor: pointer;
    line-height: 1;
}

/* Submenu Slide-out Drawer */
.mobile-submenu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 10;
    transform: translateX(100%);
    /* Hidden right */
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.05);
}

.mobile-submenu.active {
    transform: translateX(0);
    /* Slide in */
}

/* Submenu Header (Back button + Title) */
.mobile-submenu-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.mobile-submenu-back {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-right: 0.5rem;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-submenu-back svg {
    width: 28px;
    /* Prominent size */
    height: 28px;
    stroke-width: 1.5;
}

.mobile-submenu-title {
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: #333;
}

/* Submenu Links */
.mobile-submenu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-submenu li a {
    display: block;
    padding: 0.8rem 0;
    font-size: 0.95rem;
    color: #000 !important;
    /* Force Black */
    text-decoration: none;
    border-bottom: 1px solid #f9f9f9;
    font-family: var(--font-body);
}

.mobile-menu-divider {
    height: 1px;
    background: #000;
    margin: 2rem 0;
}

.mobile-secondary-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-secondary-nav li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    font-size: 1.1rem;
    color: #000 !important;
    /* Force Black */
    text-decoration: none;
    font-family: var(--font-body);
}

.mobile-secondary-nav li a::after {
    content: "›";
    font-size: 1.3rem;
    color: #666;
    font-weight: 300;
}

/* Branding */
.mobile-branding-section {
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.mobile-branding-section span {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

/* Footer CTA - Join the Club (Dark) */
.mobile-menu-footer-cta {
    background-color: #151515;
    /* Dark background */
    padding: 1.5rem;
    text-align: center;
    color: #fff;
    margin-top: 2rem;
}

.mobile-cta-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    /* Smaller Headline */
    margin-bottom: 0.6rem;
    color: #fff;
    font-weight: 400;
}

.mobile-cta-desc {
    font-size: 1rem;
    /* Slightly larger */
    margin-bottom: 1.5rem;
    line-height: 1.4;
    color: #fff;
    /* Pure White */
    font-family: var(--font-heading);
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

/* Button Wrap */
.mobile-cta-button-wrap {
    margin-bottom: 3rem;
    width: 100%;
}

.mobile-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ed2b38;
    /* Red Button */
    color: #fff;
    padding: 0.6rem;
    /* Thinner button */
    border: none;
    border-radius: 999px;
    font-weight: 900;
    font-size: 0.9rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    text-decoration: none;
    gap: 5px;
}

.mobile-cta-btn:hover {
    background: #fff;
    /* White on hover */
    color: #000;
    /* Black text */
}

.mobile-cta-logo {
    display: flex;
    justify-content: center;
}

.mobile-cta-logo img {
    filter: brightness(0) invert(1);
    /* Ensure white logo */
    opacity: 1;
}

/* --- SHOP SECTION DESKTOP --- */
.shop-grid {
    display: grid;
    grid-template-columns: 1.6fr 1.2fr;
    gap: 3rem;
    align-items: start;
    width: 100%;
}

.shop-tab-content {
    display: none;
}

.shop-tab-content.active {
    display: grid;
    /* Matches shop-grid */
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.shop-col-left,
.shop-col-right {
    min-width: 0;
    /* Prevent overflow */
}

.shop-card.featured .shop-img-link {
    height: 480px;
    /* Big featured Image */
    display: block;
    overflow: hidden;
    border-radius: 4px;
    /* Standard rounded */
}

.shop-card.small {
    display: flex;
    /* Horizontal on desktop right col? Or stacked? Screenshot showed list */
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: center;
}

.shop-card.small .shop-img-link {
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    border-radius: 4px;
}

.shop-card .shop-img-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.shop-card:hover .shop-img-link img {
    transform: scale(1.05);
}

.shop-list-header {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #333;
}

/* --- MOBILE BRAND INTRO STYLES --- */
@media (max-width: 900px) {

    .shop-grid,
    .shop-tab-content.active {
        display: flex !important;
        flex-direction: column;
        gap: 2rem;
    }

    .shop-card.small {
        margin-bottom: 1.5rem;
    }


    /* Smaller Title on Mobile */
    .intro-text h2 {
        font-size: 1.2rem !important;
        /* Even smaller */
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .intro-text p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* Stats Bar: 3 Columns, Icons Above Text */
    .intro-stats-bar {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        padding: 1.5rem 1rem;
        /* Added left/right padding */
        text-align: center;
    }

    .stat-item {
        display: flex;
        flex-direction: column;
        /* Stack icon and text */
        align-items: center;
        text-align: center;
        gap: 0.5rem;
    }

    .stat-icon-img {
        width: 40px;
        height: 40px;
        margin-bottom: 0.5rem;
    }

    .stat-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 0.75rem;
        line-height: 1.3;
    }

    .stat-info strong {
        font-size: 0.9rem;
        font-weight: 700;
        color: #333;
    }

    /* --- LATEST STORIES MOBILE ALIGNMENT --- */
    /* Move card slightly left */
    .latest-stories-grid {
        margin-left: -10px !important;
        /* Slight offset left */
        justify-content: flex-start !important;
        /* Ensure it starts from left */
    }

    /* --- EXPLORE SECTION MOBILE --- */
    /* Smaller Title */
    .explore-section .section-title {
        font-size: 2rem !important;
        /* Smaller than desktop */
        margin-bottom: 1.5rem;
    }

    /* 3-Column Grid (2 Rows) */
    .explore-grid-modern {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1rem;
    }

    /* Adjust icon size if needed */
    .explore-icon-3d img {
        height: 100px;
        /* Slightly smaller icons for tight grid */
    }

    .explore-card-modern {
        padding: 0.5rem;
        /* Reduce padding */
    }

    .explore-card-modern .label {
        font-size: 0.8rem;
        /* Smaller label */
    }

    /* --- TRENDING SOCIAL SECTION MOBILE --- */
    .trending-section .section-title {
        font-size: 2rem !important;
        margin-bottom: 1.5rem;
    }

    .trending-grid-4-col {
        display: flex !important;
        /* Override grid */
        flex-wrap: nowrap !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        scrollbar-width: none;
        /* Hide scrollbar Firefox */
        justify-content: flex-start !important;
        /* Align start for scroll */
        gap: 1.5rem;
        /* More gap */
        padding-left: 0.5rem;
        padding-right: 2rem;
        /* End padding */
        padding-top: 1.5rem;
        /* Space for the floating number */
        padding-bottom: 1.5rem;
    }

    .trending-grid-4-col::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar Chrome/Safari */
    }

    .social-card {
        flex: 0 0 220px;
        /* Bigger Width */
        text-align: left;
        position: relative;
        overflow: visible !important;
        /* Allow number to pop out */
    }

    .social-card .post-thumbnail {
        border-radius: 12px;
        height: 350px;
        /* Taller height (Pin style) */
        display: block;
        overflow: hidden;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .social-card .post-thumbnail img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

    /* Number Badge Styling */
    .social-number {
        top: -15px;
        /* Floating above */
        left: 0;
        background-color: #a5c2f5 !important;
        color: #000;
        width: 30px;
        /* Bigger badge */
        height: 30px;
        font-size: 0.9rem;
        border: 1px solid #333;
        z-index: 20;
    }

    .trending-title {
        display: block !important;
        /* Show title */
        font-size: 0.85rem;
        /* Small size */
        margin-top: 0.8rem;
        line-height: 1.3;
        font-weight: 600;
        color: #333;
        font-family: var(--font-body);
    }

    .trending-title a {
        text-decoration: none;
        color: #333;
    }

    /* --- SHOP SECTION MOBILE --- */
    .shop-section .section-title {
        font-size: 2rem !important;
        /* Smaller Title */
        margin-bottom: 1rem;
    }

    /* Tabs Styling */
    .shop-tabs {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        /* 3 Equal Columns */
        gap: 0;
        margin-bottom: 2rem;
        border-bottom: none;
    }

    .shop-tab {
        background: none;
        border: none;
        padding: 0.8rem 0.2rem;
        /* Tight padding to fit */
        font-family: var(--font-heading);
        font-weight: 700;
        font-size: 0.75rem;
        /* Smaller text */
        cursor: pointer;
        text-transform: uppercase;
        color: #000;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

    /* Tab 1: THE BEST LIST - Pastel Blue */
    .shop-tab[data-tab="buying-guides"],
    .shop-tab[data-tab="buying-guides"]:hover,
    .shop-tab[data-tab="buying-guides"].active {
        background-color: #91b4fa !important;
        border-radius: 10px 0 0 0;
        color: #000;
    }

    /* Tab 2: SALES & DEALS - Pastel Yellow */
    .shop-tab[data-tab="sales-deals"],
    .shop-tab[data-tab="sales-deals"]:hover,
    .shop-tab[data-tab="sales-deals"].active {
        background-color: #f0faa2 !important;
        border-bottom: none;
        color: #000;
    }

    /* Tab 3: GIFT GUIDE - Pastel Purple */
    .shop-tab[data-tab="gift-ideas"],
    .shop-tab[data-tab="gift-ideas"]:hover,
    .shop-tab[data-tab="gift-ideas"].active {
        background-color: #e9a6ff !important;
        border-bottom: none;
        border-radius: 0 10px 0 0;
        color: #000;
    }

    /* Remove generic active/hover effects */
    .shop-tab.active {
        filter: none;
    }
}

/* --- NEWSLETTERS PAGE --- */
.newsletters-page {
    background-color: var(--color-beige);
    /* Force beige background */
    padding-bottom: 4rem;
    min-height: 100vh;
}

/* Header Section: Split */
.nl-header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.nl-brand-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nl-main-logo {
    width: 60px;
    /* Adjust size */
    height: auto;
}

.nl-page-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 400;
    margin: 0;
    line-height: 1;
}

.nl-grid-preview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    /* Placeholder grid styling */
}

.nl-card {
    background: #fff;
    width: 120px;
    height: 160px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    /* Placeholder styling */
    background-image: linear-gradient(to bottom, #eee 50%, #fff 50%);
}

.card-1 {
    transform: rotate(-5deg) translateY(10px);
}

.card-2 {
    transform: rotate(5deg) translateY(-10px);
}

.card-3 {
    transform: rotate(-3deg);
}

.card-4 {
    transform: rotate(2deg);
}

/* Signup Section */
.nl-signup-section {
    text-align: center;
    padding: 3rem 2rem;
    background: transparent;
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.nl-heading {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #111;
}

.nl-subheading {
    font-size: 1rem;
    color: #444;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.nl-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.nl-input {
    padding: 12px 20px;
    width: 100%;
    max-width: 350px;
    border: 1px solid #ddd;
    border-radius: 4px;
    /* Simpler, cleaner look */
    font-size: 1rem;
}

.nl-submit-btn {
    display: none;
    /* Hidden as per request 'click subscribe', assume imply or inline text? Reference shows 'click subscribe' in text. I'll add a simple button anyway for UX */
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nl-header-section {
        flex-direction: column;
        text-align: center;
    }

    .nl-brand-wrap {
        flex-direction: column;
        margin-bottom: 2rem;
    }

    .nl-grid-preview {
        display: none;
        /* Hide illustrative grid on small mobile if cluttered */
    }
}

/* =================================================================
   NEWSLETTER PAGE REDESIGN - CLEAN & ON-BRAND
   ================================================================= */

.newsletters-page {
    background-color: #fff !important;
    min-height: 100vh;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}


.nl-hero-section {
    background-color: #fff;
    padding: 4rem 0;
    border-bottom: none;
}

.nl-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.nl-hero-left {
    flex: 0 0 40%;
}

.nl-brand-combo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nl-hero-logo {
    width: 80px;
    height: auto;
}

.nl-hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 400;
    margin: 0;
    color: #111;
    line-height: 1;
}

.nl-hero-right {
    flex: 1;
}

.nl-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.nl-preview-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: 220px;
    transition: transform 0.2s ease;
}

.nl-preview-card:hover {
    transform: translateY(-5px);
}

.nl-card-header {
    background: #f5f5f5;
    padding: 1rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.nl-card-content {
    padding: 1rem;
    background: linear-gradient(to bottom, #fafafa 0%, #fff 100%);
    height: calc(100% - 45px);
}

/* Newsletter Selection Section */
.nl-selection-section {
    background-color: #fff;
    padding: 3rem 0 4rem 0;
}

.nl-selection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.nl-option-card {
    background: transparent;
    padding: 0;
}

.nl-option-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.3rem 0;
    color: #111;
}

.nl-option-freq {
    font-size: 0.85rem;
    color: #666;
    margin: 0 0 0.8rem 0;
    font-style: italic;
}

.nl-option-desc {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.5;
    margin: 0 0 1rem 0;
}

.nl-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.nl-checkbox {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #000;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    background: #fff;
}

.nl-checkbox:checked {
    background: #000;
}

.nl-checkbox:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}

.nl-checkbox-custom {
    display: none;
}

.nl-preview-link {
    color: #ff6600;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.nl-preview-link:hover {
    color: #d63600;
    text-decoration: underline;
}

.nl-selection-footer {
    text-align: center;
}

.nl-main-subscribe-btn {
    padding: 14px 50px;
    background-color: #ffb3b3;
    color: #000;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: var(--font-body);
}

.nl-main-subscribe-btn:hover {
    background-color: #ff9999;
}

/* Signup Final Section */
.nl-signup-final {
    background-color: #fff;
    padding: 3rem 0 3rem 0;
}

.nl-signup-final .nl-signup-box {
    max-width: 700px;
    margin: 0 auto;
}

.nl-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin: 0;
    font-family: var(--font-body);
}

.nl-content-wrap {
    padding: 4rem 2rem;
    max-width: 900px;
}

.nl-signup-box {
    background: #fff;
    border: 2px solid #000;
    padding: 3rem 2.5rem;
    text-align: center;
    margin-bottom: 0;
}

.nl-box-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin: 0 0 1rem 0;
    color: #111;
}

.nl-box-desc {
    font-size: 1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.nl-form-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.nl-email-input {
    padding: 14px 20px;
    width: 100%;
    max-width: 350px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 1rem;
    font-family: var(--font-body);
}

.nl-submit-button {
    padding: 14px 40px;
    background-color: var(--color-brand-orange);
    color: #fff;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: var(--font-body);
}

.nl-submit-button:hover {
    background-color: #d63600;
}

.nl-privacy-note {
    font-size: 0.85rem;
    color: #999;
    margin-top: 1rem;
    margin-bottom: 0;
}

.nl-benefits-section {
    margin-bottom: 3rem;
}

.nl-benefits-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    color: #111;
}

.nl-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.nl-benefit-item {
    text-align: center;
}

.nl-benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.nl-benefit-item h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin: 0 0 0.5rem 0;
    color: #111;
}

.nl-benefit-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.nl-trending-section {
    background-color: #f9f9f9;
    padding: 4rem 0;
    border-top: 1px solid #eee;
}

.nl-stories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.nl-story-card {
    background: #fff;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.nl-story-card:hover {
    transform: translateY(-4px);
}

.nl-story-image {
    display: block;
    overflow: hidden;
    margin-bottom: 1rem;
}

.nl-story-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.nl-story-content {
    padding: 0;
}

.nl-story-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.nl-story-title a {
    color: #111;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nl-story-title a:hover {
    color: var(--color-brand-orange);
}

.nl-story-excerpt {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 900px) {
    .nl-main-title {
        font-size: 2.5rem;
    }

    .nl-benefits-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nl-stories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .nl-signup-box {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 600px) {
    .nl-stories-grid {
        grid-template-columns: 1fr;
    }

    .nl-form-group {
        flex-direction: column;
    }

    .nl-email-input {
        max-width: 100%;
    }
}

/* =================================================================
   COMMUNITY FORUM PAGE
   ================================================================= */

.community-page {
    background-color: #fff;
}

/* Hero Section */
.community-hero {
    background-color: #f9f9f9;
    padding: 2rem 0;
    /* Reduced from 4rem */
}

.community-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.community-hero-left {
    flex: 1;
}

.community-hero-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 400;
    margin: 0 0 1.5rem 0;
    color: #111;
    line-height: 1.2;
}

.community-hero-desc {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin: 0 0 2rem 0;
}

.community-start-btn {
    display: inline-block;
    padding: 14px 30px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    border-radius: 50px;
    transition: background-color 0.3s ease;
}

.community-start-btn:hover {
    background-color: #333;
}

.community-hero-right {
    flex: 0 0 300px;
}

.community-hero-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Welcome Banner */
.community-welcome-banner {
    background: linear-gradient(135deg, #e4d7f4 0%, #f0ebff 100%);
    padding: 2rem 0;
    text-align: center;
}

.community-welcome-banner h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin: 0 0 0.5rem 0;
    color: #111;
}

.community-welcome-banner p {
    font-size: 1rem;
    color: #333;
    margin: 0 0 1.5rem 0;
}

.community-banner-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.community-signin-btn,
.community-register-btn {
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.community-signin-btn {
    background-color: #000;
    color: #fff;
}

.community-signin-btn:hover {
    background-color: #333;
}

.community-register-btn {
    background-color: transparent;
    color: #000;
    border: 2px solid #000;
}

.community-register-btn:hover {
    background-color: #000;
    color: #fff;
}

/* Main Layout */
.community-main {
    padding: 4rem 0;
}

.community-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

/* Discussions */
.community-section-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 0.5rem 0;
}

.community-section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 2rem 0;
    color: #111;
}

.community-thread-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.community-thread {
    display: flex;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.thread-thumbnail {
    flex: 0 0 100px;
}

.thread-thumbnail img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.thread-content {
    flex: 1;
}

.thread-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 0.8rem 0;
    line-height: 1.3;
}

.thread-title a {
    color: #111;
    text-decoration: none;
    transition: color 0.2s ease;
}

.thread-title a:hover {
    color: var(--color-brand-orange);
}

.thread-meta {
    font-size: 0.9rem;
    color: #666;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.thread-meta span {
    position: relative;
}

.thread-meta span:not(:last-child)::after {
    content: '·';
    margin-left: 1rem;
}

/* Sidebar */
.community-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.community-widget {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
    color: #111;
}

.community-categories {
    list-style: none;
    margin: 0;
    padding: 0;
}

.community-categories li {
    margin-bottom: 0.8rem;
}

.community-categories a {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.community-categories a:hover {
    color: var(--color-brand-orange);
}

/* Signup Widget */
.community-signup-widget {
    background: linear-gradient(135deg, #fff9b3 0%, #fffde0 100%);
}

.community-signup-widget p {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.5;
    margin: 0 0 1.5rem 0;
}

.community-signup-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    border-radius: 50px;
    transition: background-color 0.3s ease;
}

.community-signup-btn:hover {
    background-color: #333;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .community-hero-inner {
        flex-direction: column;
    }

    .community-hero-title {
        font-size: 2.5rem;
    }

    .community-layout {
        grid-template-columns: 1fr;
    }

    .community-thread {
        flex-direction: column;
    }

    .thread-thumbnail {
        flex: 0 0 auto;
    }
}

/* =================================================================
   MOBILE & TABLET HEADER STYLES
   ================================================================= */

@media (max-width: 1024px) {

    /* Header Top Bar */
    .header-top {
        padding: 1rem 0;
    }

    /* Search Pill */
    .search-pill {
        color: #000 !important;
        font-size: 1rem !important;
    }

    .search-pill svg {
        stroke: #000 !important;
        width: 20px !important;
        height: 20px !important;
    }

    /* Mobile Menu Toggle */
    .mobile-menu-toggle {
        color: #000 !important;
        margin-left: 15px !important;
    }

    .mobile-menu-toggle svg {
        stroke: #000 !important;
        width: 24px !important;
        height: 24px !important;
    }

    /* Logo */
    .site-logo-img {
        height: 50px !important;
    }

    /* Social Icons */
    .social-icons a {
        color: #000 !important;
    }

    .social-icons svg {
        stroke: #000 !important;
        fill: #000 !important;
        width: 20px !important;
        height: 20px !important;
    }

    /* Hide Mobile Search Bar */
    .mobile-menu-search {
        display: none !important;
    }

    /* Mobile Dropdown Submenus */
    .mobile-submenu {
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .has-mobile-sub.submenu-open .mobile-submenu {
        max-height: 500px;
    }

    .mobile-submenu-header {
        display: none !important;
    }

    .mobile-submenu ul {
        padding-left: 2.5rem !important;
        margin-top: 0 !important;
        margin-bottom: 0.5rem !important;
    }

    .mobile-submenu ul li {
        padding: 0.3rem 0 !important;
    }

    .mobile-submenu ul li a {
        color: #666 !important;
        font-size: 0.95rem !important;
    }

    .mobile-submenu ul li a:hover {
        color: #ed2b38 !important;
    }

    /* Main menu item hover */
    .mobile-nav-item a:hover {
        color: #ed2b38 !important;
    }

    .mobile-submenu-toggle {
        display: block !important;
        transform: rotate(0deg);
        transition: transform 0.3s ease;
    }

    .has-mobile-sub.submenu-open .mobile-submenu-toggle {
        transform: rotate(90deg);
    }

    /* Footer Logo - Toggle */
    .desktop-logo {
        display: none !important;
    }

    .mobile-logo {
        display: inline-block !important;
        height: auto !important;
        max-height: 100px !important;
        width: auto !important;
        margin-bottom: 0.5rem;
    }

    /* Smaller Tagline */
    .site-footer .footer-bio {
        font-size: 1.2rem !important;
        line-height: 1.4;
        margin-top: 1rem;
    }

    /* Category Page Mobile Refinements */
    .cat-page-title {
        font-size: 2.5rem !important;
        /* Smaller Title */
    }

    .filter-section h3 {
        font-size: 0.8rem !important;
        /* Smaller Filter Headers */
        margin-bottom: 0.5rem !important;
    }

    .filter-links a {
        font-size: 0.9rem !important;
        /* Smaller Filter Links */
    }

    /* Reduce spacing in filter section */
    .filter-section {
        margin-bottom: 1.5rem !important;
    }
}

/* Global: Hide Mobile Logo on Desktop */
.mobile-logo {
    display: none;
}

/* Category Page Subcategory Layout */
.subcat-section {
    margin-bottom: 4rem;
    /* Spacing between subcat blocks */
}

/* Force Post Category Link Color (Green to Orange) */
.post-cat a {
    color: #ed2b38 !important;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.post-cat a:hover {
    color: #000 !important;
}

/* --- USER REQUESTS (Font Size & Spacing) --- */
.intro-user-menu .menu-title {
    font-size: 1.3rem !important;
    /* Increased font size */
    line-height: 1.2;
}

.intro-user-menu .menu-desc {
    font-size: 0.95rem !important;
    /* Slightly larger description */
}

.intro-user-menu li {
    margin-bottom: 2rem !important;
    /* Added space between items */
}

/* --- MOBILE SOCIAL ICONS REDESIGN --- */
.mobile-social-row {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
}

.mobile-social-row a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #000;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-social-row a svg {
    position: relative;
    z-index: 1;
    stroke: white !important;
}

/* Instagram */
.mobile-social-row a[aria-label="Instagram"] svg {
    stroke: white !important;
}

/* Pinterest */
.mobile-social-row a[aria-label="Pinterest"] svg {
    fill: white !important;
    stroke: none !important;
}

/* YouTube */
.mobile-social-row a[aria-label="YouTube"] svg {
    stroke: white !important;
    fill: white !important;
}

/* Facebook */
.mobile-social-row a[aria-label="Facebook"] svg {
    stroke: white !important;
}

/* Hover Effects - Orange */
.mobile-social-row a:hover {
    background: #ed2b38;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(237, 43, 56, 0.3);
}

/* --- TRENDING SECTION SOCIAL NUMBERS --- */
.trending-item {
    position: relative;
}

@media screen and (max-width: 900px) {
    .social-number {
        position: absolute;
        top: -8px;
        left: -8px;
        background: var(--color-sky);
        width: 15px;
        height: 15px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.55rem;
        font-weight: 700;
        color: #fff;
        z-index: 999;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }
}

/* --- CATEGORY PAGE HOVER EFFECTS --- */
.latest-grid-3-col .grid-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    background: #fff;
    /* Ensure it stands out against background */
    overflow: hidden;
}

.latest-grid-3-col .grid-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    cursor: pointer;
}

/* Subtle Image Zoom Out */
.latest-grid-3-col .grid-item .post-thumbnail img {
    transition: transform 0.5s ease;
    width: 100%;
    display: block;
    transform: scale(1.1);
    /* Start zoomed in */
}

.latest-grid-3-col .grid-item:hover .post-thumbnail img {
    transform: scale(1.0);
    /* Zoom out to normal */
}

/* --- MOBILE SEARCH BAR (NEW) --- */
.mobile-search-bar-wrap {
    display: none;
    padding: 0 1rem 1rem 1rem;
    background: transparent;
}

.mobile-search-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #333;
    border-radius: 50px;
    padding: 8px 16px;
    width: 100%;
    margin: 0 auto;
    background: #fff;
    transition: box-shadow 0.2s ease;
}

.mobile-search-pill:focus-within {
    box-shadow: 0 0 0 2px rgba(51, 51, 51, 0.1);
}

.mobile-search-pill svg {
    flex-shrink: 0;
    color: #333;
}

.search-field-mobile {
    border: none;
    background: transparent;
    font-size: 0.95rem;
    width: 100%;
    outline: none;
    font-family: var(--font-body);
    color: #333;
    padding: 0;
}

/* Show on Mobile/Tablet */
@media screen and (max-width: 900px) {
    .mobile-search-bar-wrap {
        display: block;
        margin-top: 10px;
        /* Spacing below logo */
    }

    /* Center Latest Posts on Mobile */
    .latest-grid-3-col {
        justify-content: center;
        /* Center the grid tracks */
    }

    .latest-grid-3-col .grid-item {
        margin: 0 auto;
        /* Ensure specific max-width if needed to look like card */
        max-width: 100%;
    }
}

/* --- SINGLE POST: EXTRA SECTIONS (TOC & OVERVIEW) --- */
.post-extra-sections {
    margin-bottom: 3rem;
    max-width: 800px;
    /* Keep it contained like content */
}

/* In This Article */
.in-this-article-section {
    background-color: #f5f0e6;
    /* Beige Background */
    padding: 2.5rem;
    /* Add padding for box */
    margin-bottom: 2.5rem;
    border-radius: 4px;
    /* Soft edges */
    border: none;
    /* Removed lines for clean box */
}

.ita-header {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    /* Reduced from 1.8 */
    font-weight: 400;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    color: #111;
}

.ita-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ita-list li {
    margin-bottom: 0.6rem;
    /* Tighter spacing */
}

.ita-list li a {
    font-size: 1rem;
    /* Reduced from 1.15 */
    color: #333;
    text-decoration: none;
    line-height: 1.4;
    display: block;
    transition: color 0.2s;
}

.ita-list li a {
    font-size: 1rem;
    /* Reduced from 1.15 */
    color: #333;
    text-decoration: none;
    line-height: 1.4;
    display: block;
    transition: color 0.2s;
}

.ita-list li a:hover {
    color: #ed2b38;
    /* Red hover */
    text-decoration: underline;
}

/* Show More Button (Text Style) */
#ita-show-more-btn {
    background: none;
    border: none;
    padding: 0;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #888;
    /* Gray text */
    cursor: pointer;
    text-transform: uppercase;
    display: inline-block;
    transition: color 0.2s;
}

#ita-show-more-btn:hover {
    color: #333;
    /* Darker on hover */
}

/* --- USER REQUEST: UNPIN HEADER GLOBALLY ON MOBILE --- */
@media screen and (max-width: 900px) {
    /* ... existing header rules ... */

    /* 1. Full Width Featured Image (Wild) */
    .single-featured-image {
        margin-left: -1rem !important;
        margin-right: -1rem !important;
        width: calc(100% + 2rem) !important;
        border-radius: 0 !important;
    }

    .single-featured-image img {
        border-radius: 0 !important;
        width: 100% !important;
    }

    /* 2. Reduced Font Sizes */
    .single-post-title {
        font-size: 1.8rem !important;
        /* Reduced from 3rem */
        line-height: 1.2;
    }

    .single-post-meta-top {
        font-size: 0.7rem !important;
        /* Category/Breadcrumb */
    }

    .single-author-block {
        font-size: 0.85rem !important;
        /* Date & Publisher */
    }

    /* Ensure author name inside block is also scaled if needed */
    .author-name {
        font-size: 0.85rem !important;
    }

    .site-header {
        position: relative !important;
        /* Unpin header (Internal Pages) */
    }

    /* Homepage: Overlay (Absolute) to be visible over hero, but Unpinned (Scrolls) */
    body.home .site-header {
        position: absolute !important;
        top: 0;
        left: 0;
        width: 100%;
    }

    /* Fix for WP Admin Bar on Mobile Homepage */
    body.admin-bar.home .site-header {
        top: 32px !important;
        /* Move down for admin bar */
    }

    /* WP Admin Bar is usually 46px on mobile, but let's check standard behavior */
    @media screen and (max-width: 782px) {
        body.admin-bar.home .site-header {
            top: 46px !important;
        }
    }

    body {
        padding-top: 0 !important;
        /* Remove compensation padding */
    }

    /* Mobile Scroll Indicator (Trending) */
    .mobile-scroll-indicator {
        display: block;
        animation: bounceRight 1.5s infinite;
        color: var(--color-brand-orange);
    }

    @keyframes bounceRight {

        0%,
        100% {
            transform: translateX(0);
        }

        50% {
            transform: translateX(5px);
        }
    }
}

/* Hide Scroll Indicator on Desktop */
.mobile-scroll-indicator {
    display: none;
}

/* --- USER REQUEST: REMOVE WHITE SPACE ON CATEGORY & PAGES (DESKTOP) --- */
@media screen and (min-width: 901px) {

    body.category,
    body.archive,
    body.page:not(.home),
    body.page-template-page-community {
        padding-top: 80px !important;
        /* Reduced from 118px */
    }

    /* Force Homepage Reset (Fix for reported issue) */
    body.home {
        padding-top: 0 !important;
    }

    body.home .site-header {
        position: absolute !important;
        background: transparent !important;
        box-shadow: none !important;
        top: 0;
    }
}