/* ==========================================================================
   Sekcja: Hero (foto-block-icons-hero) - Czysty układ z zachowaniem HTML
   ========================================================================== */

.module-group.foto-block-icons-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 540px;
    overflow: visible !important;
    background-color: #000000;
    padding: 0;
    margin: 0;
    font-family: 'Chivo Mono', monospace;
}

.module-group.foto-block-icons-hero .hero-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* --- Tło wideo --- */
.module-group.foto-block-icons-hero .hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: #fff;
}

.module-group.foto-block-icons-hero .hero-media video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    object-fit: cover;
    display: block;
    background-color: #fff;
    transform: translate(-50%, -50%);
    transform-origin: 50% 50%;
    animation: heroVideoExpand 1.1s cubic-bezier(0.65, 0, 0.35, 1) 1.1s forwards;
}

@keyframes heroVideoExpand {
    from {
        width: 0;
        height: 0;
    }
    to {
        width: 100%;
        height: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
.module-group.foto-block-icons-hero .hero-media video {
        width: 100%;
        height: 100%;
        animation: none;
    }

    .module-group.foto-block-icons-hero .hero-copy {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

/* --- Gradient przyciemniający, aby tekst był czytelny --- */
.module-group.foto-block-icons-hero .hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        to top, 
        rgba(22, 24, 38, 0.9) 0%, 
        rgba(22, 24, 38, 0.4) 30%, 
        transparent 60%
    );
}

/* --- Kontener tekstowy w lewym dolnym rogu --- */
.module-group.foto-block-icons-hero .hero-copy {
    position: absolute;
    left: clamp(20px, 5vw, 72px);
    bottom: clamp(28px, 5vh, 56px);
    z-index: 2;
    max-width: 640px;
    opacity: 0;
    transform: translateY(16px);
    animation: heroCopyEnter 0.9s cubic-bezier(0.22, 1, 0.36, 1) 1.85s forwards;
}

@keyframes heroCopyEnter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Overtitle: "Eventagentur Zürich" (Tag <h3>) --- */
.module-group.foto-block-icons-hero .hero-title {
    margin: 0 0 14px 0;
}

.module-group.foto-block-icons-hero .hero-title h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #9397ab;
    line-height: 1.55;
    
}

/* Pozioma kreseczka przed <h3> */
.module-group.foto-block-icons-hero .hero-title h3::before {
    content: "";
    display: block;
    width: 28px;
    height: 2px;
    background-color: #b2b6ca;
}

/* --- Główne hasło (Tagi <p>) --- */
.module-group.foto-block-icons-hero .hero-copy p {
    font-weight: 400;
    font-size: 15.5px;
    text-transform: uppercase;
    color: #e9e9ed;
    line-height: 1.65;
    letter-spacing: -0.015em;
    margin: 0px 0px 0px -0.06em;
}

/* Usuwamy margines pod ostatnim <p>, aby ładnie przylegał do scrolla */
.module-group.foto-block-icons-hero .hero-copy p:last-of-type {
    margin-bottom: 0;
}

/* --- Scroll Hint na samym dole --- */
.module-group.foto-block-icons-hero .hero-scroll-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 24px 0 0 0;
    color: #9397ab;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    line-height: 1.55;
}

.module-group.foto-block-icons-hero .hero-scroll-hint i {
    color: oklch(0.63 0.21 27);
    font-size: 13px;
}

/* ==========================================================================
   Szczegóły eventu (is-event-detail), tytuł h1, przyciski
   ========================================================================== */

.module-group.foto-block-icons-hero .hero-copy {
    left: clamp(20px, 5vw, 72px);
    max-width: min(60vw, 720px);
}

.module-group.foto-block-icons-hero .hero-event-title {
    margin: 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: clamp(32px, 4.6vw, 64px);
    line-height: .95;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: #fff;
}

.module-group.foto-block-icons-hero .hero-actions {
    position: fixed;
    right: 34.58px;
    bottom: 54.58px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 6.92px;
}

.module-group.foto-block-icons-hero .hero-actions .buttons {
    margin: 0;
    padding: 0;
}

.module-group.foto-block-icons-hero .hero-calendar-btn,
.module-group.foto-block-icons-hero .hero-actions .hero-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 13px;
    border: 0;
    border-radius: 0;
    font-family: 'Chivo Mono', monospace;
    font-size: 15.5625px;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    outline: none !important;
    box-shadow: none;
    white-space: nowrap;
    cursor: pointer;
}

.module-group.foto-block-icons-hero .hero-calendar-btn {
    background-color: #000;
    transition: opacity .2s ease;
}

.module-group.foto-block-icons-hero .hero-actions .hero-link-btn {
    background-color: #ff2b29;
    transition: opacity .2s ease;
}

.module-group.foto-block-icons-hero .hero-actions .hero-link-btn::after {
    content: "\21B3";
}

.module-group.foto-block-icons-hero .hero-actions .hero-link-btn:hover {
    opacity: .85;
    color: #fff;
}
/* Szczegóły pozostają w stałym miejscu wewnątrz sekcji hero. */
.module-group.foto-block-icons-hero .is-event-track {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    pointer-events: none;
}

.module-group.foto-block-icons-hero .is-event-detail {
    position: absolute;
    z-index: 4;
    top: 47vh;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 35.2vw 32.6vw auto;
    padding: 10px clamp(20px, 5vw, 72px);
    color: #fff;
    mix-blend-mode: difference;
    font-family: 'Chivo Mono', monospace;
    text-transform: uppercase;
}

.module-group.foto-block-icons-hero .is-event-detail__item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.module-group.foto-block-icons-hero .is-event-detail__item:nth-child(1) { grid-column: 1; }
.module-group.foto-block-icons-hero .is-event-detail__item:nth-child(2) { grid-column: 2; }
.module-group.foto-block-icons-hero .is-event-detail__item:nth-child(3) { grid-column: 3; }

.module-group.foto-block-icons-hero .is-event-detail__item:nth-child(3) {
    text-align: right !important;
}

.module-group.foto-block-icons-hero .is-event-detail__item:nth-child(3) .is-event-detail__label {
    justify-content: flex-end;
}

.module-group.foto-block-icons-hero .is-event-detail__label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: clamp(15px, 1.4vw, 20px);
    font-weight: 500;
    line-height: 1;
}

.module-group.foto-block-icons-hero .is-event-detail__label::before {
    content: "";
    width: 6px;
    height: 6px;
    background-color: #fff;
}

.module-group.foto-block-icons-hero .is-event-detail__value {
    font-size: clamp(15px, 1.4vw, 20px);
    font-weight: 500;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .module-group.foto-block-icons-hero .hero-copy {
        left: 20px;
        right: 20px;
        bottom: 110px;
        max-width: none;
    }

    .module-group.foto-block-icons-hero .hero-actions {
        right: 20px;
        bottom: 20px;
    }

    .module-group.foto-block-icons-hero .is-event-detail {
        top: 50%;
        transform: translateY(-50%);
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 0 20px;
    }

    .module-group.foto-block-icons-hero .is-event-detail__item:nth-child(n) {
        grid-column: auto;
        text-align: left !important;
    }

    .module-group.foto-block-icons-hero .is-event-detail__item:nth-child(3) .is-event-detail__label {
        justify-content: flex-start;
    }
}