.driver-app-faq {
    padding: 60px 0 120px;
}

.driver-app-faq .faq__header {
    gap: 12px;
}

.driver-app-faq .faq__title {
    color: var(--color-text-dark);
}

.driver-app-faq .faq__subtitle {
    max-width: 766px;
    color: var(--color-muted-blue-gray);
}

.driver-app-faq .faq__toggle-icon {
    display: block;
    width: 18px;
    height: 18px;
    background-color: currentColor;
    -webkit-mask: url("../../images/driver-app-faq/collapse.svg") center / contain no-repeat;
    mask: url("../../images/driver-app-faq/collapse.svg") center / contain no-repeat;
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

.driver-app-faq .faq__item.is-open .faq__toggle-icon {
    transform: rotate(0deg);
}

/* The shared faq.css switches to its compact sizes at 991px; the tablet design keeps the desktop ones */
@media (min-width: 577px) and (max-width: 1024px) {
    .driver-app-faq {
        padding: 40px 0 60px;
    }

    .driver-app-faq .faq__container {
        gap: 40px;
    }

    .driver-app-faq .faq__header {
        gap: 14px;
    }

    .driver-app-faq .faq__title {
        font-size: 42px;
        line-height: 116%;
        letter-spacing: -0.21px;
    }

    .driver-app-faq .faq__subtitle {
        max-width: 620px;
        font-size: 18px;
        line-height: 144%;
    }

    .driver-app-faq .faq__item {
        border-radius: 16px;
    }

    .driver-app-faq .faq__question {
        padding: 19px 23px;
    }

    .driver-app-faq .faq__question-left {
        gap: 24px;
    }

    .driver-app-faq .faq__number {
        min-width: 20px;
        font-size: 14px;
    }

    .driver-app-faq .faq__question-text {
        font-size: 18px;
        line-height: 133%;
    }

    .driver-app-faq .faq__toggle {
        width: 28px;
        height: 28px;
        border-width: 1px;
    }

    .driver-app-faq .faq__answer-text {
        padding: 0 23px 19px 67px;
        font-size: 14px;
        line-height: 24px;
    }
}

@media (max-width: 576px) {
    .driver-app-faq {
        padding: 48px 0;
    }

    .driver-app-faq .faq__header {
        gap: 12px;
    }

    .driver-app-faq .faq__title {
        font-size: 28px;
        line-height: 120%;
    }

    .driver-app-faq .faq__question {
        gap: 8px;
    }

    .driver-app-faq .faq__answer-text {
        padding: 0 16px 16px;
    }

    .driver-app-faq .faq__toggle-icon {
        width: 10px;
        height: 10px;
    }
}
