/*
Theme Name: Klodge Blog by WebSardinia
Author: WebSardinia
Description: Custom editorial WordPress theme for the Klodge multilingual blog.
Version: 1.3.3
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

/* FactorA Premium Font Integration */
@font-face {
    font-family: 'FactorA';
    src: url('./assets/fonts/FactorA-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'FactorA';
    src: url('./assets/fonts/FactorA-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'FactorA';
    src: url('./assets/fonts/FactorA-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'FactorA';
    src: url('./assets/fonts/FactorA-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --tozan-lime: #d3fd1a;
    --tozan-dark: #120B14;
    --tozan-bg: #ffffff;
    --container-width: 1200px;
    --container-gutter: 20px;
    --font-heading: 'FactorA', sans-serif;
    --font-body: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

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

body {
    background-color: var(--tozan-bg);
    color: var(--tozan-dark);
    font-family: var(--font-body);
    font-weight: 300; /* Helvetica Neue Light */
    margin: 0;
    padding-left: 0 !important;
    padding-right: 0 !important;
    -webkit-font-smoothing: antialiased;
    width: 100%;
    overflow-x: hidden;
}

/* Reset Gutenberg main container spacing to prevent top white gap and borders */
.wp-site-blocks,
body > .is-root-container,
.editor-styles-wrapper .wp-site-blocks {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
main#wp--skip-link--target,
.wp-site-blocks > main {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: none !important;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.site-header.is-scrolled {
    background: rgba(18, 11, 20, 0.95); /* Swaps to Dark on Scroll */
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: height 0.4s ease;
}

.site-header.is-scrolled .header-container {
    height: 77px;
}

/* Header Color Logic - TOP State */
.header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-logo .logo-img {
    height: 37px;
    width: auto;
    display: block;
    transition: height 0.4s ease, opacity 0.3s ease;
}

.site-header.is-scrolled .header-logo .logo-img {
    height: 31px;
}

/* Default state: show dark, hide light */
.header-logo .logo-dark {
    display: block;
}
.header-logo .logo-light {
    display: none;
}

/* Scrolled state: show light, hide dark */
.site-header.is-scrolled .header-logo .logo-dark {
    display: none;
}
.site-header.is-scrolled .header-logo .logo-light {
    display: block;
}


.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    font-weight: 400;
    font-size: 17px;
    text-transform: none;
    letter-spacing: 0.2px;
    position: relative;
    padding: 11px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s ease;
}

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

/* Scrolled Color Logic */
.site-header.is-scrolled .header-logo,
.site-header.is-scrolled .nav-links a {
    color: #FFFFFF;
}

.site-header.is-scrolled .hamburger-menu {
    color: #FFFFFF;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px; /* Slightly reduced gap */
    justify-content: flex-end;
}

/* Language Switcher Dropdown Styles */
.klodge-lang-switcher-dropdown {
    position: relative;
    display: inline-block;
}

.klodge-lang-current {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #120B14;
    padding: 11px 0;
    transition: color 0.4s ease;
}

.klodge-lang-caret {
    transition: transform 0.3s ease;
    display: block;
}

.klodge-lang-switcher-dropdown:hover .klodge-lang-caret {
    transform: rotate(180deg);
}

.klodge-lang-dropdown-list {
    position: absolute;
    top: 100%;
    right: 0;
    background: #FFFFFF;
    border: 1px solid rgba(18, 11, 20, 0.08);
    list-style: none;
    padding: 8px 0;
    margin: 0;
    min-width: 80px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.klodge-lang-switcher-dropdown:hover .klodge-lang-dropdown-list,
.klodge-lang-switcher-dropdown.is-active .klodge-lang-dropdown-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.klodge-lang-dropdown-link {
    display: block;
    padding: 9px 18px;
    text-decoration: none;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #120B14;
    transition: background-color 0.2s ease, opacity 0.2s ease;
    text-align: center;
}

.klodge-lang-dropdown-link:hover {
    background-color: #FDFBF7;
    opacity: 0.8;
}

.site-header.is-scrolled .klodge-lang-current {
    color: #FFFFFF;
}

.site-header.is-scrolled .klodge-lang-dropdown-list {
    background: rgba(18, 11, 20, 0.95);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0,0,0,0.35);
}

.site-header.is-scrolled .klodge-lang-dropdown-link {
    color: #FFFFFF;
}

.site-header.is-scrolled .klodge-lang-dropdown-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Hamburger Menu Icon */
.hamburger-menu {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    height: 44px;
    width: 44px;
    color: #120B14;
    transition: color 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.hamburger-menu svg {
    display: block;
    overflow: visible;
    width: 24px;
    height: 11px;
}

.hamburger-menu svg rect {
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.hamburger-menu:hover .hamburger-line-2 {
    width: 22px;
}

/* Button: Prenota */
.btn-prenota {
    background: #120B14;
    color: #FFFFFF !important;
    padding: 11px 24px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0.2px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(18,11,20,0.15);
}

.btn-prenota:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 15px 30px rgba(18,11,20,0.25);
}

.site-header.is-scrolled .btn-prenota {
    background: #ffffff;
    color: #120B14 !important;
}

/* Off-Canvas Menu GRID & PREMIUM DESIGN */
.off-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    background: #120B14 !important;
    color: #FFFFFF;
    z-index: 999999;
    transform: translateX(100%);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    visibility: hidden;
}

body.is-menu-open .off-menu {
    transform: translateX(0);
    visibility: visible;
}

.off-menu-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(18, 11, 20, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

body.is-menu-open .off-menu-overlay {
    opacity: 1;
    visibility: visible;
}

.off-menu-inner {
    padding: 120px 8vw;
    height: 100%;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    position: relative;
    box-sizing: border-box;
}

.close-menu {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    position: absolute;
    top: 40px;
    right: 8vw;
    cursor: pointer;
    color: #FFFFFF;
    transition: all 0.4s ease;
    z-index: 10;
}

.close-menu:hover {
    background: #ffffff;
    color: #120B14;
    transform: rotate(90deg) scale(1.05);
}

/* Two-column layout */
.off-menu-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 8vw;
    width: 100%;
    align-items: center;
}

.off-menu-col-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.off-menu-col-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    padding-left: 5vw;
}

.off-menu-header {
    margin-bottom: 50px;
}

.off-menu-logo {
    display: flex;
    align-items: center;
}

.off-menu-logo .logo-img {
    height: 37px;
    width: auto;
    display: block;
}

/* Navigation Links */
.off-menu-links {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
    counter-reset: menu-counter;
}

.off-menu-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-family: 'FactorA', sans-serif;
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -1px;
    opacity: 0;
    transform: translateY(20px) translateX(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s ease;
    position: relative;
    display: inline-block;
}

body.is-menu-open .off-menu-links a {
    opacity: 0.35;
    transform: translateY(0);
}

body.is-menu-open .off-menu-links a:hover {
    opacity: 1;
    transform: translateX(12px) translateY(0);
    color: #ffffff;
}

/* Staggered animation delays */
.off-menu-links a:nth-child(1) { transition-delay: 0.08s; }
.off-menu-links a:nth-child(2) { transition-delay: 0.14s; }
.off-menu-links a:nth-child(3) { transition-delay: 0.20s; }
.off-menu-links a:nth-child(4) { transition-delay: 0.26s; }
.off-menu-links a:nth-child(5) { transition-delay: 0.32s; }

/* CSS Counter for elegant numbers */
.off-menu-links a::before {
    counter-increment: menu-counter;
    content: "0" counter(menu-counter) " / ";
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.28em;
    letter-spacing: 2px;
    opacity: 0.4;
    margin-right: 15px;
    vertical-align: middle;
    transition: opacity 0.4s ease;
}

.off-menu-links a:hover::before {
    opacity: 0.8;
}

/* Right Column Info Blocks */
.off-menu-info-block {
    margin-bottom: 40px;
}

.off-menu-info-block:last-child {
    margin-bottom: 0;
}

.info-label {
    display: block;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 12px;
}

.info-link,
.off-menu-socials a {
    display: block;
    color: #FFFFFF;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    opacity: 0.75;
    transition: all 0.3s ease;
    margin-bottom: 6px;
}

.info-link:hover,
.off-menu-socials a:hover {
    opacity: 1;
    color: #ffffff;
}

.off-menu-socials {
    display: flex;
    flex-direction: column;
}

/* Off-Menu Language Switcher Overrides (Dark Mode Dropdown) */
.off-menu .klodge-lang-current {
    color: #ffffff !important;
    padding: 5px 0;
}

.off-menu .klodge-lang-caret {
    color: rgba(255, 255, 255, 0.5) !important;
}

.off-menu .klodge-lang-dropdown-list {
    background: #1c141e !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
    right: auto;
    left: 0;
    top: auto;
    bottom: 100%;
    margin-bottom: 8px;
    transform: translateY(-10px);
}

.off-menu .klodge-lang-switcher-dropdown:hover .klodge-lang-dropdown-list,
.off-menu .klodge-lang-switcher-dropdown.is-active .klodge-lang-dropdown-list {
    transform: translateY(0);
}

.off-menu .klodge-lang-dropdown-link {
    color: #ffffff !important;
}

.off-menu .klodge-lang-dropdown-link:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
}

/* Responsive Off-Canvas Grid */
@media (max-width: 767px) {
    .off-menu-inner {
        padding: 80px 30px 40px 30px !important;
        align-items: flex-start;
        overflow-y: auto;
        justify-content: flex-start;
    }
    
    .close-menu {
        top: 20px;
        right: 30px;
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
    
    .off-menu-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        align-items: flex-start;
    }
    
    .off-menu-col-right {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding-top: 35px;
        width: 100%;
        margin-top: 15px;
    }
    
    .off-menu-links a {
        font-size: clamp(24px, 6vw, 36px);
    }
}

.footer-tagline {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 800;
    color: rgba(255,255,255,0.2);
    margin-bottom: 20px;
}

.footer-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
}

.latest-post-title a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.footer-info a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
    opacity: 0.6;
}

.footer-info a:hover {
    color: #FFFFFF;
    opacity: 1;
}

.footer-info span {
    color: rgba(255,255,255,0.1);
}

/* Hero Section */
.hero-section {
    padding: 100px 0 60px;
    text-align: center;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(48px, 8vw, 110px);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -4px;
    margin: 0;
}

/* Category Pill Mosaic (Static) */
.category-grid-tiles {
    display: flex !important;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.category-pill {
    display: flex;
    height: 80px; /* Increased height for editorial impact */
    border-radius: 40px; /* High rounding to match pills */
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #F9F9F9;
    border: 1px solid rgba(0,0,0,0.05);
    cursor: pointer;
}

.category-pill.has-image {
    /* Background handled dynamically via PHP */
}

.category-pill:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.category-pill .icon-box {
    width: 80px; /* Matches height for square block */
    height: 80px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--tozan-lime);
    flex-shrink: 0;
    border-radius: 40px 0 0 40px; /* Rounded only on the outer edge */
}

.category-pill .text-box {
    padding: 0 40px;
    display: flex;
    align-items: center;
    font-weight: 500;
    font-family: var(--font-heading);
    white-space: nowrap; /* Prevent tag name from wrapping */
    transition: color 0.3s ease;
}

.category-pill .tozan-tag {
    display: inline-block;
    transform: none; /* Removed Signature Tilt to match screenshot */
    font-size: 1.2rem;
}

/* Variant: Solid Pills */
.category-pill.is-solid .text-box {
    padding: 0 32px;
}

/* Mosaic Cleanup Guards */
.category-grid-tiles p, 
.category-grid-tiles br {
    display: none !important;
}

/* Curated Topics Section */
.curated-section {
    padding: 80px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.curated-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 26px;
    margin-bottom: 40px;
    color: #120B14;
}

.curated-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) 350px;
    gap: 20px;
    align-items: stretch;
}

.curated-column {
    padding: 40px 30px;
    border-radius: 40px;
    display: flex;
    flex-direction: column;
    min-height: 520px;
}

.col-future { background-color: #FDF4E7; }
.col-innovation { background-color: #FCE8EB; }
.col-health { background-color: #E8FCEF; }

.column-header { margin-bottom: 30px; }
.column-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.6;
}

.topic-loop {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.topic-card-white {
    background: #FFFFFF;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    position: relative; /* For stretched link */
}

.topic-card-white:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.topic-title a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.topic-content {
    flex: 1;
}

.topic-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px; /* Force radius */
    overflow: hidden;
    flex-shrink: 0;
}

.topic-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.topic-item:last-child { border-bottom: none; }

.topic-meta {
    font-size: 14px;
    font-weight: 500;
    color: rgba(18,11,20,0.6);
}

.topic-title a {
    font-family: var(--font-heading);
    font-weight: 580;
    font-size: 24px; /* Pixel-perfect bump */
    line-height: 1.25;
    text-decoration: none;
    color: #120B14;
    transition: opacity 0.2s;
    display: block;
    margin-bottom: 8px;
}

.topic-title a:hover { opacity: 0.7; }

.column-footer {
    text-align: center;
    margin-top: auto;
    padding-top: 20px;
}

.btn-see-all {
    display: inline-block;
    font-size: 11px; /* Reduced font size to prevent wrap */
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #120B14;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap; /* Prevent wrap */
}

.btn-see-all:hover { transform: translateX(5px); }

/* Monday Pick Card */
.monday-pick-column { 
    display: flex;
    position: sticky;
    top: 100px; /* Offset for navbar */
    align-self: flex-start; /* Required for sticky inside grid/flex */
}

/* Monday Pick Card Enhancements */
.monday-pick-card {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: #120B14;
    color: white;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    background-size: cover;
    background-position: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
    min-height: 520px;
}

.monday-pick-card:hover {
    transform: none;
    box-shadow: none;
}

.pick-title a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.pick-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(18,11,20,0.2) 0%, rgba(18,11,20,0.9) 100%);
    z-index: 1;
    transition: opacity 0.3s ease;
}

.monday-pick-card:hover .pick-overlay {
    opacity: 0.8;
}

.pick-badge {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid rgba(255,255,255,0.2);
}

.pick-content { 
    position: relative; 
    z-index: 2; 
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pick-title-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 35px 25px;
    border-radius: 8px;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
}

.monday-pick-card:hover .pick-title-box {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.pick-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 32px;
    line-height: 1.1;
    margin-bottom: 12px;
    letter-spacing: -1.5px;
}

.pick-title a {
    color: #FFFFFF;
    text-decoration: none;
}

.pick-date {
    font-size: 11px;
    color: #FFFFFF;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 800;
}

.btn-go-article {
    background: #ffffff;
    color: #120B14;
    padding: 18px 35px;
    border-radius: 100px;
    font-weight: 900;
    font-size: 16px;
    text-decoration: none;
    text-align: center;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-go-article:hover {
    transform: scale(1.08);
    background: #FFFFFF;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* Sidebar Mode Adjustments */
.monday-pick-card.sidebar-mode {
    min-height: 480px;
    padding: 30px 20px;
}

.monday-pick-card.sidebar-mode .pick-title {
    font-size: 26px;
    letter-spacing: -1px;
}

.monday-pick-card.sidebar-mode .pick-title-box {
    padding: 25px 15px;
}

/* Single Post Header (100vh / 100vw Overlay) */
.single-post-header {
    position: relative;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-sizing: border-box;
    overflow: hidden;
}

.post-header-left {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    max-width: none;
    width: 100%;
    margin: 0 !important;
    padding: 100px 10vw 40px 10vw !important;
    color: #ffffff;
    box-sizing: border-box;
}

.post-header-right {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    padding: 0;
    margin: 0;
}

.post-header-right figure,
.post-header-right .wp-block-post-featured-image,
.post-header-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    display: block;
    border-radius: 0 !important;
    transition: transform 0.6s ease;
    will-change: transform;
}

/* Dark overlay to ensure text readability */
.post-header-right::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 11, 20, 0.45);
    z-index: 2;
}

.single-post-header:hover .post-header-right img {
    transform: scale(1.05); /* Soft image zoom on header hover */
}

.entry-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 800; /* Unified heading weight */
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.entry-meta-wrap {
    font-family: var(--font-body);
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 400; /* Regular fallback for metadata */
    letter-spacing: 1px;
    margin-bottom: 30px;
    color: var(--tozan-dark);
}

.entry-meta-wrap a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid var(--tozan-dark);
    transition: opacity 0.3s ease;
}

.entry-meta-wrap a:hover {
    opacity: 0.7;
}

.meta-sep {
    margin: 0 8px;
    opacity: 0.4;
    font-weight: 400;
}

.entry-excerpt {
    font-size: 20px;
    line-height: 1.55;
    color: rgba(18,11,20,0.7);
    margin-top: 30px;
}

.entry-content {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 var(--container-gutter);
    line-height: 1.75;
    font-size: 17px; /* Elegant reading size */
    font-family: var(--font-body);
    font-weight: 300; /* Helvetica Neue Light */
    color: rgba(18, 11, 20, 0.85);
}

/* Editorial Content Typography & Blocks */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.25;
    color: var(--tozan-dark);
    margin-top: 1.8em;
    margin-bottom: 0.6em;
    letter-spacing: -0.5px;
}

.entry-content h1 { font-size: clamp(28px, 4.5vw, 38px); }
.entry-content h2 { font-size: clamp(24px, 3.8vw, 30px); }
.entry-content h3 { font-size: clamp(20px, 3vw, 24px); }
.entry-content h4 { font-size: clamp(18px, 2.5vw, 20px); }

.entry-content blockquote {
    margin: 45px 0;
    padding: 10px 0 10px 30px;
    border-left: 2px solid var(--tozan-dark);
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(18px, 2.5vw, 22px);
    line-height: 1.6;
    color: rgba(18, 11, 20, 0.7);
}

.entry-content blockquote p {
    margin-bottom: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 30px;
    padding-left: 25px;
}

.entry-content li {
    margin-bottom: 12px;
    line-height: 1.75;
}

.entry-content hr,
.entry-content .wp-block-separator {
    border: none;
    border-top: 1px solid rgba(18, 11, 20, 0.15);
    margin: 50px auto;
    width: 100px;
    max-width: 100px;
}

.entry-content figcaption {
    font-size: 13px;
    color: rgba(18, 11, 20, 0.55);
    margin-top: 12px;
    text-align: center;
    font-family: var(--font-body);
}

.entry-content .wp-block-image img {
    border-radius: 8px !important;
}

/* Bottom Call-To-Action (CTA) inside single post */
.klodge-bottom-cta {
    margin: 60px auto;
    padding: 0 40px;
    max-width: 1400px;
}

/* Destinations CTA Grid */
.klodge-dest-cta-section-title {
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-align: center;
    color: var(--tozan-dark);
}

.klodge-dest-cta-section-desc {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(18, 11, 20, 0.6);
    margin: 0 auto 40px auto;
    text-align: center;
    max-width: 600px;
}

.klodge-dest-cta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-top: 20px;
    padding-bottom: 50px; /* generous padding to accommodate staggered offsets */
}

.klodge-dest-cta-card {
    position: relative;
    display: block;
    aspect-ratio: 4/5;
    overflow: hidden;
    text-decoration: none;
    border-radius: 0;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Premium Aligned Hover Layout */
.klodge-dest-cta-card:hover {
    transform: translateY(-8px);
}

.klodge-dest-cta-img-wrap {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.klodge-dest-cta-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform;
}

.klodge-dest-cta-card:hover .klodge-dest-cta-img-wrap img {
    transform: scale(1.08);
}

.klodge-dest-cta-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    padding: 25px;
    z-index: 2;
    background: rgba(18, 11, 20, 0.25);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: background 0.4s ease;
}

.klodge-dest-cta-card:hover .klodge-dest-cta-overlay {
    background: rgba(18, 11, 20, 0.4);
}

.klodge-dest-cta-cat {
    font-family: var(--font-body);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
    font-weight: 500;
}

.klodge-dest-cta-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 20px;
    line-height: 1.2;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: -0.5px;
    background-image: linear-gradient(transparent calc(100% - 1px), #ffffff 1px);
    background-repeat: no-repeat;
    background-size: 0 100%;
    background-position: 0 0;
    transition: background-size 0.5s cubic-bezier(.45, 0, .14, 1.03);
    display: inline-block;
    width: fit-content;
}

.klodge-dest-cta-card:hover .klodge-dest-cta-title {
    background-size: 100% 100%;
}

/* Owner CTA layout */
.klodge-owner-cta-wrap {
    max-width: var(--container-width);
}

.klodge-owner-cta-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background: #FDFBF7;
    border: 1px solid rgba(18, 11, 20, 0.08);
    min-height: 480px;
}

.klodge-owner-cta-content {
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.klodge-owner-cta-tag {
    font-family: var(--font-body);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--tozan-dark);
    margin-bottom: 20px;
    display: block;
    opacity: 0.6;
}

.klodge-owner-cta-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3.5vw, 44px);
    line-height: 1.15;
    font-weight: 800;
    color: var(--tozan-dark);
    margin: 0 0 20px 0;
    letter-spacing: -1.5px;
}

.klodge-owner-cta-text {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: rgba(18, 11, 20, 0.7);
    margin: 0 0 40px 0;
}

.klodge-owner-cta-btn {
    display: inline-block;
    background: var(--tozan-dark);
    color: #ffffff;
    text-decoration: none;
    padding: 16px 40px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: fit-content;
    transition: all 0.3s ease;
    border: 1px solid var(--tozan-dark);
}

.klodge-owner-cta-btn:hover {
    background: transparent;
    color: var(--tozan-dark);
}

.klodge-owner-cta-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.klodge-owner-cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.klodge-owner-cta-inner:hover .klodge-owner-cta-image img {
    transform: scale(1.04);
}

/* Properties CTA Grid (3 Columns) */
.klodge-prop-cta-section-title {
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 40px;
    text-align: center;
    color: var(--tozan-dark);
}

.klodge-prop-cta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding-top: 20px;
    padding-bottom: 50px; /* generous padding to accommodate staggered offsets */
}

.klodge-prop-cta-card {
    position: relative;
    display: block;
    aspect-ratio: 4/5;
    overflow: hidden;
    text-decoration: none;
    border-radius: 8px;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Premium Staggered Offset Layout for 3 Columns (Central Card is shifted) */
.klodge-prop-cta-card:nth-child(2) {
    transform: translateY(40px);
}

.klodge-prop-cta-card:nth-child(1):hover,
.klodge-prop-cta-card:nth-child(3):hover {
    transform: translateY(-15px);
}

.klodge-prop-cta-card:nth-child(2):hover {
    transform: translateY(25px);
}

.klodge-prop-cta-img-wrap {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.klodge-prop-cta-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform;
}

.klodge-prop-cta-card:hover .klodge-prop-cta-img-wrap img {
    transform: scale(1.08);
}

.klodge-prop-cta-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    z-index: 2;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.klodge-prop-cta-cat {
    font-family: var(--font-body);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
    font-weight: 500;
}

.klodge-prop-cta-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 20px;
    line-height: 1.2;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: -0.5px;
    background-image: linear-gradient(transparent calc(100% - 1px), #ffffff 1px);
    background-repeat: no-repeat;
    background-size: 0 100%;
    background-position: 0 0;
    transition: background-size 0.5s cubic-bezier(.45, 0, .14, 1.03);
    display: inline-block;
    width: fit-content;
}

.klodge-prop-cta-card:hover .klodge-prop-cta-title {
    background-size: 100% 100%;
}

/* Responsive CTA */
@media (max-width: 992px) {
    .klodge-dest-cta-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding-bottom: 20px;
    }
    .klodge-prop-cta-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding-bottom: 30px;
    }
    /* Aligned hover adjustments on tablet screens */
    .klodge-dest-cta-card,
    .klodge-prop-cta-card {
        transform: none;
    }
    .klodge-dest-cta-card:hover,
    .klodge-prop-cta-card:hover {
        transform: translateY(-8px);
    }

    .klodge-owner-cta-inner {
        grid-template-columns: 1fr;
    }
    .klodge-owner-cta-content {
        padding: 40px var(--container-gutter);
    }
    .klodge-owner-cta-image {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .klodge-dest-cta-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding-bottom: 0;
    }
    .klodge-prop-cta-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding-bottom: 0;
    }
    /* Disable staggered offset on single column list to avoid stray spacing */
    .klodge-dest-cta-card:nth-child(even),
    .klodge-prop-cta-card:nth-child(2) {
        transform: none;
    }
    .klodge-dest-cta-card:hover,
    .klodge-prop-cta-card:hover {
        transform: translateY(-8px);
    }
    .klodge-bottom-cta {
        margin: 60px auto;
    }
}


/* Editorial Drop Cap (Capitello) */
.entry-content p:first-of-type::first-letter {
    float: left;
    font-size: 4.8rem;
    line-height: 0.85;
    margin-right: 0.8rem;
    margin-top: 0.2rem;
    font-weight: 900;
    font-family: var(--font-heading);
    color: var(--tozan-dark);
}

.entry-content p {
    margin-bottom: 25px;
}

/* Newsletter Section Enhancements */
.newsletter-section {
    background: #F9F8F6;
    color: #120B14;
    padding: 80px 40px;
    text-align: center;
    border-radius: 0;
    width: 100% !important;
    max-width: 100% !important;
    position: relative;
    left: 0 !important;
    right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 60px;
    margin-bottom: 0 !important;
    border-top: 1px solid rgba(18, 11, 20, 0.06);
    border-bottom: 1px solid rgba(18, 11, 20, 0.06);
    overflow: hidden;
}

.newsletter-container {
    max-width: 620px;
    margin: 0 auto;
    width: 100%;
}

.newsletter-icon {
    margin-bottom: 25px;
    color: #120B14;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-icon svg {
    width: 32px;
    height: 32px;
}

.newsletter-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4.5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    color: #120B14;
}

.newsletter-subtitle {
    font-size: clamp(15px, 2vw, 18px);
    color: rgba(18, 11, 20, 0.6);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-family: var(--font-body);
    font-weight: 300;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto 25px;
}

.input-wrapper {
    display: flex;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
    transition: none;
}

.input-wrapper input {
    flex: 1;
    border: 1px solid rgba(18, 11, 20, 0.15);
    border-right: none;
    padding: 18px 24px;
    font-size: 15px;
    font-family: var(--font-body);
    outline: none;
    background: #FFFFFF;
    color: #120B14;
    border-radius: 0;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.input-wrapper input::placeholder {
    color: rgba(18, 11, 20, 0.4);
}

.input-wrapper input:focus {
    border-color: rgba(18, 11, 20, 0.5);
    background: #FFFFFF;
}

.input-wrapper button {
    background: #120B14;
    color: #FFFFFF;
    border: 1px solid #120B14;
    padding: 18px 35px;
    border-radius: 0;
    font-family: var(--font-body);
    font-weight: 800;
    text-transform: none;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.input-wrapper button:hover {
    background: transparent;
    color: #120B14;
    border-color: #120B14;
}

.newsletter-privacy {
    font-size: 12px;
    color: rgba(18, 11, 20, 0.4);
    font-family: var(--font-body);
    font-weight: 300;
}

@media (max-width: 576px) {
    .input-wrapper {
        flex-direction: column;
        gap: 12px;
    }
    .input-wrapper input {
        border-right: 1px solid rgba(18, 11, 20, 0.15);
        width: 100%;
        padding: 15px 20px;
    }
    .input-wrapper button {
        width: 100%;
        padding: 15px 20px;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .curated-grid { grid-template-columns: 1fr; }
    .hero-title { letter-spacing: -2px; }
}

/* Archive Template Styles */
.archive-main {
    padding-bottom: 100px;
}

.klodge-archive-hero {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 160px 5vw 80px;
    margin-bottom: 80px;
    position: relative;
    border-bottom: 2px solid var(--tozan-dark);
}

.klodge-archive-hero-inner {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.klodge-archive-hero-meta {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--tozan-dark);
    opacity: 0.5;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.klodge-archive-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 0.95;
    margin: 0 0 25px 0;
    text-transform: uppercase;
    color: var(--tozan-dark);
}

.klodge-archive-hero-divider {
    width: 100%;
    height: 2px;
    background-color: var(--tozan-dark);
    margin-bottom: 25px;
}

.klodge-archive-hero-desc {
    font-size: 18px;
    line-height: 1.5;
    color: var(--tozan-dark);
    opacity: 0.8;
    max-width: 800px;
    margin-bottom: 30px;
}

.klodge-archive-hero-explore {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--tozan-dark);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.klodge-archive-hero-count {
    opacity: 0.5;
    font-weight: 600;
}

.archive-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.archive-layout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

.archive-posts-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 40px 30px !important;
}

.archive-post-card {
    display: flex;
    flex-direction: column;
    transition: none;
}

.archive-post-card:hover {
    transform: none;
}

.klodge-archive-empty {
    grid-column: 1 / -1;
    padding: 56px 20px;
    text-align: center;
    background: rgba(18, 11, 20, 0.025);
    border: 1px dashed rgba(18, 11, 20, 0.12);
}

.klodge-archive-empty p {
    margin: 0;
    color: rgba(18, 11, 20, 0.6);
    font-size: 17px;
    font-weight: 300;
}

.post-thumb-wrap {
    aspect-ratio: 16 / 10;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 16px;
    background: #f0f0f0;
}

.post-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.archive-post-card:hover .post-thumb-wrap img {
    transform: scale(1.05);
}

.post-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.post-card-meta time {
    font-weight: 600;
    color: rgba(18, 11, 20, 0.4);
}

.post-card-meta .meta-sep {
    color: rgba(18, 11, 20, 0.3);
    font-weight: 400;
}

.archive-post-cat-pill {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    vertical-align: middle;
}

.archive-post-cat-pill a {
    display: inline-block;
    font-size: 9px;
    font-weight: 500;
    color: var(--tozan-dark);
    background: #ffffff;
    border: 1.5px solid rgba(18, 11, 20, 0.2);
    padding: 3px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.archive-post-cat-pill a:hover {
    background: var(--tozan-dark);
    color: #ffffff;
    border-color: var(--tozan-dark);
}

.post-card-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 13px;
    line-height: 1.25;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-card-title a {
    text-decoration: none;
    color: #120B14;
}

.post-card-title a:hover {
    opacity: 0.7;
}

.sidebar-pick-wrapper {
    position: sticky;
    top: 120px;
}

.pick-label {
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 30px;
    opacity: 0.5;
}

.sidebar-mode {
    min-height: 550px !important;
}

/* Pagination Styling */
.pagination-wrap {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.wp-block-query-pagination-numbers {
    display: flex;
    gap: 10px;
}

.wp-block-query-pagination-numbers a,
.wp-block-query-pagination-numbers .current {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    color: #120B14;
    background: rgba(0,0,0,0.03);
}

.wp-block-query-pagination-numbers .current {
    background: #120B14;
    color: white;
}

/* Responsive Archive */
@media (max-width: 1200px) {
    .archive-posts-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 991px) {
    .archive-layout-grid {
        grid-template-columns: 1fr;
    }
    .klodge-archive-hero {
        padding: 120px 5vw 50px;
    }
}

@media (max-width: 600px) {
    .archive-posts-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Featured "What we love" Section */
.featured-section-wrap {
    margin: 80px auto;
    max-width: 1400px;
    padding: 0 40px;
}

.featured-label {
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    opacity: 0.5;
    margin-bottom: 25px;
}

.featured-glass-box {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(40px);
    border-radius: 60px;
    padding: 60px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

/* Subtle glowing background elements */
.featured-glass-box::before {
    content: '';
    position: absolute;
    top: -10%;
    left: 20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(224, 195, 252, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.featured-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.featured-main-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 900;
    letter-spacing: -2px;
    margin: 0;
    color: #120B14;
}

.btn-see-all-featured {
    font-weight: 700;
    font-size: 14px;
    color: #120B14;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.btn-see-all-featured:hover {
    opacity: 1;
}

.featured-posts-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

/* Responsive grid adjustments */
@media (max-width: 1300px) {
    .featured-posts-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    /* Optional: hide 5th card on 4-col view if desired */
    .featured-posts-grid article:nth-child(5) {
        display: none;
    }
}

@media (max-width: 1000px) {
    .featured-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .featured-posts-grid article:nth-child(5) {
        display: block; 
    }
}

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

.featured-footer-cta {
    text-align: center;
    margin-top: 20px;
}

.btn-discover-more {
    display: inline-block;
    background: #120B14;
    color: #fff;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-discover-more:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.featured-card {
    flex: 0 0 300px;
    background: transparent;
    border-radius: 0;
    padding: 0;
    transition: none;
}

.featured-card:hover {
    transform: none;
    box-shadow: none;
}

.featured-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.featured-thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
}

.featured-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-card-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-card-meta {
    font-size: 12px;
    color: rgba(0,0,0,0.5);
    line-height: 1.5;
}

.featured-card-meta .author {
    display: block;
    font-weight: 700;
    margin-bottom: 4px;
    color: #120B14;
}

/* Featured Section Responsive */
@media (max-width: 991px) {
    .featured-glass-box {
        padding: 40px 30px;
        border-radius: 40px;
    }
    .featured-section-wrap {
        padding: 0 20px;
    }
}

/* High-Fidelity 6-Column Footer */
.site-footer {
    background: #120B14;
    color: #fff;
    padding: 120px 40px 80px;
    margin-top: 60px;
}

body.home .site-footer {
    margin-top: 0 !important;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-column h4 {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 30px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}
/* Latest Posts Section (Cosa c'è di nuovo) */
.latest-posts-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.latest-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 60px;
    text-align: center;
}

.latest-posts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.latest-post-card {
    display: flex;
    flex-direction: column;
    position: relative; /* For stretched link */
    transition: none;
}

.latest-post-card:hover {
    transform: none;
}

.latest-post-thumb {
    display: block;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 16px;
    aspect-ratio: 4/3;
}

.latest-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.latest-post-thumb:hover img {
    transform: scale(1.05);
}

.latest-post-title {
    font-weight: 580;
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 15px;
}

.latest-post-title a {
    color: #120B14;
    text-decoration: none;
}

.latest-post-meta {
    font-size: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.meta-author { font-weight: 700; }
.meta-details { opacity: 0.6; }

.footer-contact-info {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    max-width: 1400px;
    margin: 80px auto 0;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.footer-bottom a:hover {
    opacity: 1;
    color: #ffffff;
}

/* Footer Responsive */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 60px 40px;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 60px 20px 40px;
        margin-top: 60px;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }
    .footer-column:first-child {
        grid-column: span 2 !important;
    }
    .footer-bottom {
        margin-top: 50px;
        padding-top: 30px;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 60px 20px 40px;
        margin-top: 60px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px 0;
        text-align: center;
    }
    .footer-column:first-child {
        grid-column: span 1 !important;
    }
    .footer-logo img {
        margin: 0 auto 20px !important;
    }
    .footer-column:first-child .footer-contact-info {
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
    }
    .footer-column h4 {
        margin-bottom: 15px;
    }
    .footer-bottom {
        margin-top: 40px;
        padding-top: 30px;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Obsolete Search CSS Removed */

/* ================================================================
   HENRIK EDITION — NEW COMPONENT STYLES  v2.0
   ================================================================ */

:root {
    /* Henrik Pastels */
    --klodge-sky:    #D0E1E8;
    --klodge-blush:  #E8D4CE;
    --klodge-sage:   #D4E8D8;
    --klodge-sand:   #F0E8D8;
    --klodge-mist:   #F4F4F2;
    --klodge-charcoal: #2A2A2A;
    --klodge-warm:   #F9F5EF;
}

/* ----------------------------------------------------------------
   HERO SLIDER
   ---------------------------------------------------------------- */

.klodge-hero-wrap {
    padding-top: 0;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    position: relative;
    left: 0;
    right: 0;
}

.klodge-hero-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: #000;
    user-select: none;
}

.klodge-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: grab;
}
.klodge-slider-track:active {
    cursor: grabbing;
}

.klodge-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
}

/* Full Bleed Image */
.klodge-slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.klodge-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.05);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.klodge-slide.is-active .klodge-slide-image img {
    transform: scale(1);
}

.klodge-slide-no-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #120B14, #2A2030);
}

/* Gradient Overlay for Text Readability */
.klodge-slide-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.1) 60%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 2;
}

/* Content Overlay placed on bottom-left */
.klodge-slide-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: none;
    padding: 0 10vw !important;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(4vh);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.klodge-slide.is-active .klodge-slide-content {
    opacity: 1;
    transform: translateY(0);
}

/* Meta date and category */
.klodge-slide-meta {
    display: flex;
    align-items: center;
    gap: 1vw;
    margin-bottom: 2.5vh;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.klodge-slide-date {
    opacity: 0.85;
}

.klodge-slide-sep {
    width: 0.35rem;
    height: 0.35rem;
    background: #FFFFFF;
    border-radius: 50%;
    display: inline-block;
    opacity: 0.5;
}

.klodge-slide-cat {
    color: #FFFFFF;
    text-decoration: none;
    position: relative;
    padding-bottom: 0.2vh;
}

.klodge-slide-cat::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0.1rem;
    background: #FFFFFF;
    transform: scaleX(1);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.klodge-slide-cat:hover::after {
    transform: scaleX(0);
    transform-origin: right;
}

/* Giant Title (FactorA) */
.klodge-slide-title {
    font-family: 'FactorA', sans-serif;
    font-weight: 900;
    font-size: clamp(2.2rem, 5.5vw, 4.5rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin: 0;
    max-width: 800px;
}

.klodge-slide-title a {
    color: #FFFFFF;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.klodge-slide-title a:hover {
    opacity: 0.85;
}

/* Absolute Side Controls (SVG arrows) */
.klodge-slider-prev,
.klodge-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: none;
    border: none;
    color: #FFFFFF;
    width: 4rem;
    height: 4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.klodge-slider-prev {
    left: 2vw;
}

.klodge-slider-next {
    right: 2vw;
}

.klodge-slider-prev:hover,
.klodge-slider-next:hover {
    opacity: 1;
    color: #FFFFFF;
}

.klodge-slider-prev svg,
.klodge-slider-next svg {
    display: block;
    width: 1.2rem;
    height: 2.2rem;
    transition: transform 0.3s ease;
}

.klodge-slider-prev:hover svg {
    transform: translateX(-0.25rem);
}

.klodge-slider-next:hover svg {
    transform: translateX(0.25rem);
}

/* Pagination Dots */
.klodge-slider-dots {
    position: absolute;
    bottom: 4vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.klodge-dot {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    border: 0.12rem solid rgba(255, 255, 255, 0.4);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.klodge-dot.is-active {
    background: #FFFFFF;
    border-color: #FFFFFF;
    transform: scale(1.25);
}

/* Responsive adjustments */
@media (max-width: 64em) {
    .klodge-slide-content {
        padding: 0 10vw !important;
    }
    .klodge-slider-prev {
        left: 1.5vw;
    }
    .klodge-slider-next {
        right: 1.5vw;
    }
}

@media (max-width: 48em) {
    .klodge-slide-content {
        padding: 0 20px !important;
    }
    .klodge-slide-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        letter-spacing: -0.02em;
    }
    .klodge-slider-prev,
    .klodge-slider-next {
        display: none;
    }
    .klodge-slider-dots {
        bottom: 3vh;
    }
}


/* ----------------------------------------------------------------
   INTRO TEXT SECTION (SEO & INTRO)
   ---------------------------------------------------------------- */
.klodge-intro-section {
    padding: 80px 0 45px;
    background: transparent;
    text-align: center;
}
.klodge-intro-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}
.klodge-intro-title {
    font-family: var(--font-heading);
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1px;
    text-transform: uppercase;
    color: var(--tozan-dark);
    margin: 0 0 20px 0;
}
.klodge-intro-desc {
    font-family: Inter, sans-serif;
    font-size: clamp(15px, 2vw, 17px);
    font-weight: 400;
    line-height: 1.6;
    color: rgba(18, 11, 20, 0.7);
    margin: 0;
}

/* ----------------------------------------------------------------
   CATEGORY PILLS
   ---------------------------------------------------------------- */

.klodge-pills-section {
    padding: 20px 0 40px;
}

.klodge-pills-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 40px;
}

.klodge-pills-track {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    width: 100%;
}

.klodge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0;
    height: 56px;
    border-radius: 28px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.klodge-pill:hover {
    transform: scale(1.06) translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.klodge-pill-icon {
    width: 56px; height: 56px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    border-radius: 28px 0 0 28px;
}

.klodge-pill-label {
    padding: 0 28px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: -0.3px;
}

@media (max-width: 768px) {
    .klodge-pills-wrap {
        padding: 10px 20px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .klodge-pills-wrap::-webkit-scrollbar {
        display: none;
    }
    .klodge-pills-track {
        flex-wrap: nowrap;
        justify-content: flex-start;
        width: max-content;
    }
    .klodge-pill { height: 48px; border-radius: 24px; }
    .klodge-pill-icon { width: 48px; height: 48px; border-radius: 24px 0 0 24px; }
    .klodge-pill-label { padding: 0 20px; font-size: 0.9rem; }
}


/* ----------------------------------------------------------------
   SPLIT FEATURED
   ---------------------------------------------------------------- */

.klodge-split-section {
    width: 100% !important;
    max-width: 100% !important;
    height: 100vh;
    max-height: 100vh;
    position: relative;
    left: 0 !important;
    right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    overflow: hidden;
}

.klodge-split-featured {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 6vw;
    width: 100%;
    height: 100%;
    max-height: 100%;
    max-width: 100%;
    padding: 5vh 6vw;
    align-items: stretch;
    box-sizing: border-box;
    overflow: hidden;
}

.klodge-split-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 0;
    max-height: 100%;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.klodge-split-left::-webkit-scrollbar {
    display: none;
}

.klodge-split-tag {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(18, 11, 20, 0.4);
    margin-bottom: 12px;
    display: inline-block;
}

.klodge-split-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--tozan-dark);
}

.klodge-split-cat {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 1px solid var(--tozan-dark);
    color: var(--tozan-dark);
    padding: 4px 12px;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}
.klodge-split-cat:hover {
    background: var(--tozan-dark);
    color: #FFFFFF;
}

.klodge-split-meta-sep {
    opacity: 0.35;
    font-weight: 300;
}

.klodge-split-date,
.klodge-split-author {
    opacity: 0.6;
}

.klodge-split-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(28px, 3.8vw, 54px);
    line-height: 1.1;
    letter-spacing: -2px;
    text-transform: uppercase;
    margin: 0;
}
.klodge-split-title a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    text-decoration-color: var(--tozan-dark);
    color: var(--tozan-dark);
    transition: opacity 0.2s;
}
.klodge-split-title a:hover {
    opacity: 0.7;
    text-decoration-color: rgba(18, 11, 20, 0.4);
}

.klodge-split-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(18, 11, 20, 0.7);
    max-width: 440px;
    margin-top: 3.5vh;
    margin-bottom: 0;
}
.klodge-split-excerpt-desktop {
    display: block;
}
.klodge-split-excerpt-mobile {
    display: none;
}

/* Right: vertical stacked images */
.klodge-split-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
    height: 100%;
    max-height: 100%;
    overflow: hidden;
}

.klodge-split-img {
    width: 100%;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    border-radius: 0;
}
.klodge-split-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.klodge-split-img:hover img {
    transform: scale(1.025);
}

.klodge-split-img-1,
.klodge-split-img-2 {
    position: relative;
    box-shadow: none;
}

@media (max-width: 991px) {
    .klodge-split-section {
        height: auto;
    }
    .klodge-split-featured {
        grid-template-columns: 1fr;
        height: auto;
        padding: 60px 20px;
        gap: 40px;
    }
    .klodge-split-left {
        padding-right: 0;
        min-height: auto;
    }
    .klodge-split-excerpt {
        margin-top: 30px;
    }
    .klodge-split-excerpt-desktop {
        display: none;
    }
    .klodge-split-excerpt-mobile {
        display: block;
    }
    .klodge-split-right {
        height: auto;
        gap: 20px;
    }
    .klodge-split-img {
        aspect-ratio: 1.6;
        height: auto;
        flex: none;
    }
    .klodge-ep-section {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}
@media (max-width: 600px) {
    .klodge-split-featured {
        padding: 60px 20px;
    }
}


/* ----------------------------------------------------------------
   EDITOR'S PICK
   ---------------------------------------------------------------- */

.klodge-ep-section {
    padding: 80px 40px;
    background: #ffffff;
    width: 100% !important;
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
}

.klodge-editors-pick {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.klodge-ep-section-header {
    text-align: center;
    margin-bottom: 32px;
}

.klodge-ep-section-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(32px, 4vw, 54px);
    letter-spacing: -2px;
    color: var(--tozan-dark);
    margin: 0 0 24px;
}

.klodge-ep-divider {
    width: 100%;
    height: 1px;
    background-color: var(--tozan-dark);
    margin-bottom: 20px;
}

.klodge-ep-filter-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.klodge-ep-filter-label {
    font-size: 10px;
    font-weight: 600;
    color: rgba(18,11,20,0.6);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.klodge-ep-filter-label strong {
    color: var(--tozan-dark);
    border-bottom: 1.5px solid var(--tozan-dark);
    padding-bottom: 1px;
}

.klodge-ep-filter-label svg.chevron-down {
    color: var(--tozan-dark);
    margin-left: 2px;
}

.klodge-ep-grid.five-cols {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px 20px;
}

.klodge-ep-card {
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    transition: none;
    box-shadow: none;
}
.klodge-ep-card:hover {
    transform: none;
    box-shadow: none;
}

.klodge-ep-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 8px;
}
.klodge-ep-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.klodge-ep-card:hover .klodge-ep-thumb img { transform: scale(1.07); }

.klodge-ep-body {
    padding: 16px 0 0 0;
}

.klodge-ep-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 10px;
    letter-spacing: 0.5px;
}

.klodge-ep-date {
    font-weight: 600;
    color: rgba(18, 11, 20, 0.4);
}

.klodge-ep-meta-sep {
    color: rgba(18, 11, 20, 0.3);
    font-weight: 400;
}

.klodge-ep-cat-pill {
    display: inline-block;
    font-size: 9px;
    font-weight: 500;
    color: var(--tozan-dark);
    background: #ffffff;
    border: 1.5px solid rgba(18, 11, 20, 0.2);
    padding: 3px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.klodge-ep-card-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 13px;
    line-height: 1.25;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.klodge-ep-card-title a { text-decoration: none; color: var(--tozan-dark); }
.klodge-ep-card-title a:hover { opacity: 0.7; }

.klodge-ep-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 60px;
}

.klodge-ep-page-num {
    font-size: 13px;
    font-weight: 600;
    color: rgba(18, 11, 20, 0.4);
    text-decoration: none;
    position: relative;
    padding-bottom: 4px;
}

.klodge-ep-page-num.is-active {
    color: var(--tozan-dark);
}

.klodge-ep-page-num.is-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1.5px;
    background-color: var(--tozan-dark);
}

.klodge-ep-page-next {
    color: var(--tozan-dark);
    display: inline-flex;
    align-items: center;
}

@media (max-width: 1200px) {
    .klodge-ep-grid.five-cols { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .klodge-ep-grid.five-cols { grid-template-columns: repeat(2, 1fr); }
    .klodge-editors-pick { padding: 0 20px; }
}
@media (max-width: 480px) {
    .klodge-ep-grid.five-cols { grid-template-columns: 1fr; }
}


/* ----------------------------------------------------------------
   DESTINATIONS BLOCK
   ---------------------------------------------------------------- */

.klodge-dest-section {
    padding: 80px 0;
}

.klodge-destinations {
    background: var(--klodge-sand);
    border-radius: 0;
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px;
}
.klodge-destinations + .klodge-destinations {
    margin-top: 40px;
}

.klodge-dest-header {
    margin-bottom: 50px;
}

.klodge-dest-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.45;
    margin-bottom: 12px;
}

.klodge-dest-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(32px, 4vw, 56px);
    letter-spacing: -2px;
    margin: 0;
    color: var(--tozan-dark);
}

.klodge-dest-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.klodge-dest-card {
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    transition: none;
    box-shadow: none;
}
.klodge-dest-card:hover {
    transform: none;
    box-shadow: none;
}

.klodge-dest-thumb {
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 8px;
}
.klodge-dest-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.klodge-dest-card:hover .klodge-dest-thumb img { transform: scale(1.06); }

.klodge-dest-body {
    padding: 20px 0 0 0;
}

.klodge-dest-meta {
    display: flex;
    gap: 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.4;
    margin-bottom: 12px;
}

.klodge-dest-card-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(22px, 2.5vw, 32px);
    letter-spacing: -1px;
    line-height: 1.15;
    margin: 0 0 10px;
}
.klodge-dest-card-title a { text-decoration: none; color: var(--tozan-dark); }
.klodge-dest-card-title a:hover { opacity: 0.7; }

.klodge-dest-excerpt { font-size: 15px; line-height: 1.6; color: rgba(18,11,20,0.6); margin-bottom: 20px; }

.klodge-dest-link {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 13px;
    color: var(--tozan-dark);
    text-decoration: none;
    border-bottom: 2px solid var(--tozan-dark);
    padding-bottom: 2px;
    transition: all 0.3s ease;
}
.klodge-dest-link:hover { letter-spacing: 1px; }

@media (max-width: 991px) {
    .klodge-destinations { padding: 50px 30px; border-radius: 0; }
    .klodge-dest-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) { .klodge-dest-section { padding: 40px 20px; } }


/* ----------------------------------------------------------------
   OWNER BANNER
   ---------------------------------------------------------------- */

.klodge-owner-banner-section {
    width: 100% !important;
    max-width: 100% !important;
    position: relative;
    left: 0 !important;
    right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    overflow: hidden;
}

.klodge-owner-banner {
    position: relative;
    width: 100%;
    height: 55vh;
    min-height: 480px;
    max-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    box-sizing: border-box;
    padding: 40px 20px;
}

.klodge-ob-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.klodge-owner-banner:hover .klodge-ob-bg {
    transform: scale(1.04);
}

.klodge-ob-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(18, 11, 20, 0.45) 0%, rgba(18, 11, 20, 0.8) 100%);
    z-index: 2;
}

.klodge-ob-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    width: 100%;
    padding: 0 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.klodge-ob-tag {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 24px;
    display: inline-block;
}

.klodge-ob-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(32px, 4.5vw, 56px);
    line-height: 1.1;
    letter-spacing: -2px;
    text-transform: uppercase;
    color: #FFFFFF;
    margin: 0 0 16px 0;
    max-width: 800px;
}

.klodge-ob-desc {
    font-size: clamp(14px, 1.2vw, 17px);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    max-width: 680px;
    margin: 0 0 32px 0;
    font-weight: 300;
}

.klodge-ob-btn {
    display: inline-block;
    background-color: #FFFFFF;
    color: var(--tozan-dark);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 16px 36px;
    border-radius: 999px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1.5px solid transparent;
}

.klodge-ob-btn:hover {
    background-color: transparent;
    color: #FFFFFF;
    border-color: #FFFFFF;
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    .klodge-owner-banner {
        height: auto;
        min-height: 420px;
        padding: 60px 20px;
    }
    .klodge-ob-content {
        padding: 0 10px;
    }
    .klodge-ob-title {
        letter-spacing: -1px;
    }
    .klodge-ob-tag {
        margin-bottom: 16px;
    }
    .klodge-ob-desc {
        margin-bottom: 24px;
    }
    .klodge-ob-btn {
        padding: 14px 28px;
    }
}


/* ----------------------------------------------------------------
   OWNER BLOCK
   ---------------------------------------------------------------- */

.klodge-owner-section { padding: 60px 0; }

.klodge-owner-block {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.klodge-owner-header { margin-bottom: 48px; }

.klodge-owner-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.4;
    margin-bottom: 12px;
}

.klodge-owner-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(28px, 3.5vw, 48px);
    letter-spacing: -2px;
    margin: 0;
    color: var(--tozan-dark);
}

.klodge-owner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.klodge-owner-card {
    border-radius: 0;
    overflow: hidden;
    background: transparent;
    box-shadow: none;
    transition: none;
}
.klodge-owner-card:hover {
    transform: none;
    box-shadow: none;
}

.klodge-owner-thumb {
    width: 100%;
    height: 220px;
    overflow: hidden;
}
.klodge-owner-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.klodge-owner-card:hover .klodge-owner-thumb img { transform: scale(1.06); }

.klodge-owner-body { padding: 16px 0 0 0; }
.klodge-owner-date { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; opacity: 0.4; display: block; margin-bottom: 10px; }

.klodge-owner-card-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 20px;
    line-height: 1.3;
    margin: 0 0 12px;
}
.klodge-owner-card-title a { text-decoration: none; color: var(--tozan-dark); }
.klodge-owner-card-title a:hover { opacity: 0.7; }

.klodge-owner-excerpt { font-size: 14px; line-height: 1.6; color: rgba(18,11,20,0.55); margin: 0; }

.klodge-owner-footer {
    margin-top: 56px;
    text-align: center;
}

.klodge-owner-footer-btn {
    display: inline-block;
    background-color: var(--tozan-dark);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 16px 36px;
    border-radius: 999px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1.5px solid var(--tozan-dark);
}

.klodge-owner-footer-btn:hover {
    background-color: transparent;
    color: var(--tozan-dark);
    transform: translateY(-2px);
}

@media (max-width: 991px) { .klodge-owner-grid { grid-template-columns: 1fr; } .klodge-owner-block { padding: 0 20px; } }


/* ----------------------------------------------------------------
   INSTAGRAM FEED
   ---------------------------------------------------------------- */

.klodge-ig-section {
    padding: 80px 0;
    background: var(--klodge-sand);
    border-radius: 0;
    max-width: 1400px;
    margin: 0 auto 80px;
}

.klodge-instagram {
    padding: 0 40px;
}

.klodge-ig-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.klodge-ig-handle {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 24px;
    letter-spacing: -0.5px;
    color: var(--tozan-dark);
}

.klodge-ig-cta {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(18,11,20,0.5);
    text-decoration: none;
    transition: color 0.3s;
}
.klodge-ig-cta:hover { color: var(--tozan-dark); }

.klodge-ig-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.klodge-ig-item {
    display: block;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
}
.klodge-ig-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.klodge-ig-item:hover img { transform: scale(1.08); }

.klodge-ig-overlay {
    position: absolute;
    inset: 0;
    background: rgba(18,11,20,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.klodge-ig-item:hover .klodge-ig-overlay { opacity: 1; }
.klodge-ig-overlay svg {
    width: 28px; height: 28px;
    color: #fff;
    stroke: #fff;
}

@media (max-width: 1100px) { .klodge-ig-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  {
    .klodge-ig-grid { grid-template-columns: repeat(2, 1fr); }
    .klodge-instagram { padding: 0 20px; }
    .klodge-ig-section { border-radius: 0; }
}


/* Pinned Area Section */
.pinned-area-wrap {
    padding: 100px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .pinned-area-wrap {
        padding: 60px 20px;
    }
}

.pinned-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 26px;
    margin-bottom: 40px;
    color: #120B14;
}

.pinned-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

.pinned-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #FDFBF7;
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(18,11,20,0.03);
    position: relative; /* For stretched link */
}

.pinned-card:hover {
    background: #FFFFFF;
    box-shadow: 0 15px 40px rgba(18,11,20,0.05);
    transform: translateY(-5px);
}

.pinned-card-title a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.pinned-thumb {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.pinned-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pinned-card-content {
    flex: 1;
}

.pinned-card-title {
    font-family: var(--font-heading);
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 8px;
}

.pinned-card-title a {
    color: #120B14;
    text-decoration: none;
}

.pinned-card-meta {
    font-size: 14px;
    color: rgba(18,11,20,0.5);
    font-weight: 600;
    text-transform: uppercase;
}

/* --- MOBILE RESPONSIVE OVERRIDES --- */
@media (max-width: 991px) {
    body {
        overflow-x: hidden;
        width: 100%;
    }

    /* Header & Navigation */
    .site-header {
        background: transparent !important;
        border-bottom: none;
    }
    .site-header.is-scrolled {
        background: #120B14 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-links, .btn-prenota {
        display: none !important;
    }
    
    .header-container {
        padding: 0 20px;
    }
    
    /* Hamburger Adjustments */
    .header-right {
        gap: 0;
    }

    
    /* Hero */
    .hero-section {
        padding: 120px 20px 40px;
    }
    .hero-title {
        font-size: clamp(40px, 10vw, 64px);
    }
    
    /* Tag Mosaic */
    .category-pill {
        height: 60px;
        border-radius: 30px;
    }
    .category-pill .icon-box {
        width: 60px;
        height: 60px;
        border-radius: 30px 0 0 30px;
    }
    .category-pill .text-box {
        padding: 0 25px;
    }
    .category-pill.is-solid .text-box {
        padding: 0 20px;
    }
    .category-pill .tozan-tag {
        font-size: 1rem;
    }
    
    /* All Grids to 1 Column */
    .curated-grid, 
    .latest-posts-grid, 
    .pinned-grid,
    .featured-posts-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .curated-section, .featured-section-wrap, .latest-posts-section, .pinned-area-wrap {
        padding: 40px 20px;
    }
    
    .curated-column {
        padding: 30px 20px;
        min-height: auto;
    }
    
    .monday-pick-column {
        position: relative;
        top: 0;
    }
    .monday-pick-card {
        min-height: 400px;
    }
    .post-content-container, .post-container {
        padding: 0 20px;
    }
}

/* Accessibility & SEO utility classes */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* ============================================================
   ULTIMI ARTICOLI 2 - MASONRY GRID [klodge_editors_pick_2]
   ============================================================ */
.klodge-ep2-section {
    width: 100% !important;
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 4vh;
    margin-bottom: 4vh;
    padding: 0 40px;
    box-sizing: border-box;
}
.klodge-ep2-section-header {
    text-align: center;
    margin-bottom: 3vh;
}
.klodge-ep2-section-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(32px, 4vw, 54px);
    letter-spacing: -2px;
    text-transform: uppercase;
    margin: 0 0 24px;
    color: var(--tozan-dark);
}
.klodge-ep2-divider {
    width: 100%;
    height: 1px;
    background-color: var(--tozan-dark);
}
.klodge-ep2-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}
.klodge-ep2-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 22vh 22vh 33vh;
    gap: 15px;
    width: 100%;
}
.klodge-ep2-card {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%; /* Stretch to fill grid area */
    display: flex;
    flex-direction: column;
    background: transparent;
    transition: none;
}
.klodge-ep2-card,
.klodge-ep2-thumb,
.klodge-ep2-thumb img {
    border-radius: 0 !important;
    box-shadow: none !important;
}
.klodge-ep2-thumb {
    display: block;
    width: 100%;
    height: 100%; /* Fill card area */
    overflow: hidden;
    background: #f0f0f0;
}
/* CSS Grid Placements for Editorial 100vh Mosaics */
.klodge-ep2-card:nth-child(6n+1) {
    grid-column: span 2;
    grid-row: span 2;
}
.klodge-ep2-card:nth-child(6n+2) {
    grid-column: span 1;
    grid-row: span 2;
}
.klodge-ep2-card:nth-child(6n+3) {
    grid-column: span 1;
    grid-row: span 1;
}
.klodge-ep2-card:nth-child(6n+4) {
    grid-column: span 2;
    grid-row: span 1;
}
.klodge-ep2-card:nth-child(6n+5) {
    grid-column: span 1;
    grid-row: span 1;
}
.klodge-ep2-card:nth-child(6n+6) {
    grid-column: span 2;
    grid-row: span 1;
}

.klodge-ep2-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.6s ease;
    will-change: transform;
}
.klodge-ep2-card:hover .klodge-ep2-thumb img {
    transform: scale(1.08);
}
.klodge-ep2-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0) 100%);
    pointer-events: none;
}
.klodge-ep2-body * {
    pointer-events: auto;
}
.klodge-ep2-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: Inter, sans-serif;
    color: rgba(255, 255, 255, 0.75);
}
.klodge-ep2-date {
    font-weight: 500;
}
.klodge-ep2-meta-sep {
    font-weight: 400;
}
.klodge-ep2-cat {
    font-weight: 500;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}
.klodge-ep2-cat:hover {
    opacity: 0.8;
}
.klodge-ep2-card-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 22px;
    line-height: 1.2;
    margin: 0;
    letter-spacing: -0.5px;
}
.klodge-ep2-card-title a {
    text-decoration: none;
    color: #ffffff;
    background-image: linear-gradient(transparent calc(100% - 1px), #ffffff 1px);
    background-repeat: no-repeat;
    background-size: 0 100%;
    background-position: 0 100%;
    transition: background-size 0.6s cubic-bezier(.45, 0, .14, 1.03);
}
.klodge-ep2-card:hover .klodge-ep2-card-title a {
    background-size: 100% 100%;
}
.klodge-ep2-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 3vh;
}
.klodge-ep2-page-num {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 14px;
    color: rgba(18, 11, 20, 0.4);
    text-decoration: none;
    position: relative;
    padding: 5px 10px;
}
.klodge-ep2-page-num.is-active {
    color: var(--tozan-dark);
}
.klodge-ep2-page-num.is-active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 10px;
    right: 10px;
    height: 2px;
    background-color: var(--tozan-dark);
}
.klodge-ep2-page-prev,
.klodge-ep2-page-next {
    color: var(--tozan-dark);
    display: flex;
    align-items: center;
    text-decoration: none;
}

@media (max-width: 991px) {
    .klodge-ep-section {
        padding: 40px 20px !important;
    }
    .klodge-ep2-section {
        margin-top: 50px !important;
        margin-bottom: 50px !important;
        padding: 0 20px !important;
    }
    .klodge-ep2-section-header {
        margin-bottom: 30px;
    }
    .klodge-ep2-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto !important;
    }
    /* Balance tablet editorial hierarchy */
    .klodge-ep2-card:nth-child(n) {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        aspect-ratio: 4 / 3 !important;
    }
    .klodge-ep2-card:nth-child(6n+1) {
        grid-column: span 2 !important;
        aspect-ratio: 16 / 10 !important;
    }
    .klodge-ep2-pagination {
        margin-top: 30px;
    }
}
@media (max-width: 600px) {
    .klodge-ep2-section {
        margin-top: 40px !important;
        margin-bottom: 40px !important;
    }
    .klodge-ep2-section-header {
        margin-bottom: 20px;
    }
    .klodge-ep2-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto !important;
    }
    .klodge-ep2-card:nth-child(n) {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        aspect-ratio: 16 / 10 !important;
    }
    .klodge-ep2-card-title {
        font-size: 18px !important;
    }
    .klodge-ep2-body {
        padding: 15px;
    }
    .klodge-ep2-pagination {
        margin-top: 20px;
    }
}

/* Category Search Styling */
.archive-search-container {
    display: none;
    margin: 40px 0 30px 0;
}

body.category .archive-search-container {
    display: block;
}

.mag-search-wrap {
    position: relative;
    max-width: 400px;
    width: 100%;
}

.mag-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(18, 11, 20, 0.4);
    pointer-events: none;
    display: flex;
    align-items: center;
}

.mag-search-icon svg {
    display: block;
}

.mag-search {
    width: 100%;
    padding: 13px 16px 13px 44px;
    border: 1px solid rgba(18, 11, 20, 0.1);
    background: var(--tozan-bg);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--tozan-dark);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    border-radius: 4px;
}

.mag-search:focus {
    outline: none;
    border-color: var(--tozan-dark);
    box-shadow: 0 0 0 2px rgba(211, 253, 26, 0.2);
}

.mag-search::placeholder {
    color: rgba(18, 11, 20, 0.4);
    opacity: 0.7;
}

.mag-resultbar {
    min-height: 1.2em;
    margin-top: 10px;
}

#mag-count {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(18, 11, 20, 0.6);
    font-family: var(--font-body);
    font-weight: 300;
}

.mag-empty {
    text-align: center;
    padding: 60px 20px;
    background: rgba(18, 11, 20, 0.02);
    border-radius: 8px;
    border: 1px dashed rgba(18, 11, 20, 0.1);
    margin-bottom: 40px;
    width: 100%;
}

.mag-empty p {
    font-size: 1.2rem;
    color: rgba(18, 11, 20, 0.6);
    margin: 0;
    font-family: var(--font-body);
    font-weight: 300;
}

/* Post Header Text Overlay Styles */
.post-header-left .entry-title {
    color: #ffffff !important;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5) !important;
    margin-bottom: 25px !important;
    text-align: left !important;
    font-size: clamp(32px, 5.5vw, 64px) !important;
    max-width: 800px !important;
}

.post-header-left .entry-meta-wrap {
    color: rgba(255, 255, 255, 0.85) !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    justify-content: flex-start !important;
    margin-bottom: 0 !important;
}

.post-header-left .entry-meta-wrap a {
    color: #ffffff !important;
    border-bottom: none !important;
}

.post-header-left .entry-meta-wrap .meta-sep {
    color: rgba(255, 255, 255, 0.4) !important;
}

.post-header-left .entry-meta-wrap p {
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.85) !important;
}

.post-header-left .taxonomy-category {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.post-header-left .taxonomy-category a {
    color: #ffffff !important;
    text-transform: uppercase !important;
    font-size: 11px !important;
    letter-spacing: 1.5px !important;
    font-weight: 600 !important;
    border: 1px solid rgba(255,255,255,0.4) !important;
    padding: 6px 14px !important;
    border-radius: 999px !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
}

.post-header-left .taxonomy-category a:hover {
    background: #ffffff !important;
    color: var(--tozan-dark) !important;
    border-color: #ffffff !important;
}

/* Share Buttons Styling */
.klodge-post-share {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 30px 0;
    margin: 40px 0 20px 0;
    border-top: 1px solid rgba(18, 11, 20, 0.05);
    border-bottom: 1px solid rgba(18, 11, 20, 0.05);
    font-family: var(--font-body);
}

.klodge-post-share .share-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: rgba(18, 11, 20, 0.4);
    text-transform: uppercase;
}

.klodge-post-share .share-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.klodge-post-share .share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(18, 11, 20, 0.1);
    background: transparent;
    color: var(--tozan-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0; /* Sharp square corners matching Henrik */
    padding: 0;
}

.klodge-post-share .share-btn svg {
    display: block;
    transition: transform 0.3s ease;
}

.klodge-post-share .share-btn:hover {
    border-color: var(--tozan-dark);
    background: var(--tozan-dark);
    color: #ffffff;
}

.klodge-post-share .share-btn:hover svg {
    transform: scale(1.1);
}

.klodge-post-share .share-copy {
    position: relative;
}

/* Category Archive Sub-filters (Top) */
.archive-search-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
}

.mag-filters-wrap {
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    font-family: var(--font-body);
}

.filters-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: rgba(18, 11, 20, 0.4);
    text-transform: uppercase;
}

.filters-list {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.sub-filter-pill {
    background: transparent;
    border: 1px solid rgba(18, 11, 20, 0.1);
    color: var(--tozan-dark);
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 999px;
}

.sub-filter-pill:hover {
    border-color: var(--tozan-dark);
    opacity: 0.8;
}

.sub-filter-pill.active {
    background: var(--tozan-dark);
    border-color: var(--tozan-dark);
    color: #ffffff;
}

.sub-filter-pill.reset-btn {
    border-color: rgba(220, 53, 69, 0.25);
    color: #dc3545;
    background: transparent;
    font-weight: 700;
}

.sub-filter-pill.reset-btn:hover {
    background: #dc3545;
    border-color: #dc3545;
    color: #ffffff;
    opacity: 1;
}


/* Category Cross-Navigation (Bottom) */
.archive-bottom-categories {
    max-width: 1400px;
    margin: 40px auto 20px auto;
    padding: 40px 40px 0 40px;
    border-top: 1px solid rgba(18, 11, 20, 0.05);
    text-align: left;
    font-family: var(--font-body);
}

.bottom-cats-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--tozan-dark);
    margin-bottom: 30px;
    text-transform: uppercase;
}

.bottom-cats-list {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.bottom-cat-pill {
    background: #f7f7f7;
    border: 1px solid #f7f7f7;
    color: var(--tozan-dark);
    padding: 10px 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 0; /* Flat sharp edges */
    text-transform: uppercase;
}

.bottom-cat-pill:hover {
    background: var(--tozan-dark);
    border-color: var(--tozan-dark);
    color: #ffffff;
}

.klodge-category-intro {
    max-width: 800px;
    margin: 40px auto 30px auto;
    padding: 0 40px;
    box-sizing: border-box;
    text-align: left;
}

.klodge-category-intro p {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.75;
    color: rgba(18, 11, 20, 0.75);
    margin: 0;
}

/* ----------------------------------------------------------------
   ADDITIONAL RESPONSIVE & LAYOUT POLISH
   ---------------------------------------------------------------- */

/* Transparent Header color overrides for pages with dark top heroes (Home & Single Post) */
body.home .site-header:not(.is-scrolled) .header-logo .logo-dark,
body.single .site-header:not(.is-scrolled) .header-logo .logo-dark {
    display: none !important;
}
body.home .site-header:not(.is-scrolled) .header-logo .logo-light,
body.single .site-header:not(.is-scrolled) .header-logo .logo-light {
    display: block !important;
}
body.home .site-header:not(.is-scrolled) .nav-links a,
body.single .site-header:not(.is-scrolled) .nav-links a {
    color: #ffffff !important;
}
body.home .site-header:not(.is-scrolled) .hamburger-menu,
body.single .site-header:not(.is-scrolled) .hamburger-menu {
    color: #ffffff !important;
}
body.home .site-header:not(.is-scrolled) .klodge-lang-current,
body.single .site-header:not(.is-scrolled) .klodge-lang-current {
    color: #ffffff !important;
}

/* Category Intro, Search, and Archive Container Mobile Adjustments */
@media (max-width: 991px) {
    .post-header-left {
        padding: 100px 20px 40px 20px !important;
    }
    .klodge-archive-hero {
        margin-bottom: 40px !important;
    }
    .klodge-category-intro {
        margin: 30px auto 20px auto;
        padding: 0 20px;
    }
    .archive-container {
        padding: 0 20px !important;
    }
    .archive-bottom-categories {
        padding: 40px 20px 0 20px !important;
        margin: 50px auto 20px auto !important;
    }
    .archive-search-container {
        margin: 25px 0 20px 0 !important;
    }
}

@media (max-width: 768px) {
    .klodge-intro-section {
        padding: 50px 0 30px;
    }
}

@media (max-width: 600px) {
    .post-header-left .entry-title {
        font-size: clamp(28px, 5.5vw, 44px) !important;
    }
    .klodge-post-share {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 20px 0;
    }
    .klodge-post-share .share-links {
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .archive-search-row {
        gap: 15px !important;
    }
    .mag-search-wrap {
        max-width: 100% !important;
    }
    .mag-filters-wrap {
        gap: 10px !important;
        width: 100%;
    }
    .filters-label {
        font-size: 10px !important;
        margin-bottom: 5px;
        width: 100%;
    }
    .filters-list {
        gap: 8px !important;
        width: 100%;
    }
    .sub-filter-pill {
        padding: 5px 10px !important;
        font-size: 10px !important;
    }
}

/* Single Post Metadata: prevent horizontal text/link overflow on mobile screen overlay */
.post-header-left .entry-meta-wrap {
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    gap: 10px 15px !important;
}

/* Zero block gap margin between hero and next elements to prevent white gap */
.klodge-hero-wrap {
    margin-bottom: 0 !important;
}
.klodge-hero-wrap + * {
    margin-top: 0 !important;
}


/* =================================================================
   DESIGN & LAYOUT HARMONIZATION AUDIT CORRECTIONS (WORKER DESIGN 2)
   ================================================================= */

/* Sp-1: Hero Slider Metadata Gap */
@media (max-width: 991px) {
    .klodge-slide-meta {
        gap: 12px !important;
    }
}

/* Sp-2: Editor's Pick 2 Card Min-Height on Mobile */
@media (max-width: 600px) {
    .klodge-ep2-card:nth-child(n) {
        aspect-ratio: auto !important;
        min-height: 220px !important;
    }
}

/* Sp-3: Split Featured Title Letter-Spacing */
@media (max-width: 991px) {
    .klodge-split-title {
        letter-spacing: -0.5px !important;
    }
}

/* Sp-4: Monday Pick Card mobile spacing adjustments */
@media (max-width: 600px) {
    .monday-pick-card {
        padding: 30px 15px !important;
    }
    .pick-title-box {
        padding: 20px 15px !important;
        border-radius: 8px !important;
    }
    .pick-title {
        font-size: 24px !important;
        letter-spacing: -0.5px !important;
    }
    .btn-go-article {
        padding: 12px 24px !important;
        font-size: 14px !important;
    }
}

/* Sp-5: Owner Block Footer Button Margin */
@media (max-width: 991px) {
    .klodge-owner-footer {
        margin-top: 30px !important;
    }
}

/* Sp-7: Pinned Card Column Stacking on Mobile */
@media (max-width: 480px) {
    .pinned-card {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
        padding: 15px !important;
    }
    .pinned-thumb {
        width: 100% !important;
        height: 180px !important;
        aspect-ratio: 16 / 10 !important;
    }
}

/* Sp-8: Curated Topics Title size reduction */
@media (max-width: 600px) {
    .topic-title a {
        font-size: 18px !important;
    }
}

/* Sp-9: Newsletter Padding Reduction & Mobile Spacing Override */
@media (max-width: 768px) {
    .newsletter-section {
        padding: 60px 20px !important;
    }
}

/* Sp-10: Archive Pagination wrapping to prevent overflow */
@media (max-width: 768px) {
    .wp-block-query-pagination-numbers {
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
}

/* Sp-11: Single Post Blockquote Vertical Spacing */
@media (max-width: 768px) {
    .entry-content blockquote {
        margin: 30px 0 !important;
    }
}

/* Header & Navigation Fixes */
@media (max-width: 991px) {
    .header-right {
        gap: 15px !important;
    }
    .header-container {
        height: 75px !important;
    }
    .header-logo .logo-img {
        height: 28px !important;
    }
    .hamburger-menu {
        width: 36px !important;
        height: 36px !important;
    }
}

/* Fix text contrast/legibility for mobile menu links (no hover state) */
@media (hover: none) {
    body.is-menu-open .off-menu-links a {
        opacity: 0.75;
    }
}

/* Prevent horizontal scroll clipping of the last category item */
@media (max-width: 768px) {
    .klodge-pills-track::after {
        content: '';
        display: block;
        width: 20px;
        flex-shrink: 0;
    }
}

/* Destinations Block mobile padding mismatch fix */
.klodge-dest-section,
.klodge-destinations-section,
.klodge-destinations {
    padding: 80px 0;
}

@media (max-width: 991px) {
    .klodge-bottom-cta {
        padding: 0 20px !important;
    }
    .klodge-pills-wrap {
        padding: 10px 20px;
    }
}

@media (max-width: 600px) {
    .klodge-dest-section,
    .klodge-destinations-section,
    .klodge-destinations {
        padding: 30px 20px !important;
    }
}

/* Split Featured mobile meta wrapping */
@media (max-width: 576px) {
    .klodge-split-meta {
        flex-wrap: wrap !important;
        gap: 8px 12px !important;
    }
}

/* Aspect-ratio for owner card images */
.klodge-owner-thumb {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 10 !important;
}

/* 2-column intermediate state for tablets */
@media (min-width: 601px) and (max-width: 991px) {
    .latest-posts-grid,
    .klodge-owner-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Mobile vertical spacing optimizations */
@media (max-width: 991px) {
    .klodge-owner-section {
        padding: 50px 0 !important;
    }
}

@media (max-width: 576px) {
    .klodge-bottom-cta {
        margin: 40px auto !important;
    }
}

/* Curated Grid tablet squishing */
@media (max-width: 1200px) and (min-width: 992px) {
    .curated-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
    }
    .monday-pick-column {
        grid-column: span 2 !important;
    }
}

/* Archive Hero & Title mobile adjustments */
@media (max-width: 768px) {
    .klodge-archive-hero {
        padding: 110px 20px 40px !important;
    }
    .klodge-archive-hero-title {
        font-size: clamp(28px, 6vw, 44px) !important;
    }
}

/* Single Post Header mobile cutoff */
@media (max-width: 768px) {
    .single-post-header {
        height: auto !important;
        min-height: 60vh !important;
        min-height: 60dvh !important;
        display: flex !important;
        flex-direction: column !important;
    }
    .post-header-left {
        height: auto !important;
        padding: 110px 20px 50px 20px !important;
        justify-content: flex-end !important;
        flex-grow: 1 !important;
    }
}

/* Owner CTA mobile buttons */
@media (max-width: 480px) {
    .klodge-owner-cta-btn {
        width: 100% !important;
        text-align: center !important;
        padding: 12px 24px !important;
    }
}

/* Instagram Header Mobile Stack */
@media (max-width: 576px) {
    .klodge-ig-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
        margin-bottom: 25px !important;
    }
}

/* Enable Gutenberg alignments inside Post Content */
@media (min-width: 820px) {
    .entry-content .alignwide {
        margin-left: -10vw !important;
        margin-right: -10vw !important;
        max-width: 1200px !important;
        width: auto !important;
    }
    .entry-content .alignfull {
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        max-width: 100vw !important;
        width: 100vw !important;
    }
}
