/*
Theme Name: OlyFans Courtside
Description: A Greek matchday and podcast theme for OlyFans.
Version: 1.1.1
Requires at least: 6.5
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: olyfans
*/

@font-face {
    font-family: Inter;
    src: url('assets/fonts/inter-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
}

@font-face {
    font-family: Inter;
    src: url('assets/fonts/inter-greek.woff2') format('woff2');
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
    font-family: 'Roboto Condensed';
    src: url('assets/fonts/roboto-condensed-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 600 900;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto Condensed';
    src: url('assets/fonts/roboto-condensed-greek.woff2') format('woff2');
    font-style: normal;
    font-weight: 600 900;
    font-display: swap;
    unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
    font-family: 'Roboto Condensed';
    src: url('assets/fonts/roboto-condensed-italic.woff2') format('woff2');
    font-style: italic;
    font-weight: 700 900;
    font-display: swap;
}

:root {
    color-scheme: dark;
    --bg: #100e11;
    --surface: #19161b;
    --surface-raised: #201a20;
    --line: #352d36;
    --text: #f8f4f5;
    --muted: #c5b9c2;
    --red: #ff3b57;
    --button: #c61135;
    --button-hover: #a9102e;
    --display: 'Roboto Condensed', 'Arial Narrow', Impact, sans-serif;
    --body: Inter, 'Segoe UI', sans-serif;
    --width: 76rem;
    --gutter: clamp(1.125rem, 4vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--body);
    font-size: 1rem;
    line-height: 1.6;
}

p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; text-wrap: balance; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
iframe { max-width: 100%; }
button, input { font: inherit; }

:focus-visible { outline: 2px solid #ff8293; outline-offset: 4px; }

.wrap {
    width: min(calc(100% - var(--gutter) * 2), var(--width));
    margin-inline: auto;
}

.screen-reader-text, .skip-link:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip-link:focus {
    position: fixed;
    z-index: 100000;
    inset: 0 auto auto 0;
    padding: .75rem 1rem;
    color: white;
    background: var(--button);
}

.site-header {
    position: relative;
    z-index: 2;
    background: #100d11;
    border-bottom: 1px solid #332830;
}

.site-header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 4.75rem;
    gap: 1.5rem;
}

.site-brand {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: .72rem;
    text-decoration: none;
}

.site-brand__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 2.5rem;
    aspect-ratio: 1;
    border: 1px solid #fc3454;
    border-radius: .54rem;
    background: linear-gradient(148deg, #ee2148, #a20a28);
    box-shadow: inset 0 1px 0 #ffffff4d;
}

.site-brand__mark i, .matchday__signal i {
    display: block;
    width: 3px;
    height: .6rem;
    border-radius: 1rem;
    background: currentColor;
    transform: skewX(-11deg);
}

.site-brand__mark i:nth-child(2) { height: 1.23rem; }
.site-brand__mark i:nth-child(3) { height: .87rem; }

.site-brand__name {
    display: block;
    font: 900 1.55rem/.85 var(--display);
    letter-spacing: -.035em;
}

.site-brand__name > span { color: var(--red); }
.site-brand__name small {
    display: block;
    margin-top: .36rem;
    color: #d1c1c9;
    font: 750 .63rem/1 var(--body);
    letter-spacing: .24em;
}

.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1.05rem, 3.2vw, 2.6rem); }
.site-nav a {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    color: #e4d9df;
    font-size: .88rem;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
}

.site-nav a:is(:hover, [aria-current='page']) { color: var(--red); }
.site-nav__items, .site-nav__items .sub-menu { margin: 0; padding: 0; list-style: none; }
.site-nav__items { display: flex; flex-wrap: wrap; align-items: center; gap: inherit; }
.site-nav__items .menu-item { position: relative; }
.site-nav__items a { white-space: normal; overflow-wrap: anywhere; }
.site-nav__items .sub-menu {
    display: none;
    position: absolute;
    z-index: 3;
    inset-block-start: 100%;
    inset-inline-start: 0;
    min-width: 12rem;
    max-width: min(24rem, 85vw);
    padding: .5rem .7rem;
    border: 1px solid var(--line);
    border-radius: .5rem;
    background: var(--surface);
}
.site-nav__items .menu-item:is(:hover, :focus-within) > .sub-menu { display: grid; gap: .3rem; }
.site-nav__items .sub-menu .sub-menu { position: static; min-width: 0; padding: .3rem 0 .3rem .6rem; border: 0; }
.nav-signal { width: .42rem; aspect-ratio: 1; border-radius: 50%; background: var(--red); }
.site-header__youtube { justify-self: end; }

.button-row { display: flex; flex-wrap: wrap; gap: .72rem; }
.button {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    width: fit-content;
    min-height: 3rem;
    padding: .67rem 1.1rem;
    border: 1px solid transparent;
    border-radius: .55rem;
    color: var(--text);
    font-size: .88rem;
    font-weight: 720;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.button--small { min-height: 2.48rem; padding: .5rem .74rem; }
.button--red { background: var(--button); border-color: #e5425d; color: white; }
.button--red:hover { background: var(--button-hover); }
.button--glass { background: #161116d9; border-color: #75666d; }
.button--glass:hover { background: #2a2029; border-color: #cbb2bd; }
.button--quiet { background: #1c171e; border-color: #4b3b46; }
.button--quiet:hover { background: #2d2028; border-color: #ac6577; }
.button--quiet .youtube-icon { color: var(--red); }

.youtube-icon, .play-icon { display: inline-grid; place-items: center; flex: 0 0 auto; }
.youtube-icon { position: relative; isolation: isolate; width: 1.08rem; height: .76rem; }
.youtube-icon::before, .youtube-icon::after, .play-icon::after {
    content: '';
    display: block;
    grid-area: 1 / 1;
}
.youtube-icon::before { width: 100%; height: 100%; border-radius: .24rem; background: currentColor; }
.youtube-icon::after, .play-icon::after {
    width: 0;
    height: 0;
    margin-inline-start: .08rem;
    border-block: .17rem solid transparent;
    border-inline-start: .27rem solid #170e15;
}
.button--red .youtube-icon::after { border-inline-start-color: #ad0f2c; }

.spotify-icon {
    display: inline-flex;
    flex: 0 0 auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1px;
    width: 1.06rem;
    height: 1.06rem;
    border-radius: 50%;
    color: #0f2117;
    background: #55e887;
    transform: rotate(9deg);
}
.spotify-icon i { width: 61%; height: 2px; border-top: 1px solid currentColor; border-radius: 100%; }
.spotify-icon i:nth-child(2) { width: 54%; }
.spotify-icon i:nth-child(3) { width: 45%; }

.hero {
    position: relative;
    display: grid;
    align-items: center;
    min-height: 39rem;
    isolation: isolate;
    overflow: hidden;
    background: #210e16;
}
.hero__image, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__image { z-index: -2; object-fit: cover; object-position: 68% 66%; }
.hero::after {
    z-index: -1;
    content: '';
    background:
        linear-gradient(0deg, #100e11 0%, #100e1155 17%, transparent 40%),
        linear-gradient(90deg, #0d090ee8 0%, #100a10b0 30%, #100a1040 57%, transparent 82%);
}
.hero__content { padding-block: 4rem 5.4rem; }
.eyebrow {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: #f28b9e;
    font-size: .8rem;
    font-weight: 760;
    line-height: 1.45;
    letter-spacing: .11em;
}
.eyebrow__line { width: 1.4rem; height: 2px; background: var(--red); flex: 0 0 auto; }
.eyebrow__separator { color: #a47e8b; }
.hero h1 {
    margin-top: 1.1rem;
    font-size: clamp(5rem, 10.1vw, 9.35rem);
    font-weight: 900;
    line-height: .77;
    letter-spacing: -.052em;
}
.hero h1 em {
    display: inline-block;
    margin: .08em 0 0 -.035em;
    color: var(--red);
    font-weight: 900;
    padding-inline-end: .09em;
}
.hero h1 em span { color: #f3d5dd; }
.hero__description { max-width: 31rem; margin-top: 1.6rem; color: #e4dbe0; font-size: clamp(1rem, 1.5vw, 1.12rem); }
.hero .button-row { margin-top: 1.65rem; }

.matchday { position: relative; z-index: 1; margin-top: -2.7rem; scroll-margin: 1rem; }
.matchday__bar {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem clamp(1.05rem, 3.1vw, 2.7rem);
    padding: clamp(1rem, 2.5vw, 1.5rem);
    border: 1px solid #4a303e;
    border-radius: .95rem;
    background: linear-gradient(112deg, #261a23, #171319 70%);
    box-shadow: 0 .85rem 2.5rem #08060866, inset 0 1px 0 #ffffff0b;
}
.matchday__identity { display: flex; align-items: center; gap: .9rem; min-width: 0; }
.matchday__signal {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 3.25rem;
    aspect-ratio: 1;
    color: #ff5871;
    background: #491b2a;
    border: 1px solid #6c2a3e;
    border-radius: .69rem;
}
.matchday__signal i:nth-child(2), .matchday__signal i:nth-child(4) { height: .89rem; }
.matchday__signal i:nth-child(3) { height: 1.3rem; }
.matchday__label { margin-bottom: .27rem; color: #ff8598; font-size: .8rem; font-weight: 760; }
.matchday h2 { font-size: clamp(1.45rem, 2.7vw, 1.9rem); text-wrap: pretty; overflow-wrap: anywhere; }
.matchday__info { border-inline-start: 1px solid #493640; padding-inline-start: clamp(1rem, 2.8vw, 1.8rem); color: var(--muted); font-size: .9rem; }
.matchday__info time { display: block; font-weight: 760; color: var(--text); }
.matchday__info span { font-size: .83rem; }
.matchday > .player { margin-top: 1rem; }

.section { margin-top: clamp(3.2rem, 6.4vw, 5.5rem); }
.section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.45rem; }
.section-heading h2, .about-panel h2 { margin-top: .45rem; font-size: clamp(2.25rem, 4.65vw, 3.75rem); font-weight: 850; letter-spacing: -.027em; }
.episode-grid, .post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 1.55rem); }
.episode-card {
    position: relative;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: .85rem;
    background: var(--surface);
    transition: background-color .18s ease, border-color .18s ease;
}
.episode-card:is(:hover, :focus-within) { border-color: #aa4762; background: var(--surface-raised); }
.episode-card__cover {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: .8rem .8rem 0 0;
    border-bottom: 1px solid var(--line);
    background: url('assets/images/courtside.webp') 90% 60% / cover;
}
.episode-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.episode-card__cover::after { position: absolute; z-index: 0; inset: 0; content: ''; background: linear-gradient(0deg, #130b14aa, #160e1800 58%); }
.episode-card__play {
    position: absolute;
    z-index: 1;
    inset: auto auto .8rem .85rem;
    width: 2.35rem;
    aspect-ratio: 1;
    border: 1px solid #ff627a;
    border-radius: 50%;
    background: #bf1236;
}
.play-icon::after { border-block-width: .28rem; border-inline-start: .45rem solid #fff; }
.episode-card__body { padding: 1rem 1rem 1.2rem; }
.episode-card__meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .35rem 1rem; color: var(--muted); font-size: .83rem; }
.episode-card__categories { margin-top: .65rem; color: var(--muted); font-size: .83rem; }
.episode-card__source { color: #f197ab; font-weight: 650; }
.episode-card h3 { margin-top: .52rem; font-size: clamp(1.24rem, 2.2vw, 1.58rem); line-height: 1.13; text-wrap: pretty; overflow-wrap: anywhere; }
.episode-card__link { text-decoration: none; }
.episode-card__link::after { position: absolute; z-index: 2; inset: 0; border-radius: .85rem; content: ''; }

.about-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.45rem clamp(1.45rem, 4vw, 4rem);
    padding: clamp(1.45rem, 5vw, 3.4rem);
    border: 1px solid #543142;
    border-radius: .95rem;
    background: linear-gradient(110deg, #311923 10%, #251721 68%, #4c2030 100%);
}
.about-panel p:not(.eyebrow) { margin-top: .9rem; max-width: 43rem; color: #e4ced7; }

.site-footer { margin-top: clamp(3rem, 7vw, 5.5rem); border-top: 1px solid #342a33; background: #0e0b0e; }
.site-footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-block: 2rem; }
.site-footer p { margin-top: .9rem; color: var(--muted); font-size: .87rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.35rem; min-width: 0; max-width: 100%; }
.site-footer__menu, .site-footer__menu .sub-menu { margin: 0; padding: 0; list-style: none; }
.site-footer__menu { display: flex; flex-wrap: wrap; gap: inherit; min-width: 0; }
.site-footer__menu li { min-width: 0; }
.site-footer__menu .sub-menu { display: grid; gap: .35rem; margin-top: .35rem; padding-inline-start: .75rem; }
.site-footer nav a { color: #dad0d8; font-size: .88rem; font-weight: 650; text-decoration: none; overflow-wrap: anywhere; }
.site-footer nav a:hover { color: var(--red); }

.page-shell { min-height: 55vh; padding-top: clamp(2.6rem, 7vw, 5rem); }
.page-heading { margin-bottom: 1.6rem; }
.page-heading h1 { margin: .45rem 0 .65rem; font-size: clamp(2.65rem, 7vw, 5.25rem); font-weight: 850; letter-spacing: -.032em; line-height: 1; overflow-wrap: anywhere; }
.page-heading p:not(.eyebrow) { color: var(--muted); }
.episode-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.25rem; }
.page-heading .episode-filters { margin: .95rem 0 0; }
.episode-filters a { display: inline-flex; align-items: center; min-height: 2.5rem; padding: .4rem .72rem; border: 1px solid #4b3b46; border-radius: .5rem; background: var(--surface); color: var(--text); font-size: .88rem; font-weight: 650; text-decoration: none; }
.episode-filters a:is(:hover, [aria-current='page']) { background: #481f31; border-color: #bd5771; }
.search-form { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; margin-bottom: 1.75rem; }
.search-form input[type='search'] {
    width: min(100%, 24rem);
    min-width: 0;
    min-height: 3rem;
    padding: .58rem .85rem;
    border: 1px solid #635360;
    border-radius: .55rem;
    color: var(--text);
    background: var(--surface);
}
.search-form input::placeholder { color: #bcacb8; }
.search-reset { margin-inline-start: .45rem; font-size: .9rem; }
.archive-results { margin-bottom: 1rem; font-size: 1.65rem; }
.empty-state { padding: 1.25rem; border: 1px dashed #58444f; border-radius: .7rem; color: var(--muted); }
.empty-state a, .search-reset, .back-link, .player-link a, .editor-content a { color: #ff9db0; text-underline-offset: .18em; }
.navigation.pagination { margin-top: 2rem; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: .48rem; }
.page-numbers { display: inline-flex; min-width: 2.6rem; min-height: 2.6rem; justify-content: center; align-items: center; padding: .35rem .7rem; border: 1px solid var(--line); border-radius: .48rem; text-decoration: none; }
.page-numbers:is(.current, :hover) { background: #481f31; border-color: #bd5771; }
.page-numbers.dots { border-color: transparent; }

.episode-page { max-width: 64rem; }
.episode-page h1 { font-size: clamp(2.4rem, 5.75vw, 4.6rem); }
.back-link { display: inline-block; margin-bottom: 1.5rem; font-size: .92rem; }
.player { width: 100%; border: 1px solid #573847; border-radius: .85rem; overflow: hidden; background: #201820; }
.player--youtube { aspect-ratio: 16 / 9; }
.player--spotify { margin-top: 1.25rem; }
.player__preview { position: relative; display: grid; isolation: isolate; width: 100%; height: 100%; min-height: 6rem; place-items: center; text-decoration: none; }
.player--youtube .player__preview { background: url('assets/images/courtside.webp') 85% 60% / cover; }
.player__preview img, .player--youtube .player__preview::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.player__preview img { z-index: -2; object-fit: cover; }
.player--youtube .player__preview::after { z-index: -1; content: ''; background: #0d080d55; }
.player__action { display: flex; align-items: center; gap: .7rem; margin: 1rem; padding: .8rem 1.05rem; border: 1px solid #e8627b; border-radius: .65rem; color: #fff; background: #b01439; font-size: .89rem; font-weight: 750; }
.player__preview:hover .player__action { background: #8f1230; }
.player--spotify .player__action { border-color: #8be5ad; color: #e7fbef; background: #1f542f; }
.player--spotify .player__preview:hover .player__action { background: #2c653d; }
.player iframe { display: block; width: 100%; height: 100%; border: 0; }
.player--spotify iframe { height: 232px; }
.player-link { margin-top: .68rem; font-size: .93rem; }
.editor-content + .editor-content { margin-top: 2rem; }
.editor-content { margin-top: 1.6rem; overflow-wrap: anywhere; }
.editor-content p { margin-block: .75em; }

.content-shell { max-width: 56rem; }
.archive-description { max-width: 46rem; color: var(--muted); }
.post-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: .85rem; background: var(--surface); }
.post-card__image { aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line); }
.post-card__image img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 1.05rem 1.1rem 1.25rem; overflow-wrap: anywhere; }
.post-card h2 { margin-top: .45rem; font-size: clamp(1.45rem, 2.6vw, 1.95rem); line-height: 1.12; }
.post-card h2 a { text-decoration: none; }
.post-card h2 a:hover { text-decoration: underline; text-underline-offset: .15em; }
.post-card__excerpt { margin-top: .6rem; color: var(--muted); }
.post-details { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .65rem; color: var(--muted); font-size: .85rem; }
.post-details__categories a, .entry-comments a { color: #ff9db0; text-underline-offset: .18em; }
.entry-featured { margin: 0 0 1.65rem; }
.entry-featured img { width: 100%; height: auto; border-radius: .8rem; }
.site-entry .editor-content :is(h2, h3, h4) { margin: 1.45em 0 .55em; }
.site-entry .editor-content :is(.wp-block-table, pre) { overflow-x: auto; }
.site-entry .editor-content blockquote { margin-inline: 0; padding-inline-start: 1rem; border-inline-start: 2px solid var(--red); }
.entry-page-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.entry-page-links .post-page-numbers { padding: .25rem .55rem; border: 1px solid var(--line); border-radius: .35rem; }
.entry-page-links .current { background: #481f31; border-color: #bd5771; }

.entry-comments { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.entry-comments .comment-list, .entry-comments .children { list-style: none; padding-inline-start: 0; }
.entry-comments .children { padding-inline-start: clamp(.45rem, 2vw, 1.2rem); }
.entry-comments .comment-body { margin-block: .75rem; padding: .85rem; background: var(--surface); border: 1px solid var(--line); border-radius: .6rem; overflow-wrap: anywhere; }
.entry-comments .comment-author { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .5rem; }
.entry-comments .comment-author .avatar { border-radius: 50%; }
.entry-comments .comment-metadata { margin-block: .2rem .5rem; color: var(--muted); font-size: .85rem; }
.entry-comments .comment-respond { margin-top: 1.2rem; }
.entry-comments .comment-form p { margin-block: .7rem; }
.entry-comments .comment-form label { display: block; }
.entry-comments .comment-form-cookies-consent label { display: inline; }
.entry-comments .comment-form :is(textarea, input[type='text'], input[type='email'], input[type='url']) {
    display: block;
    width: 100%;
    min-height: 2.5rem;
    margin-top: .25rem;
    padding: .5rem .65rem;
    border: 1px solid #635360;
    border-radius: .5rem;
    color: var(--text);
    background: var(--surface);
    font: inherit;
}
.entry-comments textarea { resize: vertical; }

@media (max-width: 54rem) {
    .matchday__bar { grid-template-columns: 1fr auto; }
    .matchday__info { grid-row: 2; padding-inline-start: 0; border: 0; }
    .matchday__bar > .button { grid-column: 2; grid-row: 1 / 3; }
    .episode-grid, .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 40rem) {
    .site-header__inner { grid-template-columns: 1fr auto; gap: .65rem; padding-top: .85rem; }
    .site-nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; gap: .8rem; padding: .68rem 0 .76rem; border-top: 1px solid #342731; }
    .site-nav__items { width: 100%; justify-content: space-between; }
    .site-brand__mark { width: 2.3rem; }
    .hero { min-height: 35rem; align-items: start; }
    .hero__content { padding-block: 3.15rem 7.5rem; }
    .hero__image { object-position: 70% 75%; }
    .hero::after { background: linear-gradient(0deg, #100e11, transparent 26%), linear-gradient(90deg, #0e0a10ed, #100a10aa 58%, #100a1040); }
    .hero h1 { font-size: clamp(4rem, 14vw, 6rem); }
    .hero__description { max-width: 25rem; }
    .hero .button-row { margin-top: 1.35rem; }
    .matchday { margin-top: -2.15rem; }
    .matchday__bar { grid-template-columns: minmax(0, 1fr); gap: .65rem; }
    .matchday__bar > .button { grid-column: 1; grid-row: 3; }
    .section-heading { align-items: start; }
    .about-panel { align-items: flex-start; flex-direction: column; }
    .site-footer__inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 31rem) {
    .episode-grid, .post-grid { grid-template-columns: minmax(0, 1fr); }
    .search-form input[type='search'] { flex: 1 1 9rem; }
    .search-reset { flex-basis: 100%; margin-inline-start: 0; }
}

@media (hover: none), (max-width: 40rem) {
    .site-nav__items .sub-menu { position: static; display: grid; gap: .3rem; min-width: 0; padding: .2rem 0 .2rem .6rem; border: 0; background: transparent; }
}

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