/*
Theme Name: Tribuna
Description: Ночная трибуна фан-сайта ФК Динамо Киев.
Version: 1.0.0
Text Domain: tribuna
Requires at least: 6.0
Requires PHP: 8.0
*/


#naver{padding-left:10px;padding-right:10px;margin-bottom:12px;margin-top:10px;padding-bottom:12px;}
#naver a.page-numbers{color:#bcbcbc;text-decoration:none;background-color:#f3f3f3;text-shadow: 0 1px #fff;padding-left:8px;padding-right:8px;padding-top:3px;padding-bottom:3px;border-radius:3px;}
#naver a.page-numbers:hover{color:#fff;text-decoration:none;background-color:#d8290b;text-shadow: 0 0px #fff;transition:0.5s;}
#naver .current{color:#fff;background-color:#d8290b;padding-left:8px;padding-right:8px;padding-top:3px;padding-bottom:3px;border-radius:3px;}

#breadcrumb{float:left;}
#breadcrumb ul{margin:0;padding:0;}
#breadcrumb ul li{display:inline;padding-right:5px;}

.youtube{clear:both;background-position:center;background-repeat:no-repeat;position:relative;display:inline-block;overflow:hidden;transition:all 200ms ease-out;cursor:pointer;width:100%;height:360px;}
.youtube .play{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAERklEQVR4nOWbTWhcVRTHb1IJVoxGtNCNdal2JYJReC6GWuO83PM/59yUS3FRFARdFlwYP1CfiojQWt36sRCUurRIdVFXIn41lAoVdRGrG1M01YpKrWjiYmaSl8ybZJL3cd+YA//NLObd3++eO8x79z5jSq5Gw+8kov0AP8vMR5l1BtBZQM4B8ks75wCdZdYZZj5qLZ4hov2Nht9Z9vhKKSIaB/gI4M4w62KeAO6Mte4lYOq20FxrlqqOibhHmeWbvNC9ZfDX1mLae391aN6limO/gwgvAPJbWeAZuSDingdwXTBw7/0IsyaA/Fkh+KqOkD+YNfHej1QKD+y7iVlOhgLvFqFfNJvNGyuBJ+KDAF8MDd0tgS8y64OlgSdJMsysL4cG7SOHkyQZLhTee7+d2R2rAVy/S+Jd7/32ouBHAP4gNNRGQyTHc/84NhqNywZp5rvjjnnvt21aABFeCQ+RLwAf2hQ8s7sv9OCLk6AHNgQvIrvbfzKCD76g/O6cu7lf/iER/aQGgy448pExZmhdegAPhR9sObFWH1gT3lp7DaA/5bkIgJhZPgsNmz02novj+KqeApj1ubwXWe4kdyeznAgNvTpE/HQmvKqOMeuFogTUVQSRno+iaLRLAJF7uIgL9O4ubgL8aWgB7S44mNX+35YpICUiAvS9sBLkq1WzT+NFffl6AuoiApi6NT37h6sWkBIRZGkQ8YtLgyji6e1mBYTqCEBPG2Naz+0BWQgtoGoRgCzEsd9hAN1X5BfnFZASUfrSAFQNsyZ1FJASUVpHiLinDJG8U2cBZYogkrcNs5waBAGdstbeU9zdqpw0gPwwSAI6VUxHyFlDpOcHUUBBIuYNs14aZAE5RVwyzPr3/0EAEY0TyfGNjBWQvwZ +CTSbehfAH29mrID8bET0+0EUkAd8WYDOmqJ3ecsG30yr9wqRfm6Y+a1BEFDEjHfHvWmY9ck6CygHvBVr8Xhtb4ZE5HZA3y8DvBNA1TjnrmXWf+sioMwZX5V/VHXMGGMMoKdDCxCRvRWBdzKzdHEO+EisilbPyopHYqp6S9UCAsz4iojI7hUDAtyXVQgIDd6KnOoaWNkbI6FaPSuZGyMArsi7MZoloB4zviI/Nhr3X95jltwTRQmoIfgisy5ai+me67OI7fE4nrqjrqfK1t0eby0FPRB6oGVlchL3rgnfrq19RKbVBdhV9IOSwJmfmJi4vi/4ThERitwyCxVAFqydshuCX5awhQ9KtmuIWd8IDZED/nXT77rvVVv6sHRKwjYi91poqP7Dr+Y6JJ1VSZIMA3wkPNy6bX+o8Bcm0sXMdwM8Fxo0A3xORPaWBp6uPXsmbxCRD0NDL0dOANhVCXy6iAjMcjbcrMt3RITKwdMVRdFo+y5yvkL4eWZ+zHt/ZVD4dEVRNGotpst+dZZZH8k86lqn2pIvT/eqrNfn2xuyqYPZ8mv7s8pfn/8Pybm4TIjanscAAAAASUVORK5CYII=") no-repeat center center;background-size:64px 64px;position:absolute;height:100%;width:100%;opacity:.8;filter:alpha(opacity=80);transition:all 0.2s ease-out;}
.youtube .play:hover{opacity:1;filter:alpha(opacity=100);}
.youtuber iframe{width:100%;height:360px;}
.youtuber{clear:both;overflow:hidden;margin-bottom:20px;}

:root {
    color-scheme: dark;
    --bg: #060e1c;
    --panel: #101e32;
    --text: #edf5fc;
    --muted: #a1b4c9;
    --blue: #87ccff;
    --line: rgba(159, 200, 239, .16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 20px;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.6 "Segoe UI", Arial, sans-serif;
    overflow-wrap: break-word;
    isolation: isolate;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 0 20%, #124c7845, transparent 48%),
        radial-gradient(ellipse at 100% 68%, #153d7540, transparent 44%),
        linear-gradient(115deg, #060e1cef, #06172eda 55%, #060e1cf5),
        url("stadium.jpg") center / cover;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color .2s, background .2s, border-color .2s;
}

a:hover {
    color: var(--blue);
}

button, summary, a {
    -webkit-tap-highlight-color: transparent;
}

button, summary {
    cursor: pointer;
}

button {
    color: inherit;
    font: inherit;
}

button:disabled {
    opacity: .4;
    cursor: default;
}

:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 4px;
}

::selection {
    color: #071427;
    background: var(--blue);
}

img, video {
    max-width: 100%;
    height: auto;
}

button, input, textarea {
    max-width: 100%;
}

h1, h2, h3, p {
    margin: 0 0 16px;
}

h1, h2, h3 {
    line-height: 1.25;
}

h1 {
    font-size: clamp(25px, 3.5vw, 35px);
    font-weight: 500;
    letter-spacing: -.025em;
}

h2 {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -.02em;
}

h3 {
    font-size: 18px;
    font-weight: 500;
}

[hidden] {
    display: none !important;
}

.wrap {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}

.skip {
    position: fixed;
    left: 15px;
    top: -100px;
    z-index: 100;
    padding: 10px 18px;
    background: var(--panel);
}

.skip:focus {
    top: 10px;
}

.atmosphere {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.atmosphere::before {
    content: "";
    position: absolute;
    width: 470px;
    height: 720px;
    left: -250px;
    top: 14%;
    opacity: .1;
    background: url("field.svg") center / contain no-repeat;
    transform: rotate(-22deg);
}

.atmosphere::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -225px;
    top: 54%;
    opacity: .15;
    background: url("ball.svg") center / contain no-repeat;
    animation: drift 18s ease-in-out infinite alternate;
}

.atmosphere i:first-child {
    position: absolute;
    width: 460px;
    height: 420px;
    right: -120px;
    top: -100px;
    background: url("net.svg");
    opacity: .1;
    transform: rotate(-15deg);
    mask-image: linear-gradient(#000, transparent);
}

.atmosphere i:nth-child(2) {
    position: absolute;
    width: 700px;
    height: 700px;
    top: 44%;
    left: -440px;
    border: 1px solid #72bfff18;
    border-radius: 50%;
    box-shadow: 0 0 0 45px #72bfff06, 0 0 0 100px #72bfff04;
}

.atmosphere i:last-child {
    position: absolute;
    inset: 0;
    opacity: .045;
    background-image: repeating-linear-gradient(0deg, transparent 0 3px, #fff 3px 4px);
}

.site-header {
    position: relative;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 92px;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.brand img {
    width: 44px;
    flex: 0 0 auto;
    transition: filter .35s, transform .35s;
    filter: drop-shadow(0 0 13px #449ded35);
}

.brand:hover img {
    filter: drop-shadow(0 0 17px #85ccffcf);
    transform: translateY(-3px) scale(1.06);
}

.brand strong {
    display: block;
    font-size: clamp(19px, 2.8vw, 30px);
    font-weight: 650;
    line-height: 1.15;
    letter-spacing: -.035em;
    color: #d8efff;
    background: linear-gradient(110deg, #d8efff 20%, #80c5ff 40%, #fff 50%, #80c5ff 60%, #d8efff 80%);
    background-size: 240% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 12px #73bfff30);
    animation: brand-shine 9s ease-in-out infinite;
}


.header-motto {
    display: none;
    color: var(--muted);
    font-size: 14px;
}

.navigation {
    flex-shrink: 0;
}

.navigation > summary {
    padding: 8px 11px;
    border: 1px solid #6bace448;
    border-radius: 5px;
    background: #152b45;
    font-size: 14px;
    list-style: none;
}

.navigation > summary::-webkit-details-marker {
    display: none;
}

.navigation > summary:hover, .navigation[open] > summary {
    background: #204365;
    border-color: var(--blue);
}

.burger {
    margin-right: 5px;
}

.navigation nav {
    position: absolute;
    top: calc(100% - 6px);
    right: 0;
    width: 100%;
    max-height: 75dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px;
    border: 1px solid #3c6386;
    border-radius: 8px;
    background: #0d1c30;
    box-shadow: 0 22px 55px #0009;
    z-index: 50;
    text-align: center;
}

.navigation nav a {
    display: block;
    padding: 7px 10px;
    border-radius: 4px;
    font-size: 15px;
}

.navigation nav a:hover {
    background: #193956;
}

.home-link {
    color: var(--blue);
    border-bottom: 1px solid var(--line);
    margin-bottom: 10px;
}

.home-link span {
    margin-left: 10px;
}

.navigation nav details {
    padding: 8px 0;
}

.navigation nav summary {
    color: var(--blue);
    font-size: 14px;
    margin-bottom: 5px;
}

.ticker {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 44px;
    border-bottom: 1px solid var(--line);
}

.ticker-label {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
    color: var(--blue);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.ticker-label i {
    width: 5px;
    height: 5px;
    background: var(--blue);
    border-radius: 50%;
    box-shadow: 0 0 8px #78c5ff;
}

.ticker-window {
    position: relative;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.ticker-window::before, .ticker-window::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 26px;
    pointer-events: none;
    z-index: 1;
}

.ticker-window::before {
    left: 0;
    background: linear-gradient(90deg, #081322, transparent);
}

.ticker-window::after {
    right: 0;
    background: linear-gradient(270deg, #081322, transparent);
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: ticker 150s linear infinite;
}

.ticker-set {
    display: flex;
    flex-shrink: 0;
    white-space: nowrap;
    align-items: center;
}

.ticker-set a {
    padding-right: 36px;
    font-size: 13px;
    color: #bfd0df;
}

.ticker-set a::before {
    content: "/";
    color: #5a8fbb;
    margin-right: 18px;
}

.ticker:hover .ticker-track, .ticker:focus-within .ticker-track, .ticker.paused .ticker-track {
    animation-play-state: paused;
}

.ticker-pause {
    width: 28px;
    height: 28px;
    padding: 0;
    flex-shrink: 0;
    border: 0;
    background: transparent;
    color: var(--blue);
}

.ticker-pause:hover {
    background: #183754;
}

.page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-top: 22px;
    align-items: start;
}

main, .sidebar {
    min-width: 0;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 22px 20px;
    margin-bottom: 22px;
    min-height: 205px;
    border: 1px solid #93c2e32a;
    border-radius: 7px;
    background:
        linear-gradient(90deg, #091b33ed, #0d284baa 60%, #09142755),
        url("stadium.jpg") center 52% / cover;
}

.hero::before {
    content: "";
    position: absolute;
    width: 65%;
    height: 150%;
    right: -25%;
    top: -70%;
    background: linear-gradient(100deg, transparent, #9ccfff28, transparent);
    transform: rotate(-32deg);
    pointer-events: none;
    animation: light 9s ease-in-out infinite alternate;
}

.hero-copy {
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: block;
    color: #acd4f1;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .09em;
    text-transform: uppercase;
    line-height: 1.6;
    margin-bottom: 12px;
}

.hero h1 {
    font-size: clamp(27px, 3.5vw, 42px);
    font-weight: 500;
    line-height: 1.12;
    margin-bottom: 12px;
}

.hero h1 em {
    font-style: normal;
    color: #91cfff;
}

.hero p {
    color: #c3d3e2;
    font-size: 14px;
    margin-bottom: 14px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    font-size: 14px;
    border-bottom: 1px solid #8dc9ff75;
    padding-bottom: 4px;
}

.hero-caption {
    display: none;
}

.panel {
    border: 1px solid var(--line);
    background: linear-gradient(135deg, #132338f5, #0c192cf7);
    border-radius: 7px;
    overflow: hidden;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
}

.section-heading h2 {
    margin: 0;
    font-size: 20px;
}

.section-heading > span, .section-heading > a {
    color: var(--blue);
}

.section-mark {
    font: 12px/1.4 monospace;
    letter-spacing: .1em;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-list li {
    display: grid;
    grid-template-columns: 43px minmax(0, 1fr);
    gap: 12px;
    padding: 15px 20px;
    border-bottom: 1px solid #8db5db10;
    transition: background .2s, box-shadow .2s;
}

.news-list li:hover {
    background: #2f77b312;
    box-shadow: inset 2px 0 var(--blue);
}

.news-list li:last-child {
    border-bottom: 0;
}

.feed-time {
    color: #87a8c6;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    line-height: 1.8;
    padding-top: 2px;
}

.news-list a {
    line-height: 1.45;
    font-size: 16px;
}

.main-feed .news-list li:first-child {
    background: #234f7325;
}

.main-feed .news-list li:first-child a {
    color: #d8efff;
    font-weight: 600;
}

.feed-more {
    display: flex;
    justify-content: space-between;
    padding: 14px 20px;
    border-top: 1px solid var(--line);
    color: var(--blue);
    font-size: 14px;
}

.feed-more:hover {
    background: #254c7040;
}

.empty {
    padding: 20px;
    color: var(--muted);
}

.support-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    padding: 25px 10px 4px;
    color: #8faac2;
}

.support-strip > span {
    font-size: 44px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: -.05em;
    color: #7cacd447;
}

.support-strip p {
    margin: 0;
    font-size: 13px;
}

.support-strip strong {
    color: #b7cce0;
    font-weight: 400;
}

.sidebar {
    display: grid;
    gap: 20px;
}

.fact {
    position: relative;
    padding: 0 20px 20px;
}

.fact .section-heading {
    margin-inline: -20px;
}

.fact::after {
    content: "";
    position: absolute;
    right: -40px;
    top: 55px;
    width: 180px;
    height: 220px;
    background: url("field.svg") center / contain no-repeat;
    opacity: .09;
    pointer-events: none;
    transform: rotate(15deg);
}

.fact-number {
    display: block;
    font-size: 44px;
    line-height: 1.2;
    font-weight: 500;
    color: var(--blue);
    margin: 16px 0 8px;
    letter-spacing: -.04em;
}

.fact h3 {
    margin-bottom: 9px;
}

.fact p {
    margin: 0;
    color: #b2c5d7;
    font-size: 14px;
    line-height: 1.65;
}

.quiz-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #5586b758;
    border-radius: 7px;
    padding: 23px 20px;
    background:
        linear-gradient(100deg, #0d3050f0, #112c4ad9),
        url("pitch.jpg") center / cover;
}

.quiz-card::after {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    right: -60px;
    top: 15px;
    opacity: .15;
    pointer-events: none;
    background: url("ball.svg") center / contain;
}

.quiz-card h2 {
    font-size: 29px;
    font-weight: 500;
    margin-bottom: 10px;
}

.quiz-card p {
    color: #b9cfe1;
    font-size: 14px;
    margin-bottom: 18px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 10px 16px;
    border: 1px solid #b9e2ff;
    border-radius: 4px;
    color: #09213b;
    background: #a6d9ff;
    font-size: 14px;
    font-weight: 600;
    transition: background .2s, box-shadow .2s;
}

.button:hover {
    color: #09213b;
    background: #d2edff;
    box-shadow: 0 0 20px #69b5fa28;
}

.video-card h3 {
    padding: 14px 18px 18px;
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}

.video-frame {
    aspect-ratio: 16 / 9;
    background: #071322;
}

.video-frame button {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: #071322;
    overflow: hidden;
}

.video-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .75;
    transition: opacity .3s, transform .3s;
}

.video-frame button:hover img {
    opacity: 1;
    transform: scale(1.025);
}

.play-icon {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding-left: 3px;
    border: 1px solid #c8e8ff;
    border-radius: 50%;
    background: #0a284dcc;
    color: white;
    box-shadow: 0 0 0 7px #ffffff10;
}

.video-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.side-feed .news-list li {
    padding: 11px 18px;
    gap: 10px;
    grid-template-columns: 38px minmax(0, 1fr);
}

.side-feed .news-list a {
    font-size: 14px;
    line-height: 1.5;
}

.side-feed .feed-time {
    font-size: 11px;
}

.article-panel {
    padding: 22px 20px;
}

.breadcrumbs {
    display: flow-root;
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 13px;
}

.breadcrumbs + h1 {
    clear: both;
}

.post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    color: var(--muted);
    padding: 10px 0 15px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
}

.text-controls {
    display: flex;
    gap: 6px;
    margin-left: auto;
}

.text-controls button {
    padding: 3px 8px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #193047;
    color: #c1dbef;
    font-size: 13px;
}

.text-controls button:hover:not(:disabled) {
    background: #294b6a;
}

.post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #d7e2ee;
    display: flow-root;
    overflow-wrap: anywhere;
}

.post-content p {
    margin-bottom: 1.2em;
}

.post-content h2, .post-content h3, .post-content h4 {
    font-weight: 500;
    color: #f0f7ff;
    margin: 1.4em 0 .65em;
}

.post-content h2 {
    font-size: 1.4em;
}

.post-content h3 {
    font-size: 1.15em;
}

.post-content a {
    color: #93cfff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.post-content a:hover {
    color: #fff;
}

.post-content img, .post-content .alignleft, .post-content .alignright, .post-content .aligncenter {
    display: block;
    float: none;
    margin: 22px auto;
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.post-content figure {
    max-width: 100%;
    margin: 24px auto;
}

.post-content figcaption, .wp-caption-text {
    font-size: .8em;
    color: var(--muted);
    text-align: center;
}

.post-content blockquote {
    margin: 24px 0;
    padding: 18px 22px;
    border-left: 3px solid var(--blue);
    background: #659bdc0b;
    color: #bddcf5;
}

.post-content blockquote p:last-child {
    margin-bottom: 0;
}

.post-content ul, .post-content ol {
    padding-left: 1.5em;
}

.post-content li {
    margin-bottom: .4em;
}

.post-content table {
    display: block;
    overflow-x: auto;
    border-collapse: collapse;
    max-width: 100%;
    margin: 22px 0;
}

.post-content th, .post-content td {
    padding: 10px 14px;
    border: 1px solid #486481;
    text-align: left;
}

.post-content th {
    background: #19344f;
}

.post-content pre {
    overflow-x: auto;
    padding: 15px;
    background: #081422;
}

.post-content iframe {
    max-width: 100%;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
}

.related {
    border-top: 1px solid var(--line);
    margin-top: 30px;
    padding-top: 24px;
}

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

.related li {
    padding: 10px 0 10px 20px;
    position: relative;
    border-bottom: 1px solid #8db5db10;
}

.related li::before {
    content: "↗";
    position: absolute;
    left: 0;
    color: var(--blue);
}

.archive-item {
    padding: 23px 0;
    border-bottom: 1px solid var(--line);
}

.archive-item time {
    display: block;
    color: #8aabc7;
    font-size: 13px;
    margin-bottom: 8px;
}

.archive-item h2 {
    font-size: 21px;
    font-weight: 500;
    margin-bottom: 12px;
    line-height: 1.4;
}

.excerpt {
    color: #b9cada;
    text-align: justify;
    line-height: 1.75;
}

.excerpt p:last-child {
    margin: 0;
}

.pagination, #naver {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pagination .page-numbers, body #naver .page-numbers {
    display: inline-block;
    padding: 5px 11px;
    background: #17324e;
    color: #d2e9fb;
    border-radius: 3px;
    text-shadow: none;
}

.pagination .current, body #naver .current, body #naver a.page-numbers:hover {
    color: #06192e;
    background: var(--blue);
    text-shadow: none;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.error-page {
    padding: 45px 22px;
    text-align: center;
    background: linear-gradient(#10223bea, #10223bf5), url("pitch.jpg") center / cover;
}

.error-score {
    display: block;
    color: #78b9ec;
    font-size: clamp(38px, 6vw, 68px);
    font-weight: 300;
    letter-spacing: .08em;
    margin-bottom: 20px;
}

.error-page p {
    color: var(--muted);
}

.site-footer {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 14px 24px;
    padding-block: 25px 35px;
    margin-top: 40px;
    border-top: 1px solid var(--line);
    color: #a4b9cc;
}

.footer-brand {
    font-size: 14px;
}

.footer-brand span {
    color: #7790a7;
    margin-left: 10px;
    font-size: 12px;
}

.site-footer nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    font-size: 12px;
}

.contact-wrap {
    position: relative;
}

#contact-toggle {
    padding: 0;
    border: 0;
    background: transparent;
}

#contact-toggle:hover {
    color: var(--blue);
}

#contact-email {
    position: absolute;
    bottom: calc(100% + 10px);
    right: 0;
    width: max-content;
    max-width: calc(100vw - 40px);
    padding: 10px 14px;
    background: #d9edfc;
    color: #102b43;
    border: 1px solid #92c2e5;
    border-radius: 5px;
    box-shadow: 0 5px 25px #0006;
    font-size: 14px;
    z-index: 40;
    user-select: all;
}

.sitemap {
    display: inline-flex;
    align-items: center;
}

.back-top {
    position: fixed;
    z-index: 20;
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 38px;
    height: 38px;
    border-radius: 6px;
    border: 1px solid #6d9cc257;
    background: #142d46ed;
    color: #c6e7ff;
    box-shadow: 0 3px 18px #0004;
    font-size: 23px;
    padding: 0;
}

.back-top:hover {
    background: #275479;
}

.modal-open {
    overflow: hidden;
}

dialog {
    color: var(--text);
    width: min(540px, calc(100% - 28px));
    max-height: calc(100dvh - 36px);
    overflow-y: auto;
    margin: auto;
    padding: 24px;
    border: 1px solid #507899;
    border-radius: 10px;
    background: linear-gradient(135deg, #19334f, #0e1d31 70%);
    box-shadow: 0 30px 100px #0008;
}

dialog::backdrop {
    background: #020912d9;
    backdrop-filter: blur(5px);
}

.quiz-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.quiz-top .eyebrow {
    margin: 0;
}

#quiz-close {
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #233e59;
    line-height: 1;
    font-size: 24px;
}

#quiz-close:hover {
    background: #355c7f;
}

.quiz-progress-label {
    color: var(--muted);
    font-size: 13px;
    margin: 0 0 5px;
}

progress {
    width: 100%;
    height: 4px;
    margin-bottom: 24px;
    accent-color: #89ceff;
    border: 0;
    background: #29445f;
}

progress::-webkit-progress-bar {
    background: #29445f;
}

progress::-webkit-progress-value {
    background: #89ceff;
}

#quiz-title {
    font-size: 25px;
    line-height: 1.35;
    margin-bottom: 24px;
}

.quiz-answer {
    display: block;
    width: 100%;
    padding: 13px 15px;
    margin-bottom: 10px;
    text-align: left;
    border: 1px solid #6388a645;
    border-radius: 5px;
    background: #203b5470;
    line-height: 1.45;
    font-size: 16px;
    transition: border-color .2s, background .2s;
}

.quiz-answer:hover {
    background: #30587a;
    border-color: #80c7f8;
}

.quiz-breakdown {
    color: var(--blue);
    padding-block: 14px;
    border-block: 1px solid var(--line);
    font-size: 14px;
}

.quiz-result-close {
    display: flex;
    margin: 22px auto 0;
}

@keyframes ticker {
    to { transform: translateX(-50%); }
}

@keyframes drift {
    to { transform: translateY(-28px) rotate(12deg); }
}

@keyframes light {
    to { opacity: .35; transform: rotate(-22deg) translateX(-30px); }
}

@media (min-width: 700px) {
    .wrap {
        width: min(1180px, calc(100% - 64px));
    }

    .site-header {
        min-height: 108px;
    }

    .brand img {
        width: 54px;
    }


    .navigation > summary {
        padding: 10px 17px;
        font-size: 15px;
    }

    .navigation nav {
        width: 350px;
        text-align: left;
    }

    .hero {
        min-height: 290px;
        padding: 32px;
    }

    .hero-caption {
        display: flex;
        position: absolute;
        right: 24px;
        bottom: 26px;
        flex-direction: column;
        text-align: right;
        border-right: 2px solid #92cdff7a;
        padding-right: 12px;
    }

    .hero-caption span {
        font-size: 24px;
        font-weight: 300;
    }

    .hero-caption small {
        font-size: 11px;
        color: #b7d0e3;
    }

    .sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .article-panel {
        padding: 30px;
    }

    .atmosphere::before {
        left: -205px;
        opacity: .15;
    }

    .atmosphere::after {
        right: -150px;
        opacity: .19;
    }
}

@media (min-width: 1000px) {
    .page-grid {
        grid-template-columns: minmax(0, 1fr) 318px;
        gap: 26px;
        margin-top: 26px;
    }

    .sidebar {
        grid-template-columns: minmax(0, 1fr);
    }

    .header-motto {
        display: block;
        margin-left: auto;
        margin-right: 32px;
    }

    .hero {
        min-height: 315px;
        padding: 34px;
        margin-bottom: 26px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-caption {
        right: 18px;
        bottom: 21px;
    }

    .main-feed .section-heading {
        padding: 20px 26px;
    }

    .main-feed .news-list li {
        padding: 17px 26px;
    }
}

@media (max-width: 699px) {
    .hero h1 br {
        display: none;
    }

    .hero h1 em::before {
        content: " ";
    }

    .hero h1 {
        max-width: 420px;
        font-size: 28px;
    }

    .hero p br {
        display: none;
    }

    .hero p {
        max-width: 330px;
    }

    .fact-number {
        float: left;
        margin-right: 17px;
        font-size: 35px;
    }

    .fact h3 {
        margin-top: 18px;
    }

    .fact p {
        clear: both;
    }

    .quiz-card h2 br {
        display: none;
    }

    .quiz-card h2 {
        font-size: 25px;
    }

    .contact-wrap {
        position: static;
    }

    #contact-email {
        left: 50%;
        right: auto;
        bottom: 75px;
        transform: translateX(-50%);
    }

    .site-footer {
        padding-right: 38px;
    }
}

@keyframes brand-shine {
    0%, 100% { background-position: 100% 50%; }
    50% { background-position: 0% 50%; }
}

@media (min-width: 700px) and (hover: hover) and (pointer: fine) {
    .navigation {
        position: relative;
    }

    .navigation > nav {
        top: 100%;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }

    .ticker-window {
        overflow-x: auto;
    }

    .ticker-set[aria-hidden="true"] {
        display: none;
    }
}

/* Local photography: Pexels 41257 and 399187, Pexels License.
   Video preview: YouTube 3cpqqUnc7j4, used with its click-to-load player.
   Fact references: fcdynamo.com/history and the club's historical match reports. */
