/* Generated by execution/build_front_css_bundle.py. Do not edit directly. */

/* Source: assets/css/base/_variables.css */
:root {
    /* Palette */
    --color-bg: #F5F3EF;
    --color-primary: #3E4C5A;
    --color-secondary: #22D3C5;
    --color-accent: #2563EB;
    --color-text: #2B2B2B;
    --color-white: #FFFFFF;
    --color-card-bg: #FFFFFF;
    --color-light-gray: #E5E5E5;
    --glass-bg: rgba(255, 255, 255, 0.7);

    /* Typography - Overridden by Admin Theme Settings */
    /* --font-heading: 'Cormorant Garamond', serif; */
    /* --font-body: 'Inter', sans-serif; */

    /* Spacing */
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;

    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;

    /* Breakpoints */
    --breakpoint-xs: 480px;
    --breakpoint-sm: 768px;
    --breakpoint-md: 1024px;
    --breakpoint-lg: 1280px;

    /* Nav Font Logic (To be overridden by inline styles in header.php) */
    --font-nav: var(--font-body);
}

/* Source: assets/css/base/_reset.css */
/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Source: assets/css/base/_typography.css */
/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-md);
}

/* Source: assets/css/layout/_header.css */
/* Header */
.site-header {
    background-color: var(--color-card-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 2000;
    /* Increased to be above almost everything */
}

.header-top {
    border-bottom: 1px solid var(--color-light-gray);
    padding: 0.8rem 0;
}

.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-bottom {
    padding: calc(var(--spacing-md) / 2) 0;
    background-color: var(--color-card-bg);
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
}

.logo span {
    color: var(--color-secondary);
}

/* Nav Styles Logic */
/* Classic (Default) relies on standard .header-top/.header-bottom */
.site-header.nav-layout-classic .main-nav a {
    font-weight: 700;
}

/* Bold (Primary Color Background) */
.site-header.nav-layout-bold {
    background-color: var(--color-primary);
    color: var(--color-text);
    /* Use theme text color for better contrast on light primaries */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.site-header.nav-layout-bold .logo a {
    color: var(--color-text);
}

.site-header.nav-layout-bold .main-nav a {
    color: var(--color-text);
    font-weight: 700;
    /* Extra bold for "Bold" layout */
}

.site-header.nav-layout-bold .main-nav a:hover {
    color: var(--color-secondary);
    /* Accent on hover */
    opacity: 0.8;
}

.site-header.nav-layout-bold .search-form input {
    color: var(--color-text);
    border-bottom-color: rgba(0, 0, 0, 0.2);
}

.site-header.nav-layout-bold .search-form input::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.site-header.nav-layout-bold .search-form button {
    color: var(--color-text);
}

/* Divided (Separators) */
.site-header.nav-layout-divided {
    border-bottom: 2px solid var(--color-primary);
}

.site-header.nav-layout-divided .main-nav .nav-list {
    gap: 0;
}

.site-header.nav-layout-divided .main-nav .nav-list li {
    border-right: 1px solid var(--color-light-gray);
    padding: 0 1.5rem;
}

.site-header.nav-layout-divided .main-nav .nav-list li:first-child {
    border-left: 1px solid var(--color-light-gray);
}


/* Inline (Single Row) */
.site-header.nav-layout-inline {
    background-color: var(--color-card-bg);
}

.site-header.nav-layout-inline .header-inline {
    display: flex;
}

.site-header.nav-layout-inline .search-form input {
    /* More compact search */
    border: none;
    border-bottom: 2px solid var(--color-light-gray);
    background: transparent;
}

.site-header.nav-layout-inline .search-form input:focus {
    border-color: var(--color-secondary);
}

/* Boxed (Floating) */
/* Requires wrapping or margins on site-header when boxed */
.site-header.nav-layout-boxed {
    background: transparent;
    /* Let body bg shine through around box */
    box-shadow: none;
    /* Shadow is on inner container */
    padding: 1rem 0;
    /* Add space around */
    position: sticky;
    top: 0;
}

.site-header.nav-layout-boxed .header-inline {
    background-color: var(--color-card-bg);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    /* Strong shadow for lifting effect */
    border: 1px solid rgba(0, 0, 0, 0.03);
    max-width: var(--container-width);
    margin: 0 auto;
}

/* Centered */
.site-header.nav-layout-centered .header-centered {
    position: relative;
    /* Clean overrides for main-nav in centered mode */
}

.site-header.nav-layout-centered .main-nav .nav-list {
    justify-content: center;
}

.site-header.nav-layout-centered {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

/* Minimal */
.site-header.nav-layout-minimal {
    padding: 0;
}

.site-header.nav-layout-minimal .minimal-nav-overlay {
    display: none;
    /* Hidden by default */
}

.mobile-menu-open .site-header.nav-layout-minimal .minimal-nav-overlay {
    /* Reuse existing mobile menu logic or create off-canvas */
    display: block;
    position: fixed;
    top: 80px;
    /* Below header */
    left: 0;
    width: 100%;
    background: var(--color-bg);
    padding: 2rem;
    height: calc(100vh - 80px);
    border-top: 1px solid var(--color-light-gray);
    overflow-y: auto;
}

.mobile-menu-open .site-header.nav-layout-minimal .main-nav .nav-list {
    flex-direction: column;
    align-items: center;
    font-size: 1.5rem;
    gap: 1.5rem;
}

/* Navigation */
.main-nav {
    width: 100%;
}

.main-nav .nav-list {
    display: flex;
    gap: var(--spacing-xl);
    justify-content: center;
    width: 100%;
}

.main-nav a {
    font-family: var(--font-nav);
    /* Use dynamic nav font */
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-card-bg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid #eee;
    border-radius: 4px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease-in-out;
    padding: 0.5rem 0;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    text-transform: none;
    border-bottom: 1px solid #f5f5f5 !important;
    white-space: nowrap;
    color: var(--color-text);
}

.dropdown-menu a:hover {
    background-color: #f9f9f9;
    color: var(--color-secondary);
    padding-left: 1.8rem;
}

.nav-cta > a {
    background-color: var(--color-primary);
    color: var(--color-white) !important;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nav-cta > a:hover {
    background-color: var(--color-accent);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    z-index: 3000;
    /* Extremely high to stay above any backdrop */
    position: relative;
    /* Ensure z-index works */
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--color-primary);
    transition: 0.3s;
}

/* Menu Toggle Animation */
.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* RESPONSIVE HEADER */
@media (max-width: 1024px) {
    .menu-toggle {
        display: flex;
    }

    .header-top-inner {
        padding: 0 1rem;
    }

    /* Hidden by default on mobile - Only for classic layouts */
    body:not(.nav-lulu):not(.nav-split) .nav-list {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--color-card-bg);
        flex-direction: column;
        justify-content: flex-start !important;
        align-items: flex-start;
        padding: 80px 2rem 2rem;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 2100;
        gap: 1rem !important;
        overflow-y: auto;
    }

    body.mobile-menu-open {
        overflow: hidden;
    }

    body.mobile-menu-open:not(.nav-lulu):not(.nav-split) .nav-list {
        display: flex !important;
        right: 0;
    }

    .nav-list li {
        width: 100%;
    }

    .nav-list a {
        font-size: 1.1rem;
        display: block;
        padding: 0.5rem 0;
        width: 100%;
        color: var(--color-text);
    }

    /* Dropdowns on mobile */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: 1rem;
        display: none;
        width: 100%;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }
}

@media (max-width: 768px) {
    .header-top {
        padding: 0.5rem 0;
    }

    .logo a {
        font-size: 1.4rem;
    }
}

/* Source: assets/css/layout/_header-lulu.css */
/* =========================================
   LULU STYLE NAVIGATION (Capsule Design)
   ========================================= */

/* Base Header */
body.nav-lulu .header-lulu-container {
    padding: 0;
    background: transparent;
}

body.nav-lulu .lulu-flex-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
}

body.nav-lulu .site-header {
    background: var(--color-bg);
    box-shadow: none;
    border-bottom: none;
    padding: 0.5rem 0;
}

/* 1. Logo (Left) */
body.nav-lulu .logo {
    flex-shrink: 0;
    margin-right: 2rem;
}

body.nav-lulu .logo a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
}

body.nav-lulu .logo img {
    max-height: 50px;
}

/* 2. Menu Container ("Soft Square" Card) */
body.nav-lulu .lulu-nav-capsule {
    display: flex;
    align-items: center;
    background: var(--color-card-bg);
    padding: 0.8rem 2rem;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--color-primary), transparent 85%);
    border-bottom: 2px solid color-mix(in srgb, var(--color-primary), transparent 60%);
    box-shadow:
        0 2px 4px -1px color-mix(in srgb, var(--color-text), transparent 85%),
        0 4px 12px -2px color-mix(in srgb, var(--color-primary), transparent 80%);
    margin-left: auto;
    transition: all 0.2s ease;
}

body.nav-lulu .lulu-nav-capsule:hover {
    filter: brightness(1.02);
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--color-primary), transparent 50%);
    box-shadow:
        0 12px 20px -4px color-mix(in srgb, var(--color-text), transparent 90%),
        0 20px 40px -4px color-mix(in srgb, var(--color-primary), transparent 85%);
}

/* Navigation Items inside Capsule */
body.nav-lulu .lulu-nav-capsule .main-nav {
    display: block !important;
    width: auto !important;
    margin-right: 1.5rem;
}

body.nav-lulu .lulu-nav-capsule .nav-list {
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: center;
}

body.nav-lulu .lulu-nav-capsule .nav-list a {
    text-transform: var(--nav-case);
    font-weight: 500;
    color: var(--color-text);
    font-size: 0.95rem;
    font-family: var(--font-nav);
    text-decoration: none;
    transition: color 0.2s;
}

body.nav-lulu .lulu-nav-capsule .nav-list a:hover {
    color: var(--color-primary);
}

/* Generic Search Icon Button (Global) */
.btn-search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.btn-search-toggle:hover {
    color: var(--color-primary);
}

/* Search Icon inside Lulu Capsule (Specific overrides if needed) */
body.nav-lulu .lulu-nav-capsule .btn-search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #4a4a4a;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
    margin-left: 0;
}

body.nav-lulu .lulu-nav-capsule .btn-search-toggle:hover {
    color: var(--color-primary);
}

body.nav-lulu .lulu-nav-capsule .btn-search-toggle svg {
    width: 18px;
    height: 18px;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    body.nav-lulu .lulu-nav-capsule {
        display: none !important;
    }

    body.nav-lulu .lulu-mobile-toggle {
        display: flex;
        margin-left: auto;
    }
}

/* Mobile Drawer Styles */
.lulu-mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 2100;
    transform: translateX(-100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 20px 0 40px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@supports not (backdrop-filter: blur(15px)) {
    .lulu-mobile-drawer {
        background: var(--color-bg);
    }
}

/* CRITICAL: Hide drawer on desktop to prevent double menu */
@media (min-width: 992px) {
    .lulu-mobile-drawer {
        display: none !important;
    }
}

.mobile-menu-open {
    overflow: hidden;
}

/* Open state */
.lulu-mobile-drawer.active,
body.mobile-menu-open .lulu-mobile-drawer {
    transform: translateX(0);
}

.lulu-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.lulu-mobile-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.2rem;
}

.btn-close-mobile {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: var(--color-text);
}

/* Styling nav inside drawer */
.lulu-mobile-drawer .nav-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lulu-mobile-drawer .nav-list li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.lulu-mobile-drawer .nav-list a {
    display: block;
    padding: 0.8rem 0;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
}

.lulu-mobile-drawer .menu-toggle {
    display: none !important;
}

/* Backdrop */
body.nav-lulu.mobile-menu-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    z-index: 151;
    /* Was 1500, but should be below my new header z-index anyway */
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Source: assets/css/layout/_header-split.css */
/* =========================================
   SPLIT LAYOUT (Editorial / Magazine)
   ========================================= */

.header-split-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    position: relative;
    max-width: var(--container-width, 1400px);
    margin: 0 auto;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    /* Subtle border */
}

.nav-split {
    flex: 1;
    display: flex;
    align-items: center;
}

.nav-split.left {
    justify-content: flex-end;
    /* Push items towards center */
    padding-right: 4rem;
}

.nav-split.right {
    justify-content: flex-start;
    /* Push items towards center */
    padding-left: 4rem;
}

.nav-split ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-split a {
    text-decoration: none;
    color: var(--color-text);
    font-family: var(--font-nav);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    font-weight: 600;
    transition: color 0.2s ease;
    position: relative;
}

.nav-split a:hover {
    color: var(--color-primary);
}

.nav-split a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-secondary);
    transition: width 0.3s ease;
}

.nav-split a:hover::after {
    width: 100%;
}



.nav-split li {
    position: relative;
}

.nav-split .nav-split-cta > a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 0.9rem;
    border-radius: 999px;
    background: var(--color-primary);
    color: var(--color-white, #fff);
    border: 1px solid transparent;
}

.nav-split .nav-split-cta > a::after {
    display: none;
}

.nav-split .nav-split-cta > a:hover {
    background: var(--color-secondary);
    color: var(--color-white, #fff);
}

.nav-split .dropdown-menu {
    position: absolute;
    top: calc(100% + 0.7rem);
    right: auto;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-width: 245px;
    max-width: calc(100vw - 2rem);
    padding: 0.45rem;
    margin: 0;
    background: var(--color-card-bg, #fff);
    border: 1px solid rgba(16, 46, 49, 0.14);
    border-radius: 10px;
    box-shadow: 0 18px 42px rgba(16, 46, 49, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 1000;
}

.nav-split .dropdown:hover > .dropdown-menu,
.nav-split .dropdown:focus-within > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.nav-split .dropdown-menu a {
    display: block;
    padding: 0.7rem 0.8rem;
    border-radius: 7px;
    color: var(--color-text);
    font-size: 0.88rem;
    font-weight: 680;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
}

.nav-split .dropdown-menu a::after {
    display: none;
}

.nav-split .dropdown-menu a:hover {
    background: rgba(11, 111, 124, 0.08);
    color: var(--color-primary);
}

/* Center Logo */
.logo-split {
    flex-shrink: 0;
    text-align: center;
    position: relative;
    z-index: 10;
}

.logo-split a {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    color: var(--color-primary);
    line-height: 1;
}

.logo-split img {
    max-height: 70px;
    display: block;
}

/* Mobile Toggle - Hidden by default on desktop */
.mobile-toggle-split {
    display: none;
}

/* Responsive */
@media (max-width: 991px) {
    .nav-split {
        display: none;
        /* Hide split nav on tablet/mobile */
    }

    .header-split-container {
        justify-content: center;
        /* Center logo */
        padding: 1rem;
    }

    .nav-split.left,
    .nav-split.right {
        padding: 0;
    }

    .logo-split a {
        font-size: 1.8rem;
    }

    /* Show Hamburger */
    .mobile-toggle-split {
        position: absolute;
        right: 1.5rem;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
    }

    .mobile-toggle-split .bar {
        width: 25px;
        height: 2px;
        background-color: var(--color-text);
    }
}

/* Source: assets/css/layout/_header-dock.css */
/* =========================================
   DOCK LAYOUT (Creative / Floating Bottom)
   ========================================= */

/* 1. Brand Logo (Top Left) */
.dock-logo-container {
    padding: 1.5rem 2rem;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 900;
    /* Below admin bars if any */
    width: 100%;
    pointer-events: none;
    /* Let clicks pass through empty space */
}

.dock-logo {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.dock-logo img {
    height: 50px;
    width: auto;
}

/* 2. Dock Container (Bottom) */
.header-dock-container {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: auto;
    max-width: 90vw;
}

.nav-dock {
    background: rgba(255, 255, 255, 0.85);
    /* Light glass */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.12),
        0 4px 10px rgba(0, 0, 0, 0.05);
    border-radius: 100px;
    /* Pill shape */
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.nav-dock ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-dock a {
    text-decoration: none;
    color: var(--color-text);
    font-family: var(--font-nav);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
    white-space: nowrap;
    position: relative;
    opacity: 0.8;
}

.nav-dock a:hover {
    opacity: 1;
    color: var(--color-primary);
    transform: translateY(-2px);
    display: inline-block;
}

.nav-dock a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--color-secondary);
    border-radius: 50%;
}

/* Search Icon in Dock */
.dock-search-btn {
    background: var(--color-primary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    margin-left: 0.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.dock-search-btn:hover {
    transform: scale(1.1);
    background: var(--color-secondary);
}

.dock-search-btn svg {
    width: 18px;
    height: 18px;
}

/* Mobile: Config adjustments */
@media (max-width: 768px) {
    .header-dock-container {
        bottom: 1.5rem;
        /* Keep it floating slightly even on mobile */
        max-width: 95vw;
    }

    .nav-dock {
        padding: 0.75rem 1.5rem;
        border-radius: 20px;
        /* Slightly less round on mobile to save space */
        gap: 1rem;
    }

    .nav-dock ul {
        gap: 1.5rem;
        /* Enable scrolling if needed */
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        max-width: 65vw;
        /* Limit text space to leave room for search */
        /* Hide scrollbar */
        scrollbar-width: none;
    }

    .nav-dock ul::-webkit-scrollbar {
        display: none;
    }

    .dock-logo-container {
        text-align: center;
        padding: 1rem;
    }

    .dock-logo {
        font-size: 1.5rem;
    }
}

/* Source: assets/css/layout/_header-sidebar.css */
/* =========================================
   SIDEBAR LAYOUT (Architect / Portfolio)
   ========================================= */

/* DESKTOP (Sidebar Mode) */
@media (min-width: 992px) {

    /* 1. Body Adjustment - Push Content Right */
    body.nav-sidebar {
        padding-left: 280px;
        /* Space for sidebar */
    }

    body.nav-sidebar .site-footer {
        width: calc(100% - 280px);
        /* Adjust footer width if fixed, or rely on flow */
        margin-left: auto;
        /* Push to right if contained */
        /* Since body has padding-left, normal footer flow works fine usually 
           unless footer is full width outside container. 
           Standard flow is safest: body padding handles it.
        */
    }

    /* 2. Fixed Sidebar Header */
    body.nav-sidebar .site-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        /* Space out logo, nav, footer */
        background: var(--color-card-bg);
        /* Use card color */
        border-right: 1px solid rgba(0, 0, 0, 0.06);
        padding: 3rem 2.5rem;
        z-index: 1000;
        overflow-y: auto;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.02);
    }

    /* Logo Area */
    body.nav-sidebar .logo {
        margin-bottom: 3rem;
        display: block;
        flex-shrink: 0;
    }

    body.nav-sidebar .logo a {
        font-family: var(--font-heading);
        font-size: 2.2rem;
        font-weight: 700;
        text-decoration: none;
        color: var(--color-primary);
        display: block;
        line-height: 1.1;
    }

    body.nav-sidebar .logo img {
        max-width: 100%;
        height: auto;
        max-height: 80px;
        /* Allow bigger logos in sidebar */
        border-radius: 4px;
    }

    /* Navigation Area */
    body.nav-sidebar .main-nav {
        flex: 1;
        /* Grow to fill space */
        width: 100%;
        margin: 0;
        padding-top: 1rem;
    }

    body.nav-sidebar .nav-list {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    body.nav-sidebar .nav-list li {
        width: 100%;
        opacity: 0;
        animation: slideInLeft 0.5s ease forwards;
    }

    body.nav-sidebar .nav-list li:nth-child(1) {
        animation-delay: 0.1s;
    }

    body.nav-sidebar .nav-list li:nth-child(2) {
        animation-delay: 0.2s;
    }

    body.nav-sidebar .nav-list li:nth-child(3) {
        animation-delay: 0.3s;
    }

    body.nav-sidebar .nav-list li:nth-child(4) {
        animation-delay: 0.4s;
    }

    body.nav-sidebar .nav-list li:nth-child(5) {
        animation-delay: 0.5s;
    }

    body.nav-sidebar .nav-list a {
        display: block;
        font-family: var(--font-nav);
        font-size: 1.1rem;
        font-weight: 500;
        color: var(--color-text);
        text-decoration: none;
        padding: 0.25rem 0;
        transition: all 0.3s ease;
        position: relative;
    }

    body.nav-sidebar .nav-list a:hover {
        color: var(--color-primary);
        padding-left: 10px;
        /* Slide effect */
    }

    body.nav-sidebar .nav-list a.active {
        color: var(--color-primary);
        font-weight: 700;
    }

    body.nav-sidebar .nav-list a::before {
        content: '';
        position: absolute;
        left: -20px;
        top: 50%;
        transform: translateY(-50%);
        width: 6px;
        height: 6px;
        background: var(--color-secondary);
        border-radius: 50%;
        opacity: 0;
        transition: all 0.3s;
    }

    body.nav-sidebar .nav-list a:hover::before {
        opacity: 1;
        left: 0;
    }

    /* Sidebar Footer (Search, Copyright, Social) */
    body.nav-sidebar .sidebar-footer {
        margin-top: 3rem;
        padding-top: 2rem;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        flex-shrink: 0;
    }

    body.nav-sidebar .btn-search-toggle {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        width: 100%;
        padding: 0.75rem 1rem;
        background: rgba(0, 0, 0, 0.03);
        border: none;
        border-radius: 8px;
        cursor: pointer;
        color: var(--color-text);
        font-weight: 500;
        transition: all 0.2s;
        justify-content: flex-start;
    }

    body.nav-sidebar .btn-search-toggle:hover {
        background: rgba(0, 0, 0, 0.06);
        color: var(--color-primary);
    }

    /* Hide default mobile toggle in desktop sidebar */
    body.nav-sidebar .menu-toggle {
        display: none;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* MOBILE FALLBACK (Standard Header behavior) */
@media (max-width: 991px) {
    body.nav-sidebar {
        padding-left: 0;
        /* No body padding */
    }

    body.nav-sidebar .site-header {
        position: sticky;
        top: 0;
        width: 100%;
        height: auto;
        padding: 1rem 1.5rem;
        flex-direction: row;
        /* Horizontal */
        align-items: center;
        justify-content: space-between;
        background: var(--color-bg);
        /* Match body bg */
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        box-shadow: none;
        overflow-y: visible;
    }

    body.nav-sidebar .logo {
        margin: 0;
    }

    body.nav-sidebar .logo a {
        font-size: 1.5rem;
    }

    /* Hide Desktop structure elements on mobile */
    body.nav-sidebar .main-nav,
    body.nav-sidebar .sidebar-footer {
        display: none;
        /* Hidden, triggered by standard mobile menu JS logic */
    }

    /* Ensure hamburger is visible */
    body.nav-sidebar .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
    }

    body.nav-sidebar .bar {
        width: 25px;
        height: 2px;
        background-color: var(--color-text);
    }

    /* Reuse standard mobile menu overlay logic from site-layout or create one here if needed */
    /* Assuming site-layout handles .mobile-menu-open with generic styles or we need to add a mobile overlay in the PHP logic */
}

/* Source: assets/css/layout/_site-layout.css */
﻿/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    width: 100%;
}

.site-content {
    flex: 1;
    padding-bottom: 0;
    padding-top: 0;
    display: flex;
    flex-direction: column;
}

.site-content>main {
    flex: 1;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Fix: Remove gap between header and hero */
.site-content>.hero:first-child,
.site-content>main>.hero:first-child,
.site-content>main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* RESPONSIVE LAYOUT */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

/* Global Grid System Responsiveness (Generic) */
.row,
.grid {
    display: flex;
    flex-wrap: wrap;
    margin-right: calc(-0.5 * var(--spacing-md, 1.5rem));
    margin-left: calc(-0.5 * var(--spacing-md, 1.5rem));
}

.row>*,
.grid>* {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(0.5 * var(--spacing-md, 1.5rem));
    padding-left: calc(0.5 * var(--spacing-md, 1.5rem));
}

/* Base columns support */
.col-6 {
    flex: 0 0 auto;
    width: 50%;
}

.col-4 {
    flex: 0 0 auto;
    width: 33.333333%;
}

.col-12 {
    flex: 0 0 auto;
    width: 100%;
}

@media (min-width: 768px) {
    .col-md-6 {
        flex: 0 0 auto;
        width: 50%;
    }

    .col-md-4 {
        flex: 0 0 auto;
        width: 33.333333%;
    }

    .col-md-3 {
        flex: 0 0 auto;
        width: 25%;
    }

    .col-md-9 {
        flex: 0 0 auto;
        width: 75%;
    }
}

@media (min-width: 992px) {
    .col-lg-8 {
        flex: 0 0 auto;
        width: 66.666667%;
    }

    .col-lg-7 {
        flex: 0 0 auto;
        width: 58.333333%;
    }

    .col-lg-5 {
        flex: 0 0 auto;
        width: 41.666667%;
    }

    .col-lg-4 {
        flex: 0 0 auto;
        width: 33.333333%;
    }
}

@media (max-width: 767px) {
    .row>* {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* Bootstrap Gutter Support */
.g-0,
.gx-0 {
    --spacing-md: 0;
}

.g-1,
.gx-1 {
    --spacing-md: 0.25rem;
}

.g-2,
.gx-2 {
    --spacing-md: 0.5rem;
}

.g-3,
.gx-3 {
    --spacing-md: 1rem;
}

.g-4,
.gx-4 {
    --spacing-md: 1.5rem;
}

.g-5,
.gx-5 {
    --spacing-md: 3rem;
}

.row.g-0,
.row.gx-0 {
    margin-right: 0;
    margin-left: 0;
}

.row.g-0>*,
.row.gx-0>* {
    padding-right: 0;
    padding-left: 0;
}

/* Utility: Sticky Top */
.sticky-top {
    position: -webkit-sticky;
    position: sticky;
    top: 20px;
    z-index: 1020;
}

/* Utility: Align Heights in Rows */
.row {
    align-items: stretch;
}

/* Progress Bars Fix (Bootstrap-like) */
.progress {
    display: flex;
    height: 1rem;
    overflow: hidden;
    font-size: .75rem;
    background-color: #e9ecef;
    border-radius: .25rem;
}

.progress-bar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    background-color: #003126;
    /* Jungle Green as default */
    transition: width .6s ease;
    height: 100%;
}

/* Source: assets/css/layout/_footer.css */
/* Footer */
.site-footer {
    background-color: var(--color-card-bg);
    color: var(--color-text);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    border-top: 1px solid var(--color-light-gray);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.footer-col h3 {
    color: var(--footer-title-color, currentColor);
    margin-bottom: var(--spacing-md);
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.site-footer a {
    color: currentColor;
    opacity: 0.88;
}

.site-footer a:hover {
    opacity: 1;
}

.footer-col a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Minimal Footer */
.site-footer--minimal {
    background: var(--color-bg-alt, #e5e7eb);
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid var(--color-text-light, #cfd8dc);
}

.site-footer--minimal .footer-minimal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.site-footer--minimal .footer-minimal-links a {
    color: var(--color-text, #2B2B2B);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.25rem 0.75rem;
    border: 1px solid var(--color-text-light, #64748b);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.site-footer--minimal .footer-minimal-links a:hover {
    background: var(--color-text, #2B2B2B);
    color: var(--color-bg, #F5F3EF);
    border-color: var(--color-text, #2B2B2B);
}

.site-footer--minimal .footer-copyright {
    font-size: 0.85rem;
    color: var(--color-text-light, #64748b);
}

/* RESPONSIVE FOOTER */
@media (max-width: 768px) {
    .footer-grid {
        gap: var(--spacing-lg);
        text-align: center;
    }

    .site-footer {
        padding: var(--spacing-lg) 0;
    }

    .footer-col {
        margin-bottom: 1.5rem;
    }
}

/* Source: assets/css/components/_buttons.css */
/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--color-button-bg, var(--color-secondary));
    color: var(--color-button-text, var(--color-white)) !important;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.2s, background-color 0.2s;
}

.btn:hover {
    background-color: var(--color-button-hover-bg, var(--color-accent));
    transform: translateY(-2px);
    color: var(--color-button-hover-text, var(--color-white)) !important;
}

.btn.btn-outline {
    background-color: transparent !important;
    border: 2px solid var(--color-white);
    color: var(--color-white);
    box-shadow: none;
}

.btn.btn-outline:hover {
    background-color: var(--color-white) !important;
    color: var(--color-primary) !important;
    border-color: var(--color-white);
}

.btn.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: 2px solid var(--color-primary);
}

.btn.btn-primary:hover {
    background-color: var(--color-button-hover-bg, var(--color-accent));
    border-color: var(--color-button-hover-bg, var(--color-accent));
    color: var(--color-button-hover-text, var(--color-white)) !important;
}

.btn.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-white);
    border: 2px solid var(--color-secondary);
}

.btn.btn-secondary:hover {
    background-color: var(--color-button-hover-bg, var(--color-accent));
    border-color: var(--color-button-hover-bg, var(--color-accent));
    color: var(--color-button-hover-text, var(--color-white)) !important;
}

/* Close Modal Button (Search) */
.btn-search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text);
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.3s, color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-search-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--color-primary);
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 0.5rem;
    transition: color 0.3s;
    z-index: 10;
}

.close-modal:hover {
    color: #000;
}

/* Load More Button */
.btn-load-more {
    background-color: var(--color-secondary);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 99px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, background-color 0.2s, opacity 0.2s;
    display: inline-block;
}

.btn-load-more:hover {
    transform: scale(1.05);
    background-color: var(--color-accent);
    color: white;
}

.btn-load-more.loading {
    opacity: 0.7;
    cursor: wait;
    transform: scale(1);
    pointer-events: none;
}

/* Source: assets/css/components/_cards.css */
/* Cards */
.card {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.card-img {
    height: 200px;
    background-color: var(--color-light-gray);
    object-fit: cover;
    width: 100%;
}

.card-content {
    padding: var(--spacing-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
    font-weight: 600;
}

.card-excerpt {
    font-size: 0.9rem;
    margin-bottom: var(--spacing-lg);
    color: var(--color-text);
    opacity: 0.8;
}

.card-link {
    margin-top: auto;
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.card-link:hover {
    text-decoration: underline;
}


/* =========================================
   ARTICLE LIST LAYOUTS (Restored)
   ========================================= */

/* 1. Grid Layout (Default) */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

[style*="--grid-columns"] .grid-3,
[style*="--grid-columns"].grid-3 {
    grid-template-columns: repeat(var(--grid-columns), 1fr);
}

.grid-4 {
    display: grid;
    --grid-count: var(--grid-columns, 4);
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

/* If columns are explicitly requested, we enforce them but keep fluidity */
[style*="--grid-columns"] .grid-4,
[style*="--grid-columns"].grid-4 {
    grid-template-columns: repeat(var(--grid-columns), 1fr);
}

@media (max-width: 1024px) {

    [style*="--grid-columns"] .grid-3,
    [style*="--grid-columns"].grid-3,
    [style*="--grid-columns"] .grid-4,
    [style*="--grid-columns"].grid-4 {
        grid-template-columns: repeat(min(var(--grid-columns), 3), 1fr);
    }
}

@media (max-width: 768px) {

    [style*="--grid-columns"] .grid-3,
    [style*="--grid-columns"].grid-3,
    [style*="--grid-columns"] .grid-4,
    [style*="--grid-columns"].grid-4 {
        grid-template-columns: repeat(min(var(--grid-columns), 2), 1fr);
    }
}

@media (max-width: 480px) {

    [style*="--grid-columns"] .grid-3,
    [style*="--grid-columns"].grid-3,
    [style*="--grid-columns"] .grid-4,
    [style*="--grid-columns"].grid-4 {
        grid-template-columns: 1fr !important;
    }
}

/* 2. List Layout */
.list-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.list-card {
    flex-direction: row;
    height: 220px;
}

.list-card-img-wrapper {
    width: 35%;
    flex-shrink: 0;
}

.list-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.list-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    width: 65%;
}

@media (max-width: 768px) {
    .list-card {
        flex-direction: column;
        height: auto;
    }

    .list-card-img-wrapper {
        width: 100%;
        height: 200px;
    }

    .list-card-content {
        width: 100%;
    }
}

/* 3. Mosaic Layout */
.mosaic-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.mosaic-main {
    height: 100%;
}

.mosaic-side {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mosaic-small {
    flex-direction: row;
    align-items: center;
    padding: 0.5rem;
}

.mosaic-small .card-img {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    margin-right: 1rem;
    object-fit: cover;
}

@media (max-width: 900px) {
    .mosaic-grid {
        grid-template-columns: 1fr;
    }
}

/* 4. Focus Layout */
.focus-layout {
    margin-bottom: 3rem;
}

.focus-main {
    margin-bottom: 2rem;
}

.focus-main .card-img {
    height: 400px;
}

.focus-side-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .focus-side-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .focus-side-grid {
        grid-template-columns: 1fr;
    }
}

/* 5. Minimal Layout */
.minimal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

[style*="--grid-columns"] .minimal-grid,
[style*="--grid-columns"].minimal-grid {
    grid-template-columns: repeat(var(--grid-columns), 1fr);
}

@media (max-width: 1024px) {

    [style*="--grid-columns"] .minimal-grid,
    [style*="--grid-columns"].minimal-grid {
        grid-template-columns: repeat(min(var(--grid-columns), 2), 1fr);
    }
}

@media (max-width: 768px) {

    [style*="--grid-columns"] .minimal-grid,
    [style*="--grid-columns"].minimal-grid {
        grid-template-columns: repeat(min(var(--grid-columns), 1), 1fr);
    }
}

@media (max-width: 480px) {

    [style*="--grid-columns"] .minimal-grid,
    [style*="--grid-columns"].minimal-grid {
        grid-template-columns: 1fr !important;
    }
}

.minimal-card {
    border: none;
    box-shadow: none;
    background: transparent;
}

.minimal-card:hover .minimal-bg {
    transform: scale(1.05);
}

/* 6. Carousel Layout */
.carousel-container {
    overflow-x: auto;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    padding: 0.5rem;
}

.carousel-card {
    min-width: 280px;
    max-width: 300px;
    flex-shrink: 0;
}

/* 7. Masonry Layout */
.masonry-layout {
    column-count: 3;
    column-gap: 1.5rem;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    display: inline-block;
    /* Essential for column layout */
    width: 100%;
}

@media (max-width: 900px) {
    .masonry-layout {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .masonry-layout {
        column-count: 1;
    }
}

/* 8. Checkerboard Layout (ZigZag) */
.checkerboard-layout {
    display: flex;
    flex-direction: column;
}

.checkerboard-row {
    display: flex;
    min-height: 400px;
}

.checkerboard-img,
.checkerboard-content {
    flex: 1;
}

@media (max-width: 900px) {
    .checkerboard-row {
        flex-direction: column !important;
    }

    .checkerboard-img {
        height: 300px;
        min-height: 300px;
    }

    .checkerboard-content {
        padding: 2rem !important;
    }
}

/* 9. Immersive Layout (Full Screen) */
.immersive-layout {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.immersive-card {
    height: 80vh;
    min-height: 500px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.immersive-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    transition: background 0.3s;
}

.immersive-card:hover .immersive-overlay {
    background: rgba(0, 0, 0, 0.5);
    /* Darker on hover */
}

.immersive-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 4rem;
    text-align: center;
    color: white;
}

/* 10. Bento Grid (Modern Header) */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 1.5rem;
}

.bento-item-0 {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-item-1 {
    grid-column: span 2;
}

.bento-item-2 {
    grid-column: span 1;
}

.bento-item-3 {
    grid-column: span 1;
}

@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bento-item-0 {
        grid-column: span 2;
    }

    .bento-item-1 {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .bento-grid {
        display: flex;
        flex-direction: column;
    }
}

/* Source: assets/css/components/_forms.css */
/* Forms */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Search Form (Inline) */
.search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.search-form input {
    padding: 0.5rem 1rem;
    padding-right: 2.5rem;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 0.9rem;
    width: 200px;
    transition: all 0.3s ease;
    font-family: var(--font-body);
    background-color: #f9f9f9;
}

.search-form input:focus {
    outline: none;
    border-color: var(--color-secondary);
    width: 250px;
    background-color: #fff;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

.search-form button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.search-form button:hover {
    color: var(--color-secondary);
}

/* Source: assets/css/components/_hero.css */
/* Page Header Hero */
.page-header-hero {
    background-color: #2c3e50;
    color: var(--color-white);
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
}

.page-header-hero h1 {
    color: var(--color-white);
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

.page-header-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: var(--spacing-xl) 0;
    text-align: center;
    margin-bottom: 0;
    background-size: cover;
    background-position: center;
    position: relative;
    /* For overlay */
    overflow: hidden;
}

/* Modifiers for Hero Styles */
.hero.hero-has-image {
    padding: 6rem 0;
    /* Taller hero for images */
}

/* 1. Mask (Overlay) */
.hero.hero-mask::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Dark overlay */
    z-index: 1;
}

.hero.hero-mask .container {
    position: relative;
    z-index: 2;
}

/* 2. Blur */
.hero.hero-blur::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(8px);
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero.hero-blur .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: var(--color-white);
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
    opacity: 0.9;
}

/* Subcategories Hero */
.subcat-hero-section {
    background-color: var(--color-primary);
    padding: 4rem 0;
    margin-bottom: 4rem;
    color: var(--color-white);
}

.subcat-hero-section .section-header {
    margin-bottom: 3rem;
}

.subcat-hero-section .section-header h2 {
    color: var(--color-text);
    font-size: 2rem;
}

.subcat-hero-section .section-header h2::after {
    background-color: var(--color-secondary);
}

.subcat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.subcat-card-hero {
    background-color: var(--color-white);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: left;
    color: var(--color-text);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.subcat-card-hero:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.subcat-card-hero .card-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.subcat-card-hero p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.category-hero.simple {
    background: transparent;
    color: var(--color-primary);
    padding: 2rem 0;
    margin-bottom: 0;
    text-align: center;
}

.category-hero.simple h1 {
    color: var(--color-primary);
}

.category-hero.simple p {
    color: var(--color-text);
}

/* =========================================
   CATEGORY HERO (Restored)
   ========================================= */
.category-hero {
    position: relative;
    padding: 4rem 0;
    text-align: center;
    background-color: var(--color-bg);
    margin-bottom: 3rem;
    overflow: hidden;
}

/* Immersive Mode (with image) */
.category-hero.has-image {
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    background-size: cover;
    background-position: center;
}

.category-hero .hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Default gradient if not inline */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
}

.category-hero .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.category-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: var(--font-heading, serif);
}

.category-hero.has-image h1 {
    color: var(--color-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.category-hero .hero-description {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    color: var(--color-text);
}

.category-hero.has-image .hero-description {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Breadcrumbs in Hero */
.category-hero nav[aria-label="Breadcrumb"] {
    margin-bottom: 1.5rem;
}

.category-hero.has-image nav[aria-label="Breadcrumb"] ol li,
.category-hero.has-image nav[aria-label="Breadcrumb"] a {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* =========================================
   ARTICLE HERO (Restored)
   ========================================= */

.article-hero {
    position: relative;
    height: clamp(460px, 58vh, 680px);
    min-height: 460px;
    width: 100%;
    display: flex;
    align-items: flex-end;
    /* Align bottom */
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    overflow: hidden;
    margin-bottom: 3rem;
    background-color: var(--color-primary);
    padding-bottom: clamp(2.75rem, 5vw, 4rem);
    /* Fallback */
    isolation: isolate;
}

/* If no image, fallback to simple header styles */
.article-header-simple {
    padding: 4rem 0 2rem;
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--color-light-gray);
}

.article-header-simple h1 {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin: 1rem 0;
}

/* Image absolute positioning */
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Overlay gradient for readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 2;
}

/* Content on top of image */
.hero-content {
    position: relative;
    z-index: 3;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
    /* Slide up animation */
    animation: fadeUp 0.8s ease-out;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-hero h1 {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(2.35rem, 3.2vw, 4rem);
    font-weight: 700;
    color: var(--color-white);
    margin: 1rem 0;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    font-family: var(--font-heading, serif);
    text-wrap: balance;
}

.article-hero--illustration .hero-image {
    opacity: 0.18;
    transform: scale(1.12);
    filter: saturate(0.72) contrast(0.88) blur(0.4px);
}

.article-hero--illustration .hero-overlay {
    background:
        radial-gradient(circle at 72% 28%, rgba(29, 167, 168, 0.36), transparent 28rem),
        linear-gradient(135deg, rgba(8, 27, 45, 0.98), rgba(10, 35, 57, 0.94) 54%, rgba(4, 54, 56, 0.92));
}

.article-hero--illustration .hero-content {
    max-width: min(980px, 92vw);
}

.category-badge {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--color-white);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-header-simple .category-badge {
    color: var(--color-secondary);
    border-color: var(--color-secondary);
    background: transparent;
}

.category-badge:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 2rem;
    font-family: var(--font-body, sans-serif);
    font-weight: 500;
}

.article-header-simple .article-meta {
    color: var(--color-text);
    opacity: 0.8;
}

.article-meta .separator {
    opacity: 0.5;
    font-size: 0.8em;
}

.article-meta .author {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9em;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .article-hero {
        height: 50vh;
        min-height: 350px;
    }

    .article-hero h1 {
        font-size: 2.2rem;
    }

    .article-meta {
        font-size: 0.9rem;
        gap: 0.8rem;
    }
}

/* Source: assets/css/components/_breadcrumbs.css */
/* Breadcrumbs */
.breadcrumbs {
    padding: var(--spacing-md) var(--spacing-md);
    font-size: 0.9rem;
    color: #666;
}

.breadcrumbs a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

.breadcrumbs span {
    color: #999;
    font-weight: 500;
}

/* Source: assets/css/components/_sections.css */
/* Common Section Styles */

.dynamic-section {
    padding: 2rem 0;
}

/* 
 * NOTE: Section title decorations are now handled by _section-titles.css
 * The preset classes (title-style-*) control the visual appearance.
 * This file only contains base structural styles.
 */

/* Section Alignment Utilities (Legacy - kept for backward compatibility) */
.text-align-left {
    text-align: left;
}

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

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

/* Source: assets/css/components/_related-posts.css */
/* --- RELATED ARTICLES STYLES --- */

/* Base Layout */
.related-articles {
    margin-top: clamp(4rem, 8vw, 7rem);
    margin-bottom: clamp(4rem, 8vw, 7rem);
}

.related-articles .section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 1.5vw + 1.4rem, 3rem);
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--color-primary);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(var(--related-cols, 3), 1fr);
    gap: 2rem;
}

@media(max-width: 900px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 600px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
}

.related-card .card-link-wrapper {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    position: relative;
}

.related-card .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-card .card-img-wrapper {
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #0b2238, #0f6670);
}

.related-card .related-img-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 1.1rem;
    background:
        radial-gradient(circle at 15% 15%, hsla(var(--related-fallback-hue, 36), 56%, 76%, 0.62), transparent 34%),
        linear-gradient(135deg, #fbf7ef 0%, #e9eee9 55%, #d9c8ae 100%);
    overflow: hidden;
    position: relative;
}

.related-card .related-img-fallback::before {
    content: "";
    position: absolute;
    right: 10%;
    top: 18%;
    width: 46%;
    height: 44%;
    border-radius: 22px;
    background:
        linear-gradient(#ffffff, #e8f0f7) 50% 16% / 72% 46% no-repeat,
        linear-gradient(135deg, #0b2238, #123c69) 50% 78% / 100% 34% no-repeat;
    box-shadow: 0 24px 55px rgba(8, 27, 45, 0.16);
    opacity: 0.92;
    transform: rotate(-4deg);
}

.related-card .related-img-fallback::after {
    content: "";
    position: absolute;
    left: -8%;
    right: -8%;
    bottom: 0;
    height: 38%;
    background: linear-gradient(135deg, rgba(8, 27, 45, 0.18), rgba(29, 167, 168, 0.22));
    transform: skewY(-5deg);
    transform-origin: left bottom;
}

.related-card .related-img-fallback span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    height: 3rem;
    padding: 0 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--color-primary);
    font-family: var(--font-heading, serif);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    box-shadow: 0 14px 34px rgba(30, 38, 49, 0.12);
    max-width: 92%;
    position: relative;
    z-index: 2;
}

/* STYLE 1: MAGAZINE (Default, Minimal) */
.related-style-magazine .related-card {
    border: none;
    background: transparent;
}

.related-style-magazine .card-img-wrapper {
    height: clamp(220px, 22vw, 310px);
    border-radius: 22px;
    margin-bottom: 1rem;
    box-shadow: 0 22px 60px rgba(30, 38, 49, 0.1);
}

.related-style-magazine .card-badge {
    display: none;
}

.related-style-magazine .card-meta-top {
    font-size: 0.85rem;
    color: color-mix(in srgb, var(--color-text), transparent 46%);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.related-style-magazine .card-title {
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 0.55vw + 1.1rem, 1.75rem);
    margin-bottom: 0.5rem;
    line-height: 1.1;
    color: var(--color-primary);
}

.related-style-magazine .card-excerpt {
    display: none;
}

.related-style-magazine .read-more-link {
    display: none;
}

.related-style-magazine .related-card:hover .card-img {
    transform: scale(1.05);
}

.related-style-magazine .related-card:hover .related-img-fallback {
    filter: saturate(1.08) contrast(1.02);
}

/* STYLE 2: CARDS (Shadow, Boxed) */
.related-style-cards .related-card {
    background: var(--color-card-bg, #fff);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-style-cards .card-img-wrapper {
    height: 200px;
}

.related-style-cards .card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--color-text);
}

.related-style-cards .card-content {
    padding: 1.5rem;
}

.related-style-cards .card-meta-top {
    display: none;
}

.related-style-cards .card-title {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    font-family: var(--font-body);
}

.related-style-cards .card-excerpt {
    font-size: 0.9rem;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
}

.related-style-cards .read-more-link {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.9rem;
}

.related-style-cards .related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* STYLE 3: OVERLAY (Immersive) */
.related-style-overlay .related-card {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    height: 350px;
}

.related-style-overlay .card-img-wrapper {
    height: 100%;
    border-radius: 0;
}

.related-style-overlay .card-img-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 60%);
    pointer-events: none;
}

.related-style-overlay .card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--color-primary);
    color: #fff;
    padding: 4px 12px;
    font-size: 0.8rem;
    border-radius: 4px;
    z-index: 2;
}

.related-style-overlay .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    z-index: 2;
    color: #fff;
}

.related-style-overlay .card-title {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.related-style-overlay .card-excerpt {
    display: none;
}

.related-style-overlay .read-more-link {
    display: none;
}

.related-style-overlay .card-meta-top {
    display: none;
}

.related-style-overlay .related-card:hover .card-img {
    transform: scale(1.1);
}

@media(max-width: 600px) {
    .related-style-magazine .card-img-wrapper {
        height: 210px;
    }
}

/* Source: assets/css/components/_section-titles.css */
/* ==========================================================================
   SECTION TITLE STYLES - Presets for Homepage Section Titles
   ========================================================================== */

/* Base Section Header */
.section-header {
    margin-bottom: 2rem;
}

.section-header h2 {
    font-family: var(--heading-font, 'Cormorant Garamond', serif);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--color-primary, #2c3e50);
    margin: 0;
    line-height: 1.3;
}

/* Title Icon Styles */
.section-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    vertical-align: middle;
}

.section-title-icon--emoji {
    font-size: 1.2em;
}

.section-title-icon--svg svg {
    width: 1.5em;
    height: 1.5em;
    fill: currentColor;
}

.section-title-icon--img img {
    width: 1.5em;
    height: 1.5em;
    object-fit: contain;
}

/* ==========================================================================
   STYLE: None - No decoration
   ========================================================================== */
.title-style-none h2 {
    padding-bottom: 0;
}

/* ==========================================================================
   STYLE: Underline Center - Short centered underline (Current Default)
   ========================================================================== */
.title-style-underline-center {
    text-align: center;
}

.title-style-underline-center h2 {
    display: inline-block;
    position: relative;
    padding-bottom: 15px;
}

.title-style-underline-center h2::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-secondary, #22D3C5);
    border-radius: 2px;
}

/* ==========================================================================
   STYLE: Underline Left - Underline starting from left
   ========================================================================== */
.title-style-underline-left h2 {
    display: inline-block;
    position: relative;
    padding-bottom: 15px;
}

.title-style-underline-left h2::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--color-secondary, #22D3C5);
    border-radius: 2px;
}

/* ==========================================================================
   STYLE: Underline Full - Full width underline with gradient fade
   ========================================================================== */
.title-style-underline-full {
    text-align: center;
}

.title-style-underline-full h2 {
    position: relative;
    padding-bottom: 20px;
    display: block;
    width: 100%;
}

.title-style-underline-full h2::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 400px;
    height: 2px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--color-secondary, #22D3C5) 20%,
            var(--color-secondary, #22D3C5) 80%,
            transparent 100%);
}

/* ==========================================================================
   STYLE: Lines Sides - Decorative lines on both sides of title
   (Like: ───── Title ─────)
   ========================================================================== */
.title-style-lines-sides {
    text-align: center;
}

.title-style-lines-sides h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
    padding-bottom: 0;
    position: relative;
}

.title-style-lines-sides h2::before {
    content: '';
    display: block;
    flex: 1;
    max-width: 120px;
    height: 2px;
    background-color: var(--color-secondary, #22D3C5);
    position: static;
}

.title-style-lines-sides h2::after {
    content: '';
    display: block;
    flex: 1;
    max-width: 120px;
    height: 2px;
    background-color: var(--color-secondary, #22D3C5);
    position: static;
}

/* ==========================================================================
   STYLE: Lines Sides Wide - Full width lines on both sides
   (Like: ─────────────────── Title ───────────────────)
   Supports alignment: center (both sides), left (right only), right (left only)
   ========================================================================== */
.title-style-lines-sides-wide {
    text-align: center;
}

.title-style-lines-sides-wide h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    padding-bottom: 0;
    position: relative;
}

.title-style-lines-sides-wide h2::before {
    content: '';
    display: block;
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-secondary, #22D3C5));
    position: static;
}

.title-style-lines-sides-wide h2::after {
    content: '';
    display: block;
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--color-secondary, #22D3C5), transparent);
    position: static;
}

/* Lines Wide - Left Alignment: Title on left, line extends right */
.title-style-lines-sides-wide.align-left h2 {
    justify-content: flex-start;
}

.title-style-lines-sides-wide.align-left h2::before {
    display: none;
}

.title-style-lines-sides-wide.align-left h2::after {
    flex: 1;
    background: linear-gradient(90deg, var(--color-secondary, #22D3C5), transparent);
}

/* Lines Wide - Right Alignment: Line extends left, Title on right */
.title-style-lines-sides-wide.align-right h2 {
    justify-content: flex-end;
}

.title-style-lines-sides-wide.align-right h2::before {
    flex: 1;
    background: linear-gradient(90deg, transparent, var(--color-secondary, #22D3C5));
}

.title-style-lines-sides-wide.align-right h2::after {
    display: none;
}

/* ==========================================================================
   STYLE: Double Line - Two parallel lines below title
   Wider, more elegant double underline
   ========================================================================== */
.title-style-double-line {
    text-align: center;
}

.title-style-double-line h2 {
    display: inline-block;
    position: relative;
    padding-bottom: 20px;
}

.title-style-double-line h2::before {
    content: '';
    display: block;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-secondary, #22D3C5) 20%, var(--color-secondary, #22D3C5) 80%, transparent);
}

.title-style-double-line h2::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--color-secondary, #22D3C5);
}

/* ==========================================================================
   STYLE: Dots - Decorative dots/stars below title
   More spaced, elegant dots
   ========================================================================== */
.title-style-dots {
    text-align: center;
}

.title-style-dots h2 {
    display: inline-block;
    position: relative;
    padding-bottom: 35px;
}

.title-style-dots h2::after {
    content: '✦  ✦  ✦';
    display: block;
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.6rem;
    letter-spacing: 0.25rem;
    color: var(--color-secondary, #22D3C5);
    white-space: nowrap;
}

/* ==========================================================================
   STYLE: Elegant - Ornamental flourish with centered diamond
   ────────◆────────
   ========================================================================== */
.title-style-elegant {
    text-align: center;
}

.title-style-elegant h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.title-style-elegant h2::before,
.title-style-elegant h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-secondary, #22D3C5));
}

.title-style-elegant h2::after {
    background: linear-gradient(90deg, var(--color-secondary, #22D3C5), transparent);
}

/* ==========================================================================
   STYLE: Bracket - Square brackets around title [ Title ]
   ========================================================================== */
.title-style-bracket {
    text-align: center;
}

.title-style-bracket h2 {
    display: inline-block;
    position: relative;
    padding: 0 2.5rem;
}

.title-style-bracket h2::before {
    content: '[';
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--color-secondary, #22D3C5);
    opacity: 0.7;
    line-height: 1;
}

.title-style-bracket h2::after {
    content: ']';
    display: block;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--color-secondary, #22D3C5);
    opacity: 0.7;
    line-height: 1;
}

/* ==========================================================================
   Alignment Overrides (compatible with all styles)
   ========================================================================== */
.section-header.align-left {
    text-align: left;
}

.section-header.align-left h2 {
    justify-content: flex-start;
}

.section-header.align-left.title-style-underline-center h2::after {
    left: 0;
    transform: none;
}

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

.section-header.align-right {
    text-align: right;
}

.section-header.align-right h2 {
    justify-content: flex-end;
}

.section-header.align-right.title-style-underline-center h2::after {
    left: auto;
    right: 0;
    transform: none;
}

/* ==========================================================================
   Subtitle Support
   ========================================================================== */
.section-header .section-subtitle {
    margin-top: 0.75rem;
    font-size: 1.1rem;
    color: var(--color-text-light, #64748b);
    font-weight: 400;
}

/* Source: assets/css/components/_search-modal.css */
/* Search Modal Component */

#search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#search-modal.open {
    opacity: 1;
    visibility: visible;
}

#search-modal form {
    position: relative;
    width: 90%;
    max-width: 600px;
}

#search-modal input[type="text"] {
    width: 100%;
    padding: 1.5rem 2rem;
    font-size: 1.5rem;
    border: none;
    border-radius: 50px;
    background: white;
    color: #333;
    outline: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

#search-modal input[type="text"]::placeholder {
    color: #999;
}

#search-modal .close-modal {
    position: absolute;
    top: -60px;
    right: 0;
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.2s ease;
}

#search-modal .close-modal:hover {
    transform: scale(1.1);
}

#search-modal .close-modal svg {
    display: block;
    width: 32px;
    height: 32px;
}

/* Animation de l'input */
#search-modal.open input {
    animation: slideInUp 0.4s ease;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Source: assets/css/components/_admin-link.css */
/* Admin Shortcut Link (Bottom Left) */
.admin-shortcut {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    padding: 6px 12px;
    /* Slightly more touch friendly */
    border-radius: 30px;
    /* Capsule shape like the image implies small text but let's make it nice */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
    /* Slate 500 styling */
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0.6;
    /* Discreet by default */
}

.admin-shortcut:hover {
    background: #ffffff;
    color: var(--color-primary, #2c3e50);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    opacity: 1;
    border-color: var(--color-primary, #2c3e50);
}

.admin-shortcut svg {
    width: 14px;
    height: 14px;
    stroke-width: 2px;
}

/* Hide on Mobile generally to avoid covering content, or keep subtle */
@media (max-width: 768px) {
    .admin-shortcut {
        bottom: 10px;
        left: 10px;
        padding: 6px;
        border-radius: 50%;
        /* Icon only on mobile maybe? */
    }

    .admin-shortcut span {
        display: none;
        /* Hide 'Admin' text on mobile */
    }
}

/* Source: assets/css/components/_promo-bar.css */
.site-promo-bar {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.01em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.site-promo-bar__inner {
    min-height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.site-promo-bar__message {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-promo-bar__items {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: inherit;
    opacity: 0.88;
}

.site-promo-bar__items span {
    position: relative;
    white-space: nowrap;
}

.site-promo-bar__items span + span::before {
    content: "";
    position: absolute;
    left: -0.42rem;
    top: 50%;
    width: 3px;
    height: 3px;
    border-radius: 999px;
    background: currentColor;
    opacity: 0.55;
    transform: translateY(-50%);
}

.site-promo-bar__link {
    flex: 0 0 auto;
    color: inherit;
    font-weight: 850;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.site-header.nav-layout-boxed > .site-promo-bar {
    margin-top: -1rem;
    margin-bottom: 1rem;
}

.site-promo-bar--accent {
    background: var(--color-accent);
    color: #ffffff;
}

.site-promo-bar--dark {
    background: var(--color-primary);
    color: #ffffff;
}

.site-promo-bar--light {
    background: color-mix(in srgb, var(--color-accent) 11%, #ffffff);
    color: var(--color-primary);
    border-bottom-color: rgba(15, 23, 42, 0.08);
}

.site-promo-bar--minimal {
    background: var(--color-card-bg);
    color: var(--color-primary);
    border-bottom-color: rgba(15, 23, 42, 0.08);
}

@media (max-width: 760px) {
    .site-promo-bar__inner {
        justify-content: flex-start;
        gap: 0.7rem;
        padding-left: 1rem;
        padding-right: 1rem;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .site-promo-bar__inner::-webkit-scrollbar {
        display: none;
    }

    .site-promo-bar__message,
    .site-promo-bar__items span {
        overflow: visible;
        text-overflow: clip;
    }
}

@media (max-width: 640px) {
    .site-promo-bar--desktop-only {
        display: none;
    }

    .site-promo-bar {
        font-size: 0.72rem;
    }
}

/* Source: assets/css/components/_pillar-category.css */
/* Reusable editorial category hub */
.pillar-category-page {
    display: grid;
    gap: clamp(2.5rem, 6vw, 5rem);
    margin-top: clamp(2.5rem, 6vw, 5rem);
}

.pillar-category-intro {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: start;
}

.pillar-category-kicker {
    margin: 0 0 var(--spacing-sm);
    color: var(--color-accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.pillar-category-intro h2,
.pillar-section-heading h2,
.pillar-method-block h2,
.pillar-closing-block h2 {
    margin-top: 0;
    color: var(--color-primary);
}

.pillar-category-copy {
    max-width: 68ch;
    color: var(--color-text);
    font-size: 1.05rem;
    line-height: 1.75;
}

.pillar-category-copy p:first-child {
    margin-top: 0;
}

.pillar-priority-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--spacing-lg);
}

.pillar-route-card {
    display: flex;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--color-light-gray);
    border-radius: 12px;
    background: var(--color-card-bg);
    color: inherit;
    text-decoration: none;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.pillar-route-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.09);
}

.pillar-route-media {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--color-light-gray);
}

.pillar-route-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pillar-route-content {
    display: flex;
    flex: 1;
    gap: 0.75rem;
    padding: clamp(1.25rem, 3vw, 2rem);
    flex-direction: column;
}

.pillar-route-content small {
    color: var(--color-accent);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pillar-route-content strong {
    color: var(--color-primary);
    font-size: 1.35rem;
    line-height: 1.2;
}

.pillar-route-content span {
    color: var(--color-text);
    line-height: 1.6;
    opacity: 0.82;
}

.pillar-route-content em {
    margin-top: auto;
    padding-top: var(--spacing-sm);
    color: var(--color-accent);
    font-style: normal;
    font-weight: 700;
}

.pillar-intent-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--color-light-gray);
    border-radius: 12px;
    background: var(--color-light-gray);
}

.pillar-intent-grid a {
    display: grid;
    gap: 0.5rem;
    padding: clamp(1.25rem, 3vw, 2rem);
    background: var(--color-card-bg);
    color: inherit;
    text-decoration: none;
}

.pillar-intent-grid strong {
    color: var(--color-primary);
    font-size: 1.15rem;
}

.pillar-intent-grid span,
.pillar-method-block p,
.pillar-closing-block > p:not(.pillar-category-kicker) {
    color: var(--color-text);
    line-height: 1.65;
    opacity: 0.82;
}

.pillar-method-block {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.5rem, 4vw, 4rem);
    padding: clamp(1.5rem, 4vw, 3.5rem);
    border-radius: 12px;
    background: color-mix(in srgb, var(--color-primary) 8%, var(--color-card-bg));
}

.pillar-method-block a {
    display: inline-block;
    margin-top: var(--spacing-sm);
    color: var(--color-accent);
    font-weight: 700;
}

.pillar-closing-block {
    margin: clamp(3rem, 7vw, 6rem) 0;
    padding: clamp(2rem, 5vw, 4rem);
    border-radius: 12px;
    background: var(--color-primary);
    color: var(--color-white);
}

.pillar-closing-block h2,
.pillar-closing-block > p:not(.pillar-category-kicker) {
    color: inherit;
}

@media (max-width: 900px) {
    .pillar-category-intro,
    .pillar-method-block {
        grid-template-columns: 1fr;
    }

    .pillar-priority-grid {
        grid-template-columns: 1fr;
    }

    .pillar-route-card {
        display: grid;
        grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.2fr);
    }

    .pillar-route-media {
        aspect-ratio: auto;
    }
}

@media (max-width: 620px) {
    .pillar-route-card,
    .pillar-intent-grid {
        grid-template-columns: 1fr;
    }

    .pillar-route-media {
        aspect-ratio: 4 / 3;
    }
}

/* Source: assets/css/utilities/_helpers.css */
/* Utility Classes */

/* Visibility */
.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* Spacing */
.m-0 {
    margin: 0 !important;
}

.mt-1 {
    margin-top: 1rem !important;
}

.mb-1 {
    margin-bottom: 1rem !important;
}

.mt-2 {
    margin-top: 2rem !important;
}

.mb-2 {
    margin-bottom: 2rem !important;
}

/* Text Alignment */
.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

.text-justify {
    text-align: justify !important;
}

/* Flexbox Alignment Helpers */
.items-center {
    display: flex !important;
    align-items: center !important;
}

.items-start {
    display: flex !important;
    align-items: flex-start !important;
}

.items-end {
    display: flex !important;
    align-items: flex-end !important;
}

.justify-center {
    display: flex !important;
    justify-content: center !important;
}

.justify-start {
    display: flex !important;
    justify-content: flex-start !important;
}

.justify-end {
    display: flex !important;
    justify-content: flex-end !important;
}

.flex-column {
    display: flex !important;
    flex-direction: column !important;
}

/* Images */
.img-fluid {
    max-width: 100%;
    height: auto;
}

.img-left,
figure.image.img-left {
    float: left;
    margin: 0 1.5rem 1rem 0;
    max-width: 50%;
}

.img-right,
figure.image.img-right {
    float: right;
    margin: 0 0 1rem 1.5rem;
    max-width: 50%;
}

.img-center,
figure.image.img-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.img-full-width,
figure.image.img-full-width {
    display: block;
    width: 100%;
    margin: 1.5rem 0;
}

.img-rounded,
figure.image.img-rounded img {
    border-radius: 16px;
}

.img-shadow,
figure.image.img-shadow img {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Clearfix */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.h-100 {
    height: 100% !important;
}

/* Source: assets/css/utilities/_responsive.css */
/* Global Responsive Utilities */

/* Responsive Containers */
@media (max-width: 1200px) {
    .container {
        max-width: 95%;
    }
}

@media (max-width: 1024px) {
    .container {
        max-width: 92%;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 1.25rem;
    }
}

/* Visibility Helpers */
@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }

    .show-mobile {
        display: block !important;
    }
}

@media (min-width: 769px) {
    .hide-desktop {
        display: none !important;
    }

    .show-desktop {
        display: block !important;
    }
}

/* Typography Scaling */
@media (max-width: 768px) {

    h1,
    .text-xl {
        font-size: 2rem !important;
        line-height: 1.2;
    }

    h2,
    .text-lg {
        font-size: 1.6rem !important;
        line-height: 1.3;
    }

    h3,
    .text-md {
        font-size: 1.3rem !important;
    }
}

@media (max-width: 480px) {

    h1,
    .text-xl {
        font-size: 1.75rem !important;
    }

    h2,
    .text-lg {
        font-size: 1.4rem !important;
    }
}

/* Spacing Adjustments */
@media (max-width: 768px) {
    .section-padding {
        padding: var(--spacing-lg) 0 !important;
    }

    .mt-xl {
        margin-top: var(--spacing-lg) !important;
    }

    .mb-xl {
        margin-bottom: var(--spacing-lg) !important;
    }
}

/* Source: assets/css/style.css */
/*
 * JSONPress front stylesheet
 */

/* 1. Base */



/* 2. Layout */







/* 3. Components */












/* 4. Pages (if needed for page-specific styles) */
/* @import 'pages/_home.css'; */

/* 5. Utilities */


/* Note: Block-specific styles are now loaded automatically via BlockAssetsManager */
