/* XIGUA ORIGINAL EDITORIAL THEME — 2026 */

:root {
    --ink: #17352b;
    --muted: #627269;
    --green: #2b7e51;
    --lime: #e0f375;
    --cream: #fcfbf5;
    --line: #e4e9df;
    --orange: #f37c55;
    --max: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cream);
    font-family: system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;
    color: var(--ink);
    line-height: 1.7;
}

img {
    display: block;
    width: 100%;
    object-fit: cover;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 4px;
}

.skip {
    position: absolute;
    top: -90px;
    background: #fff;
    padding: 12px;
    z-index: 99;
}

.skip:focus {
    top: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(252,251,245,.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.header-inner {
    max-width: var(--max);
    min-height: 78px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 38px;
    padding: 0 26px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 23px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -1px;
    white-space: nowrap;
}

.brand-mark {
    display: grid;
    place-items: center;
    background: var(--lime);
    border: 5px solid var(--green);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: var(--orange);
    font-size: 25px;
}

.brand-light {
    font-weight: 500;
}

.brand small {
    display: block;
    margin-top: 5px;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--green);
}

.desktop-nav {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 22px;
}

.desktop-nav a {
    font-size: 13px;
    white-space: nowrap;
    font-weight: 650;
}

.desktop-nav a:hover,.footer-links a:hover {
    color: var(--green);
}

.header-cta {
    display: flex;
    gap: 16px;
    align-items: center;
    white-space: nowrap;
    padding: 10px 15px;
    border-radius: 24px;
    background: var(--ink);
    color: white;
    font-size: 13px;
    font-weight: 700;
}

.hero-section {
    max-width: var(--max);
    margin: 0 auto;
    min-height: 610px;
    padding: 65px 26px 70px;
    display: grid;
    grid-template-columns: 52% 48%;
    align-items: center;
    gap: 0;
}

.hero-text {
    padding-right: 55px;
}

.hero-kicker,.overline {
    font-weight: 850;
    color: var(--green);
    font-size: 12px;
    letter-spacing: 2px;
}

.hero-kicker i {
    display: inline-block;
    width: 9px;
    height: 9px;
    background: var(--orange);
    border-radius: 50%;
    margin-right: 7px;
}

.hero-text h1 {
    margin: 24px 0;
    font-size: clamp(39px,4.3vw,65px);
    letter-spacing: -2.5px;
    line-height: 1.23;
}

.hero-text h1 em,.section-heading em {
    font-style: normal;
    color: var(--green);
}

.hero-text>p {
    font-size: 16px;
    color: #5c6b61;
    max-width: 520px;
    line-height: 2;
}

.hero-actions {
    display: flex;
    gap: 25px;
    align-items: center;
    margin-top: 35px;
    flex-wrap: wrap;
}

.btn-primary,.btn-light {
    display: inline-flex;
    align-items: center;
    gap: 34px;
    background: var(--green);
    color: white;
    border-radius: 100px;
    padding: 14px 25px;
    font-weight: 800;
    font-size: 14px;
}

.btn-plain {
    font-weight: 800;
    font-size: 13px;
    border-bottom: 1px solid currentColor;
}

.hero-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 23px;
    margin-top: 56px;
    font-size: 12px;
    color: var(--muted);
}

.hero-notes b {
    color: var(--ink);
    font-size: 20px;
    margin-right: 5px;
}

.hero-visual {
    height: 520px;
    position: relative;
}

.hero-photo {
    position: absolute;
    left: 8%;
    right: 8%;
    top: 16px;
    bottom: 52px;
    border-radius: 180px 180px 120px 70px;
    overflow: hidden;
    background: var(--lime);
}

.hero-photo img {
    height: 100%;
}

.floating-label {
    position: absolute;
    bottom: 17px;
    left: 21px;
    background: var(--cream);
    font-size: 10px;
    letter-spacing: 2px;
    padding: 9px 14px;
    border-radius: 24px;
    font-weight: 800;
}

.hero-mini {
    display: flex;
    align-items: center;
    gap: 14px;
    position: absolute;
    right: 0;
    bottom: 0;
    background: #fff;
    border-radius: 18px;
    padding: 12px 18px 12px 12px;
    box-shadow: 0 16px 32px #234e3122;
    max-width: 260px;
    transform: rotate(-4deg);
}

.hero-mini img {
    width: 77px;
    height: 76px;
    border-radius: 10px;
}

.hero-mini span {
    font-size: 11px;
    color: var(--green);
}

.hero-mini strong {
    display: block;
    font-size: 14px;
    line-height: 1.5;
}

.hero-orbit {
    position: absolute;
    top: 0;
    right: 0;
    color: var(--green);
    font-size: 10px;
    letter-spacing: 3px;
    transform: rotate(12deg);
}

.ticker {
    background: var(--lime);
    padding: 15px 26px;
    display: flex;
    justify-content: space-around;
    gap: 20px;
    text-align: center;
    color: var(--ink);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 2px;
}

.section {
    max-width: var(--max);
    margin: 0 auto;
    padding: 92px 26px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 34px;
}

.section-heading h2 {
    font-size: clamp(25px,3vw,36px);
    line-height: 1.35;
    margin: 12px 0 0;
    letter-spacing: -.8px;
}

.section-heading p {
    max-width: 310px;
    font-size: 13px;
    color: var(--muted);
}

.section-link {
    font-size: 14px;
    font-weight: 800;
    border-bottom: 1px solid var(--ink);
    white-space: nowrap;
}

.category-list {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 14px;
}

.category-tile {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 235px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    transition: transform .2s,background .2s;
}

.category-tile:hover {
    transform: translateY(-5px);
    background: var(--lime);
}

.category-no {
    font-size: 13px;
    color: var(--green);
    font-weight: 800;
}

.category-tile strong {
    font-size: 22px;
    display: block;
}

.category-tile small {
    display: block;
    color: var(--muted);
    line-height: 1.8;
    margin-top: 9px;
}

.category-arrow {
    font-size: 24px;
    align-self: flex-end;
}

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

.story-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e9ede4;
    transition: transform .2s,box-shadow .2s;
}

.story-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px #17352b15;
}

.story-card>img {
    aspect-ratio: 1.48;
}

.story-copy {
    padding: 22px 22px 20px;
}

.eyebrow {
    font-size: 11px;
    color: var(--green);
    font-weight: 850;
    letter-spacing: 1.2px;
}

.story-copy h3 {
    font-size: 19px;
    line-height: 1.5;
    min-height: 57px;
    margin: 9px 0;
}

.story-copy p {
    font-size: 13px;
    line-height: 1.9;
    color: var(--muted);
    margin: 0 0 20px;
    min-height: 50px;
}

.read-more {
    font-size: 12px;
    font-weight: 850;
    color: var(--green);
}

.highlight-band {
    max-width: calc(var(--max) - 52px);
    margin: 0 auto;
    border-radius: 25px;
    overflow: hidden;
    background: var(--ink);
    display: grid;
    grid-template-columns: 48% 52%;
    color: #fff;
}

.highlight-image img {
    height: 100%;
    min-height: 390px;
}

.highlight-content {
    padding: 60px;
}

.highlight-content .overline {
    color: var(--lime);
}

.highlight-content h2 {
    font-size: 42px;
    line-height: 1.3;
    letter-spacing: -1px;
}

.highlight-content p {
    color: #d5e2d7;
    font-size: 15px;
    line-height: 2;
}

.btn-light {
    background: var(--lime);
    color: var(--ink);
    margin-top: 15px;
}

.section-bottom {
    padding-top: 28px;
}

.ending-cta {
    max-width: calc(var(--max) - 52px);
    margin: 10px auto 90px;
    text-align: center;
    background: #e9f3d7;
    border-radius: 25px;
    padding: 65px 25px;
}

.ending-cta h2 {
    font-size: 31px;
    margin: 12px 0;
}

.ending-cta p {
    color: var(--muted);
    margin-bottom: 25px;
}

.footer {
    background: #19382c;
    color: white;
}

.footer-inner {
    max-width: var(--max);
    padding: 58px 26px 45px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-brand {
    font-weight: 900;
    font-size: 23px;
}

.footer-brand span {
    color: var(--lime);
}

.footer-inner p {
    color: #b9ccc0;
    font-size: 13px;
    max-width: 390px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3,auto);
    gap: 10px 25px;
    align-content: start;
}

.footer-links a {
    font-size: 13px;
    color: #e0e9df;
}

.footer-bottom {
    max-width: var(--max);
    margin: auto;
    padding: 18px 26px;
    border-top: 1px solid #ffffff24;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #bad0c3;
    font-size: 11px;
}

.breadcrumbs {
    max-width: var(--max);
    margin: 0 auto;
    padding: 20px 26px 0;
    font-size: 12px;
    color: var(--muted);
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.breadcrumbs a:hover {
    color: var(--green);
}

.page-intro {
    padding: 83px 26px 71px;
    text-align: center;
    background: radial-gradient(circle at 20% 20%,#ebf4d6 0,transparent 35%),radial-gradient(circle at 80% 80%,#ffe5cd 0,transparent 35%),var(--cream);
}

.page-intro h1 {
    font-size: 48px;
    line-height: 1.25;
    margin: 16px 0;
}

.page-intro p {
    max-width: 680px;
    margin: auto;
    color: var(--muted);
    line-height: 2;
}

.inner-section {
    padding-top: 54px;
}

.article-layout {
    max-width: var(--max);
    margin: 0 auto;
    padding: 53px 26px 60px;
    display: grid;
    grid-template-columns: minmax(0,770px) minmax(225px,1fr);
    gap: 65px;
}

.article-top h1 {
    font-size: clamp(30px,3.7vw,47px);
    line-height: 1.35;
    letter-spacing: -1px;
    margin: 15px 0;
}

.article-lede {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.9;
}

.article-meta {
    display: flex;
    gap: 18px;
    font-size: 12px;
    color: var(--green);
    margin: 23px 0 28px;
    flex-wrap: wrap;
}

.article-cover {
    margin: 0;
}

.article-cover img {
    width: 100%;
    aspect-ratio: 1.7;
    border-radius: 18px;
}

.article-cover figcaption {
    color: var(--muted);
    font-size: 11px;
    margin-top: 10px;
}

.article-body {
    padding-top: 27px;
}

.article-body .lead {
    font-size: 18px;
    line-height: 2;
    background: #f0f6e6;
    border-left: 4px solid var(--green);
    padding: 23px;
    border-radius: 0 10px 10px 0;
}

.article-section {
    margin-top: 42px;
}

.article-section h2 {
    font-size: 25px;
    letter-spacing: -.4px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 13px;
}

.article-section p {
    font-size: 16px;
    line-height: 2.15;
    color: #4b6056;
}

.article-end {
    margin-top: 45px;
    padding: 25px;
    background: #fff3e9;
    border-radius: 12px;
    font-size: 14px;
}

.aside-sticky {
    position: sticky;
    top: 120px;
    border-radius: 17px;
    background: white;
    padding: 26px;
    border: 1px solid var(--line);
}

.aside-sticky h2 {
    font-size: 19px;
}

.aside-sticky ol {
    padding-left: 20px;
    font-size: 13px;
    line-height: 2.4;
    color: var(--muted);
}

.aside-tip {
    border-top: 1px solid var(--line);
    padding-top: 20px;
    font-size: 13px;
}

.aside-tip a {
    color: var(--green);
    text-decoration: underline;
}

.aside-tip p {
    color: var(--muted);
    font-size: 12px;
}

.related-section {
    padding-top: 15px;
}

.prose {
    max-width: 830px;
}

.prose h2 {
    font-size: 27px;
    margin: 36px 0 10px;
}

.prose p {
    color: #52675b;
    line-height: 2.2;
    font-size: 16px;
}

@media (max-width:1050px) {
    .desktop-nav {
        gap: 12px;
    }

    .desktop-nav a {
        font-size: 12px;
    }

    .header-inner {
        gap: 16px;
    }

    .hero-section {
        min-height: 540px;
    }

    .hero-text {
        padding-right: 25px;
    }

    .hero-visual {
        height: 440px;
    }

    .article-layout {
        gap: 25px;
    }

    .highlight-content {
        padding: 38px;
    }

    .highlight-content h2 {
        font-size: 34px;
    }
}

@media (max-width:760px) {
    .header-inner {
        min-height: 69px;
        padding: 0 18px;
        flex-wrap: wrap;
        gap: 0;
    }

    .brand {
        font-size: 19px;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
    }

    .header-cta {
        margin-left: auto;
        font-size: 11px;
        padding: 8px 13px;
    }

    .desktop-nav {
        flex-basis: 100%;
        order: 3;
        overflow: auto;
        justify-content: flex-start;
        padding: 8px 0 10px;
        gap: 19px;
        scrollbar-width: none;
    }

    .desktop-nav a {
        font-size: 12px;
    }

    .hero-section {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 42px 20px 55px;
    }

    .hero-text {
        padding-right: 0;
    }

    .hero-text h1 {
        font-size: 40px;
        letter-spacing: -1px;
    }

    .hero-text>p {
        font-size: 14px;
    }

    .hero-actions {
        gap: 17px;
    }

    .hero-notes {
        margin-top: 28px;
    }

    .hero-visual {
        width: 100%;
        height: 410px;
        margin-top: 25px;
    }

    .hero-photo {
        left: 2%;
        right: 6%;
        bottom: 35px;
        border-radius: 110px 110px 80px 35px;
    }

    .hero-mini {
        right: 0;
    }

    .ticker {
        flex-direction: column;
        gap: 4px;
        font-size: 10px;
        letter-spacing: 1px;
    }

    .section {
        padding: 60px 18px;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
        gap: 9px;
    }

    .section-heading h2 {
        font-size: 27px;
    }

    .category-list {
        grid-template-columns: repeat(2,1fr);
    }

    .category-tile {
        min-height: 205px;
        padding: 17px;
    }

    .category-tile strong {
        font-size: 19px;
    }

    .story-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 12px;
    }

    .story-copy {
        padding: 15px;
    }

    .story-copy h3 {
        font-size: 15px;
        min-height: 65px;
    }

    .story-copy p {
        font-size: 12px;
        min-height: 70px;
    }

    .highlight-band {
        margin: 0 18px;
        display: block;
    }

    .highlight-image img {
        min-height: 0;
        height: 235px;
    }

    .highlight-content {
        padding: 27px;
    }

    .highlight-content h2 {
        font-size: 30px;
    }

    .ending-cta {
        margin: 0 18px 55px;
        padding: 40px 18px;
    }

    .ending-cta h2 {
        font-size: 26px;
    }

    .footer-inner {
        display: block;
        padding: 40px 20px;
    }

    .footer-links {
        margin-top: 25px;
        grid-template-columns: repeat(2,auto);
    }

    .footer-bottom {
        padding: 16px 20px;
        flex-direction: column;
    }

    .page-intro {
        padding: 55px 20px;
    }

    .page-intro h1 {
        font-size: 37px;
    }

    .article-layout {
        display: block;
        padding: 35px 18px;
    }

    .article-aside {
        display: none;
    }

    .article-section h2 {
        font-size: 21px;
    }

    .article-section p {
        font-size: 15px;
    }

    .article-body .lead {
        font-size: 16px;
    }

    .breadcrumbs {
        padding: 14px 18px 0;
    }
}

@media (max-width:400px) {
    .story-grid {
        grid-template-columns: 1fr;
    }

    .story-copy h3,.story-copy p {
        min-height: 0;
    }

    .category-list {
        grid-template-columns: 1fr;
    }

    .category-tile {
        min-height: 150px;
    }

    .hero-text h1 {
        font-size: 34px;
    }

    .hero-visual {
        height: 340px;
    }
}

/* Five home topic categories on wide screens. */

@media (min-width: 761px) {
    .category-list {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

/* Keyboard access and reduced-motion accessibility. */

:focus-visible {
    outline: 3px solid #ed8b37;
    outline-offset: 3px;
}

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