/**
 * Twelveth Section Block
 *
 * Full-width white section with centred content: title, description, button
 * and a bottom description.
 * Matches child-theme-sections-screenshots/twelveth-section.png
 */

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

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

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

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

.twelveth-section__description {
    color: var(--color-text);
    font-size: 18px;
    line-height: 1.6;
    max-width: 820px;
    margin: 0 auto;
}

.twelveth-section__description p {
    color: inherit;
    margin: 0 0 0.5em;
}

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

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

.twelveth-section__button-wrap {
    margin-top: 28px;
}

.twelveth-section__bottom {
    color: var(--color-text);
    font-size: 18px;
    line-height: 1.6;
    max-width: 820px;
    margin: 30px auto 0;
}

.twelveth-section__bottom p {
    color: inherit;
    margin: 0 0 0.5em;
}

.twelveth-section__bottom p:last-child {
    margin-bottom: 0;
}

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

/* ---- Button (teal secondary, per style guide) ---- */
.twelveth-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;
}

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

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

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

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

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

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

    .twelveth-section__description,
    .twelveth-section__bottom {
        font-size: 16px;
    }
}
