
/* --- TICKER --- */
.ticker-wrapper {
    position: relative;

    width: 100%;
    height: 40px;
    overflow: hidden;
    background-color: #7420bc;
}

.ticker {
    display: flex;
    width: 200%;
}

.ticker__track {
    display: flex;
    width: 50%;

    animation: scroll 3s linear infinite;
}

.ticker__item {
    font-weight: 700;
    white-space: nowrap;
    color: white;

    display: flex;
    align-items: center;
    flex-shrink: 0;
    width: max-content;
    height: 40px;
    padding-left: 40px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* --- INFO GRID --- */

.info-grid {
    display: grid;
    grid-template-columns: repeat(var(--cols, 2), minmax(0, var(--item-width, 1fr)));
    gap: 40px;

    .section-title {
        text-align: left;
    }

    h3 {
        font-size: clamp(22px, 1.243rem + 0.5634vw, 28px);
        font-weight: 600;
        line-height: 1.64;
    }


    h2, h3 {
        margin-bottom: 36px;
    }

    p,
    .list--decorated li {
        font-size: clamp(18px, 1.081rem + 0.1878vw, 20px);
        line-height: 1.5;
    }

    p:not(:last-child) {
        margin-bottom: 12px;
    }

    ul li:not(:last-child) {
        margin-bottom: 8px;
    }
}

.info-grid__card {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 40px 80px;
    border-radius: 50px;
    background-color: var(--white-muted);
}

.info-grid__card:first-child {
    grid-area: span 2;
    background-color: var(--white-pale-lilac);
}

/* --- MEDIA 1024px MAX --- */

@media screen and (max-width: 1023px) {
    .info-grid {
        --cols: 1;
        --item-width: 600px;
        justify-content: center;
    }

    .info-grid__card:first-child {
        grid-area: auto;
    }
}

/* --- @MEDIA 768px --- */

@media screen and (max-width: 767px) {
    .info-grid__card {
        padding: 20px 12px;
        border-radius: 20px;
    }
}