.advent-steps {
    padding: 72px 0 28px;
    background: #fff;
}

.advent-steps__title {
    margin: 0 0 36px;
    color: #020818;
    font-size: 45px;
    font-weight: 700;
    line-height: 49px;
    letter-spacing: -0.8px;
}

.advent-steps__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.advent-step {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 315px;
    padding: 25px 30px;
    border-radius: 20px;
    background: #f6f8ff;
    color: #020818;
}

.advent-body .advent-step__icon {
    align-self: flex-start;
    justify-self: start;
    width: auto;
    height: 60px;
    max-width: none;
    object-fit: contain;
    object-position: left center;
}

.advent-step__toggle {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin-top: 48px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.advent-step__heading {
    font-size: 30px;
    font-weight: 700;
    line-height: 32px;
    letter-spacing: -0.24px;
}

.advent-step__text {
    margin-top: 10px;
    font-size: 25px;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: -0.2px;
    opacity: 0.72;
}

.advent-step--light .advent-step__text {
    opacity: 1;
}

.advent-step__chevron {
    display: none;
    width: 20px;
    height: 20px;
    margin-top: 4px;
    flex: 0 0 auto;
}

@media (min-width: 901px) {
    .advent-step__toggle {
        cursor: default;
    }
}

@media (max-width: 1100px) {
    .advent-steps__list {
        grid-template-columns: 1fr;
    }

    .advent-step {
        min-height: 0;
    }
}

@media (max-width: 900px) {
    .advent-steps {
        padding: 24px 0 8px;
    }

    .advent-steps__title {
        margin-bottom: 16px;
        font-size: 26px;
        line-height: 1.1;
    }

    .advent-steps__list {
        gap: 15px;
    }

    .advent-step {
        display: grid;
        grid-template-columns: 30px minmax(0, 1fr);
        align-items: center;
        column-gap: 5px;
        min-height: 60px;
        padding: 10px;
        border-radius: 10px;
    }

    .advent-step__icon,
    .advent-step__toggle {
        grid-row: 1;
    }

    .advent-step__panel {
        grid-column: 1 / -1;
    }

    .advent-step__toggle {
        display: flex;
        align-items: center;
        gap: 5px;
        min-height: 40px;
        margin-top: 0;
    }

    .advent-body .advent-step__icon {
        align-self: center;
        justify-self: start;
        width: auto;
        height: 25px;
        flex: 0 0 auto;
        object-position: left center;
    }

    .advent-step__heading {
        flex: 1 1 auto;
        font-size: 18px;
        line-height: 1.1;
        letter-spacing: -0.144px;
    }

    .advent-step__chevron {
        display: block;
        width: 20px;
        height: 20px;
        margin-top: 0;
        flex: 0 0 20px;
        transform: rotate(90deg);
        transition: transform 0.3s;
    }

    .advent-step--light .advent-step__chevron {
        filter: brightness(0) invert(1);
    }

    .advent-step.is-open .advent-step__chevron {
        transform: rotate(-90deg);
    }

    .advent-step__panel {
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows 0.3s;
    }

    .advent-step.is-open .advent-step__panel {
        grid-template-rows: 1fr;
    }

    .advent-step__panel-inner {
        min-height: 0;
        overflow: hidden;
    }

    .advent-step__text {
        margin-top: 0;
        padding: 8px 4px 6px 30px;
        font-size: 14px;
        line-height: 1.35;
        letter-spacing: -0.112px;
    }
}
