/* ==========================================================
   Handball Cup Oirsbeek (HCO)
   Organized stylesheet

   Scope:
   - Master layout
   - Topbar
   - Hero component
   - Tournament dates component
   - Practical info component
   - Google Forms embed
   - Footer

   Notes:
   - Existing HTML classes are kept intact
   - No HTML changes required
   ========================================================== */

/* ==========================================================
   1. Design tokens
   ========================================================== */

:root {
    --color-bg: #232323;
    --color-accent: #1da3ff;
    --color-text: #ffffff;
    --color-muted: #b0b0b0;
    --color-panel: #2a2a2a;
    --color-warning: #ea9335;
    --radius: 14px;
    --shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    --container: 1200px;
    --gutter: 16px;
}

/* ==========================================================
   2. Base / reset
   ========================================================== */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: var(--color-bg);
    color: var(--color-text);
    font-family: "Roboto", sans-serif;
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 0.5rem;
    font-family: "Montserrat", sans-serif;
}

p {
    margin: 0 0 1rem;
}

a {
    color: var(--color-accent);
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: 6px;
}

/* ==========================================================
   3. Shared layout helpers
   ========================================================== */

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.section {
    padding: 36px 0;
}

.panel {
    padding: 20px 24px 24px 32px;
    background: var(--color-panel);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.eyebrow {
    color: var(--color-accent);
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.divider {
    width: 72px;
    height: 4px;
    margin: 8px 0 16px;
    background: var(--color-accent);
    border-radius: 2px;
}

/* ==========================================================
   4. Site header / navigation
   ========================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(
        180deg,
        rgba(29, 163, 255, 0.92) 0%,
        rgba(20, 27, 36, 0.96) 100%
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 88px;
}

.site-header__brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.site-header__brand img {
    width: 72px;
    height: auto;
    display: block;
}

.site-header__toggle {
    display: none;
    margin-left: auto;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.site-header__toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header__toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-header__toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.site-header__toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
    margin-left: auto;
}

.site-nav__list {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav__item {
    margin: 0;
    padding: 0;
}

.site-nav__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
    font-size: 0.96rem;
    line-height: 1;
    text-decoration: none;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.site-nav__link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.site-nav__link.is-active {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.site-nav__item:last-child .site-nav__link {
    background: var(--color-accent);
    color: #111111;
    box-shadow:
        0 8px 18px rgba(29, 163, 255, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.site-nav__item:last-child .site-nav__link:hover {
    transform: translateY(-1px);
    box-shadow:
        0 10px 22px rgba(29, 163, 255, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.site-nav__item:last-child .site-nav__link.is-active {
    background: var(--color-accent);
    color: #111111;
}

/* Tablet / mobile */
@media (max-width: 900px) {
    .site-header__inner {
        min-height: 78px;
    }

    .site-header__brand img {
        width: 60px;
    }

    .site-header__toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        padding: 0 16px 16px;
        background: linear-gradient(
            180deg,
            rgba(20, 27, 36, 0.98) 0%,
            rgba(12, 18, 26, 0.98) 100%
        );
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
    }

    .site-nav.is-open {
        display: block;
    }

    .site-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0.55rem;
        padding-top: 0.75rem;
    }

    .site-nav__link {
        justify-content: flex-start;
        width: 100%;
        min-height: 48px;
        border-radius: 14px;
        padding: 0.85rem 1rem;
        background: rgba(255, 255, 255, 0.04);
    }

    .site-nav__link.is-active {
        background: rgba(255, 255, 255, 0.10);
    }

    .site-nav__item:last-child .site-nav__link {
        justify-content: center;
        margin-top: 0.25rem;
    }
}

/* ==========================================================
   5. Hero component
   ========================================================== */

.hero {
    position: relative;
    overflow: hidden;
    padding: 96px 0 110px;
    text-align: center;
    background:
        linear-gradient(
            180deg,
            rgba(29, 165, 255, 0.70) 0%,
            rgba(35, 35, 35, 0.74) 60%,
            rgba(35, 35, 35, 0.84) 100%
        ),
        url("/assets/grass.jpg") center/cover no-repeat;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.38);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at center,
        rgba(0, 0, 0, 0) 35%,
        rgba(0, 0, 0, 0.18) 72%,
        rgba(0, 0, 0, 0.28) 100%
    );
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 110px;
    background: linear-gradient(
        to bottom,
        rgba(35, 35, 35, 0) 0%,
        rgba(35, 35, 35, 0.42) 58%,
        var(--color-bg) 100%
    );
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
    max-width: 980px;
}

.hero-title {
    margin: 0 0 0.75rem;
    font-size: clamp(34px, 7vw, 72px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: #fff;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.34);
}

.hero-badges {
    margin-top: 6px;
    margin-bottom: 4px;
}

.cta-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
}

.cta {
    width: 100%;
    max-width: 700px;
    padding: 15px 18px;
    border-radius: 20px;
    box-shadow:
        0 0 10px rgba(29, 163, 255, 0.45),
        var(--shadow);
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.35px;
    transition:
        box-shadow 0.2s ease,
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.cta.primary {
    background: linear-gradient(
        180deg,
        #37a9ff 0%,
        #249cf7 100%
    );
    color: #111;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.cta.primary:hover {
    transform: translateY(-1px);
    box-shadow:
        0 0 18px rgba(29, 163, 255, 0.75),
        0 10px 24px rgba(0, 0, 0, 0.22);
}

.cta.secondary {
    background: rgba(20, 24, 30, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    opacity: 0.92;
}

.cta.secondary:hover {
    transform: translateY(-1px);
    background: rgba(24, 24, 30, 0.96);
    box-shadow:
        0 0 14px rgba(29, 163, 255, 0.28),
        0 10px 24px rgba(0, 0, 0, 0.22);
}

.countdown {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(234, 147, 53, 0.10);
    border: 1px solid rgba(234, 147, 53, 0.22);
    color: #f5b26e;
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    font-weight: 800;
    text-shadow: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.10);
    opacity: 0.9;
    letter-spacing: 0.02em;
}

/* Mobile */
@media (max-width: 640px) {
    .hero {
        padding: 64px 0 78px;
    }

    .hero-title {
        font-size: clamp(30px, 9vw, 48px);
        margin-bottom: 0.6rem;
    }

    .hero-badges span {
        padding: 7px 12px;
        font-size: 0.88rem;
    }

    .cta-wrap {
        margin-top: 16px;
        gap: 10px;
    }

    .cta {
        max-width: 100%;
        padding: 14px 14px;
        font-size: 0.92rem;
        border-radius: 14px;
    }

    .countdown {
        margin-top: 18px;
        font-size: 0.92rem;
        padding: 9px 14px;
    }
}

/* ==========================================================
   6. Tournament schedule / dates cards
   ========================================================== */

.tournament-schedule {
    position: relative;
    z-index: 2;
    margin-top: -54px;
    padding: 0 0 3rem;
}

.tournament-schedule__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
    align-items: stretch;
}

.tournament-schedule-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 1.35rem 1.4rem 1.3rem;
    overflow: hidden;
    background: linear-gradient( 180deg, rgba(10, 24, 38, 0.88) 0%, rgba(7, 16, 27, 0.94) 100% );
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(80, 170, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

    .tournament-schedule-card:hover {
        transform: translateY(-4px);
        border-color: rgba(120, 190, 255, 0.18);
        box-shadow: 0 16px 34px rgba(0, 0, 0, 0.30), 0 0 12px rgba(80, 170, 255, 0.08);
    }

        .tournament-schedule-card:hover .tournament-schedule-card__title {
            color: #ffffff;
        }

.tournament-schedule-card__date {
    margin-bottom: 0.65rem;
    color: rgba(140, 195, 245, 0.82);
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.tournament-schedule-card__title {
    margin: 0 0 0.5rem;
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.2;
    transition: color 0.22s ease;
}

.tournament-schedule-card__description {
    max-width: 30ch;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.98rem;
    line-height: 1.55;
}

.tournament-schedule__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1rem;
}

.tournament-schedule__location {
    color: rgba(255, 255, 255, 0.68);
    font-weight: 500;
    font-size: 0.95rem;
}

.tournament-schedule__link {
    color: rgba(140, 195, 245, 0.92);
    font-weight: 700;
    font-size: 0.95rem;
}

    .tournament-schedule__link:hover {
        text-decoration: underline;
    }

/* ==========================================================
   7. Practical info component
   ========================================================== */

.practical {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
    margin-top: 1rem;
}

.practical__content {
    min-width: 0;
}

.practical-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.practical-list__item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.95rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.practical-list__item:last-child {
    border-bottom: 0;
}

.practical-list__icon {
    flex: 0 0 auto;
    width: 1.4rem;
    line-height: 1.4;
    text-align: center;
}

.practical-list__body {
    min-width: 0;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.6;
}

.practical-list__label {
    color: #ffffff;
    font-weight: 700;
}

.practical-list__text {
    color: rgba(255, 255, 255, 0.82);
}

.practical-list__text a {
    color: rgba(140, 195, 245, 0.95);
    font-weight: 600;
}

.practical-list__text a:hover {
    text-decoration: underline;
}

.map {
    width: 100%;
    height: 300px;
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.20),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

@media (min-width: 768px) {
    .practical {
        grid-template-columns: 1.25fr 0.75fr;
        gap: 2rem;
    }

    .map {
        height: 320px;
    }
}

@media (max-width: 640px) {
    .practical-list__item {
        gap: 0.65rem;
        padding: 0.85rem 0;
    }

    .map {
        height: 260px;
        border-radius: 16px;
    }
}

/* ==========================================================
   8. Google Forms embed
   ========================================================== */

.form-embed {
    padding: 0;
    overflow: hidden;
}

.google-form {
    display: block;
    width: 100%;
    height: 5240px;
    border: 0;
}

/* ==========================================================
   9. Footer
   ========================================================== */

footer {
    padding: 28px 0;
    background: #111;
    border-top: 4px solid var(--color-accent);
    color: #e7e7e7;
    text-align: center;
}

    footer a {
        color: #fff;
        font-weight: 600;
        text-decoration: none;
    }

.socials {
    margin-top: 12px;
}

    .socials a {
        display: inline-block;
        margin: 0 8px;
        color: var(--color-accent);
    }
    
/* ==========================================================
   10. News preview
   ========================================================== */

.news-preview {
    padding: 2.5rem 0 3.5rem;
}

.news-preview__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.news-preview__header-content {
    max-width: 720px;
}

.news-preview__title {
    margin: 0 0 0.35rem;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.15;
}

.news-preview__intro {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1rem;
    line-height: 1.6;
}

.news-preview__more-link {
    color: rgba(140, 195, 245, 0.95);
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
    opacity: 0.9;
}

.news-preview__more-link:hover {
    text-decoration: underline;
}

.news-preview__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.news-card {
    min-width: 0;
}

.news-card__link {
    display: block;
    height: 100%;
    overflow: hidden;
    background: linear-gradient(
        180deg,
        rgba(10, 24, 38, 0.88) 0%,
        rgba(7, 16, 27, 0.94) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    text-decoration: none;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

.news-card__link:hover {
    transform: translateY(-4px);
    border-color: rgba(120, 190, 255, 0.18);
    box-shadow:
        0 16px 34px rgba(0, 0, 0, 0.30),
        0 0 12px rgba(80, 170, 255, 0.08);
}

.news-card__image-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}

.news-card__image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 40%,
        rgba(0,0,0,0.25) 100%
    );
}

.news-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-card__content {
    padding: 0.9rem 1rem 1rem;
}

.news-card__date {
    margin-bottom: 0.55rem;
    color: rgba(140, 195, 245, 0.82);
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.news-card__title {
    margin: 0 0 0.55rem;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.25;
}

.news-card__summary {
    margin: 0 0 0.9rem;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.9rem;
    line-height: 1.6;
}

.news-card__cta {
    color: rgba(140, 195, 245, 0.95);
    font-weight: 700;
    font-size: 0.95rem;
} 

/* ==========================================================
   11. News overview page
   ========================================================== */

.news-overview {
    padding: 3rem 0 4rem;
}

.news-overview__header {
    margin-bottom: 2rem;
    max-width: 760px;
}

.news-overview__title {
    margin: 0 0 0.5rem;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
}

.news-overview__intro {
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 1.05rem;
    line-height: 1.7;
}

.news-overview__grid {
    margin-top: 0.5rem;
}

.news-overview__empty {
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 640px) {
    .news-overview {
        padding: 2.25rem 0 3rem;
    }

    .news-overview__header {
        margin-bottom: 1.5rem;
    }

    .news-overview__intro {
        font-size: 1rem;
    }
}

/* ==========================================================
   12. News detail page
   ========================================================== */
.news-detail {
    padding: 3rem 0 4rem;
}

.news-detail__header {
    max-width: 760px;
    margin-bottom: 1.75rem;
}

.news-detail__meta {
    margin-bottom: 0.4rem;
}

.news-detail__date {
    color: rgba(140,195,245,0.85);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.news-detail__title {
    margin: 0 0 0.6rem;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
}

.news-detail__summary {
    margin: 0;
    color: rgba(255,255,255,0.78);
    font-size: 1.05rem;
    line-height: 1.7;
}

.news-detail__image-wrap {
    margin: 1.75rem 0 2rem;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
}

    .news-detail__image-wrap img {
        width: 100%;
        height: auto;
        display: block;
    }

.news-detail__content {
    max-width: 720px;
    color: rgba(255,255,255,0.9);
    font-size: 1.05rem;
    line-height: 1.8;
}

    .news-detail__content p {
        margin-bottom: 1.25rem;
    }

    .news-detail__content h2,
    .news-detail__content h3 {
        margin-top: 1.8rem;
    }

.news-detail__back {
    margin-top: 2.5rem;
}

    .news-detail__back a {
        color: rgba(140,195,245,0.95);
        font-weight: 700;
    }

        .news-detail__back a:hover {
            text-decoration: underline;
        }

@media (max-width: 640px) {

    .news-detail {
        padding: 2rem 0 3rem;
    }

    .news-detail__title {
        font-size: 1.8rem;
    }

    .news-detail__summary {
        font-size: 1rem;
    }
}

/* ==========================================================
   13. Sponsor band
   ========================================================== */

.sponsor-band {
    padding: 1rem 0 3.5rem;
}

.sponsor-band__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.sponsor-band__heading {
    max-width: 720px;
}

.sponsor-band__intro {
    max-width: 600px;
    margin: 0.35rem 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1rem;
    line-height: 1.6;
}

.sponsor-band__more-link {
    color: rgba(140, 195, 245, 0.95);
    font-weight: 700;
    white-space: nowrap;
}

.sponsor-band__more-link:hover {
    text-decoration: underline;
}

.sponsor-band__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.sponsor-band__item {
    min-width: 0;
}

.sponsor-band__logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 95px;
    padding: 1rem;
    background: linear-gradient(
        180deg,
        rgba(10, 24, 38, 0.72) 0%,
        rgba(7, 16, 27, 0.84) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    text-decoration: none;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease,
        background 0.22s ease;
}

.sponsor-band__logo-link:hover {
    transform: translateY(-2px);
    border-color: rgba(120, 190, 255, 0.14);
    box-shadow:
        0 10px 22px rgba(0, 0, 0, 0.22),
        0 0 10px rgba(80, 170, 255, 0.05);
}

.sponsor-band__logo {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(1) brightness(1.05);
    opacity: 0.92;
    transition: filter 0.22s ease, opacity 0.22s ease, transform 0.22s ease;
}

.sponsor-band__logo-link:hover .sponsor-band__logo {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.02);
}

@media (max-width: 1100px) {
    .sponsor-band__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .sponsor-band__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .sponsor-band {
        padding-bottom: 2.5rem;
    }

    .sponsor-band__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.85rem;
    }

    .sponsor-band__logo-link {
        min-height: 92px;
        padding: 0.85rem;
        border-radius: 16px;
    }

    .sponsor-band__logo {
        max-height: 44px;
    }
}

/* ==========================================================
   14. Page intro component
   ========================================================== */

.page-intro {
    padding: 1.75rem 0 2rem;
}

.page-intro__inner {
    padding: 1.85rem 1.85rem 1.7rem;
    text-align: center;
    background: linear-gradient( 180deg, rgba(12, 28, 46, 0.74) 0%, rgba(8, 17, 28, 0.90) 100% );
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.page-intro__title {
    margin: 0 0 0.7rem;
    color: #ffffff;
    font-size: clamp(2rem, 4.2vw, 3rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.page-intro__intro {
    max-width: 680px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
    line-height: 1.7;
}

.page-intro__badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.page-intro__actions {
    margin-top: 1.2rem;
    display: flex;
    justify-content: center;
}

    .page-intro__actions .cta {
        width: auto;
        min-width: 480px;
        max-width: none;
    }

        .page-intro__actions .cta.primary {
            box-shadow: 0 8px 18px rgba(29, 163, 255, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.16);
        }

@media (max-width: 640px) {
    .page-intro {
        padding: 1.35rem 0 1.75rem;
    }

    .page-intro__inner {
        padding: 1.3rem 1.1rem 1.2rem;
    }

    .page-intro__title {
        font-size: 1.9rem;
    }

    .page-intro__intro {
        font-size: 0.97rem;
    }

    .page-intro__actions .cta {
        width: 100%;
        min-width: 0;
    }
}

/* ==========================================================
   15. External schedule component
   ========================================================== */

.external-schedule {
    padding: 0 0 2.5rem;
}

.external-schedule__inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.5rem;
    align-items: center;
    padding: 1.55rem 1.6rem;
    background: linear-gradient( 180deg, rgba(17, 38, 59, 0.74) 0%, rgba(10, 22, 36, 0.92) 100% );
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(80, 170, 255, 0.06);
}

.external-schedule__content {
    max-width: 600px;
    min-width: 0;
}

.external-schedule__intro {
    margin: 0;
    color: rgba(255, 255, 255, 0.80);
    font-size: 0.98rem;
    line-height: 1.65;
}

.external-schedule__list-intro {
    margin: 1rem 0 0.6rem;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
    line-height: 1.5;
}

.external-schedule__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem 1.2rem;
}

    .external-schedule__list li {
        position: relative;
        padding-left: 0.85rem;
        color: rgba(255, 255, 255, 0.80);
        line-height: 1.5;
        font-size: 0.96rem;
    }

        .external-schedule__list li::before {
            content: ">";
            position: absolute;
            left: 0;
            top: 0;
            color: rgba(140, 195, 245, 0.95);
            font-weight: 700;
        }

.external-schedule__actions {
    max-width: 430px;
    width: 100%;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: center;
    align-items: stretch;
}

    .external-schedule__actions .cta {
        width: 100%;
        max-width: none;
        min-height: 50px;
        text-align: center;
    }

        .external-schedule__actions .cta.primary {
            box-shadow: 0 8px 18px rgba(29, 163, 255, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.16);
        }

        .external-schedule__actions .cta.secondary {
            background: rgba(20, 24, 30, 0.82);
        }

@media (max-width: 900px) {
    .external-schedule__inner {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .external-schedule__list {
        grid-template-columns: 1fr;
    }

    .external-schedule__actions {
        max-width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 640px) {
    .external-schedule {
        padding-bottom: 2.1rem;
    }

    .external-schedule__inner {
        padding: 1.2rem 1.1rem;
    }

    .external-schedule__intro,
    .external-schedule__list li,
    .external-schedule__list-intro {
        font-size: 0.95rem;
    }
}

/* ==========================================================
   16. Tournament day explanation component
   ========================================================== */

.tournament-days {
    padding: 0 0 2.5rem;
}

.tournament-days__header {
    max-width: 720px;
    margin-bottom: 1.35rem;
}

.tournament-days__intro {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.98rem;
    line-height: 1.65;
}

.tournament-days__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
    align-items: stretch;
}

.tournament-day-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.35rem 1.35rem 1.2rem;
    border-radius: var(--radius);
    background: linear-gradient( 180deg, rgba(18, 42, 66, 0.76) 0%, rgba(10, 22, 36, 0.92) 100% );
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(80, 170, 255, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .tournament-day-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(80, 170, 255, 0.10);
    }

.tournament-day-card__content {
    min-width: 0;
}

.tournament-day-card__date {
    margin-bottom: 0.6rem;
    color: rgba(140, 195, 245, 0.84);
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.tournament-day-card__title {
    margin: 0 0 0.5rem;
    color: #ffffff;
    font-size: 1.28rem;
    font-weight: 800;
    line-height: 1.2;
}

.tournament-day-card__description {
    margin: 0;
    color: rgba(255, 255, 255, 0.80);
    font-size: 0.96rem;
    line-height: 1.58;
}

.tournament-day-card__extra {
    margin: 0.75rem 0 0;
    color: rgba(140, 195, 245, 0.88);
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 600;
}

.tournament-day-card__badges {
    margin-top: auto;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

    .tournament-day-card__badges .badge-pill {
        font-size: 0.8rem;
        padding: 0.52rem 0.78rem;
    }

@media (max-width: 1000px) {
    .tournament-days__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .tournament-days {
        padding-bottom: 2.1rem;
    }

    .tournament-day-card {
        padding: 1.2rem 1.1rem 1.05rem;
    }

    .tournament-day-card__title {
        font-size: 1.18rem;
    }

    .tournament-day-card__description,
    .tournament-day-card__extra {
        font-size: 0.94rem;
    }

    .tournament-day-card__badges .badge-pill {
        font-size: 0.76rem;
    }
}

/* ==========================================================
   Badges (shared)
   ========================================================== */

.badge-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.94);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 4px 10px rgba(0, 0, 0, 0.12);
}

/* ==========================================================
   A. Responsive
   ========================================================== */

@media (max-width:640px){
    .cta-wrap{
        width:100%;
    }

    .cta{
        width:100%;
    }
}

@media (min-width: 768px) {
    .practical {
        grid-template-columns: 1.25fr 0.75fr;
    }

    .map {
        height: 360px;
    }
}

@media (max-width: 1100px) {
    .tournament-schedule {
        margin-top: -24px;
        padding-bottom: 2.75rem;
    }

    .tournament-schedule__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .tournament-schedule-card__title {
        font-size: 1.35rem;
    }
}

@media (max-width: 640px) {
    .tournament-schedule {
        margin-top: -18px;
        padding-bottom: 2.25rem;
    }

    .tournament-schedule-card {
        padding: 1rem;
        border-radius: 18px;
    }

    .tournament-schedule-card__date {
        font-size: 0.78rem;
    }

    .tournament-schedule-card__title {
        font-size: 1.2rem;
    }

    .tournament-schedule-card__description {
        font-size: 0.95rem;
    }

    .topbar .inner {
        gap: 12px;
    }

    .brand img {
        width: 64px;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 10px;
        font-size: 0.95rem;
    }
}

@media (max-width: 1100px) {
    .news-preview__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .news-preview__header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .news-preview {
        padding-bottom: 2.5rem;
    }

    .news-preview__title {
        font-size: 1.6rem;
    }

    .news-card__link {
        border-radius: 18px;
    }

    .news-card__content {
        padding: 1rem 1rem 1.05rem;
    }

    .news-card__title {
        font-size: 1.1rem;
    }

    .news-card__summary {
        font-size: 0.94rem;
    }
}
