 /* ============================================================
           CSS CUSTOM PROPERTIES
           ============================================================ */
        :root {
            /* Core palette — inspired by the dartboard & venue atmosphere */
            --clr-bg:             #0e1117;
            --clr-bg-elevated:    #161b24;
            --clr-bg-card:        #1c2231;
            --clr-surface:        #232a3a;

            --clr-text:           #d8dce6;
            --clr-text-muted:     #8892a4;
            --clr-text-heading:   #f0f2f7;

            /* Accent: dartboard red (bullseye) */
            --clr-accent:         #c0392b;
            --clr-accent-hover:   #e74c3c;
            --clr-accent-glow:    rgba(192, 57, 43, .25);

            /* Secondary: dartboard green (scoring segments) */
            --clr-secondary:      #1e8449;
            --clr-secondary-soft: rgba(30, 132, 73, .15);

            /* Tertiary: gold wire / triple ring */
            --clr-gold:           #d4a843;
            --clr-gold-soft:      rgba(212, 168, 67, .12);

            /* Functional */
            --clr-border:         rgba(255, 255, 255, .06);
            --clr-border-accent:  rgba(192, 57, 43, .30);
            --clr-link:           #5dade2;
            --clr-link-hover:     #85c1e9;

            /* Shadows */
            --shadow-sm:          0 1px 3px rgba(0, 0, 0, .3);
            --shadow-md:          0 4px 16px rgba(0, 0, 0, .35);
            --shadow-lg:          0 8px 40px rgba(0, 0, 0, .45);
            --shadow-accent:      0 4px 24px var(--clr-accent-glow);

            /* Typography */
            --font-display:       'DM Serif Display', Georgia, 'Times New Roman', serif;
            --font-body:          'Source Sans 3', 'Segoe UI', sans-serif;
            --font-mono:          'JetBrains Mono', 'Consolas', monospace;

            /* Spacing scale */
            --sp-xs:   .25rem;
            --sp-sm:   .5rem;
            --sp-md:   1rem;
            --sp-lg:   1.5rem;
            --sp-xl:   2.5rem;
            --sp-2xl:  4rem;
            --sp-3xl:  6rem;

            /* Layout */
            --content-width:      720px;
            --wide-width:         960px;
            --full-width:         1200px;

            /* Transitions */
            --ease-out:           cubic-bezier(.22, 1, .36, 1);
            --transition-fast:    180ms var(--ease-out);
            --transition-base:    320ms var(--ease-out);
            --transition-slow:    600ms var(--ease-out);

            /* Radius */
            --radius-sm:  4px;
            --radius-md:  8px;
            --radius-lg:  12px;
        }

        
        /* ============================================================
           RESET & BASE
           ============================================================ */
        *, *::before, *::after {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            -webkit-text-size-adjust: 100%;
            hanging-punctuation: first last;
        }

        body {
            font-family: var(--font-body);
            font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
            line-height: 1.75;
            color: var(--clr-text);
            background-color: var(--clr-bg);
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            overflow-x: hidden;
        }

        /* ============================================================
           FOCUS STYLES (ACCESSIBILITY)
           ============================================================ */
        :focus-visible {
            outline: 2px solid var(--clr-accent);
            outline-offset: 3px;
            border-radius: var(--radius-sm);
        }

        ::selection {
            background: var(--clr-accent);
            color: #fff;
        }

        /* ============================================================
           BACKGROUND ATMOSPHERE
           ============================================================ */
        body::before {
            content: '';
            position: fixed;
            inset: 0;
            background:
                radial-gradient(ellipse 80% 60% at 50% 0%, var(--clr-accent-glow) 0%, transparent 70%),
                radial-gradient(ellipse 60% 50% at 80% 100%, var(--clr-secondary-soft) 0%, transparent 60%);
            pointer-events: none;
            z-index: 0;
        }

        /* ============================================================
           HEADER
           ============================================================ */
        header {
            position: relative;
            z-index: 10;
        }

        /* ============================================================
           TOP NAV BAR
           ============================================================ */
        nav[aria-label="Breadcrumb"] {
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(14, 17, 23, .82);
            backdrop-filter: blur(16px) saturate(1.6);
            -webkit-backdrop-filter: blur(16px) saturate(1.6);
            border-bottom: 1px solid var(--clr-border);
            padding: var(--sp-sm) var(--sp-lg);
        }

        @media (prefers-color-scheme: light) {
            nav[aria-label="Breadcrumb"] {
                background: rgba(244, 241, 236, .85);
            }
        }

        nav[aria-label="Breadcrumb"] ol {
            display: flex;
            align-items: center;
            gap: var(--sp-sm);
            list-style: none;
            max-width: var(--full-width);
            margin: 0 auto;
            font-size: .82rem;
            letter-spacing: .02em;
            color: var(--clr-text-muted);
        }

        nav[aria-label="Breadcrumb"] li + li::before {
            content: '/';
            margin-right: var(--sp-sm);
            opacity: .4;
        }

        nav[aria-label="Breadcrumb"] a {
            color: var(--clr-text-muted);
            text-decoration: none;
            transition: color var(--transition-fast);
        }

        nav[aria-label="Breadcrumb"] a:hover {
            color: var(--clr-accent-hover);
        }

        nav[aria-label="Breadcrumb"] [aria-current] {
            color: var(--clr-text);
        }

        /* ============================================================
           TABLE OF CONTENTS (SIDEBAR NAV)
           ============================================================ */
        nav[aria-label="Inhaltsverzeichnis"] {
            display: none;
        }

        @media (min-width: 1280px) {
            nav[aria-label="Inhaltsverzeichnis"] {
                display: block;
                position: fixed;
                top: 50%;
                left: max(1rem, calc((100vw - var(--full-width)) / 2 - 12rem));
                transform: translateY(-50%);
                width: 11rem;
                z-index: 50;
            }

            nav[aria-label="Inhaltsverzeichnis"] ul {
                list-style: none;
                border-left: 2px solid var(--clr-border);
                padding-left: var(--sp-md);
                display: flex;
                flex-direction: column;
                gap: var(--sp-sm);
            }

            nav[aria-label="Inhaltsverzeichnis"] a {
                display: block;
                font-size: .75rem;
                line-height: 1.45;
                color: var(--clr-text-muted);
                text-decoration: none;
                padding: var(--sp-xs) 0;
                transition: color var(--transition-fast), transform var(--transition-fast);
            }

            nav[aria-label="Inhaltsverzeichnis"] a:hover {
                color: var(--clr-accent-hover);
                transform: translateX(4px);
            }
        }

        /* ============================================================
           MAIN CONTENT AREA
           ============================================================ */
        main {
            position: relative;
            z-index: 1;
            max-width: var(--content-width);
            margin: 0 auto;
            padding: var(--sp-xl) var(--sp-lg) var(--sp-3xl);
        }

        /* ============================================================
           TYPOGRAPHY — HEADINGS
           ============================================================ */
        main h1 {
            font-family: var(--font-display);
            font-size: clamp(2rem, 1.5rem + 2.5vw, 3.25rem);
            font-weight: 400;
            line-height: 1.15;
            color: var(--clr-text-heading);
            letter-spacing: -.02em;
            margin-bottom: var(--sp-lg);
            padding-bottom: var(--sp-lg);
            border-bottom: 3px solid var(--clr-accent);
            position: relative;
        }

        main h1::after {
            content: '';
            position: absolute;
            bottom: -3px;
            left: 0;
            width: 60px;
            height: 3px;
            background: var(--clr-gold);
        }

        main h2 {
            font-family: var(--font-display);
            font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
            font-weight: 400;
            line-height: 1.25;
            color: var(--clr-text-heading);
            letter-spacing: -.015em;
            margin-top: var(--sp-3xl);
            margin-bottom: var(--sp-lg);
            padding-top: var(--sp-xl);
            position: relative;
        }

        main h2::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 40px;
            height: 3px;
            background: linear-gradient(90deg, var(--clr-accent), var(--clr-gold));
            border-radius: 2px;
        }

        main h3 {
            font-family: var(--font-body);
            font-size: clamp(1.15rem, 1rem + .75vw, 1.5rem);
            font-weight: 700;
            line-height: 1.35;
            color: var(--clr-text-heading);
            letter-spacing: -.01em;
            margin-top: var(--sp-2xl);
            margin-bottom: var(--sp-md);
            padding-left: var(--sp-md);
            border-left: 3px solid var(--clr-secondary);
        }

        /* ============================================================
           TYPOGRAPHY — BODY
           ============================================================ */
        main p {
            margin-bottom: var(--sp-lg);
            max-width: 65ch;
        }

        main strong {
            font-weight: 700;
            color: var(--clr-text-heading);
        }

        main em {
            font-style: italic;
            color: var(--clr-gold);
        }

        main a {
            color: var(--clr-link);
            text-decoration-color: rgba(93, 173, 226, .3);
            text-underline-offset: 3px;
            transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
        }

        main a:hover {
            color: var(--clr-link-hover);
            text-decoration-color: var(--clr-link-hover);
        }

        /* ============================================================
           LISTS
           ============================================================ */
        main ul, main ol {
            margin-bottom: var(--sp-lg);
            padding-left: var(--sp-lg);
            max-width: 65ch;
        }

        main ul {
            list-style: none;
            padding-left: 0;
        }

        main ul li {
            position: relative;
            padding-left: var(--sp-lg);
            margin-bottom: var(--sp-sm);
        }

        main ul li::before {
            content: '';
            position: absolute;
            left: 2px;
            top: .65em;
            width: 7px;
            height: 7px;
            background: var(--clr-accent);
            border-radius: 50%;
            box-shadow: 0 0 6px var(--clr-accent-glow);
        }

        main ol {
            list-style: none;
            counter-reset: ol-counter;
            padding-left: 0;
        }

        main ol li {
            counter-increment: ol-counter;
            position: relative;
            padding-left: var(--sp-xl);
            margin-bottom: var(--sp-sm);
        }

        main ol li::before {
            content: counter(ol-counter, decimal-leading-zero);
            position: absolute;
            left: 0;
            top: 0;
            font-family: var(--font-mono);
            font-size: .8em;
            font-weight: 700;
            color: var(--clr-accent);
            letter-spacing: -.03em;
        }

        /* ============================================================
           BLOCKQUOTE
           ============================================================ */
        main blockquote {
            margin: var(--sp-xl) 0;
            padding: var(--sp-lg) var(--sp-xl);
            background: var(--clr-bg-card);
            border-left: 4px solid var(--clr-gold);
            border-radius: 0 var(--radius-md) var(--radius-md) 0;
            box-shadow: var(--shadow-sm);
            font-style: italic;
            color: var(--clr-text-muted);
            position: relative;
        }

        main blockquote::before {
            content: '\201E';
            position: absolute;
            top: -.15em;
            left: var(--sp-md);
            font-family: var(--font-display);
            font-size: 3.5rem;
            color: var(--clr-gold);
            opacity: .3;
            line-height: 1;
        }

        main blockquote p {
            margin-bottom: var(--sp-sm);
        }

        main blockquote p:last-child {
            margin-bottom: 0;
        }

        /* ============================================================
           IMAGES — HERO & ARTICLE
           ============================================================ */
        main figure {
            margin: var(--sp-2xl) 0;
        }

        main .hero-image {
            margin: var(--sp-xl) calc(var(--sp-lg) * -1) var(--sp-2xl);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-lg);
            position: relative;
        }

        @media (min-width: 768px) {
            main .hero-image {
                margin-left: calc((var(--wide-width) - var(--content-width)) / -2);
                margin-right: calc((var(--wide-width) - var(--content-width)) / -2);
            }
        }

        main .hero-image img,
        main .article-image img {
            display: block;
            width: 100%;
            height: auto;
            object-fit: cover;
            transition: transform var(--transition-slow);
        }

        main .hero-image:hover img {
            transform: scale(1.02);
        }

        main .hero-image::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(to top,
                rgba(14, 17, 23, .5) 0%,
                transparent 40%);
            pointer-events: none;
        }

        main .article-image {
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-md);
            transition: box-shadow var(--transition-base), transform var(--transition-base);
        }

        main .article-image:hover {
            box-shadow: var(--shadow-lg);
            transform: translateY(-2px);
        }

        main figcaption {
            font-size: .82rem;
            color: var(--clr-text-muted);
            margin-top: var(--sp-sm);
            padding-left: var(--sp-sm);
            border-left: 2px solid var(--clr-border);
            line-height: 1.5;
        }

        /* ============================================================
           HORIZONTAL RULE (SECTION DIVIDERS)
           ============================================================ */
        main hr {
            border: none;
            height: 1px;
            background: linear-gradient(
                90deg,
                transparent 0%,
                var(--clr-border) 15%,
                var(--clr-accent) 50%,
                var(--clr-border) 85%,
                transparent 100%
            );
            margin: var(--sp-3xl) 0;
            position: relative;
        }

        main hr::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 8px;
            height: 8px;
            background: var(--clr-accent);
            border-radius: 50%;
            box-shadow: 0 0 12px var(--clr-accent-glow);
        }

        /* ============================================================
           TABLES (for potential data in content)
           ============================================================ */
        main table {
            width: 100%;
            border-collapse: collapse;
            margin: var(--sp-xl) 0;
            font-size: .92em;
        }

        main thead th {
            background: var(--clr-surface);
            color: var(--clr-text-heading);
            font-weight: 700;
            text-align: left;
            padding: var(--sp-sm) var(--sp-md);
            border-bottom: 2px solid var(--clr-accent);
            font-size: .82em;
            text-transform: uppercase;
            letter-spacing: .06em;
        }

        main tbody td {
            padding: var(--sp-sm) var(--sp-md);
            border-bottom: 1px solid var(--clr-border);
            vertical-align: top;
        }

        main tbody tr {
            transition: background var(--transition-fast);
        }

        main tbody tr:hover {
            background: var(--clr-secondary-soft);
        }

        /* ============================================================
           CODE / PRE (odds examples, statistics)
           ============================================================ */
        main code {
            font-family: var(--font-mono);
            font-size: .88em;
            background: var(--clr-surface);
            padding: .15em .4em;
            border-radius: var(--radius-sm);
            color: var(--clr-gold);
        }

        main pre {
            background: var(--clr-bg-elevated);
            border: 1px solid var(--clr-border);
            border-radius: var(--radius-md);
            padding: var(--sp-lg);
            overflow-x: auto;
            margin: var(--sp-xl) 0;
            font-size: .85em;
            line-height: 1.6;
        }

        main pre code {
            background: none;
            padding: 0;
        }

        /* ============================================================
           META INFORMATION BAR (date, reading time, etc.)
           ============================================================ */
        main .meta-info {
            display: flex;
            flex-wrap: wrap;
            gap: var(--sp-md) var(--sp-lg);
            font-size: .82rem;
            color: var(--clr-text-muted);
            margin-bottom: var(--sp-2xl);
            padding-bottom: var(--sp-lg);
            border-bottom: 1px solid var(--clr-border);
            letter-spacing: .01em;
        }

        main .meta-info span::before {
            display: inline-block;
            margin-right: var(--sp-xs);
            opacity: .5;
        }

        /* ============================================================
           CALLOUT / INFO BOXES
           ============================================================ */
        main aside {
            background: var(--clr-bg-card);
            border: 1px solid var(--clr-border);
            border-left: 4px solid var(--clr-accent);
            border-radius: 0 var(--radius-md) var(--radius-md) 0;
            padding: var(--sp-lg);
            margin: var(--sp-xl) 0;
            box-shadow: var(--shadow-sm);
        }

        main aside p:last-child {
            margin-bottom: 0;
        }

        /* ============================================================
           SCROLL-PROGRESS INDICATOR
           ============================================================ */
        .scroll-progress {
            position: fixed;
            top: 0;
            left: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--clr-accent), var(--clr-gold));
            z-index: 200;
            width: 0%;
            transition: none;
            will-change: width;
        }

        /* ============================================================
           BACK-TO-TOP BUTTON
           ============================================================ */
        .back-to-top {
            position: fixed;
            bottom: var(--sp-xl);
            right: var(--sp-xl);
            z-index: 100;
            width: 44px;
            height: 44px;
            display: grid;
            place-items: center;
            background: var(--clr-bg-card);
            border: 1px solid var(--clr-border);
            border-radius: 50%;
            color: var(--clr-text-muted);
            cursor: pointer;
            box-shadow: var(--shadow-md);
            opacity: 0;
            transform: translateY(12px);
            transition: opacity var(--transition-base), transform var(--transition-base),
                        background var(--transition-fast), color var(--transition-fast);
            text-decoration: none;
            font-size: 1.1rem;
            line-height: 1;
        }

        .back-to-top[data-visible="true"] {
            opacity: 1;
            transform: translateY(0);
        }

        .back-to-top:hover {
            background: var(--clr-accent);
            color: #fff;
            border-color: var(--clr-accent);
            box-shadow: var(--shadow-accent);
        }

        /* ============================================================
           FOOTER
           ============================================================ */
        footer {
            position: relative;
            z-index: 1;
            border-top: 1px solid var(--clr-border);
            padding: var(--sp-2xl) var(--sp-lg);
            text-align: center;
            color: var(--clr-text-muted);
            font-size: .8rem;
            letter-spacing: .02em;
        }

        /* ============================================================
           ENTRY ANIMATIONS
           ============================================================ */
        @keyframes fadeUp {
            from { opacity: 0; transform: translateY(20px); }
            to   { opacity: 1; transform: translateY(0); }
        }

        main h1 {
            animation: fadeUp .8s var(--ease-out) both;
        }

        main h2 {
            animation: fadeUp .6s var(--ease-out) both;
        }

        /* ============================================================
           RESPONSIVE REFINEMENTS
           ============================================================ */

        /* Small screens */
        @media (max-width: 480px) {
            main {
                padding-left: var(--sp-md);
                padding-right: var(--sp-md);
            }

            main h2::before {
                width: 28px;
            }

            main .hero-image {
                margin-left: calc(var(--sp-md) * -1);
                margin-right: calc(var(--sp-md) * -1);
                border-radius: 0;
            }

            nav[aria-label="Breadcrumb"] {
                padding-left: var(--sp-md);
                padding-right: var(--sp-md);
            }
        }

        /* Medium screens */
        @media (min-width: 481px) and (max-width: 767px) {
            main {
                padding-left: var(--sp-lg);
                padding-right: var(--sp-lg);
            }
        }

        /* Large screens — wider reading column */
        @media (min-width: 1024px) {
            main {
                padding-top: var(--sp-3xl);
            }
        }

        /* ============================================================
           PRINT STYLES
           ============================================================ */
        @media print {
            body::before,
            nav[aria-label="Breadcrumb"],
            nav[aria-label="Inhaltsverzeichnis"],
            .scroll-progress,
            .back-to-top { display: none; }

            body {
                background: #fff;
                color: #111;
                font-size: 11pt;
            }

            main {
                max-width: 100%;
                padding: 0;
            }

            main h1, main h2, main h3 {
                color: #111;
                break-after: avoid;
            }

            main a {
                color: #111;
                text-decoration: underline;
            }

            main a[href]::after {
                content: ' (' attr(href) ')';
                font-size: .8em;
                color: #555;
            }
        }

        /* ============================================================
           REDUCED MOTION
           ============================================================ */
        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                animation-duration: 0.01ms !important;
                transition-duration: 0.01ms !important;
            }

            html { scroll-behavior: auto; }
        }

        /* ============================================================
   IMAGES — Hero & Article Image Styles
   ============================================================ */

.hero-image {
    width: 100%;
    margin: 0 0 2rem;
    border-radius: 12px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.article-image {
    margin: 2rem 0;
    text-align: center;
    border-radius: 8px;
    overflow: hidden;
}

.article-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .hero-image {
        margin-left: -1rem;
        margin-right: -1rem;
        border-radius: 0;
    }

    .hero-image img {
        border-radius: 0;
    }

    .article-image {
        margin: 1.5rem 0;
    }
}

@media (min-width: 768px) {
    .hero-image {
        margin-left: calc((960px - 720px) / -2);
        margin-right: calc((960px - 720px) / -2);
    }
}

/* ====== Header layout ====== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(10,12,16,.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.top-navigation-bar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 10px 16px;
}

.container{
  max-width: 1200px;
  margin: 0 auto;
}

/* ====== Logo ====== */
.site-logo{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: .2px;
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  white-space: nowrap;
}

/* ====== Desktop menu base ====== */
.site-nav--desktop{ display: none; } 

.menu-desktop{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 18px;
}

.menu-desktop > li{
  position: relative;
  margin: 0;
  padding: 0;
}

.menu-desktop a{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 10px;
  border-radius: 12px;
  text-decoration: none;
  color: rgba(255,255,255,.86);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

/* Hover эффект */
.menu-desktop > li > a:hover{
  background: rgba(255,255,255,.08);
  color: #fff;
  transform: translateY(-1px);
}

.menu-desktop .current-menu-item > a,
.menu-desktop .current-menu-ancestor > a{
  background: rgba(255,255,255,.10);
  color: #fff;
}

.menu-desktop > li > a::after{
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 6px;
  height: 2px;
  background: linear-gradient(90deg, #f7c948, #ff4d4d);
  opacity: 0;
  transform: scaleX(.6);
  transition: opacity .18s ease, transform .18s ease;
  border-radius: 2px;
}

.menu-desktop > li:hover > a::after,
.menu-desktop .current-menu-item > a::after,
.menu-desktop .current-menu-ancestor > a::after{
  opacity: 1;
  transform: scaleX(1);
}

.menu-desktop a:focus-visible{
  outline: 2px solid rgba(247,201,72,.8);
  outline-offset: 3px;
}

/* ====== Dropdown (sub-menu) ====== */
.menu-desktop .sub-menu{
  list-style: none;
  margin: 10px 0 0;
  padding: 10px;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: rgba(12,14,18,.92);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  box-shadow: 0 16px 50px rgba(0,0,0,.45);
  display: none;
}

.menu-desktop .sub-menu li a{
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.86);
}

.menu-desktop .sub-menu li a:hover{
  background: rgba(255,255,255,.08);
  color: #fff;
  transform: none;
}

.menu-desktop li:hover > .sub-menu,
.menu-desktop li:focus-within > .sub-menu{
  display: block;
}

.mobile-controls{ display: flex; }

/* Desktop breakpoint */
@media (min-width: 992px){
  .site-nav--desktop{ display: block; }
  .mobile-controls{ display: none; }
}
/* ===== Mobile menu (off-canvas) ===== */

.mobile-menu-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
  z-index: 998;
}

.mobile-menu-overlay.is-active{
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu{
  position: fixed;
  top: 0;
  left: 0;
  height: 100dvh;
  width: min(82vw, 340px);
  background: rgba(12,14,18,.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-right: 1px solid rgba(255,255,255,.08);
  box-shadow: 20px 0 60px rgba(0,0,0,.45);

  transform: translateX(-105%);
  transition: transform .26s ease;
  z-index: 999;

  padding: 18px 14px 16px;
}

.mobile-menu.is-open{
  transform: translateX(0);
}

.mobile-menu__close{
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.mobile-menu__close:hover{
  background: rgba(255,255,255,.10);
}

.mobile-menu__inner{
  margin-top: 56px; 
}

/* Menu list */
.menu-mobile{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.menu-mobile li{ margin: 0; padding: 0; }

.menu-mobile a{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none;

  color: rgba(255,255,255,.90);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.06);

  font-weight: 650;
  font-size: 15px;
  transition: background .18s ease, transform .18s ease, border-color .18s ease;
}

.menu-mobile a:hover{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.10);
  transform: translateY(-1px);
}

.menu-mobile .current-menu-item > a,
.menu-mobile .current-menu-ancestor > a{
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.12);
}

.menu-mobile .sub-menu{
  list-style: none;
  margin: 8px 0 0 10px;
  padding: 0 0 0 10px;
  border-left: 1px solid rgba(255,255,255,.10);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.menu-mobile .sub-menu a{
  font-size: 14px;
  padding: 10px 12px;
  background: rgba(255,255,255,.04);
}

/* Burger button */
.burger{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.burger span{
  width: 20px;
  height: 2px;
  background: rgba(255,255,255,.88);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* Burger -> X when active */
.burger.is-active span:nth-child(1){
  transform: translateY(7px) rotate(45deg);
}
.burger.is-active span:nth-child(2){
  opacity: 0;
}
.burger.is-active span:nth-child(3){
  transform: translateY(-7px) rotate(-45deg);
}

/* Hide mobile menu on desktop */
@media (min-width: 992px){
  #mobile-menu,
  .mobile-menu-overlay{
    display: none !important;
  }
}

#crumbs {
    padding: 10px 0;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
    text-align: center; 
}

/* Link styling within breadcrumbs */
#crumbs a {
    text-decoration: none;
    color: #0073aa; 
}

/* Hover effect for links */
#crumbs a:hover {
    text-decoration: underline;
}

/* Current page styling */
#crumbs .current {
    font-weight: bold;
    color: rgb(255, 255, 255);
}

main .hero-image{
  width: 100%;
  max-width: 960px;          
  margin: 24px auto;        
  padding: 0 16px;           
}

main .hero-image img{
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;       
  object-fit: cover;
}

@media (min-width: 992px){
  main .hero-image{ padding: 0; }
}

/* ===== Footer ===== */
.site-footer{
  background: rgba(10,12,16,.92);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 56px 0 28px;
}

.footer-container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.footer-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px;
}

.footer-title{
  color: #f7c948; /* “золотой” как на примере */
  font-size: 26px;
  line-height: 1.1;
  margin: 0 0 18px;
  font-weight: 800;
}

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

.footer-list li{
  position: relative;
  padding-left: 14px;
  margin: 10px 0;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.55;
}

.footer-list li::before{
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #ff4d4d; 
  line-height: 1.55;
}

.site-footer a{
  color: rgba(255,255,255,.82);
  text-decoration: none;
}

.site-footer a:hover{
  color: #fff;
  text-decoration: underline;
}

.footer-divider{
  margin: 34px 0 18px;
  height: 1px;
  background: rgba(255,255,255,.10);
}

.footer-bottom{
  text-align: center;
}

.footer-disclaimer{
  margin: 0 auto 12px;
  max-width: 980px;
  color: rgba(255,255,255,.58);
  font-size: 13px;
  line-height: 1.6;
}

.footer-copy{
  margin: 0;
  color: rgba(255,255,255,.62);
  font-size: 13px;
}

/* Responsive */
@media (max-width: 980px){
  .footer-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px){
  .footer-grid{ grid-template-columns: 1fr; gap: 28px; }
  .footer-title{ font-size: 22px; }
}

/* Minimal 404 */
.error-404-min{
  padding: 90px 0 110px;
}

.error-404-min__inner{
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px;
  text-align: center;
}

.error-404-min__code{
  margin: 0 0 10px;
  font-size: clamp(56px, 8vw, 110px);
  font-weight: 900;
  letter-spacing: .08em;
  color: rgba(255,255,255,.10);
}

.error-404-min__title{
  margin: 0 0 10px;
  color: rgba(255,255,255,.94);
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.15;
}

.error-404-min__text{
  margin: 0 auto 18px;
  max-width: 560px;
  color: rgba(255,255,255,.66);
  font-size: 16px;
  line-height: 1.6;
}

.error-404-min__actions{
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.error-404-min__search{
  max-width: 520px;
  margin: 0 auto;
}

/* Make the default WP search form look clean */
.error-404-min__search form{
  display: flex;
  gap: 10px;
}

.error-404-min__search input[type="search"]{
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.92);
}

.error-404-min__search input[type="search"]::placeholder{
  color: rgba(255,255,255,.45);
}

.error-404-min__search input[type="submit"]{
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  font-weight: 700;
  cursor: pointer;
}
