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;
}

.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 {
    display: flex;
    align-items: flex-start;
}

.section-content summary {
    display: block;
    cursor: pointer;
}

.section-text {
    font-size: 18px;
    line-height: 24px;
    margin: 0 20px;
}

.section-image {
    width: 480px;
    height: auto;
    max-width: 100%;
    padding-top: 40px;
}

.section-image.portrait {
    width: auto;
    height: 480px;
}

.section-image:not([src$=".jpg"]) {
    display: none;
}

.section:nth-child(even) .section-content {
    flex-direction: row-reverse;
}

.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-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-content {
        flex-direction: column;
    }
    .section-image {
        width: 480px;
        height: auto;
        padding-top: 5px;
    }
    .section-image.portrait {
        width: auto;
        height: 480px;
    }
    .section-text {
        font-size: 16px;
        line-height: 18px;
        margin: 0;
    }
    .section:nth-child(even) .section-content {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .section-image.portrait {
        width: 320px;
        height: auto;
    }
}

