/* ============================================================
   Expo Recenzje – styles
   ============================================================ */

/* --- Sekcja ------------------------------------------------ */
.expo-recenzje {
    background-color: #000;
    padding: 64px 32px;
    font-family: 'Inter', sans-serif;
    color: #fff;
    box-sizing: border-box;
}

.expo-recenzje *,
.expo-recenzje *::before,
.expo-recenzje *::after {
    box-sizing: border-box;
}

.expo-recenzje__inner {
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 48px;
    align-items: center;
}

/* --- Nagłówek – usunięty z pluginu, dodawany zewnętrznie --- */

/* --- Slider ------------------------------------------------
   Na desktopie wysokość jest ustawiana przez JS (max ze wszystkich slajdów).
   Slider jest kontenerem relatywnym — slajdy są absolutne.
   Na mobile slider wraca do flow (height: auto, position: static).
   ----------------------------------------------------------- */
.expo-recenzje__slider {
    width: 100%;
    position: relative;
}

/* --- Slajdy (desktop: absolute + fade) --------------------- */
.expo-recenzje__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.expo-recenzje__slide--active {
    opacity: 1;
    pointer-events: auto;
    position: absolute; /* nadpisuje ewentualny reset z mobile */
}

/* --- Layout slajdu (desktop: 2 kolumny) -------------------- */
.expo-recenzje__slide-layout {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    padding: 0 64px;
}

/* --- Kolumna ze zdjęciem ----------------------------------- */
.expo-recenzje__photo-col {
    flex: 1 0 0;
    min-width: 0;
}

.expo-recenzje__photo {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.expo-recenzje__photo--placeholder {
    background-color: #1a1a1a;
}

/* --- Kolumna z tekstem ------------------------------------- */
.expo-recenzje__text-col {
    width: 500px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 8px;
    align-self: stretch;
    gap: 24px;
}

/* --- Cytat ------------------------------------------------- */
.expo-recenzje__quote-wrap {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    flex: 1;
    min-height: 0;
}

.expo-recenzje__quote-icon {
    display: block;
    flex-shrink: 0;
    width: 27px;
    height: 27px;
    color: #dde0e9;
    margin-top: 0;
}

.expo-recenzje__quote-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    gap: 24px;
    min-height: 0;
}

.expo-recenzje__quote-text {
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
    letter-spacing: -1px;
    color: #dde0e9;
    margin: 0;
}

/* --- Autor ------------------------------------------------- */
.expo-recenzje__author-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.expo-recenzje__author-name {
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    letter-spacing: -0.5px;
    color: #fff;
    margin: 0;
    white-space: nowrap;
}

.expo-recenzje__author-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.expo-recenzje__logotyp {
    max-height: 16px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1) opacity(0.87);
}

.expo-recenzje__separator {
    color: #dde0e9;
    font-size: 24px;
    line-height: 24px;
}

.expo-recenzje__stanowisko {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -1px;
    color: #dde0e9;
    white-space: nowrap;
}

/* --- Przyciski nawigacji ----------------------------------- */

/* Wrapper – pozycjonuje pasek przycisków pod sliderem */
.expo-recenzje__nav-wrap {
    width: 100%;
    display: flex;
    justify-content: flex-end; /* desktop: do prawej */
    padding: 0 64px;
}

.expo-recenzje__nav {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.expo-recenzje__btn {
    width: 48px;
    height: 48px;
    border-radius: 40px;
    background-color: #292d33;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
    padding: 0;
}

.expo-recenzje__btn:hover {
    background-color: #3a3f48;
}

.expo-recenzje__btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.expo-recenzje__btn svg {
    display: block;
    pointer-events: none;
}

/* ============================================================
   Responsywność
   ============================================================ */

/* Tablet: max-width 1024px */
@media (max-width: 1024px) {
    .expo-recenzje__slide-layout {
        padding: 0 16px;
    }

    .expo-recenzje__nav-wrap {
        padding: 0 16px;
    }

    .expo-recenzje__text-col {
        width: 420px;
    }
}

/* Mobile: max-width 767px */
@media (max-width: 767px) {
    .expo-recenzje {
        padding: 64px 16px;
    }

    .expo-recenzje__inner {
        gap: 0;
    }

    /* Na mobile slider wraca do flow – wysokość automatyczna */
    .expo-recenzje__slider {
        width: 100%;
        height: auto !important;
    }

    .expo-recenzje__slide {
        position: static;
        opacity: 1;
        pointer-events: auto;
        display: none;
        transition: none;
    }

    .expo-recenzje__slide--active {
        display: block;
        position: static;
        opacity: 1;
    }

    .expo-recenzje__slide-layout {
        flex-direction: column;
        gap: 16px;
        padding: 0;
    }

    .expo-recenzje__photo-col {
        width: 100%;
        flex: none;
    }

    .expo-recenzje__photo {
        height: 300px;
    }

    .expo-recenzje__text-col {
        width: 100%;
        flex-shrink: 1;
        padding: 16px 8px 0;
        gap: 16px;
        align-self: auto;
        justify-content: flex-start;
    }

    .expo-recenzje__quote-text {
        font-size: 20px;
        line-height: 28px;
    }

    .expo-recenzje__author-meta {
        flex-wrap: wrap;
    }

    /* Na mobile przyciski rozdzielone na całą szerokość */
    .expo-recenzje__nav-wrap {
        justify-content: space-between;
        padding: 24px 0 0;
    }

    .expo-recenzje__nav {
        width: 100%;
        justify-content: space-between;
    }
}
