/* TICKETS / OFFIZIELLE TOUR — reference: 768 × 824.
   Keep the original concert photo at public/images/tours-bg.jpg. */

.tours-section {
    --tour-navy: #00214a;
    --tour-white: #f3f3f1;
    --tour-panel: #c4d5e1;
    --tour-red: #a60808;
    --tour-red-hover: #850606;
    --tour-date-paper: #eee8d4;
    --tour-date-border: #b8aa70;
    --tour-archive-date: #37639a;
    --tour-archive-line: #a1b4ca;
    --tour-black: #050505;
    --tour-flag-red: #e51e35;
    --tour-flag-gold: #ffce00;
    --tour-flag-blue: #064880;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 824px;
    padding: 120px 0 98px;
    color: var(--tour-white);
    background: linear-gradient(#001b50b8, #001b50c7),
        url('../images/tours-bg.jpg') top / cover no-repeat,
        var(--tour-navy);
}

.tours-inner { /*width: min(630px, calc(100% - 48px));*/ margin-inline: auto; max-width: 1200px; }

.tours-kicker {
    margin: 0 0 5px;
    font-family: var(--hero-body-font);
    font-size: 18px;
    font-weight: 400;
    line-height: 16px;
    text-align: center;
}

.tours-heading {
    margin: 0 0 56px;
    font-family: var(--hero-condensed-font);
    line-height: 1.2;
    letter-spacing: 0;
    font-weight: 400;
    font-size: var(--headings-font-size);
    text-align: center;
    text-transform: uppercase;
    color: #fff;
}

.tours-list { display: grid; gap: 8px; }

.tour-card {
    display: grid;
    /*grid-template-columns: 36px minmax(0, 1fr) 114px 116px;*/
    grid-template-columns: 60px minmax(0, 1fr) 1fr auto;
    align-items: center;
    column-gap: 24px;
    min-height: 70px;
    padding: 30px 35px 30px 35px;
    color: var(--tour-navy);
    background: var(--tour-panel);
    border: 1px solid transparent;
    border-radius: 3px;
    border-radius: 5px;
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.tour-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}

.tour-card--featured { border-color: var(--tour-red); }

.tour-flag {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    overflow: hidden;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
}
.tour-flag--de { background: linear-gradient(to bottom, var(--tour-black) 0 33.333%, var(--tour-red) 33.333% 66.666%, var(--tour-flag-gold) 66.666%); }
.tour-flag--at { background: linear-gradient(to bottom, var(--tour-flag-red) 0 33.333%, var(--tour-white) 33.333% 66.666%, var(--tour-flag-red) 66.666%); }
.tour-flag--fr { background: linear-gradient(to right, var(--tour-flag-blue) 0 33.333%, var(--tour-white) 33.333% 66.666%, var(--tour-flag-red) 66.666%); }

.tour-info { position: relative; min-width: 0; }

.tour-country {
    margin: 0;
    font-family: var(--hero-condensed-font);
    text-transform: uppercase;
    overflow-wrap: anywhere;
    font-weight: 600;
    font-size: 42px;
    line-height: 110%;
    text-transform: uppercase;
    color: #001e4d;
}

.tour-note {
    display: none;
    position: absolute;
    left: 152px;
    top: -4px;
    white-space: nowrap;
    font-family: 'Bad Script', cursive;
    font-size: 21px;
    line-height: 1.5;
    transform: rotate(-5deg);
}

.tour-date {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 35px;
    margin: 0 auto;

    color: var(--tour-red);
    background: var(--tour-date-paper);
    border: 1px solid var(--tour-date-border);
    border-radius: 2px;
    font-family: var(--hero-condensed-font);

    line-height: 24px;

    font-weight: 500;
    font-size: 30px;
    text-align: center;
    text-transform: uppercase;

    border-radius: 3px;
    padding: 20px;
    width: auto;
}

.tour-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 36px;

    color: var(--tour-white);
    background: var(--tour-red);
    border: 1px solid var(--tour-red);

    font-family: var(--hero-condensed-font);

    line-height: 20px;

    transition: background .2s ease, transform .18s ease, box-shadow .18s ease;
    font-weight: 500;
    font-size: 25px;
    text-transform: uppercase;

    width: 216px;

    border-radius: 5px;
    padding: 21px 50px;
}

.tour-button span { font-family: Arial, sans-serif; font-size: 19px; line-height: 1; }
.tour-button:hover { background: var(--tour-red-hover); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 0, 0, .2); }
.tour-button:active { transform: translateY(0) scale(.985); }
.tour-button:focus-visible { outline: 2px solid var(--tour-date-paper); outline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
    .tour-card,
    .tour-button {
        transition: none;
    }

    .tour-card:hover,
    .tour-button:hover,
    .tour-button:active {
        transform: none;
    }
}

.tours-empty { padding: 28px; border: 1px solid var(--tour-archive-line); text-align: center; }

/* ARCHIVE */

.tours-archive { margin-top: 120px; }

.tours-archive-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0;
    padding: 0 0 0 14px;
    font-family: var(--hero-body-font);
    line-height: 36px;
    list-style: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 50px;
    text-transform: capitalize;
    color: #fff;
}

.tours-archive-heading::-webkit-details-marker { display: none; }
.tours-archive-arrow { display: inline-block; font-family: Arial, sans-serif; transition: transform .2s ease; }
.tours-archive[open] .tours-archive-arrow { transform: rotate(180deg); }
.tours-archive-heading:focus-visible { outline: 2px solid var(--tour-date-paper); outline-offset: 5px; }
.tours-archive .tours-list { margin-top: 44px; }
.tours-archive .tours-list { gap: 8px; }

.tours-archive .tour-card {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    min-height: 70px;
    color: var(--tour-white);
    background: #000e2a73;
    border: 0;
    border-bottom: 1px solid var(--tour-archive-line);
    border-radius: 5px;
    padding: 30px 35px 30px 35px;
}

.tours-archive .tour-flag { width: 38px; height: 38px; border: 1px solid var(--tour-archive-line); }

.tours-archive .tour-country {
    font-family: var(--hero-condensed-font);
    font-weight: 400;
    font-size: 46px;
    line-height: 110%;
    text-transform: uppercase;
    color: #d9e6f2;
}

.tours-archive .tour-date { color: var(--tour-navy); background: var(--tour-archive-date); border-color: var(--tour-archive-date); }

/* MOBILE */

@media (max-width: 680px) {
    .tours-section { min-height: 0; padding: 56px 0 64px; }
    .tours-heading { font-size: 40px; margin-bottom: 36px; }
    .tours-inner { width: calc(100% - 32px); }
    .tour-card { grid-template-columns: 32px minmax(0, 1fr) 108px; gap: 12px; padding: 14px; }
    .tour-flag { width: 32px; height: 32px; }
    .tour-country { font-size: 21px; }
    .tour-note { position: static; display: block; margin-top: 5px; font-size: 17px; }
    .tour-date { font-size: 15px; }
    .tour-button { grid-column: 2 / -1; width: 100%; }
    .tours-archive { margin-top: 44px; }
    .tours-archive-heading { padding-left: 0; font-size: 26px; }
    .tours-archive .tours-list { margin-top: 24px; }
    .tours-archive .tour-card { grid-template-columns: 32px minmax(0, 1fr) auto; }
    .tours-archive .tour-flag { width: 32px; height: 32px; }
    .tour-button span svg { max-width: 16px; max-height: 16px; }
}

@media (max-width: 380px) {
    .tour-card, .tours-archive .tour-card { column-gap: 9px; padding-inline: 10px; }
    .tour-country { font-size: 18px; }
}
