/**
 * Firth Section Block
 *
 * Full-width teal section with a single centred white card: title, description
 * and a button.
 * Matches child-theme-sections-screenshots/firth-section.png
 */

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

.firth-section {
    background-color: var(--color-teal);
    font-family: 'Roboto', sans-serif;
    padding: 60px 0;
}

.firth-section__container {
    max-width: var(--theme-normal-container-max-width, 1290px);
    width: var(--theme-container-width, 100%);
    margin: 0 auto;
    padding: 0 20px;
}

.firth-section__card {
    background-color: var(--color-white);
    border-radius: 20px;
    padding: 55px 60px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.10);
    text-align: center;
}

.firth-section__title {
    color: var(--color-navy);
    font-weight: 700;
    font-size: 30px;
    line-height: 1.3;
    margin: 0 0 26px;
}

.firth-section__text {
    color: var(--color-text);
    font-size: 18px;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto;
}

.firth-section__text p {
    color: inherit;
    margin: 0 0 1em;
}

.firth-section__text p:last-child {
    margin-bottom: 0;
}

.firth-section__button-wrap {
    margin-top: 34px;
}

/* ---- Button (teal secondary, per style guide) ---- */
.firth-section .btn {
    display: inline-block;
    padding: 14px 30px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.firth-section .btn-secondary {
    background-color: var(--color-teal);
    color: var(--color-navy);
}

.firth-section .btn-secondary:hover,
.firth-section .btn-secondary:focus {
    background-color: var(--color-navy);
    color: var(--color-white);
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1023px) {
    .firth-section__card {
        padding: 44px 44px;
    }

    .firth-section__title {
        font-size: 26px;
    }
}

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

    .firth-section__card {
        padding: 34px 24px;
        border-radius: 16px;
    }

    .firth-section__title {
        font-size: 24px;
    }

    .firth-section__text {
        font-size: 16px;
    }
}
