/**
 * catlakzemin Theme - Main Stylesheet
 * İstanbul Feminist Gece Yürüyüşü Arşivi
 * Mobile-first approach
 *
 * @package catlakzemin
 * @since 1.0.0
 */

/* ==========================================================================
   CSS Custom Properties (Variables) - Global Defaults
   ========================================================================== */

:root {
    /* Colors */
    --color-cream: #f0ebe3;
    --color-white: #ffffff;
    --color-black: #1a1a1a;
    --color-gray: #6b6b6b;
    --color-gray-light: #a0a0a0;
    
    /* Brand Colors - can be overridden per year */
    --color-primary: #7b2d8e;
    --color-primary-light: #9b4dae;
    --color-primary-dark: #5a1f6a;
    
    /* Typography - Global defaults, can be overridden */
    --font-display: 'Sora', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --font-mono: 'Space Mono', monospace;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    
    /* Hero specific - can be overridden inline */
    --hero-bg-color: var(--color-cream);
    --hero-text-color: var(--color-primary);
}

/* ==========================================================================
   Base Styles - Mobile First
   ========================================================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-black);
    background-color: var(--color-cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

/* ==========================================================================
   Hero Component - Mobile First
   ========================================================================== */

.component-hero {
    position: relative;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile */
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--hero-bg-color);
    overflow: hidden;
}

/* Hero Top Section */
.hero-top {
    padding: var(--space-md);
    text-align: center;
    flex-shrink: 0;
}

.hero-year {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-gray);
    margin: 0 0 var(--space-xs) 0;
    letter-spacing: 0.25em;
    opacity: 0;
    animation: fadeIn 0.6s 0.1s ease forwards;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 5vw, 1.8rem);
    font-weight: 600;
    line-height: 1.1;
    color: var(--hero-text-color);
    margin: 0;
    letter-spacing: -0.01em;
    opacity: 0;
    animation: fadeIn 0.8s 0.2s ease forwards;
}

/* Hero Image Section */
.hero-image-wrapper {
    flex: 1;
    min-height: 0;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 0.8s 0.4s ease forwards;
}

.hero-image {
    width: 100%;
    height: 100%;
    position: relative;
    animation: gentleWave 8s ease-in-out infinite;
    transform-origin: center top;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.75) contrast(0.95) brightness(1.05);
}

/* Placeholder when no image */
.hero-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--hero-bg-color), var(--hero-text-color));
    opacity: 0.3;
}

/* Image overlay for softening */
.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(240, 235, 227, 0.25) 0%,
        rgba(123, 45, 142, 0.08) 50%,
        rgba(240, 235, 227, 0.25) 100%
    );
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--hero-bg-color) 25%, transparent) 0%,
        color-mix(in srgb, var(--hero-text-color) 8%, transparent) 50%,
        color-mix(in srgb, var(--hero-bg-color) 25%, transparent) 100%
    );
    pointer-events: none;
    z-index: 2;
}

/* Fabric fold effect */
.hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, 
        rgba(0,0,0,0.03) 0%, 
        transparent 10%,
        rgba(255,255,255,0.02) 20%,
        transparent 30%,
        rgba(0,0,0,0.02) 40%,
        transparent 50%,
        rgba(255,255,255,0.02) 60%,
        transparent 70%,
        rgba(0,0,0,0.02) 80%,
        transparent 90%,
        rgba(0,0,0,0.03) 100%
    );
    pointer-events: none;
    z-index: 3;
}

/* Wavy top edge */
.hero-image::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--hero-bg-color);
    clip-path: polygon(
        0% 100%, 5% 40%, 10% 100%, 15% 50%, 20% 100%, 25% 45%, 30% 100%, 
        35% 55%, 40% 100%, 45% 40%, 50% 100%, 55% 50%, 60% 100%, 65% 45%,
        70% 100%, 75% 55%, 80% 100%, 85% 40%, 90% 100%, 95% 50%, 100% 100%,
        100% 0%, 0% 0%
    );
    z-index: 4;
}

/* Wavy bottom edge */
.hero-image-bottom-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--hero-bg-color);
    clip-path: polygon(
        0% 50%, 5% 0%, 10% 60%, 15% 0%, 20% 50%, 25% 0%, 30% 55%, 
        35% 0%, 40% 50%, 45% 0%, 50% 60%, 55% 0%, 60% 50%, 65% 0%,
        70% 55%, 75% 0%, 80% 50%, 85% 0%, 90% 60%, 95% 0%, 100% 50%,
        100% 100%, 0% 100%
    );
    z-index: 4;
}


.hero-image--video .hero-video-poster,
.hero-image--video .hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.28s ease;
}

.hero-image--video .hero-video {
    opacity: 0;
    z-index: 2;
}

.hero-image--video .hero-video-poster {
    z-index: 1;
}

.hero-image--video.is-playing .hero-video {
    opacity: 1;
}

.hero-image--video.is-playing .hero-video-poster {
    opacity: 0;
}


.hero-credentials {
    position: absolute;
    right: clamp(0.85rem, 2vw, 1.5rem);
    bottom: clamp(0.85rem, 2vw, 1.5rem);
    z-index: 5;
    max-width: min(24rem, calc(100% - 2rem));
    padding: 0.45rem 0.65rem;
    border-radius: 6px;
    background: rgba(20, 18, 22, 0.46);
    color: #fff;
    font-family: var(--font-body);
    font-size: var(--hero-credit-font-size, 12px);
    font-weight: 600;
    line-height: 1.35;
    text-align: right;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
}

/* Hero Bottom Section */
.hero-bottom {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    flex-shrink: 0;
}

.hero-location {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-gray);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0;
    opacity: 0;
    animation: fadeIn 0.6s 0.6s ease forwards;
}

/* Hero Navigation */
.hero-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xs);
    opacity: 0;
    animation: fadeIn 0.8s 0.8s ease forwards;
}

.hero-nav-link {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--hero-text-color);
    text-decoration: none;
    padding: 0.4rem 0.7rem;
    background: var(--hero-bg-color);
    border: 2px solid var(--hero-text-color);
    border-radius: 50px;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.hero-nav-link:hover,
.hero-nav-link:focus {
    background: var(--hero-text-color);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes gentleWave {
    0%, 100% {
        transform: perspective(1200px) rotateX(0.3deg);
    }
    50% {
        transform: perspective(1200px) rotateX(0.6deg);
    }
}

/* ==========================================================================
   Tablet Breakpoint (min-width: 640px)
   ========================================================================== */

@media (min-width: 640px) {
    .hero-top {
        padding: var(--space-lg) var(--space-lg) var(--space-md);
    }

    .hero-year {
        font-size: 0.8rem;
        letter-spacing: 0.3em;
    }

    .hero-title {
        font-size: clamp(1.6rem, 4.5vw, 2.5rem);
    }

    .hero-bottom {
        padding: var(--space-md) var(--space-lg) var(--space-lg);
        gap: var(--space-md);
    }

    .hero-location {
        font-size: 0.75rem;
        letter-spacing: 0.15em;
    }

    .hero-nav {
        gap: var(--space-sm);
    }

    .hero-nav-link {
        font-size: 0.7rem;
        padding: 0.5rem 0.9rem;
    }
}

/* ==========================================================================
   Desktop Breakpoint (min-width: 1024px)
   ========================================================================== */

@media (min-width: 1024px) {
    .component-hero {
        height: 112vh;
        max-height: none;
        min-height: 820px;
    }

    .hero-top {
        padding: var(--space-xl) var(--space-xl) var(--space-lg);
    }

    .hero-year {
        font-size: 0.85rem;
        margin-bottom: var(--space-sm);
    }

    .hero-title {
        font-size: clamp(2rem, 4vw, 3.5rem);
    }

    .hero-image::after,
    .hero-image-bottom-wave {
        height: 10px;
    }

    .hero-bottom {
        padding: var(--space-lg) var(--space-xl) var(--space-xl);
    }

    .hero-nav-link {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
}

/* ==========================================================================
   Content Archive Component - Kompakt section + genişletilebilir kartlar
   ========================================================================== */

.component-content-archive {
    background-color: var(--color-white);
    position: relative;
}

.content-archive-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: var(--space-md) var(--space-md) var(--space-lg);
    position: relative;
}

/* Archive Header */
.archive-header {
    text-align: center;
    margin-bottom: var(--space-md);
}

.component-content-archive .archive-year {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--color-gray);
    letter-spacing: 0.22em;
    margin: 0 0 0.2rem;
    opacity: 0;
    animation: slideUp 0.6s 0.1s ease forwards;
}

.component-content-archive .archive-title {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 3.2vw, 1.45rem);
    font-weight: 600;
    color: var(--color-primary);
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.25;
    opacity: 0;
    animation: slideUp 0.6s 0.2s ease forwards;
}

/* Category Tabs */
.archive-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
    opacity: 0;
    animation: slideUp 0.6s 0.3s ease forwards;
}

.tab-btn {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    background: transparent;
    border: 2px solid transparent;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    transition: all var(--transition-fast);
    z-index: 5;
    pointer-events: auto;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--color-primary);
    border-radius: 3px;
    transition: all var(--transition-fast);
}

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

.tab-btn:hover::after {
    width: 30px;
}

.tab-btn.active {
    color: var(--color-primary);
    background: rgba(123, 45, 142, 0.08);
    border-color: var(--color-primary);
}

.tab-btn.active::after {
    width: 0;
}

.tab-count {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 400;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.1rem 0.45rem;
    border-radius: 10px;
    margin-left: var(--space-xs);
    vertical-align: middle;
}

.tab-btn.active .tab-count {
    background: var(--color-primary-dark);
}

/* Tab Panels */
.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

/* Archive List */
.archive-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

/* Üst üste gelen arşiv section’ları arasında fazla boşluk olmasın */
.component-content-archive.content-archive-section + .component-content-archive.content-archive-section .content-archive-inner {
    padding-top: var(--space-sm);
}

/* Archive Card */
.archive-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(123, 45, 142, 0.08);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: box-shadow var(--transition-base), border-color var(--transition-base);
    position: relative;
    opacity: 0;
    animation: slideUp 0.5s ease forwards;
}

.archive-card:nth-child(1) { animation-delay: 0.1s; }
.archive-card:nth-child(2) { animation-delay: 0.15s; }
.archive-card:nth-child(3) { animation-delay: 0.2s; }
.archive-card:nth-child(4) { animation-delay: 0.25s; }
.archive-card:nth-child(5) { animation-delay: 0.3s; }

.archive-card:hover {
    box-shadow: 0 2px 8px rgba(90, 31, 106, 0.08);
    border-color: rgba(123, 45, 142, 0.14);
}

/* External Link Arrow */
.card-external-link {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(123, 45, 142, 0.08);
    border-radius: 7px;
    color: var(--color-primary);
    text-decoration: none;
    transition: all var(--transition-fast);
    z-index: 10;
}

.card-external-link:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translate(1px, -1px);
}

.card-external-link svg {
    width: 14px;
    height: 14px;
}

/* Card Header */
.card-header {
    padding: 0.85rem 0.9rem 0.45rem;
    padding-right: 2.85rem;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: 0.35rem;
}

.card-category {
    font-family: var(--font-display);
    font-size: 0.55rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    background: rgba(123, 45, 142, 0.08);
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
}

.card-title {
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0;
    line-height: 1.35;
    transition: color var(--transition-fast);
}

.archive-card:hover .card-title {
    color: var(--color-primary-dark);
}

/* Card Preview — 4 satır: üst 3 net, 4. satır mask ile flu */
.card-preview {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    color: var(--color-gray);
    line-height: 1.58;
    padding: 0 0.9rem;
    position: relative;
}

.card-preview-text {
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    line-height: 1.58;
}

.archive-card:not(.expanded) .card-preview {
    -webkit-mask-image: linear-gradient(
        to bottom,
        #000 0%,
        #000 calc(72% - 0.15em),
        rgba(0, 0, 0, 0.45) 84%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to bottom,
        #000 0%,
        #000 calc(72% - 0.15em),
        rgba(0, 0, 0, 0.45) 84%,
        transparent 100%
    );
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.archive-card.expanded .card-preview {
    display: none;
}

/* Expand Button */
.card-expand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.55rem 0.9rem 0.75rem;
    background: transparent;
    border: none;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-primary);
    cursor: pointer;
    transition: color var(--transition-fast);
    position: relative;
    z-index: 5;
}

.card-expand:hover {
    color: var(--color-primary-dark);
}

.expand-icon {
    width: 18px;
    height: 18px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast);
}

.expand-icon svg {
    width: 9px;
    height: 9px;
    transition: transform var(--transition-fast);
}

/* Expanded State */
.archive-card.expanded .expand-icon svg {
    transform: rotate(180deg);
}

/* Full Content */
.card-full-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.archive-card.expanded .card-full-content {
    max-height: 3000px;
}

.card-divider {
    height: 1px;
    background: var(--color-cream);
    margin: 0 0.9rem var(--space-sm);
}

.card-full-text {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    color: var(--color-gray);
    line-height: 1.65;
    padding: 0 0.9rem var(--space-sm);
}

.card-full-text p {
    margin: 0 0 0.65rem;
}

.card-full-text p:last-child {
    margin-bottom: 0;
}

/* Tags Section */
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0 0.9rem 0.85rem;
    border-top: 1px solid var(--color-cream);
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
}

.card-tags-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--color-gray-light);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    width: 100%;
    margin-bottom: 0.15rem;
}

.card-tag {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--color-gray);
    background: var(--color-cream);
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.card-tag:hover {
    background: rgba(123, 45, 142, 0.08);
    color: var(--color-primary);
}

/* “Daha fazla” — kategori listesinde ek kartlar */
.archive-load-more-wrap {
    margin-top: var(--space-sm);
}

.archive-load-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.6rem 1rem;
    margin: 0;
    border: 1px dashed rgba(123, 45, 142, 0.35);
    border-radius: 12px;
    background: rgba(123, 45, 142, 0.04);
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-primary);
    cursor: pointer;
    transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.archive-load-more:hover {
    background: rgba(123, 45, 142, 0.09);
    border-color: rgba(123, 45, 142, 0.55);
    color: var(--color-primary-dark);
}

.archive-load-more-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid currentColor;
    opacity: 0.9;
}

.archive-load-more-icon svg {
    width: 14px;
    height: 14px;
}

/* Slide Up Animation */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablet Breakpoint */
@media (min-width: 640px) {
    .content-archive-inner {
        padding: var(--space-lg) var(--space-lg) var(--space-lg);
    }

    .archive-tabs {
        gap: var(--space-sm);
    }

    .tab-btn {
        font-size: 0.85rem;
        padding: 0.7rem 1.4rem;
    }

    .card-header {
        padding: 1rem 1.1rem 0.5rem;
        padding-right: 3.25rem;
    }

    .card-external-link {
        top: 0.85rem;
        right: 0.85rem;
    }

    .card-preview,
    .card-full-text {
        padding-left: 1.1rem;
        padding-right: 1.1rem;
    }

    .card-title {
        font-size: 0.98rem;
    }

    .card-divider {
        margin-left: 1.1rem;
        margin-right: 1.1rem;
    }

    .card-tags {
        padding-left: 1.1rem;
        padding-right: 1.1rem;
        margin-left: 0;
        margin-right: 0;
    }
}

/* Desktop Breakpoint */
@media (min-width: 1024px) {
    .content-archive-inner {
        padding: var(--space-lg) var(--space-xl) var(--space-xl);
    }

    .component-content-archive .archive-title {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   Gallery Component - Masonry Grid with Filters & Lightbox
   ========================================================================== */

.component-gallery {
    background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-white) 42%, var(--color-white) 100%);
    padding: 3rem 0 4rem;
    min-height: 50vh;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.gallery-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .gallery-inner {
        padding: 0 1.25rem;
    }
}

@media (min-width: 1024px) {
    .gallery-inner {
        padding: 0 1.5rem;
    }
}

/* Gallery Header (aligned with video-archive / archive-hero rhythm) */
.gallery-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding: 0 0.25rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.gallery-year {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin: 0 0 1rem;
    padding: 0.35rem 0.85rem;
    background: var(--color-white);
    border-radius: 100px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(123, 45, 142, 0.08);
}

.gallery-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 600;
    color: var(--color-primary);
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.gallery-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.gallery-count {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--color-gray-light);
    margin: 0;
    line-height: 1.4;
}

/* Gallery Filters */
.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding: 0 0.25rem;
}

.filter-btn {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-gray);
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.filter-btn:hover {
    color: var(--color-primary);
    background: rgba(123, 45, 142, 0.06);
    border-color: rgba(123, 45, 142, 0.15);
}

.filter-btn.active {
    color: var(--color-white);
    background: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 4px 14px rgba(123, 45, 142, 0.25);
}

.filter-count {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    opacity: 0.7;
    margin-left: 0.25rem;
}

/* Gallery Grid - CSS Columns Masonry */
.gallery-grid {
    column-count: 2;
    column-gap: 0.65rem;
    padding: 0;
}

/* Gallery Item */
.gallery-item {
    break-inside: avoid;
    margin-bottom: 0.65rem;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    background: var(--color-cream);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    animation: fadeInUp 0.4s ease both;
    transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

.gallery-item:hover {
    box-shadow: 0 12px 32px rgba(123, 45, 142, 0.15);
}

.gallery-item:nth-child(5n+1) { animation-delay: 0.05s; }
.gallery-item:nth-child(5n+2) { animation-delay: 0.1s; }
.gallery-item:nth-child(5n+3) { animation-delay: 0.15s; }
.gallery-item:nth-child(5n+4) { animation-delay: 0.2s; }
.gallery-item:nth-child(5n+5) { animation-delay: 0.25s; }

.gallery-item.hidden {
    display: none;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
    transform: scale(1.03);
}

/* Image overlay on hover */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(90, 31, 106, 0.9) 0%,
        rgba(123, 45, 142, 0.3) 50%,
        transparent 100%
    );
    opacity: 0;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-md);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Category badge */
.gallery-category {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0;
    color: var(--color-white);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    opacity: 0;
    transform: translateY(-8px);
    transition: all var(--transition-base);
}

.gallery-item:hover .gallery-category {
    opacity: 1;
    transform: translateY(0);
}

/* Zoom icon */
.gallery-zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    width: 56px;
    height: 56px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 400ms cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.gallery-zoom svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.gallery-item:hover .gallery-zoom {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Caption */
.gallery-caption {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-white);
    margin: 0;
    line-height: 1.4;
    transform: translateY(8px);
    transition: all var(--transition-base);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-photographer {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.25rem;
}

/* Lightbox */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(10, 10, 10, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.95);
    transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
}

/* Lightbox Close Button */
.lightbox-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 10;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-close svg {
    width: 24px;
    height: 24px;
    color: var(--color-white);
}

/* Lightbox Navigation */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 10;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav svg {
    width: 28px;
    height: 28px;
    color: var(--color-white);
}

.lightbox-prev {
    left: var(--space-md);
}

.lightbox-next {
    right: var(--space-md);
}

/* Lightbox caption + manifest “credentials” kartı */
.lightbox-info.lightbox-credentials {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: left;
    color: var(--color-white);
    max-width: min(520px, calc(100vw - 2rem));
    margin: 0;
    padding: 0;
    background: transparent;
}

.lightbox-credentials-card {
    background: linear-gradient(
        145deg,
        rgba(22, 22, 28, 0.92) 0%,
        rgba(35, 28, 42, 0.88) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 4px solid rgba(197, 168, 255, 0.95);
    border-radius: 6px 10px 10px 6px;
    padding: 1rem 1.15rem 1.05rem 1.25rem;
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
}

.lightbox-credentials .lightbox-title,
.lightbox-credentials-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.65rem;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: #f4f0ff;
}

@media (max-width: 768px) {
    .lightbox-credentials .lightbox-title,
    .lightbox-credentials-title {
        font-size: 0.85rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.lightbox-credentials-fields {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.35rem 1.1rem;
    margin: 0;
    align-items: baseline;
}

.lightbox-credentials-fields:empty {
    display: none;
}

.lightbox-cred-label {
    font-family: var(--font-mono);
    font-size: 0.58rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0;
    color: rgba(197, 168, 255, 0.85);
    margin: 0;
}

.lightbox-cred-value {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
    line-height: 1.4;
    word-break: break-word;
}

.lightbox-original-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.85rem;
    padding: 0.48rem 0.72rem;
    border: 1px solid rgba(197, 168, 255, 0.45);
    border-radius: 999px;
    color: #f4f0ff;
    background: rgba(255, 255, 255, 0.08);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.lightbox-original-link:hover,
.lightbox-original-link:focus-visible {
    background: rgba(197, 168, 255, 0.18);
    border-color: rgba(197, 168, 255, 0.78);
    color: #ffffff;
    transform: translateY(-1px);
}

.lightbox-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
}

/* Lightbox Counter */
.lightbox-counter {
    position: absolute;
    top: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.4);
    padding: 0.5rem 1rem;
    border-radius: 100px;
}

/* Gallery Empty State */
.gallery-empty {
    text-align: center;
    padding: var(--space-2xl) var(--space-md);
    display: none;
}

.gallery-empty.visible {
    display: block;
}

.gallery-empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-md);
    background: rgba(123, 45, 142, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-empty-icon svg {
    width: 36px;
    height: 36px;
    color: var(--color-primary-light);
}

.gallery-empty-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-black);
    margin: 0 0 var(--space-sm);
}

.gallery-empty-text {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-gray);
    margin: 0;
}

/* Load More Button */
.gallery-load-more {
    display: flex;
    justify-content: center;
    padding: var(--space-xl) var(--space-md);
}

.gallery-load-more.hidden {
    display: none;
}

.load-more-btn {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-primary) 0%, #5a1f6a 100%);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 100px;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 20px rgba(123, 45, 142, 0.3);
}

.load-more-btn:hover {
    background: linear-gradient(135deg, #6a2580 0%, #4a1858 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(123, 45, 142, 0.38);
}

.load-more-btn svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-fast);
}

.load-more-btn:hover svg {
    transform: translateY(3px);
}

.load-more-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.load-more-remaining {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    opacity: 0.8;
}

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Body scroll lock when lightbox is open */
body.lightbox-open {
    overflow: hidden;
}

/* Gallery Tablet (3 columns) */
@media (min-width: 540px) {
    .gallery-grid {
        column-count: 3;
        column-gap: 0.75rem;
    }

    .gallery-item {
        margin-bottom: 0.75rem;
        border-radius: 11px;
    }
}

/* Gallery Desktop (4 columns) */
@media (min-width: 900px) {
    .component-gallery {
        padding: 3.5rem 0 4.5rem;
    }

    .gallery-grid {
        column-count: 4;
        column-gap: 1rem;
    }

    .gallery-item {
        margin-bottom: 1rem;
        border-radius: 12px;
    }

    .filter-btn {
        font-size: 0.8rem;
        padding: 0.6rem 1.25rem;
    }

    .gallery-overlay {
        padding: 1.25rem;
    }

    .gallery-caption {
        font-size: 0.85rem;
    }

    .lightbox-nav {
        width: 64px;
        height: 64px;
    }

    .lightbox-prev {
        left: var(--space-lg);
    }

    .lightbox-next {
        right: var(--space-lg);
    }
}

/* Gallery Large Desktop */
@media (min-width: 1200px) {
    .gallery-grid {
        column-count: 4;
    }
}

/* Gallery XL Desktop */
@media (min-width: 1600px) {
    .gallery-grid {
        column-count: 4;
    }
}

/* ==========================================================================
   Year Archive / Page Styles
   ========================================================================== */

.year-archive {
    min-height: 100vh;
}

.year-page {
    min-height: 100vh;
}

.year-components {
    /* Components container */
}

/* ==========================================================================
   Component Base Styles
   ========================================================================== */

.component {
    position: relative;
}

.component-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-md);
}

@media (min-width: 640px) {
    .component-inner {
        padding: var(--space-lg);
    }
}

@media (min-width: 1024px) {
    .component-inner {
        padding: var(--space-xl);
    }
}

/* ==========================================================================
   Site Header & Mega Menu
   ========================================================================== */

:root {
    --header-height: 70px;
    --transition-smooth: 400ms cubic-bezier(0.22, 1, 0.36, 1);
    --color-red: #c41e3a;
    --font-serif: 'Crimson Pro', Georgia, serif;
    --font-sans: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-cream);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: all var(--transition-base);
}

.site-header.scrolled {
    background: rgba(250, 247, 242, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 1024px) {
    .header-inner {
        padding: 0 1.5rem;
    }
}

/* Logo */
.site-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--color-black);
}

.logo-main {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

@media (min-width: 640px) {
    .logo-main {
        font-size: 1.25rem;
    }
}

.logo-sub {
    font-family: var(--font-mono);
    font-size: 0.5rem;
    color: var(--color-red);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 2px;
}

@media (min-width: 640px) {
    .logo-sub {
        font-size: 0.55rem;
    }
}

/* ==========================================================================
   Desktop Navigation
   ========================================================================== */

.main-nav {
    display: none;
}

@media (min-width: 1024px) {
    .main-nav {
        display: flex;
        align-items: center;
    }
}

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

.nav-item {
    position: relative;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-black);
    text-decoration: none;
    padding: 0.5rem 0.85rem;
    border-radius: 4px;
    position: relative;
    transition: all var(--transition-fast);
}

.nav-link:hover {
    background: rgba(0, 0, 0, 0.04);
}

.nav-item.active .nav-link {
    color: var(--color-red);
}

.nav-link .arrow {
    font-size: 0.5rem;
    color: var(--color-gray-light);
    transition: transform var(--transition-fast);
}

.nav-item:hover .nav-link .arrow {
    transform: rotate(180deg);
    color: var(--color-red);
}

/* ==========================================================================
   Mega Menu
   ========================================================================== */

.mega-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-white);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 2px solid var(--color-red);
    padding: 2rem 0 2.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all var(--transition-smooth);
    z-index: 99;
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2.5rem;
}

/* Mega Menu Left Info */
.mega-menu-info {
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    padding-right: 2.5rem;
}

.mega-menu-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-black);
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.mega-menu-desc {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--color-gray);
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
}

/* Mega Menu Quick Links */
.mega-menu-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.mega-menu-link-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-black);
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: all var(--transition-fast);
}

.mega-menu-link-item:last-child {
    border-bottom: none;
}

.mega-menu-link-item:hover {
    color: var(--color-red);
    padding-left: 0.25rem;
}

.mega-menu-link-item span {
    font-size: 0.7rem;
    color: var(--color-gray-light);
    transition: all var(--transition-fast);
}

.mega-menu-link-item:hover span {
    color: var(--color-red);
}

/* Mega Menu Years Section */
.mega-menu-years {
    display: flex;
    flex-direction: column;
}

.mega-menu .decade-years {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: .5rem;
}
.mega-menu .year-btn {
    min-height: 44px;
    padding: .5rem;
    border-radius: 4px;
    letter-spacing: 0;
}
.mega-menu .mega-menu-desc { margin-bottom: 0; }

.years-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.years-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--color-gray-light);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.years-view-all {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    color: var(--color-red);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.years-view-all:hover {
    text-decoration: underline;
}

/* Decade Groups */
.decades-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.decade-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.decade-label {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    color: var(--color-gray-light);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.decade-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
}

.decade-years {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.year-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.7rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-black);
    text-decoration: none;
    background: var(--color-cream);
    border: 1px solid transparent;
    border-radius: 3px;
    transition: all var(--transition-fast);
}

.year-btn:hover {
    background: var(--color-white);
    border-color: var(--color-red);
    color: var(--color-red);
}

.year-btn.current {
    background: var(--color-black);
    color: var(--color-white);
}

.year-btn.current:hover {
    background: var(--color-red);
    border-color: var(--color-red);
}

/* ==========================================================================
   Mobile Menu Toggle
   ========================================================================== */

.menu-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-right: -0.5rem;
}

@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }
}

.menu-toggle-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--color-black);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.menu-toggle-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 20px;
}

.menu-toggle-icon span {
    height: 1.5px;
    background: var(--color-black);
    transition: all var(--transition-fast);
}

.menu-toggle-icon span:nth-child(2) {
    width: 70%;
}

.menu-toggle.active .menu-toggle-icon span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

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

.menu-toggle.active .menu-toggle-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* ==========================================================================
   Mobile Navigation
   ========================================================================== */

.mobile-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-cream);
    transform: translateY(-100%);
    opacity: 0;
    transition: all var(--transition-smooth);
    overflow-y: auto;
    z-index: 999;
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-inner {
    padding: 1.5rem;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--color-black);
    text-decoration: none;
}

.mobile-nav-link .arrow {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    color: var(--color-gray-light);
    transition: transform var(--transition-fast);
}

.mobile-nav-item.expanded .mobile-nav-link .arrow {
    transform: rotate(180deg);
    color: var(--color-red);
}

/* Mobile Submenu */
.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-smooth);
}

.mobile-nav-item.expanded .mobile-submenu {
    max-height: 800px;
}

.mobile-submenu-inner {
    padding: 0.5rem 0 1.5rem;
}

.mobile-decade-group {
    margin-bottom: 1rem;
}

.mobile-decade-label {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    color: var(--color-gray-light);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
    display: block;
}

.mobile-decade-years {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.mobile-year-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 0.9rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-black);
    text-decoration: none;
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 3px;
}

.mobile-year-btn:active {
    background: var(--color-black);
    color: var(--color-white);
}

.mobile-year-btn.current {
    background: var(--color-black);
    color: var(--color-white);
}

/* Mobile Quick Links */
.mobile-quick-links {
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.mobile-quick-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--color-gray);
    text-decoration: none;
}

.mobile-quick-link:active {
    color: var(--color-red);
}

/* ==========================================================================
   Site Main - Account for fixed header
   ========================================================================== */

.site-main {
    padding-top: var(--header-height);
}

/* Hero component should overlap header */
.site-main:has(.component-hero) {
    padding-top: 0;
}

.component-hero {
    padding-top: var(--header-height);
}

/* Archive hero - no extra padding needed */
.site-main:has(.archive-hero) {
    padding-top: 0;
}

.archive-hero {
    padding-top: calc(var(--header-height) + 1.5rem);
}

/* ==========================================================================
   Site Footer
   ========================================================================== */

.site-footer {
    background: var(--color-black);
    color: var(--color-white);
    padding-top: 0;
}

/* Footer Top - Red Accent Bar */
.footer-accent {
    height: 3px;
    background: linear-gradient(90deg, var(--color-red), var(--color-red-dark, #9a1830));
}

/* Footer Main Content */
.footer-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 1.5rem 2rem;
}

@media (min-width: 768px) {
    .footer-main {
        padding: 4rem 2rem 3rem;
    }
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 3rem;
    }
}

/* Footer Brand Section */
.footer-brand {
    max-width: 320px;
}

.footer-logo {
    margin-bottom: 1.25rem;
}

.footer-logo-main {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-white);
    line-height: 1.3;
    margin: 0 0 0.25rem 0;
}

.footer-logo-sub {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--color-red);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.footer-description {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--color-gray-light);
    line-height: 1.7;
    margin: 0 0 1.5rem 0;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: var(--color-white);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--color-red);
    transform: translateY(-2px);
}

.social-link svg {
    width: 16px;
    height: 16px;
}

/* Footer Navigation Columns */
.footer-nav-section {
    
}

.footer-nav-title {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--color-gray-light);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin: 0 0 1rem 0;
}

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

.footer-nav-list li {
    margin-bottom: 0.5rem;
}

.footer-nav-list a {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-nav-list a:hover {
    color: var(--color-red);
}

/* Years in footer - smaller grid */
.footer-years-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
}

.footer-year-link {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    padding: 0.25rem 0;
    transition: color var(--transition-fast);
}

.footer-year-link:hover {
    color: var(--color-red);
}

.footer-year-link.current {
    color: var(--color-red);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        padding: 1.5rem 2rem;
    }
}

.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-copyright {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    color: var(--color-gray-light);
    margin: 0;
}

.footer-copyright a {
    color: var(--color-red);
    text-decoration: none;
}

.footer-copyright a:hover {
    text-decoration: underline;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--color-gray-light);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--color-white);
}

/* Çatlak Zemin Logo */
.footer-catlakzemin {
    display: inline-flex;
    align-items: center;
    opacity: 0.6;
    transition: opacity var(--transition-fast);
}

.footer-catlakzemin:hover, .footer-catlakzemin {
    opacity: 1;
}

.catlakzemin-logo {
    height: 80px;
    width: auto;
    opacity: 1;
    
}

/* ==========================================================================
   Back to Top Button
   ========================================================================== */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-black);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-red);
    border-color: var(--color-red);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Hide on mobile */
.hide-mobile {
    display: none;
}

@media (min-width: 640px) {
    .hide-mobile {
        display: block;
    }
}

/* Hide on desktop */
.hide-desktop {
    display: block;
}

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

/* ==========================================================================
   Press Archive Page - Basın Açıklamaları
   ========================================================================== */

.press-archive-page {
    background-color: #f5f5f5;
    min-height: 100vh;
}

/* Page Header */
.press-page-header {
    background: var(--color-white);
    padding: 3rem 2rem 2rem;
    border-bottom: 1px solid #e5e5e5;
}

.press-header-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.press-page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-black);
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.press-page-header p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-gray);
    margin: 0 0 1.5rem;
    line-height: 1.5;
}

/* Search Box */
.press-search {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.press-search input {
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 1rem 1.25rem 1rem 3rem;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    outline: none;
    width: 100%;
    transition: var(--transition-base);
    background: var(--color-white);
}

.press-search input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(123, 45, 142, 0.08);
}

.press-search input::placeholder {
    color: var(--color-gray-light);
}

.press-search svg {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    stroke: var(--color-gray-light);
}

/* Filter Bar — sabit header dışında sticky kullanılmıyor */
.press-filter-bar {
    background: var(--color-white);
    padding: 1.25rem 2rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.press-filter-inner {
    max-width: min(1360px, calc(100vw - 3rem));
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: flex-start;
}

.press-filter-bar .filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
    flex: 1 1 100%;
}

.press-year-select {
    width: 200px;
    max-width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--theme-border, #d8dcdf);
    border-radius: 4px;
    background: var(--surface, #f7f8f8);
    color: var(--color-black);
    font: inherit;
    font-size: 0.9rem;
    cursor: pointer;
}
.press-year-select:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.press-filter-bar .filter-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--color-gray-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.press-filter-bar .filter-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

@media (min-width: 769px) {
    .press-filter-bar .filter-checkboxes {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.2rem;
        scrollbar-width: thin;
    }
}

/* Checkbox Buttons */
.press-filter-bar .checkbox-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-gray);
    background: #f5f5f5;
    border: none;
    padding: 0.45rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-base);
    user-select: none;
}

@media (min-width: 769px) {
    .press-filter-bar .checkbox-btn {
        flex: 0 0 auto;
    }
}

.press-filter-bar .checkbox-btn:hover {
    background: rgba(123, 45, 142, 0.08);
    color: var(--color-primary);
}

.press-filter-bar .checkbox-btn.checked {
    background: var(--color-primary);
    color: var(--color-white);
}

.press-filter-bar .check-icon {
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.press-filter-bar .checkbox-btn.checked .check-icon {
    background: var(--color-white);
    border-color: var(--color-white);
}

.press-filter-bar .check-icon svg {
    width: 10px;
    height: 10px;
    stroke: var(--color-primary);
    opacity: 0;
    transform: scale(0.5);
    transition: var(--transition-base);
}

.press-filter-bar .checkbox-btn.checked .check-icon svg {
    opacity: 1;
    transform: scale(1);
}

/* Active Filters */
.press-filter-bar .active-filters {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e5e5e5;
    margin-top: 0.5rem;
}

.press-filter-bar .active-filters.hidden {
    display: none;
}

.press-filter-bar .active-filters-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--color-gray-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.press-filter-bar .active-filter-tag {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--color-primary-dark);
    background: rgba(123, 45, 142, 0.08);
    padding: 0.35rem 0.7rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.press-filter-bar .active-filter-tag button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    opacity: 0.6;
    transition: var(--transition-base);
}

.press-filter-bar .active-filter-tag button:hover {
    opacity: 1;
}

.press-filter-bar .active-filter-tag svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
}

.press-filter-bar .clear-all-filters {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-gray);
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    margin-left: auto;
}

.press-filter-bar .clear-all-filters:hover {
    color: var(--color-primary);
}

/* Main Content */
.press-archive-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 2rem 6rem;
}

.press-results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.press-results-info .results-count {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-gray);
}

.press-results-info .results-count strong {
    color: var(--color-black);
}

.press-results-info .sort-select {
    font-family: var(--font-body);
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: var(--color-white);
    cursor: pointer;
}

/* Year Sections */
.press-year-section {
    margin-bottom: 3rem;
}

.press-year-section .year-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.75rem 0;
}

.press-year-section .year-badge {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    background: var(--color-white);
    padding: 0.4rem 1rem;
    border-radius: 10px;
    border: 2px solid var(--color-primary);
}

.press-year-section .year-count {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-gray-light);
    letter-spacing: 0.05em;
}

.press-year-section .year-line {
    flex: 1;
    height: 1px;
    background: #e5e5e5;
}

/* Press Cards */
.press-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.press-card {
    background: #fdfdfd;
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: var(--transition-base);
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
}

.press-card:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

.press-card-content {
    min-width: 0;
}

.press-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
}

.press-card .meta-tag {
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.55rem;
    border-radius: 12px;
}

.press-card .meta-tag.category {
    background: rgba(123, 45, 142, 0.08);
    color: var(--color-primary);
}

.press-card .meta-tag.language {
    background: #e8f4fd;
    color: #1976d2;
}

.press-card .meta-tag.language.kurdish {
    background: #fff3e0;
    color: #e65100;
}

.press-card .meta-tag.language.english {
    background: #e8f5e9;
    color: #2e7d32;
}

.press-card-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-black);
    margin: 0;
    line-height: 1.4;
    transition: var(--transition-base);
}

.press-card:hover .press-card-title {
    color: var(--color-primary);
}

.press-card-actions {
    display: flex;
    align-items: center;
}

.press-card .card-link {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 10px;
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-base);
}

.press-card .card-link:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translate(2px, -2px);
}

.press-card .card-link svg {
    width: 18px;
    height: 18px;
}

/* No Results */
.press-no-results {
    text-align: center;
    padding: 4rem 2rem;
    display: none;
}

.press-no-results .no-results-icon {
    width: 64px;
    height: 64px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border: 2px solid #e5e5e5;
}

.press-no-results .no-results-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--color-gray-light);
}

.press-no-results h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--color-black);
    margin: 0 0 0.5rem;
}

.press-no-results p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-gray);
    margin: 0;
}

/* Back to Top */
.press-archive-page .back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 46px;
    height: 46px;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(123, 45, 142, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 1000;
}

.press-archive-page .back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.press-archive-page .back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(123, 45, 142, 0.45);
}

.press-archive-page .back-to-top svg {
    width: 22px;
    height: 22px;
}

/* Responsive */
@media (max-width: 768px) {
    .press-page-header {
        padding: 2rem 1.25rem 1.5rem;
    }

    .press-filter-bar {
        padding: 1rem 1.25rem;
    }

    .press-filter-inner {
        gap: 1rem;
    }

    .press-filter-bar .filter-checkboxes {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }

    .press-filter-bar .checkbox-btn {
        flex-shrink: 0;
    }

    .press-archive-content {
        padding: 1.5rem 1.25rem 4rem;
    }

    .press-year-section .year-header {
        top: 130px;
    }

    .press-card {
        padding: 1rem 1.25rem;
    }

    .press-results-info {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
}

/* ==========================================================================
   Özetler — kartlar, içindekiler, daraltılmış uzun metin
   ========================================================================== */

.ozetler-page {
    background: var(--color-cream, #f0ebe3);
    min-height: 100vh;
}

.ozetler-page-header {
    padding: calc(var(--header-height) + 2rem) 1.5rem 1.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, var(--color-white) 100%);
}

.ozetler-page-header-inner {
    max-width: 52rem;
    margin: 0 auto;
}

.ozetler-page-title {
    font-family: var(--font-serif);
    font-size: clamp(1.65rem, 4vw, 2.1rem);
    font-weight: 700;
    color: var(--color-black);
    margin: 0 0 0.6rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.ozetler-page-lead {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--color-gray);
    line-height: 1.65;
    margin: 0 0 1.35rem;
    max-width: 40rem;
}

.ozetler-search-wrap {
    max-width: 22rem;
}

.ozetler-search-input {
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 0.65rem 0.9rem;
    border: 1px solid rgba(0, 0, 0, 0.09);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.85);
    color: var(--color-black);
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.ozetler-search-input:hover {
    border-color: rgba(0, 0, 0, 0.12);
    background: var(--color-white);
}

.ozetler-search-input:focus {
    border-color: rgba(0, 0, 0, 0.18);
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
}

.ozetler-page-body {
    padding: 1.75rem 1.25rem 4rem;
}

.ozetler-page-layout {
    width: 100%;
    max-width: min(70vw, 72rem);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
}

.ozetler-toc {
    position: static;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    padding: 0.9rem 1.05rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
}

.ozetler-toc-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--color-gray-light);
    letter-spacing: 0.06em;
    text-transform: capitalize;
    margin-bottom: 0.6rem;
}

.ozetler-toc-scroll {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.ozetler-toc-link {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-black);
    text-decoration: none;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.06);
    font-variant-numeric: tabular-nums;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.ozetler-toc-link:hover {
    background: var(--color-white);
    border-color: rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.ozetler-page-inner {
    flex: 1;
    min-width: 0;
}

.ozetler-count {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--color-gray-light);
    letter-spacing: 0.05em;
    text-transform: capitalize;
    margin: 0 0 1.25rem;
}

.ozetler-list {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.ozetler-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 1.35rem 1.35rem 1.5rem;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.04);
    scroll-margin-top: calc(var(--header-height) + 12px);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.ozetler-card:hover {
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.08);
}

.ozetler-card.is-hidden {
    display: none;
}

.ozetler-card-top {
    margin-bottom: 1.1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.ozetler-card-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 1.25rem;
}

.ozetler-card-year {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3.5vw, 1.85rem);
    font-weight: 700;
    color: var(--color-black);
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}

.ozetler-card-link {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: var(--color-gray);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    padding-bottom: 1px;
}

.ozetler-card-link:hover {
    color: var(--color-black);
    border-bottom-color: var(--color-black);
}

.ozetler-card-link-arrow {
    font-size: 0.95em;
    opacity: 0.85;
}

.ozetler-meta {
    margin: 0 0 1.15rem;
    padding: 0;
    display: grid;
    gap: 0.65rem 1.25rem;
}

@media (min-width: 560px) {
    .ozetler-meta {
        grid-template-columns: minmax(6.5rem, 9.5rem) 1fr;
    }
}

.ozetler-meta-row {
    display: contents;
}

.ozetler-meta-label {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: 0.04em;
    color: var(--color-gray-light);
    margin: 0;
    padding-top: 0.15rem;
    line-height: 1.35;
}

.ozetler-meta-value {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.55;
    color: #333;
    margin: 0;
}

.ozetler-prose {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.78;
    color: #2c2c2c;
    max-width: 52rem;
}

.ozetler-prose--lead {
    font-size: 1.02rem;
    line-height: 1.72;
    font-weight: 500;
    color: #2a2826;
    margin-bottom: 1rem;
    padding: 0.95rem 1.05rem;
    background: rgba(255, 255, 255, 0.65);
    border-radius: 12px;
    border-left: 3px solid rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.ozetler-prose--lead p {
    margin: 0;
}

.ozetler-prose--full {
    margin-top: 0.25rem;
}

.ozetler-prose p {
    margin: 0 0 0.95em;
}

.ozetler-prose p:last-child {
    margin-bottom: 0;
}

.ozetler-details {
    margin-top: 0.35rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.ozetler-details-summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem 0.75rem;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-black);
    user-select: none;
}

.ozetler-details-summary::-webkit-details-marker {
    display: none;
}

.ozetler-details-summary::before {
    content: '';
    width: 0.85rem;
    height: 0.85rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    margin-right: 0.65rem;
    flex-shrink: 0;
    opacity: 0.55;
    transition: transform 0.2s ease;
    box-sizing: border-box;
}

.ozetler-details[open] .ozetler-details-summary::before {
    transform: rotate(45deg);
    margin-top: 2px;
}

.ozetler-details-hint {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--color-gray-light);
    text-transform: capitalize;
    letter-spacing: 0.04em;
}

.ozetler-details .ozetler-prose--full {
    padding: 0 1.1rem 1.15rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.ozetler-prose-empty {
    font-style: italic;
    color: var(--color-gray);
    font-size: 0.9rem;
    margin: 0;
}

.ozetler-empty {
    padding: 2rem 1.25rem;
    text-align: left;
    background: var(--color-white);
    border-radius: 12px;
    border: 1px dashed rgba(0, 0, 0, 0.12);
}

.ozetler-empty p {
    font-family: var(--font-body);
    color: var(--color-gray);
    margin: 0 0 1rem;
    line-height: 1.6;
}

.ozetler-empty-path {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--color-black);
    background: #f0f0ef;
    padding: 0.45rem 0.65rem;
    border-radius: 4px;
    word-break: break-all;
}

.ozetler-no-matches {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-gray);
    margin: 2rem 0 0;
    padding: 1rem;
    background: var(--color-white);
    border-radius: 8px;
}

.ozetler-no-matches.is-hidden {
    display: none;
}

@media (min-width: 900px) {
    .ozetler-page-layout {
        flex-direction: row;
        align-items: flex-start;
        gap: 2rem;
    }

    .ozetler-toc {
        flex: 0 0 11.5rem;
        align-self: flex-start;
        position: sticky;
        top: calc(var(--header-height, 70px) + 1.25rem);
        max-height: calc(100dvh - var(--header-height, 70px) - 2.5rem);
        display: flex;
        flex-direction: column;
    }

    .ozetler-toc-scroll {
        flex-direction: column;
        flex-wrap: nowrap;
        min-height: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .ozetler-toc-link {
        text-align: left;
    }
}

@media (min-width: 768px) {
    .ozetler-page-header {
        padding: calc(var(--header-height) + 2.5rem) 2rem 2rem;
    }

    .ozetler-page-body {
        padding: 2rem 1.75rem 5rem;
    }

    .ozetler-card {
        padding: 1.6rem 1.75rem 1.75rem;
    }
}

/* ==========================================================================
   Yıl sayfası — özet şeridi + modal (hero altı)
   ========================================================================== */

.component-year-ozet {
    margin: 0;
    padding: 0;
    background: linear-gradient(180deg, var(--color-cream, #f0ebe3) 0%, rgba(240, 235, 227, 0.65) 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.year-ozet-inner {
    width: 100%;
    max-width: min(70vw, 48rem);
    margin: 0 auto;
    padding: 1.15rem 1.25rem 1.35rem;
    box-sizing: border-box;
}

.year-ozet-trigger {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    width: 100%;
    margin: 0;
    padding: 1rem 1.15rem 1.05rem;
    text-align: left;
    font: inherit;
    cursor: pointer;
    color: var(--color-black);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 16px;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.04);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.year-ozet-trigger:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
    transform: translateY(-2px);
}

.year-ozet-trigger:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06), 0 8px 32px rgba(0, 0, 0, 0.07);
}

.year-ozet-trigger:focus:not(:focus-visible) {
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.04);
}

.year-ozet-trigger-kicker {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: capitalize;
    color: var(--color-gray-light);
}

.year-ozet-trigger-title {
    font-family: var(--font-serif);
    font-size: clamp(1.15rem, 2.8vw, 1.35rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.year-ozet-trigger-meta {
    margin: 0.4rem 0 0;
    padding: 0.65rem 0.75rem;
    width: 100%;
    box-sizing: border-box;
    display: grid;
    gap: 0.45rem 0.85rem;
    background: rgba(240, 235, 227, 0.35);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

@media (min-width: 420px) {
    .year-ozet-trigger-meta {
        grid-template-columns: minmax(6.25rem, 9rem) 1fr;
    }
}

.year-ozet-trigger-meta-row {
    display: contents;
}

.year-ozet-trigger-meta-label {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: 0.04em;
    color: var(--color-gray-light);
    margin: 0;
    padding-top: 0.1rem;
    line-height: 1.35;
}

.year-ozet-trigger-meta-value {
    font-family: var(--font-body);
    font-size: 0.82rem;
    line-height: 1.45;
    color: #444;
    margin: 0;
}

.year-ozet-trigger-preview {
    font-family: var(--font-body);
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--color-gray);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.year-ozet-trigger-action {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.25rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-gray);
}

.year-ozet-trigger:hover .year-ozet-trigger-action {
    color: var(--color-black);
}

.year-ozet-trigger-chevron {
    width: 0.77rem;
    height: 0.77rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    margin-top: -2px;
    opacity: 0.65;
    box-sizing: border-box;
}

/* Native dialog */
.year-ozet-dialog {
    width: min(70vw, calc(100vw - 2rem));
    max-width: min(70vw, 52rem);
    padding: 0;
    border: none;
    border-radius: 18px;
    background: transparent;
    box-shadow: none;
    box-sizing: border-box;
}

.year-ozet-dialog::backdrop {
    background: rgba(22, 20, 18, 0.38);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: yearOzetBackdropIn 0.28s ease;
}

@keyframes yearOzetBackdropIn {
    from {
        opacity: 0;
    }
}

.year-ozet-dialog[open] {
    animation: yearOzetPanelIn 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes yearOzetPanelIn {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(12px);
    }
}

.year-ozet-dialog-panel {
    background: var(--color-white);
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
    max-height: min(85vh, 42rem);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.year-ozet-dialog-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.2rem 0.85rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

.year-ozet-dialog-title {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: var(--color-black);
}

.year-ozet-dialog-close {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.05);
    color: var(--color-black);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease;
}

.year-ozet-dialog-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

.year-ozet-dialog-body {
    padding: 1rem 1.2rem 1.25rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.year-ozet-dialog-meta {
    margin: 0 0 1rem;
    padding: 0.75rem 0.85rem;
    background: rgba(240, 235, 227, 0.45);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: grid;
    gap: 0.55rem 1rem;
}

@media (min-width: 480px) {
    .year-ozet-dialog-meta {
        grid-template-columns: minmax(5.5rem, 8.5rem) 1fr;
    }
}

.year-ozet-dialog-meta-row {
    display: contents;
}

.year-ozet-dialog-meta dt {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: 0.04em;
    color: var(--color-gray-light);
    margin: 0;
    padding-top: 0.1rem;
}

.year-ozet-dialog-meta dd {
    font-family: var(--font-body);
    font-size: 0.88rem;
    line-height: 1.5;
    color: #333;
    margin: 0;
}

.year-ozet-dialog-prose {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.75;
    color: #2c2c2c;
}

.year-ozet-dialog-prose p {
    margin: 0 0 0.85em;
}

.year-ozet-dialog-prose p:last-child {
    margin-bottom: 0;
}

.year-ozet-dialog-foot {
    margin: 1.15rem 0 0;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    font-family: var(--font-body);
    font-size: 0.82rem;
}

.year-ozet-dialog-foot a {
    color: var(--color-gray);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.year-ozet-dialog-foot a:hover {
    color: var(--color-black);
}

@media (min-width: 768px) {
    .year-ozet-inner {
        padding: 1.25rem 1.75rem 1.5rem;
    }

    .year-ozet-trigger {
        padding: 1.15rem 1.35rem 1.1rem;
    }
}


@media (max-width: 767px) {
    .component-year-ozet {
        background: var(--color-cream, #f0ebe3);
    }

    .year-ozet-inner {
        max-width: min(82vw, 21rem);
        padding: 0.75rem 0 0.85rem;
    }

    .year-ozet-trigger {
        gap: 0.25rem;
        padding: 0.85rem 0.95rem 0.9rem;
        border-radius: 14px;
    }

    .year-ozet-trigger-meta {
        margin-top: 0.25rem;
        padding: 0.55rem 0.65rem;
        gap: 0.3rem;
    }

    .year-ozet-trigger-meta-label {
        font-size: 0.58rem;
        line-height: 1.2;
    }

    .year-ozet-trigger-meta-value {
        font-size: 0.78rem;
        line-height: 1.35;
    }

    .year-ozet-trigger-action {
        margin-top: 0.15rem;
    }
}

/* ==========================================================================
   Year Adjacent Navigation
   ========================================================================== */

.year-adjacent-nav {
    padding: 4rem 1rem;
    background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-white) 100%);
}

.year-adjacent-nav-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 760px) {
    .year-adjacent-nav-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.year-adjacent-card {
    position: relative;
    min-height: 18rem;
    overflow: hidden;
    border-radius: 8px;
    color: var(--color-white);
    background: var(--color-black);
    text-decoration: none;
    isolation: isolate;
    box-shadow: 0 18px 52px rgba(88, 28, 42, 0.14);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.year-adjacent-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 68px rgba(88, 28, 42, 0.22);
}

.year-adjacent-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.88) contrast(1.03);
    transform: scale(1.02);
    transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.year-adjacent-card:hover img {
    transform: scale(1.08);
}

.year-adjacent-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(20, 18, 22, 0.05) 0%, rgba(20, 18, 22, 0.82) 100%);
}

.year-adjacent-card-content {
    position: relative;
    z-index: 2;
    min-height: 18rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.4rem;
}

.year-adjacent-card-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.72);
    text-transform: uppercase;
}

.year-adjacent-card-year {
    margin-top: 0.35rem;
    font-family: var(--font-serif);
    font-size: 3rem;
    line-height: 1;
}

.year-adjacent-card-title {
    margin-top: 0.45rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.86);
}

/* ==========================================================================
   Homepage Styles
   ========================================================================== */

/* Homepage Hero - Video Background */
.homepage-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.homepage-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

@media (max-width: 767px) {
    .homepage-hero {
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 9;
        background: var(--color-black);
    }

    .homepage-hero-video {
        object-fit: contain;
    }

    .homepage-hero-content {
        display: none;
    }

    .homepage-hero-scroll {
        display: none;
    }
}

.homepage-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(196, 30, 58, 0.42) 0%,
        rgba(132, 38, 58, 0.55) 42%,
        rgba(88, 28, 42, 0.68) 100%
    );
    z-index: 2;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.homepage-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--color-white);
    padding: calc(var(--header-height) + 1.5rem) clamp(1.25rem, 4vw, 3rem) 2.25rem;
    max-width: 980px;
    border-radius: 8px;
    background: rgba(18, 16, 20, 0.28);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 1;
    visibility: visible;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

@media (min-width: 768px) {
    .homepage-hero-content {
        width: min(760px, calc(100% - 4rem));
        max-width: 760px;
        padding: 1.5rem 2rem 1.75rem;
        transform: translateY(clamp(4rem, 11vh, 7rem));
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
    }

    .homepage-hero .homepage-hero-location {
        font-size: clamp(1.25rem, 2vw, 1.8rem);
    }

    .homepage-hero .homepage-hero-title {
        font-size: clamp(2.5rem, 4vw, 3.5rem);
        margin-bottom: 0.9rem;
    }
}

.homepage-hero.is-ending .homepage-hero-overlay,
.homepage-hero.is-ending .homepage-hero-content {
    opacity: 0;
    visibility: hidden;
}

.homepage-hero-location {
    font-family: var(--font-serif);
    font-size: clamp(1.45rem, 4.2vw, 3.8rem);
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
    color: rgba(255, 255, 255, 0.96);
    line-height: 1;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 16px 40px rgba(0, 0, 0, 0.36);
    opacity: 0;
    animation: fadeInUp 0.8s 0.2s ease forwards;
}

.homepage-hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 7.2vw, 6.1rem);
    font-weight: 700;
    line-height: 1.03;
    margin: 0 0 1.35rem 0;
    letter-spacing: 0;
    text-shadow: 0 14px 36px rgba(0, 0, 0, 0.34);
    opacity: 0;
    animation: fadeInUp 0.8s 0.4s ease forwards;
}

.homepage-hero-title span {
    color: var(--color-primary-light);
    display: block;
}

.homepage-hero-subtitle {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 1.5rem 0;
    line-height: 1.5;
    opacity: 0;
    animation: fadeInUp 0.8s 0.6s ease forwards;
}

.homepage-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    opacity: 0;
    animation: fadeInUp 0.8s 0.8s ease forwards;
}

.homepage-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-white);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 100px;
    transition: all var(--transition-fast);
}

.homepage-hero-cta:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.homepage-hero-cta-primary {
    background: var(--color-white);
    color: var(--color-red);
    border-color: var(--color-white);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
}

.homepage-hero-cta-primary:hover {
    background: var(--color-red);
    border-color: var(--color-red);
    color: var(--color-white);
}

.homepage-hero-cta-secondary {
    background: rgba(0, 0, 0, 0.18);
}

.homepage-hero-cta svg {
    animation: bounce 2s infinite;
}

.homepage-hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin: 1.5rem auto 0;
    max-width: 760px;
    opacity: 0;
    animation: fadeInUp 0.8s 1.05s ease forwards;
}

.homepage-hero-stat {
    min-width: 7.25rem;
    padding: 0.7rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    text-align: center;
}

.homepage-hero-stat-value {
    display: block;
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 2.5vw, 1.55rem);
    font-weight: 700;
    line-height: 1;
    color: var(--color-white);
}

.homepage-hero-stat-label {
    display: block;
    margin-top: 0.35rem;
    font-family: var(--font-mono);
    font-size: 0.58rem;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.78);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (max-width: 640px) {
    .homepage-hero-stats {
        gap: 0.45rem;
    }

    .homepage-hero-stat {
        min-width: calc(50% - 0.3rem);
        padding: 0.62rem 0.55rem;
    }
}

.homepage-quick-archive {
    position: relative;
    z-index: 5;
    margin-top: -3.5rem;
    padding: 0 1rem 1.5rem;
}

.homepage-quick-archive-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    padding: 0.75rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 20px 60px rgba(94, 24, 42, 0.18);
    backdrop-filter: blur(14px);
}

@media (min-width: 760px) {
    .homepage-quick-archive-inner {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.homepage-quick-archive-link {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 6.5rem;
    padding: 1rem;
    border-radius: 10px;
    background: var(--color-cream);
    color: var(--color-black);
    text-decoration: none;
    transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.homepage-quick-archive-link:hover {
    background: var(--color-black);
    color: var(--color-white);
    transform: translateY(-3px);
}

.homepage-quick-archive-link--accent {
    background: var(--color-red);
    color: var(--color-white);
}

.homepage-quick-archive-index {
    font-family: var(--font-serif);
    font-size: clamp(1.35rem, 4vw, 2.15rem);
    font-weight: 700;
    line-height: 1;
}

.homepage-quick-archive-label {
    margin-top: 0.7rem;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.35;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(4px); }
    60% { transform: translateY(2px); }
}

/* Scroll Indicator */
.homepage-hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: fadeIn 1s 1.2s ease forwards;
}

.homepage-hero-scroll span {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.homepage-hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.01% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Homepage Sections */
.homepage-section {
    padding: 4rem 1rem;
}

@media (min-width: 768px) {
    .homepage-section {
        padding: 6rem 2rem;
    }
}

.homepage-section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.homepage-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.homepage-section-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--color-red);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.75rem;
}

.homepage-section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-black);
    margin: 0;
    letter-spacing: -0.02em;
}

.homepage-section-kicker {
    max-width: 38rem;
    margin: 0.75rem auto 0;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--color-gray);
}

.homepage-section-footer {
    text-align: center;
    margin-top: 2.5rem;
}

.homepage-section-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-red);
    text-decoration: none;
    padding: 0.6rem 1.25rem;
    background: rgba(196, 30, 58, 0.08);
    border-radius: 100px;
    transition: all var(--transition-fast);
}

.homepage-section-link:hover {
    background: var(--color-red);
    color: var(--color-white);
    transform: translateX(4px);
}

/* About Section */
.homepage-section-about {
    background: var(--color-white);
    padding-top: 5rem;
}

.homepage-about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .homepage-about-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 4rem;
    }
}

.homepage-about-content .homepage-section-label,
.homepage-about-content .homepage-section-title {
    text-align: left;
}

.homepage-about-content .homepage-section-title {
    margin-bottom: 1.5rem;
}

.homepage-about-text {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-gray);
    line-height: 1.8;
}

.homepage-about-text p {
    margin: 0 0 1rem;
}

.homepage-about-text p:last-child {
    margin-bottom: 0;
}

.homepage-about-collage {
    position: relative;
    min-height: 430px;
}

.homepage-about-collage-item {
    position: absolute;
    margin: 0;
    overflow: hidden;
    border-radius: 10px;
    background: var(--color-cream);
    box-shadow: 0 22px 56px rgba(0, 0, 0, 0.16);
}

.homepage-about-collage-item-1 {
    inset: 0 17% 16% 0;
    z-index: 2;
}

.homepage-about-collage-item-2 {
    right: 0;
    top: 8%;
    width: 43%;
    height: 44%;
    z-index: 3;
    border: 6px solid var(--color-white);
}

.homepage-about-collage-item-3 {
    right: 8%;
    bottom: 0;
    width: 54%;
    height: 38%;
    z-index: 4;
    border: 6px solid var(--color-white);
}

.homepage-about-collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.homepage-about-collage-note {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 5;
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    padding: 0.65rem 0.8rem;
    border-radius: 999px;
    background: var(--color-red);
    color: var(--color-white);
    box-shadow: 0 12px 28px rgba(104, 20, 36, 0.28);
    font-family: var(--font-mono);
    font-size: 0.64rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.homepage-about-collage-note strong {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    line-height: 1;
    letter-spacing: 0;
}

@media (max-width: 767px) {
    .homepage-about-collage {
        min-height: 330px;
    }
}

.homepage-memory-pick {
    padding: 5rem 1rem;
    background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-white) 100%);
    overflow: hidden;
}

.homepage-memory-pick-inner {
    position: relative;
    max-width: 1120px;
    min-height: 680px;
    margin: 0 auto;
    overflow: hidden;
}

.homepage-memory-pick-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    align-items: stretch;
    opacity: 0;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.72s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.48s ease, visibility 0.48s ease;
}

.homepage-memory-pick-slide.is-active {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
    z-index: 2;
}

.homepage-memory-pick-slide.is-exiting {
    opacity: 0;
    transform: translateX(-18%);
    visibility: visible;
    z-index: 1;
}

.homepage-memory-pick-media {
    position: relative;
    min-height: 320px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--color-cream);
    box-shadow: 0 24px 70px rgba(88, 28, 42, 0.14);
    isolation: isolate;
}

.homepage-memory-pick-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.08), transparent 42%, rgba(26, 26, 26, 0.18));
    opacity: 0.9;
    pointer-events: none;
}

.homepage-memory-pick-media img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    transform: scale(1.018);
    animation: homepageMemoryDrift 9s ease-in-out infinite alternate;
}

.homepage-memory-pick-content {
    display: flex;
    min-height: 320px;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem;
    border: 1px solid rgba(196, 30, 58, 0.16);
    border-radius: 14px;
    background: var(--color-cream);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.homepage-memory-pick-title {
    display: grid;
    gap: 0.35rem;
    margin: 0;
    max-width: 18ch;
    color: var(--color-black);
}

.homepage-memory-pick-year {
    display: block;
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 700;
    line-height: 0.88;
}

.homepage-memory-pick-name {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.08;
}

.homepage-memory-pick-meta {
    display: grid;
    gap: 0.65rem;
    margin: 1.25rem 0 0;
}

.homepage-memory-pick-meta div {
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr);
    gap: 0.75rem;
    align-items: baseline;
}

.homepage-memory-pick-meta dt {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-red);
    text-transform: uppercase;
}

.homepage-memory-pick-meta dd {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.35;
    color: var(--color-black);
}

.homepage-memory-pick-credit {
    margin: 1rem 0 0;
    max-width: 34rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--color-gray);
}

.homepage-memory-pick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.homepage-memory-pick-links a {
    display: inline-flex;
    align-items: center;
    min-height: 2.55rem;
    padding: 0.62rem 0.9rem;
    border: 1px solid rgba(196, 30, 58, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.68);
    color: var(--color-red);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.homepage-memory-pick-links a:hover {
    transform: translateY(-2px);
    border-color: var(--color-red);
    background: var(--color-red);
    color: var(--color-white);
}

@media (min-width: 860px) {
    .homepage-memory-pick {
        padding: 6rem 2rem;
    }

    .homepage-memory-pick-inner {
        min-height: 520px;
    }

    .homepage-memory-pick-slide {
        grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
        gap: 1.5rem;
    }

    .homepage-memory-pick-media,
    .homepage-memory-pick-media img,
    .homepage-memory-pick-content {
        min-height: 520px;
    }

    .homepage-memory-pick-content {
        padding: 2.25rem;
    }

    .homepage-memory-pick-year {
        font-size: 6.8rem;
    }

    .homepage-memory-pick-name {
        font-size: 2.2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .homepage-memory-pick-slide,
    .homepage-memory-pick-media img {
        animation: none;
        transition: none;
        transform: none;
    }
}

@keyframes homepageMemoryDrift {
    from {
        transform: scale(1.018) translate3d(-0.35rem, 0, 0);
    }

    to {
        transform: scale(1.055) translate3d(0.35rem, -0.25rem, 0);
    }
}

/* Archive Cards Grid */
.homepage-section-years.homepage-section-archive-gates {
    background:
        radial-gradient(circle at 12% 16%, rgba(196, 30, 58, 0.08), transparent 24rem),
        linear-gradient(180deg, var(--color-white) 0%, var(--color-cream) 100%);
}

.homepage-section-archive-gates .homepage-section-inner {
    max-width: 1180px;
}

.homepage-section-archive-gates .homepage-years-timeline {
    margin-bottom: 3rem;
}

.homepage-archive-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 680px) {
    .homepage-archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1060px) {
    .homepage-archive-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.homepage-archive-card {
    position: relative;
    min-height: 20rem;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    background: var(--color-black);
    color: var(--color-white);
    box-shadow: 0 16px 46px rgba(88, 28, 42, 0.13);
    isolation: isolate;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.homepage-archive-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 64px rgba(88, 28, 42, 0.2);
}

.homepage-archive-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(20, 18, 22, 0.05) 0%, rgba(20, 18, 22, 0.34) 42%, rgba(20, 18, 22, 0.9) 100%);
    pointer-events: none;
}

.homepage-archive-card::after {
    content: '';
    position: absolute;
    inset: 0.65rem;
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    pointer-events: none;
}

.homepage-archive-card-image {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: var(--color-black);
}

.homepage-archive-card-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.86) contrast(1.02);
    transform: scale(1.02);
    transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1), filter var(--transition-base);
}

.homepage-archive-card-image img:not(:first-child) {
    opacity: 0;
}

.homepage-archive-card-image img.is-active {
    opacity: 1;
}

.homepage-archive-card:hover .homepage-archive-card-image img {
    transform: scale(1.08);
    filter: saturate(1) contrast(1.04);
}

.homepage-archive-card-icon {
    position: absolute;
    top: 1.05rem;
    right: 1.05rem;
    z-index: 4;
    width: 2.55rem;
    height: 2.55rem;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    backdrop-filter: blur(10px);
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.homepage-archive-card:hover .homepage-archive-card-icon {
    background: var(--color-red);
    transform: rotate(-4deg) scale(1.04);
}

.homepage-archive-card-icon svg {
    width: 1.1rem;
    height: 1.1rem;
    color: currentColor;
}

.homepage-archive-card-body {
    position: relative;
    z-index: 4;
    min-height: 20rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.2rem;
}

.homepage-archive-card-title {
    max-width: 10ch;
    margin: 0 0 0.6rem;
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 0.98;
    color: var(--color-white);
}

.homepage-archive-card-desc {
    max-width: 24rem;
    margin: 0;
    font-family: var(--font-sans);
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.45;
}

@media (max-width: 679px) {
    .homepage-archive-card,
    .homepage-archive-card-body {
        min-height: 18rem;
    }
}

/* Photos Grid Section */
.homepage-section-photos {
    padding: 4rem 0 0;
    background: var(--color-cream);
    overflow: hidden;
}

.homepage-section-photos .homepage-section-inner {
    max-width: none;
    width: 100%;
    margin: 0;
}

.homepage-section-photos .homepage-section-header {
    max-width: 64rem;
    margin: 0 auto 2.5rem;
    padding: 0 1rem;
}

.homepage-photos-grid {
    width: 100%;
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, minmax(11rem, 28vw));
    grid-auto-columns: minmax(42vw, 17rem);
    gap: 3px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    background: var(--color-white);
    scrollbar-width: thin;
}

.homepage-photos-grid::-webkit-scrollbar {
    height: 8px;
}

.homepage-photos-grid::-webkit-scrollbar-thumb {
    background: rgba(196, 30, 58, 0.32);
    border-radius: 999px;
}

.homepage-photo-item {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border-radius: 0;
    background: var(--color-black);
    cursor: pointer;
    display: block;
    box-shadow: none;
    scroll-snap-align: start;
}

.homepage-photo-item-featured,
.homepage-photo-item:nth-child(9n+1),
.homepage-photo-item:nth-child(9n+6) {
    grid-row: span 2;
    grid-column: span 2;
}

@media (min-width: 680px) {
    .homepage-photos-grid {
        grid-template-rows: repeat(3, minmax(10rem, 16vw));
        grid-auto-columns: minmax(18rem, 23vw);
    }

    .homepage-photo-item:nth-child(9n+4),
    .homepage-photo-item:nth-child(9n+8) {
        grid-column: span 2;
    }
}

@media (min-width: 1120px) {
    .homepage-photos-grid {
        grid-template-rows: repeat(3, minmax(11rem, 14vw));
        grid-auto-columns: minmax(18rem, 20vw);
    }
}

.homepage-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.88) contrast(1.02);
    transform: scale(1.01);
    transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1), filter 300ms ease, opacity 300ms ease;
}

.homepage-photo-item:hover img {
    transform: scale(1.07);
    filter: saturate(1) contrast(1.04);
}

.homepage-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 18, 22, 0.02) 0%, rgba(20, 18, 22, 0.42) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.homepage-photo-overlay svg {
    color: white;
    width: 2rem;
    height: 2rem;
}

.homepage-photo-item:hover .homepage-photo-overlay {
    opacity: 1;
}

.homepage-section-photos .homepage-section-footer {
    margin: 0;
    padding: 1.35rem 1rem 4rem;
    background: var(--color-cream);
}

@media (max-width: 679px) {
    .homepage-section-photos {
        padding-top: 3rem;
    }

    .homepage-section-photos .homepage-section-header {
        margin-bottom: 1.6rem;
    }
}

/* Video carousel section */
.homepage-section-video {
    background: var(--color-cream);
    color: var(--color-black);
    overflow: hidden;
}

.homepage-section-video .homepage-section-label {
    color: var(--color-red);
}

.homepage-section-video .homepage-section-title {
    color: var(--color-black);
}

.homepage-video-carousel {
    margin-top: 0.5rem;
    position: relative;
}

.homepage-video-carousel::before {
    content: none;
}

.homepage-video-carousel-shell {
    position: relative;
    padding: 0;
    border-radius: 8px;
    background: transparent;
    box-shadow: 0 24px 64px rgba(88, 28, 42, 0.18);
    isolation: isolate;
}

.homepage-video-carousel-shell::before,
.homepage-video-carousel-shell::after {
    content: none;
}

.homepage-video-carousel-viewport {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    border-radius: 8px;
    border: 0;
    box-shadow: none;
    background: #171217;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.homepage-video-carousel-viewport::-webkit-scrollbar {
    display: none;
}

.homepage-video-carousel-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    margin: 0;
    min-width: 0;
    position: relative;
}

.homepage-carousel-slide-inner {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: #171217;
}

.homepage-carousel-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.homepage-video-carousel-slide.is-previewing .homepage-carousel-video,
.homepage-video-carousel-slide.is-active:hover .homepage-carousel-video {
    transform: scale(1.035);
}

.homepage-video-carousel-slide.is-previewing .homepage-carousel-video {
    filter: saturate(1.08) contrast(1.04);
}

.homepage-carousel-thumb-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.45s ease;
}

.homepage-carousel-thumb-canvas.is-loaded {
    opacity: 0;
}

.homepage-carousel-thumb-canvas.is-hidden {
    display: none;
}

.homepage-video-carousel-slide.is-preview-ready .homepage-carousel-thumb-canvas,
.homepage-video-carousel-slide.is-previewing .homepage-carousel-thumb-canvas {
    opacity: 0;
}

.homepage-carousel-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(180deg, rgba(20, 18, 22, 0.04) 0%, rgba(20, 18, 22, 0.28) 100%),
        rgba(132, 38, 58, 0.12);
    transition: opacity var(--transition-base);
    pointer-events: none;
}

.homepage-video-carousel-slide:not(.is-active) .homepage-carousel-overlay {
    opacity: 0;
    visibility: hidden;
}

.homepage-carousel-slide-inner:has(.homepage-carousel-video:not([paused])) .homepage-carousel-overlay {
    opacity: 0;
    pointer-events: none;
}

.homepage-carousel-play {
    pointer-events: auto;
    width: 88px;
    height: 88px;
    border: none;
    border-radius: 50%;
    background: var(--color-white);
    color: var(--color-red);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 36px rgba(122, 38, 56, 0.28);
    transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast), opacity var(--transition-fast);
}

.homepage-carousel-play:hover {
    transform: scale(1.06);
    background: var(--color-red);
    color: var(--color-white);
}

.homepage-carousel-play svg {
    margin-left: 5px;
}

.homepage-video-carousel-slide.is-previewing .homepage-carousel-play {
    opacity: 0;
    transform: scale(0.92);
}

.homepage-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-red);
    box-shadow: 0 4px 18px rgba(122, 38, 56, 0.18);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.homepage-carousel-arrow:hover {
    background: var(--color-red);
    color: var(--color-white);
    transform: translateY(-50%) scale(1.05);
}

.homepage-carousel-prev {
    left: 0.65rem;
}

.homepage-carousel-next {
    right: 0.65rem;
}

@media (max-width: 640px) {
    .homepage-carousel-arrow {
        width: 38px;
        height: 38px;
    }

    .homepage-carousel-prev {
        left: 0.35rem;
    }

    .homepage-carousel-next {
        right: 0.35rem;
    }

    .homepage-carousel-play {
        width: 72px;
        height: 72px;
    }
}

.homepage-video-carousel-caption {
    position: absolute;
    left: clamp(1rem, 3vw, 2rem);
    right: clamp(1rem, 3vw, 2rem);
    bottom: clamp(1rem, 3vw, 2rem);
    z-index: 4;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: flex-start;
    gap: 0.5rem 0.75rem;
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.homepage-video-carousel-slide.is-user-playing .homepage-video-carousel-caption {
    opacity: 0;
    transform: translateY(0.35rem);
}

.homepage-carousel-year-badge {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-white);
    background: var(--color-red);
    padding: 0.2rem 0.55rem;
    border-radius: 100px;
}

.homepage-carousel-title-text {
    color: var(--color-white);
    font-weight: 700;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.homepage-carousel-dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 1rem;
}

.homepage-carousel-dot {
    width: 2.25rem;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 1px solid rgba(196, 30, 58, 0.2);
    border-radius: 999px;
    background: transparent;
    color: var(--color-red);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.homepage-carousel-dot:hover {
    background: rgba(196, 30, 58, 0.08);
    border-color: rgba(196, 30, 58, 0.42);
    transform: translateY(-1px);
}

.homepage-carousel-dot.is-active {
    background: var(--color-red);
    border-color: var(--color-red);
    color: var(--color-white);
}

.homepage-carousel-dot-index {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: currentColor;
}

.homepage-carousel-dot-text,
.homepage-carousel-dot-year,
.homepage-carousel-dot-title {
    display: none;
}

@media (max-width: 640px) {
    .homepage-carousel-dots {
        gap: 0.4rem;
        padding-bottom: 0;
    }

    .homepage-carousel-dot {
        width: 2.1rem;
        min-width: 2.1rem;
        height: 2.1rem;
    }
}

/* Years Timeline Section */
.homepage-section-years {
    background: 
        linear-gradient(135deg, 
            rgba(255, 99, 71, 0.03) 0%, 
            rgba(255, 165, 0, 0.02) 15%, 
            rgba(255, 255, 0, 0.02) 30%, 
            rgba(0, 255, 0, 0.02) 45%, 
            rgba(0, 191, 255, 0.02) 60%, 
            rgba(138, 43, 226, 0.03) 75%, 
            rgba(255, 105, 180, 0.02) 90%,
            rgba(255, 99, 71, 0.02) 100%
        ),
        var(--color-cream);
}

.homepage-years-timeline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.homepage-year-link {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-black);
    text-decoration: none;
    padding: 0.6rem 1.25rem;
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.homepage-year-link:hover {
    background: var(--color-red);
    color: var(--color-white);
    border-color: var(--color-red);
    transform: translateY(-2px);
}

.homepage-year-link.featured {
    background: var(--color-red);
    color: var(--color-white);
    border-color: var(--color-red);
}

.homepage-year-link.featured:hover {
    background: #a01830;
    border-color: #a01830;
}

/* Podcast Section — aligned with photo / archive rhythm (cream, serif titles, red accents) */
.homepage-section-podcast {
    background: var(--color-cream);
    color: var(--color-black);
}

.homepage-podcast-carousel {
    position: relative;
    min-height: 22rem;
}

.homepage-podcast-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(78, 39, 89, 0.12);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(61, 31, 70, 0.08);
    opacity: 0;
    pointer-events: none;
    transform: translateX(1.25rem);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.homepage-podcast-content:not(.is-active) {
    position: absolute;
    inset: 0;
}

.homepage-podcast-content.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

@media (min-width: 768px) {
    .homepage-podcast-content {
        grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
        gap: 2rem;
    }
}

.homepage-podcast-cover {
    width: min(240px, 100%);
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 14px 34px rgba(61, 31, 70, 0.18);
    justify-self: center;
}

.homepage-podcast-info {
    text-align: center;
}

@media (min-width: 768px) {
    .homepage-podcast-info {
        text-align: left;
    }
}

.homepage-podcast-meta {
    display: flex;
    justify-content: center;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
    color: var(--color-purple, #4e2759);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 800;
}

@media (min-width: 768px) {
    .homepage-podcast-meta {
        justify-content: flex-start;
    }
}

.homepage-podcast-title {
    margin: 0 0 0.85rem;
    color: var(--color-purple, #4e2759);
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2.45rem);
    line-height: 1.12;
}

.homepage-podcast-desc {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-gray);
    line-height: 1.75;
    margin: 0 0 1.5rem;
    max-width: 38rem;
}

@media (min-width: 768px) {
    .homepage-podcast-desc {
        margin-left: 0;
        margin-right: 0;
    }
}

.homepage-podcast-audio {
    width: 100%;
    margin: 0 0 1.15rem;
}

.homepage-podcast-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-red);
    text-decoration: none;
    padding: 0.6rem 1.25rem;
    background: rgba(196, 30, 58, 0.08);
    border-radius: 100px;
    transition: all var(--transition-fast);
}

.homepage-podcast-cta:hover {
    background: var(--color-red);
    color: var(--color-white);
    transform: translateX(4px);
}

.homepage-podcast-cta svg {
    flex-shrink: 0;
}

/* Homepage with visible header */
.site-main:has(.homepage-hero) {
    padding-top: 0;
}

/* Make header visible on homepage */
.site-header.homepage-header {
    background: transparent;
    border-bottom-color: transparent;
}

.site-header.homepage-header.scrolled {
    background: rgba(250, 247, 242, 0.95);
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

.site-header.homepage-header:not(.scrolled) .site-logo,
.site-header.homepage-header:not(.scrolled) .nav-link,
.site-header.homepage-header:not(.scrolled) .menu-toggle-label {
    color: var(--color-white);
}

.site-header.homepage-header:not(.scrolled) .menu-toggle-icon span {
    background: var(--color-white);
}

.site-header.homepage-header:not(.scrolled) .logo-sub {
    color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   Single Post Styles
   ========================================================================== */

.single-post-page {
    background-color: var(--color-white);
}

/* Post Header */
.single-post-header {
    background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-white) 100%);
    padding: calc(var(--header-height) + 2rem) 1.5rem 2.5rem;
    text-align: center;
}

.single-post-header-inner {
    max-width: 800px;
    margin: 0 auto;
}

/* Categories */
.single-post-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.single-post-category {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-red);
    background: rgba(196, 30, 58, 0.08);
    padding: 0.4rem 0.8rem;
    border-radius: 100px;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.single-post-category:hover {
    background: var(--color-red);
    color: var(--color-white);
}

/* Post Title */
.single-post-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--color-black);
    margin: 0 0 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Post Excerpt */
.single-post-excerpt {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    color: var(--color-gray);
    line-height: 1.7;
    margin: 0 0 1.5rem;
}

/* Post Meta */
.single-post-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--color-gray-light);
}

.single-post-date,
.single-post-reading-time {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.single-post-date svg,
.single-post-reading-time svg {
    color: var(--color-gray-light);
    opacity: 0.7;
}

.single-post-meta-divider {
    color: var(--color-gray-light);
    opacity: 0.5;
}

/* Featured Image */
.single-post-featured-image {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.single-post-featured-image-inner {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.single-post-image-caption {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-gray-light);
    text-align: center;
    margin-top: 1rem;
    padding: 0 1rem;
}

/* Post Content */
.single-post-content {
    padding: 3rem 1.5rem;
}

.single-post-content-inner {
    max-width: 720px;
    margin: 0 auto;
}

/* Content Typography */
.single-post-content-inner p {
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    color: var(--color-black);
    line-height: 1.85;
    margin: 0 0 1.5rem;
}

.single-post-content-inner h2 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-black);
    margin: 2.5rem 0 1rem;
    line-height: 1.3;
}

.single-post-content-inner h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-black);
    margin: 2rem 0 0.75rem;
    line-height: 1.3;
}

.single-post-content-inner h4 {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-black);
    margin: 1.5rem 0 0.5rem;
}

.single-post-content-inner a {
    color: var(--color-red);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--transition-fast);
}

.single-post-content-inner a:hover {
    color: var(--color-black);
}

.single-post-content-inner blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: var(--color-cream);
    border-left: 4px solid var(--color-red);
    border-radius: 0 12px 12px 0;
}

.single-post-content-inner blockquote p {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--color-black);
    margin: 0;
    line-height: 1.7;
}

.single-post-content-inner blockquote cite {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-style: normal;
    color: var(--color-gray);
    margin-top: 1rem;
}

.single-post-content-inner ul,
.single-post-content-inner ol {
    margin: 0 0 1.5rem;
    padding-left: 1.5rem;
}

.single-post-content-inner li {
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    color: var(--color-black);
    line-height: 1.85;
    margin-bottom: 0.5rem;
}

.single-post-content-inner img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5rem 0;
}

.single-post-content-inner figure {
    margin: 2rem 0;
}

.single-post-content-inner figcaption {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-gray-light);
    text-align: center;
    margin-top: 0.75rem;
}

.single-post-content-inner pre {
    background: var(--color-black);
    color: var(--color-cream);
    padding: 1.5rem;
    border-radius: 12px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.single-post-content-inner code {
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.single-post-content-inner p code {
    background: var(--color-cream);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
}

/* Post Footer */
.single-post-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 2rem 1.5rem;
}

.single-post-footer-inner {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .single-post-footer-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

/* Tags */
.single-post-tags {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.single-post-tags-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--color-gray-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.single-post-tags-label svg {
    color: var(--color-gray-light);
}

.single-post-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.single-post-tag {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-gray);
    background: var(--color-cream);
    padding: 0.4rem 0.8rem;
    border-radius: 100px;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.single-post-tag:hover {
    background: rgba(196, 30, 58, 0.08);
    color: var(--color-red);
}

/* Share Buttons */
.single-post-share {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.single-post-share-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--color-gray-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.single-post-share-buttons {
    display: flex;
    gap: 0.5rem;
}

.single-post-share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-cream);
    border: none;
    border-radius: 50%;
    color: var(--color-gray);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.single-post-share-btn:hover {
    background: var(--color-black);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* Author Box */
.single-post-author {
    background: var(--color-cream);
    padding: 2rem 1.5rem;
}

.single-post-author-inner {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.single-post-author-avatar {
    flex-shrink: 0;
}

.single-post-author-avatar img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-author-info {
    flex: 1;
}

.single-post-author-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--color-gray-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.25rem;
}

.single-post-author-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-black);
    margin: 0 0 0.5rem;
}

.single-post-author-bio {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--color-gray);
    line-height: 1.6;
    margin: 0;
}

/* Post Navigation */
.single-post-navigation {
    background: var(--color-white);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 2rem 1.5rem;
}

.single-post-navigation-inner {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .single-post-navigation-inner {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

.single-post-nav-link {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    text-decoration: none;
    padding: 1.25rem;
    background: var(--color-cream);
    border-radius: 12px;
    transition: all var(--transition-fast);
}

.single-post-nav-link:hover {
    background: rgba(196, 30, 58, 0.08);
    transform: translateY(-2px);
}

.single-post-nav-empty {
    display: none;
}

@media (min-width: 640px) {
    .single-post-nav-empty {
        display: block;
        background: transparent;
    }
}

.single-post-nav-prev {
    text-align: left;
}

.single-post-nav-next {
    text-align: right;
}

.single-post-nav-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--color-gray-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.single-post-nav-next .single-post-nav-label {
    justify-content: flex-end;
}

.single-post-nav-label svg {
    color: var(--color-gray-light);
    transition: transform var(--transition-fast);
}

.single-post-nav-link:hover .single-post-nav-label svg {
    color: var(--color-red);
}

.single-post-nav-prev:hover .single-post-nav-label svg {
    transform: translateX(-4px);
}

.single-post-nav-next:hover .single-post-nav-label svg {
    transform: translateX(4px);
}

.single-post-nav-title {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-black);
    line-height: 1.4;
    transition: color var(--transition-fast);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.single-post-nav-link:hover .single-post-nav-title {
    color: var(--color-red);
}

/* Related Posts */
.single-post-related {
    background: var(--color-cream);
    padding: 3rem 1.5rem 4rem;
}

.single-post-related-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.single-post-related-title {
    text-align: center;
    margin: 0 0 2rem;
}

.single-post-related-title-label {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-black);
    position: relative;
}

.single-post-related-title-label::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--color-red);
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

.single-post-related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .single-post-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .single-post-related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Related Post Card */
.related-post-card {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all var(--transition-base);
}

.related-post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.related-post-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--color-cream);
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.related-post-card:hover .related-post-image img {
    transform: scale(1.05);
}

.related-post-content {
    padding: 1.25rem;
}

.related-post-category {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-red);
    display: block;
    margin-bottom: 0.5rem;
}

.related-post-title {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-black);
    margin: 0 0 0.5rem;
    line-height: 1.4;
    transition: color var(--transition-fast);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-post-card:hover .related-post-title {
    color: var(--color-red);
}

.related-post-date {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-gray-light);
}

/* Single Post Responsive */
@media (min-width: 768px) {
    .single-post-header {
        padding: calc(var(--header-height) + 3rem) 2rem 3.5rem;
    }
    
    .single-post-featured-image {
        padding: 0 2rem;
    }
    
    .single-post-content {
        padding: 4rem 2rem;
    }
    
    .single-post-author-avatar img {
        width: 80px;
        height: 80px;
    }
}

@media (min-width: 1024px) {
    .single-post-header {
        padding: calc(var(--header-height) + 4rem) 2rem 4rem;
    }
    
    .single-post-featured-image-inner {
        border-radius: 20px;
    }
    
    .single-post-related {
        padding: 4rem 2rem 5rem;
    }
}

/* Copy Link Tooltip */
.single-post-copy-link {
    position: relative;
}

.single-post-copy-link.copied::after {
    content: 'Kopyalandı!';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
    white-space: nowrap;
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.3s ease;
}

/* Scroll Progress Bar */
.single-post-progress {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(0, 0, 0, 0.05);
    z-index: 999;
}

.single-post-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--color-red), #e65c78);
    transition: width 0.1s ease-out;
}

/* Archive Page for Posts */
.archive-posts-page,
.category-archive-page {
    background: var(--color-white);
}

.archive-posts-header {
    background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-white) 100%);
    padding: calc(var(--header-height) + 2rem) 1.5rem 2.5rem;
    text-align: center;
}

.archive-posts-header-inner {
    max-width: 800px;
    margin: 0 auto;
}

.archive-posts-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 700;
    color: var(--color-black);
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.archive-posts-description {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-gray);
    margin: 0;
}

.archive-posts-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
}

.archive-posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .archive-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Archive Post Card */
.archive-post-card {
    background: var(--color-cream);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: all var(--transition-base);
}

.archive-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.archive-post-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.05);
}

.archive-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

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

.archive-post-content {
    padding: 1.25rem;
}

.archive-post-category {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-red);
    display: block;
    margin-bottom: 0.5rem;
}

.archive-post-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-black);
    margin: 0 0 0.5rem;
    line-height: 1.4;
    transition: color var(--transition-fast);
}

.archive-post-card:hover .archive-post-title {
    color: var(--color-red);
}

.archive-post-excerpt {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--color-gray);
    line-height: 1.6;
    margin: 0 0 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.archive-post-meta {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-gray-light);
}

/* Pagination */
.posts-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.posts-pagination .page-numbers {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-gray);
    background: var(--color-cream);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.posts-pagination .page-numbers:hover {
    background: rgba(196, 30, 58, 0.08);
    color: var(--color-red);
}

.posts-pagination .page-numbers.current {
    background: var(--color-red);
    color: var(--color-white);
}

.posts-pagination .prev,
.posts-pagination .next {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* No Posts Message */
.no-posts-message {
    text-align: center;
    padding: 4rem 2rem;
}

.no-posts-message h2 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-black);
    margin: 0 0 0.5rem;
}

.no-posts-message p {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-gray);
    margin: 0;
}

/* ==========================================================================
   Archive Page (Category, Tag, Date, Author)
   ========================================================================== */

.archive-page {
    background: var(--color-cream);
    min-height: 100vh;
}

/* Archive Hero */
.archive-hero {
    background: var(--color-white);
    padding: calc(var(--header-height) + 3rem) 1.5rem 3rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

@media (min-width: 768px) {
    .archive-hero {
        padding: calc(var(--header-height) + 4rem) 2rem 4rem;
    }
}

.archive-hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.archive-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--color-red);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    background: rgba(196, 30, 58, 0.08);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.archive-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--color-black);
    margin: 0 0 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Year category special styling */
.archive-hero-year .archive-title {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.archive-title-year {
    font-size: clamp(3rem, 8vw, 5rem);
    color: var(--color-red);
    line-height: 1;
}

.archive-title-sub {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 500;
    color: var(--color-gray);
}

.archive-description {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: var(--color-gray);
    line-height: 1.7;
    margin: 0 0 1rem;
}

.archive-count {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-gray-light);
    margin: 0;
}

/* Archive Content */
.archive-content {
    padding: 3rem 1.5rem 5rem;
}

@media (min-width: 768px) {
    .archive-content {
        padding: 4rem 2rem 6rem;
    }
}

.archive-content-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* Archive Grid */
.archive-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .archive-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

/* Archive Card */
.archive-card {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all var(--transition-base);
}

.archive-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.archive-card-image {
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--color-cream);
}

.archive-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

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

.archive-card-body {
    padding: 1.25rem 1.5rem 1.5rem;
}

.archive-card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.archive-card-date {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-gray-light);
}

.archive-card-category {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--color-red);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    background: rgba(196, 30, 58, 0.08);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.archive-card-category:hover {
    background: var(--color-red);
    color: var(--color-white);
}

.archive-card-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 0.75rem;
}

.archive-card-title a {
    color: var(--color-black);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.archive-card:hover .archive-card-title a {
    color: var(--color-red);
}

.archive-card-excerpt {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--color-gray);
    line-height: 1.6;
    margin: 0 0 1rem;
}

.archive-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-red);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.archive-card-link:hover {
    gap: 0.5rem;
}

.archive-card-link svg {
    transition: transform var(--transition-fast);
}

.archive-card-link:hover svg {
    transform: translateX(3px);
}

/* Archive Pagination */
.archive-pagination {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.archive-pagination .pagination-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.archive-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-gray);
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.archive-pagination .page-numbers:hover {
    background: var(--color-red);
    border-color: var(--color-red);
    color: var(--color-white);
}

.archive-pagination .page-numbers.current {
    background: var(--color-black);
    border-color: var(--color-black);
    color: var(--color-white);
}

.archive-pagination .prev,
.archive-pagination .next {
    padding: 0 1rem;
}

.archive-pagination .dots {
    background: transparent;
    border-color: transparent;
}

/* Archive Empty State */
.archive-empty {
    text-align: center;
    padding: 4rem 2rem;
}

.archive-empty-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: rgba(196, 30, 58, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.archive-empty-icon svg {
    color: var(--color-red);
    opacity: 0.6;
}

.archive-empty-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-black);
    margin: 0 0 0.5rem;
}

.archive-empty-text {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-gray);
    margin: 0 0 1.5rem;
}

.archive-empty-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-white);
    background: var(--color-red);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.archive-empty-link:hover {
    background: var(--color-red-dark, #9a1830);
    transform: translateY(-2px);
}

/* ==========================================================================
   Varsayılan sayfa / 404 (dar içerik, özetler sayfasına benzer kolon)
   ========================================================================== */

.default-page-body {
    padding: 1.75rem 1.25rem 4rem;
    background: var(--color-cream);
}

.default-page-inner {
    width: 100%;
    max-width: min(70vw, 72rem);
    margin: 0 auto;
}

.default-page-prose {
    font-family: var(--font-body, var(--font-sans));
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--color-black);
    max-width: 48rem;
}

.default-page-prose > *:first-child {
    margin-top: 0;
}

.default-page-prose > *:last-child {
    margin-bottom: 0;
}

.default-page-prose p {
    margin: 0 0 1rem;
}

.default-page-prose h2,
.default-page-prose h3 {
    font-family: var(--font-serif);
    margin: 1.75rem 0 0.75rem;
    line-height: 1.25;
}

.default-page-prose ul,
.default-page-prose ol {
    margin: 0 0 1rem 1.25rem;
    padding: 0;
}

.default-page-prose a {
    color: var(--color-red);
    text-decoration-thickness: 1px;
}

.default-page-prose a:hover {
    text-decoration: underline;
}

.default-page-empty {
    font-family: var(--font-body, var(--font-sans));
    color: var(--color-gray);
    margin: 0;
}

.default-page-page-links {
    margin-top: 2rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.default-page-page-links .page-links-title {
    margin-right: 0.5rem;
    color: var(--color-gray-light);
}

.years-index-body .decades-container {
    margin-bottom: 0;
}

.years-index-inner .default-page-prose {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.error-404-inner {
    text-align: center;
}

.error-404-lead {
    margin: 0 0 1rem;
}

.error-404-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-white);
    background: var(--color-black);
    padding: 0.65rem 1.35rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.error-404-home:hover {
    background: var(--color-red);
    color: var(--color-white);
    transform: translateY(-2px);
}

.error-404-meta {
    font-family: var(--font-body, var(--font-sans));
    font-size: 0.95rem;
    margin: 0;
}

.error-404-meta a {
    color: var(--color-red);
    text-decoration: none;
}

.error-404-meta a:hover {
    text-decoration: underline;
}

.error-404-meta-sep {
    margin: 0 0.4rem;
    color: var(--color-gray-light);
}


/* Site-wide image lightbox */
.site-image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10020;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(10, 10, 10, 0.96);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

.site-image-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.site-image-lightbox__image {
    max-width: 94vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

.site-image-lightbox__close,
.site-image-lightbox__nav {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-white);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.site-image-lightbox__close:hover,
.site-image-lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.22);
}

.site-image-lightbox__close {
    top: 1rem;
    right: 1rem;
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.6rem;
    line-height: 1;
}

.site-image-lightbox__nav {
    top: 50%;
    width: 3.25rem;
    height: 3.25rem;
    transform: translateY(-50%);
    font-size: 2rem;
}

.site-image-lightbox__nav:hover {
    transform: translateY(-50%) scale(1.05);
}

.site-image-lightbox__prev {
    left: 1rem;
}

.site-image-lightbox__next {
    right: 1rem;
}

.site-image-lightbox__counter {
    position: absolute;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-white);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
}

body.site-image-lightbox-open {
    overflow: hidden;
}

@media (max-width: 640px) {
    .site-image-lightbox__nav {
        width: 2.6rem;
        height: 2.6rem;
        font-size: 1.55rem;
    }

    .site-image-lightbox__prev {
        left: 0.5rem;
    }

    .site-image-lightbox__next {
        right: 0.5rem;
    }
}


/* Refinements: mobile hero media, dense photo mosaics, mobile video captions */
.hero-image picture,
.hero-image picture img,
.hero-image--video .hero-video-poster,
.hero-image--video .hero-video-poster img {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-image picture img,
.hero-image--video .hero-video-poster img {
    object-fit: cover;
}

.homepage-photos-grid {
    grid-auto-flow: column dense;
    grid-template-rows: repeat(4, minmax(7rem, 10vw));
    grid-auto-columns: minmax(9rem, 15vw);
}

.homepage-photo-item {
    aspect-ratio: auto;
}

.homepage-photo-item-featured,
.homepage-photo-item:nth-child(13n+1),
.homepage-photo-item:nth-child(13n+8) {
    grid-row: span 3;
    grid-column: span 2;
}

.homepage-photo-item:nth-child(13n+3),
.homepage-photo-item:nth-child(13n+10) {
    grid-row: span 2;
    grid-column: span 2;
}

.homepage-photo-item:nth-child(13n+5),
.homepage-photo-item:nth-child(13n+12) {
    grid-row: span 2;
}

.homepage-photo-item:nth-child(13n+6) {
    grid-column: span 2;
}

.homepage-carousel-dot {
    width: 0.72rem;
    min-width: 0.72rem;
    height: 0.72rem;
}

.homepage-carousel-dot-index {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
}

.component-gallery .gallery-inner {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.component-gallery .gallery-header,
.component-gallery .gallery-filters,
.component-gallery .gallery-load-more {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (max-width: 899px) {
    .component-gallery .gallery-grid {
        display: grid;
        grid-auto-flow: column dense;
        grid-template-rows: repeat(3, minmax(8.5rem, 30vw));
        grid-auto-columns: minmax(36vw, 12rem);
        gap: 0;
        overflow-x: auto;
        overflow-y: hidden;
        column-count: auto;
        column-gap: 0;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        background: var(--color-white, #fff);
    }

    .component-gallery .gallery-item {
        margin: 0;
        border-radius: 0;
        min-height: 0;
        scroll-snap-align: start;
    }

    .component-gallery .gallery-item:nth-child(11n+1),
    .component-gallery .gallery-item:nth-child(11n+7) {
        grid-row: span 2;
        grid-column: span 2;
    }

    .component-gallery .gallery-item:nth-child(11n+4),
    .component-gallery .gallery-item:nth-child(11n+9) {
        grid-column: span 2;
    }

    .component-gallery .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (min-width: 900px) {
    .component-gallery .gallery-grid {
        overflow: visible;
    }

    .component-gallery .gallery-item--loop-clone {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .component-video-gallery .video-info,
    .video-archive-page .video-info {
        position: static;
        padding: 0.8rem 0.9rem 0.95rem;
        background: var(--color-white, #fff);
    }

    .component-video-gallery .video-thumbnail::before,
    .video-archive-page .video-thumbnail::before {
        opacity: 0 !important;
    }
}

/* ==========================================================================
   Tekil arşiv kaydı  (single-fgy_medya.php)
   ========================================================================== */

.fgy-kayit {
    --fgy-cizgi: rgba(26, 26, 26, 0.12);
    --fgy-sessiz: var(--color-gray);
    max-width: 1140px;
    margin: 0 auto;
    padding: calc(var(--header-height) + var(--space-lg)) var(--space-md) var(--space-2xl);
}

.fgy-iz {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--fgy-sessiz);
    margin-bottom: var(--space-lg);
}
.fgy-iz a { color: var(--color-primary); text-decoration: none; }
.fgy-iz a:hover { text-decoration: underline; }

.fgy-uyari {
    background: #fdf6e3;
    border-left: 3px solid #c98a1e;
    padding: var(--space-md);
    font-size: 0.9rem;
    margin-bottom: var(--space-lg);
}
.fgy-uyari a { color: var(--color-primary); margin-left: var(--space-sm); }

.fgy-govde {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: var(--space-xl);
    align-items: start;
}

.fgy-ortam { margin: 0; }
.fgy-ortam img,
.fgy-ortam video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 78vh;
    object-fit: contain;
    background: var(--color-black);
    border-radius: 2px;
}
.fgy-ortam audio { width: 100%; }
.fgy-belge {
    display: inline-block;
    padding: var(--space-md) var(--space-lg);
    background: var(--color-primary);
    color: var(--color-white);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.fgy-baslik {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.15rem);
    line-height: 1.2;
    text-wrap: balance;
    margin: 0 0 var(--space-md);
}

.fgy-pankart {
    margin: 0 0 var(--space-md);
    padding: var(--space-md) var(--space-lg);
    border-left: 3px solid var(--color-primary);
    background: rgba(123, 45, 142, 0.06);
    font-family: var(--font-display);
    font-size: 1.15rem;
    line-height: 1.4;
}
.fgy-pankart cite {
    display: block;
    margin-top: var(--space-sm);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-style: normal;
    color: var(--fgy-sessiz);
}

.fgy-aciklama { font-size: 1rem; line-height: 1.7; margin-bottom: var(--space-lg); }

.fgy-kunye {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 0;
    margin: 0;
    font-size: 0.9rem;
}
.fgy-kunye dt,
.fgy-kunye dd {
    padding: 0.6rem 0;
    border-top: 1px solid var(--fgy-cizgi);
    margin: 0;
}
.fgy-kunye dt {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--fgy-sessiz);
    padding-right: var(--space-lg);
}

.fgy-ocr { margin-top: var(--space-lg); font-size: 0.92rem; }
.fgy-ocr summary { cursor: pointer; font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.07em; }
.fgy-ocr > div { margin-top: var(--space-md); line-height: 1.7; }

.fgy-iliskili { margin-top: var(--space-2xl); }
.fgy-iliskili-baslik {
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin: 0 0 var(--space-sm);
}
.fgy-iliskili-not { font-size: 0.85rem; color: var(--fgy-sessiz); margin: 0 0 var(--space-md); }

.fgy-kart-izgara {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: var(--space-md);
}
.fgy-kart a {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    text-decoration: none;
    color: inherit;
}
.fgy-kart-gorsel {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: rgba(26, 26, 26, 0.06);
    border-radius: 2px;
}
.fgy-kart-gorsel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}
.fgy-kart a:hover .fgy-kart-gorsel img { transform: scale(1.04); }
.fgy-kart-bos {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-family: var(--font-display);
    font-size: 1.5rem;
    text-transform: uppercase;
    color: var(--color-gray-light);
}
.fgy-kart-tur {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--color-primary);
}
.fgy-kart-ad { font-size: 0.85rem; line-height: 1.35; }

@media (max-width: 860px) {
    .fgy-govde { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
    .fgy-ortam img, .fgy-ortam video { max-height: 60vh; }
}

@media (prefers-reduced-motion: reduce) {
    .fgy-kart-gorsel img { transition: none; }
    .fgy-kart a:hover .fgy-kart-gorsel img { transform: none; }
}

.fgy-ortam-alt {
    margin-top: var(--space-sm);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.fgy-ortam-alt a { color: var(--color-primary); text-decoration: none; }
.fgy-ortam-alt a:hover { text-decoration: underline; }

/* --- Transkript paneli --- */
.fgy-transkript {
    margin-top: var(--space-2xl);
    border-top: 1px solid var(--fgy-cizgi, rgba(26,26,26,.12));
    padding-top: var(--space-lg);
}
.fgy-tr-ust {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}
.fgy-tr-ust h2 { font-family: var(--font-display); font-size: 1.15rem; margin: 0; }
.fgy-tr-arac { display: flex; align-items: center; gap: var(--space-sm); }
.fgy-tr-ara {
    width: min(280px, 60vw);
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--fgy-cizgi, rgba(26,26,26,.2));
    border-radius: 3px;
    font: inherit;
    font-size: 0.9rem;
    background: var(--color-white);
}
.fgy-tr-ara:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 1px; }
.fgy-tr-sayac {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--color-gray);
    white-space: nowrap;
}

.fgy-tr-liste {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 32rem;
    overflow-y: auto;
    border: 1px solid var(--fgy-cizgi, rgba(26,26,26,.12));
    border-radius: 3px;
}
.fgy-tr-satir + .fgy-tr-satir { border-top: 1px solid rgba(26,26,26,.06); }
.fgy-tr-atla {
    display: grid;
    grid-template-columns: 3.4rem minmax(0, 1fr);
    gap: var(--space-md);
    width: 100%;
    padding: 0.55rem 0.8rem;
    background: none;
    border: 0;
    text-align: left;
    font: inherit;
    font-size: 0.92rem;
    line-height: 1.55;
    color: inherit;
    cursor: pointer;
}
.fgy-tr-atla:hover { background: rgba(123, 45, 142, 0.06); }
.fgy-tr-atla:focus-visible { outline: 2px solid var(--color-primary); outline-offset: -2px; }
.fgy-tr-sn {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--color-primary);
    padding-top: 0.22rem;
    font-variant-numeric: tabular-nums;
}
.fgy-tr-satir.aktif { background: rgba(123, 45, 142, 0.09); }
.fgy-tr-satir.aktif .fgy-tr-metin { font-weight: 500; }
.fgy-tr-satir.eslesme { background: rgba(201, 138, 30, 0.08); }
.fgy-tr-metin mark {
    background: #ffe9a8;
    color: inherit;
    padding: 0 0.1em;
    border-radius: 2px;
}
.fgy-tr-bos { margin: var(--space-md) 0 0; font-size: 0.9rem; color: var(--color-gray); }

@media (prefers-reduced-motion: reduce) {
    .fgy-tr-liste { scroll-behavior: auto; }
}

/* ==========================================================================
   Arşiv kapıları — çift çerçeve (kaymış iki ince çizgi) stili
   Fotoğraflı kart, arkasında zıt yönlere kaymış iki ince çerçeveyle durur;
   üzerine gelince çerçeveler biraz daha açılır.
   ========================================================================== */
.homepage-archive-grid-6 { gap: 0.5625rem 0.5rem; }

.homepage-archive-tile {
    --tile-frame: none;
    position: relative;
    isolation: isolate;
    margin: 0.225rem;
}

.homepage-archive-tile::before,
.homepage-archive-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    border: 1px solid var(--tile-frame);
    pointer-events: none;
    transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.homepage-archive-tile::before { transform: translate(-0.65rem, -0.45rem); }
.homepage-archive-tile::after  { transform: translate(0.55rem, 0.5rem); }

.homepage-archive-tile:hover::before,
.homepage-archive-tile:focus-within::before { transform: translate(-0.95rem, -0.65rem); }
.homepage-archive-tile:hover::after,
.homepage-archive-tile:focus-within::after  { transform: translate(0.85rem, 0.75rem); }

.homepage-archive-tile > .homepage-archive-card {
    position: relative;
    z-index: 1;
    display: block;
    border-radius: 4px;
    min-height: 20rem;
    box-shadow: none;
}

.homepage-archive-tile > .homepage-archive-card::after {
    border-radius: 4px;
    border-color: rgba(255, 255, 255, 0.14);
}
.homepage-archive-tile > .homepage-archive-card .homepage-archive-card-image {
    border-radius: 4px;
    overflow: hidden;
}
html[data-theme="dark"] .homepage-archive-tile > .homepage-archive-card::after {
    border-color: rgba(255, 255, 255, 0.14) !important;
}

/* Başlık: çerçeveli düğmelerdeki gibi kalın, düz sans */
.homepage-archive-tile .homepage-archive-card-title {
    max-width: none;
    font-family: var(--font-sans);
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

@media (prefers-reduced-motion: reduce) {
    .homepage-archive-tile::before, .homepage-archive-tile::after { transition: none; }
}

html[data-theme="dark"] .homepage-archive-tile { --tile-frame: none; }
