/*
 * Laravel-only visual tweaks.
 * Reference theme CSS/JS from mostrajazz-static remains the source of truth.
 */

body {
    --site-header-offset: 120px;
}

.wrap {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.site-content {
    overflow-x: hidden;
    z-index: 2;
    padding-top: var(--site-header-offset);
    padding-bottom: 4rem;
}

/* Side nav sits in the header with z-index:1; keep it above .site-content so links stay clickable. */
.site-header > .uk-position-absolute.uk-position-z-index {
    z-index: 3;
}

/* Orange cards band: full viewport width even when nested in .wrap */
.programacao-cards-section {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
}

@media only screen and (min-width: 700px) {
    body {
        --site-header-offset: 200px;
    }
}

@media (max-width: 959px) {
    .triangle-2 {
        display: none !important;
    }
}

body.home .site-content {
    padding-top: 0;
}

body.page-id-programacao {
    --site-header-offset: 80px;
}

html {
    scroll-padding-top: var(--site-header-offset);
}

body.single .entry-header {
    margin-top: 0 !important;
}

@media (max-width: 639px) {
    ul.events-filter {
        display: flex;
        flex-wrap: nowrap;
        gap: 10px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 6px;
    }

    ul.events-filter::-webkit-scrollbar {
        display: none;
    }

    ul.events-filter li {
        flex: 0 0 auto;
        margin-top: 0;
    }

    ul.events-filter a {
        white-space: nowrap;
    }
}

.single .entry-content > :first-child {
    margin-top: 0;
}

.single .entry-content > :last-child {
    margin-bottom: 0;
}

.single .entry-content p {
    margin-top: 0;
    margin-bottom: 1rem;
}

.single .entry-content h2,
.single .entry-content h3,
.single .entry-content h4,
.single .entry-content h5,
.single .entry-content h6 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.single .entry-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0.75rem 0;
}

.home .site-content > figure.wp-block-image.alignfull {
    margin-top: 0;
    margin-bottom: 0;
}

.home-hero-2026 {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: var(--black, #000);
    color: var(--edicao-white, #fff);
}

.home-hero-2026__bg {
    position: absolute;
    inset: -12% 0 -24% 0;
    z-index: 0;
    background-color: var(--black, #000);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: contain;
    pointer-events: none;
    will-change: transform;
}

.home-hero-2026__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    padding: clamp(3.25rem, 7vh, 4.5rem) 1.25rem clamp(1.5rem, 4vh, 2.5rem);
    text-align: center;
    box-sizing: border-box;
}

.home-hero-2026__logo {
    display: block;
    width: min(88vw, 640px);
    height: auto;
    margin: 0 auto;
    will-change: transform;
}

.home-hero-2026__meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: auto;
    margin-bottom: clamp(1.5rem, 5vh, 3.25rem);
    padding-top: 1rem;
    opacity: 1;
    will-change: transform;
}

.home-hero-2026__date {
    margin: 0;
    font-family: Barlow, sans-serif;
    font-weight: 800;
    font-size: clamp(2.35rem, 7.5vw, 3.85rem);
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
    color: #fff;
}

.home-hero-2026__divider {
    width: min(78%, 480px);
    height: 2px;
    margin: 1rem 0 1.1rem;
    border: 0;
    background: #f84000;
}

.home-hero-2026__stats {
    margin: 0;
    font-family: Barlow, sans-serif;
    font-weight: 500;
    font-size: clamp(1.05rem, 3.3vw, 1.4rem);
    letter-spacing: 0.12em;
    line-height: 1.3;
    text-transform: uppercase;
    color: #fff;
}

@media only screen and (min-width: 960px) {
    .home-hero-2026__logo {
        width: min(52vw, 700px);
    }

    .home-hero-2026__date {
        letter-spacing: 0.06em;
    }

    .home-hero-2026__stats {
        letter-spacing: 0.16em;
    }
}

.jb-gallery-logos img {
    height: auto !important;
}

.livewire-contact-form .uk-alert {
    margin-top: 1rem;
}
