@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

:root {
    color-scheme: dark;
    --bg: #101110;
    --surface: #191b19;
    --surface-2: #222522;
    --text: #f4f3ed;
    --muted: #a9ada5;
    --accent: #d8ff52;
    --accent-dark: #172000;
    --border: rgba(255, 255, 255, .11);
    --danger: #ff9b91;
    --success: #a9ed9d;
    --radius: 18px;
    --shadow: 0 24px 70px rgba(0, 0, 0, .28);
    --admin-bg: #D8D5D2;
    --admin-sidebar: #332A2A;
    --admin-panel: #171B18;
    --admin-panel-elevated: #202420;
    --admin-input: #101310;
    --admin-border-dark: #3A3F39;
    --admin-text-on-light: #1B1919;
    --admin-text-secondary-on-light: #625E5B;
    --admin-text-on-dark: #F4F2EF;
    --admin-text-secondary-on-dark: #B9B7B2;
    --admin-text-muted-on-dark: #8F918B;
    --admin-red: #D90000;
    --admin-lime: #D6FF3F;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

@supports (overflow-x: clip) {
    html,
    body { overflow-x: clip; }
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
}

a { color: inherit; }
img, video { display: block; max-width: 100%; }

.brand {
    color: var(--text);
    font-weight: 800;
    letter-spacing: -.03em;
    text-decoration: none;
}

.brand span {
    margin-left: .4rem;
    color: var(--accent);
    font-size: .72em;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.site-header, .admin-header {
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem clamp(1.2rem, 4vw, 4rem);
}

.site-header {
    position: absolute;
    inset: 0 0 auto;
}

.public-nav { display: flex; min-width: 0; flex: 1; justify-content: flex-end; gap: .2rem; overflow-x: auto; scrollbar-width: none; }
.public-nav::-webkit-scrollbar { display: none; }
.public-nav a { flex: 0 0 auto; padding: .42rem .62rem; border-radius: 999px; color: #d0d2cb; font-size: .72rem; font-weight: 700; text-decoration: none; }
.public-nav a:hover, .public-nav a[aria-current="page"] { background: rgba(216,255,82,.12); color: var(--accent); }

.hero {
    position: relative;
    display: flex;
    min-height: 100svh;
    align-items: flex-end;
    overflow: hidden;
    padding: 7rem 1.2rem 6rem;
}

.hero-media, .hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    background: linear-gradient(180deg, rgba(9, 10, 9, .18), rgba(9, 10, 9, .35) 40%, rgba(9, 10, 9, .92));
}

.video-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 1.5rem;
    background:
        radial-gradient(circle at 72% 24%, rgba(216, 255, 82, .15), transparent 25%),
        linear-gradient(135deg, #292d29, #111311 60%);
    color: rgba(255, 255, 255, .05);
    font-size: clamp(5rem, 23vw, 18rem);
    font-weight: 900;
    letter-spacing: -.09em;
}

.deck-shape {
    width: min(65vw, 540px);
    height: 42px;
    margin: auto;
    border: 2px solid rgba(216, 255, 82, .2);
    border-radius: 50%;
    transform: rotate(-7deg);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(780px, 100%);
}

.eyebrow {
    margin: 0 0 .8rem;
    color: var(--accent);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-decoration: none;
    text-transform: uppercase;
}

h1, h2, p { margin-top: 0; }
h1 { font-size: clamp(2.8rem, 10vw, 7rem); line-height: .94; letter-spacing: -.065em; }
h2 { letter-spacing: -.035em; }

.hero h1 { margin-bottom: 1.25rem; }
.hero-copy { max-width: 620px; margin-bottom: 2rem; color: #dedfd9; font-size: clamp(1rem, 2vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: .8rem 1.25rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, background-color .18s ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: var(--accent-dark); }
.button-secondary { border-color: var(--border); background: var(--surface-2); color: var(--text); }
.button-ghost { border-color: rgba(255, 255, 255, .3); background: rgba(0, 0, 0, .16); color: var(--text); backdrop-filter: blur(8px); }

.scroll-cue {
    position: absolute;
    right: 1.2rem;
    bottom: 1.6rem;
    z-index: 2;
    color: var(--muted);
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.scroll-cue span { margin-left: .35rem; color: var(--accent); }

.admin-page { background: #111310; }
.admin-header { position: sticky; top: 0; border-bottom: 1px solid var(--border); background: rgba(17, 19, 16, .9); backdrop-filter: blur(12px); }
.admin-container { width: min(1100px, calc(100% - 2.4rem)); margin: 0 auto; padding: 3.5rem 0 5rem; }
.admin-container.narrow { width: min(900px, calc(100% - 2.4rem)); }
.page-heading { margin-bottom: 2rem; }
.page-heading h1 { margin-bottom: .6rem; font-size: clamp(2.2rem, 6vw, 4.5rem); }
.heading-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.muted { color: var(--muted); }
.back-link, .text-link { color: var(--accent); font-weight: 700; text-decoration: none; }

.panel {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.dashboard-grid { display: grid; gap: 1rem; }
.dashboard-card { padding: 1.5rem; color: inherit; text-decoration: none; transition: border-color .18s ease, transform .18s ease; }
.dashboard-card:hover { border-color: rgba(216, 255, 82, .45); transform: translateY(-3px); }
.dashboard-card h2 { margin: 1rem 0 .5rem; }
.dashboard-card p { color: var(--muted); }
.card-icon { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 14px; background: var(--surface-2); color: var(--accent); }

.auth-shell { display: grid; min-height: 100svh; place-items: center; padding: 1.2rem; }
.auth-card { width: min(440px, 100%); padding: clamp(1.4rem, 5vw, 2.5rem); }
.auth-card h1 { margin: .9rem 0 .5rem; font-size: 2.4rem; }

.form-stack, .settings-form, fieldset { display: grid; gap: 1.2rem; }
.settings-form { padding: clamp(1.2rem, 4vw, 2.25rem); gap: 2.5rem; }
fieldset { min-width: 0; margin: 0; padding: 0 0 2.4rem; border: 0; border-bottom: 1px solid var(--border); }
legend { margin-bottom: 1.2rem; padding: 0; font-size: 1.25rem; font-weight: 800; }
label { display: grid; gap: .45rem; color: #dcddd7; font-size: .9rem; font-weight: 650; }
small { color: var(--muted); font-weight: 400; }

input, textarea, select {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 11px;
    outline: 0;
    background: #111310;
    color: var(--text);
    font: inherit;
    font-weight: 400;
}
input, select { min-height: 48px; padding: .65rem .8rem; }
textarea { min-height: 120px; padding: .8rem; resize: vertical; }
input[type="file"] { padding: .65rem; background: var(--surface-2); }
input:focus, textarea:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(216, 255, 82, .1); }
.field-grid { display: grid; gap: 1rem; }
.form-actions { display: flex; justify-content: flex-end; }

.alert { margin-bottom: 1rem; padding: .9rem 1rem; border: 1px solid; border-radius: 12px; }
.alert-error { border-color: rgba(255, 155, 145, .35); background: rgba(255, 155, 145, .09); color: var(--danger); }
.alert-success { border-color: rgba(169, 237, 157, .35); background: rgba(169, 237, 157, .09); color: var(--success); }

.current-media { display: grid; gap: .5rem; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.current-media video, .current-media img { width: min(100%, 520px); max-height: 300px; border-radius: 12px; object-fit: cover; }
.current-poster img { width: min(100%, 300px); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.content-section, .public-main { width: min(1200px, calc(100% - 2.4rem)); margin: 0 auto; }
.content-section { padding: 5rem 0; }
.section-heading { margin-bottom: 2rem; }
.section-heading h2 { margin-bottom: .6rem; font-size: clamp(2.2rem, 7vw, 4.8rem); line-height: 1; }
.section-heading p:not(.eyebrow) { color: var(--muted); }

.trick-grid { display: grid; gap: 1.15rem; }
.trick-card { min-width: 0; overflow: hidden; }
.trick-card-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.trick-card-media video, .trick-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.trick-card:hover .trick-card-media video, .trick-card:hover .trick-card-media img { transform: scale(1.025); }
.card-media-placeholder { display: grid; width: 100%; height: 100%; place-items: center; background: linear-gradient(135deg, #2c302b, #151715); color: rgba(216, 255, 82, .16); font-size: 2.3rem; font-weight: 900; letter-spacing: .08em; }
.play-badge { position: absolute; right: 1rem; bottom: 1rem; display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: var(--accent); color: var(--accent-dark); font-size: .8rem; }
.trick-card-body { padding: 1.2rem; }
.trick-card h3 { margin: .65rem 0 .5rem; font-size: 1.35rem; }
.trick-card h3 a { text-decoration: none; }
.trick-card p { min-height: 3em; color: var(--muted); }
.meta-row { display: flex; flex-wrap: wrap; gap: .45rem; }
.meta-row span { padding: .28rem .55rem; border: 1px solid var(--border); border-radius: 999px; color: #c7cac3; font-size: .7rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--border); padding-top: 1rem; }
.content-labels { color: var(--muted); font-size: .72rem; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; }
.content-labels b { color: var(--accent); }
.empty-state { padding: clamp(1.5rem, 5vw, 3rem); text-align: center; }
.empty-state p { color: var(--muted); }

.current-section { padding-bottom: 1rem; }
.current-carousel {
    display: flex;
    gap: 1rem;
    margin-right: calc((100vw - 100%) / -2);
    padding-right: 1.2rem;
    padding-bottom: 1rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}
.current-card { flex: 0 0 min(84vw, 360px); min-width: 0; overflow: hidden; scroll-snap-align: start; }
.current-card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.current-card-media img, .current-card-media video { width: 100%; height: 100%; object-fit: cover; }
.current-media-placeholder { display: grid; width: 100%; height: 100%; place-items: center; background: radial-gradient(circle at 70% 20%, rgba(216, 255, 82, .15), transparent 32%), linear-gradient(135deg, #292d29, #121412); color: rgba(216, 255, 82, .22); font-size: 1.7rem; font-weight: 900; letter-spacing: .1em; }
.current-card-body { display: flex; min-height: 220px; flex-direction: column; align-items: flex-start; padding: 1.25rem; }
.current-card-body h3 { margin-bottom: .55rem; font-size: 1.45rem; line-height: 1.12; }
.current-card-body p { color: var(--muted); }
.current-card-body .button { margin-top: auto; }

.inner-header { position: relative; border-bottom: 1px solid var(--border); }
.public-main { padding: 3rem 0 6rem; }
.page-intro { max-width: 820px; padding: 2rem 0 3rem; }
.page-intro h1, .trick-detail-header h1 { margin-bottom: 1rem; }
.page-intro p:not(.eyebrow), .trick-detail-header > p { max-width: 660px; color: var(--muted); font-size: 1.1rem; }
.trick-browser { display: grid; gap: 1.5rem; }
.search-form { display: flex; flex-direction: column; gap: .65rem; }
.search-form input { flex: 1; }
.filter-chips { display: flex; gap: .55rem; padding-bottom: .4rem; overflow-x: auto; scrollbar-width: thin; }
.filter-chip { flex: 0 0 auto; padding: .55rem .8rem; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: .82rem; font-weight: 700; text-decoration: none; }
.filter-chip:hover, .filter-chip.is-active { border-color: var(--accent); background: var(--accent); color: var(--accent-dark); }
.results-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.results-heading p { margin: 0; color: var(--muted); }

.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; text-align: left; }
.admin-table th, .admin-table td { padding: .9rem 1rem; border-bottom: 1px solid var(--border); white-space: nowrap; }
.admin-table th { color: var(--muted); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.admin-table tr:last-child td { border-bottom: 0; }
.status-badge { display: inline-flex; padding: .25rem .5rem; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: .72rem; font-weight: 750; }
.status-badge.is-live { background: rgba(169, 237, 157, .12); color: var(--success); }
.checkbox-label { display: flex; width: fit-content; grid-template-columns: auto 1fr; align-items: center; gap: .65rem; }
.checkbox-label input { width: 1.15rem; min-height: auto; height: 1.15rem; accent-color: var(--accent); }
.media-editor { display: grid; gap: 1rem; padding: 1rem; border: 1px solid var(--border); border-radius: 14px; }

.detail-main { max-width: 1000px; }
.detail-main > .back-link { display: inline-block; margin-bottom: 2rem; }
.trick-detail-header { padding-bottom: 2.5rem; }
.trick-detail-header h1 { margin-top: 1rem; }
.video-learning { overflow: hidden; margin-bottom: 4rem; border: 1px solid var(--border); border-radius: var(--radius); background: #080908; box-shadow: var(--shadow); }
.video-tabs { display: grid; grid-template-columns: repeat(3, 1fr); padding: .4rem; background: var(--surface); }
.video-tab { min-height: 46px; border: 0; border-radius: 11px; background: transparent; color: var(--muted); font: inherit; font-weight: 800; cursor: pointer; }
.video-tab.is-active { background: var(--accent); color: var(--accent-dark); }
.video-panel { aspect-ratio: 16 / 9; }
.video-panel video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.tab-placeholder { display: grid; height: 100%; place-content: center; text-align: center; background: radial-gradient(circle, #252925, #0c0d0c); }
.tab-placeholder span { color: rgba(216, 255, 82, .25); font-size: clamp(3rem, 15vw, 8rem); font-weight: 900; }
.tab-placeholder p { color: var(--muted); }
.guide-sections { display: grid; gap: 0; margin-bottom: 2.5rem; }
.guide-section { padding: 2rem 0; border-top: 1px solid var(--border); }
.guide-section .prose { max-width: 760px; color: #d5d7d1; font-size: 1.04rem; white-space: normal; }
.tip-section { margin-top: 1rem; padding: 1.5rem; border: 1px solid rgba(216, 255, 82, .25); border-radius: var(--radius); background: rgba(216, 255, 82, .06); }
.not-found { margin-top: 5rem; padding: clamp(2rem, 7vw, 5rem); text-align: center; }
.not-found h1 { font-size: clamp(2.4rem, 8vw, 5.5rem); }

.featured-mod { padding-top: 2rem; }
.mod-grid { display: grid; gap: 1.15rem; }
.mod-card { min-width: 0; overflow: hidden; }
.mod-card-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.mod-card-media img, .mod-card-media video { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.mod-card:hover .mod-card-media img, .mod-card:hover .mod-card-media video { transform: scale(1.025); }
.mod-media-placeholder { display: grid; width: 100%; min-height: 240px; height: 100%; place-items: center; background: radial-gradient(circle at 30% 25%, rgba(216, 255, 82, .15), transparent 35%), linear-gradient(140deg, #292d29, #111311); color: rgba(216, 255, 82, .22); font-size: clamp(3rem, 12vw, 7rem); font-weight: 900; letter-spacing: .12em; }
.mod-card-body { display: flex; min-height: 260px; flex-direction: column; align-items: flex-start; padding: 1.25rem; }
.mod-card-body h3 { margin: .8rem 0 .5rem; font-size: 1.4rem; line-height: 1.15; }
.mod-card-body h3 a { text-decoration: none; }
.mod-card-body > p { color: var(--muted); }
.mod-card-link { margin-top: auto; padding-top: 1rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag-list span { padding: .3rem .55rem; border-radius: 999px; background: rgba(216, 255, 82, .08); color: #cce77a; font-size: .72rem; }
.mod-placeholder { padding: clamp(1.5rem, 5vw, 3rem); background: radial-gradient(circle at 85% 20%, rgba(216, 255, 82, .12), transparent 30%), var(--surface); }
.mod-placeholder h3 { max-width: 720px; font-size: clamp(1.7rem, 5vw, 3.2rem); line-height: 1.08; }
.mod-placeholder > p:not(.eyebrow) { max-width: 700px; color: var(--muted); }
.mod-intro { max-width: 900px; }
.mod-detail-main { max-width: 1000px; }
.mod-detail-main > .back-link { display: inline-block; margin-bottom: 2.5rem; }
.mod-article { margin-bottom: 3rem; }
.mod-article-header { max-width: 850px; margin-bottom: 2.5rem; }
.mod-article-header h1 { margin: 1rem 0 1.2rem; }
.mod-article-header > p { color: #d7d9d2; font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
.mod-article-media { overflow: hidden; margin-bottom: 3rem; border: 1px solid var(--border); border-radius: var(--radius); background: #080908; box-shadow: var(--shadow); }
.mod-article-media video, .mod-article-media img { width: 100%; max-height: 680px; object-fit: contain; }
.mod-article-media .mod-media-placeholder { aspect-ratio: 16 / 9; }
.mod-article-body { max-width: 780px; color: #d7d9d2; font-size: 1.08rem; line-height: 1.8; }
.mod-article-tags { max-width: 780px; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }

.featured-events { padding-top: 2rem; }
.event-grid { display: grid; gap: 1.15rem; }
.event-card { min-width: 0; overflow: hidden; }
.event-card-media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface-2); }
.event-card-media img, .event-card-media video { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.event-card:hover .event-card-media img, .event-card:hover .event-card-media video { transform: scale(1.02); }
.event-media-placeholder { display: grid; width: 100%; height: 100%; place-items: center; background: radial-gradient(circle at 70% 20%, rgba(216,255,82,.14), transparent 32%), linear-gradient(145deg,#292d29,#111311); color: rgba(216,255,82,.2); font-size: clamp(2.4rem,10vw,5rem); font-weight: 900; letter-spacing: .08em; }
.event-card-body { display: flex; min-height: 275px; flex-direction: column; align-items: flex-start; padding: 1.25rem; }
.event-card-body h3 { margin: .7rem 0 .5rem; font-size: 1.45rem; line-height: 1.12; }
.event-card-body h3 a { text-decoration: none; }
.event-card-body > p { color: var(--muted); }
.event-quick-meta { display: flex; flex-wrap: wrap; gap: .4rem; color: var(--accent); font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.event-quick-meta span + span::before { margin-right: .4rem; content: '·'; }
.event-time { margin-bottom: .75rem; font-size: .82rem; font-weight: 700; }
.event-card-link { margin-top: auto; padding-top: 1rem; }
.event-placeholder { padding: clamp(1.5rem,5vw,3rem); background: radial-gradient(circle at 85% 15%,rgba(216,255,82,.12),transparent 30%),var(--surface); }
.event-placeholder h3 { max-width: 720px; font-size: clamp(1.7rem,5vw,3.2rem); line-height: 1.08; }
.event-placeholder > p:not(.eyebrow) { max-width: 700px; color: var(--muted); }
.event-detail-main { max-width: 1050px; }
.event-detail-main > .back-link { display: inline-block; margin-bottom: 2.5rem; }
.event-article { display: grid; gap: 2rem; margin-bottom: 3rem; }
.event-article-header { max-width: 900px; }
.event-article-header h1 { margin-bottom: 1.2rem; }
.event-article-header > p:not(.eyebrow) { max-width: 780px; color: #d7d9d2; font-size: clamp(1.1rem,2.5vw,1.4rem); }
.event-article-media { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: #080908; box-shadow: var(--shadow); }
.event-article-media img, .event-article-media video { width: 100%; max-height: 900px; object-fit: contain; }
.event-description { max-width: 790px; color: #d7d9d2; font-size: 1.08rem; line-height: 1.8; }
.event-info-card { padding: clamp(1.25rem,4vw,2rem); }
.event-info-list { display: grid; gap: 1rem; margin: 0 0 1.5rem; }
.event-info-list div { padding-bottom: .8rem; border-bottom: 1px solid var(--border); }
.event-info-list dt { margin-bottom: .2rem; color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.event-info-list dd { margin: 0; color: var(--text); }
.event-info-list a { color: var(--accent); }
.event-tags { padding-top: 1rem; }

.project-main { width: min(1180px,calc(100% - 2.4rem)); margin: 0 auto; padding: 3rem 0 7rem; }
.project-hero { max-width: 1000px; padding: clamp(2rem,8vw,7rem) 0; }
.project-hero h1 { max-width: 1000px; margin-bottom: 1.5rem; font-size: clamp(3rem,9vw,7.5rem); }
.project-lead { max-width: 850px; color: #d8dad3; font-size: clamp(1.1rem,2.5vw,1.45rem); }
.project-highlight { max-width: 850px; margin-top: 2rem; padding: 1.25rem 1.4rem; border-left: 4px solid var(--accent); border-radius: 0 14px 14px 0; background: rgba(216,255,82,.08); color: #edf8c7; font-size: clamp(1.05rem,2vw,1.3rem); font-weight: 750; }
.project-section { padding: clamp(3.5rem,8vw,7rem) 0; border-top: 1px solid var(--border); }
.project-section h2, .project-cta h2 { max-width: 850px; margin-bottom: 1.5rem; font-size: clamp(2.2rem,6vw,4.7rem); line-height: 1; }
.project-copy-section { max-width: 900px; }
.project-prose { color: #d1d4cc; font-size: 1.07rem; line-height: 1.8; }
.project-prose p { max-width: 800px; }
.project-card-grid { display: grid; gap: 1rem; }
.project-card { padding: 1.4rem; }
.project-card > span { color: var(--accent); font-size: .7rem; font-weight: 900; letter-spacing: .08em; }
.project-card h3 { margin: 1.5rem 0 .55rem; font-size: 1.4rem; }
.project-card p { color: var(--muted); }
.project-purpose blockquote { max-width: 1000px; margin: 3rem 0 0; padding: clamp(1.5rem,5vw,3.5rem); border: 0; border-radius: var(--radius); background: var(--accent); color: var(--accent-dark); font-size: clamp(1.7rem,5vw,3.8rem); font-weight: 900; letter-spacing: -.045em; line-height: 1.05; }
.project-split { display: grid; gap: 2rem; }
.funding-intro { margin-bottom: 2rem; }
.funding-layout { display: grid; gap: 1.2rem; }
.funding-list { padding: clamp(1.4rem,4vw,2.2rem); }
.funding-list h3 { margin-bottom: 1.2rem; }
.funding-list ul { display: grid; gap: .65rem; margin: 0; padding-left: 1.2rem; color: #d6d8d1; }
.funding-list li::marker { color: var(--accent); }
.funding-notes { padding: 1rem 0; color: #d1d4cc; font-size: 1.05rem; }
.funding-notes .project-highlight { margin-top: 1.5rem; }
.section-intro { max-width: 760px; color: var(--muted); font-size: 1.08rem; }
.partner-grid { display: grid; gap: .7rem; margin-top: 2rem; }
.partner-grid div { padding: 1rem; border: 1px solid var(--border); border-radius: 13px; background: var(--surface); color: #d9dbd4; font-weight: 700; }
.project-cta { margin-top: 2rem; padding: clamp(1.7rem,7vw,5rem); text-align: left; background: radial-gradient(circle at 85% 20%,rgba(216,255,82,.15),transparent 32%),var(--surface); }
.project-cta p:not(.eyebrow) { max-width: 700px; color: var(--muted); font-size: 1.08rem; }
.project-teaser { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; margin-bottom: 4rem; padding: clamp(2rem,6vw,4rem); border: 1px solid rgba(216,255,82,.24); border-radius: var(--radius); background: radial-gradient(circle at 90% 10%,rgba(216,255,82,.14),transparent 35%),var(--surface); }
.project-teaser h2 { margin-bottom: .8rem; font-size: clamp(2.1rem,6vw,4rem); line-height: 1; }
.project-teaser p:not(.eyebrow) { max-width: 760px; color: var(--muted); }

@media (min-width: 700px) {
    .hero { padding: 9rem clamp(2rem, 7vw, 7rem) 7rem; }
    .scroll-cue { right: clamp(2rem, 4vw, 4rem); }
    .dashboard-grid, .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .trick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .search-form { flex-direction: row; }
    .search-form .button { min-width: 110px; }
    .media-editor { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
    .current-carousel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-right: 0; padding-right: 0; overflow: visible; }
    .current-card { min-width: 0; }
    .mod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .event-info-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .event-info-list .full { grid-column: 1 / -1; }
    .project-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .funding-layout { grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: start; }
    .partner-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .project-teaser { flex-direction: row; align-items: flex-end; justify-content: space-between; }
    .project-teaser .button { flex: 0 0 auto; }
}

@media (min-width: 1050px) {
    .trick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .featured-tricks .trick-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .featured-tricks .trick-card-body { padding: 1rem; }
    .featured-tricks .trick-card h3 { font-size: 1.1rem; }
    .featured-tricks .trick-card p { font-size: .85rem; }
    .featured-tricks .card-footer { align-items: flex-start; flex-direction: column; }
    .current-carousel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .mod-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .event-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .project-card-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .project-split { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); }
    .partner-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

/* GO SKATE visual direction – based on the supplied Figma reference. */
.public-page {
    --brand-red: #bd251b;
    --brand-red-dark: #8f1812;
    --brand-cream: #f1e3cc;
    --brand-ink: #252321;
    --accent: var(--brand-cream);
    --accent-dark: var(--brand-ink);
    --surface: #2b2927;
    --surface-2: #373330;
    --border: rgba(241, 227, 204, .18);
    background: #201f1d;
}

.public-page h1,
.public-page h2,
.public-page h3,
.public-page .brand,
.public-page .eyebrow,
.public-page .button,
.public-page .public-nav a {
    font-family: "Bebas Neue", Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", sans-serif;
    font-stretch: condensed;
}

.public-page h1,
.public-page h2,
.public-page .brand {
    text-transform: uppercase;
}

.public-page .site-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: stretch;
    padding: 0;
    border-bottom: 3px solid var(--brand-red);
    background: var(--brand-red);
}

.public-page .site-header .brand {
    display: block;
    padding: .55rem clamp(1rem, 4vw, 4rem) .35rem;
    color: #fff7ea;
    font-size: clamp(2.2rem, 7vw, 4rem);
    font-weight: 900;
    letter-spacing: .015em;
    line-height: .95;
    text-shadow: 3px 3px 0 rgba(65, 8, 4, .28);
}

.public-page .public-nav {
    width: 100%;
    max-width: none;
    padding: 0 clamp(.55rem, 3vw, 3.5rem);
    justify-content: flex-start;
    gap: 0;
    background: var(--brand-ink);
}

.public-page .public-nav a {
    padding: .62rem .58rem .55rem;
    border-radius: 0;
    color: #f2e9dc;
    font-size: clamp(.72rem, 2.4vw, 1rem);
    font-weight: 400;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.public-page .public-nav a:hover,
.public-page .public-nav a[aria-current="page"] {
    background: var(--brand-red);
    color: #fff;
}

.public-page .hero {
    min-height: 100svh;
    padding-top: 9.5rem;
    border: 3px solid var(--brand-red);
    border-top: 0;
}

.public-page .hero-overlay {
    background: linear-gradient(180deg, rgba(25, 16, 14, .08), rgba(25, 16, 14, .16) 38%, rgba(24, 20, 18, .92));
}

.public-page .hero-content { max-width: 900px; }
.public-page .hero h1 { max-width: 850px; font-size: clamp(3.3rem, 12vw, 8.2rem); line-height: .88; letter-spacing: -.025em; text-shadow: 4px 4px 0 rgba(0, 0, 0, .32); }
.public-page .hero .eyebrow { color: #fff7ea; font-size: clamp(.85rem, 2vw, 1.1rem); letter-spacing: .03em; }
.public-page .eyebrow { color: #e35145; font-size: .82rem; letter-spacing: .06em; }
.public-page .button { border-radius: 2px; letter-spacing: .035em; text-transform: uppercase; }
.public-page .button-primary { background: var(--brand-red); color: #fff8ec; }
.public-page .button-primary:hover { background: #d02b20; }
.public-page .button-secondary { border-color: rgba(241,227,204,.42); background: var(--brand-ink); color: var(--brand-cream); }
.public-page .button-ghost { border-color: var(--brand-cream); border-radius: 2px; }
.public-page .text-link,
.public-page .back-link { color: #e85a4d; }

.public-page .content-section { padding-top: clamp(4rem, 8vw, 7rem); }
.public-page .section-heading { padding-top: .9rem; border-top: 7px solid var(--brand-red); }
.public-page .section-heading h2 { font-size: clamp(3rem, 8vw, 6rem); letter-spacing: 0; }
.public-page .panel { border-radius: 2px; box-shadow: 8px 8px 0 rgba(0,0,0,.2); }

.public-page .current-card,
.public-page .trick-card,
.public-page .mod-card,
.public-page .event-card {
    border-top: 7px solid var(--brand-red);
}

.public-page .current-card-body h3,
.public-page .trick-card h3,
.public-page .mod-card-body h3,
.public-page .event-card-body h3 {
    font-size: clamp(1.65rem, 4vw, 2.2rem);
    font-weight: 400;
    letter-spacing: .015em;
    text-transform: uppercase;
}

.public-page .meta-row span,
.public-page .filter-chip,
.public-page .tag-list span {
    border-radius: 2px;
}

.public-page .filter-chip.is-active,
.public-page .filter-chip:hover {
    border-color: var(--brand-red);
    background: var(--brand-red);
    color: #fff;
}

.public-page .play-badge { border-radius: 2px; background: var(--brand-red); color: #fff; }
.public-page .card-media-placeholder,
.public-page .mod-media-placeholder,
.public-page .event-media-placeholder,
.public-page .current-media-placeholder {
    background: radial-gradient(circle at 70% 20%, rgba(189,37,27,.34), transparent 32%), linear-gradient(145deg,#3a302c,#171615);
    color: rgba(241,227,204,.26);
}

.public-page .page-intro,
.public-page .trick-detail-header,
.public-page .mod-article-header,
.public-page .event-article-header {
    padding-top: 1.5rem;
    border-top: 8px solid var(--brand-red);
}

.public-page .page-intro h1,
.public-page .trick-detail-header h1,
.public-page .mod-article-header h1,
.public-page .event-article-header h1 {
    font-size: clamp(3.4rem, 10vw, 7rem);
    letter-spacing: 0;
}

.public-page .project-highlight,
.public-page .tip-section { border-left-color: var(--brand-red); background: rgba(189,37,27,.12); color: #f3ddd5; }
.public-page .project-purpose blockquote { background: var(--brand-red); color: #fff5e8; }
.public-page .project-card { border-top: 7px solid var(--brand-red); }
.public-page .project-hero { border-top: 9px solid var(--brand-red); }
.public-page .project-hero h1 { letter-spacing: 0; }
.public-page .project-teaser { border-color: rgba(189,37,27,.62); border-radius: 2px; background: radial-gradient(circle at 90% 10%,rgba(189,37,27,.24),transparent 38%),var(--surface); }

@media (min-width: 700px) {
    .public-page .site-header .brand { padding-top: .7rem; }
    .public-page .public-nav a { padding-inline: .85rem; }
    .public-page .hero { padding-top: 11rem; }
}

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

/* Figma homepage, node 4:213. Scoped so library/detail pages keep their components. */
.figma-home {
    --home-red: #bf0000;
    --home-nav: #342c2c;
    --home-media-ratio: 1.2493638677;
    background: #000;
    color: #fff;
    font-family: "Bebas Neue", Impact, sans-serif;
    line-height: 1;
}

.figma-home .home-header {
    position: relative;
    inset: auto;
    z-index: auto;
    display: block;
    height: 70px;
    border: 0;
    background: var(--home-red);
}

.figma-home .home-header .brand {
    display: flex;
    height: 70px;
    align-items: flex-start;
    padding: 5px 18px 0;
    transform: translateY(4px);
    color: #fff;
    font-size: 57px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1;
    text-shadow: none;
}

.figma-home > .public-nav {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    height: 46px;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0;
    padding: 0 12px;
    overflow: hidden;
    background: var(--home-nav);
    transform: translateY(0);
    transition: transform .28s ease;
    will-change: transform;
}

.figma-home > .public-nav.is-hidden { transform: translateY(-100%); }

.figma-home > .public-nav a {
    display: block;
    padding: 11px 0 0;
    background: transparent;
    color: #fff;
    font-size: clamp(15px, 4.8346vw, 19px);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 23px;
    white-space: nowrap;
}

.figma-home > .public-nav a:hover,
.figma-home > .public-nav a[aria-current="page"] { background: transparent; color: #fff; }

.figma-home main { display: block; background: #000; }

.figma-home .home-hero {
    min-height: 0;
    height: calc(100vw * var(--home-media-ratio));
    max-height: 491px;
    margin: 0 auto;
    padding: 0;
    border: 0;
    background: #000;
}

.figma-home .home-hero .hero-media,
.figma-home .home-hero .hero-overlay { inset: 0; }
.figma-home .home-hero .hero-media video { object-fit: cover; object-position: 50% 50%; }
.figma-home .home-hero .hero-overlay {
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .12) 65%, rgba(0, 0, 0, .64) 100%);
}

.figma-home .home-hero .hero-content {
    position: absolute;
    inset: min(284px, 72.2646vw) 0 auto;
    width: 100%;
    max-width: none;
    padding: 0 30px;
}

.figma-home .home-hero .hero-content .eyebrow {
    margin: 0 0 5px;
    color: #fff;
    font-size: 21px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 25px;
}

.figma-home .home-hero h1 {
    width: 288px;
    max-width: calc(100% - 60px);
    margin: 0;
    color: #fff;
    font-size: 50px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 50px;
    text-shadow: none;
}

.figma-home .home-hero-scroll {
    position: absolute;
    z-index: 3;
    top: calc(95.723% - 11px);
    left: 49.8728%;
    display: block;
    width: min(9.3689vw, 36.8198px);
    height: min(5.3206vw, 20.9099px);
    transform: translate(-50%, -50%);
}
.figma-home .home-hero-scroll img {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: min(5.3206vw, 20.9099px);
    height: min(9.3689vw, 36.8198px);
    max-width: none;
    transform: translate(-50%, -50%) rotate(90deg);
    transform-origin: center;
}

.figma-home .home-section-separator {
    width: 100%;
    max-width: 393px;
    height: 8px;
    margin: 0 auto;
    background: #342c2c;
}

.figma-home .home-section {
    width: 100%;
    max-width: 393px;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    background: #000;
}

.figma-home .home-section-header {
    display: flex;
    height: 70px;
    align-items: center;
    padding: 0 18px;
    background: var(--home-red);
}

.figma-home .home-section-header h2 {
    margin: 0;
    transform: translateY(2px);
    color: #fff;
    font-size: 37px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 43px;
    text-transform: none;
}

.figma-home .home-carousel-track {
    display: flex;
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.figma-home .home-carousel-track::-webkit-scrollbar { display: none; }

.figma-home .home-carousel-slide,
.figma-home .home-poster-card {
    position: relative;
    isolation: isolate;
    flex: 0 0 100%;
    width: 100%;
    height: calc(100vw * var(--home-media-ratio));
    max-height: 491px;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #000;
    scroll-snap-align: start;
}

.figma-home .home-carousel-slide > a,
.figma-home .home-carousel-slide > div,
.figma-home .home-poster-card > a {
    position: absolute;
    inset: 0;
    display: block;
    overflow: visible;
    color: #fff;
    text-decoration: none;
}

.figma-home .home-card-media,
.figma-home .home-card-media img,
.figma-home .home-card-media video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}
.figma-home .home-card-media { z-index: 0; }
.figma-home .home-card-media img,
.figma-home .home-card-media video { max-width: none; object-fit: cover; object-position: center; }
.figma-home .home-card-media [hidden] { display: none !important; }

.figma-home .home-media-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: #201d1d;
    color: rgba(255,255,255,.18);
    font-size: 90px;
}

.figma-home .home-card-shade {
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.75) 100%);
}
.figma-home .home-event-shade { background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,1) 100%); }
.figma-home .home-news-shade { background: linear-gradient(180deg, transparent 38%, rgba(0,0,0,.9) 100%); }

.figma-home .home-card-copy {
    position: absolute;
    z-index: 2;
    right: 77px;
    bottom: 19px;
    left: 28px;
    display: block;
    overflow: visible;
    color: #fff;
}
.figma-home .home-mod-card .home-card-copy { bottom: 39px; }
.figma-home .home-news-slide .home-card-copy {
    right: 28px;
    bottom: 24px;
}
.figma-home .home-news-teaser {
    display: block;
    margin-top: 8px;
    color: #fff;
    font-family: Inter, Arial, sans-serif;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.25;
    opacity: 1;
    white-space: pre-line;
}
.figma-home .home-project-card .home-card-copy {
    top: 67.2%;
    right: 19.08%;
    bottom: auto;
    left: 7.63%;
}
.figma-home .home-project-card .home-card-copy strong { white-space: pre-line; }
.figma-home .home-project-teaser {
    position: absolute;
    z-index: 2;
    top: 87.88%;
    right: 0;
    bottom: 2.14%;
    left: 7.89%;
    display: block;
    overflow: hidden;
    color: #fff;
    font-family: Inter, Arial, sans-serif;
    font-size: 19px;
    font-weight: 500;
    line-height: normal;
    opacity: 1;
}

.figma-home .home-card-copy strong {
    display: block;
    overflow: visible;
    color: #fff;
    opacity: 1;
    font-size: 50px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 46px;
    text-transform: none;
}

.figma-home .home-card-meta {
    display: flex;
    min-height: 24px;
    gap: 12px;
    margin-top: 0;
    color: #fff;
    opacity: 1;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
}
.figma-home .home-card-meta span { color: #fff; opacity: 1; }

.figma-home .home-arrow {
    position: absolute;
    z-index: 2;
    right: 29px;
    bottom: 50px;
    display: block;
    width: 43px;
    height: auto;
    aspect-ratio: 43 / 37;
    flex-shrink: 0;
    align-self: center;
    overflow: visible;
    color: #fff;
    opacity: 1;
}
.figma-home .home-arrow img {
    display: block;
    width: 43px;
    height: auto;
    aspect-ratio: 43 / 37;
    flex-shrink: 0;
    max-width: none;
    overflow: visible;
    object-fit: contain;
}
.figma-home .home-arrow.is-title-following { right: auto; bottom: auto; }

.figma-home .home-carousel-dots {
    display: flex;
    height: 51px;
    align-items: center;
    justify-content: center;
    gap: 13px;
    background: var(--home-nav);
}
.figma-home .home-carousel-dots span {
    display: block;
    width: 7px;
    height: 7px;
    border: 1px solid #fff;
    border-radius: 50%;
    background: transparent;
}
.figma-home .home-news .home-carousel-dots {
    align-items: flex-start;
    gap: 8px;
    padding-top: 22px;
}
.figma-home .home-news .home-carousel-dots span {
    width: 7px;
    height: 7px;
    border-color: #fff;
    border-radius: 50%;
    background: transparent;
}
.figma-home .home-news .home-carousel-dots span.is-active {
    border-color: #fff;
    background: #fff;
}
.figma-home .home-carousel-dots span.is-active { border-color: #d9d9d9; background: #d9d9d9; }

.figma-home .home-poster-list { display: grid; gap: 8px; background: #342c2c; }
.figma-home .home-tricks,
.figma-home .home-mod,
.figma-home .home-poster-list,
.figma-home .home-poster-card,
.figma-home .home-section-cta {
    overflow: hidden;
}
@supports (overflow: clip) {
    .figma-home .home-tricks,
    .figma-home .home-mod,
    .figma-home .home-poster-list,
    .figma-home .home-poster-card,
    .figma-home .home-section-cta { overflow: clip; }
}
.figma-home .home-section-cta {
    position: relative;
    display: flex;
    width: 100%;
    height: 80px;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 15px 79px 0 20px;
    background: #000;
    color: #fff;
    font-size: 35px;
    font-weight: 400;
    line-height: 42px;
    text-decoration: none;
    text-transform: none;
}
.figma-home .home-section-cta .home-arrow { right: 29px; bottom: 30px; }
.figma-home .home-tricks .home-section-cta > span:first-child { transform: translateY(7px); }
.figma-home .home-tricks .home-section-cta .home-arrow {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
}
.figma-home .home-mod-cta {
    width: calc(100% + 4px);
    margin-left: -2px;
    justify-content: flex-start;
    padding: 15px 78px 0 31px;
    font-size: 40px;
    line-height: 48px;
    text-transform: uppercase;
}
.figma-home .home-mod-cta > span:first-child { transform: translateY(3px); }
.figma-home .home-mod-cta .home-arrow {
    top: calc(50% + 1px);
    bottom: auto;
    transform: translateY(-50%);
}

.figma-home .home-empty {
    display: grid;
    place-items: center;
    min-height: calc(100vw * var(--home-media-ratio));
    padding: 30px;
    background: #171515;
    color: #fff;
    font-size: 37px;
    text-align: center;
}

.figma-home .home-project { height: auto; }
.figma-home .home-project-card { margin: 0; }

.figma-home .home-footer {
    position: relative;
    width: 100%;
    max-width: 393px;
    height: 130px;
    margin: 0 auto;
    background: #342c2c;
    color: #fff;
    font-family: "Bebas Neue", Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    white-space: nowrap;
}

.figma-home .home-footer a,
.figma-home .home-footer span {
    position: absolute;
    display: block;
    color: #fff;
    text-decoration: none;
}

.figma-home .home-footer-go { top: 36px; left: 19.8473%; }
.figma-home .home-footer-big-heart { top: 36px; left: 38.6768%; }
.figma-home .home-footer-contact { top: 72px; left: 40.7125%; }

@media (min-width: 394px) {
    .figma-home .home-header,
    .figma-home > .public-nav,
    .figma-home main,
    .figma-home .home-footer { width: 393px; margin-right: auto; margin-left: auto; }
    .figma-home .home-hero,
    .figma-home .home-carousel-slide,
    .figma-home .home-poster-card { height: 491px; }
    .figma-home .home-empty { min-height: 491px; }
}

/* Mobile trick detail, Figma node 13:234. */
.figma-trick-page {
    --trick-nav: #342c2c;
    --trick-red: #bf0000;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    background: #fff;
    color: #fff;
    font-family: "Bebas Neue", Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", sans-serif;
    line-height: 1;
}

@supports (overflow-x: clip) {
    .figma-trick-page { overflow-x: clip; }
}

.figma-trick-page > .public-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    width: 100%;
    height: 46px;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0;
    padding: 0 12px;
    overflow: hidden;
    background: var(--trick-nav);
    transform: translateY(0);
    transition: transform .28s ease;
    will-change: transform;
}

.figma-trick-page > .public-nav.is-hidden { transform: translateY(-100%); }

.figma-trick-page > .public-nav a {
    display: block;
    flex: 0 0 auto;
    padding: 11px 0 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    font-family: "Bebas Neue", Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", sans-serif;
    font-size: clamp(15px, 4.8346vw, 19px);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 23px;
    text-decoration: none;
    white-space: nowrap;
}

.figma-trick-page > .public-nav a:hover,
.figma-trick-page > .public-nav a[aria-current="page"] { background: transparent; color: #fff; }

.figma-trick-page .trick-mobile-main {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #000;
}

:is(.figma-trick-page, .admin-trick-preview) .trick-mobile-title {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 0;
    padding: 20px 18px 13px;
    overflow: visible;
    background: #000;
}

:is(.figma-trick-page, .admin-trick-preview) .trick-mobile-title h1,
:is(.figma-trick-page, .admin-trick-preview) .trick-mobile-title h2 {
    position: static;
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    color: #fff;
    font-family: "Bebas Neue", Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", sans-serif;
    font-size: 50px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 50px;
    text-transform: none;
    white-space: pre-line;
    overflow-wrap: anywhere;
    word-break: normal;
}

:is(.figma-trick-page, .admin-trick-preview) .trick-mobile-meta {
    position: static;
    flex: 0 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 14px;
    min-width: 0;
    margin-top: 7px;
    color: #fff;
    font-family: "Bebas Neue", Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    white-space: normal;
}

:is(.figma-trick-page, .admin-trick-preview) .trick-mobile-meta,
:is(.figma-trick-page, .admin-trick-preview) .trick-mobile-meta span { color: #fff; opacity: 1; }

.figma-trick-page .trick-primary-media {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: auto;
    aspect-ratio: 393 / 699;
    overflow: hidden;
    background: #000;
}

.figma-trick-page .trick-primary-media > video,
.figma-trick-page .trick-primary-media > img,
.figma-trick-page .trick-primary-placeholder {
    position: absolute;
    z-index: 0;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}

.figma-trick-page .trick-primary-media > video::-webkit-media-controls-start-playback-button,
.figma-trick-page .trick-primary-media > video::-webkit-media-controls-overlay-play-button {
    display: none !important;
    -webkit-appearance: none;
}

.figma-trick-page .trick-primary-placeholder {
    display: grid;
    place-items: center;
    background: #201d1d;
    color: rgba(255,255,255,.18);
    font-size: 90px;
}

.figma-trick-page .trick-description {
    width: 100%;
    padding: 22px 18px 24px;
    background: #342c2c;
    color: #fff;
    font-family: Inter, Arial, sans-serif;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.figma-trick-page .trick-play-indicator {
    position: absolute;
    z-index: 2;
    top: 46.3519%;
    left: 32.5699%;
    display: grid;
    width: min(33.0789vw, 130px);
    height: min(35.6234vw, 140px);
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.figma-trick-page .trick-play-indicator[hidden] { display: none; }
.figma-trick-page .trick-play-indicator img {
    display: block;
    width: min(29.536vw, 116.076px);
    height: auto;
    max-width: none;
}

.figma-trick-page .trick-prerequisites > header {
    position: relative;
    display: flex;
    width: 100%;
    height: 80px;
    align-items: center;
    padding: 0 10px;
    background: var(--trick-red);
}

.figma-trick-page .trick-prerequisites > header > img {
    display: block;
    flex: 0 0 38.5px;
    width: 38.5px;
    height: auto;
    margin-right: 8.5px;
    max-width: none;
    transform: rotate(90deg);
}

.figma-trick-page .trick-prerequisites h2 {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    color: #fff;
    font-family: "Bebas Neue", Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", sans-serif;
    font-size: clamp(22px, 6.1069vw, 24px);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1;
    white-space: normal;
    overflow-wrap: normal;
}

.figma-trick-page .trick-prerequisite-list {
    display: flex;
    min-height: 100px;
    flex-direction: column;
    justify-content: flex-start;
    padding: 20px 18px;
    background: var(--trick-nav);
}

.figma-trick-page .trick-prerequisite-list a {
    display: flex;
    height: 60px;
    flex: 0 0 60px;
    align-items: center;
    gap: 14px;
    color: #fff;
    font-size: 30px;
    font-weight: 400;
    line-height: 36px;
    text-decoration: none;
    white-space: nowrap;
}

.figma-trick-page .trick-prerequisite-list a span { color: #fff; opacity: 1; }
.figma-trick-page .trick-prerequisite-list a img {
    display: block;
    width: 40.5px;
    height: auto;
    max-width: none;
    flex: 0 0 auto;
}

.figma-trick-page .trick-pre-cta-divider {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 10px;
    background: #5a4d4d;
    box-shadow: 0 2px 0 #5a4d4d;
}

.figma-trick-page .trick-more-cta {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 80px;
    overflow: hidden;
    background: #000;
    color: #fff;
    text-decoration: none;
}

.figma-trick-page .trick-more-cta > span:first-child {
    position: absolute;
    top: 20px;
    left: 35.37%;
    color: #fff;
    font-size: 35px;
    font-weight: 400;
    line-height: 42px;
    opacity: 1;
    white-space: nowrap;
}

.figma-trick-page .home-arrow {
    position: absolute;
    z-index: 2;
    top: 22px;
    right: 20px;
    display: block;
    width: 43px;
    height: auto;
    aspect-ratio: 43 / 37;
    overflow: visible;
    color: #fff;
    opacity: 1;
}

.figma-trick-page .home-arrow img {
    display: block;
    width: 43px;
    height: auto;
    max-width: none;
    object-fit: contain;
}

.figma-trick-page .trick-footer-divider { width: 100%; height: 12px; background: #5a4d4d; }

.figma-trick-page .home-footer {
    position: relative;
    width: 100%;
    height: 130px;
    margin: 0;
    overflow: hidden;
    background: #342c2c;
    color: #fff;
    font-family: "Bebas Neue", Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    white-space: nowrap;
}

.figma-trick-page .home-footer a,
.figma-trick-page .home-footer span {
    position: absolute;
    display: block;
    color: #fff;
    text-decoration: none;
}

.figma-trick-page .home-footer-go { top: 36px; left: 19.8473%; }
.figma-trick-page .home-footer-big-heart { top: 36px; left: 38.6768%; }
.figma-trick-page .home-footer-contact { top: 72px; left: 40.7125%; }

.figma-trick-page .trick-mobile-not-found {
    min-height: calc(100vh - 176px);
    padding: 40px 18px;
    background: #000;
    color: #fff;
}

.figma-trick-page .trick-mobile-not-found h1 { color: #fff; font-size: 50px; font-weight: 400; }
.figma-trick-page .trick-mobile-not-found a { color: #fff; font-size: 24px; }

/* Keep the mobile-first trick detail in the same centered public column as the
   Mod, Events and Projektet templates on wider viewports. */
.figma-trick-page > .public-nav,
.figma-trick-page .trick-mobile-main,
.figma-trick-page .trick-mobile-not-found,
.figma-trick-page .home-footer {
    width: 100%;
    max-width: 393px;
    margin-right: auto;
    margin-left: auto;
}

/* Figma 16:327 — mobile tricks overview (393 px reference) */
.figma-tricks-page {
    --overview-red: #bf0000;
    --overview-brown: #342c2c;
    --overview-border: #5d4f4f;
    --overview-divider: #5a4d4d;
    margin: 0;
    background: #000;
    color: #fff;
    font-family: "Bebas Neue", Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", sans-serif;
}

.figma-tricks-page > .public-nav {
    position: sticky;
    z-index: 20;
    top: 0;
    display: flex;
    width: 100%;
    max-width: 393px;
    height: 46px;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding: 0 12px;
    overflow: hidden;
    background: #342c2c;
    transform: translateY(0);
    transition: transform 280ms ease;
    will-change: transform;
}

.figma-tricks-page > .public-nav.is-hidden { transform: translateY(-100%); }
.figma-tricks-page > .public-nav a {
    display: block;
    flex: 0 0 auto;
    color: #fff;
    font-size: clamp(12px, calc(9.09vw - 18.72px), 17px);
    font-weight: 400;
    line-height: 23px;
    text-decoration: none;
    white-space: nowrap;
}
.figma-tricks-page > .public-nav a:hover,
.figma-tricks-page > .public-nav a[aria-current="page"] {
    background: transparent;
    color: #fff;
}
.figma-tricks-page > .public-nav a[aria-current="page"] {
    text-decoration-line: underline;
    text-decoration-color: #bf0000;
    text-decoration-thickness: 3px;
    text-underline-offset: 4px;
}

.figma-tricks-page .tricks-overview-main {
    width: 100%;
    max-width: 393px;
    margin: 0 auto;
}
.figma-tricks-page .tricks-overview-list { width: 100%; margin: 0; }
.figma-tricks-page .tricks-overview-separator {
    width: 100%;
    background: var(--overview-divider);
}
.figma-tricks-page .separator-eight { height: 8px; }
.figma-tricks-page .separator-nine { height: 9px; }

.figma-tricks-page .overview-filter-group {
    position: relative;
    width: 100%;
    margin: 0;
    background: var(--overview-brown);
}
.figma-tricks-page .level-filter-group { height: 66px; }
.figma-tricks-page .category-filter-group { height: 104px; }
.figma-tricks-page .overview-filter-group button {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--overview-border);
    border-radius: 0;
    background: var(--overview-brown);
    color: #fff;
    font: 400 clamp(15px, 4.8346vw, 19px)/1 "Bebas Neue", Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", sans-serif;
    opacity: 1;
    white-space: nowrap;
    cursor: pointer;
}
.figma-tricks-page .overview-filter-group button.is-active {
    border-color: var(--overview-red);
    background: var(--overview-red);
}
.figma-tricks-page .level-filter-group button { top: 16px; height: 33px; }
.figma-tricks-page .level-filter-group button:nth-child(1) { left: 8.397%; width: 16.285%; }
.figma-tricks-page .level-filter-group button:nth-child(2) { left: 27.226%; width: 24.936%; }
.figma-tricks-page .level-filter-group button:nth-child(3) { left: 54.962%; width: 20.102%; }
.figma-tricks-page .level-filter-group button:nth-child(4) { left: 77.863%; width: 15.013%; }

.figma-tricks-page .category-filter-group button { height: 33px; }
.figma-tricks-page .category-filter-group button:nth-child(-n+4) { top: 16px; }
.figma-tricks-page .category-filter-group button:nth-child(n+5) { top: 58px; }
.figma-tricks-page .category-filter-group button:nth-child(1) { left: 8.397%; width: 16.285%; }
.figma-tricks-page .category-filter-group button:nth-child(2) { left: 27.226%; width: 24.936%; }
.figma-tricks-page .category-filter-group button:nth-child(3) { left: 54.707%; width: 18.321%; }
.figma-tricks-page .category-filter-group button:nth-child(4) { left: 75.318%; width: 15.013%; }
.figma-tricks-page .category-filter-group button:nth-child(5) { left: 20.356%; width: 22.392%; }
.figma-tricks-page .category-filter-group button:nth-child(6) { left: 45.038%; width: 16.031%; }
.figma-tricks-page .category-filter-group button:nth-child(7) { left: 63.613%; width: 16.031%; }

:is(.figma-tricks-page, .admin-trick-preview) .tricks-overview-card {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 393 / 529;
    overflow: hidden;
    isolation: isolate;
    background: #000;
}
:is(.figma-tricks-page, .admin-trick-preview) .tricks-overview-card > a {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
}
:is(.figma-tricks-page, .admin-trick-preview) .overview-card-media,
:is(.figma-tricks-page, .admin-trick-preview) .overview-card-gradient {
    position: absolute;
    inset: 0;
    display: block;
}
:is(.figma-tricks-page, .admin-trick-preview) .overview-card-media { z-index: 0; }
:is(.figma-tricks-page, .admin-trick-preview) .overview-card-media img,
:is(.figma-tricks-page, .admin-trick-preview) .overview-card-media video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
:is(.figma-tricks-page, .admin-trick-preview) .overview-card-media > [hidden] { display: none; }
:is(.figma-tricks-page, .admin-trick-preview) .overview-card-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    background: #171414;
    color: #5a4d4d;
    font-size: clamp(70px, 24vw, 110px);
}
:is(.figma-tricks-page, .admin-trick-preview) .overview-card-gradient {
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50.92%, rgba(0, 0, 0, 0.60) 100%);
    pointer-events: none;
}
:is(.figma-tricks-page, .admin-trick-preview) .home-card-copy {
    position: absolute;
    z-index: 2;
    right: 19.593%;
    bottom: 28px;
    left: 7.125%;
    display: block;
    overflow: visible;
    color: #fff;
    opacity: 1;
}
:is(.figma-tricks-page, .admin-trick-preview) .home-card-copy strong {
    display: block;
    margin: 0;
    color: #fff;
    font-size: clamp(42px, 12.7226vw, 50px);
    font-weight: 400;
    line-height: .92;
    opacity: 1;
}
:is(.figma-tricks-page, .admin-trick-preview) .home-card-meta {
    display: flex;
    margin-top: 17px;
    gap: 12px;
    color: #fff;
    font-size: clamp(17px, 5.0891vw, 20px);
    font-weight: 400;
    line-height: 24px;
    opacity: 1;
}
:is(.figma-tricks-page, .admin-trick-preview) .home-card-meta span { color: #fff; opacity: 1; }
:is(.figma-tricks-page, .admin-trick-preview) .home-arrow {
    position: absolute;
    z-index: 2;
    right: 29px;
    bottom: 48px;
    display: block;
    width: 43px;
    height: auto;
    aspect-ratio: 43 / 37;
    overflow: visible;
    flex-shrink: 0;
    color: #fff;
    opacity: 1;
}
:is(.figma-tricks-page, .admin-trick-preview) .home-arrow.is-title-following { right: auto; bottom: auto; }
:is(.figma-tricks-page, .admin-trick-preview) .home-arrow img {
    display: block;
    width: 43px;
    height: auto;
    max-width: none;
    object-fit: contain;
}
.figma-tricks-page .tricks-overview-card[hidden],
.figma-tricks-page .tricks-overview-separator[hidden],
.figma-tricks-page .tricks-overview-empty[hidden] { display: none; }
.figma-tricks-page .tricks-overview-empty {
    display: grid;
    min-height: 160px;
    place-items: center;
    padding: 24px;
    background: #000;
    color: #fff;
    font-size: 28px;
    text-align: center;
}
.figma-tricks-page .tricks-overview-bottom-spacer { width: 100%; height: 8px; background: var(--overview-divider); }

.figma-tricks-page .home-footer {
    position: relative;
    width: 100%;
    max-width: 393px;
    height: 130px;
    margin: 0 auto;
    overflow: hidden;
    background: var(--overview-brown);
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    white-space: nowrap;
}
.figma-tricks-page .home-footer a,
.figma-tricks-page .home-footer span {
    position: absolute;
    display: block;
    color: #fff;
    text-decoration: none;
}
.figma-tricks-page .home-footer-go { top: 36px; left: 19.8473%; }
.figma-tricks-page .home-footer-big-heart { top: 36px; left: 38.6768%; }
.figma-tricks-page .home-footer-contact { top: 72px; left: 40.7125%; }

/* Figma 19:543 — Mod på boardet overview (393 px reference) */
.figma-mod-page {
    --mod-red: #bf0000;
    --mod-brown: #342c2c;
    --mod-spacer: #5a4d4d;
    margin: 0;
    background: #000;
    color: #fff;
    font-family: "Bebas Neue", Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", sans-serif;
}

:is(.figma-mod-page, .figma-mod-detail-page, .figma-project-page, .figma-events-page, .figma-event-detail-page, .figma-articles-page) > .public-nav {
    position: sticky;
    z-index: 20;
    top: 0;
    display: flex;
    width: 100%;
    max-width: 393px;
    height: 46px;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding: 0 12px;
    overflow: hidden;
    background: var(--mod-brown);
    transform: translateY(0);
    transition: transform 280ms ease;
    will-change: transform;
}
:is(.figma-mod-page, .figma-mod-detail-page, .figma-project-page, .figma-events-page, .figma-event-detail-page, .figma-articles-page) > .public-nav.is-hidden { transform: translateY(-100%); }
:is(.figma-mod-page, .figma-mod-detail-page, .figma-project-page, .figma-events-page, .figma-event-detail-page, .figma-articles-page) > .public-nav a {
    display: block;
    flex: 0 0 auto;
    color: #fff;
    font-size: clamp(12px, calc(9.09vw - 18.72px), 17px);
    font-weight: 400;
    line-height: 23px;
    text-decoration: none;
    white-space: nowrap;
}
:is(.figma-mod-page, .figma-mod-detail-page, .figma-project-page, .figma-events-page, .figma-event-detail-page, .figma-articles-page) > .public-nav a:hover,
:is(.figma-mod-page, .figma-mod-detail-page, .figma-project-page, .figma-events-page, .figma-event-detail-page, .figma-articles-page) > .public-nav a[aria-current="page"] {
    background: transparent;
    color: #fff;
}
:is(.figma-mod-page, .figma-mod-detail-page, .figma-project-page, .figma-events-page, .figma-event-detail-page, .figma-articles-page) > .public-nav a[aria-current="page"] {
    text-decoration-line: underline;
    text-decoration-color: var(--mod-red);
    text-decoration-thickness: 3px;
    text-underline-offset: 4px;
}

.figma-mod-page .mod-overview-main {
    width: 100%;
    max-width: 393px;
    min-height: calc(100vh - 46px);
    margin: 0 auto;
    background: #000;
}
.figma-mod-page .mod-overview-spacer {
    width: 100%;
    height: 8px;
    background: var(--mod-spacer);
}
.figma-mod-page .mod-overview-header {
    display: flex;
    width: 100%;
    height: 70px;
    align-items: center;
    padding: 0 18px;
    background: var(--mod-red);
}
.figma-mod-page .mod-overview-header h1 {
    margin: 0;
    transform: translateY(2px);
    color: #fff;
    font-size: 37px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 43px;
    text-transform: uppercase;
}
.figma-mod-page .mod-overview-intro {
    width: 100%;
    min-height: 148px;
    padding: 23px 14px 16px;
    background: var(--mod-brown);
}
.figma-mod-page .mod-overview-intro p {
    width: 100%;
    max-width: 365px;
    margin: 0;
    color: #fff;
    font-family: Inter, Arial, sans-serif;
    font-size: 19px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: normal;
}

.figma-mod-page .mod-overview-list { width: 100%; background: #000; }
.figma-mod-page .mod-overview-card {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: calc(100vw * 491 / 393);
    max-height: 491px;
    overflow: hidden;
    background: #000;
}
.figma-mod-page .mod-overview-card > a {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
}
.figma-mod-page .mod-overview-media,
.figma-mod-page .mod-overview-gradient {
    position: absolute;
    inset: 0;
    display: block;
}
.figma-mod-page .mod-overview-media { z-index: 0; }
.figma-mod-page .mod-overview-media img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}
.figma-mod-page .mod-overview-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    background: #201d1d;
    color: rgba(255, 255, 255, .18);
    font-size: 90px;
}
.figma-mod-page .mod-overview-gradient {
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50.92%, rgba(0, 0, 0, .60) 100%);
    pointer-events: none;
}
.figma-mod-page .home-card-copy {
    position: absolute;
    z-index: 2;
    right: 19.593%;
    top: 67.21%;
    bottom: auto;
    left: 7.125%;
    display: block;
    overflow: visible;
    color: #fff;
    opacity: 1;
}
.figma-mod-page .mod-overview-card.is-park-card .home-card-copy { top: 65.99%; }
.figma-mod-page .home-card-copy strong {
    display: block;
    color: #fff;
    font-size: clamp(42px, 12.7226vw, 50px);
    font-weight: 400;
    letter-spacing: 0;
    line-height: .92;
    opacity: 1;
    text-transform: uppercase;
}
.figma-mod-page .home-arrow {
    position: absolute;
    z-index: 2;
    right: 29px;
    bottom: 41px;
    display: block;
    width: 43px;
    height: auto;
    aspect-ratio: 43 / 37;
    overflow: visible;
    flex-shrink: 0;
    color: #fff;
    opacity: 1;
}
.figma-mod-page .home-arrow.is-title-following { right: auto; bottom: auto; }
.figma-mod-page .home-arrow img {
    display: block;
    width: 43px;
    height: auto;
    max-width: none;
    object-fit: contain;
}
:is(.figma-home .home-mod-card, .figma-mod-page .mod-overview-card) .home-card-copy {
    top: 67.21%;
    right: 20.2%;
    bottom: auto;
    left: 7.07%;
}
:is(.figma-home .home-mod-card, .figma-mod-page .mod-overview-card).is-park-card .home-card-copy {
    top: 65.99%;
}
:is(.figma-home .home-mod-card, .figma-mod-page .mod-overview-card) .psychology-card-teaser {
    position: absolute;
    z-index: 2;
    top: 86.15%;
    right: 0;
    bottom: 2.44%;
    left: 7.83%;
    display: block;
    overflow: hidden;
    color: #fff;
    font-family: Inter, Arial, sans-serif;
    font-size: 19px;
    font-weight: 500;
    line-height: normal;
    opacity: 1;
}
.figma-mod-page .mod-overview-card-separator {
    width: 100%;
    height: 8px;
    background: var(--mod-brown);
}

.figma-mod-page .home-footer,
.figma-project-page .home-footer,
.figma-events-page .home-footer,
.figma-event-detail-page .home-footer {
    position: relative;
    width: 100%;
    max-width: 393px;
    height: 130px;
    margin: 0 auto;
    overflow: hidden;
    background: #342c2c;
    color: #fff;
    font-family: "Bebas Neue", Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    white-space: nowrap;
}
.figma-mod-page .home-footer a,
.figma-mod-page .home-footer span,
.figma-project-page .home-footer a,
.figma-project-page .home-footer span,
.figma-events-page .home-footer a,
.figma-events-page .home-footer span,
.figma-event-detail-page .home-footer a,
.figma-event-detail-page .home-footer span {
    position: absolute;
    display: block;
    color: #fff;
    text-decoration: none;
}
.figma-mod-page .home-footer-go,
.figma-project-page .home-footer-go,
.figma-events-page .home-footer-go,
.figma-event-detail-page .home-footer-go { top: 36px; left: 19.8473%; }
.figma-mod-page .home-footer-big-heart,
.figma-project-page .home-footer-big-heart,
.figma-events-page .home-footer-big-heart,
.figma-event-detail-page .home-footer-big-heart { top: 36px; left: 38.6768%; }
.figma-mod-page .home-footer-contact,
.figma-project-page .home-footer-contact,
.figma-events-page .home-footer-contact,
.figma-event-detail-page .home-footer-contact { top: 72px; left: 40.7125%; }

/* Figma 23:904 — Mod på boardet detail (393 px reference) */
.figma-mod-detail-page {
    --mod-red: #bf0000;
    --mod-brown: #342c2c;
    --mod-detail-brown: #2f2828;
    --mod-spacer: #5a4d4d;
    margin: 0;
    background: #000;
    color: #fff;
    font-family: "Bebas Neue", Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", sans-serif;
}
.figma-mod-detail-page .mod-detail-mobile-main {
    width: 100%;
    max-width: 393px;
    min-height: calc(100vh - 46px);
    margin: 0 auto;
    overflow: hidden;
    background: var(--mod-detail-brown);
}
.figma-mod-detail-page .mod-detail-spacer {
    width: 100%;
    height: 8px;
    background: var(--mod-spacer);
}
.figma-mod-detail-page .mod-detail-heading {
    display: flex;
    width: 100%;
    min-height: 138px;
    align-items: flex-start;
    padding: 33px 18px 12px;
    background: var(--mod-detail-brown);
}
.figma-mod-detail-page .mod-detail-heading h1 {
    max-width: 275px;
    margin: 0;
    color: #fff;
    font-size: clamp(44px, 12.7226vw, 50px);
    font-weight: 400;
    letter-spacing: 0;
    line-height: .92;
    text-transform: uppercase;
}
.figma-mod-detail-page .mod-detail-lead {
    width: 100%;
    padding: 0 18px 20px;
    color: #fff;
    font-family: Inter, Arial, sans-serif;
    font-size: 19px;
    font-weight: 500;
    line-height: normal;
}
.figma-mod-detail-page .mod-detail-lead p { margin: 0; }
.figma-mod-detail-page .mod-detail-lead strong { font-weight: 800; }
.figma-mod-detail-page .mod-detail-media {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: calc(100vw * 491 / 393);
    max-height: 491px;
    overflow: hidden;
    background: #000;
}
.figma-mod-detail-page .mod-detail-media > video,
.figma-mod-detail-page .mod-detail-media > img,
.figma-mod-detail-page .mod-detail-media-placeholder {
    position: absolute;
    z-index: 0;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}
.figma-mod-detail-page .mod-detail-media > video,
.figma-mod-detail-page .mod-detail-media > img {
    max-width: none;
    object-fit: cover;
    object-position: center;
}
.figma-mod-detail-page .mod-detail-play {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    display: grid;
    width: 130px;
    height: 140px;
    padding: 0;
    place-items: center;
    border: 0;
    background: transparent;
    cursor: pointer;
    transform: translate(-50%, -50%);
}
.figma-mod-detail-page .mod-detail-play[hidden] { display: none; }
.figma-mod-detail-page .mod-detail-play img {
    display: block;
    width: 116.076px;
    height: auto;
    max-width: none;
}
.figma-mod-detail-page .mod-detail-media-placeholder {
    display: grid;
    place-items: center;
    background: #201d1d;
    color: rgba(255, 255, 255, .18);
    font-size: 90px;
}
.figma-mod-detail-page .mod-detail-copy {
    width: 100%;
    padding: 40px 18px 28px;
    color: #fff;
    font-family: Inter, Arial, sans-serif;
    font-size: 19px;
    font-weight: 500;
    line-height: normal;
}
.figma-mod-detail-page .mod-detail-copy p { margin: 0 0 23px; }
.figma-mod-detail-page .mod-detail-copy p:last-child { margin-bottom: 0; }
.figma-mod-detail-page .mod-detail-copy strong { font-weight: 700; }
.figma-mod-detail-page .mod-detail-not-found {
    min-height: 600px;
    padding: 28px 18px;
    color: #fff;
    font-family: Inter, Arial, sans-serif;
    font-size: 19px;
}
.figma-mod-detail-page .mod-detail-not-found h1 {
    margin: 0 0 18px;
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: 50px;
    font-weight: 400;
    line-height: .92;
}
.figma-mod-detail-page .mod-detail-not-found a { color: #fff; }
.figma-mod-detail-page .mod-detail-kicker { color: #fff; font-weight: 700; }
.figma-mod-detail-page .home-footer {
    position: relative;
    width: 100%;
    max-width: 393px;
    height: 130px;
    margin: 0 auto;
    overflow: hidden;
    background: #342c2c;
    color: #fff;
    font-family: "Bebas Neue", Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    white-space: nowrap;
}
.figma-mod-detail-page .home-footer a,
.figma-mod-detail-page .home-footer span {
    position: absolute;
    display: block;
    color: #fff;
    text-decoration: none;
}
.figma-mod-detail-page .home-footer-go { top: 36px; left: 19.8473%; }
.figma-mod-detail-page .home-footer-big-heart { top: 36px; left: 38.6768%; }
.figma-mod-detail-page .home-footer-contact { top: 72px; left: 40.7125%; }

/* Figma 19:726 — Projektet (393 px reference) */
.figma-project-page {
    --mod-red: #bf0000;
    --mod-brown: #342c2c;
    --mod-spacer: #5a4d4d;
    --project-content: #1b1818;
    margin: 0;
    background: #000;
    color: #fff;
    font-family: "Bebas Neue", Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", sans-serif;
}
.figma-project-page .project-overview-main {
    width: 100%;
    max-width: 393px;
    margin: 0 auto;
    background: var(--project-content);
}
.figma-project-page .project-overview-spacer {
    width: 100%;
    height: 8px;
    background: var(--mod-spacer);
}
.figma-project-page .project-overview-header {
    display: flex;
    width: 100%;
    height: 70px;
    align-items: center;
    padding: 0 18px;
    background: var(--mod-red);
}
.figma-project-page .project-overview-header h1 {
    margin: 0;
    transform: translateY(2px);
    color: #fff;
    font-size: 37px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 43px;
    text-transform: uppercase;
}
.figma-project-page .project-overview-content {
    width: 100%;
    background: var(--project-content);
    color: #fff;
    font-family: Inter, Arial, sans-serif;
    font-size: 19px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: normal;
}
.figma-project-page .project-overview-content p {
    margin: 0;
    color: #fff;
}
.figma-project-page .project-overview-content strong { font-weight: 700; }
.figma-project-page .project-overview-intro {
    margin: 0;
    padding: 23px 14px 0;
}
.figma-project-page .project-overview-intro > p:nth-of-type(1),
.figma-project-page .project-overview-intro > p:nth-of-type(2),
.figma-project-page .project-overview-intro > p:nth-of-type(3) { margin-bottom: 23px; }
.figma-project-page .project-overview-content h2 {
    margin: 0;
    color: #fff;
    font-family: Inter, Arial, sans-serif;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: normal;
    text-transform: uppercase;
}
.figma-project-page .project-overview-intro h2 + p { margin-top: 0; }
.figma-project-page .project-overview-intro h2 + p + p { margin-top: 0; }
.figma-project-page .project-overview-intro p:last-child { margin-top: 23px; }
.figma-project-page .project-overview-image {
    width: 100%;
    height: calc(100vw * 550 / 393);
    max-height: 550px;
    margin: 44px 0 0;
    overflow: hidden;
    background: #000;
}
.figma-project-page .project-overview-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center 32%;
}
.figma-project-page .project-overview-big-heart {
    margin: 0;
    padding: 44px 14px 48px;
}
.figma-project-page .project-overview-big-heart h2 + p { margin-top: 0; }
.figma-project-page .project-overview-big-heart p + p { margin-top: 23px; }

/* Ordered editorial blocks, reusable for Project and later editorial owners. */
.editorial-page { --editorial-bg: #1b1818; --editorial-red: #bf0000; --editorial-spacer: #5a4d4d; --editorial-text-inset: 14px; }
.editorial-page-article { --editorial-text-inset: 18px; }
.editorial-page .editorial-main { width: 100%; max-width: 393px; margin: 0 auto; background: var(--editorial-bg); }
.editorial-page .editorial-nav-spacer { width: 100%; height: 8px; background: var(--editorial-spacer); }
.editorial-page .editorial-header { display: flex; width: 100%; height: 70px; align-items: center; padding: 0 18px; background: var(--editorial-red); }
.editorial-page .editorial-header h1 { margin: 0; color: #fff; font-family: "Bebas Neue",Impact,sans-serif; font-weight: 400; letter-spacing: 0; line-height: normal; text-transform: uppercase; white-space: pre-line; }
.editorial-page .editorial-header-project h1 { font-size: 37px; transform: translateY(2px); }
.editorial-page .editorial-header-article h1 { font-size: 50px; transform: none; }
.editorial-page .editorial-header-spacer { width: 100%; height: 8px; background: #000; }
.editorial-page .editorial-content { width: 100%; background: var(--editorial-bg); color: #fff; font: 400 19px/normal Inter,Arial,sans-serif; }
.editorial-page .content-block-text { padding: 23px var(--editorial-text-inset) 0; }
.editorial-page-article .content-block-stream > .content-block-text:first-child { padding-top: 26px; }
.editorial-page .content-block-text + .content-block-text { padding-top: 23px; }
.editorial-page .content-block-text p { margin: 0; }
.editorial-page .content-block-text p + p { margin-top: 23px; }
.editorial-page .content-block-text strong { font-weight: 700; }
.editorial-page .content-block-text a { color: #fff; text-decoration: underline; }
.editorial-page .content-block-heading { padding: 23px var(--editorial-text-inset) 0; }
.editorial-page .editorial-content .content-block-heading h2 { margin: 0; color: #fff; font: 700 19px/normal Inter,Arial,sans-serif; text-transform: uppercase; white-space: pre-line; }
.editorial-page .content-block-heading + .content-block-text { padding-top: 0; }
.editorial-page .content-block-image,
.editorial-page .content-block-video { position: relative; width: 100%; height: auto; aspect-ratio: auto; margin: 23px 0 0; overflow: hidden; background: #000; }
.editorial-page .content-block-image img,
.editorial-page .content-block-video video { display: block; width: 100%; height: auto; max-width: none; object-fit: cover; object-position: center; }
.editorial-page .content-block-image + .content-block-text,
.editorial-page .content-block-video + .content-block-text,
.editorial-page .content-block-image + .content-block-heading,
.editorial-page .content-block-video + .content-block-heading { padding-top: 23px; }
.editorial-page .content-block-stream > :last-child { padding-bottom: 48px; }
.editorial-page .content-block-stream > .content-block-image:last-child,
.editorial-page .content-block-stream > .content-block-video:last-child { margin-bottom: 0; padding-bottom: 0; }
.content-block-stream,
.content-block { width: 100%; }
.content-block-heading { padding: 30px 14px 8px; }
.figma-project-page .project-overview-content .content-block-heading h2 {
    margin: 0;
    color: #fff;
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: 38px;
    font-weight: 400;
    line-height: .96;
    white-space: pre-line;
}
.content-block-text { padding: 12px 14px; }
.content-block-text p { margin: 0; }
.content-block-text p + p { margin-top: 23px; }
.content-block-text strong { font-weight: 700; }
.content-block-text a { color: #fff; text-decoration: underline; }
.content-block-image,
.content-block-video {
    position: relative;
    width: 100%;
    aspect-ratio: 393 / 550;
    margin: 32px 0 0;
    overflow: hidden;
    background: #000;
}
.content-block-image img,
.content-block-video video {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}
.content-block-play {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    width: 74px;
    height: 74px;
    padding: 0;
    border: 0;
    background: transparent;
    transform: translate(-50%, -50%);
    cursor: pointer;
}
.content-block-play img { display: block; width: 100%; height: 100%; }
:is(.content-block-play, .trick-play-indicator, .mod-detail-play, .article-detail-play) > img {
    transform: rotate(90deg);
    transform-origin: center;
}
.content-block-video.is-playing .content-block-play { display: none; }

/* Reusable admin block editor. */
.admin-page .content-block-editor-list { display: grid; gap: 14px; }
.admin-page .content-block-editor-card { overflow: hidden; border: 1px solid var(--admin-border-dark); border-radius: 10px; background: var(--admin-panel); }
.admin-page .content-block-editor-card > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--admin-border-dark); }
.admin-page .content-block-editor-card > header > div { display: flex; gap: 5px; }
.admin-page .content-block-editor-card > header button,
.admin-page .content-block-rich-toolbar button { display: inline-flex; min-width: 34px; min-height: 32px; align-items: center; justify-content: center; border: 1px solid var(--admin-border-dark); border-radius: 6px; background: var(--admin-input); color: var(--admin-text-on-dark); cursor: pointer; }
.admin-page .content-block-editor-card > header button:disabled { opacity: .4; cursor: default; }
.admin-page .content-block-editor-fields { padding: 12px; }
.admin-page .content-block-editor-card.is-pending-removal .content-block-editor-fields { opacity: .35; }
.admin-page .content-block-removal-note { margin: 0; padding: 0 12px 12px; color: var(--admin-text-on-dark); font-weight: 700; }
.admin-page .content-block-rich-toolbar { display: flex; gap: 6px; margin-bottom: 6px; }
.admin-page .content-block-rich-editor { min-height: 130px; padding: 10px 12px; border: 1px solid var(--admin-border-dark); border-radius: 7px; background: var(--admin-input); color: var(--admin-text-on-dark); }
.admin-page .content-block-rich-editor strong,
.admin-page .content-block-rich-editor b { font-weight: 700; }
.admin-page .content-block-rich-editor:focus { outline: 2px solid var(--admin-lime); outline-offset: 1px; }
.admin-page .content-block-add { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; margin-top: 14px; }
.admin-page .content-block-add label { grid-column: 1 / -1; }
.admin-page .content-block-add select { margin: 0; }
.admin-project-preview .content-block-play { pointer-events: none; }
.admin-project-preview { width: 393px; max-width: 100%; padding: 0; border: 0; }
.admin-project-preview > [data-preview-pane] { width: 100%; padding: 0; border: 0; }
.admin-project-preview > [data-preview-pane="overview"] .home-project-card { width: 100%; max-width: none; }
.admin-project-preview[data-preview-mode="both"] { background: transparent; }
.admin-project-preview[data-preview-mode="both"] [data-preview-pane] { background: #342c2c; }
.admin-project-preview[data-preview-mode="both"] [data-preview-pane] + [data-preview-pane] { margin-top: 24px; }

/* Articles reuse the Project page's narrow editorial rhythm and Go Skate card language. */
.figma-articles-page {
    --mod-red: #bf0000;
    --mod-brown: #342c2c;
    --mod-spacer: #5a4d4d;
    margin: 0;
    background: #000;
    color: #fff;
    font-family: "Bebas Neue", Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", sans-serif;
}
.figma-articles-page .articles-main { width: 100%; max-width: 393px; margin: 0 auto; background: #000; }
.figma-articles-page .articles-spacer { width: 100%; height: 8px; background: var(--mod-spacer); }
.figma-articles-page .articles-header { display: flex; height: 70px; align-items: center; padding: 0 18px; background: var(--mod-red); }
.figma-articles-page .articles-header h1 { margin: 0; transform: translateY(2px); color: #fff; font-size: 37px; font-weight: 400; letter-spacing: 0; line-height: 43px; text-transform: uppercase; }
.figma-articles-page .articles-list { display: grid; gap: 8px; background: var(--mod-spacer); }
.figma-articles-page .article-overview-card { position: relative; width: 100%; height: calc(100vw * 491 / 393); max-height: 491px; overflow: hidden; background: #171414; }
.figma-articles-page .article-overview-card > a { position: absolute; inset: 0; display: block; color: #fff; text-decoration: none; }
.figma-articles-page .article-card-media,
.figma-articles-page .article-card-media img,
.figma-articles-page .article-card-media video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.figma-articles-page .article-card-media { z-index: 0; }
.figma-articles-page .article-card-media img,
.figma-articles-page .article-card-media video { object-fit: cover; object-position: center; }
.figma-articles-page .article-card-media img[hidden],
.figma-articles-page .article-card-media video[hidden],
.figma-articles-page .article-card-content > span[hidden] { display: none; }
.figma-articles-page .article-card-media > span { display: grid; height: 100%; place-items: center; color: rgba(255,255,255,.25); font-size: 56px; }
.figma-articles-page .article-card-gradient { position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg,transparent 38%,rgba(0,0,0,.9) 100%); }
.figma-articles-page .article-card-content { position: absolute; z-index: 2; right: 28px; bottom: 24px; left: 28px; color: #fff; }
.figma-articles-page .article-card-content strong { display: inline; padding-right: 0; color: #fff; font-size: 50px; font-weight: 400; line-height: 46px; white-space: pre-line; }
.figma-articles-page .article-card-title { white-space: pre-line; }
.figma-articles-page .article-card-content > span { display: block; margin-top: 10px; color: #fff; font: 500 19px/1.25 Inter,Arial,sans-serif; }
.figma-articles-page .article-card-arrow { display: inline-block; width: 43px; height: auto; margin-left: 14px; vertical-align: middle; aspect-ratio: 43 / 37; }
.figma-articles-page .article-card-arrow img { display: block; width: 43px; height: auto; aspect-ratio: 43 / 37; }
.figma-articles-page .articles-empty { padding: 48px 18px; background: #1b1818; color: #fff; font-family: Inter,Arial,sans-serif; }
.figma-articles-page .articles-empty h2 { font-family: "Bebas Neue",sans-serif; font-size: 38px; font-weight: 400; }
.figma-articles-page .home-footer { position: relative; width: 100%; max-width: 393px; height: 130px; margin: 0 auto; overflow: hidden; background: #342c2c; color: #fff; font-size: 20px; line-height: 24px; white-space: nowrap; }
.figma-articles-page .home-footer a,
.figma-articles-page .home-footer span { position: absolute; display: block; color: #fff; text-decoration: none; }
.figma-articles-page .home-footer-go { top: 36px; left: 19.8473%; }
.figma-articles-page .home-footer-big-heart { top: 36px; left: 38.6768%; }

.figma-article-detail-page .article-detail-header { height: auto; min-height: 116px; align-items: flex-start; padding: 28px 18px 20px; }
.figma-article-detail-page .article-detail-header h1 { transform: none; font-size: 50px; line-height: 46px; white-space: pre-line; }
.figma-article-detail-page .article-detail-lead { padding: 24px 14px 30px; background: #1b1818; color: #fff; font: 500 19px/1.35 Inter,Arial,sans-serif; }
.figma-article-detail-page .article-detail-lead p,
.figma-article-detail-page .article-detail-body p { margin: 0; }
.figma-article-detail-page .article-detail-lead p + p,
.figma-article-detail-page .article-detail-body p + p { margin-top: 23px; }
.figma-article-detail-page .article-detail-media { position: relative; margin-top: 0; }
.figma-article-detail-page .article-detail-media video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 32%; }
.figma-article-detail-page .article-detail-play { position: absolute; z-index: 2; top: 50%; left: 50%; width: 82px; height: 82px; padding: 0; border: 0; border-radius: 50%; background: transparent; transform: translate(-50%,-50%); cursor: pointer; }
.figma-article-detail-page .article-detail-play img { width: 100%; height: 100%; }
.figma-article-detail-page .article-detail-play[hidden] { display: none; }
.figma-article-detail-page .article-detail-body { padding: 32px 14px 48px; background: #1b1818; color: #fff; font: 400 19px/1.4 Inter,Arial,sans-serif; }
.figma-article-detail-page .article-not-found { min-height: 500px; padding: 42px 18px; background: #1b1818; color: #fff; }
.figma-article-detail-page .article-not-found h1 { font-size: 50px; line-height: .95; }
.figma-article-detail-page .article-not-found a { color: #fff; }

/* Final shared editorial cascade: public pages and 393px admin SIDE previews use identical rules. */
.editorial-page .editorial-header { height: 70px; min-height: 70px; align-items: center; padding: 0 18px; }
.editorial-page .editorial-header-project h1 { font: 400 37px/normal "Bebas Neue",Impact,sans-serif; transform: translateY(2px); }
.editorial-page .editorial-header-article { height: auto; min-height: 70px; padding-top: 10px; padding-bottom: 10px; }
.editorial-page .editorial-header-article h1 { min-width: 0; overflow-wrap: break-word; font: 400 50px/1 "Bebas Neue",Impact,sans-serif; transform: none; white-space: pre-line; }
.editorial-page .editorial-content { font: 400 19px/normal Inter,Arial,sans-serif; }
.editorial-page .editorial-content .content-block-heading { padding: 23px var(--editorial-text-inset) 0; }
.editorial-page .editorial-content .content-block-heading h2 { font: 700 19px/normal Inter,Arial,sans-serif; text-transform: uppercase; }
.editorial-page .editorial-content .content-block-text { padding: 23px var(--editorial-text-inset) 0; }
.editorial-page-article .editorial-content .content-block-stream > .content-block-text:first-child { padding-top: 26px; }
.editorial-page .editorial-content .content-block-heading + .content-block-text { padding-top: 0; }
.editorial-page .editorial-content .content-block-text + .content-block-text { padding-top: 23px; }
.editorial-page .editorial-content .content-block-image,
.editorial-page .editorial-content .content-block-video { width: 100%; height: auto; aspect-ratio: auto; margin: 23px 0 0; }
.editorial-page .editorial-content .content-block-image img,
.editorial-page .editorial-content .content-block-video video { width: 100%; height: auto; object-fit: cover; object-position: center; }
.editorial-page-project .editorial-content .content-block-image,
.editorial-page-project .editorial-content .content-block-video { aspect-ratio: 393 / 550; }
.editorial-page-project .editorial-content .content-block-image img,
.editorial-page-project .editorial-content .content-block-video video { height: 100%; }
.editorial-page .editorial-content .content-block-image + .content-block-text,
.editorial-page .editorial-content .content-block-video + .content-block-text,
.editorial-page .editorial-content .content-block-image + .content-block-heading,
.editorial-page .editorial-content .content-block-video + .content-block-heading { padding-top: 23px; }
.editorial-page-article .editorial-content { padding-bottom: 30px; }
.editorial-page-article .editorial-content .content-block-stream > :last-child { padding-bottom: 0; }
.admin-article-preview { width: 393px; max-width: 100%; padding: 0; border: 0; }
.admin-article-preview > [data-preview-pane] { width: 100%; padding: 0; border: 0; }
.admin-article-preview[data-preview-mode="both"] { background: transparent; }
.admin-article-preview[data-preview-mode="both"] [data-preview-pane] { background: #342c2c; }
.admin-article-preview[data-preview-mode="both"] [data-preview-pane] + [data-preview-pane] { margin-top: 24px; }

/* Fourth shared footer destination, without adding Articles to the top navigation. */
:is(.figma-home,.figma-trick-page,.figma-tricks-page,.figma-mod-page,.figma-mod-detail-page,.figma-project-page,.figma-events-page,.figma-event-detail-page,.figma-articles-page) .home-footer-more { top: 72px; left: 19.8473%; }
:is(.figma-home,.figma-trick-page,.figma-tricks-page,.figma-mod-page,.figma-mod-detail-page,.figma-project-page,.figma-events-page,.figma-event-detail-page,.figma-articles-page) .home-footer-contact { left: 62%; }

@media (min-width: 394px) {
    .figma-articles-page > .public-nav,
    .figma-articles-page .articles-main,
    .figma-articles-page .home-footer { width: 393px; margin-right: auto; margin-left: auto; }
    .figma-articles-page .article-overview-card { height: 491px; }
}

/* Figma 21:761 and 21:854 — Events flow (393 px reference) */
.figma-events-page,
.figma-event-detail-page {
    --mod-red: #bf0000;
    --mod-brown: #342c2c;
    --events-red: #bf0000;
    --events-brown: #342c2c;
    --events-detail-brown: #2f2828;
    --events-spacer: #5a4d4d;
    margin: 0;
    background: #000;
    color: #fff;
    font-family: "Bebas Neue", Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", sans-serif;
}
.figma-events-page .events-overview-main,
.figma-event-detail-page .event-detail-mobile-main {
    width: 100%;
    max-width: 393px;
    margin: 0 auto;
    background: #000;
}
.figma-events-page .events-overview-spacer,
.figma-event-detail-page .event-detail-spacer {
    width: 100%;
    height: 8px;
    background: var(--events-spacer);
}
.figma-events-page .events-overview-header {
    display: flex;
    width: 100%;
    height: 70px;
    align-items: center;
    padding: 0 18px;
    background: var(--events-red);
}
.figma-events-page .events-overview-header h1 {
    margin: 0;
    transform: translateY(2px);
    color: #fff;
    font-size: 37px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 43px;
    text-transform: uppercase;
}
.figma-events-page .events-overview-intro {
    display: flex;
    width: 100%;
    min-height: 90px;
    align-items: flex-start;
    padding: 23px 14px 13px;
    background: var(--events-brown);
}
.figma-events-page .events-overview-intro p {
    width: 100%;
    max-width: 365px;
    margin: 0;
    color: #fff;
    font-family: Inter, Arial, sans-serif;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: normal;
}
.figma-events-page .events-overview-list { width: 100%; background: #000; }
.figma-events-page .event-overview-card {
    position: relative;
    isolation: isolate;
    width: 100%;
    overflow: hidden;
    background: #000;
}
.figma-events-page .event-overview-card > a {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
}
.figma-events-page .event-overview-media {
    position: relative;
    z-index: 0;
    display: block;
    width: 100%;
}
.figma-events-page .event-overview-media img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
}
.figma-events-page .event-overview-placeholder {
    display: grid;
    width: 100%;
    aspect-ratio: 535 / 693;
    place-items: center;
    background: #201d1d;
    color: rgba(255, 255, 255, .18);
    font-size: 90px;
}
.figma-events-page .event-overview-gradient {
    position: absolute;
    z-index: 1;
    inset: 49.05% 0 0;
    display: block;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .90));
    pointer-events: none;
}
.figma-events-page .home-card-copy {
    position: absolute;
    z-index: 2;
    right: 20.36%;
    bottom: 18px;
    left: 6.36%;
    display: block;
    overflow: visible;
    color: #fff;
    opacity: 1;
}
.figma-events-page .home-card-copy strong {
    display: block;
    color: #fff;
    font-size: clamp(42px, 12.7226vw, 50px);
    font-weight: 400;
    letter-spacing: 0;
    line-height: normal;
    opacity: 1;
    text-transform: uppercase;
    white-space: pre-line;
}
.figma-events-page .event-overview-meta {
    display: block;
    color: #fff;
    font-size: clamp(17px, 5.0891vw, 20px);
    font-weight: 400;
    letter-spacing: 0;
    line-height: normal;
    opacity: 1;
    text-transform: uppercase;
    white-space: nowrap;
}
.figma-events-page .home-arrow {
    position: absolute;
    z-index: 2;
    right: 29px;
    bottom: 57px;
    display: block;
    width: 43px;
    height: auto;
    aspect-ratio: 43 / 37;
    overflow: visible;
    color: #fff;
    opacity: 1;
}
.figma-events-page .home-arrow.is-title-following { right: auto; bottom: auto; }
.figma-events-page .home-arrow img {
    display: block;
    width: 43px;
    height: auto;
    max-width: none;
    object-fit: contain;
}
.figma-events-page .events-overview-separator {
    width: 100%;
    height: 8px;
    background: var(--events-brown);
}

.figma-event-detail-page .event-detail-mobile-main { background: var(--events-detail-brown); }
.figma-event-detail-page .event-detail-heading {
    display: flex;
    width: 100%;
    min-height: 115px;
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 18px 14px;
    background: var(--events-detail-brown);
}
.figma-event-detail-page .event-detail-heading h1 {
    margin: 0;
    color: #fff;
    font-size: 50px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 60px;
    text-transform: uppercase;
    white-space: pre-line;
}
.figma-event-detail-page .event-detail-heading p {
    margin: 2px 0 0;
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 24px;
    text-transform: uppercase;
    white-space: nowrap;
}
.figma-event-detail-page .event-detail-poster { width: 100%; background: #000; }
.figma-event-detail-page .event-detail-poster img,
.figma-event-detail-page .event-detail-poster video {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
}
.figma-event-detail-page .event-detail-content,
.figma-event-detail-page .event-detail-not-found {
    width: 100%;
    padding: 24px 14px 30px;
    background: var(--events-detail-brown);
    color: #fff;
    font-family: Inter, Arial, sans-serif;
    font-size: 19px;
    line-height: normal;
}
.figma-event-detail-page .event-detail-content p,
.figma-event-detail-page .event-detail-content div { margin: 0 0 23px; }
.figma-event-detail-page .event-detail-content section { margin: 0 0 23px; }
.figma-event-detail-page .event-detail-content h2,
.figma-event-detail-page .event-detail-not-found h1 {
    margin: 0;
    color: #fff;
    font-family: Inter, Arial, sans-serif;
    font-size: 19px;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}
.figma-event-detail-page .event-detail-content a,
.figma-event-detail-page .event-detail-not-found a { color: #fff; }
.figma-event-detail-page .event-detail-external {
    display: inline-block;
    padding-bottom: 2px;
    border-bottom: 3px solid var(--events-red);
    text-decoration: none;
}
.admin-event-preview[data-preview-mode="both"] { background: transparent; }
.admin-event-preview[data-preview-mode="both"] [data-preview-pane] { background: #342c2c; }
.admin-event-preview[data-preview-mode="both"] [data-preview-pane] + [data-preview-pane] { margin-top: 24px; }
.admin-event-preview [data-event-output="intro"],
.admin-event-preview [data-event-output="description"],
.admin-event-preview [data-event-output="address"],
.admin-event-preview [data-event-output="contact"] { white-space: pre-line; }
.admin-event-preview [hidden] { display: none !important; }

/* Keep the shared 393px navigation robust when the legacy desktop link padding activates. */
@media (min-width: 700px) {
    :is(
        .figma-home,
        .figma-trick-page,
        .figma-tricks-page,
        .figma-mod-page,
        .figma-mod-detail-page,
        .figma-project-page,
        .figma-events-page,
        .figma-event-detail-page,
        .figma-articles-page
    ) > .public-nav {
        width: 100%;
        max-width: 393px;
        margin-right: auto;
        margin-left: auto;
        padding-right: 12px;
        padding-left: 12px;
        justify-content: space-between;
        gap: 0;
        overflow: hidden;
    }

    :is(
        .figma-home,
        .figma-trick-page,
        .figma-tricks-page,
        .figma-mod-page,
        .figma-mod-detail-page,
        .figma-project-page,
        .figma-events-page,
        .figma-event-detail-page,
        .figma-articles-page
    ) > .public-nav a {
        min-width: 0;
        padding-right: 0;
        padding-left: 0;
        flex: 0 1 auto;
    }
}
/* Admin content system */
.admin-shell-page { background: #f4f5f7; color: #211f1f; }
.admin-shell { min-height: 100vh; }
.admin-sidebar { background: #342c2c; color: #fff; padding: 22px 18px; }
.admin-logo { color: #fff; display: block; font-family: "Bebas Neue", sans-serif; font-size: 28px; text-decoration: none; }
.admin-logo span { color: #efb321; font: 700 11px Inter, sans-serif; margin-left: 6px; }
.admin-sidebar nav { display: flex; gap: 5px; margin-top: 18px; overflow-x: auto; }
.admin-sidebar nav a, .admin-sidebar-actions a { color: #ddd; padding: 10px 12px; text-decoration: none; white-space: nowrap; }
.admin-sidebar nav a[aria-current="page"] { background: #bf0000; color: #fff; border-radius: 7px; }
.admin-sidebar-actions { border-top: 1px solid rgba(255, 255, 255, .2); display: flex; flex-wrap: wrap; gap: 5px; margin-top: 14px; padding-top: 14px; }
.admin-sidebar-actions a:hover { color: #fff; }
.admin-stage { min-width: 0; }
.admin-list-tools { align-items: center; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; margin-bottom: 18px; }
.admin-status-tabs { display: flex; gap: 5px; }
.admin-status-tabs a { border-radius: 999px; color: #554f4f; padding: 8px 13px; text-decoration: none; }
.admin-status-tabs a[aria-current="page"] { background: #342c2c; color: #fff; }
.admin-search-form { display: flex; gap: 8px; }
.admin-search-form input { min-width: 260px; }
.admin-trick-title { align-items: center; display: flex; gap: 12px; min-width: 190px; }
.admin-trick-title img, .admin-thumb-placeholder { border-radius: 7px; height: 54px; object-fit: cover; width: 44px; }
.admin-thumb-placeholder { align-items: center; background: #342c2c; color: #fff; display: flex; justify-content: center; }
.admin-teaser-cell { max-width: 360px; line-height: 1.35; }
.admin-title-textarea { min-height: 68px; resize: vertical; }
.admin-row-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 10px; }
.admin-row-actions form { margin: 0; }
.admin-row-actions a, .admin-row-actions button { background: none; border: 0; color: #bf0000; cursor: pointer; font: inherit; padding: 0; text-decoration: underline; }
.status-draft { background: #eee2a4; color: #5d4d00; }
.status-published { background: #ccead1; color: #155b22; }
.status-archived { background: #ddd; color: #555; }
.admin-editor-grid { align-items: start; display: grid; gap: 26px; }
.admin-trick-form { min-width: 0; }
.admin-live-preview { min-width: 0; }
.admin-preview-phone { background: #342c2c; color: #fff; margin: auto; max-width: 393px; overflow: hidden; width: 100%; }
.admin-preview-media { aspect-ratio: 393 / 491; background: #181616; position: relative; }
.admin-preview-media img, .admin-preview-media video { height: 100%; object-fit: cover; width: 100%; }
.admin-preview-media .custom-play-button { left: 50%; position: absolute; top: 50%; transform: translate(-50%, -50%); }
.admin-preview-media.admin-trick-preview-media {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 393 / 699;
    overflow: hidden;
}
.admin-trick-preview-media > img,
.admin-trick-preview-media > video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.admin-trick-preview-media > img[hidden],
.admin-trick-preview-media > video[hidden] { display: none; }
.admin-preview-description { padding: 20px 18px 22px; background: #342c2c; color: #fff; font: 500 19px/1.35 Inter, Arial, sans-serif; white-space: pre-line; }
.admin-preview-description[hidden] { display: none; }
.field-optional { color: #777; font-size: .88em; font-weight: 400; }
.admin-mod-preview { background: #342c2c; }
.admin-preview-toolbar { align-items: center; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; margin: 0 auto 10px; max-width: 393px; }
.admin-preview-toolbar .eyebrow { margin: 0; }
.admin-preview-mode { background: #e5e5e5; border-radius: 7px; display: inline-flex; padding: 3px; }
.admin-preview-mode button { background: transparent; border: 0; border-radius: 5px; color: #5b5656; cursor: pointer; font: 700 12px/1 Inter,Arial,sans-serif; padding: 8px 10px; text-transform: uppercase; }
.admin-preview-mode button[aria-pressed="true"] { background: #342c2c; color: #fff; }
.admin-preview-mode button:focus-visible { outline: 2px solid #bf0000; outline-offset: 2px; }
.admin-preview-phone [data-preview-pane][hidden] { display: none; }
.admin-trick-preview[data-preview-mode="both"] { background: transparent; }
.admin-trick-preview[data-preview-mode="both"] [data-preview-pane] { background: #342c2c; }
.admin-trick-preview[data-preview-mode="both"] [data-preview-pane] + [data-preview-pane] { margin-top: 24px; }
.admin-trick-preview .tricks-overview-card { font-family: "Bebas Neue", Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", sans-serif; }
.admin-trick-preview-more { align-items: center; background: #000; color: #fff; display: flex; font-family: "Bebas Neue",sans-serif; font-size: 35px; height: 90px; justify-content: space-between; padding: 0 28px; }
.admin-mod-preview[data-preview-mode="both"] { background: transparent; }
.admin-mod-preview[data-preview-mode="both"] [data-preview-pane] { background: #342c2c; }
.admin-mod-preview[data-preview-mode="both"] [data-preview-pane] + [data-preview-pane] { margin-top: 24px; }
.admin-mod-preview [data-preview-pane="detail"] > header { min-height: 116px; padding: 28px 18px 14px; }
.admin-mod-preview [data-preview-pane="detail"] > header h2 { color: #fff; font-family: "Bebas Neue", sans-serif; font-size: 48px; font-weight: 400; line-height: .94; margin: 0; }
.admin-mod-preview-lead, .admin-mod-preview-body { color: #fff; font: 500 19px/1.35 Inter, Arial, sans-serif; padding: 0 18px 22px; white-space: pre-line; }
.admin-mod-preview-body { padding-top: 22px; }
.admin-mod-preview-lead[hidden], .admin-mod-preview-body[hidden] { display: none; }
.admin-mod-preview .admin-mod-preview-media {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    overflow: hidden;
}
.admin-mod-preview .admin-mod-preview-media > img,
.admin-mod-preview .admin-mod-preview-media > video {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center;
}
.admin-mod-preview .admin-mod-preview-media > img[hidden],
.admin-mod-preview .admin-mod-preview-media > video[hidden] { display: none; }
.admin-mod-preview-card { border-top: 8px solid #5a4d4d; padding-top: 8px; }
.admin-mod-card-media { aspect-ratio: 393 / 491; background: #171414; overflow: hidden; position: relative; }
.admin-mod-card-media > img { height: 100%; object-fit: cover; position: absolute; width: 100%; z-index: 0; }
.admin-mod-card-gradient { background: linear-gradient(to bottom,transparent 42%,rgba(0,0,0,.78) 100%); inset: 0; position: absolute; z-index: 1; }
.admin-mod-card-media > div { bottom: 20px; color: #fff; left: 28px; position: absolute; right: 22px; z-index: 2; }
.admin-mod-card-media strong { font-family: "Bebas Neue", sans-serif; font-size: 42px; font-weight: 400; line-height: .95; }
.admin-mod-card-media > div > span { font-size: 32px; margin-left: 14px; }
.admin-mod-card-media p { font: 500 19px/1.25 Inter,Arial,sans-serif; margin: 12px 0 0; }

/* Psychology titles preserve editor-authored line breaks while still wrapping. */
.figma-home .home-mod-card .home-card-copy strong,
.figma-home .home-news-slide .home-card-copy strong,
.figma-mod-page .mod-overview-card .home-card-copy strong,
.figma-mod-detail-page .mod-detail-heading h1,
.admin-mod-preview [data-mod-output="title"],
.admin-mod-preview [data-mod-card-title] {
    white-space: pre-line;
}

/* Trick titles preserve editor-authored newlines without disabling wrapping. */
.figma-home .home-trick-card .home-card-copy strong,
.figma-tricks-page .tricks-overview-card .home-card-copy strong,
.figma-trick-page .trick-mobile-title h1,
.admin-trick-preview [data-preview-output="title"] {
    white-space: pre-line;
}
.admin-preview-prerequisites h3 { background: #bf0000; color: #fff; font-family: "Bebas Neue", sans-serif; font-size: 26px; margin: 0; padding: 18px; }
.admin-preview-prerequisites ul { list-style: none; margin: 0; padding: 0; }
.admin-preview-prerequisites li { border-bottom: 8px solid #211f1f; font-family: "Bebas Neue", sans-serif; font-size: 31px; padding: 18px; }
.admin-preview-prerequisites li span { float: right; }
.admin-current-video, .admin-current-poster { border-radius: 8px; display: block; margin-bottom: 10px; max-height: 280px; max-width: 100%; }
.media-upload-field + .media-upload-field { border-top: 1px solid #dedede; margin-top: 24px; padding-top: 24px; }
.admin-media-pair { display: grid; gap: 16px; padding: 14px; border: 1px solid #dedede; border-radius: 12px; }
.admin-media-pair-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.admin-media-pair-heading > span { font-size: 13px; font-weight: 700; }
.admin-media-pair-poster { display: grid; gap: 8px; }
.admin-media-pair-prompt { display: flex; flex-direction: column; gap: 3px; margin: 0; text-transform: uppercase; }
.admin-media-pair-prompt span { font-size: 13px; text-transform: none; }
.admin-media-pair-error { margin: 0; font-weight: 700; }
.admin-media-pair.is-incomplete .media-dropzone[data-media-kind="poster"] { border-color: #bf0000; }
.admin-media-pair.needs-new-poster .admin-media-pair-poster [data-existing-media] { opacity: .35; }
.adaptive-media-summary { display: grid; gap: 10px; }
.adaptive-media-summary[hidden] { display: none; }
.adaptive-media-summary .media-dropzone-existing,
.adaptive-media-summary .media-dropzone-selected { margin-bottom: 0; }
.adaptive-media-summary .adaptive-media-summary-item { align-items: center; display: grid; gap: 10px; grid-template-columns: 80px minmax(0,1fr) auto; min-height: 0; overflow: hidden; padding: 8px; position: relative; }
.adaptive-media-summary .adaptive-media-summary-item.is-superseded { opacity: .38; }
.adaptive-media-summary .adaptive-media-summary-item > img,
.adaptive-media-summary .adaptive-media-summary-item > video { grid-column: 1; height: 60px; width: 80px; }
.adaptive-media-summary .adaptive-media-summary-item > img[hidden],
.adaptive-media-summary .adaptive-media-summary-item > video[hidden] { display: none; }
.adaptive-media-summary .adaptive-media-summary-item > p { grid-column: 2; min-width: 0; padding: 0; }
.adaptive-media-summary .adaptive-media-summary-item > p strong { white-space: nowrap; }
.adaptive-media-summary .adaptive-media-summary-item > p span { overflow: hidden; overflow-wrap: normal; text-overflow: ellipsis; white-space: nowrap; }
.adaptive-media-summary-actions { align-items: flex-end; align-self: stretch; display: flex; flex-direction: column; gap: 7px; grid-column: 3; justify-content: flex-start; min-width: max-content; }
.adaptive-media-summary-actions .media-existing-remove { flex: 0 0 auto; position: static; }
.adaptive-media-summary .adaptive-media-summary-item.is-pending-removal > .adaptive-media-summary-actions { opacity: 1; }
.adaptive-media-dropzone.is-poster-required { border-color: #bf0000; }
.media-upload-field > h3 { font-size: 16px; margin: 0 0 10px; }
.media-dropzone { background: #fafafa; border: 2px dashed #b8b5b5; border-radius: 12px; cursor: pointer; outline: none; overflow: hidden; padding: 16px; transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease; }
.media-dropzone:hover, .media-dropzone:focus-visible { border-color: #686060; box-shadow: 0 0 0 3px rgba(52,44,44,.12); }
.media-dropzone.is-drag-over { background: #fff2f2; border-color: #bf0000; box-shadow: 0 0 0 4px rgba(191,0,0,.12); }
.media-dropzone.has-selection { background: #f3faf4; border-color: #398448; }
.media-dropzone.has-error { background: #fff4f4; border-color: #bf0000; }
.media-dropzone-existing, .media-dropzone-selected { align-items: center; background: #342c2c; border-radius: 8px; color: #fff; display: grid; gap: 14px; grid-template-columns: 112px minmax(0,1fr); margin-bottom: 14px; overflow: hidden; padding: 10px; }
.media-dropzone-existing { position: relative; padding-right: 46px; transition: opacity .16s ease; }
.media-dropzone-existing[hidden], .media-dropzone-selected[hidden] { display: none; }
.media-dropzone-existing img, .media-dropzone-existing video, .media-dropzone-selected img, .media-dropzone-selected video { background: #171414; border-radius: 5px; height: 82px; object-fit: cover; width: 112px; }
.media-dropzone-existing p, .media-dropzone-selected p { margin: 0; min-width: 0; }
.media-dropzone-existing strong, .media-dropzone-existing span, .media-dropzone-selected strong, .media-dropzone-selected span { display: block; overflow-wrap: anywhere; }
.media-dropzone-existing span, .media-dropzone-selected span { color: #cdc8c8; font-size: 12px; margin-top: 5px; }
.media-dropzone-existing em { color: #ffd26a; display: block; font-size: 12px; font-style: normal; font-weight: 700; margin-top: 7px; }
.media-dropzone-existing em[hidden] { display: none; }
.media-dropzone-existing.is-pending-removal > :not(.media-existing-remove) { opacity: .38; }
.media-existing-remove { align-items: center; background: #090808; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: #fff; cursor: pointer; display: flex; font: 400 20px/1 Arial,sans-serif; height: 30px; justify-content: center; padding: 0 0 2px; position: absolute; right: 9px; top: 9px; width: 30px; z-index: 2; }
.media-existing-remove:hover, .media-existing-remove:focus-visible { background: #bf0000; outline: 2px solid #fff; outline-offset: 2px; }
.media-dropzone-prompt { align-items: center; display: flex; flex-direction: column; padding: 17px 12px 20px; text-align: center; }
.media-dropzone-prompt strong { font-size: 16px; margin-top: 8px; }
.media-dropzone-prompt > span:not(.media-dropzone-icon) { color: #666; font-size: 14px; margin-top: 3px; }
.media-dropzone-prompt small { color: #777; margin-top: 9px; }
.media-dropzone-icon { align-items: center; background: #342c2c; border-radius: 50%; color: #fff; display: flex; font-size: 22px; height: 42px; justify-content: center; width: 42px; }
.media-dropzone.is-drag-over .media-dropzone-icon { background: #bf0000; }
.media-dropzone-footer { border-top: 1px solid #ddd; padding-top: 14px; }
.media-dropzone-status { color: #5b5656; display: block; font-size: 12px; }
.media-dropzone.has-error .media-dropzone-status { color: #a00000; font-weight: 700; }
.admin-relation-picker { display: flex; gap: 10px; }
.admin-relation-picker select { flex: 1; }
.admin-relation-list { list-style: none; margin: 14px 0 0; padding: 0; }
.admin-relation-list li { align-items: center; background: #f1f1f1; border-radius: 7px; display: flex; gap: 8px; margin-top: 7px; padding: 10px; }
.admin-relation-list li span { flex: 1; font-weight: 700; }
.admin-relation-list button { align-items: center; background: #fff; border: 1px solid #ccc; border-radius: 5px; color: #211f1f; cursor: pointer; display: inline-flex; font: 700 18px/1 Arial,sans-serif; justify-content: center; padding: 2px 7px 4px; text-align: center; }
.admin-relation-list button:disabled { color: #211f1f; cursor: default; opacity: .35; }
.admin-save-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.frontpage-admin-section-heading { align-items: flex-start; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; margin-bottom: 20px; }
.frontpage-admin-section-heading h2 { margin: 0 0 5px; }
.frontpage-admin-section-heading p { margin: 0; }
.frontpage-curation, .frontpage-admin-news { margin-top: 24px; }
.frontpage-curation-list:empty { display: none; }
.frontpage-curation-list li.is-unavailable { background: #f3e7d1; }
.frontpage-curation-list li.is-unavailable > span { color: #6f4b12; }
.frontpage-curation-list li span small { font-size: 11px; font-weight: 800; }
.frontpage-curation .admin-relation-picker { margin-top: 16px; }
.frontpage-curation .admin-save-actions { margin-top: 16px; }
.frontpage-admin-news-list { list-style: none; margin: 0 0 18px; padding: 0; }
.frontpage-admin-news-list li { align-items: center; border-bottom: 1px solid #ddd; display: flex; gap: 16px; justify-content: space-between; padding: 12px 0; }
.frontpage-admin-news-list li span { display: flex; flex-direction: column; gap: 3px; }
.frontpage-admin-news-list small { color: #6e6868; }
.button-danger { background: #fff; border-color: #a30000; color: #a30000; }
@media (min-width: 900px) {
  .admin-shell { display: grid; grid-template-columns: 230px minmax(0, 1fr); }
  .admin-sidebar {
    position: sticky;
    top: 0;
    align-self: start;
    display: flex;
    flex-direction: column;
    width: 230px;
    height: 100vh;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .admin-sidebar nav { display: flex; flex-direction: column; overflow: visible; }
  .admin-sidebar-actions { flex-direction: column; flex-wrap: nowrap; margin-top: auto; }
  .admin-editor-grid { grid-template-columns: minmax(0, 3fr) minmax(330px, 2fr); }
  .admin-live-preview { position: sticky; top: 24px; }
}

/* Shared admin contrast system. Public pages and simulated frontend previews keep their own palettes. */
.admin-page {
    color-scheme: dark;
    background: var(--admin-bg);
    color: var(--admin-text-on-light);
}
.admin-shell-page { background: var(--admin-bg); color: var(--admin-text-on-light); }
.admin-login-wrap { display: grid; min-height: 100vh; place-items: center; padding: 1.2rem; }
.admin-card {
    width: min(440px, 100%);
    padding: clamp(1.4rem, 5vw, 2.5rem);
    border: 1px solid var(--admin-border-dark);
    border-radius: var(--radius);
    background: var(--admin-panel);
    box-shadow: var(--shadow);
    color: var(--admin-text-on-dark);
}
.admin-card h1 { margin: .9rem 0 .5rem; color: var(--admin-text-on-dark); font-size: 2.4rem; }
.admin-card p { color: var(--admin-text-secondary-on-dark); }
.admin-card label { color: var(--admin-text-on-dark); }
.admin-sidebar { background: var(--admin-sidebar); color: var(--admin-text-on-dark); }
.admin-logo { color: var(--admin-text-on-dark); }
.admin-logo span { color: var(--admin-lime); }
.admin-sidebar nav a,
.admin-sidebar-actions a { color: var(--admin-text-secondary-on-dark); }
.admin-sidebar nav a:hover,
.admin-sidebar-actions a:hover { color: var(--admin-text-on-dark); }
.admin-sidebar nav a[aria-current="page"] { background: var(--admin-red); color: var(--admin-text-on-dark); }
.admin-sidebar-actions { border-top-color: var(--admin-border-dark); }

.admin-page .page-heading,
.admin-page .admin-list-tools { color: var(--admin-text-on-light); }
.admin-page .page-heading .muted,
.admin-page .admin-list-tools .muted { color: var(--admin-text-secondary-on-light); }
.admin-page .page-heading .eyebrow { color: var(--admin-red); }
.admin-page .back-link { color: var(--admin-text-on-light); text-decoration: underline; text-decoration-color: var(--admin-red); }

.admin-page .panel {
    border-color: var(--admin-border-dark);
    background: var(--admin-panel);
    color: var(--admin-text-on-dark);
}
.admin-page .panel h1,
.admin-page .panel h2,
.admin-page .panel h3,
.admin-page .panel legend,
.admin-page .panel label,
.admin-page .panel th,
.admin-page .panel td { color: var(--admin-text-on-dark); }
.admin-page .panel p,
.admin-page .panel .muted,
.admin-page .dashboard-card p { color: var(--admin-text-secondary-on-dark); }
.admin-page .panel small,
.admin-page .panel .field-optional,
.admin-page .panel .content-labels,
.admin-page .panel .current-media { color: var(--admin-text-muted-on-dark); }
.admin-page .panel .text-link,
.admin-page .dashboard-card .text-link { color: var(--admin-lime); }
.admin-page .dashboard-card:hover { border-color: var(--admin-lime); }
.admin-page .card-icon { background: var(--admin-panel-elevated); color: var(--admin-lime); }
.admin-page fieldset { border-bottom-color: var(--admin-border-dark); }
.admin-page .article-editor-section {
    background: var(--admin-panel-elevated);
    border: 1px solid var(--admin-border-dark);
    border-radius: 10px;
    display: grid;
    gap: 1.2rem;
    padding: 18px;
}
.admin-page .article-editor-section-header {
    border-bottom: 1px solid var(--admin-border-dark);
    padding-bottom: 14px;
}
.admin-page .article-editor-section-header h2,
.admin-page .article-editor-section-header p,
.admin-page .article-editor-shared-field p { margin: 0; }
.admin-page .article-editor-section-header h2 { font-size: 1.35rem; text-transform: uppercase; }
.admin-page .article-editor-section-header p { margin-top: 5px; }
.admin-page .article-editor-section fieldset:last-child { border-bottom: 0; padding-bottom: 0; }
.admin-page input,
.admin-page textarea,
.admin-page select {
    border-color: var(--admin-border-dark);
    background: var(--admin-input);
    color: var(--admin-text-on-dark);
    color-scheme: dark;
}
.admin-page input::placeholder,
.admin-page textarea::placeholder { color: var(--admin-text-muted-on-dark); opacity: 1; }
.admin-page select option { background: var(--admin-input); color: var(--admin-text-on-dark); }
.admin-page input:focus,
.admin-page textarea:focus,
.admin-page select:focus { border-color: var(--admin-lime); box-shadow: 0 0 0 3px rgba(214,255,63,.18); }
.admin-page input:disabled,
.admin-page textarea:disabled,
.admin-page select:disabled,
.admin-page button:disabled { cursor: not-allowed; opacity: .58; }
.admin-page input[type="checkbox"],
.admin-page input[type="radio"] { accent-color: var(--admin-lime); }

.admin-page .button {
    border-color: var(--admin-text-secondary-on-dark);
    background: var(--admin-text-on-dark);
    color: var(--admin-text-on-light);
}
.admin-page .button-primary { border-color: var(--admin-lime); background: var(--admin-lime); color: var(--admin-text-on-light); }
.admin-page .button-secondary { border-color: var(--admin-border-dark); background: var(--admin-panel-elevated); color: var(--admin-text-on-dark); }
.admin-page .button-ghost { border-color: var(--admin-border-dark); background: var(--admin-input); color: var(--admin-text-on-dark); }
.admin-page .button-danger { border-color: var(--admin-red); background: var(--admin-red); color: var(--admin-text-on-dark); }
.admin-page .button:hover:not(:disabled) { filter: brightness(.94); }

.admin-page .alert { border-color: var(--admin-border-dark); background: var(--admin-panel); color: var(--admin-text-on-dark); }
.admin-page .alert-error { border-color: var(--admin-red); box-shadow: inset 4px 0 0 var(--admin-red); }
.admin-page .alert-success { border-color: var(--admin-lime); box-shadow: inset 4px 0 0 var(--admin-lime); }

.admin-page .admin-table { color: var(--admin-text-on-dark); }
.admin-page .admin-table th { color: var(--admin-text-muted-on-dark); }
.admin-page .admin-table th,
.admin-page .admin-table td { border-bottom-color: var(--admin-border-dark); }
.admin-page .admin-table tbody tr:hover { background: var(--admin-panel-elevated); }
.admin-page .admin-status-tabs a { color: var(--admin-text-secondary-on-light); }
.admin-page .admin-status-tabs a[aria-current="page"] { background: var(--admin-sidebar); color: var(--admin-text-on-dark); }
.admin-page .admin-row-actions a,
.admin-page .admin-row-actions button { color: var(--admin-lime); }
.admin-page .admin-row-actions button[value="archive"] {
    color: var(--admin-text-on-dark);
    text-decoration-color: var(--admin-red);
    text-decoration-thickness: 2px;
}
.admin-page .status-badge { background: var(--admin-panel-elevated); color: var(--admin-text-secondary-on-dark); }
.admin-page .status-draft { background: var(--admin-text-on-dark); color: var(--admin-text-on-light); }
.admin-page .status-published { background: var(--admin-lime); color: var(--admin-text-on-light); }
.admin-page .status-archived { background: var(--admin-panel-elevated); color: var(--admin-text-secondary-on-dark); }
.admin-page .admin-thumb-placeholder { background: var(--admin-panel-elevated); color: var(--admin-text-on-dark); }

.admin-page .admin-preview-toolbar {
    padding: 10px;
    border: 1px solid var(--admin-border-dark);
    border-radius: 9px;
    background: var(--admin-panel);
    color: var(--admin-text-on-dark);
}
.admin-page .admin-preview-toolbar .eyebrow { color: var(--admin-lime); }
.admin-page .admin-preview-mode { background: var(--admin-input); }
.admin-page .admin-preview-mode button { color: var(--admin-text-secondary-on-dark); }
.admin-page .admin-preview-mode button[aria-pressed="true"] { background: var(--admin-lime); color: var(--admin-text-on-light); }
.admin-page .admin-preview-mode button:focus-visible { outline-color: var(--admin-lime); }

.admin-page .media-upload-field + .media-upload-field { border-top-color: var(--admin-border-dark); }
.admin-page .admin-media-pair { border-color: var(--admin-border-dark); background: var(--admin-panel-elevated); }
.admin-page .admin-media-pair-heading > span,
.admin-page .admin-media-pair-prompt span { color: var(--admin-text-muted-on-dark); }
.admin-page .admin-media-pair-error { color: var(--admin-text-on-dark); }
.admin-page .media-dropzone {
    border-color: var(--admin-border-dark);
    background: var(--admin-panel-elevated);
    color: var(--admin-text-on-dark);
}
.admin-page .media-dropzone:hover,
.admin-page .media-dropzone:focus-visible { border-color: var(--admin-lime); box-shadow: 0 0 0 3px rgba(214,255,63,.18); }
.admin-page .media-dropzone.is-drag-over { border-color: var(--admin-red); background: var(--admin-input); box-shadow: 0 0 0 4px rgba(217,0,0,.18); }
.admin-page .media-dropzone.has-selection { border-color: var(--admin-lime); background: var(--admin-panel-elevated); }
.admin-page .media-dropzone.has-error { border-color: var(--admin-red); background: var(--admin-panel-elevated); }
.admin-page .media-dropzone-existing,
.admin-page .media-dropzone-selected { background: var(--admin-input); color: var(--admin-text-on-dark); }
.admin-page .media-dropzone-existing span,
.admin-page .media-dropzone-selected span { color: var(--admin-text-secondary-on-dark); }
.admin-page .media-dropzone-existing strong,
.admin-page .media-dropzone-selected strong { color: var(--admin-text-on-dark); }
.admin-page .media-dropzone-existing em { color: var(--admin-lime); }
.admin-page .media-existing-remove { border-color: var(--admin-text-secondary-on-dark); background: var(--admin-input); color: var(--admin-text-on-dark); }
.admin-page .media-existing-remove:hover,
.admin-page .media-existing-remove:focus-visible { background: var(--admin-red); outline-color: var(--admin-text-on-dark); }
.admin-page .media-dropzone-prompt > span:not(.media-dropzone-icon),
.admin-page .media-dropzone-prompt small,
.admin-page .media-dropzone-status { color: var(--admin-text-muted-on-dark); }
.admin-page .media-dropzone-icon { background: var(--admin-input); color: var(--admin-text-on-dark); }
.admin-page .media-dropzone.is-drag-over .media-dropzone-icon { background: var(--admin-red); }
.admin-page .media-dropzone-footer { border-top-color: var(--admin-border-dark); }
.admin-page .media-dropzone.has-error .media-dropzone-status { color: var(--admin-text-on-dark); }
.admin-page .adaptive-media-dropzone.is-poster-required { border-color: var(--admin-red); }

.admin-page .admin-relation-list li { background: var(--admin-panel-elevated); color: var(--admin-text-on-dark); }
.admin-page .admin-relation-list button { border-color: var(--admin-border-dark); background: var(--admin-text-on-dark); color: var(--admin-text-on-light); }
.admin-page .admin-relation-list button:disabled { color: var(--admin-text-on-light); opacity: .48; }
.admin-page .frontpage-curation-list li.is-unavailable { border: 1px solid var(--admin-red); background: var(--admin-panel-elevated); }
.admin-page .frontpage-curation-list li.is-unavailable > span { color: var(--admin-text-secondary-on-dark); }
.admin-page .frontpage-admin-news-list li { border-bottom-color: var(--admin-border-dark); }
.admin-page .frontpage-admin-news-list small { color: var(--admin-text-muted-on-dark); }
