
/* ======================================================
   SENTIQUE STUDIO — PARTNERS
   FLORIDA RETRO 1950s
====================================================== */


/* ======================================================
   01. SECTION
====================================================== */

.st-partners {

    --partners-navy: #103B4C;
    --partners-coral: #ED7468;
    --partners-cream: #F9EBDD;

    /* Wspólna szerokość linii */

    --partners-content-width: 1400px;
    --partners-side-padding: 5%;

    position: relative;
    isolation: isolate;

    width: 100%;

    padding: 36px 0 32px;

    background: var(--partners-cream);

    overflow: hidden;

}


/* ======================================================
   02. HEADING
====================================================== */

.st-partners-heading {

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 24px;

    width: 90%;
    max-width: var(--partners-content-width);

    margin: 0 auto 28px;

    padding: 0;

}


/* HEADING TITLE */

.st-partners-heading h2 {

    flex: 0 0 auto;

    margin: 0;

    font-family: "Manrope", Arial, sans-serif;

    font-size: 12px;
    font-weight: 700;

    line-height: 1.5;
    letter-spacing: 4px;

    text-transform: uppercase;

    color: #C66C60;

    white-space: nowrap;

}


/* TOP DECORATIVE LINES */

.st-partners-line {

    flex: 1 1 0;

    min-width: 0;
    height: 1px;

    background: rgba(237,116,104,.55);

}


/* ======================================================
   03. MARQUEE CONTAINER
====================================================== */

.st-partners-marquee {

    position: relative;

    width: 100%;

    overflow: hidden;

}


/* ======================================================
   04. ANIMATED TRACK
====================================================== */

.st-partners-track {

    display: flex;

    align-items: center;

    width: max-content;

    /* Bardzo wolny, płynny ruch */

    animation: st-partners-scroll 80s linear infinite;

    will-change: transform;

}


/* ======================================================
   05. LOGO GROUP
====================================================== */

.st-partners-group {

    display: flex;

    align-items: center;

    flex: 0 0 auto;

}


/* ======================================================
   06. LOGO ITEM
====================================================== */

.st-partner-item {

    display: flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: 220px;
    height: 75px;

    padding: 12px 20px;

}


/* LOGO IMAGE */

.st-partner-item img {

    display: block;

    width: auto;
    height: auto;

    max-width: 180px;
    max-height: 48px;

    object-fit: contain;

}


/* ======================================================
   07. SMALL STARS BETWEEN LOGOS
====================================================== */

.st-partner-star {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 35px;

    width: 35px;

    font-family: Georgia, serif;

    font-size: 20px;

    line-height: 1;

    color: var(--partners-coral);

}


/* ======================================================
   08. ANIMATION
====================================================== */

@keyframes st-partners-scroll {

    from {

        transform: translateX(0);

    }

    to {

        transform: translateX(-50%);

    }

}


/* ======================================================
   09. PAUSE ON HOVER
====================================================== */

@media (hover: hover) {

    .st-partners-marquee:hover .st-partners-track {

        animation-play-state: paused;

    }

}


/* ======================================================
   10. BOTTOM DECORATIVE LINE
====================================================== */

.st-partners-bottom-line {

    width: 90%;
    max-width: var(--partners-content-width);

    height: 1px;

    margin: 27px auto 0;

    background: rgba(237,116,104,.55);

}


/* ======================================================
   11. REMOVE LARGE SIDE STARS
====================================================== */

/*
   Usuwamy duże gwiazdy na końcach paska.

   Małe gwiazdki pomiędzy logotypami
   pozostają widoczne.
*/

.st-partners-decoration {

    display: none;

}


/* ======================================================
   12. TABLET
====================================================== */

@media (max-width: 1024px) {

    .st-partners {

        padding: 32px 0 30px;

    }

    .st-partners-heading {

        gap: 18px;

        margin-bottom: 24px;

    }

    .st-partners-heading h2 {

        font-size: 11px;

        letter-spacing: 3px;

    }

    .st-partner-item {

        width: 195px;
        height: 70px;

        padding: 10px 16px;

    }

    .st-partner-item img {

        max-width: 165px;
        max-height: 45px;

    }

    .st-partner-star {

        flex-basis: 30px;

        width: 30px;

        font-size: 18px;

    }

}


/* ======================================================
   13. MOBILE
====================================================== */

@media (max-width: 767px) {

    .st-partners {

        padding: 30px 0 28px;

    }

    .st-partners-heading {

        width: 92%;

        gap: 12px;

        margin-bottom: 20px;

    }

    .st-partners-heading h2 {

        font-size: 10px;

        font-weight: 700;

        letter-spacing: 2px;

    }

    .st-partners-line {

        min-width: 0;

    }

    .st-partner-item {

        width: 175px;
        height: 60px;

        padding: 8px 15px;

    }

    .st-partner-item img {

        max-width: 145px;
        max-height: 40px;

    }

    .st-partner-star {

        flex-basis: 25px;

        width: 25px;

        font-size: 16px;

    }

    .st-partners-bottom-line {

        width: 92%;

        margin-top: 22px;

    }

}


/* ======================================================
   14. SMALL MOBILE
====================================================== */

@media (max-width: 420px) {

    .st-partners-heading {

        gap: 8px;

    }

    .st-partners-heading h2 {

        font-size: 9px;

        letter-spacing: 1.5px;

    }

    .st-partner-item {

        width: 155px;

    }

    .st-partner-item img {

        max-width: 130px;
        max-height: 35px;

    }

}


/* ======================================================
   15. ACCESSIBILITY
====================================================== */

@media (prefers-reduced-motion: reduce) {

    .st-partners-track {

        animation: none;
        width: auto;

        flex-wrap: wrap;
        justify-content: center;

    }

    .st-partners-group:first-child {

        flex-wrap: wrap;
        justify-content: center;

    }

    .st-partners-group[aria-hidden="true"] {

        display: none;

    }

    .st-partners-marquee {

        overflow: visible;

    }

}
