/* Palette and photographic treatment adapted from yo5kuc.ro's Pen theme.
   See root ASSET_SOURCES.md for the original club photographs. */
:root {
    color-scheme: light;
    --ink: #333;
    --accent: #005ce4;
    --blue-light: #00a9ff;
    --blue-dark: #093a89;
    --muted: #626974;
    --line: #ddd;
    --shadow: 0 5px 15px rgb(0 0 0 / 30%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: #23272b url('../img/club-background.jpg') center / cover fixed no-repeat;
    font: 16px/1.65 'Roboto', Arial, Helvetica, sans-serif;
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgb(0 0 0 / 75%);
    z-index: -1;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #0087cc; }
.site-header, main, .site-footer { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.site-header { margin-top: 28px; border-radius: 7px; overflow: hidden; box-shadow: var(--shadow); }
.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 230px;
    padding: 40px;
    background: linear-gradient(90deg, rgb(0 0 0 / 65%), rgb(0 0 0 / 15%)), var(--header-image, url('../img/club-header.jpg')) center / cover no-repeat;
    color: white;
    text-shadow: 1px 1px 2px #0a0a0a;
}
.brand { color: white; text-decoration: none; font: 700 clamp(30px, 4vw, 48px)/1.15 'Montserrat', Arial, sans-serif; letter-spacing: 1px; }
.brand:hover { color: white; }
.brand span { display: block; margin-top: 12px; font-size: 14px; line-height: 1.5; font-weight: 400; letter-spacing: 2px; }
.club-link { color: white; font-size: 13px; text-align: right; text-decoration: none; }
.club-link:hover { color: #c5e2ff; }
.club-link span { display: block; font-size: 20px; font-weight: 700; }
.site-nav { display: flex; align-items: stretch; background: linear-gradient(125deg, #00a9ff 0%, #093a89 100%); }
.site-nav > a, .language-toggle a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 17px 24px;
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    text-shadow: 1px 1px 1px rgb(0 0 0 / 50%);
}
.site-nav a:hover, .language-toggle a.active { background: rgb(0 0 0 / 22%); color: white; }
.language-toggle { display: flex; margin-left: auto; }
main { padding: 28px 0 0; }
section { margin-bottom: 28px; padding: 36px 40px; background: white; border-radius: 5px; box-shadow: var(--shadow); scroll-margin-top: 24px; }
.hero { position: relative; overflow: hidden; padding: 48px 40px; background: linear-gradient(125deg, #fff 0%, #ddd 100%); }
.eyebrow { color: var(--blue-dark); font-size: 12px; font-weight: 700; letter-spacing: 1.6px; }
h1, h2 { color: #222; }
h1 { margin: 22px 0; font-size: clamp(34px, 4.5vw, 58px); line-height: 1.15; letter-spacing: -1px; }
h1 span { font-weight: 400; }
h2 { margin: 12px 0 24px; font-size: clamp(25px, 3vw, 32px); line-height: 1.25; }
.lead { max-width: 650px; color: #505761; font-size: 19px; }
.button, button {
    display: inline-block;
    padding: 13px 24px;
    border: 0;
    border-radius: 5px;
    background: linear-gradient(0deg, #135abf 0%, #0090ff 100%);
    box-shadow: 0 2px 4px rgb(0 0 0 / 20%);
    color: white;
    font: 700 15px/1.5 'Roboto', Arial, sans-serif;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
.button:hover, button:hover { background: linear-gradient(0deg, #093a89, #0074cf); color: white; }
.station { margin-top: 32px; color: #687585; font-size: clamp(42px, 7vw, 84px); line-height: 1.15; font-weight: 800; letter-spacing: -3px; }
.station span { color: #135abf; }
.intro, .award { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; }
.intro p:first-child { margin-top: 0; }
.award { border-top: 5px solid var(--blue-dark); }
.award form { width: 100%; max-width: 380px; justify-self: end; align-self: center; }
.award button { width: 100%; }
label { display: block; font-size: 13px; font-weight: 700; }
input, select { display: block; width: 100%; margin: 6px 0 16px; padding: 12px; border: 1px solid #b5bbc3; border-radius: 4px; background: #fafafa; color: var(--ink); font: inherit; }
input:hover, select:hover { border-color: #7695b6; }
:focus-visible { outline: 3px solid #005ce4; outline-offset: 3px; }
.site-header :focus-visible, .site-footer :focus-visible { outline-color: #fff; outline-offset: -4px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.section-heading > span { padding: 8px 16px; border-radius: 5px; background: #eaf3ff; color: var(--blue-dark); font-size: 24px; font-weight: 700; white-space: nowrap; }
.filters { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.filters label { flex: 1; min-width: 130px; }
.filters input, .filters select { margin-bottom: 6px; }
.filters button, .filters > a { margin-top: 20px; }
.filters > a { font-size: 13px; }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 5px; }
table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
th { background: linear-gradient(125deg, #f7f7f7, #ddd); color: #333; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
th, td { padding: 14px; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: #f5f8fc; }
td:first-child { color: var(--blue-dark); font-weight: 700; }
.pagination { display: flex; justify-content: center; gap: 24px; margin-top: 24px; }
.login { max-width: 480px; margin-inline: auto; }
.logout { margin-top: 30px; }
.site-footer { margin-bottom: 28px; padding: 24px 32px; border-radius: 5px; background: rgb(0 0 0 / 70%); color: #ddd; font-size: 13px; }
.site-footer a { margin-left: 16px; color: #c5e2ff; }
@media (max-width: 680px) {
    .site-header, main, .site-footer { width: calc(100% - 24px); }
    .site-header { margin-top: 12px; }
    .header-main { min-height: 190px; padding: 28px 24px; }
    .brand span { font-size: 11px; letter-spacing: 1px; }
    .club-link { display: none; }
    .site-nav > a, .language-toggle a { padding: 15px 12px; font-size: 11px; letter-spacing: 0; }
    main { padding-top: 16px; }
    section { margin-bottom: 16px; padding: 28px 24px; }
    .hero { padding: 32px 24px; }
    .intro, .award { grid-template-columns: 1fr; gap: 16px; }
    .award form { max-width: none; }
    .station { letter-spacing: -2px; }
    .section-heading > span { font-size: 18px; padding: 6px 10px; }
    th, td { padding: 10px; }
    .site-footer { padding: 20px 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
