:root {
    --color-bg: #050203;
    --color-bg-secondary: #0f0509;
    --color-bg-tertiary: #1a0a11;
    --color-surface: rgba(19, 6, 10, 0.85);
    --color-text: #f6f4f5;
    --color-text-muted: #c7bcc0;
    --color-primary: #c81d3c;
    --color-primary-dark: #6c0a1a;
    --color-accent-1: #f05d5e;
    --color-border: rgba(255, 255, 255, 0.08);
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.75rem;
    --shadow-soft: 0 25px 60px rgba(0, 0, 0, 0.45);
    --container-max: 1200px;
    --space-1: 0.5rem;
    --space-2: 1rem;
    --space-3: 1.5rem;
    --space-4: 2rem;
    --space-6: 3rem;
    --space-8: 4.5rem;
    --space-10: 5.5rem;
    --c-primary: var(--color-primary);
    --c-primary-hover: #f05d5e;
    --c-primary-dark: var(--color-primary-dark);
    --c-text: var(--color-text);
    --c-text-light: var(--color-text-muted);
    --c-border: var(--color-border);
    --c-bg: var(--color-bg);
    --c-surface: var(--color-surface);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
    background: 
        radial-gradient(circle at 15% 30%, rgba(92, 10, 26, 0.15), transparent 50%),
        radial-gradient(circle at 85% 70%, rgba(240, 93, 94, 0.08), transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(200, 29, 60, 0.05), transparent 60%),
        var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(100% - 2.5rem, var(--container-max));
    margin-inline: auto;
}

.screen-shell {
    position: relative;
    min-height: 100vh;
    padding-top: 0;
}

.screen-shell:not(.landing-page) {
    padding-top: 120px;
}

/* =========================================
   Custom cursor
   ========================================= */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    z-index: 9999;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: #fff;
}

.cursor-outline {
    width: 32px;
    height: 32px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* =========================================
   Page loader
   ========================================= */

.page-loader {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 22% 18%, rgba(255, 64, 0, 0.25), transparent 45%),
        radial-gradient(circle at 78% 82%, rgba(200, 20, 40, 0.2), transparent 50%),
        rgba(12, 2, 4, 0.98);
    backdrop-filter: blur(10px);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.85s cubic-bezier(0.3, 0, 0.2, 1);
}

.page-loader.is-active {
    opacity: 1;
    pointer-events: all;
}

.page-loader__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    position: relative;
    isolation: isolate;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06), transparent 65%);
}

.page-loader__flame {
    position: relative;
    width: 96px;
    height: 96px;
    display: grid;
    place-items: center;
    filter: drop-shadow(0 0 18px rgba(255, 64, 0, 0.65)) drop-shadow(0 0 32px rgba(200, 20, 40, 0.45));
    animation: flame-orbit 2.6s infinite ease-in-out;
}

.page-loader__flame .flame {
    position: absolute;
    inset: 0;
    border-radius: 50% 50% 45% 55%;
    background: radial-gradient(circle at 30% 30%, #ffe0b5, #ff5a14 55%, #b3001b 100%);
    opacity: 0.9;
    animation: flame-flicker 1.4s infinite ease-in-out alternate;
    box-shadow:
        0 0 24px rgba(255, 90, 20, 0.65),
        0 0 58px rgba(200, 10, 30, 0.55);
}

.page-loader__flame .flame-2 {
    width: 78px;
    height: 78px;
    filter: blur(2px);
    animation-duration: 1.2s;
    animation-delay: -0.35s;
    opacity: 0.8;
    mix-blend-mode: screen;
}

.page-loader__flame .flame-3 {
    width: 64px;
    height: 64px;
    filter: blur(4px);
    animation-duration: 1.6s;
    animation-delay: -0.6s;
    opacity: 0.6;
    mix-blend-mode: screen;
}

.page-loader__flame::before,
.page-loader__flame::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 163, 0.95), rgba(255, 64, 0, 0.45));
    opacity: 0.7;
    animation: ember-float 1.8s infinite ease-in-out;
}

.page-loader__flame::after {
    width: 12px;
    height: 12px;
    animation-duration: 2.1s;
    animation-delay: -0.4s;
    inset: auto 6px 10px auto;
}

@keyframes ember-float {
    0% { transform: translate(0, 4px) scale(0.9); opacity: 0.8; }
    40% { transform: translate(-6px, -10px) scale(1.05); opacity: 1; }
    70% { transform: translate(4px, -14px) scale(0.95); opacity: 0.85; }
    100% { transform: translate(-3px, -6px) scale(0.9); opacity: 0.75; }
}

@keyframes flame-orbit {
    0% { transform: rotate(0deg) scale(1); }
    35% { transform: rotate(-6deg) scale(1.02); }
    70% { transform: rotate(8deg) scale(1.05); }
    100% { transform: rotate(0deg) scale(1); }
}

@keyframes flame-flicker {
    0% { transform: translateY(0) scale(1); opacity: 0.7; }
    40% { transform: translateY(-4px) scale(1.05); opacity: 0.9; }
    70% { transform: translateY(-6px) scale(1.08); opacity: 0.8; }
    100% { transform: translateY(-3px) scale(1.02); opacity: 0.75; }
}

/* =========================================
   Cookie banner
   ========================================= */
.cookie-banner {
    position: fixed;
    inset: auto 1.5rem 1.5rem 1.5rem;
    max-width: 460px;
    background: rgba(16, 8, 11, 0.9);
    color: #f7f5f6;
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transform: translateY(16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 1200;
}

.cookie-banner.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.cookie-banner__content {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.cookie-banner__text {
    max-width: 72%;
}

.cookie-banner__text p {
    margin: 0.25rem 0 0;
    color: rgba(255, 255, 255, 0.8);
}

.cookie-banner__actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.cookie-banner__btn {
    border: none;
    border-radius: var(--radius-md);
    padding: 0.65rem 1.1rem;
    font-weight: 700;
    color: #0b0305;
    background: #fff;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.cookie-banner__btn:hover {
    transform: translateY(-1px);
}

.cookie-banner__btn--secondary {
    background: transparent;
    color: #f7f5f6;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: none;
}

.cookie-banner__btn--secondary:hover {
    border-color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 720px) {
    .cookie-banner {
        inset: auto 1rem 1rem 1rem;
        max-width: calc(100% - 2rem);
    }

    .cookie-banner__content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-banner__text {
        max-width: 100%;
    }

    .cookie-banner__actions {
        width: 100%;
    }

    .cookie-banner__btn {
        width: 100%;
        text-align: center;
    }
}

@media (pointer: coarse) {
    .cursor-dot,
    .cursor-outline {
        display: none;
    }
}

/* =========================================
   Header + Navigation
   ========================================= */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    padding-block: 1.25rem;
    z-index: 30;
}

.site-header .header-background {
    position: absolute;
    inset: 0;
    background: rgba(5, 2, 3, 0.55);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.site-header.is-scrolled .header-background {
    opacity: 1;
}

.site-header .header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    z-index: 1;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-mark {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #2a0208, #8a0f24 45%, #f05d5e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    letter-spacing: 0.04em;
}

.brand-subtitle {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.site-nav__links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    color: inherit;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #2a0208, #f05d5e);
    bottom: -6px;
    inset-inline-start: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: #fff;
}

.nav-link:hover::after,
.nav-link.is-active::after {
    width: 100%;
}

.nav-number {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.nav-text {
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.nav-item.has-children .nav-text {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-item.has-children svg {
    width: 10px;
    height: 10px;
}

.nav-dropdown {
    position: absolute;
    inset: calc(100% + 1.25rem) auto auto 50%;
    transform: translateX(-50%) scale(0.95);
    opacity: 0;
    pointer-events: none;
    min-width: 240px;
    background: rgba(10, 10, 10, 0.9);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-soft);
    padding: 1.25rem;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav-item.has-children:hover .nav-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) scale(1);
}

.nav-dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.nav-dropdown a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

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

.lang-switcher {
    display: inline-flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.lang-btn {
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.lang-btn.active,
.lang-btn:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

.glass-button {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

.glass-button:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    border: none;
    background: none;
    cursor: pointer;
}

.menu-line {
    width: 26px;
    height: 2px;
    background: #fff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.is-active .menu-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

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

.site-nav.is-open {
    transform: translateY(0);
}

@media (max-width: 940px) {
    .site-nav {
        position: fixed;
        inset: 0;
        background: rgba(5, 2, 3, 0.98);
        flex-direction: column;
        justify-content: center;
        gap: 3rem;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        z-index: 20;
    }

    .site-nav__links {
        flex-direction: column;
        gap: 1.75rem;
    }

    .nav-link {
        font-size: 1.05rem;
    }

    .nav-link::after {
        display: none;
    }

    .nav-dropdown {
        position: static;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
    }

    .nav-dropdown ul {
        gap: 0.5rem;
    }

    .nav-actions {
        flex-direction: column;
    }

    .menu-toggle {
        display: flex;
    }
}

/* =========================================
   Breadcrumbs & Sections
   ========================================= */
.breadcrumbs {
    margin-top: 0;
    font-size: 0.7rem;
    color: var(--color-text-muted);
    padding-block: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.breadcrumbs__inner {
    width: min(100% - 2.5rem, var(--container-max));
    margin-inline: auto;
}

.breadcrumbs__list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
}

.breadcrumbs__item {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.breadcrumbs__separator {
    opacity: 0.3;
    font-size: 0.65rem;
}

.breadcrumbs__link {
    color: inherit;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.breadcrumbs__link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.breadcrumbs__current {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

.page-section {
    padding-block: var(--space-8);
}

.page-section--full {
    padding-block: 0;
}

.fullwidth-page {
    width: 100vw;
    margin-left: -50vw;
    position: relative;
    left: 50%;
    background: #050203;
}

.fullwidth-header {
    background: linear-gradient(135deg, #2a0208 0%, #8a0f24 60%, #f05d5e 100%);
    color: #fff;
    padding: var(--space-10) var(--space-6);
    position: relative;
    overflow: hidden;
}

.fullwidth-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg width=\"120\" height=\"120\" xmlns=\"http://www.w3.org/2000/svg\"><defs><pattern id=\"grid\" width=\"120\" height=\"120\" patternUnits=\"userSpaceOnUse\"><path d=\"M 120 0 L 0 0 0 120\" fill=\"none\" stroke=\"rgba(255,255,255,0.08)\" stroke-width=\"1\"/></pattern></defs><rect width=\"100%\" height=\"100%\" fill=\"url(%23grid)\"/></svg>');
    opacity: 0.35;
}

.fullwidth-header__content {
    position: relative;
    z-index: 1;
    width: min(100% - 2.5rem, 1200px);
    margin-inline: auto;
}

.fullwidth-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    margin: 0 0 1rem 0;
    line-height: 1.1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.fullwidth-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 760px;
    margin: 0;
}

.fullwidth-content {
    padding: var(--space-6) var(--space-4);
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--color-text-muted);
    background: rgba(10, 10, 10, 0.75);
}

.fullwidth-content > *:not(:last-child) {
    margin-bottom: 1.25rem;
}
.content-shell {
    background: transparent;
    border-radius: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    position: relative;
}

.content-shell h1,
.content-shell h2,
.content-shell h3,
.content-shell h4 {
    font-family: 'Playfair Display', serif;
    color: #fff;
    line-height: 1.2;
}

.content-shell h1 {
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    margin-bottom: 0.5rem;
}

.content-shell h2 {
    font-size: clamp(1.75rem, 3vw, 2.75rem);
}

.content-shell p {
    color: var(--color-text-muted);
}

.content-prose > *:not(:last-child) {
    margin-bottom: 1.25rem;
}

.content-prose ul,
.content-prose ol {
    padding-inline-start: 1.25rem;
}

.content-prose table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.content-prose table th,
.content-prose table td {
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.content-prose blockquote {
    margin: 0;
    padding: 1rem 1.5rem;
    border-left: 3px solid var(--color-primary);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
}

.page-excerpt {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-4);
}

/* Page Hero Header */
.page-hero-header {
    padding: var(--space-4) 0 var(--space-4);
    text-align: left;
    margin-bottom: var(--space-6);
    margin-top: var(--space-4);
}

.page-hero-header .container {
    position: relative;
}

.page-hero-header .container::after {
    content: "";
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, 
        rgba(200, 29, 60, 0.7) 0%,
        rgba(240, 93, 94, 0.5) 50%,
        transparent 100%
    );
    box-shadow: 
        0 0 10px rgba(200, 29, 60, 0.4),
        0 0 20px rgba(240, 93, 94, 0.2);
}

.page-hero-header .section-tag,
.page-hero-header h1,
.page-hero-header .page-excerpt {
    position: relative;
    z-index: 1;
}

.page-hero-header .section-tag {
    margin-bottom: var(--space-2);
}

.page-hero-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin: var(--space-2) 0;
    line-height: 1.1;
}

.page-hero-header .page-excerpt {
    max-width: 700px;
    margin-inline: 0;
    font-size: 1.2rem;
    margin-bottom: 0;
}

.content-divider {
    margin: var(--space-3) 0;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.title-dots {
    display: inline-flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.title-dots .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
}

.title-dots .dot.blue { background: var(--color-primary); }
.title-dots .dot.green { background: #f05d5e; }
.title-dots .dot.yellow { background: rgba(255, 255, 255, 0.65); }

/* =========================================
   Sidebar layout
   ========================================= */
.page-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 0.9fr);
    gap: var(--space-4);
    align-items: start;
}

.layout-sidebar {
    background: transparent;
    border-radius: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.sidebar-section {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0 0 var(--space-4) 0;
}

.sidebar-section:last-child {
    border-bottom: none;
}

.sidebar-title {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-3);
}

.sidebar-title i {
    display: none;
}

/* Sidebar Articles */
.sidebar-articles {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sidebar-articles li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.sidebar-articles li:last-child {
    border-bottom: none;
}

.sidebar-article {
    display: block;
    padding: 0.875rem 0;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sidebar-article:hover .sidebar-article-title {
    color: rgba(255, 255, 255, 0.9);
}

.sidebar-article-title {
    display: block;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--c-text);
    transition: color 0.2s;
    line-height: 1.4;
    margin-bottom: 0.25rem;
}

.sidebar-article-excerpt {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.5;
}

/* Sidebar Social */
.sidebar-social {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.sidebar-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-text-muted);
    transition: all 0.2s ease;
}

.sidebar-social-link:hover {
    background: rgba(200, 29, 60, 0.15);
    border-color: rgba(200, 29, 60, 0.3);
    color: rgba(240, 93, 94, 0.9);
}

/* Sidebar Contact */
.sidebar-contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.sidebar-contact-item {
    display: flex;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.sidebar-contact-item:hover {
    color: rgba(200, 29, 60, 0.9);
}

.sidebar-contact-item i {
    display: none;
}

/* Legacy sidebar styles - keeping for compatibility */
.sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sidebar-link {
    display: block;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    transition: color 0.2s ease;
}

.sidebar-link:hover {
    color: rgba(200, 29, 60, 0.9);
    border-color: transparent;
    transform: none;
}

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

/* =========================================
   Page Builder blocks
   ========================================= */
.component-page {
    padding-block: var(--space-6);
}

.component-header {
    text-align: center;
    margin-bottom: var(--space-6);
}

.component-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.component-subtitle {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-top: 0.75rem;
}

.components-area {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.component-block {
    padding: 0;
    border-radius: 0;
    border: none;
    background: transparent;
    box-shadow: none;
}

.component-block__content {
    color: var(--color-text-muted);
    line-height: 1.8;
}

.component-placeholder {
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    text-align: center;
    color: var(--color-text-muted);
}

.empty-state {
    text-align: center;
    color: var(--color-text-muted);
    padding: var(--space-3);
}

.block-heading {
    font-family: 'Playfair Display', serif;
    color: #fff;
    margin-top: 0;
}

.block-image img {
    width: 100%;
    border-radius: var(--radius-md);
}

.block-gallery {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.block-gallery--grid .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-2);
}

.block-gallery--masonry .gallery-grid {
    column-count: 3;
    column-gap: var(--space-2);
}

.block-gallery--masonry .gallery-item {
    break-inside: avoid;
}

.gallery-item img,
.block-gallery img {
    border-radius: 8px;
}

.block-team .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-3);
}

.team-member {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.team-member__photo img {
    width: 100%;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.block-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-3);
    text-align: center;
}

.stat-item {
    padding: var(--space-3);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
}

.stat-label {
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.8rem;
}

.block-image-text {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-4);
    align-items: center;
}

.block-image-text.image-text--reverse {
    direction: rtl;
}

.block-image-text.image-text--reverse > * {
    direction: ltr;
}

.image-text__image img {
    width: 100%;
    border-radius: var(--radius-md);
}

.block-text-highlight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-4);
    align-items: stretch;
}

.text-highlight__box {
    padding: var(--space-3);
    border-radius: var(--radius-md);
    color: #fff;
}

.text-highlight__box--primary {
    background: linear-gradient(135deg, #2a0208 0%, #f05d5e 100%);
}

.text-highlight__box--dark {
    background: linear-gradient(135deg, #12040a 0%, #3c101c 100%);
}

.text-highlight__box--success {
    background: linear-gradient(135deg, #0f5132 0%, #198754 100%);
}

.block-cta {
    text-align: center;
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at top left, rgba(240, 93, 94, 0.2), transparent 60%), linear-gradient(135deg, #2a0208, #8a0f24 70%);
    color: #fff;
}

.block-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-3);
}

.feature-item {
    padding: 1.5rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1.4rem;
}

.feature-content h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #fff;
}

.feature-content p {
    margin: 0;
    color: var(--color-text-muted);
}

.block-accordion .accordion-item {
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    margin-bottom: 1rem;
}

.accordion-title {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    color: #fff;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
}

.accordion-content {
    display: none;
    background: rgba(255, 255, 255, 0.01);
}

.accordion-content__inner {
    padding: 1rem 1.5rem;
    color: var(--color-text-muted);
}

.accordion-content.is-open {
    display: block;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.gallery-lightbox.show {
    display: flex;
}

.gallery-lightbox__overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 2, 3, 0.85);
    backdrop-filter: blur(8px);
}

.gallery-lightbox__content {
    position: relative;
    z-index: 1;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gallery-lightbox__image {
    max-width: 100%;
    max-height: 70vh;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.gallery-lightbox__caption {
    font-weight: 600;
    color: #fff;
}

.gallery-lightbox__description {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.gallery-lightbox__controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.gallery-lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
}

/* =========================================
   Landing template highlights
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0;
    margin-top: -85px;
    padding-top: 0px;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero::before {
    background:
        radial-gradient(circle at 20% 20%, rgba(240, 93, 94, 0.25), transparent 55%),
        radial-gradient(circle at 80% 0%, rgba(92, 10, 26, 0.45), transparent 60%);
}

.hero::after {
    background-image:
        linear-gradient(180deg, rgba(5, 2, 3, 0) 0%, rgba(5, 2, 3, 0.9) 90%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 100% 100%, 120px 120px, 120px 120px;
    opacity: 0.4;
    mix-blend-mode: screen;
}

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

.hero-badge {
    display: inline-flex;
    padding: 0.45rem 1.25rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.75rem, 7vw, 5.5rem);
    margin: var(--space-3) 0 var(--space-2);
    line-height: 1.3;
    min-height: 2.6em;
}

.typing {
    display: inline-block;
    min-width: 200px;
    text-align: left;
}

.typing::after {
    content: '|';
    display: inline-block;
    margin-left: 0.1em;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero p {
    max-width: 640px;
    margin-inline: auto;
    margin-bottom: var(--space-3);
    color: var(--color-text-muted);
    font-size: 1.2rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.85rem 1.9rem;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background: rgba(200, 29, 60, 0.85);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.btn-primary:hover {
    background: rgba(200, 29, 60, 1);
    transform: translateY(-2px);
}

.btn-ghost {
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.scroll-indicator:hover {
    color: rgba(255, 255, 255, 0.8);
}

.scroll-indicator svg {
    width: 100%;
    height: 100%;
}

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

/* Eyebrow */
.eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(240, 93, 94, 0.9);
    font-weight: 600;
    margin-bottom: var(--space-2);
}

/* About Section - Kreativní redesign */
.about-section {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(200, 29, 60, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.about-header {
    margin-bottom: var(--space-8);
    position: relative;
}

.about-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.2;
    color: #fff;
    max-width: 700px;
    font-weight: 700;
    position: relative;
    display: inline-block;
    margin-bottom: var(--space-3);
}

.about-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, rgba(200, 29, 60, 0.9) 0%, rgba(240, 93, 94, 0.3) 100%);
    border-radius: 2px;
}

.about-header .eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(200, 29, 60, 0.9);
    font-weight: 600;
    position: relative;
    padding-left: 40px;
}

.about-header .eyebrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, rgba(200, 29, 60, 0.9) 0%, rgba(240, 93, 94, 0.5) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-8);
    align-items: center;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
}

.about-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: rgba(247, 244, 245, 0.8);
    position: relative;
    padding-left: 30px;
}

.about-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 4rem;
    font-family: 'Playfair Display', serif;
    color: rgba(200, 29, 60, 0.3);
    line-height: 1;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

@media (max-width: 768px) {
    .about-stats {
        grid-template-columns: 1fr;
    }
}

.stat-item {
    padding: var(--space-4);
    position: relative;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-item:not(:last-child)::after {
    display: none;
}

@media (max-width: 768px) {
    .stat-item:not(:last-child)::after {
        right: auto;
        left: 25%;
        width: 50%;
        height: 1px;
        top: auto;
        bottom: 0;
        background: linear-gradient(90deg, transparent 0%, rgba(200, 29, 60, 0.3) 50%, transparent 100%);
    }
}

.stat-item:hover {
    background: rgba(200, 29, 60, 0.05);
    transform: translateY(-2px);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(200, 29, 60, 0.6) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(200, 29, 60, 1) 0%, rgba(240, 93, 94, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
    letter-spacing: -0.02em;
}

.stat-item:hover .stat-value {
    transform: scale(1.1);
}

.stat-label {
    font-size: 0.6rem;
    color: rgba(247, 244, 245, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    line-height: 1.4;
}

/* Services - Modernější design */
.section-alt {
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.01) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.section-header {
    margin-bottom: var(--space-8);
    position: relative;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.2;
    color: #fff;
    max-width: 700px;
    font-weight: 700;
    position: relative;
    display: inline-block;
    margin-bottom: var(--space-3);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, rgba(200, 29, 60, 0.9) 0%, rgba(240, 93, 94, 0.3) 100%);
    border-radius: 2px;
}

.section-header .eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(200, 29, 60, 0.9);
    font-weight: 600;
    position: relative;
    padding-left: 40px;
}

.section-header .eyebrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, rgba(200, 29, 60, 0.9) 0%, rgba(240, 93, 94, 0.5) 100%);
}

.card {
    background: transparent;
    border-radius: 0;
    padding: var(--space-4);
    border: none;
    border-left: 2px solid rgba(200, 29, 60, 0.3);
    min-height: auto;
    transition: all 0.3s ease;
}

.card:hover {
    border-left-color: rgba(200, 29, 60, 0.8);
    transform: translateX(4px);
}

.card h3 {
    font-size: 1.25rem;
    margin: var(--space-2) 0;
    color: #fff;
    font-weight: 600;
}

.card p {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin: 0;
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: rgba(240, 93, 94, 0.9);
    background: rgba(200, 29, 60, 0.1);
}

/* Articles Showcase - Originální design */
.section-articles {
    position: relative;
}

.section-articles::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(200, 29, 60, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.articles-showcase {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: auto auto;
    gap: var(--space-4);
}

@media (max-width: 968px) {
    .articles-showcase {
        grid-template-columns: 1fr;
    }
}

.article-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(200, 29, 60, 0.12);
    border-color: rgba(200, 29, 60, 0.2);
}

.article-card--featured {
    grid-row: 1 / 3;
}

@media (max-width: 968px) {
    .article-card--featured {
        grid-row: auto;
    }
}

.article-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.article-card--featured .article-card__link {
    min-height: 500px;
}

.article-card--small .article-card__link {
    position: relative;
    min-height: 380px;
}

.article-card__image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(92, 10, 26, 0.3) 0%, rgba(5, 2, 3, 0.8) 100%);
}

.article-card--featured .article-card__image {
    height: 100%;
    flex: 1;
}

.article-card--small .article-card__image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
}

.article-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-card__image img {
    transform: scale(1.08);
}

.article-card__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(92, 10, 26, 0.3) 0%, rgba(5, 2, 3, 0.6) 100%);
}

.article-card__image--placeholder svg {
    width: 64px;
    height: 64px;
    color: rgba(200, 29, 60, 0.4);
}

.article-card__content {
    padding: var(--space-5);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.article-card__content:not(.article-card--featured .article-card__content):not(.article-card--small .article-card__content) {
    flex: 1;
}

.article-card--featured .article-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(5, 2, 3, 0) 0%, rgba(5, 2, 3, 0.97) 40%, rgba(5, 2, 3, 1) 100%);
    padding: 4rem 2.5rem 2.5rem !important;
}

.article-card--small .article-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(5, 2, 3, 0) 0%, rgba(5, 2, 3, 0.97) 40%, rgba(5, 2, 3, 1) 100%);
    padding: 3rem 2rem 2rem !important;
}

.article-card__date {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(200, 29, 60, 0.9);
    font-weight: 600;
    position: relative;
    padding-left: 28px;
}

.article-card__date::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, rgba(200, 29, 60, 1) 0%, rgba(240, 93, 94, 0.5) 100%);
}

.article-card__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    margin: 0;
    transition: color 0.3s ease;
}

.article-card--featured .article-card__title {
    font-size: 2rem;
}

.article-card--small .article-card__title {
    font-size: 1.15rem;
}

.article-card:hover .article-card__title {
    color: rgba(240, 93, 94, 1);
}

.article-card__excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(247, 244, 245, 0.7);
    margin: 0;
}

.article-card--small .article-card__excerpt {
    font-size: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card__readmore {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(200, 29, 60, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: auto;
    transition: all 0.3s ease;
}

.article-card:hover .article-card__readmore {
    gap: 0.75rem;
    color: rgba(240, 93, 94, 1);
}

/* Contact Simple */
.contact-simple {
    text-align: center;
    max-width: 600px;
    padding: var(--space-8) 0;
}

.contact-simple h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-3);
    color: #fff;
}

.contact-simple p {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-4);
}

.contact-simple .btn {
    margin-top: var(--space-2);
}

.section-portfolio {
    padding-bottom: var(--space-10);
}

.portfolio-header {
    margin-bottom: var(--space-8);
    position: relative;
}

.portfolio-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.2;
    color: #fff;
    max-width: 700px;
    font-weight: 700;
    position: relative;
    display: inline-block;
    margin-bottom: var(--space-3);
}

.portfolio-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, rgba(200, 29, 60, 0.9) 0%, rgba(240, 93, 94, 0.3) 100%);
    border-radius: 2px;
}

.portfolio-header .eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(200, 29, 60, 0.9);
    font-weight: 600;
    position: relative;
    padding-left: 40px;
}

.portfolio-header .eyebrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, rgba(200, 29, 60, 0.9) 0%, rgba(240, 93, 94, 0.5) 100%);
}

.portfolio-desc {
    color: rgba(247, 244, 245, 0.7);
    max-width: 720px;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-3);
}

.portfolio-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-soft);
    min-height: 340px;
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.portfolio-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(92, 10, 26, 0.5) 0%, rgba(200, 29, 60, 0.3) 50%, rgba(5, 2, 3, 0.6) 100%);
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover::before {
    opacity: 0.7;
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(200, 29, 60, 0.15);
    border-color: rgba(200, 29, 60, 0.3);
}

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

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

.portfolio-card__overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: var(--space-4);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(5, 2, 3, 0.95) 100%);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    z-index: 2;
}

.portfolio-card:hover .portfolio-card__overlay {
    transform: translateY(0);
}

.portfolio-card__meta {
    margin-bottom: var(--space-3);
    position: relative;
    padding-left: 15px;
}

.portfolio-card__meta::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, rgba(200, 29, 60, 1) 0%, rgba(240, 93, 94, 0.5) 100%);
    border-radius: 2px;
}

.portfolio-card__meta span {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
    letter-spacing: 0.02em;
}

.portfolio-card__meta small {
    display: block;
    font-size: 0.65rem;
    color: rgba(255, 200, 180, 1);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.portfolio-card__overlay > p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(247, 244, 245, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
}

.portfolio-card:hover .portfolio-card__overlay > p {
    opacity: 1;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: var(--space-3);
}

.card {
    background: rgba(10, 10, 10, 0.8);
    border-radius: var(--radius-md);
    padding: var(--space-3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    min-height: 220px;
    position: relative;
    overflow: hidden;
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    background: linear-gradient(135deg, #5c0a1a 0%, #c81d3c 100%);
}

.section-cta .cta-card {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: var(--space-4);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    background: radial-gradient(circle at top left, rgba(240, 93, 94, 0.25), transparent 60%), linear-gradient(135deg, #2a0208 0%, #f05d5e 100%);
    box-shadow: var(--shadow-soft);
}

.cta-panel {
    background: rgba(10, 10, 10, 0.65);
    border-radius: var(--radius-md);
    padding: var(--space-3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (max-width: 960px) {
    .section-cta .cta-card {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Tables, forms, misc
   ========================================= */
input,
select,
textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

label {
    display: block;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
    color: var(--color-text-muted);
}

.search-form {
    display: grid;
    gap: 1.25rem;
    margin-bottom: var(--space-4);
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.search-results {
    list-style: none;
    padding: 0;
    margin: var(--space-4) 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.search-results li {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.search-results a {
    color: #fff;
    font-size: 1.1rem;
}

.search-meta {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.error-card {
    text-align: center;
    padding: var(--space-6);
}

.error-icon {
    font-size: 4rem;
    color: var(--color-primary);
    margin-bottom: var(--space-3);
}

.error-message {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: #fff;
}

.error-text {
    color: var(--color-text-muted);
    margin-bottom: var(--space-4);
}

.search-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 200;
}

.search-modal.is-visible {
    display: flex;
}

.search-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 2, 3, 0.85);
    backdrop-filter: blur(8px);
}

.search-modal__content {
    position: relative;
    width: min(90%, 640px);
    padding: var(--space-3);
    border-radius: var(--radius-lg);
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-soft);
}

.search-modal__input {
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font-size: 1rem;
}

.search-modal__close {
    position: absolute;
    inset: 1.25rem 1.25rem auto auto;
    border: none;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    padding: var(--space-6) 0 var(--space-4);
    background: #030203;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: var(--space-8);
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--space-6);
    padding-bottom: var(--space-4);
    margin-bottom: var(--space-5);
}

.footer-col {
    color: var(--color-text-muted);
}

/* Logo Column */
.footer-logo {
    margin-bottom: var(--space-3);
}

.footer-logo-text {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
    transition: all 0.2s ease;
}

.social-link:hover {
    background: rgba(200, 29, 60, 0.2);
    color: rgba(240, 93, 94, 0.9);
}

/* Pages Column */
.footer-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: var(--space-2);
    font-weight: 600;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: var(--space-3);
}

.footer-nav a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    transition: color 0.2s ease;
    display: inline-block;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-admin {
    margin-top: var(--space-2);
    padding-top: var(--space-2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-admin-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer-admin-link:hover {
    color: rgba(200, 29, 60, 0.8);
}

.footer-admin-link i {
    font-size: 0.75rem;
}

/* Contact Column */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.contact-item:hover {
    color: #fff;
}

.contact-item i {
    margin-top: 0.2rem;
    color: rgba(255, 255, 255, 0.3);
    width: 16px;
}

.contact-address {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: var(--space-5);
    font-size: 0.85rem;
}

.footer-copyright {
    margin: 0;
    color: rgba(255, 255, 255, 0.4);
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: rgba(200, 29, 60, 0.8);
}

.footer-legal-sep {
    color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-legal-sep {
        display: none;
    }
}

/* =========================================
   Articles Page - Listing
   ========================================= */
.articles-page-header {
    margin-bottom: 3rem;
    text-align: center;
}

.articles-page-desc {
    font-size: 1.125rem;
    color: var(--c-text-light);
    max-width: 600px;
    margin: 1rem auto 0;
    line-height: 1.6;
}

.articles-filters {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    color: var(--c-text-light);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(200, 29, 60, 0.3);
    color: var(--c-primary-hover);
}

.filter-btn.active {
    background: linear-gradient(135deg, rgba(200, 29, 60, 0.2), rgba(240, 93, 94, 0.15));
    border-color: var(--c-primary);
    color: var(--c-text);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.article-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft), 0 0 0 1px rgba(200, 29, 60, 0.2);
    border-color: rgba(200, 29, 60, 0.3);
}

.article-card-cover {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    position: relative;
}

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

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

.article-card-content {
    padding: 1.5rem;
}

.article-card-title {
    margin: 0 0 0.75rem 0;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
}

.article-card-title a {
    color: var(--c-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-card-title a:hover {
    color: var(--c-primary-hover);
}

.article-card-excerpt {
    color: var(--c-text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 1rem 0;
}

.article-card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    flex-wrap: wrap;
}

.article-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
}

.empty-state-icon {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.empty-state-title {
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
    color: var(--c-text);
}

.empty-state-desc {
    color: var(--c-text-light);
    margin: 0;
}

/* Pagination */
.pagination {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 3rem;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    color: var(--c-text);
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(200, 29, 60, 0.3);
    color: var(--c-primary-hover);
}

.pagination-btn.active {
    background: linear-gradient(135deg, var(--c-primary), var(--c-accent-1));
    border-color: var(--c-primary);
    color: white;
    pointer-events: none;
}

/* =========================================
   Article Detail
   ========================================= */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    margin-top: 2rem;
}

.article-detail {
    min-width: 0;
}

.layout-sidebar {
    position: sticky;
    top: 120px;
    align-self: flex-start;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
}

.article-detail-header {
    margin-bottom: 2rem;
    text-align: left;
}

.article-reading-time-simple {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    color: var(--c-text-light);
    font-size: 0.9rem;
}

.article-reading-time-simple i {
    color: var(--c-primary);
}

/* Article Footer */
.article-footer {
    margin-top: 3rem;
}

.article-signature {
    margin: 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--c-border);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    text-align: right;
}

.article-detail-excerpt {
    font-size: 1.2rem;
    color: var(--c-text-light);
    margin: 0 auto 1.5rem;
    max-width: 700px;
    line-height: 1.6;
}

.article-detail-meta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.article-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.article-detail-tags {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tag {
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.85rem;
    border: 1px solid;
    transition: all 0.2s ease;
}

.tag--category {
    background: rgba(200, 29, 60, 0.1);
    color: var(--c-primary-hover);
    border-color: rgba(200, 29, 60, 0.3);
}

.tag--category:hover {
    background: rgba(200, 29, 60, 0.2);
    border-color: var(--c-primary);
}

.tag--tag {
    background: rgba(240, 93, 94, 0.1);
    color: var(--c-accent-1);
    border-color: rgba(240, 93, 94, 0.3);
}

.tag--tag:hover {
    background: rgba(240, 93, 94, 0.2);
    border-color: var(--c-accent-1);
}

.article-detail-cover {
    margin-bottom: 3rem;
}

.article-detail-cover img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.article-detail-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: var(--c-text);
    font-size: 1.0625rem;
    text-align: justify;
}

.article-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    margin: 1.5rem 0;
}

.article-detail-content p {
    margin: 1.25rem 0;
}

.article-detail-content h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin: 2.5rem 0 1.25rem;
    color: var(--c-text);
}

.article-detail-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--c-text);
}

@media (max-width: 768px) {
    .article-detail-content {
        font-size: 1rem;
    }
}

.article-detail-content ul,
.article-detail-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.article-detail-content li {
    margin: 0.5rem 0;
}

.article-detail-content blockquote {
    border-left: 4px solid var(--c-primary);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    color: var(--c-text-light);
    font-style: italic;
}

.article-detail-content pre {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: var(--radius-sm);
    overflow-x: auto;
    border: 1px solid var(--c-border);
}

.article-detail-content code {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: 'Courier New', monospace;
}

.article-detail-content pre code {
    background: none;
    padding: 0;
}

.article-detail-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.article-detail-content th,
.article-detail-content td {
    border: 1px solid var(--c-border);
    padding: 0.75rem;
    text-align: left;
}

.article-detail-content th {
    background: rgba(255, 255, 255, 0.03);
    font-weight: 600;
}

/* Article Gallery */
.article-gallery {
    margin-top: 3rem;
}

.section-heading {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--c-text);
}

.section-heading i {
    margin-right: 0.5rem;
    color: var(--c-primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-sm);
    aspect-ratio: 4 / 3;
    cursor: pointer;
    border-radius: var(--radius-sm);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: var(--radius-sm);
}

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem;
    font-size: 0.85rem;
}

/* Attachments */
.article-attachments {
    margin-top: 3rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
}

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

.attachment-item {
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
}

.attachment-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(200, 29, 60, 0.3);
}

.attachment-item a {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--c-text);
}

.attachment-item i {
    font-size: 1.5rem;
    color: var(--c-primary);
}

.attachment-info {
    flex: 1;
}

.attachment-name {
    font-weight: 600;
}

.attachment-desc {
    font-size: 0.85rem;
    color: var(--c-text-light);
}

.attachment-size {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Article Actions */
.article-actions {
    margin-top: 2rem;
    text-align: center;
}

.btn--fire {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, var(--c-primary), var(--c-accent-1));
    color: white;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(200, 29, 60, 0.25);
}

.btn--fire:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 29, 60, 0.35);
}

/* Related Articles */
.related-articles {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--c-border);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.related-grid .article-card {
    padding: 1.5rem;
}

.related-grid .article-card-title {
    font-size: 1.1rem;
}

.related-grid .article-card-excerpt {
    font-size: 0.85rem;
}

/* =========================================
   Article Sidebar
   ========================================= */
.article-sidebar {
    position: sticky;
    top: 120px;
    align-self: flex-start;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
}

.sidebar-widget {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.sidebar-widget-title {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--c-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--c-border);
}

.sidebar-widget-title i {
    color: var(--c-primary);
    font-size: 0.9rem;
}

.sidebar-widget-content {
    color: var(--c-text-light);
}

.article-meta-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-meta-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    font-size: 0.9rem;
}

.article-meta-list li:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.article-meta-list i {
    color: var(--c-primary);
    width: 16px;
    text-align: center;
}

.sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sidebar-tag {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: rgba(200, 29, 60, 0.1);
    border: 1px solid rgba(200, 29, 60, 0.2);
    border-radius: var(--radius-sm);
    color: var(--c-text-light);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sidebar-tag:hover {
    background: rgba(200, 29, 60, 0.2);
    border-color: var(--c-primary);
    color: var(--c-text);
}

.sidebar-articles {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-article {
    display: block;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.2s ease;
}


.sidebar-article h4 {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--c-text);
    line-height: 1.4;
}

.sidebar-article-date {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .layout-sidebar {
        position: static;
        max-height: none;
    }
}

@media (max-width: 768px) {
    .article-sidebar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .article-sidebar {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Lightbox
   ========================================= */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lightbox-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(200, 29, 60, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(200, 29, 60, 0.3);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
}

.lightbox-nav-btn:hover {
    background: rgba(200, 29, 60, 0.3);
    border-color: var(--c-primary);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(200, 29, 60, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(200, 29, 60, 0.3);
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
}

.lightbox-close:hover {
    background: rgba(200, 29, 60, 0.3);
    border-color: var(--c-primary);
    transform: scale(1.1);
}

.lightbox-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox-content img {
    max-width: calc(100vw - 4rem);
    max-height: calc(100vh - 8rem);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: lightboxFadeIn 0.3s ease-out;
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-info-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(5, 2, 3, 0.9);
    backdrop-filter: blur(8px);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(200, 29, 60, 0.2);
}

.lightbox-info {
    flex: 1;
    color: white;
}

.lightbox-caption {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: white;
}

.lightbox-alt {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.lightbox-actions {
    display: flex;
    gap: 1rem;
}

.lightbox-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, var(--c-primary), var(--c-accent-1));
    color: white;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: 1px solid var(--c-primary);
    box-shadow: 0 4px 12px rgba(200, 29, 60, 0.3);
}

.lightbox-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(200, 29, 60, 0.4);
}

@media (max-width: 768px) {
    .lightbox-prev,
    .lightbox-next {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .lightbox-prev {
        left: 1rem;
    }
    
    .lightbox-next {
        right: 1rem;
    }
    
    .lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 44px;
        height: 44px;
    }
    
    .lightbox-info-bar {
        padding: 0.75rem 1.5rem;
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .lightbox-info {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .lightbox-prev,
    .lightbox-next {
        display: none !important;
    }
    
    .lightbox-content {
        padding: 1rem;
    }
    
    .lightbox-content img {
        max-width: 95vw;
        max-height: 75vh;
    }
}
