/* Ultima Cena — visual direction inspired by the Nexo Studios reference */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&display=swap');
:root {
    --bg: #e7ded5;
    --surface: #f4eee8;
    --surface-soft: rgba(244, 238, 232, 0.94);
    --ink: #282320;
    --ink-soft: rgba(40, 35, 32, 0.7);
    --line: rgba(40, 35, 32, 0.16);
    --charcoal: #090909;
    --charcoal-soft: #1b1715;
    --gold: #d6a92f;
    --gold-deep: #9a7026;
    --font-display: "Cormorant Garamond", Georgia, serif;
    --font-label: "Cormorant Garamond", Georgia, serif;
    --font-body: "Cormorant Garamond", Georgia, serif;
}

body {
    background: #e7ded5;
    color: var(--ink);
    font-family: var(--font-body);
}

body,
body button,
body input,
body textarea,
body select,
body option,
body p,
body li,
body dt,
body dd,
body a,
body label,
body small,
body strong,
body em,
body span {
    font-family: var(--font-body) !important;
}

p,
.section-heading__lead,
.hero-public__lead {
    color: var(--ink-soft);
    font-family: var(--font-body);
}

h1,
h2,
h3,
h4 {
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: -0.025em;
    text-transform: none;
}

h1, h2, h3, h4, h5, h6,
.eyebrow,
.section-heading__lead,
.button,
.site-nav__cta,
.site-header .menu a {
    font-family: var(--font-display) !important;
}

.site-header {
    background: rgba(9, 9, 9, 0.96);
    border-bottom-color: rgba(255, 255, 255, 0.13);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.site-header .menu a,
.site-header .site-nav__cta,
.site-header .lang-switcher__link {
    color: rgba(255, 255, 255, 0.88);
    font-family: var(--font-label);
}

.site-header .menu a:hover,
.site-header .menu a:focus-visible,
.site-header .site-nav__cta:hover,
.site-header .site-nav__cta:focus-visible {
    color: #111;
    background: var(--gold);
}

.site-header .nav-toggle {
    background: rgba(255, 255, 255, 0.1);
}

.site-header .nav-toggle span { background: #fff; }

.button,
.site-nav__cta {
    border-radius: 3px;
    font-family: var(--font-label);
    letter-spacing: 0.08em;
}

.button--primary {
    background: var(--gold);
    color: #111;
    box-shadow: 0 10px 22px rgba(126, 88, 19, 0.26);
}

.button--primary:hover,
.button--primary:focus-visible {
    background: #f0c94b;
    color: #111;
}

.button--ghost {
    background: transparent;
    border-color: currentColor;
    color: var(--ink);
}

.button--ghost:hover,
.button--ghost:focus-visible {
    background: var(--ink);
    color: var(--surface);
}

.section--intro,
.section--manifesto-cards,
.section--story,
.section--community,
.section--community-cta,
.section--videos,
.section--timeline,
.section--faq,
.section--news {
    background: var(--surface);
}

.section--story,
.section--videos,
.section--timeline {
    background: #ded2c8;
}

.section--community-cta,
.section--faq {
    background: #0d0c0b;
    color: #f4eee8;
}

.section--community-cta h1,
.section--community-cta h2,
.section--community-cta h3,
.section--community-cta p,
.section--faq h1,
.section--faq h2,
.section--faq h3,
.section--faq p {
    color: #f4eee8;
}

.eyebrow,
.value-card span,
.story-note strong,
.timeline-card__year,
.post-card time,
.content-card__meta {
    color: var(--gold-deep);
    font-family: var(--font-label);
}

.hero-public {
    min-height: min(88vh, 900px);
    background: #090909;
}

.hero-public__overlay {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.36) 54%, rgba(0, 0, 0, 0.56) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.12) 35%, rgba(0, 0, 0, 0.82) 100%);
}

.hero-public__content {
    width: min(1180px, calc(100vw - 40px));
    padding: 4rem 0;
    text-align: left;
}

.hero-public__content h1 {
    width: 100%;
    max-width: none;
    text-align: center;
    color: #f7f0e9;
    font-weight: 300;
}

.hero-public__content .eyebrow { color: var(--gold); }
.hero-public__content > .eyebrow::after {
    content: "";
    display: block;
    width: 1.8rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
}
.hero-public__lead { color: rgba(247, 240, 233, 0.84); }
.hero-public__actions { justify-content: flex-start; }

/* The supplied title lockup is intentionally prominent in the cinematic hero. */
.hero-public__title-image {
    width: min(98vw, 1320px);
    max-width: 98vw !important;
    max-height: none !important;
    height: auto !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}

.brand__logo-image,
.brand__logo img,
.brand__logo .custom-logo-link,
.brand__link {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}

.value-card,
.story-note,
.timeline-card,
.faq-item,
.post-card,
.content-card,
.community-panel__box {
    background: rgba(250, 246, 241, 0.72);
    border: 1px solid rgba(40, 35, 32, 0.16);
    border-radius: 5px;
    box-shadow: 0 12px 28px rgba(44, 28, 17, 0.1);
    backdrop-filter: none;
}

.section--community-cta .community-panel__box,
.section--faq .faq-item {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: none;
}

.section--faq .faq-item summary,
.section--faq .faq-item p,
.section--faq .faq-item p * {
    color: #f4eee8 !important;
}

.section--faq .faq-item summary::after {
    color: var(--gold) !important;
}

/* Keep the WordPress admin bar readable and native for logged-in editors. */
#wpadminbar,
#wpadminbar * {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    letter-spacing: normal;
    text-transform: none;
}

#wpadminbar .ab-icon::before,
#wpadminbar .ab-item::before,
#wpadminbar .dashicons,
#wpadminbar .dashicons::before,
#wpadminbar .dashicons-before::before {
    font-family: dashicons !important;
    font-style: normal;
    font-weight: 400;
}

/* Keep the trailer card vertically centred inside its section, even when the
   optional desktop gap is set to zero in the backend. */
.section--trailer {
    padding-top: max(3.5rem, calc(clamp(4rem, 8vw, 6.5rem) - var(--trailer-desktop-gap, 0px))) !important;
    padding-bottom: clamp(3.5rem, 8vw, 6.5rem) !important;
}

.site-footer {
    background: #090909;
    border-top-color: rgba(255, 255, 255, 0.14);
}

.site-footer,
.site-footer p,
.site-footer a,
.site-footer__copy p {
    color: rgba(244, 238, 232, 0.76);
}

.site-footer__eyebrow { color: var(--gold); }
.site-footer__copy { border-color: rgba(255, 255, 255, 0.16); }

#lista-cinema {
    background: #d9cdc2 !important;
}

#lista-cinema .acutis-cinema-list {
    border-radius: 5px !important;
    background: #f4eee8 !important;
    box-shadow: 0 18px 40px rgba(42, 27, 17, 0.16) !important;
    color: #282320 !important;
    font-family: var(--font-body) !important;
}

#lista-cinema .acutis-cinema-list * { font-family: var(--font-body) !important; }

#lista-cinema .acutis-cinema-list__head,
#lista-cinema .acutis-cinema-list__filters {
    background: #e9ded4 !important;
}

#lista-cinema .acutis-cinema-list__title,
#lista-cinema .acutis-cinema-list__name {
    color: #282320 !important;
}

#lista-cinema .acutis-cinema-list__button {
    border-radius: 3px !important;
    background: var(--gold) !important;
    color: #111 !important;
    box-shadow: none !important;
}

#lista-cinema .acutis-cinema-list__button:hover { background: #f0c94b !important; }

@media (max-width: 920px) {
    .hero-public__content {
        padding: 3rem 0;
        text-align: center;
    }

    .hero-public__content h1 { margin-inline: auto; }
    .hero-public__actions { justify-content: center; }
}
