/*
Theme Name: Full Fist Festival
Theme URI: https://festival.fullfist.com
Author: Oozecode
Description: Festival schedule and tickets. Events and passes are posts.
Version: 1.0.0
Text Domain: fff
*/

:root {
    --bg: #070707;
    --red: #ff2a2a;
    --gold: #f0c014;
    --gold-deep: #c8960a;
    --ink: #f4f4f4;
    --muted: #a3a3a3;
    --line: #242424;
    --max: 1080px;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Outfit, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.35;
}

a { color: inherit; }

img { max-width: 100%; height: auto; display: block; }

.wrap {
    width: min(var(--max), 100%);
    margin: 0 auto;
    padding: 8px 24px 64px;
}

.top {
    position: sticky;
    top: 0;
    z-index: 5;
    background: #000;
    border-bottom: 1px solid var(--line);
}

.bar {
    width: min(var(--max), 100%);
    margin: 0 auto;
    padding: 22px 24px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "brand langs"
        "nav nav"
        "sponsor sponsor";
    align-items: center;
    gap: 12px 16px;
}

.brand {
    grid-area: brand;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: clamp(36px, 5vw, 48px);
    letter-spacing: 0.04em;
    line-height: 1;
    white-space: nowrap;
}

.brand svg { width: 48px; height: 48px; fill: var(--red); flex: none; }

.brand-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.brand-place {
    font-family: Outfit, system-ui, sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1;
    color: var(--muted);
}

.nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav a {
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.nav .current-menu-item a,
.nav .current_page_item a { color: var(--red); }

.nav { grid-area: nav; margin-left: 0; width: 100%; }

.langs {
    grid-area: langs;
    display: flex;
    gap: 12px;
    margin-left: 0;
    list-style: none;
}

.langs li { list-style: none; }

.langs a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.langs .current-lang a { color: var(--red); }

@media (max-width: 720px) {
    .brand { font-size: clamp(28px, 7vw, 36px); }
    .brand svg { width: 36px; height: 36px; }
    .nav ul { justify-content: space-between; width: 100%; gap: 0; }
    .nav a { font-size: 14px; letter-spacing: 0.04em; }
}

@media (min-width: 721px) {
    .bar {
        grid-template-columns: auto 1fr auto;
        grid-template-areas:
            "brand nav langs"
            "brand sponsor sponsor";
        column-gap: 28px;
        row-gap: 12px;
        padding: 28px 24px;
    }
    .nav { width: auto; justify-self: end; }
    .langs { margin-left: 22px; }
}

.presented {
    grid-area: sponsor;
    justify-self: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 6px 10px 6px 12px;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    text-decoration: none;
}

.presented-kicker {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-align: right;
    text-transform: uppercase;
}

.presented img {
    width: auto;
    height: 52px;
    flex: none;
}

@media (min-width: 721px) {
    .presented { justify-self: end; }
    .presented img { height: 72px; }
}

.hero-link { display: block; }

.hero {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    object-position: center top;
    margin: 0 0 8px;
    border-radius: 8px;
}

.schedule { display: block; }

.home-intro { text-align: center; padding-top: 6px; }

.dates {
    margin: 16px 0 0;
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: clamp(34px, 6vw, 58px);
    letter-spacing: 0.04em;
    line-height: 0.95;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.go {
    display: inline-block;
    background: var(--red);
    color: #fff;
    text-decoration: none;
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: 22px;
    letter-spacing: 0.06em;
    line-height: 1;
    padding: 11px 18px 9px;
}

@media (min-width: 520px) {
    .go {
        font-size: 26px;
        letter-spacing: 0.08em;
        padding: 12px 28px 10px;
    }
}

.jumps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 22px;
    margin: 18px 0 4px;
}

.jumps a {
    text-decoration: none;
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: 28px;
    letter-spacing: 0.04em;
}

.jumps { scroll-margin-top: 180px; }

@media (min-width: 800px) {
    .jumps { gap: 0; }
    .jumps a + a::before {
        content: "•";
        margin: 0 16px;
        color: var(--muted);
        font-size: 16px;
        vertical-align: middle;
    }
}

.schedule section {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 28px;
    row-gap: 12px;
    scroll-margin-top: 180px;
}

@media (min-width: 640px) {
    .schedule section { grid-template-columns: 1fr 1fr; }
}

.dayline {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin: 40px 0 18px;
}

.day {
    display: inline-block;
    margin: 0;
    background: var(--red);
    color: #fff;
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: 32px;
    letter-spacing: 0.06em;
    line-height: 1;
    padding: 8px 26px 7px 12px;
    clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
}

.totop {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    text-decoration: none;
}

.totop svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.event {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto auto;
    gap: 8px 10px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
}

.frame {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 4px;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.frame-blur,
.frame-fit {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.frame-blur {
    object-fit: cover;
    filter: blur(12px);
    transform: scale(1.25);
}

.frame-fit { object-fit: contain; }

.thumb-empty {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #140606;
}

.thumb-empty svg { width: 46%; height: auto; fill: var(--red); }

.event h2 {
    margin: 0;
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 0.95;
}

.slot, .spot {
    margin: 0;
    text-align: right;
    font-size: 12px;
    line-height: 1.15;
}

.slot { color: #fff; font-weight: 700; white-space: nowrap; }

.schedule .event h2 { line-height: 1; }

.schedule .slot { white-space: normal; margin-bottom: 8px; text-align: left; }

.schedule .slot span {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-weight: 500;
}

.schedule .event {
    grid-template-columns: 128px minmax(0, 1fr);
    align-items: start;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
}

.schedule .spot {
    margin-top: 4px;
    text-align: left;
    color: var(--muted);
}

@media (min-width: 800px) {
    .event { grid-template-columns: 112px minmax(0, 1fr) auto auto; gap: 12px 28px; }
    .schedule .event { grid-template-columns: 224px minmax(0, 1fr); }
    .dayline {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        margin: 56px 0 24px;
    }
    .day { font-size: 42px; }
    .event h2 { font-size: 30px; }
    .slot, .spot { font-size: 15px; }
}

.packs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 28px;
}

.packs .event {
    position: relative;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    align-items: stretch;
    column-gap: 8px;
    height: auto;
    padding: 12px;
    background: #3a1012;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    overflow: visible;
    cursor: default;
}

.packs .frame {
    width: 36px;
    align-self: start;
}

.packs .thumb-empty svg { width: 74%; }

.packs .rest {
    min-width: 0;
}

.packs .event h2 {
    font-size: 18px;
}

.packs .entry {
    margin-top: 6px;
    font-size: 12px;
}

.packs .event .entry ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.packs .event .entry li::before {
    content: "• ";
    color: var(--gold);
}

.packs .offer {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
}

.packs .slot {
    float: none;
    margin: 0;
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
}

.packs .until {
    width: 7.4rem;
    margin: 4px 0 8px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.15;
    text-align: right;
}

.packs .buy {
    position: static;
    margin-top: auto;
    background: var(--red);
    color: #fff;
    text-decoration: none;
    font-family: "Bebas Neue", Impact, sans-serif;
    letter-spacing: 0.06em;
    line-height: 1;
    font-size: 16px;
    padding: 7px 12px 5px;
}

@media (min-width: 800px) {
    .packs { grid-template-columns: 1fr 1fr; }
    .packs .event {
        grid-template-columns: 88px minmax(0, 1fr) auto;
    }
    .packs .frame { width: 88px; }
    .packs .event h2 { font-size: 28px; }
    .packs .entry { font-size: 14px; }
    .packs .slot { font-size: 34px; }
    .packs .until { width: 9rem; font-size: 12px; }
    .packs .buy { font-size: 20px; }
}

.when { margin: 3px 0 0; color: var(--muted); font-size: 14px; }

.venue {
    margin: 1px 0 0;
    color: var(--red);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lead {
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: 58px;
    line-height: 0.9;
    margin: 8px 0 0;
    letter-spacing: 0.02em;
    text-align: center;
}

.banner {
    margin: 14px 0 18px;
    background: var(--gold);
    color: #1a1200;
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.08em;
    font-size: 13px;
    padding: 8px 10px;
}

.pass {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
    border: 1px solid var(--gold-deep);
    border-radius: 12px;
    padding: 12px;
    margin: 0 0 12px;
}

.badge {
    grid-column: 1;
    justify-self: start;
    background: var(--gold);
    color: #141000;
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: 22px;
    letter-spacing: 0.04em;
    line-height: 0.95;
    padding: 8px 10px;
    border-radius: 8px;
    max-width: 11rem;
}

.price {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    text-align: right;
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: 42px;
    color: var(--gold);
    line-height: 0.85;
}

.price a {
    display: block;
    margin-top: 4px;
    color: var(--red);
    font-family: Outfit, system-ui, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-decoration: none;
}

.includes {
    grid-column: 1;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #ddd;
    font-size: 14px;
}

.includes li { margin: 2px 0; }

.includes li::before { content: "• "; color: var(--gold); }

.event .entry { margin-top: 6px; color: var(--muted); font-size: 14px; }

.event .entry ul { list-style: none; margin: 0; padding: 0; }

.event .entry li { margin: 2px 0; }

.empty {
    margin: 22px 0 8px;
    color: var(--muted);
    font-size: 18px;
}

.single .flyer { margin: 8px 0 16px; border-radius: 6px; }

.entry { font-size: 16px; }

.entry p { margin: 0 0 10px; }

.pass .entry { grid-column: 1; }

.pass .entry ul { list-style: none; margin: 8px 0 0; padding: 0; }

.pass .entry li { margin: 2px 0; }

.pass .entry li::before { content: "• "; color: var(--gold); }

.sponsor-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 36px 0 8px;
}

.sponsor {
    width: 100%;
    aspect-ratio: 3 / 2;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: 22px;
    letter-spacing: 0.04em;
    line-height: 1;
    padding: 0;
    cursor: default;
    appearance: none;
}

a.sponsor { cursor: pointer; }

.sponsor:not(:has(img)) { padding: 10px; }

.sponsor img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 800px) {
    .sponsor-row { grid-template-columns: repeat(6, 1fr); }
}

article.event { cursor: pointer; }

.sheet {
    width: calc(100% - 28px);
    max-height: calc(100% - 32px);
    margin: auto;
    padding: 42px 16px 22px;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    background: #101010;
    color: var(--ink);
    overflow: auto;
}

.sheet::backdrop { background: rgba(0, 0, 0, 0.78); }

.sheet-x {
    position: absolute;
    top: 12px;
    right: 14px;
    background: transparent;
    border: 0;
    color: var(--muted);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

.sheet-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.sheet-copy { min-width: 0; }

.sheet .frame,
.sheet-logo {
    width: 100%;
    margin: 0;
}

.sheet-logo {
    aspect-ratio: 1;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
}

.sheet h2 {
    margin: 0 0 10px;
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: 42px;
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 0.95;
}

.sheet-meta { margin: 0 0 14px; }

.sheet-meta span { display: block; }

.sheet-day, .sheet-place {
    color: var(--muted);
    font-size: 14px;
}

.sheet-hours {
    margin: 4px 0;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

.sheet .entry {
    margin-top: 8px;
    text-align: inherit;
    color: var(--muted);
}

.sheet .entry a { color: var(--red); }

.sheet .entry ul { list-style: none; margin: 0; padding: 0; }

.sheet .entry li { margin: 4px 0; }

.sheet-out {
    display: inline-block;
    margin-top: 6px;
    color: var(--red);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
}

@media (min-width: 800px) {
    .sheet {
        width: min(1000px, calc(100% - 48px));
        padding: 36px 32px 32px;
    }
    .sheet-body {
        flex-direction: row;
        align-items: center;
        gap: 32px;
        text-align: left;
    }
    .sheet .frame,
    .sheet-logo {
        width: 54%;
        max-width: 560px;
        flex: none;
    }
    .sheet-copy { flex: 1; }
}
