/**
 * Tenth Section Block
 *
 * Full-width white section: centred title, a rich description (h4/h5/h6 navy)
 * and a pale call-to-action card.
 * Matches child-theme-sections-screenshots/tenth-section.png
 */

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

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

.tenth-section__container {
    max-width: 1040px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* ---- Description ---- */
.tenth-section__description {
    color: var(--color-text);
    font-size: 18px;
    line-height: 1.7;
}

.tenth-section__description p {
    color: inherit;
    margin: 0 0 1.4em;
}

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

.tenth-section__description h4,
.tenth-section__description h5,
.tenth-section__description h6 {
    color: var(--color-navy);
    font-weight: 700;
    line-height: 1.3;
    margin: 1.6em 0 0.6em;
}

.tenth-section__description h4 {
    font-size: 22px;
}

.tenth-section__description h5 {
    font-size: 20px;
}

.tenth-section__description h6 {
    font-size: 18px;
}

.tenth-section__description a {
    color: var(--color-navy);
    font-weight: 600;
    text-decoration: underline;
}

.tenth-section__description ul,
.tenth-section__description ol {
    margin: 0 0 1.4em;
    padding-left: 1.4em;
    color: var(--color-text);
}

.tenth-section__description li {
    margin-bottom: 0.6em;
}

/* ---- Card ---- */
.tenth-section__card {
    background-color: var(--color-pale);
    border-radius: 14px;
    padding: 34px 40px;
    margin-top: 40px;
    max-width: 640px;
}

.tenth-section__card-title {
    color: var(--color-navy);
    font-weight: 700;
    font-size: 24px;
    line-height: 1.3;
    margin: 0 0 12px;
}

.tenth-section__card-text {
    color: var(--color-text);
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 22px;
}

.tenth-section__card-text p {
    color: inherit;
    margin: 0 0 0.6em;
}

.tenth-section__card-text p:last-child {
    margin-bottom: 0;
}

/* ---- Button (teal secondary, per style guide) ---- */
.tenth-section .btn {
    display: inline-block;
    padding: 12px 28px;
    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;
}

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

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

/* Tablet */
@media (min-width: 769px) and (max-width: 1023px) {
    .tenth-section__title {
        font-size: 26px;
    }

    .tenth-section__description {
        font-size: 17px;
    }
}

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

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

    .tenth-section__description {
        font-size: 16px;
    }

    .tenth-section__card {
        padding: 28px 26px;
    }

    .tenth-section__card-title {
        font-size: 21px;
    }
}
