#header,
#navigation,
#footer {
    width: 100%;
}

.site-header {

    background: white;
    padding: 20px 0;
    position: relative;
    z-index: 2;

}


.header-container {

    display: flex;
    align-items: center;
   
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;

    position: relative;

}

.main-container {

    max-width: 1200px;
    margin: auto;
    padding: 0 20px;

}

.logo {

    width: 80px;
    height: auto;

}

.logo-section {
    flex: 0 0 auto;
}

.title-section {

    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;

}


.title-section h1 {

    margin: 0;
    font-size: 32px;

}


.subtitle {

    color: #666;
    margin-top: 10px;

}


.language-section a {

    text-decoration: none;
    color: #333;

}


body {

    margin: 0;
    font-family: Arial, "Microsoft YaHei", sans-serif;
    background: #f3f6f8;
    color: #333;

}



#navigation {
    background: #ffffff;
    position: relative;
    z-index: 2;
}



nav {

    padding: 15px 0;
    text-align: center;
    background: white;

}


nav a {

    margin: 0 10px;
    text-decoration: none;
    color: #333;
    font-weight: bold;

}


nav a:hover {

    color: #0066cc;

}



.slideshow {

    width: 100%;
    text-align: center;
    background: #ddd;

}


.slideshow img {

    width: 90%;
    max-width: 1000px;
    height: 400px;
    object-fit: cover;

}



.welcome {
    background: #f3f6f8;
    margin: 30px auto;
    padding: 25px;
    max-width: 900px;
    border-radius: 8px;
    text-align: center;
}

.welcome h2 {
    color: #3f5f75;
    margin-bottom: 10px;
}

.welcome p {
    color: #6b7280;
    margin: 0;
}


.cards {
    display: grid;
    grid-template-columns: repeat(3, 250px);
    justify-content: center;
    gap: 20px;
}


.card {

    background: white;
    width: 250px;
    padding: 20px;
    border-radius: 8px;

}

.home-cards {
    display: grid;
    grid-template-columns: repeat(4, 250px);
    justify-content: center;
    gap: 20px;
}

.site-footer {

    margin-top: 40px;
    padding: 20px;
    text-align: center;
    background: #333;
    color: white;

}

.main-navigation ul {

    display: flex;
    justify-content: center;
    align-items: center;

    list-style: none;

    margin: 0;
    padding: 0;

}


.main-navigation li {

    margin: 0 10px;

}


/* ==============================
   About Us Page Layout
   Version 1.1
   ============================== */


.page-title h1 {
    margin: 0;
    font-size: 32px;
}



.about-content {

    max-width: 900px;

    margin: 0 auto;

    padding: 15px 20px;

}


/* ==============================
   About Us Page Layout
   Version 1.2
   ============================== */


.page-title {
    text-align: center;
    padding: 15px 20px;
}



.about-content h2 {
    margin-top: 22px;
    margin-bottom: 10px;
    font-size: 24px;
}

.about-content h3 {
    margin-top: 12px;
    margin-bottom: 6px;
    font-size: 20px;
}

.about-content p {
    line-height: 1.6;
    margin-bottom: 10px;
}

.about-content ul {

    margin-top: 5px;

    margin-bottom: 10px;

}


.about-content li {

    margin-bottom: 3px;

}

/* ================================
   Activities Page
   Activity Card Component
================================ */


/* Introduction area */

.activities-intro {

    max-width: 900px;

    margin: 40px auto;

    text-align: center;

}



/* Card container */

.activities-container {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 30px;

    max-width: 900px;

    margin: 40px auto 60px auto;

}



/* Activity card */

.activity-card {

    background: white;

    border-radius: 10px;

    overflow: hidden;

    box-shadow: 0 2px 8px rgba(0,0,0,0.15);

}



/* Activity image */

.activity-card img {

    width: 100%;

    height: 220px;

    object-fit: cover;

}



/* Card content */

.activity-info {

    padding: 20px;

    text-align: center;

}



.activity-info h2 {

    margin-top: 0;

}



/* Button */

.activity-button {

    display: inline-block;

    margin-top: 15px;

    padding: 8px 20px;

    text-decoration: none;

    border-radius: 5px;

}



/* Mobile display */

@media (max-width: 700px) {


    .activities-container {

        grid-template-columns: 1fr;

    }


}

main {

    overflow: auto;

}

/* ================================
   Activity Detail Page
================================ */


.activity-detail {

    max-width: 900px;

    margin: 40px auto 60px auto;

    line-height: 1.8;

}



.activity-detail img {

    width: 100%;

    max-width: 900px;

    max-height: 450px;

    object-fit: cover;

    border-radius: 10px;

    display: block;

    margin: 0 auto 30px auto;

}


.activity-detail h2 {

    margin-top: 30px;

}



.activity-detail ul {

    padding-left: 30px;

}

/* Page Navigation */
.page-navigation {
    margin: 40px 0;
    text-align: center;
}

.nav-button {
    display: inline-block;
    margin: 8px;
    padding: 10px 22px;
    background: #0056b3;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background 0.3s;
}

.nav-button:hover {
    background: #003d82;
}


/* Community Calendar */

.activity-form {

    max-width: 900px;

    margin: 30px auto;

    padding: 15px;

    border: 1px solid #ddd;

    border-radius: 8px;

}


.activity-row {

    display: flex;

    padding: 8px 0;

    line-height: 1.5;

}


.activity-row label {

    width: 150px;

    font-weight: bold;

}


.activity-row span {

    flex: 1;

}



@media screen and (max-width: 600px) {


    .activity-row {

        display: block;

    }


    .activity-row label {

        width: auto;

        display: block;

        margin-bottom: 3px;

    }


}


.calendar-events {

    max-width: 900px;

    margin: 20px auto;

    padding-left: 15px;
    padding-right: 15px;

}



/* Community Calendar Cards */

.event-card {

    background: white;

    padding: 20px;

    margin-bottom: 25px;

    border-radius: 10px;

    box-shadow: 0 2px 8px rgba(0,0,0,0.15);

}


.news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px;
}

@media (max-width: 600px) {
    .news-container {
        padding: 15px 15px;
    }
}

.news-grid {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.news-button {
    margin-left: 10px;
    white-space: nowrap;
}


.news-card {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 25px;
}

.page-description {
    text-align: center;
}

.news-card img {
    width: 28%;
    max-width: 220px;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
}

/*
*/
/* ================================
   Community Calendar
================================ */

.calendar-introduction {
    width: 100%;
    text-align: center;
    margin: 30px auto;
}

.calendar-introduction h1 {
    font-size: 1.8rem;
    margin: 0;
    text-align: center;
}

.news-item {
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
}


.stay-connected {
    margin-top: 30px;
}

.news-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}


/* ================================
   New Calendar Event Cards
================================ */

#calendar-events {

    max-width: 900px;

    margin: 30px auto;

    padding: 0 15px;

}


.calendar-card {

    background: white;

    border: 1px solid #ddd;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);

    border-radius: 10px;

    padding: 25px;

    margin-bottom: 25px;

}


.calendar-card h3 {

    margin-top: 0;

    font-size: 24px;

}


.calendar-card p {

    margin: 10px 0;

    line-height: 1.6;

}

.calendar-address {
    overflow-wrap: anywhere;
}

.calendar-map-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin: 0 0 16px;
    padding: 8px 16px;
    box-sizing: border-box;
    border-radius: 8px;
    background: #145a9e;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.calendar-map-link:focus-visible,
.calendar-map-link:hover {
    background: #0d4379;
    text-decoration: underline;
}


.member-card {
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    text-align: center;
    background-color: #fafafa;
}

.member-info {
    text-align: center;
}

.members-intro {
    text-align: center;
}


.page-header {
    text-align: center;
    padding: 20px 20px 10px;
}

.page-header .page-title {
    margin-bottom: 8px;
}

.page-header .page-description {
    margin-bottom: 10px;
}

.content-section {
    padding: 15px 30px 30px;
    margin: 0 auto;
    max-width: 900px;
}

.map-container {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.map-container iframe {
    width: 100%;
    border: 0;
}


/* ==============================
   About Us - Activities Preview
   ============================== */

.about-activities-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-activity-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.about-activity-image {
    width: 300px;
    height: 169px;
    object-fit: cover;
    flex-shrink: 0;
}

.about-activity-info {
    flex: 1;
}

.about-activity-info h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.about-activity-info p {
    margin: 0;
    line-height: 1.6;
}


/* ==============================
   About Us - Mobile
   ============================== */

@media (max-width: 600px) {

    .about-activity-card {
        flex-direction: column;
        align-items: stretch;
    }

    .about-activity-image {
        width: 100%;
        height: auto;
    }

}


/* ==============================
   About Us - Leadership Table
   ============================== */

.leadership-table {
    width: auto;
    border-collapse: collapse;
    margin-top: 10px;
}

.leadership-table th,
.leadership-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.leadership-table th {
    font-weight: bold;
}

.leadership-table th:nth-child(1),
.leadership-table td:nth-child(1) {
    min-width: 150px;
}

.leadership-table th:nth-child(2),
.leadership-table td:nth-child(2) {
    min-width: 220px;
}

.leadership-table th:nth-child(3),
.leadership-table td:nth-child(3) {
    min-width: 100px;
}


/* ==============================
   Leadership - Mobile
   ============================== */

@media (max-width: 600px) {

    .leadership-table {
        width: 100%;
        font-size: 14px;
    }

    .leadership-table th,
    .leadership-table td {
        padding: 8px 6px;
    }

    .leadership-table th:nth-child(1),
    .leadership-table td:nth-child(1) {
        min-width: 0;
    }

    .leadership-table th:nth-child(2),
    .leadership-table td:nth-child(2) {
        min-width: 0;
    }

    .leadership-table th:nth-child(3),
    .leadership-table td:nth-child(3) {
        min-width: 0;
    }

}

/*================*/
/*    cards       */
/*================*/


.home-cards .card:nth-child(1) {
    background: #eaf3f8;
}

.home-cards .card:nth-child(2) {
    background: #edf7ed;
}

.home-cards .card:nth-child(3) {
    background: #fff8df;
}

.home-cards .card:nth-child(4) {
    background: #f3eef8;
}

/* Public Activities Table */

.activities-public-table {
    width: 100%;
    border-collapse: collapse;
}

.activities-public-table th,
.activities-public-table td {
    padding: 10px 20px;
    text-align: left;
}

.activities-public-table th:first-child,
.activities-public-table td:first-child {
    width: 160px;
    white-space: nowrap;
}

.activities-public-table th:last-child,
.activities-public-table td:last-child {
    padding-left: 30px;
}

@media (max-width: 600px) {
    .title-section h1 {
        letter-spacing: -0.5px;
    }
}

@media (max-width: 600px) {

    .home-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        justify-items: center;
    }

}

@media (max-width: 600px) {

    .title-section {
        position: static;
        transform: none;
        width: 100%;
        text-align: center;
    }

}

/* =========================================
   Calendar
========================================= */

.calendar-events {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.calendar-card {
    width: 100%;
    max-width: 700px;
    margin: 0 auto 24px auto;
    box-sizing: border-box;
}


/* =========================================
   Public Picture Wall
   ========================================= */

#gallery-container {
    width: 100%;
}

#gallery-container h3 {
    margin: 25px 0 10px 0;
    text-align: center;
    font-size: 24px;
}


/* =========================================
   Picture Grid
   Desktop: 3 pictures per row
   ========================================= */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
    margin: 20px 0 40px 0;
}


/* =========================================
   Picture Item
   ========================================= */

.gallery-item {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}


/* =========================================
   Gallery Picture
   ========================================= */

.gallery-item img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    margin: 0;
    border-radius: 8px;
}


/* =========================================
   Picture Description
   ========================================= */

.gallery-item p {
    margin: 8px 0;
    line-height: 1.4;
}


/* =========================================
   Event Date
   ========================================= */

.gallery-event-date {
    margin-bottom: 8px;
    font-size: 14px;
}


/* =========================================
   Mobile Picture Wall
   2 pictures per row
   ========================================= */

@media (max-width: 600px) {

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        width: 100%;
        margin: 20px 0 30px 0;
    }

    .gallery-item img {
        width: 100%;
        height: 180px;
    }
}

.gallery-content-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px 30px;
    box-sizing: border-box;
}

/* One responsive layout for desktop, tablet, and phone screens. */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

img,
video,
iframe {
    max-width: 100%;
}

.header-container,
.main-container,
.about-content,
.activities-container,
.activity-detail,
.calendar-events,
.content-section,
.news-container,
.gallery-content-section {
    width: min(100% - 32px, 1200px);
}

.home-cards,
.cards {
    width: min(100% - 32px, 1120px);
    margin: 30px auto;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.home-cards .card,
.cards .card,
.card {
    width: auto;
    min-width: 0;
}

.main-navigation ul {
    flex-wrap: wrap;
    row-gap: 8px;
}

.main-navigation li {
    margin: 0 8px;
}

@media (max-width: 760px) {
    .site-header {
        padding: 14px 0;
    }

    .header-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 16px;
    }

    .title-section {
        position: static;
        transform: none;
        width: calc(100% - 90px);
        text-align: left;
    }

    .title-section h1 {
        font-size: clamp(20px, 5vw, 28px);
        line-height: 1.2;
    }

    .subtitle {
        margin-top: 5px;
        font-size: 14px;
    }

    .logo {
        width: 64px;
    }

    .main-navigation {
        padding: 10px 12px;
    }

    .main-navigation ul {
        gap: 6px 12px;
    }

    .main-navigation ul li:first-child {
        display: list-item;
    }

    .main-navigation li {
        margin: 0;
    }

    .main-navigation a {
        display: inline-block;
        padding: 6px 2px;
        font-size: 15px;
    }

    .slideshow img {
        width: 100%;
        height: clamp(190px, 52vw, 360px);
    }

    .welcome {
        width: min(100% - 32px, 900px);
        margin: 20px auto;
        padding: 20px 16px;
    }

    .home-cards,
    .cards,
    .activities-container {
        width: min(100% - 32px, 900px);
        grid-template-columns: 1fr;
        gap: 14px;
        margin: 20px auto 36px;
    }

    .news-container,
    .content-section {
        padding: 16px;
    }

    .news-card {
        padding: 16px;
    }

    .news-card img {
        width: 100%;
        max-width: none;
        height: auto;
        max-height: 320px;
        object-fit: contain;
    }

    .activity-detail,
    .calendar-events,
    .about-content {
        margin-top: 20px;
        margin-bottom: 32px;
    }

    .activity-form {
        width: min(100% - 32px, 900px);
    }

    .activities-public-table {
        display: block;
        overflow-x: auto;
        white-space: normal;
    }

    .activities-public-table th:first-child,
    .activities-public-table td:first-child {
        width: auto;
        white-space: nowrap;
    }
}

@media (max-width: 420px) {
    .header-container,
    .main-container,
    .about-content,
    .activities-container,
    .activity-detail,
    .calendar-events,
    .content-section,
    .news-container,
    .gallery-content-section,
    .home-cards,
    .cards {
        width: calc(100% - 24px);
    }

    .page-title h1,
    .page-title,
    .calendar-introduction h1 {
        font-size: 25px;
    }

    .activity-row label {
        width: auto;
    }
}

/* Phone-first accessibility: comfortable reading and touch targets. */
@media (max-width: 760px) {
    body {
        font-size: 18px;
        line-height: 1.6;
    }

    p,
    li,
    label,
    input,
    select,
    textarea,
    button {
        font-size: 18px;
        line-height: 1.5;
    }

    .home-cards,
    .cards,
    .activities-container {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 22px;
    }

    .card h2,
    .card h3,
    .activity-info h2 {
        font-size: 23px;
        line-height: 1.3;
    }

    .card-button,
    .button,
    .activity-button,
    .nav-button,
    button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 50px;
        padding: 10px 18px;
    }

    .main-navigation a {
        min-height: 48px;
        padding: 8px 4px;
        font-size: 18px;
    }

    input,
    select,
    textarea {
        max-width: 100%;
        padding: 10px 12px;
    }

    .page-description,
    .welcome p,
    .activities-intro,
    .members-intro {
        font-size: 18px;
        line-height: 1.65;
    }
}

:focus-visible {
    outline: 3px solid #075db5;
    outline-offset: 3px;
}

/* Mobile-first foundation: this is the default layout at every screen size. */
body {
    font-size: 18px;
    line-height: 1.6;
}

.header-container {
    width: calc(100% - 32px);
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
}

.logo {
    width: 64px;
}

.title-section {
    position: static;
    transform: none;
    width: calc(100% - 90px);
    text-align: left;
}

.title-section h1 {
    font-size: clamp(20px, 5vw, 28px);
    line-height: 1.2;
}

.subtitle {
    margin-top: 5px;
    font-size: 15px;
}

.main-navigation ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 12px;
}

.main-navigation ul li:first-child {
    display: list-item;
}

.main-navigation li {
    margin: 0;
}

.main-navigation a {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 8px 4px;
    font-size: 18px;
}

.slideshow img {
    width: 100%;
    height: clamp(190px, 52vw, 360px);
}

.welcome,
.home-cards,
.cards,
.activities-container,
.activity-detail,
.calendar-events,
.about-content,
.content-section,
.news-container,
.gallery-content-section {
    width: calc(100% - 32px);
}

.welcome {
    margin: 20px auto;
    padding: 20px 16px;
}

.home-cards,
.cards,
.activities-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 20px auto 36px;
}

.card {
    width: auto;
    min-width: 0;
    padding: 22px;
}

.card h2,
.card h3,
.activity-info h2 {
    font-size: 23px;
    line-height: 1.3;
}

.card-button,
.button,
.activity-button,
.nav-button,
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 10px 18px;
    font: inherit;
}

input,
select,
textarea {
    max-width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    font: inherit;
}

.page-description,
.welcome p,
.activities-intro,
.members-intro {
    font-size: 18px;
    line-height: 1.65;
}

.activity-row {
    display: block;
}

.activity-row label {
    display: block;
    width: auto;
    margin-bottom: 4px;
}

.news-container,
.content-section {
    padding: 16px;
}

.news-card {
    padding: 16px;
}

.news-card img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    max-height: 320px;
    object-fit: contain;
}

.gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
}

.gallery-item img {
    height: auto;
    max-height: 380px;
}

.about-activity-card {
    flex-direction: column;
    align-items: stretch;
}

.about-activity-image {
    width: 100%;
    height: auto;
}

.leadership-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    font-size: 17px;
}

.leadership-table th,
.leadership-table td {
    min-width: 0 !important;
    padding: 10px 8px;
}

.activities-public-table {
    display: block;
    overflow-x: auto;
}

/* Desktop enhancements build on the same mobile-first components. */
@media (min-width: 761px) {
    .header-container {
        width: min(100% - 40px, 1200px);
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 0;
    }

    .logo {
        width: 80px;
    }

    .title-section {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        text-align: center;
    }

    .title-section h1 {
        font-size: 32px;
    }

    .subtitle {
        margin-top: 10px;
        font-size: 15px;
    }

    .slideshow img {
        width: 90%;
        height: 400px;
    }

    .welcome,
    .home-cards,
    .cards,
    .activities-container,
    .activity-detail,
    .calendar-events,
    .about-content,
    .content-section,
    .news-container,
    .gallery-content-section {
        width: min(100% - 40px, 1200px);
    }

    .welcome {
        padding: 25px;
        margin: 30px auto;
    }

    .home-cards,
    .cards {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 20px;
        margin: 30px auto;
    }

    .activities-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
        margin: 40px auto 60px;
    }

    .card {
        padding: 20px;
    }

    .activity-row {
        display: flex;
    }

    .activity-row label {
        display: block;
        flex: 0 0 150px;
        margin: 0;
    }

    .news-container,
    .content-section {
        padding: 20px 30px 30px;
    }

    .news-card {
        padding: 20px;
    }

    .news-card img {
        display: inline-block;
        width: 28%;
        max-width: 220px;
        height: 150px;
        object-fit: cover;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 25px;
    }

    .gallery-item img {
        height: 260px;
    }

    .about-activity-card {
        flex-direction: row;
        align-items: center;
    }

    .about-activity-image {
        flex: 0 0 300px;
        width: 300px;
        height: 169px;
    }

    .leadership-table {
        display: table;
        width: auto;
        overflow: visible;
        font-size: 18px;
    }

    .leadership-table th:nth-child(1),
    .leadership-table td:nth-child(1) {
        min-width: 150px !important;
    }

    .leadership-table th:nth-child(2),
    .leadership-table td:nth-child(2) {
        min-width: 220px !important;
    }

    .leadership-table th:nth-child(3),
    .leadership-table td:nth-child(3) {
        min-width: 100px !important;
    }
}

/* Shared visual language based on the former mobile pages, used everywhere. */
.site-header {
    padding: 12px 16px;
    background: #f5f7fa;
    border-bottom: 1px solid #d9dde3;
}

.header-container {
    width: min(100%, 1200px);
    min-height: 52px;
    margin: 0 auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 12px;
}

.site-menu-button {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    min-height: 48px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #333;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.logo {
    display: block;
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.title-section {
    position: static;
    flex: 1;
    width: auto;
    transform: none;
    text-align: left;
}

.title-section h1 {
    margin: 0;
    font-size: clamp(18px, 2.5vw, 26px);
    line-height: 1.25;
}

.title-section .subtitle {
    display: none;
}

.main-navigation {
    display: none;
    width: 100%;
    padding: 0;
    text-align: left;
    background: #fff;
    border-bottom: 1px solid #d9dde3;
}

.main-navigation.show {
    display: block;
}

.main-navigation ul {
    display: block;
    width: min(100%, 1200px);
    margin: 0 auto;
    padding: 0 16px;
}

.main-navigation li {
    display: block;
    margin: 0;
}

.main-navigation a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 52px;
    padding: 12px 4px;
    border-bottom: 1px solid #eee;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
}

.news-button,
.news-history-link {
    display: inline-flex;
    align-items: center;
    min-height: 50px;
    margin: 10px 8px 0 0;
    padding: 10px 18px;
    border: 1px solid #ccc;
    border-radius: 8px;
    color: #333;
    background: #fff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
}

.news-full-article {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    line-height: 1.7;
}

.main-navigation a:hover,
.main-navigation a:focus-visible {
    background: #f5f7fa;
}

.nav-home-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-home-icon {
    display: block;
    width: 1.15em;
    height: 1.15em;
    flex: 0 0 auto;
}

.home-cards .card,
.home-cards .card:nth-child(n),
.cards .card,
.card {
    background: #fff !important;
    border: 1px solid #ddd;
    border-radius: 10px;
    text-align: center;
}

.card-button,
.button,
.activity-button,
.nav-button {
    width: 80%;
    max-width: 280px;
    margin: 0 auto;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}


.site-footer .footer-contact a {
    color: #d8c5a1;
    text-underline-offset: 3px;
}

.site-footer .footer-contact a:hover,
.site-footer .footer-contact a:focus-visible {
    color: #fff;
}
