/**
 * Eleventh Section Block
 *
 * Full-width white section: centred title, a rich description (h4/h5/h6 navy;
 * top-level list items navy bullets, nested lists navy dashes) and a PDF
 * download block.
 * Matches child-theme-sections-screenshots/eleventh-section.png
 */

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

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

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

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

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

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

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

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

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

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

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

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

/* Lists: navy bullets (top level) and navy dashes (nested) */
.eleventh-section__description ul,
.eleventh-section__description ol {
    list-style: none;
    margin: 0 0 1.4em;
    padding: 0;
}

.eleventh-section__description li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 0.9em;
    color: var(--color-text);
}

.eleventh-section__description li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 0.5em;
    width: 12px;
    height: 12px;
    background-color: var(--color-navy);
    border-radius: 50%;
}

/* Nested lists render as navy dashes */
.eleventh-section__description li li::before {
    top: 0.72em;
    width: 14px;
    height: 3px;
    border-radius: 0;
}

.eleventh-section__description ul ul,
.eleventh-section__description ol ul,
.eleventh-section__description ul ol,
.eleventh-section__description ol ol {
    margin: 0.9em 0 0;
}

/* ---- PDF download block ---- */
.eleventh-section__pdf {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.eleventh-section__pdf-icon {
    color: var(--color-navy);
    flex-shrink: 0;
    line-height: 0;
}

.eleventh-section__pdf-info {
    flex: 1;
    min-width: 180px;
}

.eleventh-section__pdf-title {
    color: var(--color-navy);
    font-weight: 700;
    font-size: 22px;
    line-height: 1.3;
    margin: 0 0 4px;
}

.eleventh-section__pdf-text {
    color: var(--color-text);
    font-size: 16px;
    margin: 0;
}

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

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

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

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

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

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

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

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

    .eleventh-section__pdf {
        gap: 16px;
    }

    .eleventh-section__pdf-button {
        width: 100%;
    }
}
