/* ======================================================================
   KNOWLEDGE CENTER — THE DARK ATELIER
   Dark luxurious editorial magazine aesthetic
   ====================================================================== */

:root {
    --atelier-bg: #FAF9F6;  /* Light brand background */
    --atelier-bg-card: #FFFFFF;
    --atelier-bg-elevated: #F7F5F0;
    --atelier-gold: #D4AF37;
    --atelier-gold-soft: rgba(212, 175, 55, 0.08);
    --atelier-gold-glow: rgba(212, 175, 55, 0.2);
    --atelier-noir: #111111; /* Dark text for light theme */
    --atelier-muted: #666666;
    --atelier-subtle: #999999;
    --atelier-line: rgba(212, 175, 55, 0.15);
    --atelier-border: rgba(0, 0, 0, 0.08);
    --atelier-glass: rgba(255, 255, 255, 0.9);
    --ease-luxe: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── PAGE BASE ── */
.knowledge-page {
    background-color: var(--atelier-bg) !important;
    color: var(--atelier-noir);
    overflow-x: hidden;
}

/* Subtle noise texture overlay */
/* Subtle noise texture overlay */
.knowledge-page::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(212, 175, 55, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(212, 175, 55, 0.03) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

/* Vertical decorative gold hairline */
.knowledge-page::after {
    content: '';
    position: fixed;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        var(--atelier-gold-soft) 20%,
        var(--atelier-gold-soft) 80%,
        transparent 100%
    );
    z-index: 0;
    pointer-events: none;
}

/* ══════════════════════════════════════════════
   HERO — CINEMATIC DARK COVER
   ══════════════════════════════════════════════ */
.knowledge-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 10%;
    position: relative;
    overflow: hidden;
    background-color: #EAE6DA !important; /* Services Hero Color */
    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.1'/%3E%3C/svg%3E") !important;
    background-blend-mode: multiply;
    border-bottom: 1px solid var(--atelier-line);
    z-index: 1;
}

/* Soft gradient for depth */
.knowledge-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.02) 100%);
    z-index: 0;
}

@keyframes heroGradientPulse {
    0% { opacity: 0.6; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}

/* Corner ornaments */
.knowledge-hero .hero-ornament {
    position: absolute;
    width: 80px;
    height: 80px;
    border-color: var(--atelier-gold);
    border-style: solid;
    border-width: 0;
    opacity: 0.3;
    z-index: 1;
}

.knowledge-hero .hero-ornament.tl {
    top: 60px; left: 60px;
    border-top-width: 1px;
    border-left-width: 1px;
}

.knowledge-hero .hero-ornament.tr {
    top: 60px; right: 60px;
    border-top-width: 1px;
    border-right-width: 1px;
}

.knowledge-hero .hero-ornament.bl {
    bottom: 60px; left: 60px;
    border-bottom-width: 1px;
    border-left-width: 1px;
}

.knowledge-hero .hero-ornament.br {
    bottom: 60px; right: 60px;
    border-bottom-width: 1px;
    border-right-width: 1px;
}

/* Floating gold particles */
.knowledge-hero .hero-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--atelier-gold);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 6s ease-in-out infinite;
    z-index: 1;
}

.knowledge-hero .hero-particle:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; animation-duration: 7s; }
.knowledge-hero .hero-particle:nth-child(2) { top: 25%; right: 15%; animation-delay: 1.5s; animation-duration: 5s; }
.knowledge-hero .hero-particle:nth-child(3) { bottom: 30%; left: 20%; animation-delay: 3s; animation-duration: 8s; }
.knowledge-hero .hero-particle:nth-child(4) { top: 40%; right: 25%; animation-delay: 2s; animation-duration: 6s; }
.knowledge-hero .hero-particle:nth-child(5) { bottom: 20%; right: 10%; animation-delay: 4s; animation-duration: 7.5s; }
.knowledge-hero .hero-particle:nth-child(6) { top: 60%; left: 8%; animation-delay: 1s; animation-duration: 9s; }

@keyframes particleFloat {
    0%, 100% { opacity: 0; transform: translateY(0) scale(1); }
    20% { opacity: 0.6; }
    50% { opacity: 0.8; transform: translateY(-30px) scale(1.5); }
    80% { opacity: 0.4; }
}

/* Hero content */
.knowledge-hero-content {
    max-width: 1000px;
    position: relative;
    z-index: 2;
}

.knowledge-hero h1 {
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(44px, 10vw, 110px);
    font-weight: 400 !important;
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: var(--atelier-noir);
    margin: 0;
    text-transform: uppercase;
    text-shadow: 0 0 80px rgba(212, 175, 55, 0.15);
    animation: heroTitleReveal 1.5s var(--ease-luxe) forwards;
    opacity: 0;
    transform: translateY(40px);
}

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

.knowledge-hero .hero-subtitle-accent {
    color: var(--atelier-gold);
    display: block;
    font-size: 0.35em;
    font-weight: 400 !important;
    font-style: italic;
    margin-top: 35px;
    letter-spacing: 0.25em;
    text-transform: none;
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.2);
    animation: heroSubReveal 1.5s var(--ease-luxe) 0.3s forwards;
    opacity: 0;
    transform: translateY(20px);
}

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

/* Hero subtitle description */
.knowledge-hero .hero-subtitle {
    font-family: 'Work Sans', sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: var(--atelier-muted);
    letter-spacing: 0.08em;
    margin-top: 45px;
    line-height: 1.8;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    animation: heroSubReveal 1.5s var(--ease-luxe) 0.6s forwards;
    opacity: 0;
    transform: translateY(20px);
}

/* Scroll indicator */
.scroll-hint {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Work Sans', sans-serif;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: var(--atelier-subtle);
    animation: heroSubReveal 1.5s var(--ease-luxe) 0.9s forwards;
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
}

.scroll-hint::after {
    content: '';
    display: block;
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, var(--atelier-gold), transparent);
    margin: 18px auto 0;
    animation: scrollLineGrow 2s ease-in-out infinite alternate;
}

@keyframes scrollLineGrow {
    0% { height: 30px; opacity: 0.3; }
    100% { height: 50px; opacity: 0.8; }
}


/* ══════════════════════════════════════════════
   SECTION HEADER & CATEGORY FILTER
   ══════════════════════════════════════════════ */
.knowledge-grid-section {
    padding: 100px 5% 160px;
    position: relative;
    z-index: 1;
}

/* Section label with horizontal gold rules */
.section-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.section-label::before,
.section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--atelier-gold-soft), transparent);
}

.section-label span {
    font-family: 'Work Sans', sans-serif;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: var(--atelier-gold);
    white-space: nowrap;
}

/* Category filter pills */
.category-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 70px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.filter-pill {
    font-family: 'Work Sans', sans-serif;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    padding: 10px 24px;
    background: transparent;
    color: var(--atelier-muted);
    border: 1px solid var(--atelier-border);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.4s var(--ease-smooth);
    white-space: nowrap;
}

.filter-pill:hover {
    color: var(--atelier-gold);
    border-color: var(--atelier-gold-soft);
    background: var(--atelier-gold-soft);
}

.filter-pill.active {
    color: #0A0A0A;
    background: var(--atelier-gold);
    border-color: var(--atelier-gold);
    font-weight: 600;
}


/* ══════════════════════════════════════════════
   ARTICLE CARDS — DARK GLASSMORPHISM GRID
   ══════════════════════════════════════════════ */
.mosaic-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    grid-auto-rows: auto;
    gap: 25px;
    padding: 20px 0;
    min-height: 800px;
    content-visibility: auto;
    contain-intrinsic-size: 1000px;
}

/* Card base */
.canvas-card {
    text-decoration: none;
    color: inherit;
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 4px; /* Sharper architectural edges */
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid var(--atelier-border);
    transition: all 0.6s var(--ease-luxe);

    /* Scroll reveal initial state */
    opacity: 0;
    transform: translateY(50px);
}

.card-inner {
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-title, .card-excerpt {
    text-decoration: none !important;
}

.canvas-card.show {
    opacity: 1;
    transform: translateY(0);
}

/* Remove old staggering — now using clean 3-col grid */
.canvas-card:nth-child(even),
.canvas-card:nth-child(3n+1) {
    grid-column: auto;
    margin-top: 0;
}

/* Card hover glow */
.canvas-card:hover {
    border-color: var(--atelier-gold-glow);
    box-shadow:
        0 0 0 1px var(--atelier-gold-glow),
        0 25px 60px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(212, 175, 55, 0.08);
    transform: translateY(-6px);
}

.canvas-card.show:hover {
    transform: translateY(-6px);
}

/* Card image */
.image-wrapper {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
    background: #111;
}

/* Gradient overlay on image */
.image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 60%,
        rgba(0, 0, 0, 0.05) 100%
    );
    z-index: 1;
    transition: opacity 0.6s ease;
}

.canvas-card:hover .image-wrapper::after {
    opacity: 0.4;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85) saturate(0.9);
    transition: all 0.8s var(--ease-luxe);
}

.canvas-card:hover .image-wrapper img {
    filter: brightness(1) saturate(1.1);
    transform: scale(1.08);
}

/* Article number badge */
.metadata {
    position: absolute;
    top: 16px;
    left: 16px;
    font-family: 'Work Sans', sans-serif;
    font-size: 9px;
    font-weight: 600;
    color: var(--atelier-gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    z-index: 3;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: 4px;
    border: 1px solid var(--atelier-border);
}

/* Category tag on card */
.card-category {
    position: absolute;
    top: 16px;
    right: 16px;
    font-family: 'Work Sans', sans-serif;
    font-size: 9px;
    font-weight: 500;
    color: var(--atelier-noir);
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 3;
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 5px 12px;
    border-radius: 4px;
    border: 1px solid var(--atelier-border);
}

/* Card info / caption */
.card-info {
    padding: 28px 28px 32px;
    text-align: left;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-info h3 {
    font-family: 'Bodoni Moda', serif;
    font-size: 22px;
    font-weight: 500 !important;
    line-height: 1.25;
    margin-bottom: 14px;
    color: var(--atelier-noir);
    letter-spacing: -0.01em;
    transition: color 0.4s ease;
}

.canvas-card:hover h3 {
    color: var(--atelier-gold);
}

.card-info p {
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: var(--atelier-muted);
    margin-bottom: 24px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.canvas-card:hover p {
    color: var(--atelier-noir);
}

/* Read more / Back link */
.read-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Work Sans', sans-serif;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--atelier-gold);
    margin-top: auto;
    transition: gap 0.4s ease;
    text-decoration: none !important;
}

.read-btn::before {
    content: '←';
    font-size: 14px;
    transition: transform 0.4s var(--ease-smooth);
}

.canvas-card:hover .read-btn, .read-btn:hover {
    gap: 18px;
}

.canvas-card:hover .read-btn::before, .read-btn:hover::before {
    transform: translateX(-6px);
}

/* "No results" when filtering */
.no-results-msg {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    color: var(--atelier-subtle);
    letter-spacing: 2px;
}


/* ══════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════ */
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Stagger delay classes added by JS */
.canvas-card.stagger-1 { transition-delay: 0.05s; }
.canvas-card.stagger-2 { transition-delay: 0.10s; }
.canvas-card.stagger-3 { transition-delay: 0.15s; }
.canvas-card.stagger-4 { transition-delay: 0.20s; }
.canvas-card.stagger-5 { transition-delay: 0.25s; }

/* Status message */
.status-msg {
    grid-column: 1 / -1;
    text-align: center;
    padding: 100px 20px;
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--atelier-subtle);
}


/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 1200px) {
    .mosaic-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .knowledge-hero {
        min-height: 60vh;
        padding: 80px 7% 40px; /* Added top padding for header space */
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .knowledge-hero h1 {
        font-size: clamp(2.2rem, 10vw, 3.2rem) !important;
        margin-bottom: 5px !important;
    }

    .knowledge-hero-content h1 .hero-subtitle-accent {
        font-size: 0.45em !important; /* Increased from 0.3em */
    }

    .scroll-hint {
        left: 50% !important;
        transform: translateX(-50%) !important;
        text-align: center !important;
        width: 100% !important;
    }

    .knowledge-hero .hero-ornament {
        width: 40px;
        height: 40px;
    }
    .knowledge-hero .hero-ornament.tl { top: 24px; left: 24px; }
    .knowledge-hero .hero-ornament.tr { top: 24px; right: 24px; }
    .knowledge-hero .hero-ornament.bl { bottom: 24px; left: 24px; }
    .knowledge-hero .hero-ornament.br { bottom: 24px; right: 24px; }

    .knowledge-grid-section {
        padding: 60px 4% 100px;
    }

    .mosaic-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .canvas-card, .canvas-card:nth-child(even), .canvas-card:nth-child(3n+1) {
        grid-column: 1 / -1 !important;
        margin-top: 0 !important;
    }

    .section-label {
        gap: 16px;
        margin-bottom: 30px;
    }

    .section-label span {
        font-size: 9px;
        letter-spacing: 4px;
    }

    .category-filter {
        gap: 8px;
        margin-bottom: 40px;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .filter-pill {
        font-size: 10px;
        padding: 8px 18px;
    }

    .card-info {
        padding: 22px 22px 26px;
    }

    .card-info h3 {
        font-size: 19px;
    }

    .card-info p {
        font-size: 13px;
    }
}

/* Footer override for dark page */
/* removed dark footer overrides */

/* ARTICLE PAGE STYLES - THE ARCHITECTURAL JOURNAL (EDITORIAL) */
.article-page {
    background-color: #FFFFFF !important;
}

.article-container {
    max-width: 950px;
    margin: 0 auto;
    padding: 240px 5% 120px;
    position: relative;
    z-index: 2;
}

/* ARTICLE FEATURE IMAGE */
.article-feature-image {
    width: 100%;
    margin-bottom: 80px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--atelier-border);
}

.article-feature-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px;
}

#article-content {
    font-family: 'Work Sans', sans-serif;
    font-size: 19px; /* Slightly larger for a premium feel */
    line-height: 2.1; /* Airy line height */
    color: #333;
    letter-spacing: 0.01em;
}

/* EDITORIAL DROP CAP */
#article-content > p:first-of-type::first-letter {
    font-family: 'Bodoni Moda', serif;
    font-size: 100px;
    font-weight: 900;
    line-height: 0.8;
    float: left;
    margin-right: 20px;
    margin-top: 10px;
    color: var(--brand-cyan);
    text-transform: uppercase;
}

#article-content h1 {
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(40px, 6vw, 76px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 100px;
    color: var(--atelier-gold);
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

#article-content h2 {
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 500;
    margin-top: 120px;
    margin-bottom: 40px;
    color: var(--atelier-gold);
    letter-spacing: -0.02em;
    position: relative;
}

#article-content h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: var(--atelier-gold);
    margin-top: 20px;
}

#article-content h3 {
    font-family: 'Bodoni Moda', serif;
    font-size: 26px;
    font-weight: 600;
    margin-top: 60px;
    margin-bottom: 25px;
    color: var(--atelier-gold);
    letter-spacing: -0.01em;
}

#article-content p {
    margin-bottom: 40px;
}

/* REFINED LISTS AS TECHNICAL BLOCKS */
#article-content ul, #article-content ol {
    margin: 60px 0;
    padding: 40px 40px 40px 60px;
    background: #F9F9F9; /* Slightly different to distinguish from main BG */
    border-left: 4px solid var(--atelier-gold);
    list-style: none;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

#article-content li {
    margin-bottom: 25px;
    position: relative;
    padding-left: 0;
    font-size: 17px;
    line-height: 1.8;
    color: #444;
}

#article-content li p {
    margin: 0;
    display: inline;
}

#article-content li::before {
    content: '—';
    position: absolute;
    left: -40px;
    color: var(--atelier-gold);
    font-weight: 900;
}

#article-content li:last-child {
    margin-bottom: 0;
}

#article-content strong {
    color: var(--atelier-noir);
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* CUSTOM SEPARATOR (HR) */
#article-content hr {
    border: none;
    height: 1px;
    background: var(--atelier-line);
    margin: 100px auto;
    width: 200px;
    position: relative;
    overflow: visible;
}

#article-content hr::after {
    content: '◆';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #FFF;
    padding: 0 15px;
    color: var(--atelier-gold);
    font-size: 10px;
}

/* PULL QUOTE STYLING (BLOCKQUOTE) */
#article-content blockquote {
    margin: 80px 0;
    padding: 0 40px;
    border: none;
    text-align: center;
}

#article-content blockquote p {
    font-family: 'Bodoni Moda', serif;
    font-size: 34px;
    font-style: italic;
    font-weight: 300;
    color: var(--atelier-noir);
    line-height: 1.4;
    letter-spacing: -0.01em;
}

#article-content blockquote p::before,
#article-content blockquote p::after {
    content: '"';
    font-family: 'Bodoni Moda', serif;
    color: var(--atelier-gold);
    font-size: 60px;
    display: block;
    line-height: 0;
    margin: 30px 0;
}

/* TABLE STYLING - THE ARCHITECTURAL DATA SHEET */
#article-content .table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 80px 0;
    -webkit-overflow-scrolling: touch;
}

#article-content table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    table-layout: fixed;
    min-width: 600px; /* Ensure table doesn't get too squashed */
    border-top: 2px solid var(--atelier-noir);
    border-bottom: 2px solid var(--atelier-noir);
}

#article-content th {
    text-align: left;
    padding: 30px 25px;
    background: #FAF9F6; /* Light background for clear header distinction */
    color: var(--atelier-noir);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    font-size: 13px;
    border: none;
}

#article-content td {
    padding: 25px;
    border-bottom: 1px solid var(--atelier-line);
    color: #444;
    vertical-align: top;
    line-height: 1.8;
    word-wrap: break-word;
}

#article-content tr:last-child td {
    border-bottom: none;
}

#article-content tr:hover td {
    background: #FAF9F6;
    color: var(--atelier-noir);
}

/* IMAGES IN ARTICLES */
#article-content img {
    width: 100%;
    height: auto;
    margin: 80px 0 20px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.05);
}

#article-content img + em {
    display: block;
    text-align: center;
    font-family: 'Work Sans', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--atelier-muted);
    margin-bottom: 80px;
}

/* ARTICLE CTA SECTION - THE SIGNATURE LUXURY BLOCK */
.article-cta-block {
    margin-top: 150px;
    padding: 120px 60px;
    background: #FFFFFF;
    border-top: 1px solid var(--atelier-line);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.article-cta-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100px;
    background: var(--atelier-gold);
}

.article-cta-block p {
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 300;
    font-style: italic;
    color: var(--atelier-noir);
    margin-bottom: 60px !important;
    max-width: 800px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* THE LUXURY BUTTON */
.luxury-cta-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 28px 80px;
    background: transparent;
    color: var(--atelier-noir) !important;
    text-decoration: none;
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 6px;
    border: 1px solid var(--atelier-noir);
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1;
}

.luxury-cta-btn span {
    position: relative;
    z-index: 3;
    transition: color 0.6s ease;
}

/* THE UNIQUE LIQUID GOLD FILL */
.luxury-cta-btn::after {
    content: '';
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--atelier-gold);
    z-index: 2;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.luxury-cta-btn:hover {
    border-color: var(--atelier-gold);
    transform: translateY(-5px);
    box-shadow: 0 40px 80px rgba(212, 175, 55, 0.15);
}

.luxury-cta-btn:hover::after {
    bottom: 0;
}

.luxury-cta-btn:hover span {
    color: #FFFFFF !important;
}

@media (max-width: 768px) {
    .article-cta-block {
        padding: 80px 30px;
        margin-top: 100px;
    }
    
    .article-cta-block p {
        font-size: 28px;
    }
    
    .luxury-cta-btn {
        padding: 22px 40px;
        width: 100%;
        letter-spacing: 4px;
    }
}
