/* Homepage: warm wood and ink. Centered column, about 1080px. */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; }
body {
    margin: 0;
    min-width: 0;
    overflow-x: hidden;
    background: #e4d0b0;
    color: #2a1c12;
    font-family: "PingFang TC", "Noto Sans CJK TC", "Noto Sans TC", "Microsoft JhengHei", "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a:focus-visible, button:focus-visible {
    outline: 3px solid #8d2e28;
    outline-offset: 2px;
}
.wrap {
    width: min(1080px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}
.brand { text-align: center; padding: 8px 0 6px; }
.brand img { width: 180px; height: auto; background: #fbf4e6; border-radius: 8px; padding: 4px 8px; }
.site-header { background: transparent; }
h2, .hero a, .hero p {
    font-family: "Songti TC", "Noto Serif CJK TC", "PMingLiU", "Microsoft JhengHei", serif;
}
body .lgs-lang { color: #2a1c12; }
body .lgs-lang a { color: #8d2e28; }
body .lgs-lang .lgs-lang-current { color: #2a1c12; }
.site-nav {
    background: #3b291c;
    border-top: 3px solid #a68456;
    border-bottom: 3px solid #a68456;
    padding: 0;
}
.menu-toggle {
    display: none;
    width: 100%;
    min-height: 48px;
    border: 0;
    background: #3b291c;
    color: #f8efdf;
    font: inherit;
    font-size: 17px;
    cursor: pointer;
}
.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 2px;
    padding: 8px 0;
}
.nav-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 10px;
    color: #f8efdf;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    letter-spacing: 0;
}
.nav-links a:hover { background: #5a4030; }
.announcement { background: transparent; }
.stage {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 36px;
    background: #fbf4e6;
    border: 10px solid #6b4a30;
    outline: 2px solid #c9ad86;
    outline-offset: -6px;
    padding: 26px 24px 30px;
    margin-top: 22px;
    margin-bottom: 26px;
}
.hero { flex: 0 1 340px; min-width: 0; text-align: center; }
.hero img { width: 100%; height: auto; display: block; border: 8px solid #c9ad86; }
.hero a { display: inline-block; max-width: 100%; color: #8d2e28; text-decoration: none; font-weight: 600; }
.hero p { margin: 14px 0 0; color: #5a4030; }
.news { flex: 1 1 560px; min-width: 0; }
.news h2 { margin: 0 0 8px; font-size: 1.7rem; line-height: 1.3; font-weight: 600; }
.news-note { color: #5a4030; font-size: 0.92rem; }
.news ul { margin: 8px 0 0; padding-left: 1.2em; }
.news li { margin: 0.35em 0; }
.news li:first-child { margin-top: 0; }
.news br { display: none; }
.news li::marker { color: #8d2e28; }
.site-footer { background: #3b291c; color: #f8efdf; text-align: center; padding: 22px 0 28px; }
.share { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 10px; margin: 0 0 12px; }
body .share .lgs-lang { margin: 0; color: #f8efdf; font-size: 16px; }
body .share .lgs-lang a,
body .share .lgs-lang .lgs-lang-current {
    color: #f8efdf;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 4px 2px;
}
.share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
}
#footer-email { margin: 8px 0; }
#footer-email a, #title { color: #f8efdf; }
#title { margin: 0; }
@media screen and (max-width: 800px) {
    body { font-size: 16px; }
    .wrap { width: min(1080px, calc(100% - 24px)); }
    .js .menu-toggle { display: block; }
    .js .nav-links { display: none; flex-direction: column; align-items: stretch; padding: 0; }
    .js .nav-links.active { display: flex; }
    .nav-links { flex-direction: column; align-items: stretch; }
    .nav-links a { width: 100%; }
    .stage { flex-direction: column; align-items: stretch; gap: 22px; border-width: 8px; padding: 16px 14px 20px; }
    .hero { flex-basis: auto; }
    .news h2 { font-size: 1.45rem; }
}
