/* =======================================================================
    7 Summits - Kategorie CSS
    =======================================================================
    2. Nadpis (sekce)
        2.1 Základní styly
        2.2 Responzivita
    3. Jednotlivé akce + filtr
        3.1 Základní styly
        3.2 Responzivita
    4. Video content box
        4.1 Základní styly
        4.2 Responzivita
    5. Přepínací lišta
        5.1 Základní styly
        5.2 Responzivita
    6. Video v plné velikosti
======================================================================= */

/* 2. Nadpis (sekce) ---------------------------------------------------- */
/* 2.1 Základní styly */
.nadpis {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    padding: clamp(0.75rem, 1vw + 1rem, 2.5rem);
    margin-top: clamp(1.5625rem, 1vw + 1rem, 3.875rem);
}
.nadpis h1 {
    font-size: clamp(1.5rem, 1.5vw + 1rem, 2.25rem);
    font-weight: 600;
    color: var(--color-primary-100);
    margin-bottom: 8px;
}
.nadpis .podNadpisy {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: 100%; height: auto; min-height: 22px;
    overflow-x: auto;
    white-space: nowrap;
    cursor: default;
}
.nadpis .podNadpisy:active { cursor: grabbing; }
.nadpis .podNadpisy p {
    display: flex;
    align-items: center;
    font-size: clamp(0.75rem, 0.8vw + 0.5rem, 1rem);
    font-weight: 400;
    color: var(--color-secondary-90);
    padding-bottom: 2px;
}
.nadpis .podNadpisy span.odsazeni {
    font-size: 0.625rem;
    color: var(--color-secondary-75);
}
.nadpis .podNadpisy p.korunaSvetaNadpis,
.nadpis .podNadpisy p.ohnivaKorunaSvetaNadpis,
.nadpis .podNadpisy p.evropaNadpis,
.nadpis .podNadpisy p.asieNadpis,
.nadpis .podNadpisy p.afrikaNadpis,
.nadpis .podNadpisy p.severniAmerikaNadpis,
.nadpis .podNadpisy p.jizniAmerikaNadpis,
.nadpis .podNadpisy p.australieNadpis,
.nadpis .podNadpisy p.antarktidaNadpis,
.nadpis .podNadpisy p.arktidaNadpis {
    display: none;
}

/* 3. Jednotlivé akce + filtr ------------------------------------------ */
/* 3.1 Základní styly */
.contentMenuBox {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    min-height: 688px;
    padding: 0 clamp(0.75rem, 0.8vw + 0.75rem, 2.5rem) clamp(1.5rem, 2vw + 2rem, 5rem) clamp(0.75rem, 0.8vw + 0.75rem, 2.5rem);
    margin-bottom: calc(clamp(1.5625rem, 1vw + 1rem, 3.875rem) + 1.375rem);
}
/* ============================================================
   FILTR — Wrapper
   ============================================================ */
.contentMenuBox .filtr {
    position: relative;
    display: flex;
    align-items: flex-start;
    width: 40px;
    margin-right: clamp(0.5rem, 1vw + 0.25rem, 3.75rem);
}

/* Vertikální linka */
.contentMenuBox .filtr hr {
    position: absolute;
    top: 0; left: 1px;
    width: 1px; height: 100%;
    border: none;
    background-color: var(--color-secondary-50);
}

/* ============================================================
   TLAČÍTKO – Filtr (rotované)
   ============================================================ */
.contentMenuBox .filtr #filtrButton {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transform: rotate(-90deg);
    transform-origin: top left;
    margin-top: 180px;
    padding: 8px 12px 0 12px;
    border: none;
    border-top: 3px solid var(--color-primary-100);
    background: none;
    cursor: pointer;
    user-select: none;
}

.contentMenuBox .filtr #filtrButton span {
    font-size: 1.125rem;
    font-family: "Raleway", sans-serif;
    font-weight: 500;
    margin-right: 8px;
    color: var(--color-primary-90);
}

/* ============================================================
   PANEL FILTRU
   ============================================================ */
.contentMenuBox .filtr #filtrPanel {
    position: absolute;
    top: 0; left: -393px;
    display: flex;
    flex-direction: column;
    width: 280px; height: 100%;
    padding: 18px 16px;
    gap: 30px;
    background-color: var(--color-white);
    z-index: 2;
    transition: left 0.6s ease-in-out, visibility 0.6s ease-in-out;
    will-change: transform, visibility;
    visibility: hidden;
}
.contentMenuBox .filtr #filtrPanel.filtrActive {
    left: 3px;
    visibility: visible;
}

/* Nadpis */
.contentMenuBox .filtr #filtrPanel .nazev {
    display: flex;
    align-items: center;
    margin-bottom: clamp(2.5rem, 1vw + 2.25rem, 3.75rem);
}
.contentMenuBox .filtr #filtrPanel .nazev h2 {
    font-size: clamp(1.125rem, 0.5vw + 1rem, 1.25rem);
    font-weight: 600;
    color: var(--color-primary-90);
}

/* ============================================================
   SKUPINY FILTRŮ (checkboxy)
   ============================================================ */
.contentMenuBox .filtr #filtrPanel fieldset {
    display: flex;
    flex-direction: column;
    gap: 15px;
    border: none;
    padding: 0; margin: 0;
}
.contentMenuBox .filtr #filtrPanel legend.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* Jednotlivé položky */
.contentMenuBox .filtr #filtrPanel .lokaceBox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.contentMenuBox .filtr #filtrPanel .lokaceBox input {
    cursor: pointer;
    accent-color: var(--color-accent-100);
}
.contentMenuBox .filtr #filtrPanel .lokaceBox label {
    font-size: 0.875rem;
    color: var(--color-primary-90);
    cursor: pointer;
}

/* ============================================================
   ZAVÍRACÍ TLAČÍTKO (X)
   ============================================================ */
.contentMenuBox .filtr #filtrPanel .closeFiltr {
    position: absolute;
    top: 18px; right: 16px;
    font-size: clamp(1.25rem, 0.6vw + 1rem, 1.5rem);
    background: transparent;
    color: var(--color-primary-90);
    border: none; outline: none;
    transition: transform .3s ease, color .3s ease;
    will-change: transform, color;
    cursor: pointer;
}
.contentMenuBox .filtr #filtrPanel .closeFiltr:hover {
    transform: scale(1.1);
    color: var(--color-primary-100);
}
.contentMenuBox .akceContentBox {
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
    width: 100%;
    gap: 8px;
    transition: margin-top 0.5s ease-out;
}
.contentMenuBox .akceContentBox .akceBox {
    width: 100%; max-width: 760px; height: 340px;
    background: center / cover no-repeat;
    overflow: hidden;
    transition: opacity 0.5s, transform 0.5s; 
}
.contentMenuBox .akceContentBox .akceBox a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%; height: 100%;
    color: var(--color-white);
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.6s, transform 0.6s;
    will-change: background-color, transform;
    text-decoration: none;
}
.contentMenuBox .akceContentBox .akceBox:hover a {
    background-color: rgba(29, 29, 29, .35);
    transform: scale(1.05);
}
.contentMenuBox .akceContentBox .akceBox a h3 {
    font-size: clamp(1.25rem, 0.8vw + 1rem, 1.75rem);
    font-weight: 400;
    letter-spacing: 5%;
    text-align: center;
    text-transform: uppercase;
    padding: 0 clamp(0.5rem, 0.4vw + 0.5rem, 0.75rem);
}
.contentMenuBox .akceContentBox .akceBox a h4 {
    font-size: clamp(1rem, 0.7vw + 0.875rem, 1.375rem);
    font-weight: 400;
    letter-spacing: 5%;
    text-align: center;
    padding: 0 clamp(0.5rem, 0.4vw + 0.5rem, 0.75rem);
}
/* 3.2 Jednotlivé akce + filtr - Responzivita */
@media screen and (max-width: 1261px) { .contentMenuBox .akceContentBox { display: flex; flex-wrap: wrap; } }
@media screen and (max-width: 800px) { .contentMenuBox .akceContentBox { flex-direction: column; } }
@media screen and (max-width: 600px) { .contentMenuBox .akceContentBox .akceBox { height: clamp( 230px, calc(230px + (300 - 230) * ((100vw - 380px) / (600 - 380))), 300px ); } }
@media screen and (max-width: 450px) { .contentMenuBox .filtr { margin-right: 0; } }
@media screen and (max-width: 380px) {
    .contentMenuBox {
        flex-direction: column;
        min-height: 0;
    }
    .contentMenuBox .filtr {
        justify-content: flex-end;
        width: 100%;
    }
    .contentMenuBox .filtr hr { display: none; }
    .contentMenuBox .filtr #filtrButton {
        width: auto;
        transform: rotate(0);
        margin: 0 0 12px 0;
        padding: 8px 0 8px 12px;
    }
    .contentMenuBox .filtr #filtrPanel {
        width: 100%; height: min-content;
        left: -100%;
        padding: 12px 14px 25px 14px;
        gap: 25px;
    }
    .contentMenuBox .filtr #filtrPanel.filtrActive { left: 0; }
}

/* 4. Video content box ------------------------------------------------- */
/* 4.1 Základní styly */
.videoContentBox {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    min-height: 50vh;
    padding: 100px 158px 100px 0;
    overflow: hidden;
    touch-action: none;
}
.videoContentBox .leftVidea {
    display: flex;
    flex-direction: row-reverse;
    gap: 0 70px;
    overflow-x: hidden;
    white-space: nowrap;
    touch-action: none;
}
.videoContentBox .leftVidea::-webkit-scrollbar { display: none; }
.videoContentBox .leftVidea .videoBox {
    position: relative;
    cursor: pointer;
    user-select: none;
}
.videoContentBox .leftVidea iframe {
    width: 660px;
    height: 400px;
    border: none;
}
.videoContentBox .leftVidea .videoBox svg {
    position: absolute;
    width: 34px;
    height: 34px;
    top: 15px;
    right: 15px;
    z-index: 1;
}
.videoContentBox .leftVidea .miniaturaVidea {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0; left: 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.videoContentBox .leftVidea .videoBox:hover .miniaturaVidea,
.videoContentBox .leftVidea .videoBox:hover svg { animation: hideMiniatura 1s forwards; }
.no-hover .miniaturaVidea, .no-hover svg { animation: none !important; }
.videoContentBox .leftVidea .overlay {
    display: none;
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(255, 255, 255, .5);
}
.videoContentBox .rightDesign {
    width: 70px;
    height: 240px;
    background-color: #FFF;
    border-right: 3px solid rgba(29, 29, 29, .25);
}
@keyframes hideMiniatura {
    from { opacity: 1; }
    to { opacity: 0; }
}
/* Miniatury pro různé videa */
.videoContentBox .leftVidea .miniaturaVidea#Miniatura_alpamayo { background-image: url(../img/miniatury/video-alpamayo.webp); }
.videoContentBox .leftVidea .miniaturaVidea#Miniatura_carstenz { background-image: url(../img/miniatury/video-carstenz.webp); }
.videoContentBox .leftVidea .miniaturaVidea#Miniatura_mount-logan { background-image: url(../img/miniatury/video-mount-logan.webp); }
.videoContentBox .leftVidea .miniaturaVidea#Miniatura_mount-kenya { background-image: url(../img/miniatury/video-mount-kenya.webp); }
.videoContentBox .leftVidea .miniaturaVidea#Miniatura_svalbard-z-jihu-na-sever { background-image: url(../img/miniatury/video-svalbard.webp); }
.videoContentBox .leftVidea .miniaturaVidea#Miniatura_SpicberkyBoat { background-image: url(../img/miniatury/video-svalbard-1.webp); }
.videoContentBox .leftVidea .miniaturaVidea#Miniatura_kilimanjaro { background-image: url(../img/miniatury/video-kilimanjaro.webp); }
.videoContentBox .leftVidea .miniaturaVidea#Miniatura_mount-vinson { background-image: url(../img/miniatury/video-mount-vinson.webp); }
.videoContentBox .leftVidea .miniaturaVidea#Miniatura_mount-cook { background-image: url(../img/miniatury/video-mount-cook.webp); }
.videoContentBox .leftVidea .miniaturaVidea#Miniatura_baruntse { background-image: url(../img/miniatury/video-baruntse.webp); }
.videoContentBox .leftVidea .miniaturaVidea#Miniatura_cholatse { background-image: url(../img/miniatury/video-cholatse.webp); }
.videoContentBox .leftVidea .miniaturaVidea#Miniatura_island-peak { background-image: url(../img/miniatury/video-island-peak.webp); }
.videoContentBox .leftVidea .miniaturaVidea#Miniatura_kazbek { background-image: url(../img/miniatury/video-mount-kazbek-1.webp); }
.videoContentBox .leftVidea .miniaturaVidea#Miniatura_KazbekCaucasus { background-image: url(../img/miniatury/video-mount-kazbek.webp); }
.videoContentBox .leftVidea .miniaturaVidea#Miniatura_zinalrothorn { background-image: url(../img/miniatury/video-zinalrothorn.webp); }
.videoContentBox .leftVidea .miniaturaVidea#Miniatura_AntarktidaLezeniSkialp { background-image: url(../img/miniatury/video-antarktida.webp); }
.videoContentBox .leftVidea .miniaturaVidea#Miniatura_Antarktida2019 { background-image: url(../img/miniatury/video-ellsworth.webp); }
.videoContentBox .leftVidea .miniaturaVidea#Miniatura_kyajo-ri { background-image: url(../img/miniatury/video-kyajo-ri.webp); }
/* 4.2 Video content box - Responzivita */
@media screen and (max-width: 1620px) {
    .videoContentBox .leftVidea iframe { width: 620px; height: 380px; }
    .videoContentBox .leftVidea .videoBox svg { width: 32px; height: 32px; }
}
@media screen and (max-width: 1440px) {
    .videoContentBox .leftVidea { gap: 0 50px; }
    .videoContentBox .leftVidea iframe { width: 560px; height: 340px; }
    .videoContentBox .leftVidea .videoBox svg { width: 30px; height: 30px; }
}
@media screen and (max-width: 1100px) {
    .videoContentBox { padding: 80px 122px 80px 0; }
    .videoContentBox .leftVidea { gap: 0 40px; }
    .videoContentBox .leftVidea iframe { width: 510px; height: 300px; }
    .videoContentBox .leftVidea .videoBox svg { width: 28px; height: 28px; }
    .videoContentBox .rightDesign { height: 180px; }
}
@media screen and (max-width: 850px) {
    .videoContentBox .leftVidea iframe { width: 460px; height: 280px; }
    .videoContentBox .leftVidea .videoBox svg { width: 27px; height: 27px; }
    .videoContentBox .rightDesign { height: 160px; }
}
@media screen and (max-width: 700px) {
    .videoContentBox { padding: 60px calc(2% + 40px) 60px 0; }
    .videoContentBox .leftVidea { gap: 0 30px; }
    .videoContentBox .leftVidea iframe { width: 400px; height: 250px; }
    .videoContentBox .leftVidea .videoBox svg { width: 25px; height: 25px; }
    .videoContentBox .rightDesign { height: 140px; }
}
@media screen and (max-width: 550px) {
    .videoContentBox { padding: 60px calc(2% + 30px) 60px 0; }
    .videoContentBox .leftVidea { gap: 0 25px; }
    .videoContentBox .leftVidea iframe { width: 360px; height: 220px; }
    .videoContentBox .leftVidea .videoBox svg { width: 23px; height: 23px; top: 10px; right: 10px; }
    .videoContentBox .rightDesign { height: 120px; }
}
@media screen and (max-width: 450px) {
    .videoContentBox { padding: 60px calc(2% + 20px) 60px 0; }
    .videoContentBox .leftVidea { gap: 0 20px; }
    .videoContentBox .leftVidea iframe { width: 320px; height: 180px; }
    .videoContentBox .leftVidea .videoBox svg { width: 21px; height: 21px; }
    .videoContentBox .rightDesign { height: 100px; }
}
@media screen and (max-width: 350px) {
    .videoContentBox .leftVidea iframe { width: 290px; height: 170px; }
    .videoContentBox .leftVidea .videoBox svg { width: 20px; height: 20px; }
    .videoContentBox .rightDesign { height: 95px; }
}

/* 5. Přepínací lišta --------------------------------------------------- */
/* 5.1 Základní styly */
.lista {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    align-self: center;
    width: calc(100% - 192px);
    padding: 12px 0 100px 0;
    border-top: 1px solid rgba(29, 29, 29, .25);
}
.lista .listaLeft,
.lista .listaRight {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.lista .listaLeft { margin-right: 40px; }
.lista .listaRight { margin-left: 40px; }
.lista .listaLeft p,
.lista .listaRight p {
    font-size: 15px;
    font-weight: 400;
    color: var(--color-text-secondary);
}
.lista .listaNazev {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    text-align: center;
}
.lista .listaNazev p,
.lista .listaNazev h5 {
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 400;
    text-align: center;
    color: var(--color-text-secondary);
}
.lista .listaNazev h5 { display: none; }
.lista .listaNazev h5.aktivniNadpis { display: block; }
/* 5.2 Přepínací lišta - Responzivita */
@media screen and (max-width: 1100px) { .lista { width: calc(100% - 120px); padding: 12px 0 80px 0; } }
@media screen and (max-width: 700px) { .lista { width: 96%; padding: 12px 0 60px 0; } }
@media screen and (max-width: 650px) {
    .lista .listaLeft p,
    .lista .listaRight p { display: none; }
    .lista .listaLeft { margin-right: 15px; }
    .lista .listaRight { margin-left: 15px; }
    .lista .listaNazev p,
    .lista .listaNazev h5 { font-size: 14px; }
}

/* 6. Video v plné velikosti ------------------------------------------- */
.videoFull {
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: var(--color-accent);
    overflow: auto;
}
.videoFull .iframe-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    height: 0;
    overflow: hidden;
}
.videoFull iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}