:root {
    --navy-950: #071a33;
    --navy-900: #0a2342;
    --navy-800: #0d315a;
    --blue-700: #075f9e;
    --blue-600: #0877bd;
    --cyan-500: #13a8c7;
    --cyan-100: #dff7fb;
    --sky-50: #f2fbfd;
    --white: #ffffff;
    --ink: #12243b;
    --muted: #607087;
    --line: #d9e6ee;
    --success: #16865b;
    --warning: #d97706;
    --danger: #c83f4d;
    --shadow: 0 18px 45px rgba(7, 35, 66, 0.12);
    --radius-lg: 22px;
    --radius-md: 15px;
    --radius-sm: 10px;
    --page-width: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 8% 5%, rgba(19, 168, 199, 0.2), transparent 24rem),
        linear-gradient(180deg, #c9edf3 0, #e8f8fb 35rem, #cfeaf1 100%);
    font: 400 16px/1.6 Arial, Helvetica, sans-serif;
}

body.modal-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: var(--blue-700);
    text-decoration: none;
}

a:hover,
a:focus-visible {
    color: var(--navy-900);
}

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

button:focus-visible,
a:focus-visible {
    outline: 3px solid rgba(19, 168, 199, 0.4);
    outline-offset: 3px;
}

.container {
    width: min(calc(100% - 32px), var(--page-width));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 10px 14px;
    color: var(--white);
    background: var(--navy-950);
    border-radius: 8px;
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: relative;
    width: min(calc(100% - 32px), var(--page-width));
    margin: 24px auto 0;
    color: var(--white);
    border-radius: 24px 24px 0 0;
    background:
        linear-gradient(90deg, rgba(5, 26, 54, 0.94) 0%, rgba(5, 42, 78, 0.76) 53%, rgba(5, 55, 94, 0.58) 100%),
        url("assets/pool-hero-v1.png") center center / cover no-repeat;
    box-shadow: 0 22px 55px rgba(7, 35, 66, 0.2);
    overflow: hidden;
}

.site-header .container,
.site-footer .container {
    width: 100%;
    padding-inline: 28px;
}

.site-header::after {
    display: none;
}

.topbar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    color: var(--white);
    gap: 14px;
}

.brand:hover,
.brand:focus-visible {
    color: var(--white);
}

.brand-mark {
    display: grid;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, 0.58);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.brand-logo {
    display: block;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border: 2px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 4px 14px rgba(3, 21, 42, 0.28);
    object-fit: cover;
}

.brand-text {
    display: grid;
    line-height: 1.15;
}

.brand-text strong {
    max-width: 560px;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    letter-spacing: 0.02em;
}

.brand-text span {
    margin-top: 7px;
    color: #bdeaf4;
    font-size: clamp(0.9rem, 1.2vw, 1.02rem);
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    min-height: 42px;
    padding: 8px 13px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.main-nav {
    position: relative;
    z-index: 3;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(3, 21, 42, 0.42);
    backdrop-filter: blur(10px);
}

.nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    margin: 0;
    padding: 4px 0;
    gap: 3px;
    list-style: none;
    flex-wrap: wrap;
}

.nav-list a {
    display: block;
    padding: 15px 12px 13px;
    color: #e6f8fc;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.nav-list a:hover,
.nav-list a:focus-visible,
.nav-list a[aria-current="page"] {
    color: var(--white);
    border-bottom-color: #50d3e9;
    background: rgba(255, 255, 255, 0.08);
}

.hero {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    min-height: 247px;
    align-items: end;
    padding: 34px 0 38px;
}

.hero-copy {
    max-width: 760px;
}

.hero-logo {
    position: absolute;
    top: -55px;
    right: 28px;
    display: block;
    width: 285px;
    height: 285px;
    border-radius: 50%;
    object-fit: cover;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    margin: 0 0 12px;
    color: #8de4f2;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 750px;
    margin: 0;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.hero p {
    max-width: 680px;
    margin: 20px 0 0;
    color: #d6f2f7;
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.quick-links {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 0;
    padding: 9px 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    background: linear-gradient(90deg, #0a3158, #075f91);
    gap: 0;
}

.quick-link {
    display: flex;
    min-height: 58px;
    align-items: center;
    padding: 8px 16px;
    color: var(--white);
    border-right: 1px solid rgba(255, 255, 255, 0.16);
    background: transparent;
    gap: 11px;
    transition: background-color 0.2s ease;
}

.quick-link:first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.quick-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.quick-icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    color: var(--white);
    background: transparent;
}

.quick-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quick-link strong {
    display: block;
    color: var(--white);
    font-size: 0.88rem;
}

.quick-link small {
    display: block;
    margin-top: 2px;
    color: #bdeaf4;
    font-size: 0.72rem;
}

.page-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    align-items: start;
    margin-top: 0;
    padding: 32px 28px 64px;
    gap: 28px;
    border-radius: 0;
    background:
        linear-gradient(145deg, rgba(10, 67, 111, 0.98), rgba(7, 95, 158, 0.94)),
        repeating-linear-gradient(135deg, transparent 0 28px, rgba(255, 255, 255, 0.025) 28px 29px);
    box-shadow: none;
}

.content-column,
.sidebar-column {
    min-width: 0;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 20px;
}

.section-heading h2 {
    margin: 0;
    color: var(--navy-900);
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    line-height: 1.15;
}

.page-shell > .content-column > .section-heading h2 {
    color: var(--white);
}

.page-shell > .content-column > .section-heading p {
    color: #bdeaf4;
}

.page-shell > .content-column > .section-heading .section-link {
    color: #8de4f2;
}

.section-heading p {
    margin: 6px 0 0;
    color: var(--muted);
}

.section-link {
    flex: 0 0 auto;
    font-size: 0.9rem;
    font-weight: 700;
}

.news-list {
    display: grid;
    gap: 22px;
}

.legacy-news {
    display: grid;
    gap: 24px;
}

.archive-news-card {
    color: var(--ink);
    border: 1px solid #c9dce7;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: 0 12px 30px rgba(7, 35, 66, 0.12);
    overflow: hidden;
}

.archive-news-header {
    padding: 14px 20px;
    color: var(--white);
    background: linear-gradient(90deg, var(--navy-900), var(--blue-700));
}

.archive-news-header h3 {
    margin: 0;
    color: var(--white);
    font-size: 1rem;
    line-height: 1.4;
}

.archive-news-body {
    padding: 22px;
    color: #263b52;
    background: var(--white);
    font-size: 0.94rem;
    line-height: 1.65;
}

.archive-news-body p {
    margin: 0 0 16px;
    color: #263b52;
}

.archive-news-body p:last-child {
    margin-bottom: 0;
}

.archive-news-body ul {
    margin: 10px 0 18px;
    padding-left: 24px;
}

.archive-news-body a {
    display: inline-flex;
    margin: 4px 4px 4px 0;
    padding: 7px 11px;
    color: var(--blue-700);
    border: 1px solid #a9cfdf;
    border-radius: 8px;
    background: #eef9fc;
    font-weight: 800;
}

.archive-news-body a:hover {
    color: var(--white);
    border-color: var(--blue-700);
    background: var(--blue-700);
}

/* Rozbudowane wpisy w Aktualnościach */
.news-lead {
    font-size: 1rem;
    line-height: 1.75;
}

.news-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 20px 0;
    padding: 16px 0;
    border-top: 1px solid #d8e6ee;
    border-bottom: 1px solid #d8e6ee;
    gap: 12px;
}

.news-stat {
    min-width: 0;
    padding: 0 14px;
    text-align: center;
}

.news-stat + .news-stat {
    border-left: 1px solid #d8e6ee;
}

.news-stat strong,
.news-stat span {
    display: block;
}

.news-stat strong {
    color: var(--navy-900);
    font-size: 1.25rem;
    line-height: 1.2;
}

.news-stat span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.news-highlight {
    margin: 18px 0;
    padding: 14px 16px;
    border-left: 4px solid var(--cyan-500);
    background: #f1f8fb;
}

.news-highlight p:last-child {
    margin-bottom: 0;
}

.news-results {
    margin-top: 20px;
    border-top: 1px solid #c9dce7;
    border-bottom: 1px solid #c9dce7;
    background: #f8fbfd;
}

.news-results summary {
    position: relative;
    padding: 14px 46px 14px 16px;
    color: var(--navy-900);
    cursor: pointer;
    font-weight: 800;
    list-style: none;
}

.news-results summary::-webkit-details-marker {
    display: none;
}

.news-results summary::after {
    position: absolute;
    top: 50%;
    right: 17px;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--blue-700);
    border-bottom: 2px solid var(--blue-700);
    content: "";
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.2s ease;
}

.news-results[open] summary::after {
    transform: translateY(-30%) rotate(225deg);
}

.news-results-content {
    padding: 4px 16px 18px;
    border-top: 1px solid #d8e6ee;
}

.news-results-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px;
}

.news-result-group {
    padding: 16px 0;
    border-bottom: 1px solid #d8e6ee;
}

.news-result-group h4 {
    margin: 0 0 10px;
    color: var(--navy-900);
    font-size: 0.96rem;
}

.news-result-group p {
    margin: 0 0 10px;
    font-size: 0.88rem;
    line-height: 1.55;
}

.news-result-group p:last-child {
    margin-bottom: 0;
}

.news-funding-banner {
    display: block;
    width: 100%;
    height: auto;
    margin: 20px auto 10px;
}

.news-championship-heading {
    margin: 24px 0 10px;
    padding: 10px 14px;
    color: var(--navy-900);
    border-left: 4px solid var(--cyan-500);
    background: #f1f8fb;
    font-size: 1rem;
    line-height: 1.45;
}

.archive-news-body > .news-championship-heading:first-child {
    margin-top: 0;
}

.news-date-note {
    color: var(--blue-700);
}

.news-document-bullet {
    position: relative;
    padding-left: 20px;
}

.news-document-bullet::before {
    position: absolute;
    top: 0;
    left: 4px;
    color: var(--cyan-500);
    content: "•";
    font-weight: 900;
}

.news-document-results .news-results-content {
    overflow-wrap: anywhere;
}

.news-document-results h4 {
    margin: 22px 0 8px;
    padding-bottom: 7px;
    color: var(--navy-900);
    border-bottom: 1px solid #b9d5e3;
    font-size: 0.94rem;
    line-height: 1.45;
}

.news-document-results h5 {
    margin: 14px 0 5px;
    color: var(--blue-700);
    font-size: 0.88rem;
}

.news-document-results p {
    margin: 0;
    padding: 7px 9px;
    border-bottom: 1px solid #e2edf2;
    font-size: 0.86rem;
    line-height: 1.55;
}

.news-document-results p:nth-of-type(even) {
    background: #f1f7fa;
}

.news-document-results .news-championship-heading {
    margin-top: 28px;
    padding: 11px 13px;
    border-bottom: 0;
    font-size: 1rem;
}

.news-championship-block + .news-championship-block {
    margin-top: 30px;
    padding-top: 28px;
    border-top: 2px solid #b9d5e3;
}

.news-championship-block > .news-championship-heading {
    margin-top: 0;
}

.news-championship-block .news-results {
    margin-top: 18px;
}

@media (max-width: 720px) {
    .news-stat-grid,
    .news-results-grid {
        grid-template-columns: 1fr;
    }

    .news-stat {
        padding: 10px 8px;
    }

    .news-stat + .news-stat {
        border-top: 1px solid #d8e6ee;
        border-left: 0;
    }

    .news-results-content {
        padding-inline: 14px;
    }

    .news-document-results .news-results-content {
        padding-inline: 10px;
    }

    .news-document-results h4 {
        font-size: 0.88rem;
    }

    .news-document-results p {
        padding-inline: 5px;
        font-size: 0.8rem;
    }
}

.news-archive {
    display: grid;
    padding: 18px;
    border: 1px solid #c9dce7;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: 0 12px 30px rgba(7, 35, 66, 0.12);
    gap: 12px;
}

.news-archive-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
}

.news-archive a {
    min-width: 44px;
    padding: 7px 10px;
    color: var(--navy-900);
    border-radius: 8px;
    background: var(--cyan-100);
    text-align: center;
    font-size: 0.74rem;
    font-weight: 800;
}

.news-archive a:hover {
    color: var(--white);
    background: var(--blue-700);
}

.news-archive a[aria-current="page"] {
    color: var(--white);
    border-color: var(--navy-900);
    background: var(--navy-900);
}

.news-empty-state {
    padding: 28px 22px;
    color: #263b52;
    border: 1px solid #c9dce7;
    border-radius: var(--radius-md);
    background: var(--white);
    text-align: center;
    box-shadow: 0 12px 30px rgba(7, 35, 66, 0.12);
}

.news-empty-state p {
    margin: 0;
}

.news-archive a.is-disabled {
    color: #98a5b4;
    background: #edf1f4;
    pointer-events: none;
}

.news-card {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    min-height: 230px;
    border: 1px solid rgba(217, 230, 238, 0.9);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: 0 12px 30px rgba(7, 35, 66, 0.08);
    overflow: hidden;
}

.news-card[hidden] {
    display: none;
}

.news-image {
    position: relative;
    min-height: 230px;
    background: linear-gradient(135deg, #dff7fb, #c5e9f2);
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.news-image:hover img {
    transform: scale(1.035);
}

.news-image.no-crop img {
    object-fit: contain;
    padding: 16px;
}

.news-body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 25px 26px 24px;
}

.news-date {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 12px;
    padding: 5px 10px;
    color: var(--blue-700);
    border-radius: 999px;
    background: var(--cyan-100);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.news-card h3 {
    margin: 0;
    color: var(--navy-900);
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    line-height: 1.25;
}

.news-card p {
    margin: 13px 0 20px;
    color: #40536a;
}

.news-actions,
.event-links,
.resource-links {
    display: flex;
    flex-wrap: wrap;
    margin-top: auto;
    gap: 5px;
}

.button,
.event-link {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 8px 13px;
    border: 1px solid #b8d7e4;
    border-radius: 9px;
    background: #f4fbfd;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.2;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.event-link {
    min-height: 28px;
    padding: 4px 8px;
    border-radius: 7px;
    font-size: 0.7rem;
}

.button:hover,
.event-link:hover {
    color: var(--white);
    border-color: var(--blue-700);
    background: var(--blue-700);
    transform: translateY(-1px);
}

.button.primary {
    color: var(--white);
    border-color: var(--blue-700);
    background: var(--blue-700);
}

.button.primary:hover {
    background: var(--navy-900);
}

.button.live,
.event-link.live {
    color: #52677d;
    border-color: #c8d6df;
    background: #edf2f5;
}

.event-link.live::before {
    width: 7px;
    height: 7px;
    margin-right: 7px;
    content: "";
    border-radius: 50%;
    background: #8da0b1;
}

.button.live,
.event-link.live.is-live-now {
    color: var(--white);
    border-color: var(--danger);
    background: var(--danger);
}

.button.live::before,
.event-link.live.is-live-now::before {
    width: 7px;
    height: 7px;
    margin-right: 7px;
    content: "";
    border-radius: 50%;
    background: var(--white);
    animation: pulse 1.2s infinite;
}

.event-link.disabled {
    color: #98a5b4;
    border-color: #e1e8ed;
    background: #f7f9fa;
    cursor: default;
    pointer-events: none;
}

.authority-section {
    margin-bottom: 22px;
    border: 1px solid #b8d7e4;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: 0 12px 30px rgba(7, 35, 66, 0.1);
    overflow: hidden;
}

.authority-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    color: var(--white);
    background: linear-gradient(90deg, var(--navy-900), var(--blue-700));
    gap: 12px;
}

.authority-section-header h2 {
    margin: 0;
    color: var(--white);
    font-size: 1.05rem;
}

.authority-section-header span {
    color: #bdeaf4;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.authority-list {
    display: grid;
}

.authority-person {
    display: grid;
    grid-template-columns: minmax(210px, 0.85fr) minmax(280px, 1.15fr);
    align-items: center;
    padding: 13px 16px;
    border-top: 1px solid var(--line);
    gap: 18px;
}

.authority-person:first-child {
    border-top: 0;
}

.authority-role {
    display: block;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.authority-person h3 {
    margin: 2px 0 0;
    color: var(--navy-900);
    font-size: 0.98rem;
}

.authority-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
}

.authority-contact a,
.authority-missing {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 5px 9px;
    color: var(--blue-700);
    border: 1px solid #c5dce7;
    border-radius: 7px;
    background: #f4fbfd;
    font-size: 0.72rem;
    font-weight: 700;
}

.authority-contact a:hover {
    color: var(--white);
    border-color: var(--blue-700);
    background: var(--blue-700);
}

.authority-missing {
    color: var(--muted);
    background: #f3f5f7;
}

.judge-grade {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    margin-top: 5px;
    padding: 3px 8px;
    color: #075977;
    border: 1px solid #a9d9e4;
    border-radius: 7px;
    background: #def5f8;
    font-size: 0.68rem;
    font-weight: 900;
}

.judges-tabs {
    flex-wrap: wrap;
}

.judges-tabs a {
    min-width: 105px;
}

.judges-photo-card {
    margin: 0 0 22px;
    overflow: hidden;
    border: 1px solid rgba(7, 95, 158, 0.16);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow);
}

.judges-photo-card-compact {
    margin-bottom: 18px;
}

.judges-photo-link {
    position: relative;
    display: block;
    min-height: 260px;
    color: var(--white);
    background: linear-gradient(135deg, var(--navy-950), var(--blue-700));
}

.judges-photo-card-compact .judges-photo-link {
    min-height: 190px;
}

.judges-photo-link img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
}

.judges-photo-link::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 26, 51, 0.04), rgba(7, 26, 51, 0.72));
}

.judges-photo-link span {
    position: absolute;
    right: 24px;
    bottom: 22px;
    left: 24px;
    z-index: 1;
    display: grid;
    gap: 4px;
}

.judges-photo-link strong {
    font-size: clamp(1.45rem, 3vw, 2.15rem);
    line-height: 1.1;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
}

.judges-photo-link small {
    color: #d8f6fb;
    font-weight: 700;
}

.judges-documents,
.judges-gallery-section,
.judges-legacy-section {
    overflow: hidden;
}

.judges-document-list {
    display: grid;
    gap: 12px;
}

.judges-document-card {
    display: grid;
    gap: 4px;
    padding: 16px 18px;
    color: var(--ink);
    border: 1px solid rgba(7, 95, 158, 0.14);
    border-radius: var(--radius-sm);
    background: linear-gradient(180deg, var(--white), #f6fbfd);
}

.judges-document-card:hover,
.judges-document-card:focus-visible {
    color: var(--navy-900);
    border-color: rgba(7, 95, 158, 0.34);
    box-shadow: 0 12px 28px rgba(7, 35, 66, 0.1);
}

.judges-document-card strong {
    color: var(--navy-900);
    line-height: 1.25;
}

.judges-document-card span {
    color: var(--muted);
    font-size: 0.92rem;
}

.judges-legacy-content {
    display: grid;
    gap: 16px;
}

.judges-legacy-content .tabela1,
.judges-legacy-content .tabela {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
}

.judges-legacy-content .komorka11,
.judges-legacy-content .kom_nag {
    padding: 12px 14px;
    color: var(--navy-900);
    background: linear-gradient(90deg, #dff7fb, #eef9fc);
    font-weight: 800;
}

.judges-legacy-content .komorka22,
.judges-legacy-content .komorka1,
.judges-legacy-content .komorka2 {
    padding: 14px;
    color: var(--ink);
    background: var(--white);
}

.judges-legacy-content p {
    margin: 0 0 0.75rem;
}

.judges-legacy-content ul {
    margin-top: 8px;
    padding-left: 1.3rem;
}

.judges-legacy-content .thumbnail {
    margin: 0 18px 12px 0;
}

.judges-legacy-content .thumbnail img,
.judges-gallery-thumb img {
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(7, 35, 66, 0.16);
}

.judges-legacy-content a {
    font-weight: 700;
}

.judges-year-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.judges-year-links a {
    padding: 8px 12px;
    color: var(--blue-700);
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--sky-50);
    font-weight: 800;
}

.judges-year-links a:hover,
.judges-year-links a:focus-visible,
.judges-year-links a[aria-current="page"] {
    color: var(--white);
    border-color: var(--blue-700);
    background: var(--blue-700);
}

.judges-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.judges-gallery-thumb {
    display: grid;
    gap: 10px;
    color: var(--ink);
    font-weight: 800;
}

.judges-gallery-thumb img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.judges-gallery-thumb span {
    font-size: 0.92rem;
    line-height: 1.3;
}

.statute-content {
    padding: 18px;
    color: #40536a;
}

.statute-content p {
    margin: 0 0 14px;
}

.club-section {
    margin-bottom: 22px;
    border: 1px solid #b8d7e4;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: 0 12px 30px rgba(7, 35, 66, 0.1);
    overflow: hidden;
}

.club-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 15px;
    color: var(--white);
    background: linear-gradient(90deg, var(--navy-900), var(--blue-700));
    gap: 12px;
}

.club-section-header h2 {
    margin: 0;
    color: var(--white);
    font-size: 1rem;
}

.club-section-header span {
    color: #bdeaf4;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
}

.club-list {
    display: grid;
}

.club-row {
    display: grid;
    grid-template-columns: 25px minmax(175px, 1fr) minmax(190px, 1.12fr) minmax(190px, 1.1fr);
    align-items: center;
    min-height: 67px;
    padding: 8px 11px;
    border-top: 1px solid var(--line);
    gap: 8px;
}

.club-row:first-child {
    border-top: 0;
}

.club-row:nth-child(even) {
    background: #f8fbfd;
}

.club-number {
    display: inline-flex;
    width: 23px;
    height: 23px;
    align-items: center;
    justify-content: center;
    color: var(--blue-700);
    border-radius: 50%;
    background: #dff5fa;
    font-size: 0.65rem;
    font-weight: 900;
}

.club-name h3 {
    margin: 0;
    color: var(--navy-900);
    font-size: 0.79rem;
    line-height: 1.2;
}

.club-code {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.62rem;
    font-weight: 700;
}

.club-address {
    color: #40536a;
    font-size: 0.69rem;
    font-style: normal;
    line-height: 1.35;
}

.club-address span {
    color: var(--muted);
}

.club-contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.club-contact strong {
    flex-basis: 100%;
    color: var(--navy-900);
    font-size: 0.68rem;
    text-align: right;
}

.club-contact a,
.club-missing {
    display: inline-flex;
    min-height: 25px;
    align-items: center;
    padding: 3px 7px;
    color: var(--blue-700);
    border: 1px solid #c5dce7;
    border-radius: 6px;
    background: #f4fbfd;
    font-size: 0.62rem;
    font-weight: 800;
}

.club-contact a:hover {
    color: var(--white);
    border-color: var(--blue-700);
    background: var(--blue-700);
}

.club-missing {
    color: var(--muted);
    background: #f3f5f7;
}

.training-tabs {
    display: flex;
    margin: 0 0 18px;
    padding: 4px;
    border: 1px solid #b8d7e4;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.92);
    gap: 4px;
}

.training-tabs a {
    flex: 1;
    padding: 9px 12px;
    color: var(--blue-700);
    border-radius: 7px;
    font-size: 0.77rem;
    font-weight: 800;
    text-align: center;
}

.training-tabs a:hover,
.training-tabs a[aria-current="page"] {
    color: var(--white);
    background: linear-gradient(90deg, var(--navy-900), var(--blue-700));
}

.training-list {
    display: grid;
    gap: 13px;
}

.training-card {
    border: 1px solid #b8d7e4;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: 0 10px 24px rgba(7, 35, 66, 0.09);
    overflow: hidden;
}

.training-card-header {
    display: grid;
    grid-template-columns: 25px minmax(0, 1fr);
    align-items: center;
    padding: 9px 13px;
    color: var(--white);
    background: linear-gradient(90deg, var(--navy-900), var(--blue-700));
    gap: 8px;
}

.training-card-header h3 {
    margin: 0;
    color: var(--white);
    font-size: 0.82rem;
    line-height: 1.3;
}

.training-number {
    display: inline-flex;
    width: 23px;
    height: 23px;
    align-items: center;
    justify-content: center;
    color: var(--navy-900);
    border-radius: 50%;
    background: #c9f2f8;
    font-size: 0.62rem;
    font-weight: 900;
}

.training-card-body {
    padding: 12px 14px 7px;
    color: #30465f;
    font-size: 0.78rem;
    line-height: 1.55;
}

.training-card-body p {
    margin: 0 0 7px;
}

.training-card-body p:last-child {
    margin-bottom: 0;
}

.training-card-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding: 4px 14px 12px;
    gap: 6px;
}

.training-card-links .event-link {
    min-height: 28px;
    font-size: 0.67rem;
}

.regulation-current {
    margin-bottom: 14px;
}

.regulation-year-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 10px 14px;
    color: var(--white);
    border-radius: 10px;
    background: linear-gradient(90deg, var(--navy-900), var(--blue-700));
}

.regulation-year-header h2 {
    margin: 0;
    color: var(--white);
    font-size: 0.92rem;
}

.regulation-year-header span {
    color: #bdeaf4;
    font-size: 0.7rem;
    font-weight: 900;
}

.regulation-archive {
    margin-bottom: 18px;
}

.regulation-archive > summary {
    padding: 12px 15px;
    color: var(--white);
    border: 1px solid #65b9d1;
    border-radius: 10px;
    background: var(--blue-700);
    font-size: 0.78rem;
    font-weight: 900;
    cursor: pointer;
}

.regulation-archive[open] > summary {
    margin-bottom: 10px;
}

.regulation-archive-count {
    color: #c9f2f8;
}

.regulation-empty {
    margin: 0;
    padding: 14px;
    color: #40536a;
    border: 1px solid #b8d7e4;
    border-radius: 10px;
    background: var(--white);
    font-size: 0.76rem;
}

.achievement-archive {
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 18px;
    padding: 8px;
    border: 1px solid #b8d7e4;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.94);
    gap: 5px;
}

.achievement-archive a {
    min-width: 43px;
    padding: 6px 8px;
    color: var(--blue-700);
    border: 1px solid #c5dce7;
    border-radius: 7px;
    background: #f4fbfd;
    font-size: 0.66rem;
    font-weight: 800;
    text-align: center;
}

.achievement-archive a:hover {
    color: var(--white);
    border-color: var(--blue-700);
    background: var(--blue-700);
}

.achievement-archive a[aria-current="page"] {
    color: var(--white);
    border-color: var(--blue-700);
    background: var(--blue-700);
}

.archive-years a[aria-current="page"] {
    color: var(--white);
    border-color: var(--blue-700);
    background: var(--blue-700);
}

.archive-empty {
    margin: 0;
    padding: 13px 15px;
    color: var(--muted);
    font-size: 0.74rem;
}

.archive-event-card .event-main {
    align-items: center;
}

.achievement-section {
    margin-bottom: 18px;
    border: 1px solid #b8d7e4;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: 0 12px 30px rgba(7, 35, 66, 0.1);
    overflow: hidden;
}

.achievement-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 15px;
    color: var(--white);
    background: linear-gradient(90deg, var(--navy-900), var(--blue-700));
    gap: 12px;
}

.achievement-section-header h2 {
    margin: 0;
    color: var(--white);
    font-size: 1rem;
}

.achievement-section-header span {
    flex: 0 0 auto;
    color: #bdeaf4;
    font-size: 0.66rem;
    font-weight: 800;
    text-transform: uppercase;
}

.achievement-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 12px;
    gap: 10px;
}

.achievement-card {
    min-width: 0;
    border: 1px solid #dce9ef;
    border-radius: 10px;
    background: #f8fbfd;
    overflow: hidden;
}

.achievement-photo {
    display: block;
    width: 100%;
    height: 128px;
    padding: 7px;
    background: #e8f4f7;
    overflow: hidden;
    cursor: zoom-in;
}

.achievement-photo img {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    object-fit: contain;
    object-position: center;
    transition: transform 0.25s ease;
}

.achievement-photo:hover img {
    transform: scale(1.035);
}

.achievement-summary {
    padding: 9px 10px 10px;
}

.achievement-summary h3 {
    margin: 0;
    color: var(--navy-900);
    font-size: 0.79rem;
    line-height: 1.25;
}

.achievement-summary > span {
    display: block;
    min-height: 26px;
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.64rem;
    line-height: 1.3;
}

.achievement-summary details {
    margin-top: 7px;
}

.achievement-summary summary {
    color: var(--blue-700);
    font-size: 0.66rem;
    font-weight: 800;
    cursor: pointer;
}

.achievement-description {
    max-height: 260px;
    margin-top: 8px;
    padding: 9px;
    color: #30465f;
    border-radius: 7px;
    background: var(--white);
    font-size: 0.67rem;
    line-height: 1.48;
    overflow-y: auto;
}

.achievement-description p {
    margin: 0 0 7px;
}

.achievement-description p:last-child {
    margin-bottom: 0;
}

.achievement-note {
    padding: 14px;
    color: #40536a;
    border: 1px solid #b8d7e4;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.92);
    font-size: 0.76rem;
}

.achievement-note a {
    font-weight: 800;
}

/* Rocznik 2025: karty medalistów, oznaczenia medali i trenerzy. */
.achievement-year-intro {
    margin-bottom: 18px;
    padding: 16px 18px;
    color: #30465f;
    border-left: 4px solid var(--blue-700);
    background: rgba(255, 255, 255, 0.92);
    font-size: 0.78rem;
    line-height: 1.55;
}

.achievement-year-intro strong {
    color: var(--navy-900);
}

.achievement-year-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 12px;
    gap: 12px;
}

.achievement-year-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    border: 1px solid #d5e5ec;
    border-radius: 8px;
    background: #f8fbfd;
    box-shadow: 0 6px 18px rgba(7, 35, 66, 0.07);
    overflow: hidden;
}

.achievement-year-photo {
    display: block;
    width: 100%;
    height: 190px;
    padding: 8px;
    background: #e8f4f7;
    overflow: hidden;
    cursor: zoom-in;
}

.achievement-year-photo img {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    object-fit: contain;
    object-position: center;
    transition: transform 0.25s ease;
}

.achievement-year-photo:hover img {
    transform: scale(1.025);
}

.achievement-year-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 13px 14px 15px;
}

.achievement-year-content h3 {
    margin: 0;
    color: var(--navy-900);
    font-size: 1rem;
    line-height: 1.25;
}

.achievement-year-club {
    min-height: 30px;
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.35;
}

.achievement-medals {
    display: flex;
    flex-wrap: wrap;
    margin: 10px 0 4px;
    gap: 6px;
}

.medal-count {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 8px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 0.64rem;
    font-weight: 900;
}

.medal-count.gold {
    color: #6a4b00;
    border-color: #dec56b;
    background: #fff3b8;
}

.medal-count.silver {
    color: #46515c;
    border-color: #c4ccd3;
    background: #eef2f5;
}

.medal-count.bronze {
    color: #6b351d;
    border-color: #d6a07e;
    background: #f5d8c5;
}

.achievement-event {
    margin-top: 11px;
    padding-top: 10px;
    border-top: 1px solid #dce9ef;
}

.achievement-event h4 {
    margin: 0 0 3px;
    color: var(--blue-700);
    font-size: 0.72rem;
    line-height: 1.35;
}

.achievement-event p {
    margin: 0 0 7px;
    color: var(--muted);
    font-size: 0.64rem;
    line-height: 1.4;
}

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

.achievement-results li {
    position: relative;
    margin-top: 5px;
    padding-left: 15px;
    color: #30465f;
    font-size: 0.68rem;
    line-height: 1.42;
}

.achievement-results li::before {
    position: absolute;
    top: 0.42em;
    left: 1px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #9aa7b4;
    content: "";
}

.achievement-results li.medal-gold::before {
    background: #d5aa22;
}

.achievement-results li.medal-silver::before {
    background: #9da9b3;
}

.achievement-results li.medal-bronze::before {
    background: #b86f45;
}

.achievement-coaches {
    margin-bottom: 18px;
    padding: 16px;
    border: 1px solid #b8d7e4;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: 0 10px 28px rgba(7, 35, 66, 0.08);
}

.achievement-coaches h2 {
    margin: 0 0 12px;
    color: var(--navy-900);
    font-size: 1rem;
}

.achievement-coach-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.achievement-coach {
    padding: 10px 11px;
    border-left: 3px solid var(--blue-500);
    background: #f4fbfd;
}

.achievement-coach strong {
    display: block;
    color: var(--navy-900);
    font-size: 0.74rem;
}

.achievement-coach span {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.65rem;
    line-height: 1.4;
}

.sidebar-column {
    display: grid;
    gap: 14px;
}

.side-card {
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 28px rgba(7, 35, 66, 0.07);
    overflow: hidden;
}

.side-card h2 {
    margin: 0 0 15px;
    color: var(--navy-900);
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.sponsor-logos {
    position: relative;
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 7;
    border-radius: 10px;
    background: #edf6f8;
    overflow: hidden;
}

.sponsor-logos img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    animation: sponsorFade 8s infinite;
}

.sponsor-logos img:nth-child(2) {
    animation-delay: -4s;
}

.medalist-slider {
    position: relative;
    min-height: 322px;
}

.medalist-slide {
    display: none;
    text-align: center;
}

.medalist-slide.is-active {
    display: block;
}

.medalist-slide img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    object-fit: cover;
}

.medalist-slide strong {
    display: block;
    margin-top: 12px;
    color: var(--navy-900);
}

.medalist-slide span {
    display: block;
    color: var(--muted);
    font-size: 0.8rem;
}

.embed-frame {
    display: block;
    width: 100%;
    min-height: 120px;
    border: 0;
    background: #f3f7f9;
}

.embed-frame.auto-frame {
    min-height: 180px;
}

.side-card.embed-card {
    padding: 0;
}

.side-card.announcement-card {
    padding: 15px;
}

.announcement-card h2 {
    margin-bottom: 15px;
}

.announcement-link {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    background: #edf6f8;
    overflow: hidden;
    cursor: zoom-in;
}

.announcement-link img {
    width: 100%;
    height: 100%;
    opacity: 1;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

.announcement-link img.is-changing {
    opacity: 0;
}

.download-link {
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 10px;
    background: var(--sky-50);
    font-weight: 700;
    gap: 10px;
}

.facebook-link {
    display: block;
    padding: 14px;
    color: var(--white);
    border-radius: 10px;
    background: #1877f2;
    text-align: center;
    font-weight: 800;
}

.event-section {
    margin-bottom: 15px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--white);
    box-shadow: 0 12px 32px rgba(7, 35, 66, 0.07);
    overflow: hidden;
}

.event-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 15px;
    color: var(--white);
    background: linear-gradient(120deg, var(--navy-900), var(--blue-700));
    gap: 16px;
}

.event-section-header h2 {
    margin: 0;
    font-size: clamp(0.95rem, 2vw, 1.12rem);
    line-height: 1.25;
}

.event-section-header span {
    flex: 0 0 auto;
    color: #bfeef5;
    font-size: 0.66rem;
    font-weight: 800;
    text-transform: uppercase;
}

.event-list {
    display: grid;
}

.event-card {
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.35fr);
    align-items: center;
    padding: 9px 14px;
    border-top: 1px solid #e8eff3;
    gap: 12px;
}

.event-card:first-child {
    border-top: 0;
}

.event-card:nth-child(even) {
    background: #fbfdfe;
}

.event-main {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: start;
    min-width: 0;
    column-gap: 8px;
}

.event-number {
    display: inline-grid;
    grid-row: 1 / span 2;
    width: 24px;
    height: 24px;
    margin: 0;
    place-items: center;
    color: var(--blue-700);
    border-radius: 9px;
    background: var(--cyan-100);
    font-size: 0.68rem;
    font-weight: 800;
}

.event-card h3 {
    grid-column: 2;
    margin: 0;
    color: var(--navy-900);
    font-size: 0.88rem;
    line-height: 1.25;
}

.event-meta {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    margin: 3px 0 0;
    color: #15283d;
    gap: 2px 9px;
    font-size: 0.82rem;
    font-weight: 700;
}

.event-meta strong {
    color: #8a98a8;
    font-size: 0.7rem;
    font-weight: 500;
}

.event-resources {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    min-width: 0;
    gap: 5px;
}

.event-status {
    display: inline-flex;
    margin: 0;
    padding: 3px 7px;
    color: var(--success);
    border-radius: 999px;
    background: #e7f7f0;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
}

.event-status[hidden] {
    display: none;
}

.event-status.upcoming {
    color: var(--warning);
    background: #fff4df;
}

.event-status.finished {
    color: var(--muted);
    background: #edf1f4;
}

.event-status.registrations {
    color: #a45100;
    background: #fff0d2;
}

.event-status.event-day {
    color: #08704c;
    background: #d8f5e8;
}

.summary-row {
    display: grid;
    grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1.45fr);
    align-items: center;
    padding: 9px 14px;
    border-top: 1px solid var(--line);
    background: #eef8fb;
    gap: 20px;
}

.summary-row strong {
    color: var(--navy-900);
}

.timer-kontener {
    width: 100%;
    margin-top: 3px;
    padding: 6px 8px;
    color: #7a4300;
    border: 1px solid #f3d7a5;
    border-radius: 9px;
    background: #fff8e8;
    font-size: 0.7rem;
}

.timer-label,
.timer-liczby {
    display: block;
}

.timer-liczby {
    margin-top: 2px;
    color: var(--danger);
    font-weight: 800;
}

.poster-modal {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(3, 14, 28, 0.92);
}

.poster-modal.is-open {
    display: flex;
}

.poster-modal img {
    max-width: min(1100px, 94vw);
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.48);
    object-fit: contain;
}

.modal-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    background: rgba(7, 35, 66, 0.72);
    cursor: pointer;
    font: 700 2.2rem/1 Arial, Helvetica, sans-serif;
    transform: translateY(-50%);
}

.modal-nav:hover,
.modal-nav:focus-visible {
    color: var(--white);
    background: var(--blue-700);
}

.modal-nav[hidden] {
    display: none;
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    font-size: 1.5rem;
}

.promo-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(3, 14, 28, 0.92);
    cursor: pointer;
}

.promo-overlay.is-visible {
    display: flex;
}

.promo-overlay img {
    max-width: 94vw;
    max-height: 90vh;
    object-fit: contain;
}

.site-footer {
    width: min(calc(100% - 32px), var(--page-width));
    margin: 0 auto 24px;
    color: #d7ecf2;
    border-radius: 0 0 24px 24px;
    background: var(--navy-950);
    box-shadow: 0 22px 55px rgba(7, 35, 66, 0.2);
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: center;
    min-height: 130px;
    padding: 28px 0;
    text-align: center;
}

.footer-grid > div {
    width: 100%;
}

.footer-content {
    text-align: center;
}

.site-footer strong {
    display: block;
    color: var(--white);
}

.site-footer p {
    margin: 4px 0 0;
    color: #9eb7c5;
    font-size: 0.86rem;
}

.footer-frame {
    display: block;
    width: 100%;
    height: 58px;
    margin: 4px auto 0;
    border: 0;
}

.no-js-note {
    padding: 10px 14px;
    color: #653900;
    border: 1px solid #f2d295;
    border-radius: 10px;
    background: #fff7e5;
}

@keyframes sponsorFade {
    0%,
    42% {
        opacity: 1;
    }
    50%,
    92% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes pulse {
    50% {
        opacity: 0.25;
        transform: scale(0.8);
    }
}

@media (min-width: 1100px) {
    body {
        padding-left: 205px;
    }

    .main-nav {
        position: fixed;
        top: var(--side-nav-top, 0px);
        bottom: auto;
        left: var(--side-nav-left, 12px);
        z-index: 100;
        width: 205px;
        height: auto;
        max-height: calc(100vh - var(--side-nav-top, 0px) - 14px);
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 16px;
        background: linear-gradient(180deg, var(--navy-950), var(--navy-800));
        box-shadow: 8px 0 28px rgba(7, 26, 51, 0.18);
        overflow: hidden;
    }

    .main-nav .nav-list {
        display: flex;
        width: 100%;
        max-height: calc(100vh - var(--side-nav-top, 0px) - 16px);
        align-content: flex-start;
        align-items: stretch;
        justify-content: flex-start;
        padding: 18px 10px;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 2px;
        overflow-y: auto;
    }

    .nav-list a {
        padding: 9px 11px;
        border-bottom: 0;
        border-left: 3px solid transparent;
        border-radius: 7px;
        font-size: 0.7rem;
    }

    .nav-list a:hover,
    .nav-list a:focus-visible,
    .nav-list a[aria-current="page"] {
        border-bottom-color: transparent;
        border-left-color: #50d3e9;
    }
}

@media (max-width: 1000px) {
    .hero {
        min-height: 225px;
    }

    .hero-logo {
        top: -36px;
        width: 220px;
        height: 220px;
    }

    .page-shell {
        grid-template-columns: minmax(0, 1fr) 270px;
    }

    .quick-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .event-card {
        grid-template-columns: minmax(185px, 0.8fr) minmax(0, 1.2fr);
        gap: 10px;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(calc(100% - 22px), var(--page-width));
    }

    .site-header,
    .quick-links,
    .page-shell,
    .site-footer {
        width: calc(100% - 16px);
    }

    .site-header {
        margin-top: 8px;
        border-radius: 16px 16px 0 0;
    }

    .site-header .container,
    .site-footer .container {
        padding-inline: 16px;
    }

    .topbar {
        min-height: 78px;
    }

    .brand-mark {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        font-size: 0.78rem;
    }

    .brand-logo {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .brand-text span {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .main-nav {
        display: none;
    }

    .main-nav.is-open {
        display: block;
    }

    .nav-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        max-height: 65vh;
        padding: 8px 0 14px;
        overflow-y: auto;
    }

    .nav-list a {
        padding: 11px 12px;
        border: 0;
        border-radius: 8px;
        font-size: 0.75rem;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: 205px;
        padding: 32px 0 36px;
        gap: 0;
    }

    .hero-logo {
        display: none;
    }

    .quick-links {
        grid-template-columns: 1fr 1fr;
        margin-top: 0;
        padding: 7px 10px;
        gap: 0;
    }

    .quick-link {
        min-height: 52px;
        padding: 7px 10px;
    }

    .quick-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .quick-link small {
        display: none;
    }

    .page-shell {
        grid-template-columns: 1fr;
        padding: 28px 11px 48px;
        border-radius: 0;
    }

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

    .news-card {
        grid-template-columns: 1fr;
    }

    .news-image {
        min-height: 260px;
        max-height: 430px;
    }

    .event-section-header {
        gap: 8px;
    }

    .summary-row {
        grid-template-columns: minmax(110px, 0.45fr) minmax(0, 1.55fr);
        gap: 6px;
    }

    .authority-person {
        grid-template-columns: 1fr;
        padding: 13px;
        gap: 9px;
    }

    .authority-contact {
        justify-content: flex-start;
    }

    .authority-contact a,
    .authority-missing {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .site-footer {
        margin-bottom: 8px;
        border-radius: 0 0 16px 16px;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 1050px) {
    .club-row {
        grid-template-columns: 25px minmax(165px, 0.9fr) minmax(190px, 1.1fr);
    }

    .club-contact {
        grid-column: 2 / -1;
        justify-content: flex-start;
    }

    .club-contact strong {
        flex-basis: auto;
        margin-right: 5px;
        text-align: left;
    }

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

    .achievement-year-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .club-section-header {
        padding: 9px 10px;
    }

    .club-row {
        grid-template-columns: 23px minmax(0, 1fr);
        min-height: 0;
        padding: 10px;
        gap: 5px 8px;
    }

    .club-name,
    .club-address,
    .club-contact {
        grid-column: 2;
    }

    .club-address {
        font-size: 0.67rem;
    }

    .club-contact {
        justify-content: flex-start;
    }

    .club-contact strong {
        flex-basis: 100%;
    }

    .training-tabs {
        flex-direction: column;
    }

    .training-card-header {
        padding: 9px 10px;
    }

    .training-card-header h3 {
        font-size: 0.75rem;
    }

    .training-card-body {
        padding: 11px 12px 6px;
        font-size: 0.73rem;
    }

    .training-card-links {
        justify-content: flex-start;
        padding: 4px 12px 11px;
    }

    .achievement-section-header {
        padding: 9px 10px;
    }

    .achievement-section-header h2 {
        font-size: 0.83rem;
    }

    .achievement-grid {
        padding: 8px;
        gap: 7px;
    }

    .achievement-photo {
        height: 125px;
    }

    .achievement-year-grid {
        padding: 8px;
        gap: 9px;
    }

    .achievement-year-photo {
        height: 205px;
    }

    .achievement-coach-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    body {
        font-size: 15px;
    }

    .brand-text strong {
        max-width: 220px;
        font-size: 0.86rem;
    }

    .menu-toggle {
        width: 44px;
        padding-inline: 8px;
        color: transparent;
        font-size: 0;
    }

    .menu-toggle::after {
        color: var(--white);
        content: "Menu";
        font-size: 0.78rem;
    }

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

    .achievement-photo {
        height: 145px;
    }

    .quick-links {
        grid-template-columns: 1fr 1fr;
    }

    .quick-link {
        min-height: 50px;
        padding-inline: 8px;
    }

    .modal-nav {
        top: auto;
        bottom: 16px;
        width: 46px;
        height: 46px;
        font-size: 1.8rem;
        transform: none;
    }

    .modal-prev {
        left: calc(50% - 58px);
    }

    .modal-next {
        right: calc(50% - 58px);
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .news-body {
        padding: 21px 19px;
    }

    .news-image {
        min-height: 220px;
    }

    .sidebar-column {
        grid-template-columns: 1fr;
    }

    .event-card {
        grid-template-columns: minmax(120px, 0.82fr) minmax(0, 1.18fr);
        padding: 8px 9px;
        gap: 7px;
    }

    .event-section-header {
        padding: 9px 10px;
    }

    .event-section-header h2 {
        font-size: 0.88rem;
    }

    .event-section-header span {
        font-size: 0.55rem;
    }

    .event-card h3 {
        font-size: 0.76rem;
    }

    .event-meta {
        font-size: 0.71rem;
        gap: 1px 6px;
    }

    .event-meta strong {
        font-size: 0.6rem;
    }

    .event-number {
        width: 20px;
        height: 20px;
        font-size: 0.58rem;
    }

    .event-main {
        grid-template-columns: 20px minmax(0, 1fr);
        column-gap: 5px;
    }

    .event-link {
        min-height: 24px;
        padding: 3px 5px;
        font-size: 0.61rem;
    }

    .event-status {
        padding: 2px 5px;
        font-size: 0.53rem;
    }

    .summary-row {
        padding: 7px 9px;
        font-size: 0.74rem;
    }

    .timer-kontener {
        padding: 5px 6px;
        font-size: 0.62rem;
    }
}

/* Rekordy */
.records-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 14px;
    gap: 12px;
}

.records-link-card,
.records-browser,
.records-note,
.record-report {
    border: 1px solid #b8d7e4;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: 0 10px 24px rgba(7, 35, 66, 0.09);
    overflow: hidden;
}

.records-link-card {
    padding: 14px;
}

.records-link-card h2 {
    margin: 0 0 6px;
    color: var(--navy-900);
    font-size: 0.88rem;
}

.records-link-card p {
    min-height: 42px;
    margin: 0 0 10px;
    color: #455e75;
    font-size: 0.73rem;
    line-height: 1.45;
}

.records-browser {
    margin-bottom: 14px;
}

.records-browser-header {
    padding: 11px 14px;
    color: var(--white);
    background: linear-gradient(90deg, var(--navy-900), var(--blue-700));
}

.records-browser-header h2 {
    margin: 0;
    color: var(--white);
    font-size: 0.9rem;
}

.records-browser-header p {
    margin: 3px 0 0;
    color: #c9f2f8;
    font-size: 0.68rem;
}

.records-filters {
    display: grid;
    padding: 13px 14px;
    border-bottom: 1px solid #d9e7ee;
    background: #eef7fa;
    gap: 10px;
}

.records-filters-primary {
    grid-template-columns: 0.8fr 0.7fr 1.5fr;
}

.records-filters-secondary {
    grid-template-columns: 0.75fr 0.75fr 1.5fr;
    padding-top: 10px;
    padding-bottom: 10px;
    background: #e3eef3;
}

.record-filter {
    display: grid;
    color: #435a70;
    font-size: 0.64rem;
    font-weight: 800;
    gap: 4px;
    text-transform: uppercase;
}

.record-filter select,
.record-filter input,
.record-form input,
.record-form select {
    width: 100%;
    min-height: 36px;
    padding: 7px 9px;
    color: var(--navy-900);
    border: 1px solid #b8d7e4;
    border-radius: 7px;
    background: var(--white);
    font: inherit;
}

.record-filter input::placeholder {
    color: #8094a5;
}

.record-filter-search {
    min-width: 0;
}

.records-results {
    width: 100%;
    overflow-x: auto;
}

.records-results .tabela {
    table-layout: fixed;
    width: 100%;
    min-width: 700px;
    border-spacing: 0;
    border-collapse: collapse;
    color: #263e55;
    background: var(--white);
    font-size: 0.7rem;
}

.records-results .tabela th:nth-child(1),
.records-results .tabela td:nth-child(1) {
    width: 17%;
}

.records-results .tabela th:nth-child(2),
.records-results .tabela td:nth-child(2) {
    width: 10%;
}

.records-results .tabela th:nth-child(3),
.records-results .tabela td:nth-child(3) {
    width: 20%;
}

.records-results .tabela th:nth-child(4),
.records-results .tabela td:nth-child(4) {
    width: 9%;
}

.records-results .tabela th:nth-child(5),
.records-results .tabela td:nth-child(5) {
    width: 11%;
}

.records-results .tabela th:nth-child(6),
.records-results .tabela td:nth-child(6) {
    width: 14%;
}

.records-results .tabela th:nth-child(7),
.records-results .tabela td:nth-child(7) {
    width: 19%;
}

.records-results .kom_nag {
    padding: 9px 8px;
    color: var(--white);
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(180deg, #0b92bd, #087ba6);
    font-weight: 800;
    text-align: left;
    white-space: nowrap;
}

.records-results .komorka1,
.records-results .komorka2 {
    padding: 8px;
    border-right: 1px solid #e1ebf0;
    border-bottom: 1px solid #dbe7ed;
    overflow-wrap: anywhere;
    vertical-align: middle;
}

.records-results tbody tr:nth-child(even) {
    background: #f1f7fa;
}

.records-results tbody tr:hover {
    background: #e4f5f9;
}

.records-results .record-event {
    color: #082f50;
    background: rgba(213, 242, 248, 0.44);
    text-align: left;
}

.records-results .record-relay {
    width: auto !important;
    padding: 6px 10px 7px 22px;
    color: #536d82;
    border-bottom: 1px solid #cbdde6;
    background: #e9f3f7;
    font-size: 0.64rem;
    line-height: 1.4;
    text-align: left;
}

.records-results .record-relay strong {
    color: #0a668e;
}

.records-results .record-relay-row:hover {
    background: #e1f0f5;
}

.records-results .record-category {
    display: block;
    margin-top: 2px;
    color: #6b8193;
    font-size: 0.58rem;
}

.records-results .record-swimmers {
    line-height: 1.45;
}

.records-results .mixed-label {
    display: inline-block;
    margin-left: 4px;
    color: #087ca9;
    font-size: 0.58rem;
    font-weight: 900;
}

.records-results tr.style-dowolny .record-event {
    border-left: 6px solid #168bc4;
}

.records-results tr.style-grzbietowy .record-event {
    border-left: 6px solid #f0a13a;
}

.records-results tr.style-klasyczny .record-event {
    border-left: 6px solid #42a56a;
}

.records-results tr.style-motylkowy .record-event {
    border-left: 6px solid #d76a96;
}

.records-results tr.style-zmienny .record-event {
    border-left: 6px solid #8766bd;
}

.records-results tr.style-sztafeta .record-event,
.records-results tr.mixed-relay-row .record-event {
    border-left: 6px solid #16a9ad;
}

.records-message {
    margin: 0;
    padding: 24px 12px;
    color: #526b80;
    text-align: center;
}

.records-error {
    color: #a92f3b;
}

.records-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding: 12px 14px;
    gap: 12px;
}

.records-note p {
    margin: 0;
    color: #455e75;
    font-size: 0.73rem;
    line-height: 1.45;
}

.record-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 14px;
    gap: 11px;
}

.record-form-status {
    margin: 14px 14px 0;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
}

.record-form-status.is-success {
    color: #155c3b;
    border: 1px solid #a8d8bf;
    background: #e9f8f0;
}

.record-form-status.is-error {
    color: #8c2633;
    border: 1px solid #e4b7bd;
    background: #fff0f2;
}

.record-form-trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.record-form label {
    display: grid;
    color: #435a70;
    font-size: 0.7rem;
    font-weight: 800;
    gap: 4px;
}

.record-form label.has-error {
    color: #9b1c2d;
}

.record-form input.is-invalid,
.record-form select.is-invalid {
    border-color: #c73548;
    background: #fff4f5;
    box-shadow: 0 0 0 2px rgba(199, 53, 72, 0.13);
}

.record-field-error {
    display: block;
    color: #9b1c2d;
    font-size: 0.64rem;
    font-weight: 700;
    line-height: 1.35;
}

.record-form-wide,
.record-form-actions {
    grid-column: 1 / -1;
}

.record-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 7px;
}

.record-form button {
    min-height: 34px;
    padding: 7px 13px;
    color: var(--white);
    border: 0;
    border-radius: 7px;
    background: var(--blue-700);
    font: inherit;
    font-size: 0.7rem;
    font-weight: 800;
    cursor: pointer;
}

.record-form button[type="reset"] {
    color: var(--navy-900);
    background: #dcebf1;
}

@media (max-width: 620px) {
    .records-links,
    .records-filters,
    .record-form {
        grid-template-columns: 1fr;
    }

    .records-link-card p {
        min-height: 0;
    }

    .records-note {
        align-items: flex-start;
        flex-direction: column;
    }

    .record-form-wide,
    .record-form-actions {
        grid-column: auto;
    }

    .record-form-actions {
        justify-content: flex-start;
    }
}

/* Galeria zdjęć */
.photo-gallery-list {
    display: grid;
    gap: 18px;
}

.photo-gallery-card {
    border: 1px solid #b8d7e4;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: 0 12px 30px rgba(7, 35, 66, 0.1);
    overflow: hidden;
}

.photo-gallery-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 13px 15px;
    color: var(--white);
    background: linear-gradient(90deg, var(--navy-900), var(--blue-700));
    gap: 16px;
}

.photo-gallery-heading {
    min-width: 0;
}

.photo-gallery-date {
    display: block;
    margin-bottom: 3px;
    color: #8de4f2;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.photo-gallery-heading h2 {
    margin: 0;
    color: var(--white);
    font-size: 0.92rem;
    line-height: 1.3;
}

.photo-gallery-heading p {
    margin: 4px 0 0;
    color: #c9edf5;
    font-size: 0.68rem;
    line-height: 1.4;
}

.photo-gallery-meta {
    display: grid;
    justify-items: end;
    color: #c9edf5;
    font-size: 0.64rem;
    gap: 2px;
    text-align: right;
}

.photo-gallery-meta strong {
    color: var(--white);
    font-size: 0.73rem;
}

.photo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 10px;
    gap: 8px;
}

.photo-gallery-thumb {
    position: relative;
    display: block;
    min-width: 0;
    aspect-ratio: 4 / 3;
    border: 1px solid #c6dce6;
    border-radius: 8px;
    background: #dcecf2;
    overflow: hidden;
}

.photo-gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.photo-gallery-thumb > span {
    position: absolute;
    right: 5px;
    bottom: 5px;
    display: inline-grid;
    min-width: 22px;
    min-height: 20px;
    padding: 3px 5px;
    place-items: center;
    color: var(--white);
    border-radius: 6px;
    background: rgba(3, 27, 53, 0.78);
    font-size: 0.58rem;
    font-weight: 900;
}

.photo-gallery-thumb:hover img,
.photo-gallery-thumb:focus-visible img {
    filter: brightness(1.08);
    transform: scale(1.04);
}

.photo-gallery-thumb:focus-visible {
    outline: 3px solid #75dce9;
    outline-offset: 2px;
}

.gallery-loading {
    margin: 0;
    padding: 24px;
    color: #476176;
    border-radius: var(--radius-md);
    background: var(--white);
    text-align: center;
}

@media (max-width: 760px) {
    .photo-gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .photo-gallery-header {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .photo-gallery-meta {
        justify-items: start;
        text-align: left;
    }

    .photo-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }
}

/* RODO */
.rodo-card {
    padding: clamp(18px, 3vw, 30px);
    color: #17334c;
    border: 1px solid #c9dfeb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(4, 37, 69, 0.12);
}

.rodo-card h2 {
    margin: 24px 0 14px;
    color: #082f53;
    font-size: 1.25rem;
}

.rodo-intro {
    margin: 0;
    line-height: 1.75;
}

.rodo-list {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: rodo-item;
    gap: 12px;
}

.rodo-list li {
    position: relative;
    min-width: 0;
    padding: 15px 16px 15px 54px;
    border: 1px solid #d8e8f0;
    border-radius: 12px;
    background: #f4fafc;
    line-height: 1.65;
    overflow-wrap: anywhere;
    counter-increment: rodo-item;
}

.rodo-list li::before {
    position: absolute;
    top: 14px;
    left: 14px;
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    color: #fff;
    border-radius: 50%;
    background: #0877bd;
    content: counter(rodo-item);
    font-size: 0.78rem;
    font-weight: 800;
}

.rodo-downloads {
    margin-top: 24px;
    padding: 18px;
    border: 1px solid #b9dceb;
    border-radius: 12px;
    background: #eaf8fc;
}

.rodo-downloads h2 {
    margin-top: 0;
}

@media (max-width: 520px) {
    .rodo-list li {
        padding: 48px 14px 14px;
    }
}

/* Prasa */
.press-list {
    display: grid;
    gap: 18px;
}

.press-card {
    max-width: 100%;
    overflow: hidden;
    border: 1px solid #c9dfeb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(4, 37, 69, 0.12);
}

.press-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 18px;
    color: #fff;
    background: linear-gradient(110deg, #082d53, #0876ad);
}

.press-card-header img {
    width: 72px;
    height: 52px;
    padding: 5px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
}

.press-card-header h2 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.press-card-header > div,
.press-card-body {
    min-width: 0;
}

.press-source {
    display: block;
    margin-top: 4px;
    color: #bfeeff;
    font-size: 0.78rem;
    font-weight: 700;
}

.press-card-body {
    padding: 18px;
    color: #17334c;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.press-card-body::after {
    display: block;
    clear: both;
    content: "";
}

.press-card-body p {
    margin: 0 0 13px;
}

.press-lead {
    color: #062f55;
    font-weight: 700;
}

.press-photo {
    float: right;
    width: min(250px, 42%);
    margin: 2px 0 12px 20px;
    border-radius: 12px;
    object-fit: cover;
}

.press-card-footer {
    padding: 0 18px 18px;
}

/* Kontakt */
.contact-card {
    padding: 20px;
    border: 1px solid #c9dfeb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(4, 37, 69, 0.12);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.contact-item {
    padding: 15px;
    color: #17334c;
    border: 1px solid #d8e8f0;
    border-radius: 12px;
    background: #f4fafc;
}

.contact-item > span,
.contact-item strong {
    display: block;
    margin-bottom: 5px;
    color: #62758a;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.contact-item a {
    overflow-wrap: anywhere;
}

.contact-wide {
    grid-column: 1 / -1;
}

.account-number {
    color: #052e52;
    font-size: clamp(1rem, 2.1vw, 1.25rem);
    font-weight: 800;
    letter-spacing: 0.035em;
    overflow-wrap: anywhere;
}

/* Piłka wodna */
.waterpolo-card,
.training-info-card {
    overflow: hidden;
    border: 1px solid #c9dfeb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(4, 37, 69, 0.12);
}

.waterpolo-people {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 18px;
}

.waterpolo-person {
    padding: 14px;
    border: 1px solid #d8e8f0;
    border-radius: 12px;
    background: #f4fafc;
    text-align: center;
}

.waterpolo-person img {
    width: 100%;
    height: 190px;
    border-radius: 10px;
    object-fit: cover;
    object-position: top center;
}

.waterpolo-person strong {
    display: block;
    margin: 10px 0 3px;
    color: #082f53;
}

.waterpolo-person span {
    display: block;
    margin: 0;
    color: #60748a;
    font-size: 0.88rem;
}

.waterpolo-copy,
.training-info-card {
    padding: 18px;
    color: #17334c;
    line-height: 1.65;
}

.waterpolo-copy {
    border-top: 1px solid #d8e8f0;
}

.waterpolo-copy h2,
.waterpolo-copy h3,
.training-info-card h2 {
    color: #082f53;
}

.training-info-card {
    margin-top: 18px;
}

@media (max-width: 620px) {
    .judges-photo-link,
    .judges-photo-card-compact .judges-photo-link {
        min-height: 170px;
    }

    .judges-photo-link span {
        right: 16px;
        bottom: 16px;
        left: 16px;
    }

    .judges-gallery-grid {
        grid-template-columns: 1fr;
    }

    .judges-legacy-content {
        overflow-x: auto;
    }

    .judges-legacy-content .tabela1,
    .judges-legacy-content .tabela {
        min-width: 520px;
    }

    .press-card-header {
        align-items: flex-start;
    }

    .press-photo {
        float: none;
        width: 100%;
        max-height: 280px;
        margin: 5px 0 15px;
    }

    .contact-grid,
    .waterpolo-people {
        grid-template-columns: 1fr;
    }

    .contact-wide {
        grid-column: auto;
    }

    .waterpolo-person img {
        height: 220px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Aktualności: reprezentanci ŚOZP w Kadrze Narodowej */
.national-team-news .archive-news-header {
    border-bottom-color: #c99b22;
    background: #fff4c8;
}

.national-team-news .archive-news-header h3 {
    color: #193b63;
}

.national-team-lead {
    padding: 14px 16px;
    border-left: 5px solid #c99b22;
    background: #f3f8fc;
    line-height: 1.65;
}

.national-team-category {
    margin: 18px 0 0;
    padding-left: 14px;
    border-left: 3px solid #1c78ad;
}

.national-team-category h4 {
    margin: 0 0 7px;
    color: #174d73;
    font-size: 1rem;
}

.national-team-category ul {
    margin: 0;
    padding-left: 20px;
}

.national-team-category li {
    margin: 4px 0;
}

.national-team-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.archive-news-body .national-team-photo {
    display: grid;
    grid-template-rows: auto 1fr;
    min-width: 0;
    margin: 0;
    padding: 0;
    color: #17334c;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-weight: 400;
    text-decoration: none;
}

.national-team-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    border: 1px solid #b8ccd9;
    border-radius: 6px;
    background: #e8f1f5;
    object-fit: cover;
    object-position: center top;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.national-team-photo > span {
    display: grid;
    gap: 2px;
    padding-top: 8px;
    line-height: 1.25;
}

.national-team-photo strong {
    color: #174d73;
    font-size: 0.88rem;
    overflow-wrap: anywhere;
}

.national-team-photo small {
    color: #536b7d;
    font-size: 0.74rem;
    overflow-wrap: anywhere;
}

.national-team-photo:hover img,
.national-team-photo:focus-visible img {
    filter: brightness(1.05);
    transform: translateY(-2px);
}

.archive-news-body .national-team-photo:hover,
.archive-news-body .national-team-photo:focus-visible {
    color: #17334c;
    border: 0;
    background: transparent;
}

.national-team-photo:focus-visible {
    outline: 3px solid #1c78ad;
    outline-offset: 4px;
}

.national-team-congratulations {
    margin: 24px 0 0;
    padding: 14px 16px;
    color: #234b2b;
    border-left: 5px solid #4c965b;
    background: #edf8ef;
    line-height: 1.6;
}

@media (max-width: 620px) {
    .national-team-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 10px;
    }

    .national-team-photo strong {
        font-size: 0.8rem;
    }

    .national-team-photo small {
        font-size: 0.68rem;
    }
}
