* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Source Han Sans SC", "Source Han Sans CN", "Noto Sans SC", "思源黑体", "PingFang SC", "Microsoft YaHei", sans-serif;
    background-color: #f6faf8;
    color: #0f2b1f;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.sa-homepage {
    background-image: linear-gradient(to bottom, #18ae6a 0px, #18ae6a 300px, transparent 300px);
    background-repeat: no-repeat;
}

@font-face {
    font-family: "SA-FontAwesome";
    font-style: normal;
    font-weight: 900;
    src: url("../webfonts/fa-solid-900.woff2") format("woff2");
}

a {
    text-decoration: none;
}

.sa-home {
    flex: 1;
}

.sa-hero {
    position: relative;
    padding: 58px 20px 124px;
    --sa-arc-size: 300vw;
    overflow: hidden;
}

.sa-hero::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: var(--sa-arc-size);
    height: var(--sa-arc-size);
    border-radius: 50%;
    bottom: 0;
    background: #18ae6a;
    z-index: 0;
}

.sa-hero.sa-hero-has-bg::after {
    background-image: linear-gradient(140deg, rgba(8, 110, 64, 0.5) 0%, rgba(18, 148, 89, 0.35) 100%), var(--sa-hero-bg-image);
    background-position: center bottom, center bottom;
    background-size: cover, cover;
    background-repeat: no-repeat, no-repeat;
}

.sa-hero-inner {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    text-align: center;
}

.sa-logo-wrap {
    margin-top: 80px;
    margin-bottom: 5px;
    position: relative;
}

.sa-logo-wrap::after {
    content: "";
    width: min(100%, 500px);
    height: 1px;
    margin: 0 auto;
    display: block;
    background: rgba(245, 255, 250, 0.45);
}

.sa-logo {
    width: 500px;
    height: 120px;
    max-width: 100%;
    object-fit: contain;
}

.sa-logo-text {
    color: #f8fffc;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 2px;
}

.sa-brand-line {
    margin-bottom: 26px;
    color: #f6fff9;
}

.sa-brand-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.14);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
}

.sa-brand-title {
    margin: 14px 0 0;
    font-size: 30px;
    line-height: 1.25;
    letter-spacing: 1px;
    color: #f9fffb;
    text-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.sa-news {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 75px;
    color: rgba(255, 255, 255, 0.95);
    text-align: left;
    padding: 10px 16px;
}

.sa-news-title {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 800;
}

.sa-news-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #f3fffb;
    padding: 2px 0;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 400;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.sa-news-item:hover {
    opacity: 0.94;
    transform: translateX(2px);
}

.sa-news-item:focus-visible {
    outline: 2px solid #ecfff6;
    outline-offset: 2px;
    border-radius: 6px;
}

.sa-news-item-title {
    max-width: calc(100% - 68px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 400;
}

.sa-news-item-date {
    color: rgba(231, 255, 245, 0.95);
    font-size: 15px;
    font-weight: 700;
}

.sa-news-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    color: #f5fffb;
    font-size: 16px;
    font-weight: 400;
}

.sa-news-more-arrow {
    width: 12px;
    height: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-family: "SA-FontAwesome";
    font-size: 12px;
    font-weight: 900;
}

.sa-news-more-arrow::before {
    content: "\f105";
}

.sa-news-more:hover {
    opacity: 0.9;
}

.sa-news-more:focus-visible {
    outline: 2px solid #ecfff6;
    outline-offset: 2px;
    border-radius: 4px;
}

.sa-news-empty {
    color: rgba(237, 255, 247, 0.9);
    font-size: 16px;
    font-weight: 700;
    padding: 6px 0;
}

.sa-dots {
    display: flex;
    justify-content: center;
    column-gap: 14px;
    row-gap: 28px;
    flex-wrap: wrap;
}

.sa-dot {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: block;
    background-color: rgba(255, 255, 255, 0.16);
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.26);
    box-shadow: 0 12px 20px rgba(2, 79, 47, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.sa-dot:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 26px rgba(2, 79, 47, 0.28);
}

.sa-dot:focus-visible {
    outline: 3px solid rgba(241, 255, 248, 0.95);
    outline-offset: 2px;
}

@media (min-width: 992px) {
    .sa-dots {
        flex-wrap: nowrap;
        column-gap: 10px;
    }

    .sa-dot {
        width: calc((100% - 70px) / 8);
        max-width: 118px;
        min-width: 88px;
        height: auto;
        aspect-ratio: 1 / 1;
    }
}

.sa-action-row {
    margin-top: 75px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 196px));
    justify-content: center;
    gap: 12px;
}

.sa-action-btn {
    width: 100%;
    height: 56px;
    padding: 0 14px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #f6fffb;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 10px 18px rgba(3, 74, 45, 0.2);
    transition: transform 0.2s ease, background 0.2s ease;
}

.sa-action-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
}

.sa-action-btn:focus-visible {
    outline: 3px solid rgba(245, 255, 250, 0.95);
    outline-offset: 2px;
}

.sa-qr {
    margin-top: 75px;
    padding: 0 20px;
}

.sa-qr-inner {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.sa-qr-item {
    width: 154px;
    text-align: center;
    background: #fff;
    border: 1px solid #d8eee2;
    border-radius: 12px;
    padding: 14px 10px;
    box-shadow: 0 8px 20px rgba(8, 95, 57, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sa-qr-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(8, 95, 57, 0.12);
}

.sa-qr-item img,
.sa-qr-placeholder {
    width: 112px;
    height: 112px;
    margin: 0 auto;
    border: 1px solid #e6ece8;
    border-radius: 8px;
    display: block;
    background: #f8fbf9;
}

.sa-qr-text {
    font-size: 14px;
    color: #244436;
    margin-top: 9px;
    line-height: 1.35;
}

.sa-footer {
    text-align: center;
    margin-top: auto;
    padding: 75px 20px 32px;
    color: #2a3f35;
}

.sa-article-page {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sa-list-page {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sa-article-topbar {
    background: linear-gradient(140deg, #0e9d5d 0%, #1ab36d 52%, #139960 100%);
    padding: 18px 20px;
}

.sa-article-topbar-inner {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.sa-article-logo-link {
    display: inline-flex;
    align-items: center;
}

.sa-article-logo {
    width: min(320px, 64vw);
    height: 64px;
    max-width: 100%;
    object-fit: contain;
}

.sa-article-logo-text {
    color: #f8fffc;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
}

.sa-article-divider {
    width: 100%;
    height: 1px;
    background: #d4e7de;
}

.sa-footer-links,
.sa-footer-record {
    line-height: 1.9;
    font-size: 18px;
    font-family: "SA-Text", "Source Han Sans SC", "Source Han Sans CN", "Noto Sans SC", "思源黑体", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-weight: normal;
    white-space: normal;
}

.sa-footer-links a,
.sa-footer-record a {
    color: #1f342a;
    margin: 0 3px;
    transition: color 0.2s ease;
}

.sa-footer-links a:hover,
.sa-footer-record a:hover {
    color: #0faa62;
}

.sa-footer-links span,
.sa-footer-record span {
    margin: 0 3px;
}

.sa-list,
.sa-article {
    max-width: 900px;
    margin: 70px auto;
    padding: 0 16px;
}

.sa-list-item {
    background: #fff;
    border: 1px solid #e3eee8;
    border-radius: 12px;
    padding: 22px;
    margin-bottom: 30px;
    box-shadow: 0 8px 18px rgba(7, 74, 46, 0.05);
}

.sa-article-card {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    margin-bottom: 0;
    box-shadow: none;
}

.sa-list-item h2,
.sa-article-title {
    margin: 0 0 8px;
    font-size: 26px;
    line-height: 1.35;
}

.sa-article-cover {
    margin: 0 0 18px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #d5e8df;
    box-shadow: 0 10px 24px rgba(8, 95, 57, 0.1);
    background: #f1f8f4;
}

.sa-article-cover img {
    width: 100%;
    height: clamp(220px, 36vw, 420px);
    display: block;
    object-fit: cover;
}

.sa-list-item h2 a {
    color: #113025;
}

.sa-list-meta,
.sa-article-meta {
    color: #6d8478;
    font-size: 14px;
    margin-bottom: 12px;
}

.sa-list-desc {
    color: #2b4438;
    line-height: 1.8;
}

.sa-article-content {
    line-height: 1.9;
}

.sa-article,
.sa-article-card,
.sa-article-content {
    min-width: 0;
}

.sa-article-content {
    width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.sa-article-content p,
.sa-article-content li,
.sa-article-content blockquote,
.sa-article-content figcaption,
.sa-article-content h1,
.sa-article-content h2,
.sa-article-content h3,
.sa-article-content h4,
.sa-article-content h5,
.sa-article-content h6,
.sa-article-content td,
.sa-article-content th,
.sa-article-content a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.sa-article-content img,
.sa-article-content video,
.sa-article-content iframe,
.sa-article-content canvas,
.sa-article-content svg {
    max-width: 100%;
    height: auto;
}

.sa-article-content table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    -webkit-overflow-scrolling: touch;
}

.sa-article-content pre {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.sa-article-content pre code {
    white-space: pre;
}

.sa-article-content code {
    white-space: break-spaces;
}

.sa-article {
    flex: 1;
    margin: 56px auto 0;
    padding: 0 20px 24px;
}

.sa-list-main {
    flex: 1;
    margin: 56px auto 0;
    padding: 0 16px 24px;
}

.sa-showcase-main {
    width: 100%;
    max-width: 1040px;
    margin: 56px auto 0;
    padding: 0 16px 24px;
    flex: 1;
}

.sa-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 28px;
}

.sa-showcase-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #d5e8df;
    border-radius: 18px;
    overflow: hidden;
    color: #153629;
    box-shadow: 0 10px 24px rgba(8, 95, 57, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sa-showcase-card:hover {
    transform: translateY(-4px);
    border-color: #b8ddcc;
    box-shadow: 0 16px 32px rgba(8, 95, 57, 0.14);
}

.sa-showcase-card:focus-visible {
    outline: 3px solid rgba(16, 163, 94, 0.25);
    outline-offset: 2px;
}

.sa-showcase-cover {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid #e4f1ea;
    background: linear-gradient(180deg, #f8fcfa 0%, #eef7f2 100%);
}

.sa-showcase-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.sa-showcase-card:hover .sa-showcase-cover img {
    transform: scale(1.03);
}

.sa-showcase-cover-empty {
    color: #7d919f;
    font-size: 14px;
}

.sa-showcase-body {
    min-height: 84px;
    padding: 16px 14px;
    text-align: center;
}

.sa-showcase-body h2 {
    margin: 0;
    color: #13392b;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
}

.sa-pagination {
    margin-top: 70px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.sa-pagination a,
.sa-pagination span,
.sa-pagination em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #e6ecef;
    background: #fff;
    color: #8795a0;
    font-size: 14px;
    line-height: 1;
    font-style: normal;
    text-decoration: none;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.sa-pagination a:hover {
    border-color: #d3dde2;
    color: #687882;
    background: #f8fbfc;
}

.sa-pagination .current,
.sa-pagination > span,
.sa-pagination em {
    border-color: #e12b23;
    background: #e12b23;
    color: #fff;
    font-weight: 600;
}

.sa-pagination .next,
.sa-pagination .prev,
.sa-pagination .first,
.sa-pagination .last {
    min-width: 58px;
}

.sa-empty {
    text-align: center;
    color: #888;
    padding: 70px 0;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

@media (max-width: 768px) {
    .sa-hero {
        padding: 42px 14px 84px;
    }

    .sa-logo {
        width: 90%;
        max-width: 500px;
        height: auto;
    }

    .sa-brand-title {
        font-size: 24px;
        margin-top: 10px;
    }

    .sa-news {
        max-width: 100%;
        margin-bottom: 75px;
        padding: 12px;
    }

    .sa-news-item {
        font-size: 16px;
    }

    .sa-dot {
        width: 120px;
        height: 120px;
    }

    .sa-dots {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 120px));
        justify-content: center;
    }

    .sa-action-row {
        grid-template-columns: repeat(2, minmax(0, 180px));
        gap: 10px;
    }

    .sa-action-btn {
        height: 52px;
        font-size: 17px;
        padding: 0 10px;
    }

    .sa-qr-item {
        width: calc(50% - 10px);
        min-width: 140px;
    }

    .sa-qr-item img,
    .sa-qr-placeholder {
        width: 100px;
        height: 100px;
    }

    .sa-list-item h2,
    .sa-article-title {
        font-size: 22px;
    }

    .sa-article-cover img {
        height: clamp(180px, 52vw, 280px);
    }

    .sa-article {
        margin-top: 40px;
        padding: 0 14px 20px;
    }

    .sa-article-content table,
    .sa-article-content pre {
        font-size: 14px;
    }

    .sa-showcase-main {
        margin-top: 42px;
    }

    .sa-pagination {
        margin-top: 48px;
        gap: 6px;
    }

    .sa-pagination a,
    .sa-pagination span,
    .sa-pagination em {
        min-width: 40px;
        height: 34px;
        padding: 0 10px;
    }

    .sa-showcase-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 14px;
    }

    .sa-showcase-body h2 {
        font-size: 15px;
    }

    .sa-article-topbar {
        padding: 14px;
    }

    .sa-article-logo {
        width: min(240px, 72vw);
        height: 52px;
    }

    .sa-article-logo-text {
        font-size: 22px;
    }

    .sa-footer {
        padding: 44px 14px 24px;
    }

    .sa-footer-nav,
    .sa-footer-legal {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 2px 10px;
        line-height: 1.7;
        font-size: 14px;
    }

    .sa-footer-extra {
        margin-top: 6px;
        line-height: 1.7;
        font-size: 13px;
    }

    .sa-footer-nav span,
    .sa-footer-legal span {
        display: none;
    }

    .sa-footer-nav a,
    .sa-footer-legal a {
        margin: 0;
    }
}
