/* =========================================================================
   OneMove Cup — design systém odvozený z e-shopu OneMove
   ========================================================================= */

:root {
    --om-dark: #082936;
    --om-dark-soft: #4b636c;
    --om-primary: #49b490;
    --om-primary-dark: #3a9073;
    --om-mint: #e4f4ee;
    --om-mint-light: #f1f9f7;
    --om-grey: #e6eaeb;
    --om-grey-light: #f3f4f5;
    --om-line: #d9d9d9;
    --om-line-light: #efefef;
    --om-accent: #ff3c28;
    --om-dot: #00ca4e;
    --om-muted: #6c757d;
    --om-white: #fff;

    --om-radius: 20px;
    --om-radius-sm: 6px;
    --om-radius-pill: 30px;

    --om-container: 1600px;
    --om-gutter: 28px;

    --om-shadow: 0 6px 24px rgba(8, 41, 54, .08);
    --om-shadow-lg: 0 14px 40px rgba(8, 41, 54, .12);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--om-dark);
    background-color: var(--om-white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

a {
    color: var(--om-primary-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

a:hover {
    color: var(--om-dark);
}

h1, h2, h3, h4 {
    margin: 0 0 16px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--om-dark);
}

h1 { font-size: 44px; }
h2 { font-size: 30px; line-height: 36px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }

p { margin: 0 0 16px; }

hr {
    border: none;
    border-top: 1px solid var(--om-line-light);
    margin: 30px 0;
}

::selection {
    background: var(--om-primary);
    color: #fff;
}

:focus-visible {
    outline: 3px solid var(--om-primary);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 2000;
    background: var(--om-dark);
    color: #fff;
    padding: 12px 20px;
    border-radius: 0 0 var(--om-radius-sm) 0;
}

.skip-link:focus {
    left: 0;
}

/* --- Layout ------------------------------------------------------------ */

.container {
    width: 100%;
    max-width: var(--om-container);
    margin: 0 auto;
    padding: 0 var(--om-gutter);
}

.container--narrow {
    max-width: 1000px;
}

.page {
    flex: 1 0 auto;
    padding-bottom: 70px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.grid {
    display: grid;
    gap: 30px;
}

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

.section {
    margin: 50px 0;
}

.section--mint {
    background: var(--om-mint-light);
    padding: 50px 0;
    margin: 50px 0;
}

.section__header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 30px;
}

.section__header h2 {
    margin: 0;
}

.section__header-btn {
    margin-left: auto;
    flex-shrink: 0;
}

.section__lead {
    max-width: 780px;
    font-size: 16px;
    color: var(--om-dark);
    opacity: .8;
}

/* --- Tlačítka ---------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    border: 1px solid transparent;
    border-radius: var(--om-radius-pill);
    font-size: 14px;
    font-weight: 700;
    line-height: 100%;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .25s, color .25s, border-color .25s;
    white-space: nowrap;
}

.btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.btn--primary {
    background-color: var(--om-primary);
    border-color: var(--om-primary);
    color: #fff;
}

.btn--primary:hover,
.btn--primary:focus-visible {
    background-color: var(--om-primary-dark);
    border-color: var(--om-primary-dark);
    color: #fff;
}

.btn--dark {
    background-color: var(--om-dark);
    border-color: var(--om-dark);
    color: #fff;
}

.btn--dark:hover,
.btn--dark:focus-visible {
    background-color: var(--om-primary);
    border-color: var(--om-primary);
    color: #fff;
}

.btn--outline {
    background: transparent;
    border-color: var(--om-dark);
    color: var(--om-dark);
}

.btn--outline:hover,
.btn--outline:focus-visible {
    background-color: var(--om-dark);
    color: #fff;
}

.btn--light {
    background: #fff;
    border-color: #fff;
    color: var(--om-dark);
}

.btn--light:hover {
    background: var(--om-mint);
    border-color: var(--om-mint);
    color: var(--om-dark);
}

.btn--sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn--block {
    width: 100%;
}

/* --- Topbar ------------------------------------------------------------ */

.topbar {
    background-color: var(--om-dark);
    color: #fff;
    text-align: center;
    padding: 7px 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 130%;
}

/* --- Header ------------------------------------------------------------ */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #fff;
    padding: 18px 0 0;
    transition: transform .5s;
}

.header--hidden {
    transform: translateY(-100%);
}

.header__top {
    display: flex;
    align-items: center;
    gap: 35px;
    padding-bottom: 16px;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.header__logo img {
    width: 104px;
    display: block;
}

.header__logo-cup {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -.5px;
    color: var(--om-dark);
    line-height: 1;
    margin-top: 6px;
}

.header__tagline {
    font-size: 13px;
    line-height: 1.35;
    color: var(--om-dark);
    opacity: .7;
    max-width: 240px;
    margin-left: 8px;
}

.header__actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 14px;
}

.header__contact {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--om-dark);
    font-size: 14px;
    font-weight: 600;
}

.header__contact-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--om-mint);
    color: var(--om-dark);
}

.header__contact-icon::after {
    content: "";
    position: absolute;
    top: 2px;
    right: 2px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background-color: var(--om-dot);
    box-shadow: 0 4px 4px rgba(0, 0, 0, .25);
}

.header__contact-text small {
    display: block;
    font-size: 12px;
    font-weight: 400;
    opacity: .65;
}

.header__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: var(--om-dark);
    color: #fff;
    cursor: pointer;
}

.header__nav {
    border-top: 1px solid var(--om-line);
    border-bottom: 1px solid var(--om-line);
}

.header__nav ul {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header__nav a {
    display: block;
    padding: 15px 18px;
    color: var(--om-dark);
    font-size: 15px;
    font-weight: 600;
    line-height: 100%;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: color .2s, border-color .2s;
}

.header__nav a:hover {
    color: var(--om-primary-dark);
}

.header__nav a.is-active {
    color: var(--om-primary-dark);
    border-bottom-color: var(--om-primary);
}

.header__nav-cta {
    margin-left: auto;
}

/* Tlačítko uvnitř navigace si musí udržet vlastní vzhled */
.header__nav .btn {
    display: inline-flex;
    padding: 8px 16px;
    font-size: 13px;
    border-bottom: 1px solid transparent;
}

.header__nav .btn--primary,
.header__nav .btn--primary:hover {
    color: #fff;
    border-bottom-color: transparent;
}

/* --- Hero -------------------------------------------------------------- */

.hero {
    position: relative;
    margin-top: 24px;
    border-radius: var(--om-radius);
    overflow: hidden;
    background: linear-gradient(120deg, var(--om-dark) 0%, #0e4356 55%, var(--om-primary-dark) 100%);
    color: #fff;
    min-height: 420px;
    display: flex;
    align-items: center;
}

/* S fotografií na pozadí přebírá čitelnost textu gradientová vrstva */
.hero--photo {
    background: var(--om-dark);
    min-height: 480px;
}

.hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg,
            rgba(8, 41, 54, .96) 0%,
            rgba(8, 41, 54, .92) 30%,
            rgba(8, 41, 54, .55) 62%,
            rgba(8, 41, 54, .25) 100%),
        linear-gradient(180deg,
            rgba(8, 41, 54, .35) 0%,
            rgba(8, 41, 54, 0) 45%);
}

.hero__inner {
    position: relative;
    padding: 60px;
    max-width: 720px;
}

.hero__eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 14px;
    border-radius: var(--om-radius-pill);
    background: rgba(255, 255, 255, .15);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .88px;
    text-transform: uppercase;
}

.hero__title {
    color: #fff;
    font-size: 56px;
    line-height: 1.05;
    margin-bottom: 18px;
}

.hero__text {
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 560px;
    opacity: .92;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* --- Statistiky -------------------------------------------------------- */

.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, .25);
}

.stats__value {
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
}

.stats__label {
    font-size: 13px;
    opacity: .8;
}

/* --- Karta článku ------------------------------------------------------ */

.article-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card__image {
    display: block;
    border-radius: var(--om-radius);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--om-grey-light);
    margin-bottom: 18px;
}

.article-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.article-card:hover .article-card__image img {
    transform: scale(1.04);
}

.article-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--om-mint) 0%, var(--om-primary) 140%);
    color: var(--om-dark);
    opacity: .75;
}

.article-card__meta {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.article-card__date {
    font-size: 12px;
    font-weight: 700;
    line-height: 100%;
    padding-right: 7px;
    margin-right: 7px;
    border-right: 1px solid #c4c4c4;
}

.article-card__author {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
    line-height: 100%;
    text-transform: uppercase;
    opacity: .8;
}

.article-card__title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.article-card__title a {
    color: var(--om-dark);
    text-decoration: none;
}

.article-card__title a:hover {
    color: var(--om-primary-dark);
}

.article-card__excerpt {
    font-size: 14px;
    line-height: 130%;
    margin-bottom: 22px;
}

.article-card__footer {
    margin-top: auto;
}

/* --- CTA banner -------------------------------------------------------- */

.cta-banner {
    display: flex;
    align-items: center;
    gap: 40px;
    min-height: 100px;
    padding: 34px 50px;
    border-radius: var(--om-radius);
    background-color: var(--om-primary);
    color: var(--om-dark);
}

.cta-banner__title {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 6px;
}

.cta-banner__text {
    margin: 0;
    font-size: 15px;
}

.cta-banner__action {
    margin-left: auto;
    flex-shrink: 0;
}

/* --- Tabulka závodů ---------------------------------------------------- */

.race-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.race-table th {
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--om-muted);
    padding: 0 16px 12px;
    border-bottom: 1px solid var(--om-line);
}

.race-table td {
    padding: 18px 16px;
    border-bottom: 1px solid var(--om-line-light);
    vertical-align: middle;
}

.race-table tr:hover td {
    background: var(--om-mint-light);
}

.race-table__date {
    font-weight: 700;
    white-space: nowrap;
}

.race-table__day {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: var(--om-muted);
    text-transform: capitalize;
}

.race-table__place {
    font-weight: 600;
}

.race-table__organizer {
    display: block;
    font-size: 13px;
    color: var(--om-muted);
}

/* --- Seznam nejbližších závodů (karty) --------------------------------- */

.race-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    border: 1px solid var(--om-line);
    border-radius: var(--om-radius);
    background: #fff;
    height: 100%;
    transition: border-color .25s, box-shadow .25s;
}

.race-card:hover {
    border-color: var(--om-primary);
    box-shadow: var(--om-shadow);
}

.race-card__date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    padding: 6px 12px;
    border-radius: var(--om-radius-sm);
    background: var(--om-mint);
    color: var(--om-dark);
    font-size: 13px;
    font-weight: 700;
}

.race-card__place {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.race-card__organizer,
.race-card__disciplines {
    margin: 0;
    font-size: 14px;
    color: var(--om-muted);
}

.race-card__footer {
    margin-top: auto;
    padding-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* --- Odkazové dlaždice (výsledky, galerie) ----------------------------- */

.link-tile {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border: 1px solid var(--om-line);
    border-radius: var(--om-radius-sm);
    background: #fff;
    color: var(--om-dark);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: border-color .25s, background-color .25s, transform .25s;
}

.link-tile:hover {
    border-color: var(--om-primary);
    background: var(--om-mint-light);
    color: var(--om-dark);
    transform: translateY(-1px);
}

.link-tile__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--om-mint);
    color: var(--om-primary-dark);
}

.link-tile__label {
    flex: 1;
}

.link-tile__note {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: var(--om-muted);
}

.link-tile--highlight {
    background: var(--om-dark);
    border-color: var(--om-dark);
    color: #fff;
}

.link-tile--highlight:hover {
    background: var(--om-primary-dark);
    border-color: var(--om-primary-dark);
    color: #fff;
}

.link-tile--highlight .link-tile__icon {
    background: rgba(255, 255, 255, .15);
    color: #fff;
}

.link-tile--highlight .link-tile__note {
    color: rgba(255, 255, 255, .75);
}

/* --- Akordeon (výsledky po ročnících) ---------------------------------- */

.accordion {
    border-top: 1px solid var(--om-line);
}

.accordion__item {
    border-bottom: 1px solid var(--om-line);
}

.accordion__button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 22px 4px;
    background: none;
    border: none;
    font: inherit;
    font-size: 20px;
    font-weight: 700;
    color: var(--om-dark);
    text-align: left;
    cursor: pointer;
}

.accordion__button svg {
    margin-left: auto;
    transition: transform .3s;
    color: var(--om-primary-dark);
}

.accordion__item--open .accordion__button svg {
    transform: rotate(180deg);
}

.accordion__panel {
    display: none;
    padding: 0 4px 26px;
}

.accordion__item--open .accordion__panel {
    display: block;
}

/* --- Kontaktní karty --------------------------------------------------- */

.contact-card {
    padding: 26px;
    border-radius: var(--om-radius);
    background: var(--om-mint-light);
    height: 100%;
}

.contact-card__name {
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 4px;
}

.contact-card__role {
    font-size: 14px;
    color: var(--om-muted);
    margin: 0 0 16px;
}

.contact-card__links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-card__links a,
.contact-card__links span {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--om-dark);
    text-decoration: none;
    overflow-wrap: anywhere;
}

/* Dlouhé e-maily se nesmí lámat uprostřed a rozhazovat kartu */
.contact-card__links a[href^="mailto:"] {
    font-size: 13px;
    line-height: 1.35;
}

.contact-card__links a:hover {
    color: var(--om-primary-dark);
}

.contact-card__links svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--om-primary-dark);
}

/* --- Partneři ---------------------------------------------------------- */

.partners {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 26px 60px;
}

.partner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    text-decoration: none;
    color: var(--om-dark);
}

.partner__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .88px;
    text-transform: uppercase;
    color: var(--om-muted);
}

.partner img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .75;
    transition: filter .3s, opacity .3s;
}

.partner:hover img {
    filter: none;
    opacity: 1;
}

.partner__name {
    font-size: 20px;
    font-weight: 700;
}

/* --- Detail článku ----------------------------------------------------- */

.article {
    max-width: 820px;
    margin: 0 auto;
}

.article__header {
    margin-bottom: 28px;
}

.article__title {
    font-size: 38px;
    line-height: 1.15;
}

.article__image {
    border-radius: var(--om-radius);
    overflow: hidden;
    margin-bottom: 30px;
}

.article__body {
    font-size: 17px;
    line-height: 1.65;
}

.article__body h2 {
    font-size: 24px;
    margin-top: 32px;
}

.article__body h3 {
    font-size: 20px;
    margin-top: 26px;
}

.article__body img {
    border-radius: var(--om-radius);
    margin: 20px 0;
}

.article__body table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 15px;
}

.article__body th,
.article__body td {
    padding: 10px 14px;
    border: 1px solid var(--om-line-light);
    text-align: left;
}

.article__body th {
    background: var(--om-mint-light);
    font-weight: 700;
}

.article__body ul,
.article__body ol {
    padding-left: 22px;
    margin-bottom: 16px;
}

.article__body li {
    margin-bottom: 6px;
}

.article__body blockquote {
    margin: 20px 0;
    padding: 4px 0 4px 22px;
    border-left: 4px solid var(--om-primary);
    color: var(--om-dark);
    font-style: italic;
}

/* --- Drobečková navigace a hlavička stránky ---------------------------- */

.page-header {
    padding: 36px 0 26px;
    border-bottom: 1px solid var(--om-line-light);
    margin-bottom: 40px;
}

.page-header__eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .88px;
    text-transform: uppercase;
    color: var(--om-primary-dark);
    margin-bottom: 8px;
}

.page-header h1 {
    margin-bottom: 10px;
}

.page-header__lead {
    max-width: 760px;
    font-size: 16px;
    color: var(--om-dark);
    opacity: .8;
    margin: 0;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    font-size: 13px;
    color: var(--om-muted);
}

.breadcrumb a {
    color: var(--om-muted);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--om-primary-dark);
}

.breadcrumb li + li::before {
    content: "/";
    margin-right: 8px;
    opacity: .6;
}

/* --- Štítky ------------------------------------------------------------ */

.tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 9px;
    border-radius: var(--om-radius-sm);
    font-size: 13px;
    font-weight: 600;
    line-height: 100%;
    background: var(--om-mint);
    color: var(--om-dark);
}

.tag--dark {
    background: var(--om-dark);
    color: #fff;
}

.tag--accent {
    background: var(--om-accent);
    color: #fff;
}

/* --- Stránkování ------------------------------------------------------- */

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    padding: 0;
    list-style: none;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid var(--om-line);
    border-radius: var(--om-radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--om-dark);
    text-decoration: none;
}

.pagination a:hover {
    border-color: var(--om-primary);
    background: var(--om-mint-light);
}

.pagination .is-current {
    background: var(--om-dark);
    border-color: var(--om-dark);
    color: #fff;
}

/* --- Prázdný stav ------------------------------------------------------ */

.empty-state {
    padding: 50px 30px;
    border: 1px dashed var(--om-line);
    border-radius: var(--om-radius);
    text-align: center;
    color: var(--om-muted);
}

/* --- Patička ----------------------------------------------------------- */

.footer {
    flex-shrink: 0;
    background-color: var(--om-dark);
    color: #fff;
}

.footer a {
    color: #fff;
    text-decoration: none;
}

.footer a:hover {
    color: var(--om-primary);
    text-decoration: underline;
}

.footer__top {
    padding: 56px 0 40px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.footer__logo img {
    width: 96px;
}

.footer__logo-cup {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-top: 6px;
}

.footer__text {
    font-size: 14px;
    line-height: 24px;
    opacity: .85;
    max-width: 380px;
}

.footer__title {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 700;
    line-height: 36px;
    color: #fff;
}

.footer__title-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__toggle {
    display: none;
    align-items: center;
    gap: 4px;
    padding: 7px 12px;
    border: 1px solid #fff;
    border-radius: 26px;
    background: none;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.footer__toggle svg {
    width: 20px;
    height: 20px;
    transition: transform .3s;
}

.footer__column--open .footer__toggle svg {
    transform: rotate(180deg);
}

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

.footer__list li {
    font-size: 14px;
    line-height: 26px;
}

.footer__contact {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer__contact-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
}

.footer__contact-icon::after {
    content: "";
    position: absolute;
    top: 2px;
    right: 2px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background-color: var(--om-dot);
}

.footer__contact-value {
    font-size: 16px;
    font-weight: 700;
}

.footer__contact small {
    display: block;
    font-size: 12px;
    font-weight: 400;
    opacity: .7;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .15);
    padding: 18px 0;
    font-size: 13px;
    opacity: .8;
}

.footer__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    align-items: center;
    justify-content: space-between;
}

/* --- Hlášení ----------------------------------------------------------- */

.flash {
    padding: 14px 20px;
    border-radius: var(--om-radius-sm);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.flash--success {
    background: var(--om-mint);
    color: var(--om-dark);
}

.flash--error {
    background: #fde4e1;
    color: #8c1f11;
}

/* --- Pomocné třídy ------------------------------------------------------ */

.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-30 { margin-top: 30px; }
.muted { color: var(--om-muted); }

/* --- Responzivita ------------------------------------------------------ */

@media (max-width: 1199.98px) {
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: repeat(2, 1fr); }
    .hero__title { font-size: 44px; }
    .header__tagline { display: none; }
    .header__nav a { padding: 15px 12px; }
}

/* Tlačítko na přihlášení se do navigace nevejde — zůstává v mobilním menu */
@media (min-width: 768px) and (max-width: 1099.98px) {
    .header__nav-cta { display: none; }
}

@media (max-width: 991.98px) {
    :root { --om-gutter: 20px; }

    .grid--3 { grid-template-columns: repeat(2, 1fr); }
    .hero__inner { padding: 44px 34px; }
    .hero { min-height: 340px; }
    .cta-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 28px 30px;
    }
    .cta-banner__action { margin-left: 0; }
    h1 { font-size: 34px; }
    .article__title { font-size: 30px; }
}

@media (max-width: 767.98px) {
    .header {
        padding: 10px 0;
        border-bottom: 1px solid var(--om-line);
    }

    .header__top {
        padding-bottom: 0;
        gap: 12px;
    }

    .header__logo img { width: 84px; }
    .header__logo-cup { font-size: 24px; }

    .header__contact-text { display: none; }

    .header__toggle { display: flex; }

    .header__nav {
        display: none;
        border: none;
        padding-top: 12px;
    }

    .header__nav--open { display: block; }

    .header__nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .header__nav a {
        padding: 14px 4px;
        border-bottom: 1px solid var(--om-line-light);
    }

    .header__nav a.is-active {
        border-bottom-color: var(--om-primary);
    }

    .header__nav-cta {
        margin: 14px 0 4px;
    }

    .header__nav-cta .btn { width: 100%; }

    .grid--2,
    .grid--3,
    .grid--4 { grid-template-columns: 1fr; }

    .hero {
        min-height: 0;
        margin-top: 16px;
    }

    /* Na úzkém displeji je text přes celou šířku — fotku ztmavíme odspodu */
    .hero--photo {
        min-height: 0;
        padding-top: 240px;
    }

    .hero--photo .hero__image {
        height: 300px;
        inset: 0 0 auto;
        object-position: center 35%;
    }

    .hero--photo .hero__overlay {
        background: linear-gradient(180deg,
            rgba(8, 41, 54, .25) 0%,
            rgba(8, 41, 54, .55) 42%,
            rgba(8, 41, 54, .97) 62%,
            var(--om-dark) 78%);
    }

    .hero__inner { padding: 34px 24px; }
    .hero__title { font-size: 34px; }
    .hero__text { font-size: 15px; }
    .hero__actions .btn { width: 100%; }

    .stats { gap: 22px; }
    .stats__value { font-size: 26px; }

    .section { margin: 36px 0; }

    .section__header {
        flex-wrap: wrap;
        margin-bottom: 22px;
    }

    .section__header-btn {
        margin-left: 0;
        width: 100%;
    }

    .cta-banner__title { font-size: 24px; }

    .race-table thead { display: none; }

    .race-table tr {
        display: block;
        padding: 16px 0;
        border-bottom: 1px solid var(--om-line-light);
    }

    .race-table td {
        display: block;
        padding: 3px 0;
        border: none;
    }

    .race-table tr:hover td { background: none; }

    .race-table td:empty,
    .hide-mobile { display: none; }

    .race-table td .btn { margin-top: 8px; }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer__column { margin-bottom: 22px; }

    .footer__toggle { display: flex; }

    .footer__column--collapsible .footer__list { display: none; }

    .footer__column--collapsible.footer__column--open .footer__list { display: block; }

    .page-header {
        padding: 24px 0 18px;
        margin-bottom: 26px;
    }

    .article__title { font-size: 26px; }
    .article__body { font-size: 16px; }
    .article__body table { display: block; overflow-x: auto; }
}
