*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    background: #000;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
}

.bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.25;
    pointer-events: none;
}

.page-korforgo .bg {
    background-image: url("../bg_korforgo.jpg");
    opacity: 0.5;
}

.page-zene .bg {
    background-image: url("../bg_zene.jpg");
}

.page-video .bg {
    background-image: url("../bg_video.jpg");
}

.page-zenekar .bg {
    background-image: url("../bg_zenekar.jpg");
}

.page-galeria .bg {
    background-image: url("../bg_galeria.jpg");
}

.page-kontakt .bg {
    background-image: url("../bg_kontakt.jpg");
}

.site-header,
.site-main,
.site-footer {
    position: relative;
}

.site-main,
.site-footer {
    z-index: 1;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    min-height: 76px;
    padding: 16px 20px;
}

.nav-toggle {
    display: none;
    position: absolute;
    right: 20px;
    top: 16px;
    width: 44px;
    height: 44px;
    padding: 10px 8px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 6px 0;
    background: #fff;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
}

.site-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 0.04em;
}

.site-nav a:hover,
.site-nav a.active {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.site-main {
    max-width: 960px;
    margin: 0 auto;
    padding: 12px 20px 48px;
}

.site-footer {
    padding: 24px 20px 40px;
    text-align: center;
    font-size: 13px;
    color: #fff;
}

.album-block {
    max-width: 520px;
    margin: 0 auto 28px;
}

.cover {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 0 12px;
}

.album-title {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: normal;
    text-align: left;
    color: #fff;
}

.album-meta {
    margin: 0 0 14px;
    font-size: 13px;
    color: #fff;
}

.album-credits {
    font-size: 12px;
    line-height: 1.55;
    text-align: left;
    color: #ccc;
}

.album-credits p {
    margin: 0;
}

.album-credits .album-rights {
    margin-top: 12px;
    color: #fff;
}

.dated-section {
    max-width: 640px;
    margin: 0 auto 56px;
    text-align: left;
}

.dated-section h1,
.dated-section h2 {
    margin: 0 0 24px;
    font-size: 22px;
    font-weight: normal;
}

.dated-section ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dated-upcoming {
    font-size: 20px;
    line-height: 1.5;
}

.dated-split {
    border: 0;
    border-top: 1px solid #444;
    margin: 28px 0;
}

.dated-past {
    font-size: 14px;
    line-height: 1.7;
    color: #ccc;
}

.dated-section a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.intro {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.player {
    max-width: 640px;
    margin: 0 auto;
}

.player audio {
    display: none;
}

.player-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

#play-pause {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    padding: 8px;
    border: 1px solid #444;
    background: #111;
    color: #fff;
    cursor: pointer;
}

#play-pause svg {
    display: block;
    width: 100%;
    height: 100%;
}

#play-pause .icon-pause,
#play-pause.is-playing .icon-play {
    display: none;
}

#play-pause.is-playing .icon-pause {
    display: block;
}

.progress {
    flex: 1;
    height: 6px;
    background: #333;
    cursor: pointer;
}

.progress-fill {
    width: 0;
    height: 100%;
    background: #fff;
}

.player-time {
    flex-shrink: 0;
    font-size: 13px;
    min-width: 7.5em;
    text-align: right;
    color: #fff;
}

.playlist {
    margin: 0;
    padding: 0;
    list-style: none;
}

.playlist li {
    padding: 12px;
    border-bottom: 1px solid #222;
    color: #fff;
    cursor: pointer;
}

.playlist li:hover,
.playlist li.active {
    background: #111;
}

.video-list {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px 16px;
}

.video-item h2 {
    font-size: 18px;
    font-weight: normal;
    margin: 0 0 12px;
}

.video-grid .video-item h2 {
    min-height: 2.6em;
    line-height: 1.3;
}

.video-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.band-photo {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 28px;
}

.band-bio {
    max-width: 720px;
    margin: 0 auto 40px;
}

.band-bio p {
    margin: 0 0 1em;
}

.band-bio p:last-child {
    margin-bottom: 0;
}

.members h2 {
    font-size: 20px;
    font-weight: normal;
    margin: 0 0 20px;
}

.member-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 28px;
}

.member img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    margin-bottom: 10px;
}

.member h3 {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: bold;
}

.member h3 + p {
    margin: 0;
    font-size: 14px;
    font-style: italic;
}

.member-bio {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.65;
    font-style: normal;
    color: #fff;
}

.member-fun {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.65;
    font-style: normal;
    color: #fff;
}

.gallery-section {
    margin-bottom: 48px;
}

.gallery-section h2 {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: normal;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.gallery-grid button {
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.gallery-grid img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 20;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
}

.lightbox.is-open {
    display: flex;
}

.lightbox img {
    max-width: min(92vw, 1200px);
    max-height: 88vh;
    object-fit: contain;
    cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
}

.lightbox-prev {
    left: 12px;
}

.lightbox-next {
    right: 12px;
}

.contact-list {
    list-style: none;
    margin: 40px auto;
    padding: 0;
    max-width: 420px;
    font-size: 18px;
}

.contact-list li {
    margin: 0 0 20px;
}

.contact-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
}

.contact-list svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    fill: currentColor;
}

.contact-handle {
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.is-locked {
    overflow: hidden;
}

@media (max-width: 768px) {
    .site-header {
        justify-content: flex-end;
        position: relative;
    }

    .nav-toggle {
        display: block;
        z-index: 3;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 21;
        flex-direction: column;
        gap: 0;
        background: #000;
        padding: 8px 20px 16px;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 12px 0;
        border-bottom: 1px solid #222;
    }

    .member-grid,
    .gallery-grid,
    .video-grid {
        grid-template-columns: 1fr;
    }
}
