/*
* @author  Agence Dn'D <contact@dnd.fr>
* @license https://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
* @link    https://www.dnd.fr/
*/

.video-section--background {
    .text-overlay__text {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 16px;

        @media (min-width: 768px) {
            gap: 24px;
        }
    }

    .text-overlay__title,
    .text-overlay__rte,
    .text-overlay__button-row,
    .button-row__btn {
        margin: 0;
    }

    .text-overlay__title {
        font-weight: var(--font-weight-700);
        letter-spacing: -2px;
    }

    .text-overlay__rte {
        @media (max-width: 767.98px) {
            margin-block-end: 16px;
        }
    }

    .text-overlay__button-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;

        @media (min-width: 768px) {
            flex-direction: row;
            justify-content: center;
            align-items: center;
            gap: 16px;
        }

        .button-row__btn {
            @media (max-width: 767.98px) {
                width: 100%;
            }
        }
    }
}
