/**
 * Title Description Section Block
 *
 * Full-width white section: centred navy title and a left-aligned grey
 * description constrained to a readable width.
 * Matches child-theme-sections-screenshots/title-description-section.png
 */

:root {
    --color-navy: #385d8c;
    --color-pale: #eef3f8;
    --color-teal: #93cddc;
    --color-sky:  #d2eaf0;
    --color-text: #787878;
    --color-white: #ffffff;
}

.title-description-section {
    background-color: var(--color-white);
    font-family: 'Roboto', sans-serif;
    padding: 70px 0;
}

.title-description-section__container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.title-description-section__title {
    color: var(--color-navy);
    font-weight: 700;
    font-size: 30px;
    line-height: 1.3;
    text-align: center;
    margin: 0 0 32px;
}

.title-description-section__description {
    color: var(--color-text);
    font-size: 18px;
    line-height: 1.7;
}

.title-description-section__description p {
    color: inherit;
    margin: 0 0 1.5em;
}

.title-description-section__description p:last-child {
    margin-bottom: 0;
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1023px) {
    .title-description-section {
        padding: 55px 0;
    }

    .title-description-section__description {
        font-size: 17px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .title-description-section {
        padding: 45px 0;
    }

    .title-description-section__title {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .title-description-section__description {
        font-size: 16px;
    }
}
