@font-face {
    font-family: 'Antonio';
    src: url('../fonts/antonio-400.woff2') format('woff2');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope-300-700.woff2') format('woff2');
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
}

:root {
    --bg: #0f0f0f;
    --card: rgba(16, 16, 16, 0.84);
    --card-strong: rgba(8, 8, 8, 0.94);
    --text: #f8f8f8;
    --muted: #c4c4c4;
    --accent: #be1213;
    --accent-bright: #e22d2f;
    --border: rgba(255, 255, 255, 0.12);
    --shadow: 0 28px 40px rgba(0, 0, 0, 0.45);
    --radius: 18px;
    --max: 1280px;
    --focus: 0 0 0 3px rgba(226, 45, 47, 0.35);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.55;
}

a {
    color: var(--text);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

a:hover {
    color: #fff;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: none;
    box-shadow: var(--focus);
}

.bg-stage {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
}

.bg-layer {
    position: absolute;
    inset: -2%;
    background-position: center;
    background-size: cover;
    transition: opacity 1.2s ease;
    transform: scale(1.03);
}

.bg-layer-a {
    opacity: 1;
}

.bg-layer-b {
    opacity: 0;
}

.bg-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 15%, rgba(190, 18, 19, 0.22), transparent 45%),
        linear-gradient(160deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.88));
}

.site-header {
    width: min(var(--max), 94vw);
    margin: 1.1rem auto 0;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.67);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0.6rem;
    z-index: 20;
}

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

.brand {
    text-decoration: none;
    display: grid;
    gap: 0.1rem;
}

.brand-name {
    font-family: 'Antonio', 'Arial Narrow', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: clamp(1.3rem, 2.2vw, 2rem);
    line-height: 1;
}

.brand-sub {
    font-size: 0.83rem;
    color: var(--muted);
}

.menu-toggle {
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.56);
    color: var(--text);
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

.site-menu {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.menu-link {
    text-decoration: none;
    font-size: 0.88rem;
    padding: 0.45rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #ececec;
    transition: transform 0.2s ease, background 0.2s ease;
}

.menu-link:hover {
    transform: translateY(-1px);
    background: rgba(226, 45, 47, 0.18);
}

.menu-link.is-active {
    background: rgba(190, 18, 19, 0.42);
    border-color: rgba(190, 18, 19, 0.8);
}

.page-shell {
    width: min(var(--max), 94vw);
    margin: 1rem auto 1.4rem;
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 1rem;
}

.sidebar {
    display: grid;
    gap: 0.8rem;
    align-content: start;
}

.side-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow);
    padding: 0.95rem 1rem;
}

.side-card h2 {
    margin: 0;
    font-family: 'Antonio', 'Arial Narrow', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.side-card ul {
    margin: 0.8rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.35rem;
}

.side-link {
    display: block;
    text-decoration: none;
    color: #efefef;
    padding: 0.35rem 0.1rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
}

.side-link.is-active,
.side-link:hover {
    color: #fff;
    border-bottom-color: rgba(226, 45, 47, 0.7);
}

.instagram-link {
    border: 1px solid var(--border);
    border-radius: 999px;
    text-decoration: none;
    text-align: center;
    padding: 0.65rem 0.9rem;
    background: rgba(190, 18, 19, 0.2);
}

.content-panel {
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 4px);
    background: var(--card);
    box-shadow: var(--shadow);
    padding: clamp(1rem, 2.5vw, 1.8rem);
}

.content-article h1,
.content-article h2,
.content-article h3,
.section-head h2 {
    font-family: 'Antonio', 'Arial Narrow', sans-serif;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.1;
}

.content-article h1 {
    margin-top: 0;
    margin-bottom: 0.7rem;
    font-size: clamp(1.9rem, 4vw, 2.7rem);
}

.content-article h2 {
    margin-top: 1.8rem;
    margin-bottom: 0.5rem;
    font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.content-article h3 {
    margin-top: 1.2rem;
    margin-bottom: 0.35rem;
    font-size: clamp(1.15rem, 2.4vw, 1.55rem);
}

.intro {
    color: var(--muted);
}

.rich-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.rich-content figure {
    margin: 1rem 0;
}

.rich-content p,
.rich-content ul,
.rich-content ol {
    margin: 0.85rem 0;
}

.rich-content ul,
.rich-content ol {
    padding-left: 1.1rem;
}

.rich-content hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 1.4rem 0;
}

.rich-content .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 0.6rem;
    margin: 1rem 0;
}

.rich-content .gallery .gallery-item {
    width: auto !important;
    margin: 0;
}

.rich-content a {
    color: #ffdada;
}

.rich-content a:hover {
    color: #fff;
}

.rich-content a[href*="/wp-content/uploads/"] img {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rich-content a[href*="/wp-content/uploads/"]:hover img {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.35);
}

.news-teaser {
    margin-top: 2rem;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.section-head h2 {
    margin: 0;
    font-size: 1.6rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 0.75rem;
    margin-top: 0.8rem;
}

.news-card,
.news-item {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.32);
    padding: 0.85rem 0.9rem;
}

.news-date {
    margin: 0;
    color: var(--muted);
    font-size: 0.84rem;
}

.news-card h3,
.news-item h2 {
    margin: 0.2rem 0 0.4rem;
    font-size: 1.15rem;
}

.news-list {
    display: grid;
    gap: 0.7rem;
}

.read-more {
    text-decoration: none;
    display: inline-block;
    margin-top: 0.4rem;
    border: 1px solid rgba(226, 45, 47, 0.65);
    border-radius: 999px;
    padding: 0.35rem 0.65rem;
}

.pagination {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    border-top: 1px solid var(--border);
    padding-top: 0.9rem;
}

.contact-form {
    display: grid;
    gap: 0.85rem;
    margin-top: 1rem;
}

.form-grid {
    display: grid;
    gap: 0.65rem;
}

.form-grid.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-form label,
.contact-form legend {
    font-weight: 600;
    font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-top: 0.28rem;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 0.63rem 0.72rem;
    background: rgba(7, 7, 7, 0.76);
    color: var(--text);
    font-family: inherit;
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form fieldset {
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    padding: 0.7rem;
    margin: 0;
}

.inline-option {
    display: block;
    margin-top: 0.5rem;
    font-weight: 500;
}

.inline-option input {
    width: auto;
    margin-right: 0.42rem;
}

.consent-row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-weight: 500;
}

.consent-row input {
    width: auto;
    margin-top: 0.15rem;
}

.hp-field {
    display: none;
}

.form-submit {
    justify-self: start;
    background: linear-gradient(135deg, var(--accent), var(--accent-bright));
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 0.62rem 1.1rem;
    border-radius: 999px;
    cursor: pointer;
}

.form-status {
    margin: 0;
    min-height: 1.2rem;
    color: #ffd9d9;
}

.form-status.is-success {
    color: #d9ffe4;
}

.site-footer {
    width: min(var(--max), 94vw);
    margin: 0 auto 1rem;
    border: 1px solid var(--border);
    background: var(--card-strong);
    border-radius: 14px;
    padding: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.7rem;
}

.footer-links {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.92);
    padding: 2rem 1rem;
}

.gallery-modal.is-open {
    display: flex;
}

.gallery-figure {
    margin: 0;
    max-width: min(1200px, 92vw);
    max-height: 88vh;
    display: grid;
    gap: 0.6rem;
    justify-items: center;
}

.gallery-figure img {
    max-width: min(1200px, 92vw);
    max-height: calc(88vh - 3.8rem);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}

.gallery-figure figcaption {
    color: #d5d5d5;
    text-align: center;
    font-size: 0.88rem;
}

.gallery-btn {
    position: fixed;
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    width: 42px;
    height: 42px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
}

.gallery-close {
    top: 1rem;
    right: 1rem;
    font-size: 1.6rem;
}

.gallery-prev {
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.gallery-next {
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.gallery-fullscreen {
    bottom: 1rem;
    right: 1rem;
    font-size: 1.2rem;
}

.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: 760px;
    margin: 0 auto;
    z-index: 60;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(10, 10, 10, 0.96);
    padding: 0.9rem;
    box-shadow: var(--shadow);
}

.cookie-banner p {
    margin: 0 0 0.65rem;
}

.cookie-actions {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
    margin-bottom: 0.55rem;
}

.cookie-actions button {
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-radius: 999px;
    padding: 0.45rem 0.75rem;
    cursor: pointer;
}

.cookie-actions .is-primary {
    border-color: rgba(226, 45, 47, 0.78);
    background: rgba(226, 45, 47, 0.24);
}

@media (max-width: 980px) {
    .page-shell {
        grid-template-columns: 1fr;
    }

    .sidebar {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 760px) {
    .site-menu {
        display: none;
    }

    .site-menu.is-open {
        display: grid;
        grid-template-columns: 1fr;
    }

    .menu-link {
        border-radius: 10px;
    }

    .form-grid.two-col {
        grid-template-columns: 1fr;
    }

    .gallery-btn {
        width: 38px;
        height: 38px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
