

/* Ochrana proti přetečení dlouhých nezalomitelných textů (URL, email...) */
body {
    overflow-wrap: break-word;
}

/* VLADIMIR CUSTOM */

* {
    font-family: 'Ubuntu', sans-serif;
}


p {
    font-size: 16px ;
    line-height: 1.3 ;
}    

ul li{
    list-style: none;
}

h1 {
    font-family: 'Zona Pro', sans-serif;  /* Nadpisy Atlas */
}


/* ============================================
   PAGE HEADER - V BANNERU (desktop) / NAVBAR (mobil)
   ============================================ */

/* Logo DOLE vlevo v banneru - relativně k banneru */
.page-logo-overlay {
    position: absolute;
    bottom: -1px;
    left: 40px;
    z-index: 100;
}

.page-logo-overlay img {
    width: 200px;
    height: auto;
}

/* Desktop - menu v banneru vpravo dole */
.page-header {
    position: absolute;
    bottom: 20px;
    right: 40px;
    z-index: 10;
    background: transparent;
    padding: 0;
}

.page-header-container {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

/* Menu v banneru - čisté, bez pozadí */
.page-header-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.page-header-nav a {
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.page-header-nav a:hover {
    opacity: 0.7;
}

/* Hamburger a mobilní logo - skryté na desktopu */
.page-hamburger,
.page-header-logo {
    display: none;
}

/* ============================================
   PAGE BANNER
   ============================================ */
.page-banner {
    position: relative;
    height: 722px;
    min-height: 400px;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    /* margin: 20px; */
    overflow: visible;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
/*    background: rgba(0, 0, 0, 0.5); */
    z-index: 1;
    border-radius: 20px;
}

.page-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.page-banner-title {
    font-size: 60px;
    margin: 0;
}

.page-banner-subtitle {
    font-size: 18px;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ============================================
   PAGE CONTENT (pro obecné stránky typu "O nás")
   ============================================ */
.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
}

.page-content h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

.page-content h3 {
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-content p {
    font-size: 16px;
    /* line-height: 1.8; */
    margin-bottom: 20px;
    color: #333;
}

.page-content ul, .page-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.page-content li {
    margin-bottom: 10px;
    /* line-height: 1.8; */
}

/* Header menu - bílé písmo */
.page-header-nav.header-menu a {
    color: white;
}

.page-header-nav.header-menu a:hover {
    opacity: 0.7;
}

.page-header-nav.header-menu a.active {
    font-weight: 700;
    border-bottom: 2px solid white;
}


/* ============================================
   TABLET / MOBIL NALEŽATO — hamburger aktivní
   ============================================ */
@media (max-width: 1024px) {
    /* Banner */
    .page-banner {
        height: 400px;
        min-height: 260px;
        border-radius: 0px;
    }

    /* Logo overlay — přesune se nahoru vlevo */
    .page-logo-overlay {
        /* top: 10px; */
        left: 20px;
        bottom: 0px;
        z-index: 1;
    }

    .page-logo-overlay img {
        width: 140px;
    }

    /* Header → navbar nahoře v banneru */
    .page-header {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: auto;
        padding: 15px 20px;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        border-radius: 10px 10px 0 0;
        z-index: 100;
    }

    .page-header-container {
        width: 100%;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .page-header-logo {
        display: none;
    }

    /* Hamburger — zobrazit */
    .page-hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px;
        position: absolute;
        right: 20px;
        top: 15px;
        z-index: 150;
    }

    .page-hamburger span {
        display: block;
        width: 30px;
        height: 3px;
        background: white;
        transition: all 0.3s;
    }

    .page-hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .page-hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .page-hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Menu dropdown */
    .page-header-nav {
        position: absolute;
        top: 55px;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .page-header-nav.active {
        max-height: 500px;
    }

    .page-header-nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }

    .page-header-nav li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .page-header-nav a {
        display: block;
        padding: 15px 0;
        font-size: 16px;
        color: white;
    }

    /* Texty v banneru */
    .page-banner-title {
        font-size: 42px;
    }

    .page-banner-subtitle {
        font-size: 16px;
    }

    /* Content */
    .page-content {
        padding: 40px 20px;
    }

    .page-content h2 {
        font-size: 28px;
    }

    .page-content h3 {
        font-size: 22px;
    }
}

/* ============================================
   MOBIL NASTOJATO
   ============================================ */
@media (max-width: 480px) {
    .page-banner {
        height: 260px;
        min-height: 180px;
        border-radius: 0;
    }

    .page-logo-overlay img {
        width: 100px;
    }

    .page-banner-title {
        font-size: 28px;
    }

    .page-banner-subtitle {
        font-size: 14px;
    }

    .page-title {
        font-size: 26px;
    }
}

/* @media (max-width: 1400px) {
    .footer-social {
        display: none;
    }
} */



footer div nav ul li a {
    color: blue;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    transition: opacity 0.3s;
    white-space: nowrap;
    }
    
       
        
/*
.page-header-nav a.active {
    font-weight: 700;
    opacity: 1;
    border-bottom: 2px solid white;
}

*/

/* ============================================
   UNIVERSAL CONTENT LAYOUT
   Sdílené třídy pro repertoire, lide, presahy
   ============================================ */
.content-container {
    max-width: 1331px;
    margin: 20px auto 60px;
    padding: 0 40px;
}

.content-row {
    display: flex;
    gap: 40px;
/*    margin-bottom: 40px; */
    align-items: flex-start;
}

/* Fotka / ikona vlevo */
.content-photo {
    flex-shrink: 0;
    width: 400px;
    border-radius: 20px;
    overflow: hidden;
}

.content-photo img {
    width: 100%;
    height: auto;
}

/* Text vpravo */
.content-info {
    flex: 1;
    padding-top: 10px;
}

.content-title {
    font-family: 'Ubuntu Bold', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: #000;
}

.content-subtitle {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

/* Krátký text / anotace */
.content-anotace {
    font-size: 16px;
    color: #333;
   /* margin-bottom: 15px;*/
    display: block;          /* normální blok, žádný inline hack */
}

.content-anotace p {
    text-align: justify;
    margin: 0;
    display: inline;         /* JEN p — splyne do jednoho toku textu */
}

.content-anotace p::after {
    content: ' ';            /* mezera mezi odstavci pokud jich je víc */
}

.content-anotace p:last-of-type::after {
    content: none;           /* poslední p bez mezery — hned tlačítko */
}

.content-toggle-btn {
    border: none;
    font-size: 14px;
    cursor: pointer;
    margin-left: 5px;
    display: inline;         /* navazuje za posledním p */
}

/* Plný text — blokový, collapsible animací */
.content-text {
    font-size: 16px;
    color: #333;
    max-height: 5000px;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

.content-text-hidden {
    max-height: 0 !important;
    margin-bottom: 0;
}

.content-text,
.content-text p,
.content-text div {
    text-align: justify !important;
}

.content-text p {
    margin-bottom: 10px;
    margin: 0px;
    padding: 0px;
}

.content-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 18px;
}

/* Sdílené styly pro presahy + media stránky */
.pdf-link,
.pdf-icon-placeholder {
    display: block;
}

.pdf-icon-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.publication-divider {
    border: none;
    border-top: 2px solid #e0e0e0;
    margin: 20px 0;
}

.publication-read-more {
    color: #000;
    text-decoration: none;
    font-size: 15px;
    display: inline;
    margin-left: 5px;
    transition: opacity 0.3s;
}

.publication-read-more:hover {
    opacity: 0.6;
}

/* TABLET / MOBIL NALEŽATO */
@media (max-width: 1024px) {
    /* TODO */
}

/* MOBIL NASTOJATO */
@media (max-width: 480px) {
    .content-container {
        padding: 0 20px;
        margin: 20px auto 40px;
    }

    .content-row {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;  /* ← PŘIDAT */
    }

    .content-photo {
        width: 100%;
        /* height: 300px; */
    }

    .content-info {
        padding-top: 0;
    }

    .content-title {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .content-anotace,
    .content-text {
        font-size: 15px;
    }
}


@media (max-width: 1024px) {
    .content-container {
        padding: 0 20px;
        margin: 20px auto 40px;
    }

    .content-row {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;  /* ← PŘIDAT */
    }

    .content-photo {
        width: 100%;
        /* height: 300px; */
    }

    .content-info {
        padding-top: 0;
    }

    .content-title {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .content-anotace,
    .content-text {
        font-size: 15px;
    }
}