body {
    padding: 0;
    margin: 0;
    font-family: Roboto, Arial, Helvetica, sans-serif;
}

.header {
    background-color: #1b277b;
    color: white;
    padding: 10px 40px;
    text-align: center;
}

h2 {
    font-size: 24px;
    font-family: 'Roboto Slab', 'Times New Roman', Times, serif;
}

h3 {
    font-size: 20px;
    font-family: 'Roboto Slab', 'Times New Roman', Times, serif;
}

hr {
    border-top: 1px solid #d0d0d0;
    border-bottom: none;
}

table {
    background-color: #f6f6f1;
}

.site-title {
    font-size: 38px;
    font-weight: bold;
    max-width: 1200px;
    margin: 0 auto 8px;
    text-align: center;
}

.tagline {
    font-size: 16px;
    font-style: italic;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.content {
    max-width: 1200px;
    margin: 0 auto;
}

.emoji {
    font-size: 1.2em;
}

.section {
    padding: 20px 40px;
    background-color: #def1f3;
    border-bottom: 1px solid #d0d0d0;
    margin: 10px 0;
    border-radius: 10px;
}

.section-title {
    font-family: 'Roboto Slab', 'Times New Roman', Times, serif;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

.section-content {
    overflow: hidden;
}

.section-content summary {
    display: block;
    cursor: pointer;
}


.article-reveal {
    margin: 10px 0 0;
}

.article-reveal > .details-body {
    display: block;
    margin-top: 10px;
    position: relative;
    transition: max-height 0.35s ease;
    max-height: 3.5em;
    overflow: visible;
    clip-path: inset(0);
    -webkit-mask-image: linear-gradient(to bottom, #000 0, rgba(0, 0, 0, 0.3) 25%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0, rgba(0, 0, 0, 0.3) 25%, transparent 100%);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}


.article-toggle-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.article-toggle {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, #1b277b, #2f6f9e);
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.2px;
    box-shadow: 0 4px 10px rgba(18, 41, 78, 0.25);
    margin-bottom: 8px;
    user-select: none;
    cursor: pointer;
}

.article-toggle::before {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.article-toggle-input:checked + .article-toggle::before {
    transform: rotate(-135deg);
}

.article-toggle-input:focus-visible + .article-toggle {
    outline: 2px solid #1b277b;
    outline-offset: 3px;
}

.toggle-open {
    display: none;
}

.article-toggle-input:checked ~ .article-toggle .toggle-open {
    display: inline;
}

.article-toggle-input:checked ~ .article-toggle .toggle-closed {
    display: none;
}

.article-toggle-input:checked ~ .details-body {
    max-height: none;
    clip-path: none;
    -webkit-mask-image: none;
    mask-image: none;
}

.section-text {
    font-size: 18px;
    line-height: 24px;
    margin: 0;
}

.section-image {
    width: 480px;
    height: auto;
    max-width: 100%;
    float: left;
    margin: 0 20px 20px 0;
}

.section-image.portrait {
    width: auto;
    height: 480px;
}

.section-image:not([src$=".jpg"]) {
    display: none;
}

.section:nth-child(even) .section-image {
    float: right;
    margin: 0 0 20px 20px;
}

.resource-list {
    list-style-type: none;
    padding-left: 0;
}
.resource-list li {
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px dashed #ecf0f1;
}
.resource-list a {
    color: #1a5276;
    text-decoration: none;
    font-weight: bold;
}
.resource-list a:hover {
    color: #1abc9c;
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .section-title {
        font-size: 24px;
    }
    h2 {
        font-size: 22px;
    }
    h3 {
        font-size: 18px;
    }
    .section-image {
        width: 320px;
        height: auto;
    }
    .section:nth-child(even) .section-image {
        width: 320px;
        height: auto;
    }
    .section-image.portrait {
        width: auto;
        height: 320px;
    }
    .section-text {
        font-size: 16px;
        line-height: 21px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 20px 20px;
    }
    .section-title {
        font-size: 22px;
    }
    .section-image {
        width: 480px;
        height: auto;
        float: none;
        margin: 5px 0 20px 0;
    }
    .section:nth-child(even) .section-image {
        float: none;
        margin: 5px 0 20px 0;
    }
    .section-image.portrait {
        width: auto;
        height: 480px;
    }
    .section-text {
        font-size: 16px;
        line-height: 18px;
    }
}

@media (max-width: 480px) {
    .section-image.portrait {
        width: 320px;
        height: auto;
    }
}

