/* =========================================
   1. Cinematic Variables
   ========================================= */
:root {
    /* Warm Editorial Palette */
    --bg-color: #FFF8ED;
    /* Warm Cream Paper */
    --text-main: #312726;
    /* Deep Warm Charcoal */
    --text-dim: #6b5856;
    /* Softened Charcoal */
    --accent: #d84b2a;
    /* Terracotta (unchanged, works well) */

    --font-display: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;

    --header-h: 100px;
    --gutter: 2vw;

    --border-color: rgba(49, 39, 38, 0.1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-sans);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    font-size: 14px;
}

a {
    color: var(--text-main);
    text-decoration-color: rgba(49, 39, 38, 0.38);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.16em;
    transition: color 180ms ease, text-decoration-color 180ms ease;
}

a:visited {
    color: var(--text-main);
}

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

/* =========================================
   2. Texture & Atmosphere (The "Premium" Feel)
   ========================================= */

/* Grain Overlay (Subtle Texture) */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    /* Inverted grain for light mode */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.4'/%3E%3C/svg%3E");
    opacity: 0.15;
    mix-blend-mode: multiply;
}

/* Ambient Glows (Golden Hour) */
/* Ambient Glows (Golden Hour - REMOVING ALL GREEN) */
.site-main::before {
    content: "";
    position: fixed;
    top: -20%;
    left: -20%;
    width: 60vw;
    height: 60vw;
    /* Soft Orange/Peach */
    background: radial-gradient(circle, rgba(255, 150, 100, 0.08) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

.site-main::after {
    content: "";
    position: fixed;
    bottom: -20%;
    right: -20%;
    width: 50vw;
    height: 50vw;
    /* Warm Yellow/Gold */
    background: radial-gradient(circle, rgba(255, 200, 120, 0.1) 0%, transparent 70%);
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
}

/* ... skipped ... */

.post-content {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-dim);
    /* Fixed: Was hardcoded to light grey */
    max-width: 70ch;
    margin-left: 25vw;
}

/* =========================================
   3. Navigation (Poster Style)
   ========================================= */
/* =========================================
   3. Navigation (Poster Style)
   ========================================= */
.site-header {
    height: 96px;
    /* Initial Height */
    display: flex;
    align-items: center;
    padding: 0 var(--gutter);

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;

    /* Frosted Glass Effect */
    background-color: rgba(255, 248, 237, 0.75);
    /* Translucent Cream */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(49, 39, 38, 0.05);
    /* Hairline */

    transition: height 220ms ease, box-shadow 220ms ease, background-color 0.3s ease;
}

.site-header.is-sticky {
    height: 68px;
    /* Compact Height */
    box-shadow: 0 6px 24px rgba(49, 39, 38, .06);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Center vertically */
    width: 100%;
}

.logo {
    font-family: var(--font-sans);
    /* Playfair Display */
    font-weight: 500;
    font-size: 1.5rem;
    letter-spacing: .02em;
    line-height: 1;
    color: var(--text-main);
    text-decoration: none;
    transition: letter-spacing 220ms ease;
}

.site-header.is-sticky .logo {
    letter-spacing: .04em;
    /* Expand on scroll */
}

.site-nav ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    /* Horizontal for this clean header */
    align-items: center;
    gap: 2rem;
}

.site-nav a {
    font-family: var(--font-sans);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-main);
    opacity: 0.7;
    transition: opacity 0.3s;
    text-decoration: none;
}

.site-nav a {
    font-family: var(--font-sans);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-main);
    opacity: 0.7;
    transition: opacity 0.3s;
}

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

/* =========================================
   4. Typography (The "Massive" Look)
   ========================================= */
h1 {
    font-family: var(--font-display);
    font-weight: 400;
    /* Editorial style allows lighter weights */
    line-height: 0.9;
    letter-spacing: -0.04em;
    color: var(--text-main);
}

h2,
h3 {
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.1;
}

/* =========================================
   5. Magazine Layout (The Ringer Inspired)
   ========================================= */

.site-main {
    padding-top: min(30vh, 150px);
    /* Increased from 15vh to clear fixed header comfortably */
    min-height: 100vh;
}

.container {
    width: 100%;
    padding: 0 var(--gutter);
}

.magazine-section {
    padding-top: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 80px;
}

.magazine-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    /* Feature vs Sidebar */
    gap: 60px;
    align-items: start;
}

/* Feature/Hero Post */
.hero-feature {
    position: relative;
    padding-right: 40px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-feature h2 {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    line-height: 1.05;
}

.hero-feature h2 a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s;
}

.hero-feature h2 a:hover {
    color: var(--accent);
}

.hero-feature .lead {
    font-size: 1.4rem;
    color: var(--text-dim);
    line-height: 1.5;
    max-width: 90%;
}

.hero-feature .meta {
    margin-top: 2rem;
    display: block;
    color: var(--accent);
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

/* Top Stories Sidebar */
.top-stories {
    display: flex;
    flex-direction: column;
}

.story-card-small {
    padding: 25px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.story-card-small:first-child {
    padding-top: 0;
}

.story-card-small:last-child {
    border-bottom: none;
}

.story-card-small h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.story-card-small h3 a {
    color: var(--text-main);
    transition: color 0.2s;
}

.story-card-small h3 a:hover {
    color: var(--accent);
}

.story-card-small .meta {
    font-size: 10px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Recent Grid (Below Fold) */
.recent-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 60px 0;
    border-top: 4px solid var(--text-main);
    /* Ringer style heavy divider */
}

.story-card-vertical h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.story-card-vertical h3 a {
    color: var(--text-main);
    text-decoration: none;
}

.story-card-vertical h3 a:hover {
    color: var(--accent);
}

.story-card-vertical p {
    font-size: 1rem;
    color: var(--text-dim);
}

/* Blog Index */
.blog-index h1 {
    font-size: 8rem;
    text-align: left;
    margin-bottom: 10vh;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2rem;
}

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 10vh;
}

/* Default Article list style (for blog index) */
/* Default Article list style (for blog index) */
.blog-posts .post-card {
    position: relative;
    /* Context for stretched link */
    display: grid;
    grid-template-columns: 1fr 2fr;
    /* Default: Image Left (Small), Content Right (Big) */
    gap: 3rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 4rem;
    align-items: start;
    transition: background-color 0.3s;
}

/* Alternating Layout: Even children have Image Right */
.blog-posts .post-card:nth-child(even) {
    grid-template-columns: 2fr 1fr;
    /* Content Left (Big), Image Right (Small) */
}

/* Swap visual order for Even items */
.blog-posts .post-card:nth-child(even) .media-group {
    order: 2;
}

.blog-posts .post-card:nth-child(even) .content-group {
    order: 1;
}

.post-card .media-group {
    position: sticky;
    top: 15vh;
}

.post-card .post-image {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    margin-bottom: 1rem;
    filter: grayscale(20%);
    transition: filter 0.3s;
    border-radius: 2px;
}

/* Hover Effects */
.blog-posts .post-card {
    transition: transform 300ms ease, background-color 0.3s;
}

.blog-posts .post-card:hover {
    transform: translateY(-2px);
}

.post-card .post-image {
    transition: transform 500ms ease, filter 300ms ease;
    filter: grayscale(20%);
    /* ... existing styles ... */
}

.post-card:hover .post-image {
    transform: scale(1.02);
    /* Subtle scale up */
    filter: grayscale(0%);
}

.post-card:hover h2 {
    color: var(--text-main);
    /* Keep it dark */
    text-decoration-color: currentColor;
    /* Animate underline in */
}

/* Read More Link (Stretched to fill card) */
.read-more-link {
    display: inline-block;
    margin-top: 1.5rem;
    font-family: var(--font-sans);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    transition: color 250ms ease;
}

/* =========================================
   Luxury Theme (opt-in via body.theme-luxury)
   ========================================= */
body.theme-luxury {
    --bg-color: #FBFBFA;
    --text-main: #1F1F1F;
    --text-dim: rgba(31, 31, 31, 0.65);
    --accent: #8C7A65;
    --border-color: rgba(31, 31, 31, 0.10);
}

body.theme-luxury::before {
    opacity: 0.10;
}

body.theme-luxury .site-main::before,
body.theme-luxury .site-main::after {
    background: none;
    filter: none;
}

body.theme-luxury .site-header {
    background-color: rgba(251, 251, 250, 0.78);
    border-bottom: 1px solid rgba(31, 31, 31, 0.08);
}

body.theme-luxury .site-header.is-sticky {
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.06);
}

body.theme-luxury .site-nav a {
    color: var(--text-main);
    opacity: 0.65;
}

body.theme-luxury .site-nav a:hover {
    opacity: 1;
}

body.theme-luxury .sub-label {
    color: var(--accent);
}

body.theme-luxury .filter-btn {
    border-radius: 0;
    border-color: var(--border-color);
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(10px);
    min-width: auto;
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
}

body.theme-luxury .filter-btn:hover,
body.theme-luxury .filter-btn.active {
    border-color: rgba(31, 31, 31, 0.92);
    background: rgba(31, 31, 31, 0.92);
    color: #fff;
}

body.theme-luxury .category-badge {
    background: rgba(140, 122, 101, 0.12);
    color: rgba(31, 31, 31, 0.82);
}

body.theme-luxury .featured-card {
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
}

body.theme-luxury .blog-index-page .featured-image-wrapper {
    min-height: 220px;
}

body.theme-luxury .blog-index-page .featured-content {
    padding: 1.25rem;
}

body.theme-luxury .blog-index-page .featured-content h2 {
    font-size: clamp(2.25rem, 3.4vw, 3rem);
    margin-bottom: 1.1rem;
}

body.theme-luxury .blog-index-page .featured-content .excerpt {
    font-size: 1.05rem;
    margin-bottom: 1.75rem;
    max-width: 100%;
}

body.theme-luxury .featured-image-wrapper {
    border-right: 1px solid var(--border-color);
}

body.theme-luxury .featured-content h2 {
    letter-spacing: -0.02em;
}

body.theme-luxury .excerpt {
    color: var(--text-dim);
}

body.theme-luxury .read-story-btn:hover {
    color: var(--accent);
}

body.theme-luxury .magazine-section {
    border-bottom: 1px solid var(--border-color);
}

body.theme-luxury .hero-feature {
    border-right: 1px solid var(--border-color);
}

body.theme-luxury .story-card-small {
    border-bottom: 1px solid var(--border-color);
}

body.theme-luxury .recent-grid {
    border-top: 1px solid var(--border-color);
}

body.theme-luxury .blog-index-page .blog-header {
    padding-bottom: 5vh;
    text-align: center;
}

body.theme-luxury .blog-index-page .blog-header h1 {
    font-size: clamp(3.2rem, 5vw, 4.8rem);
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

body.theme-luxury .blog-index-page .blog-header .lead {
    max-width: 60ch;
    margin: 0 auto 3rem auto;
    color: var(--text-dim);
    font-size: 1.15rem;
    line-height: 1.7;
}

body.theme-luxury .blog-index-page .filter-bar {
    max-width: 820px;
    margin: 0 auto;
}

body.theme-luxury .blog-index-page .search-wrapper {
    position: relative;
    margin-bottom: 1.75rem;
}

body.theme-luxury .blog-index-page .search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-main);
    opacity: 0.7;
    display: flex;
    align-items: center;
}

body.theme-luxury .blog-index-page .search-input {
    width: 100%;
    padding: 1.15rem 1.25rem 1.15rem 3.6rem;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(10px);
    border-radius: 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-main);
    outline: none;
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.04);
}

body.theme-luxury .blog-index-page .search-input:focus {
    border-color: rgba(140, 122, 101, 0.55);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}

body.theme-luxury .blog-index-page .categories {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

body.theme-luxury .blog-index-page .tag-label {
    margin: 0 0 0.75rem;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-dim);
    text-align: center;
}

body.theme-luxury .blog-index-page .grid-card {
    border-radius: 0;
    background: transparent;
    border: 1px solid var(--border-color);
    box-shadow: none;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

body.theme-luxury .blog-index-page .featured-card {
    border-radius: 0;
}

body.theme-luxury .blog-index-page .featured-img,
body.theme-luxury .blog-index-page .featured-image-wrapper,
body.theme-luxury .blog-index-page .card-img {
    border-radius: 0;
}

body.theme-luxury .blog-index-page .category-badge {
    border-radius: 0;
}

body.theme-luxury .blog-index-page .grid-card .card-body {
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

body.theme-luxury .blog-index-page .card-main {
    flex: 1;
}

body.theme-luxury .blog-index-page .featured-articles-section {
    margin-bottom: 6rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

body.theme-luxury .blog-index-page .blog-grid-2col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 900px) {
    body.theme-luxury .blog-index-page .blog-grid-2col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
    }
}

body.theme-luxury .blog-index-page .grid-card--featured .img-link {
    aspect-ratio: 24/9;
}

body.theme-luxury .blog-index-page .grid-card--featured .card-body {
    padding: 1rem;
}

body.theme-luxury .blog-index-page .grid-card--featured h3 {
    font-size: 1.45rem;
}

body.theme-luxury .blog-index-page .meta-top {
    letter-spacing: 0.16em;
}

body.theme-luxury .blog-index-page .read-time-sm {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-dim);
    font-size: 0.8rem;
}

body.theme-luxury .blog-index-page .card-footer {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
}

body.theme-luxury .blog-index-page .pagination {
    margin-top: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-dim);
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

body.theme-luxury .blog-index-page .pagination-pages {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

body.theme-luxury .blog-index-page .pagination-link {
    text-decoration: none;
    color: var(--text-main);
}

body.theme-luxury .blog-index-page .pagination-link:hover {
    color: var(--accent);
}

body.theme-luxury .blog-index-page .pagination-current {
    color: var(--accent);
}

body.theme-luxury .blog-index-page .pagination-disabled {
    color: var(--text-dim);
    opacity: 0.5;
}

/* =========================================
   Home (Quiet Luxury / Kinfolk-inspired)
   ========================================= */
body.theme-luxury .home-hero {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

body.theme-luxury .home-branding {
    text-align: left;
    max-width: 60ch;
    margin-bottom: 2.5rem;
}

body.theme-luxury .home-subtitle {
    font-size: 1.05rem;
    color: var(--text-dim);
    line-height: 1.7;
}

body.theme-luxury .home-kicker {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    margin: 0.2rem 0 0.5rem;
    color: var(--text-main);
}

body.theme-luxury .eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
}

body.theme-luxury .home-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 980px) {
    body.theme-luxury .home-hero-grid {
        grid-template-columns: 2fr 1fr;
        gap: 3rem;
        align-items: start;
    }
}

body.theme-luxury .home-featured-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-decoration: none;
    color: inherit;
}

@media (min-width: 980px) {
    body.theme-luxury .home-featured-card {
        grid-template-columns: 1.05fr 0.95fr;
        align-items: center;
    }
}

body.theme-luxury .home-featured-media {
    aspect-ratio: 16/9;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

body.theme-luxury .home-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.theme-luxury .home-featured-content {
    padding-right: 0.5rem;
}

body.theme-luxury .home-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-dim);
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

body.theme-luxury .home-featured-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    margin: 0 0 1rem;
    color: var(--text-main);
}

body.theme-luxury .home-lead {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-dim);
    margin-bottom: 1.25rem;
}

body.theme-luxury .home-cta {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent);
}

body.theme-luxury .home-top-stories {
    border-left: 1px solid var(--border-color);
    padding-left: 2rem;
}

body.theme-luxury .home-story-row {
    display: block;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    color: inherit;
}

body.theme-luxury .home-story-row h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-top: 0.35rem;
    color: var(--text-main);
}

body.theme-luxury .home-story-row:hover h3 {
    color: var(--accent);
}

body.theme-luxury .home-recent {
    padding-top: 2rem;
    padding-bottom: 6rem;
    border-top: 1px solid var(--border-color);
}

body.theme-luxury .home-section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 2rem;
}

body.theme-luxury .home-section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 2.6vw, 2.4rem);
}

body.theme-luxury .home-recent-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 900px) {
    body.theme-luxury .home-recent-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

body.theme-luxury .home-recent-card {
    text-decoration: none;
    color: inherit;
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
}

body.theme-luxury .home-recent-media {
    aspect-ratio: 3/2;
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

body.theme-luxury .home-recent-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.theme-luxury .home-recent-body h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin: 0.5rem 0 0.75rem;
    color: var(--text-main);
}

body.theme-luxury .home-recent-card:hover h3 {
    color: var(--accent);
}
}

body.theme-luxury .blog-index-page .img-link {
    aspect-ratio: 24/9;
}

body.theme-luxury .blog-index-page .card-img {
    transition: transform 0.7s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.theme-luxury .blog-index-page .img-link .placeholder-img {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.05);
}

body.theme-luxury .blog-index-page .grid-card:hover .card-img {
    transform: scale(1.04);
}

body.theme-luxury .blog-index-page .meta-top {
    flex-wrap: nowrap;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
}

body.theme-luxury .blog-index-page .meta-top .category-badge {
    max-width: 62%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.theme-luxury .blog-index-page .meta-top .read-time-sm {
    white-space: nowrap;
    flex: 0 0 auto;
}

body.theme-luxury .blog-index-page .grid-card h3 {
    font-size: 1.55rem;
    color: var(--text-main);
}

body.theme-luxury .blog-index-page .grid-card:hover h3 {
    color: var(--accent);
}

body.theme-luxury .blog-index-page .grid-card .excerpt {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

body.theme-luxury .blog-index-page .card-footer {
    border-top: 1px solid var(--border-color);
    margin-top: 1rem;
    padding-top: 1rem;
}

.read-more-link .arrow {
    display: inline-block;
    margin-left: 5px;
    transition: transform 250ms ease;
}

.read-more-link::after {
    content: "";
    /* The click target extension */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.post-card:hover .read-more-link {
    color: var(--accent);
}

.post-card:hover .read-more-link .arrow {
    transform: translateX(4px);
}

.post-card .meta {
    font-family: var(--font-sans);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dim);
}

.blog-posts article h2 {
    font-family: var(--font-display);
    font-size: 4rem;
    margin-bottom: 2rem;
    color: var(--text-main);

    text-decoration: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 1px;
    text-underline-offset: 8px;
    transition: text-decoration-color 300ms ease;
}

/* Blog Detail */
/* =========================================
   6. Blog Index (Figma Design Port)
   ========================================= */

/* Header Areas */
.blog-header {
    margin-bottom: 4rem;
}

/* Sub Label (Travel Journal) */
.sub-label {
    font-family: var(--font-sans);
    font-weight: 500;
    /* Finer than 700, but legible */
    font-size: 0.85rem;
    letter-spacing: 3px;
    /* More premium spacing */
    text-transform: uppercase;
    color: #D84B2A;
    /* Accent color directly or var(--accent) */
    margin-bottom: 1.5rem;
}

/* Category Pills */
.filter-btn {
    display: inline-block;
    padding: 0.6rem 2rem;
    border: 1px solid rgba(49, 39, 38, 0.2);
    background: #fff;
    /* White background as per screenshot */
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    /* Slightly larger */
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    min-width: 120px;
    /* Uniform width look */
    text-align: center;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--text-main);
    background: var(--text-main);
    color: #fff;
}

/* Featured Section */
/* Featured Section */
.featured-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: stretch;
    /* Stretch to equal height */
    background: #fff;
    overflow: hidden;
    /* rounded corners if desired */
    /* Optional shadow */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.featured-image-wrapper {
    width: 100%;
    height: 100%;
    min-height: 320px;
    /* Reduced from 400px */
    /* Ensure height even if empty */
    position: relative;
    overflow: hidden;
}

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

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

.featured-content {
    padding: 2rem;
    /* Reduced from 3rem */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Category Badge (Featured) */
.category-badge {
    background-color: #FFF0E6;
    color: #D84B2A;
    font-family: var(--font-sans);
    font-weight: 500;
    /* Finer */
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
    text-transform: uppercase;
    /* Match premium feel */
    letter-spacing: 1.5px;
}

/* ... skipped ... */

.cat-pill {
    background: rgba(216, 75, 42, 0.1);
    color: var(--accent);
    padding: 4px 10px;
    font-weight: 500;
    /* Finer */
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.7rem;
}

.read-time {
    font-family: var(--font-sans);
    color: var(--text-dim);
}

.featured-content h2 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    /* Larger as per screenshot */
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-weight: 500;
    color: var(--text-main);
}

.featured-content h2 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.featured-content h2 a:hover {
    color: var(--accent);
}

.excerpt {
    font-family: var(--font-sans);
    color: #6B5856;
    /* Softer brown/gray */
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.author-name {
    font-family: var(--font-sans);
    color: var(--text-main);
    font-weight: 600;
}

.date {
    font-family: var(--font-sans);
    color: var(--text-dim);
}

.read-story-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.85rem;
    /* Finer */
    text-transform: uppercase;
    /* Premium */
    letter-spacing: 1.5px;
    color: #D84B2A;
    /* Orange */
    text-decoration: none;
    transition: gap 0.2s ease;
}

.read-story-btn:hover {
    gap: 0.8rem;
}

.read-story-btn .arrow {
    font-size: 1.2rem;
    line-height: 1;
}

/* 3-Column Grid */
.blog-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    transition: transform 0.3s;
}

.grid-card:hover {
    transform: translateY(-4px);
}

.grid-card .card-body {
    padding: 1.5rem 1.5rem;
    /* Added horizontal padding */
}

.img-link {
    display: block;
    overflow: hidden;
}

.card-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.5s;
}

.grid-card:hover .card-img {
    transform: scale(1.05);
}

/* Typography in Grid */
.meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dim);
}

.cat-pill {
    background: rgba(216, 75, 42, 0.1);
    color: var(--accent);
    padding: 2px 8px;
    font-weight: 700;
}

.grid-card h3 {
    font-family: var(--font-display);
    /* Or Sans depending on design, sticking to serif for titles */
    font-size: 1.75rem;
    /* Larger */
    margin-bottom: 1rem;
    line-height: 1.25;
    font-weight: 500;
}

.grid-card {
    text-decoration: none;
    color: inherit;
}

.grid-card h3 {
    color: var(--text-main);
    transition: color 0.2s ease;
}

.grid-card:hover h3 {
    color: var(--accent);
}

.card-footer {
    margin-top: auto;
    /* padding-top moved to HTML inline or keep here, let's keep consistent */
    /* border-top handling in HTML inline for now to ensure visual match */
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* Responsive */
/* Hamburger Styles (Global but hidden on desktop) */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    /* Above everything */
    padding: 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    transition: all 0.3s ease;
    transform-origin: left;
}

.hamburger.is-active span:nth-child(1) {
    transform: rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
    transform: rotate(-45deg);
}

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

@media (max-width: 768px) {
    .featured-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Mobile Nav */
    .site-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-color);
        padding: 8rem 2rem;
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        border-left: 1px solid var(--border-color);
    }

    .site-nav.is-open {
        transform: translateX(0);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

    .site-nav ul {
        flex-direction: column;
        gap: 2.5rem;
    }

    .site-nav a {
        font-size: 1.5rem;
        font-weight: 500;
    }

    .hamburger {
        display: flex;
    }

    .blog-grid-3col {
        grid-template-columns: 1fr;
    }
}


/* =========================================
   6. Footer
   ========================================= */
.site-footer {
    padding: 8vh 0 4vh;
    margin-top: 0;
    border-top: 1px solid var(--border-color);
    background: transparent;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    align-items: start;
}

.footer-brand {
    max-width: 28ch;
}

.footer-logo {
    font-family: var(--font-sans);
    font-size: 1.4rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.footer-tagline {
    color: var(--text-dim);
    line-height: 1.6;
}

.footer-title {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.6rem;
}

.footer-col a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.95rem;
}

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

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.footer-note {
    color: var(--text-dim);
}

.is-hidden {
    display: none;
}

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

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
}

/* =========================================
   7. Tarteaucitron Customization
   ========================================= */
#tarteaucitronRoot {
    font-family: var(--font-sans) !important;
}

#tarteaucitronAlertBig {
    width: min(1060px, calc(100% - 2.5rem)) !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    bottom: 1.25rem !important;
    top: auto !important;
    border-radius: 0 !important;
    border: 1px solid rgba(49, 39, 38, 0.22) !important;
    background: #FBFBFA !important;
    color: var(--text-main) !important;
    box-shadow: 0 10px 28px rgba(49, 39, 38, 0.16) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.95rem 1rem !important;
}

#tarteaucitronAlertBig #tarteaucitronDisclaimerAlert {
    color: var(--text-main) !important;
    line-height: 1.4 !important;
    font-size: 0.9rem !important;
}

#tarteaucitronAlertBig a {
    color: var(--accent) !important;
    text-decoration: none !important;
}

#tarteaucitronAlertBig a:hover {
    text-decoration: underline !important;
}

#tarteaucitronAlertBig #tarteaucitronPersonalize2,
#tarteaucitronAlertBig #tarteaucitronAllDenied2,
#tarteaucitronAlertBig #tarteaucitronAllAllowed2 {
    border-radius: 0 !important;
    border: 1px solid rgba(49, 39, 38, 0.22) !important;
    padding: 0.58rem 1rem !important;
    min-height: 40px !important;
    font-size: 0.72rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    line-height: 1 !important;
    transition: transform 0.2s ease, filter 0.2s ease, background-color 0.2s ease !important;
}

#tarteaucitronAlertBig #tarteaucitronPersonalize2 {
    background: rgba(49, 39, 38, 0.06) !important;
    color: var(--text-main) !important;
}

#tarteaucitronAlertBig #tarteaucitronAllDenied2 {
    background: rgba(49, 39, 38, 0.11) !important;
    color: var(--text-main) !important;
}

#tarteaucitronAlertBig #tarteaucitronAllAllowed2 {
    background: var(--accent) !important;
    color: #fff !important;
    border-color: var(--accent) !important;
}

/* Fallback selectors for TAC variants that don't use the *2 IDs */
#tarteaucitronAlertBig button,
#tarteaucitronAlertBig .tarteaucitronCTAButton,
#tarteaucitronAlertBig [id^="tarteaucitronAllAllowed"],
#tarteaucitronAlertBig [id^="tarteaucitronAllDenied"],
#tarteaucitronAlertBig [id^="tarteaucitronPersonalize"] {
    border-radius: 0 !important;
    border: 1px solid rgba(49, 39, 38, 0.22) !important;
    font-family: var(--font-sans) !important;
    font-size: 0.72rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    padding: 0.58rem 1rem !important;
    min-height: 40px !important;
    line-height: 1 !important;
    box-shadow: none !important;
}

#tarteaucitronAlertBig [id^="tarteaucitronAllAllowed"] {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #fff !important;
}

#tarteaucitronAlertBig [id^="tarteaucitronAllDenied"] {
    background: rgba(49, 39, 38, 0.11) !important;
    color: var(--text-main) !important;
}

#tarteaucitronAlertBig [id^="tarteaucitronPersonalize"] {
    background: rgba(49, 39, 38, 0.06) !important;
    color: var(--text-main) !important;
}

#tarteaucitronAlertBig #tarteaucitronPersonalize2:hover,
#tarteaucitronAlertBig #tarteaucitronAllDenied2:hover,
#tarteaucitronAlertBig #tarteaucitronAllAllowed2:hover {
    transform: translateY(-1px) !important;
    filter: brightness(1.03) !important;
}

#tarteaucitronIcon {
    transform: scale(0.78);
    transform-origin: bottom right;
    bottom: 16px !important;
    right: 16px !important;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#tarteaucitronIcon:hover {
    opacity: 1;
    transform: scale(0.84);
}

@media (max-width: 760px) {
    #tarteaucitronAlertBig {
        width: calc(100% - 1rem) !important;
        bottom: 0.5rem !important;
        padding: 0.7rem !important;
    }

    #tarteaucitronAlertBig #tarteaucitronDisclaimerAlert {
        font-size: 0.84rem !important;
    }
}

/* Hide the credit/logo text just in case */
#tarteaucitronCredit {
    display: none !important;
}

/* Final hard overrides for TAC runtime-generated styles */
html body #tarteaucitronRoot #tarteaucitronAlertBig {
    background-color: #FBFBFA !important;
    border-radius: 0 !important;
}

html body #tarteaucitronRoot #tarteaucitronAlertBig,
html body #tarteaucitronRoot #tarteaucitronAlertBig * {
    border-radius: 0 !important;
}

html body #tarteaucitronRoot #tarteaucitronAlertBig button,
html body #tarteaucitronRoot #tarteaucitronAlertBig .tarteaucitronCTAButton,
html body #tarteaucitronRoot #tarteaucitronAlertBig .tarteaucitronAllow,
html body #tarteaucitronRoot #tarteaucitronAlertBig .tarteaucitronDeny,
html body #tarteaucitronRoot #tarteaucitronAlertBig [id^="tarteaucitronAllAllowed"],
html body #tarteaucitronRoot #tarteaucitronAlertBig [id^="tarteaucitronAllDenied"],
html body #tarteaucitronRoot #tarteaucitronAlertBig [id^="tarteaucitronPersonalize"] {
    border-radius: 0 !important;
    min-height: 34px !important;
    padding: 0.4rem 0.72rem !important;
    border: 1px solid rgba(49, 39, 38, 0.22) !important;
    font-size: 0.64rem !important;
    letter-spacing: 0.09em !important;
    width: auto !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
}

html body #tarteaucitronRoot #tarteaucitronAlertBig .tarteaucitronAllow,
html body #tarteaucitronRoot #tarteaucitronAlertBig [id^="tarteaucitronAllAllowed"] {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #fff !important;
}

html body #tarteaucitronRoot #tarteaucitronAlertBig .tarteaucitronDeny,
html body #tarteaucitronRoot #tarteaucitronAlertBig [id^="tarteaucitronAllDenied"] {
    background-color: rgba(49, 39, 38, 0.11) !important;
    color: var(--text-main) !important;
}

html body #tarteaucitronRoot #tarteaucitronAlertBig [id^="tarteaucitronPersonalize"] {
    background-color: rgba(49, 39, 38, 0.06) !important;
    color: var(--text-main) !important;
}

html body #tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronPrivacyUrl,
html body #tarteaucitronRoot #tarteaucitronAlertBig a[href*="privacy-policy"] {
    background: transparent !important;
    color: var(--text-main) !important;
    border: 1px solid rgba(49, 39, 38, 0.18) !important;
    text-decoration: none !important;
}

html body #tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronPrivacyUrl:hover,
html body #tarteaucitronRoot #tarteaucitronAlertBig a[href*="privacy-policy"]:hover {
    color: var(--accent) !important;
    border-color: rgba(140, 122, 101, 0.5) !important;
}
