/*
Theme Name: Mecks BBQ Theme
Theme URI: http://mecksbqblog.com/
Author: Mecks BBQ
Description: Modernes WordPress-Theme für ein BBQ-Catering.
Version: 2.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mecks-bbq-theme
*/

:root {
    --bg-main: #0b0a0a;
    --bg-surface: #141212;
    --bg-surface-glass: rgba(20, 18, 18, 0.72);
    --accent: #ff5500;
    --accent-hover: #ff7733;
    --text-main: #f5f5f7;
    --text-muted: #a1a1a6;
    --border-color: rgba(255, 85, 0, 0.15);
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --header-height: 76px;
    --radius: 12px;
    --transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: auto;
    scroll-padding-top: calc(var(--header-height) + 20px);
    overflow-x: clip;
}

body {
    overflow-x: clip;
}

#hero,
#events,
#rezepte,
#ueber-uns,
#kontakt {
    scroll-margin-top: calc(var(--header-height) + 20px);
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-stack);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
}

.main-content {
    overflow-x: clip;
}

/* --- NAVBAR --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-surface-glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform var(--transition), padding var(--transition), background var(--transition), border-color var(--transition);
    transform: translateY(0);
}

.site-header.is-hidden {
    transform: translateY(-100%);
}

.site-header.is-scrolled {
    padding: 0;
    background: rgba(11, 10, 10, 0.92);
    border-bottom-color: rgba(255, 85, 0, 0.12);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 24px;
    min-height: var(--header-height);
}

.site-branding .custom-logo-link {
    display: flex;
    align-items: center;
}

.site-branding .custom-logo {
    max-height: 52px;
    width: auto;
}

.header-logo .custom-logo,
.header-logo .custom-logo--default {
    max-height: 52px;
    width: auto;
}

.mobile-brand-text {
    display: none;
}

.custom-logo--default {
    max-height: 48px;
    width: auto;
    object-fit: contain;
}

.site-logo-text {
    color: #fff;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 2px;
    font-size: 1.25rem;
    text-decoration: none;
    background: linear-gradient(45deg, #fff, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a,
.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition);
}

.nav-links a:hover,
.nav-link:hover {
    color: var(--accent);
}

.nav-cta {
    padding: 10px 20px;
    font-size: 0.85rem;
    white-space: nowrap;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
}

.hamburger-line {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    background: #fff;
    transition: transform var(--transition), opacity var(--transition);
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1001;
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}

.mobile-nav-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    height: 100dvh;
    background: #0f0e0e;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 1002;
    padding: 24px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    visibility: hidden;
}

.mobile-nav-panel.is-open {
    transform: translateX(0);
    visibility: visible;
}

.mobile-nav-branding {
    display: flex;
    justify-content: center;
    padding: 8px 0 28px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav-branding .custom-logo--default {
    max-height: 72px;
    width: auto;
}

body.menu-open .mobile-toggle .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

body.menu-open .mobile-toggle .hamburger-line:nth-child(2) {
    opacity: 0;
}

body.menu-open .mobile-toggle .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-panel .mobile-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 24px;
}

.mobile-cta {
    width: 100%;
    text-align: center;
}

@media (max-width: 900px) {
    .primary-nav {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .site-branding .header-logo {
        display: none;
    }

    .mobile-brand-text {
        display: inline-block;
        margin-right: auto;
        color: #fff;
        font-size: 1.2rem;
        font-weight: 900;
        letter-spacing: 1.5px;
        text-decoration: none;
        text-transform: uppercase;
        background: linear-gradient(45deg, #fff, var(--accent));
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}

/* --- HERO --- */
.hero-section {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    overflow: clip;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--header-height) + 60px) 24px 80px;
    background: var(--hero-bg, none);
    background-size: cover;
    background-position: center;
}

.hero-media,
.hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-media {
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    background: radial-gradient(circle at center, rgba(255, 85, 0, 0.18) 0%, rgba(0, 0, 0, 0) 65%), linear-gradient(rgba(11, 10, 10, 0.55), rgba(11, 10, 10, 0.88));
}

.hero-section--no-image {
    background:
        radial-gradient(circle at center, rgba(255, 85, 0, 0.18) 0%, rgba(0, 0, 0, 0) 65%),
        linear-gradient(180deg, #141212 0%, var(--bg-main) 100%);
}

.hero-inner {
    max-width: 760px;
    position: relative;
    z-index: 1;
}

.hero-badge,
.section-eyebrow {
    display: inline-block;
    background: rgba(255, 85, 0, 0.1);
    border: 1px solid rgba(255, 85, 0, 0.35);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.hero-section h1 {
    font-size: clamp(2.8rem, 8vw, 4.8rem);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.05;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 40px;
}

.hero-cta .btn-secondary {
    margin-left: 12px;
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent);
    color: #fff;
    box-shadow: 0 4px 20px rgba(255, 85, 0, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 85, 0, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #fff;
}

/* --- STATS --- */
.stats-bar {
    background: var(--bg-surface);
    border-top: 1px solid rgba(255, 85, 0, 0.1);
    border-bottom: 1px solid rgba(255, 85, 0, 0.1);
    padding: 48px 24px;
}

.stats-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.stats-item {
    text-align: center;
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stats-item > .stats-icon {
    display: inline-flex;
    color: var(--accent);
    margin-bottom: 4px;
}

.stats-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.stats-value {
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    line-height: 1;
    margin-bottom: 4px;
}

.stats-counter-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.stats-counter-prefix {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-muted);
}

.about-section,
.recipes-preview-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 72px 20px;
}

.about-section__inner {
    max-width: 760px;
}

.about-section__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
}

.about-section h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.about-section .entry-content {
    margin-bottom: 28px;
}

.about-preview-content {
    position: relative;
    max-height: 15rem;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 68%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 68%, transparent 100%);
}

.about-image-placeholder {
    min-height: 360px;
    border: 1px dashed rgba(255, 255, 255, .25);
    border-radius: var(--radius);
    display: grid;
    place-items: center;
    padding: 24px;
    color: var(--text-muted);
    text-align: center;
    background: radial-gradient(circle at 50% 35%, rgba(255, 85, 0, .2), transparent 55%), var(--bg-surface);
}

.about-image {
    margin: 0;
    min-height: 360px;
    border-radius: var(--radius);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.about-gallery {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 170px;
    gap: 10px;
}

.about-gallery__item {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border-radius: calc(var(--radius) * .7);
    background: var(--bg-surface);
}

.about-gallery__item--1,
.about-gallery__item--4 {
    grid-row: span 2;
}

.about-gallery__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.about-gallery-trigger {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: zoom-in;
}

.about-gallery__item:hover img {
    transform: scale(1.04);
}

.about-page-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(150px, 38vw, 220px);
    gap: 10px;
    min-width: 0;
}

.about-page-gallery__item {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--bg-surface);
}

.about-page-gallery__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-page-gallery__item--1,
.about-page-gallery__item--4 {
    grid-row: span 2;
}

.about-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
}

.about-lightbox {
    position: fixed;
    z-index: 2100;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .24s ease, visibility .24s ease;
}

.about-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.about-lightbox__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(0, 0, 0, .72);
    backdrop-filter: blur(7px);
    cursor: zoom-out;
}

.about-lightbox__viewer {
    position: relative;
    z-index: 1;
    width: min(86vw, 720px);
    height: min(58dvh, 540px);
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 0;
    padding: 48px 18px 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 16px;
    background: rgba(18, 16, 16, .58);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .48);
    transform: scale(.96);
    transition: transform .24s ease;
}

.about-lightbox.is-open .about-lightbox__viewer {
    transform: scale(1);
}

.about-lightbox__image {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.about-lightbox__close {
    position: absolute;
    z-index: 2;
    top: 8px;
    right: 8px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    background: rgba(10, 9, 9, .58);
    color: #fff;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
}

.mecks-admin-gallery-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 10px;
}

.mecks-admin-gallery-preview img {
    width: 88px;
    height: 88px;
    border-radius: 6px;
    object-fit: cover;
}

.stats-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.stats-icon {
    display: inline-flex;
    color: var(--accent);
}

.stats-icon-accent {
    font-size: 2rem;
    color: var(--accent);
}

.stats-sublabel {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent);
}

.stats-divider {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.08);
}

/* --- EVENTS CAROUSEL --- */
.events-section,
.contact-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 72px 20px;
}

.page-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: calc(var(--header-height) + 48px) 20px 72px;
}

.events-archive-grid {
    padding-top: 8px;
}

.event-filters {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin: 38px 0 48px;
    padding: 24px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    background:
        linear-gradient(145deg, rgba(255, 85, 0, 0.075), transparent 38%),
        var(--bg-surface);
    box-shadow: 0 24px 65px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.event-filters::before {
    position: absolute;
    z-index: -1;
    top: -140px;
    right: -110px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255, 85, 0, 0.12);
    filter: blur(80px);
    content: "";
}

.event-filters__heading {
    display: grid;
    gap: 12px;
    margin-bottom: 28px;
    padding: 0 4px;
}

.event-filters__eyebrow,
.event-filter-label {
    display: block;
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.event-filters__heading h2 {
    margin: 7px 0 0;
    color: #fff;
    font-size: clamp(1.35rem, 6vw, 1.8rem);
    line-height: 1.1;
    text-transform: uppercase;
}

.event-filters__heading p {
    margin: 0;
    color: var(--text-muted);
    max-width: 540px;
    font-size: 0.92rem;
    line-height: 1.65;
}

.event-filter-form {
    display: grid;
    gap: 20px;
}

.event-filter-field {
    display: grid;
    min-width: 0;
    gap: 10px;
}

.event-filter-input-wrap {
    position: relative;
    display: block;
}

.event-filter-icon {
    position: absolute;
    inset: 0 auto 0 18px;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.55);
    pointer-events: none;
}

.event-filter-field input,
.event-filter-field select {
    width: 100%;
    min-width: 0;
    height: 54px;
    padding: 0 48px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(8, 8, 8, 0.78);
    color: #fff;
    color-scheme: dark;
    font: inherit;
    font-size: 0.92rem;
    transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.event-filter-field--search input {
    padding-right: 20px;
    padding-left: 52px;
}

.event-filter-field input::placeholder {
    color: rgba(255, 255, 255, 0.42);
}

.event-filter-field select {
    appearance: none;
    cursor: pointer;
}

.event-filter-select-wrap::after {
    position: absolute;
    top: 50%;
    right: 20px;
    width: 8px;
    height: 8px;
    border-right: 2px solid rgba(255, 255, 255, 0.6);
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
    content: "";
    pointer-events: none;
    transform: translateY(-70%) rotate(45deg);
}

.event-filter-field input:focus,
.event-filter-field select:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(12, 12, 12, 0.95);
    box-shadow: 0 0 0 4px rgba(255, 85, 0, 0.13), 0 10px 30px rgba(0, 0, 0, 0.2);
}

.event-filter-actions {
    display: grid;
    gap: 12px;
    padding-top: 4px;
}

.event-filter-submit {
    width: 100%;
    min-height: 54px;
    border-radius: 999px;
    font-weight: 750;
    letter-spacing: 0.015em;
}

.event-filter-reset {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
}

.event-filter-reset:hover,
.event-filter-reset:focus-visible {
    color: #fff;
}

.event-filter-result {
    margin: 24px 4px 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-size: 0.88rem;
}

.event-filter-empty {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 46px 20px;
    text-align: center;
}

.event-filter-empty h2,
.event-filter-empty p {
    margin: 0;
}

.event-filter-empty p {
    color: var(--text-muted);
}

.page-hero {
    padding-top: 8px;
}

.page-hero .section-eyebrow {
    margin-bottom: 16px;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: rgba(255, 85, 0, 0.1);
    border: 1px solid rgba(255, 85, 0, 0.25);
    color: var(--accent);
}

.section-header h2,
.page-hero h1 {
    font-size: clamp(2rem, 5vw, 2.6rem);
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-header p,
.page-hero p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.loop-carousel-wrap {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
}

.loop-carousel-viewport {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    padding: 8px 4px 16px;
    touch-action: pan-x pan-y;
}

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

.loop-carousel-viewport > .event-card,
.loop-carousel-viewport > .recipe-card {
    flex: 0 0 86%;
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.event-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.loop-carousel-btn {
    display: none;
    position: absolute;
    z-index: 3;
    top: 50%;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    place-items: center;
    cursor: pointer;
    transform: translateY(-50%);
    transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.loop-carousel-btn:hover,
.loop-carousel-btn:focus-visible {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(255, 85, 0, 0.08);
}

.section-actions {
    text-align: center;
    margin-top: 40px;
}

/* --- EVENT CARDS --- */
.blog-card {
    background-color: var(--bg-surface);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.4s var(--transition);
}

.card-image-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.card-image-wrapper img,
.card-image-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card-image-placeholder {
    background: linear-gradient(135deg, #1a1717, #2a2018);
}

.card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(5px);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid rgba(255, 85, 0, 0.2);
}

.post-content {
    padding: 28px;
}

.blog-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-weight: 700;
}

.event-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.event-card-meta span:not(:last-child)::after {
    content: "·";
    margin-left: 10px;
}

.post-excerpt {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 16px;
}

.event-card .post-excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

.card-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.88rem;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 85, 0, 0.28);
    box-shadow: 0 12px 30px rgba(255, 85, 0, 0.1);
}

.blog-card:hover .card-image-wrapper img {
    transform: scale(1.05);
}

.events-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

/* --- CONTACT --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    align-items: start;
}

.contact-info h2 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    margin-bottom: 14px;
}

.contact-details strong {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-details a {
    color: var(--accent);
    text-decoration: none;
}

.contact-form-wrap,
.contact-form-placeholder {
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 32px;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.contact-form-placeholder p {
    color: var(--text-muted);
    margin-bottom: 12px;
}

.wpcf7 form {
    display: grid;
    gap: 18px;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.wpcf7 form > *,
.wpcf7 label,
.wpcf7 .wpcf7-form-control-wrap {
    min-width: 0;
    max-width: 100%;
}

.wpcf7,
.wpcf7-form,
.wpcf7-form-control-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.wpcf7 .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.wpcf7 label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-muted);
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="date"],
.wpcf7 input[type="number"],
.wpcf7 textarea {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 6px;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    font: inherit;
}

.wpcf7 textarea {
    min-height: 120px;
    resize: vertical;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 85, 0, 0.15);
}

.wpcf7 .wpcf7-submit {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition);
}

.wpcf7 .wpcf7-submit:hover {
    background: var(--accent-hover);
}

.wpcf7 form > div[style*="display: flex"] {
    min-width: 0;
    max-width: 100%;
    flex-wrap: wrap;
}

.wpcf7 form > div[style*="display: flex"] > div {
    min-width: 0;
    max-width: 100%;
    flex: 1 1 0 !important;
    box-sizing: border-box;
    width: 100%;
}

.wpcf7 form > div[style*="display: flex"] label,
.wpcf7 form > div[style*="display: flex"] .wpcf7-form-control-wrap,
.wpcf7 form > div[style*="display: flex"] input {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.wpcf7 form > div[style*="display: flex"] input[type="date"] {
    min-inline-size: 0;
    inline-size: 100%;
}

.wpcf7 .wpcf7-acceptance label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-weight: 400;
    font-size: 0.85rem;
}

.wpcf7 .wpcf7-acceptance input {
    margin-top: 4px;
}

.wpcf7 .wpcf7-acceptance a {
    color: var(--accent);
}

.wpcf7-not-valid-tip {
    color: #ff6b6b;
    font-size: 0.82rem;
}

.wpcf7-response-output {
    margin: 12px 0 0;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.9rem;
}

/* --- EVENT SINGLE --- */
.event-single-header {
    max-width: 1200px;
    margin: 0 auto;
    padding: calc(var(--header-height) + 32px) 24px 24px;
    text-align: center;
}

.event-single-header .back-link {
    width: 100%;
    justify-content: center;
    margin-bottom: 28px;
}

.event-single-header h1 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    text-transform: uppercase;
    line-height: 1.15;
}

.event-single-header .hero-badge {
    margin-bottom: 12px;
}

.event-single-top {
    max-width: 1200px;
    margin: 0 auto;
    padding: calc(var(--header-height) + 24px) 24px 0;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition);
}

.back-link:hover {
    color: var(--accent);
}

.event-hero {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.event-hero--with-overlay .event-hero-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 40px;
}

.event-hero-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 420px;
}

.event-hero-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.event-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 10, 10, 0.95), rgba(11, 10, 10, 0.2));
    pointer-events: none;
}

.event-hero-image .event-image-trigger {
    height: 420px;
}

.event-single-header .back-link {
    display: flex;
    margin: 0 0 28px;
}

.event-hero-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 40px;
}

.event-hero-content h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    text-transform: uppercase;
}

.event-gallery-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.gallery-slider-viewport {
    overflow: hidden;
}

.gallery-slider-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-slide {
    flex: 0 0 100%;
}

.event-image-trigger {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.gallery-slide img {
    width: 100%;
    height: min(56vw, 480px);
    object-fit: cover;
    display: block;
}

.gallery-slide video,
.gallery-item video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #0a0909;
    pointer-events: none;
}

.gallery-slide video {
    height: min(56vw, 480px);
}

.event-video-trigger {
    position: relative;
}

.event-video-trigger::after {
    content: "▶";
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 50%;
    background: rgba(0, 0, 0, .58);
    color: #fff;
    font-size: 1.35rem;
    line-height: 1;
    transform: translate(-50%, -50%);
    transition: transform var(--transition), background var(--transition);
}

.event-video-trigger:hover::after,
.event-video-trigger:focus-visible::after {
    background: var(--accent);
    transform: translate(-50%, -50%) scale(1.08);
}

.gallery-slider-prev,
.gallery-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(11, 10, 10, 0.72);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    z-index: 2;
}

.gallery-slider-prev {
    left: 16px;
}

.gallery-slider-next {
    right: 16px;
}

.gallery-slider-prev:hover,
.gallery-slider-next:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.event-meta-bar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px 0;
}

.event-meta-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 24px;
}

.event-meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    text-align: center;
}

.event-meta-item > div {
    min-width: 0;
}

.event-meta-grid--items-1 .event-meta-item {
    width: min(100%, 360px);
    justify-self: center;
}

.meta-icon {
    display: inline-flex;
    color: var(--accent);
    flex-shrink: 0;
}

.meta-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.meta-value {
    font-weight: 600;
}

.event-content-section,
.event-gallery-section,
.event-cta-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 0;
}

.event-content-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 32px;
}

.event-content-grid--columns-1 {
    grid-template-columns: minmax(0, 1fr);
}

.event-gallery-inline {
    min-width: 0;
}

.event-description h2,
.event-gallery-section h2 {
    font-size: 1.6rem;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.entry-content {
    color: var(--text-muted);
}

.entry-content p {
    margin-bottom: 16px;
}

.event-menu-block {
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 24px;
}

.menu-block-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--accent);
}

.menu-block-header h3 {
    font-size: 1.1rem;
}

.menu-list {
    list-style: none;
}

.menu-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.menu-list li:last-child {
    border-bottom: none;
}

.event-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-gallery-content > h2 {
    font-size: 1.6rem;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.event-gallery-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.event-gallery-hint > span:first-child {
    color: var(--accent);
    font-size: 1.25rem;
    line-height: 1;
}

.event-lightbox {
    position: fixed;
    z-index: 2000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

.event-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.event-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}

.event-lightbox__content {
    position: relative;
    z-index: 1;
    width: min(88vw, 620px);
    height: min(48vh, 420px);
    height: min(48dvh, 420px);
    padding: 50px 48px 16px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(18, 16, 16, 0.58);
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
    transform: scale(.96);
    transition: transform var(--transition), opacity var(--transition);
}

.event-lightbox.is-open .event-lightbox__content { transform: scale(1); }

.event-lightbox__image {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.event-lightbox__video {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    max-width: 100%;
    max-height: 100%;
    background: #000;
    object-fit: contain;
}

.event-lightbox__image[hidden],
.event-lightbox__video[hidden] {
    display: none;
}

.event-lightbox__close,
.event-lightbox__fullscreen,
.event-lightbox__previous,
.event-lightbox__next {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(11, 10, 10, .58);
    color: #fff;
    cursor: pointer;
}

.event-lightbox__close {
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 2rem;
    line-height: 1;
}

.event-lightbox__fullscreen {
    top: 10px;
    right: 64px;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    font-size: 1.45rem;
    line-height: 1;
}

.event-lightbox__image:fullscreen,
.event-lightbox__video:fullscreen {
    width: 100vw;
    height: 100vh;
    max-width: none;
    max-height: none;
    object-fit: contain;
    background: #000;
}

.event-lightbox__previous,
.event-lightbox__next {
    top: 50%;
    width: 42px;
    height: 52px;
    border-radius: 8px;
    font-size: 2.5rem;
    transform: translateY(-50%);
}

.event-lightbox__previous { left: 10px; }
.event-lightbox__next { right: 10px; }
body.lightbox-open { overflow: hidden; }

.gallery-item:hover img {
    transform: scale(1.04);
}

.event-cta-section {
    text-align: center;
    padding-bottom: 80px;
}

.event-cta-section p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.event-post-navigation {
    position: fixed;
    z-index: 40;
    top: 50%;
    right: 10px;
    left: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    pointer-events: none;
    transform: translateY(-50%);
}

.event-post-navigation__link,
.event-post-navigation__spacer {
    width: 54px;
    height: 54px;
}

.event-post-navigation__link {
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 15px;
    background: rgba(18, 18, 18, 0.88);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    color: #fff;
    pointer-events: auto;
    text-decoration: none;
    backdrop-filter: blur(12px);
    transition: border-color var(--transition), color var(--transition), background var(--transition), box-shadow var(--transition), transform var(--transition);
}

.event-post-navigation__link--previous {
    justify-self: start;
}

.event-post-navigation__link--next {
    justify-self: end;
}

.event-post-navigation__link:hover,
.event-post-navigation__link:focus-visible {
    border-color: var(--accent);
    background: rgba(255, 85, 0, 0.16);
    box-shadow: 0 16px 40px rgba(255, 85, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    color: var(--accent);
    outline: none;
}

.event-post-navigation__link--previous:hover,
.event-post-navigation__link--previous:focus-visible {
    transform: translateX(-3px);
}

.event-post-navigation__link--next:hover,
.event-post-navigation__link--next:focus-visible {
    transform: translateX(3px);
}

.event-post-navigation__link svg {
    width: 24px;
    height: 24px;
}

.event-post-navigation__link span {
    display: none;
}

/* --- RECIPES --- */
.recipe-search-bar {
    max-width: 560px;
    margin: 44px auto 40px;
    position: relative;
}

.recipe-search-bar input {
    width: 100%;
    padding: 14px 18px 14px 48px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--bg-surface);
    color: #fff;
    font: inherit;
}

.recipe-search-bar input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 85, 0, 0.15);
}

.recipe-search-icon {
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    display: grid;
    place-items: center;
    transform: none;
    color: var(--text-muted);
    pointer-events: none;
}

.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.recipes-carousel-viewport {
    min-width: 0;
}

.loop-carousel-viewport > .is-carousel-clone {
    pointer-events: none;
}

.recipe-card {
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
}

.recipe-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 85, 0, 0.25);
}

.recipe-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.recipe-card-image {
    height: 200px;
    overflow: hidden;
}

.recipe-card-image img,
.recipe-card-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recipe-card-placeholder {
    background: linear-gradient(135deg, #1a1717, #2a2018);
}

.recipe-card-body {
    padding: 24px;
}

.recipe-card-body h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.recipe-card-body p {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

.recipe-single {
    min-height: 100vh;
    background: #000;
}

.recipe-single-shell {
    width: min(100%, 1120px);
    margin: 0 auto;
    padding: calc(var(--header-height) + 24px) 18px 72px;
}

.recipe-history-back {
    margin-bottom: 18px;
    padding: 8px 0;
}

.recipe-hero-card {
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    background: linear-gradient(135deg, #151313, #0d0c0c);
}

.recipe-single-image {
    width: 100%;
    overflow: hidden;
    background: #171313;
}

.recipe-single-image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.recipe-single-header {
    padding: 24px 18px 28px;
    text-align: center;
}

.recipe-single-header .section-eyebrow {
    margin-bottom: 14px;
}

.recipe-single-header h1 {
    max-width: 900px;
    margin: 0 auto;
    font-size: clamp(1.75rem, 7vw, 3rem);
    line-height: 1.12;
    text-transform: uppercase;
}

.recipe-single-header .hero-subtitle {
    max-width: 720px;
    margin: 14px auto 0;
}

.recipe-facts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    margin-top: 18px;
    list-style: none;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.recipe-facts li:not(:last-child)::after {
    content: "·";
    margin-left: 18px;
    color: var(--accent);
}

.recipe-facts strong {
    color: var(--text-main);
}

.recipe-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.recipe-block {
    background: linear-gradient(145deg, #151313, #100f0f);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 22px 18px;
}

.recipe-block h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    margin-bottom: 16px;
    color: var(--accent);
}

.recipe-block .entry-content img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 24px 0;
    border-radius: var(--radius);
}

.recipe-block .entry-content figure {
    max-width: 100%;
    margin: 24px 0;
}

.recipe-ingredients-list {
    list-style: none;
}

.recipe-ingredients-list li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.recipe-ingredient-check {
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
    margin: 2px 0 0;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
}

.recipe-ingredient-check:checked {
    border-color: var(--accent);
    background: var(--accent);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8 3 3 7-7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 14px 14px;
}

.recipe-ingredient-check:focus-visible {
    outline: 3px solid rgba(255, 85, 0, 0.35);
    outline-offset: 2px;
}

.recipe-ingredients-list label {
    flex: 1;
    cursor: pointer;
}

.recipe-ingredient-check:checked + label {
    color: var(--text-main);
    text-decoration: line-through;
    text-decoration-color: var(--accent);
}

.recipe-ingredients-list li:last-child {
    border-bottom: none;
}

.recipe-preparation-list {
    counter-reset: recipe-step;
    list-style: none;
}

.recipe-preparation-list li {
    position: relative;
    min-height: 44px;
    padding: 14px 0 18px 38px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    color: var(--text-muted);
    counter-increment: recipe-step;
}

.recipe-preparation-list li::before {
    content: counter(recipe-step) ".";
    position: absolute;
    top: 12px;
    left: 0;
    color: var(--accent);
    font-size: 1.1rem;
    font-weight: 800;
}

.recipe-preparation-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.recipe-preparation-list p {
    margin: 0;
}

.recipe-preparation-list h3 {
    margin: 0 0 6px;
    color: var(--text);
    font-size: 1rem;
    font-weight: 700;
}

.recipe-step-image {
    display: block;
    width: 100%;
    max-width: 360px;
    margin: 14px 0 0;
    overflow: hidden;
    border-radius: 10px;
}

.recipe-step-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.recipe-additional-content {
    margin-top: 20px;
}

.recipe-search-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 32px 24px;
}

/* --- PAGES --- */
.page-content .page-hero {
    margin-bottom: 32px;
}

.page-content .entry-content {
    max-width: 760px;
}

.page-content .entry-content h2,
.page-content .entry-content h3 {
    margin: 24px 0 12px;
    color: #fff;
}

.pagination-wrap {
    max-width: 1200px;
    margin: 48px auto 0;
    padding: 0 24px 60px;
}

.pagination-wrap .nav-links {
    justify-content: center;
    gap: 16px;
}

.pagination-wrap a,
.pagination-wrap span {
    color: var(--text-muted);
    text-decoration: none;
}

.pagination-wrap .current {
    color: var(--accent);
}

.empty-state {
    text-align: center;
    color: var(--text-muted);
    padding: 40px 24px;
}

/* --- FOOTER --- */
.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: #050505;
    padding: 48px 24px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 24px;
    text-align: center;
}

.footer-logo {
    display: inline-flex;
    justify-content: center;
}

.contact-hours {
    color: var(--text-muted);
}

.contact-hours strong {
    display: block;
    color: var(--text-main);
    margin-bottom: 4px;
}

.contact-hours p {
    margin-bottom: 0;
}

.footer-logo .custom-logo,
.footer-logo .custom-logo--default {
    width: auto;
    max-height: 72px;
}

.footer-tagline,
.footer-copy {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer-nav a:hover {
    color: var(--accent);
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.footer-socials a {
    padding: 8px 14px;
    border: 1px solid rgba(255, 85, 0, 0.28);
    border-radius: 999px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.86rem;
    transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
    border-color: var(--accent);
    background: rgba(255, 85, 0, 0.1);
    color: #fff;
}

@media (max-width: 600px) {
    .contact-form-wrap,
    .contact-form-placeholder {
        padding: 24px 18px;
    }

    .wpcf7 input[type="text"],
    .wpcf7 input[type="email"],
    .wpcf7 input[type="tel"],
    .wpcf7 input[type="date"],
    .wpcf7 input[type="number"],
    .wpcf7 textarea {
        min-height: 48px;
        font-size: 16px;
    }

    .wpcf7 input[type="date"] {
        -webkit-appearance: none;
        appearance: none;
    }

    .wpcf7 form [class*="row"],
    .wpcf7 form [class*="grid"],
    .wpcf7 form [class*="columns"],
    .wpcf7 form [style*="grid-template-columns"] {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 18px !important;
        width: 100% !important;
    }

    .wpcf7 form [class*="row"] > *,
    .wpcf7 form [class*="grid"] > *,
    .wpcf7 form [class*="columns"] > * {
        width: 100% !important;
        min-width: 0 !important;
    }

    .wpcf7 form > div[style*="display: flex"] {
        flex-direction: column;
        gap: 18px !important;
    }

    .wpcf7 form > div[style*="display: flex"] > div {
        width: 100% !important;
        flex: 1 1 100% !important;
    }

    .wpcf7 form > div[style*="display: flex"] label,
    .wpcf7 form > div[style*="display: flex"] .wpcf7-form-control-wrap,
    .wpcf7 form > div[style*="display: flex"] input[type="date"],
    .wpcf7 form > div[style*="display: flex"] input[type="number"] {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .about-preview-content {
        max-height: 14rem;
    }
}

@media (min-width: 640px) {
    .event-meta-grid--items-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .event-meta-grid--items-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .event-meta-grid--items-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .event-meta-item {
        flex-direction: row;
        text-align: left;
        gap: 12px;
    }
}

@media (min-width: 780px) {
    .event-filters {
        margin-top: 46px;
        padding: 32px;
    }

    .event-filters__heading {
        grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
        align-items: center;
        gap: 32px;
        margin-bottom: 32px;
    }

    .event-filters__heading p {
        text-align: right;
    }

    .event-filter-form {
        grid-template-columns: minmax(250px, 1.5fr) minmax(160px, 0.75fr) minmax(140px, 0.6fr);
        align-items: end;
        gap: 18px;
    }

    .event-filter-actions {
        grid-column: 1 / -1;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 18px;
        padding-top: 8px;
    }

    .event-filter-submit {
        width: auto;
        min-width: 190px;
    }

    .event-filter-reset {
        padding: 0 8px;
    }

    .recipe-single-shell {
        padding-right: 24px;
        padding-bottom: 96px;
        padding-left: 24px;
    }

    .recipe-single-image img {
        aspect-ratio: 16 / 8;
        max-height: 520px;
    }

    .recipe-single-header {
        padding: 30px 40px 34px;
    }

    .recipe-detail-grid {
        grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.5fr);
        gap: 24px;
    }

    .recipe-block {
        padding: 28px;
    }
}

/* --- ANIMATIONS --- */
.reveal {
    opacity: 1;
    transform: none;
}

.has-scroll-animations .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.has-scroll-animations .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .blog-card:hover {
        transform: none;
    }
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .event-content-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .stats-container {
        flex-direction: column;
    }

    .stats-divider {
        display: none;
    }

    .hero-cta {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .hero-cta .btn-secondary {
        margin-left: 0;
    }

    .event-hero-image,
    .event-hero-image img {
        min-height: 280px;
        height: 280px;
    }

    .event-hero-content {
        padding: 24px;
    }

    .events-section,
    .contact-section,
    .about-section,
    .recipes-preview-section {
        padding: 56px 20px;
    }

    .page-shell {
        padding: calc(var(--header-height) + 40px) 20px 72px;
    }

    .event-single-header {
        padding-top: calc(var(--header-height) + 48px);
    }

    .event-hero--with-overlay .event-hero-content {
        position: static;
        padding: 0;
    }

    .event-hero--with-overlay .event-hero-content h1 {
        display: none;
    }

    .event-hero-image .event-image-trigger {
        height: 280px;
    }

    .about-image,
    .about-image-placeholder {
        display: none;
    }

    .hero-section {
        padding: calc(var(--header-height) + 40px) 20px 40px;
    }

    .hero-subtitle {
        margin-bottom: 28px;
    }

    .recipe-search-bar {
        margin: 12px auto 32px;
    }

    .event-lightbox {
        padding: 12px;
    }

    .event-lightbox__previous,
    .event-lightbox__next {
        width: 42px;
        height: 48px;
    }

    .event-lightbox__fullscreen {
        top: 8px;
        right: 54px;
        width: 40px;
        height: 40px;
    }

    .event-lightbox__close {
        top: 8px;
        right: 8px;
        width: 40px;
        height: 40px;
    }

    .event-lightbox__previous {
        left: 6px;
    }

    .event-lightbox__next {
        right: 6px;
    }

    .event-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .gallery-item {
        aspect-ratio: 1 / 1;
    }

    .event-gallery-slider {
        overflow: visible;
        border: 0;
        border-radius: 0;
    }

    .gallery-slider-viewport {
        overflow: visible;
    }

    .gallery-slider-track {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        transform: none !important;
    }

    .gallery-slide {
        min-width: 0;
        aspect-ratio: 1 / 1;
        overflow: hidden;
        border-radius: 10px;
    }

    .gallery-slide img,
    .gallery-slide video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .gallery-slider-prev,
    .gallery-slider-next {
        display: none;
    }

}

@media (min-width: 640px) {
    .event-post-navigation {
        right: 24px;
        left: 24px;
    }

    .event-post-navigation__link,
    .event-post-navigation__spacer {
        width: auto;
        min-width: 174px;
        height: 58px;
    }

    .event-post-navigation__link {
        display: inline-flex;
        gap: 10px;
    }

    .event-post-navigation__link--previous {
        justify-self: start;
        padding: 0 20px 0 14px;
    }

    .event-post-navigation__link--next {
        justify-self: end;
        padding: 0 14px 0 20px;
    }

    .event-post-navigation__link span {
        display: inline;
        font-size: 0.84rem;
        font-weight: 700;
    }

    .loop-carousel-viewport > .event-card,
    .loop-carousel-viewport > .recipe-card {
        flex-basis: calc((100% - 16px) / 2);
    }
}

@media (min-width: 769px) {
    .about-section__grid {
        grid-template-columns: minmax(0, 1fr) minmax(340px, .9fr);
    }

    .about-gallery {
        display: grid;
    }

    .loop-carousel-btn {
        display: grid;
        position: static;
        align-self: center;
        transform: none;
    }

    .loop-carousel-wrap {
        grid-template-columns: 52px minmax(0, 1fr) 52px;
        column-gap: 12px;
    }

    .loop-carousel-viewport {
        grid-column: 2;
    }

    .loop-carousel-prev {
        grid-column: 1;
        grid-row: 1;
    }

    .loop-carousel-next {
        grid-column: 3;
        grid-row: 1;
    }

    .event-lightbox__content {
        width: min(64vw, 680px);
        height: min(48vh, 450px);
        height: min(48dvh, 450px);
        padding: 58px 60px 22px;
    }

    .about-lightbox__viewer {
        width: min(72vw, 760px);
        height: min(68dvh, 620px);
        padding: 54px 24px 24px;
    }
}

@media (min-width: 900px) {
    .about-page-layout {
        grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
        gap: clamp(40px, 6vw, 88px);
        align-items: start;
    }

    .about-page-gallery {
        grid-auto-rows: clamp(180px, 17vw, 250px);
        position: sticky;
        top: calc(var(--header-height) + 28px);
    }
}

@media (min-width: 1024px) {
    .loop-carousel-viewport > .event-card,
    .loop-carousel-viewport > .recipe-card {
        flex-basis: calc((100% - 32px) / 3);
    }
}
