/* Zhongshi editorial theme — layered on top of the existing Bulma/MyCMS template. */
:root {
    --zs-ink: #17201f;
    --zs-ink-soft: #25312f;
    --zs-sand: #c7a477;
    --zs-sand-light: #f4eee6;
    --zs-paper: #fbfaf7;
    --zs-line: #dcd8d0;
    --zs-muted: #6e7472;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--zs-paper);
    color: var(--zs-ink);
    font-family: "Helvetica Neue", Arial, sans-serif !important;
    -webkit-font-smoothing: antialiased;
}

body a {
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 220ms ease, opacity 180ms ease;
}

body img {
    display: block;
}

.section {
    padding-top: 5rem !important;
}

.title-block-1 {
    max-width: 760px;
    margin: 0 auto 3rem !important;
}

.title-block-1 .title {
    color: var(--zs-ink) !important;
    font-size: clamp(1.9rem, 3.4vw, 3.25rem) !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-weight: 400 !important;
    letter-spacing: -0.02em !important;
    text-transform: none !important;
}

.title-block-1 .subtitle {
    color: var(--zs-muted) !important;
    font-family: "Helvetica Neue", Arial, sans-serif !important;
    font-style: normal !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.08em;
    line-height: 1.7 !important;
    text-transform: uppercase;
}

.zs-eyebrow {
    display: block;
    margin-bottom: 1rem;
    color: var(--zs-sand);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.zs-button,
.btn a,
.more-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--zs-ink);
    background: var(--zs-ink);
    color: #fff !important;
    padding: 0.7rem 1.65rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.zs-button:hover,
.btn a:hover,
.more-button:hover {
    background: var(--zs-sand);
    border-color: var(--zs-sand);
    transform: translateY(-2px);
}

.zs-button:focus-visible,
body a:focus-visible,
body button:focus-visible,
body input:focus-visible,
body textarea:focus-visible {
    outline: 2px solid var(--zs-sand);
    outline-offset: 3px;
}

[data-reveal] {
    opacity: 1;
    transform: none;
}

.zs-motion-ready [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 560ms ease, transform 560ms cubic-bezier(.2,.7,.2,1);
}

.zs-motion-ready [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 768px) {
    .section {
        padding: 3.5rem 1rem 0 !important;
    }

    .title-block-1 {
        margin-bottom: 2rem !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .zs-motion-ready [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
