:root {
    --cream: #faf8f3;
    --navy: #1c2430;
    --gold: #b88d3e;
    --line: #e8e2d4;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--navy); font-family: "CY Sans Latin", "CY Sans CJK", Arial, sans-serif; }
.site-header { min-height: 88px; border-top: 1px solid rgba(232, 226, 212, .65); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 max(24px, calc((100% - 1180px) / 2)); background: rgba(250, 248, 243, .94); backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 20; }
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; color: var(--navy); text-decoration: none; }
.brand-logo { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; overflow: hidden; border: 1px solid #c29b53; border-radius: 50%; padding: 7px; background: #fff; box-shadow: 0 2px 8px rgba(28, 36, 48, .05); }
.brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.brand-copy strong { font-family: "CY Serif Display", Georgia, serif; font-size: 17px; line-height: 1; letter-spacing: .085em; white-space: nowrap; }
.brand-copy small { color: rgba(35, 43, 56, .78); font-size: 12px; font-weight: 500; line-height: 1; letter-spacing: .09em; white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.consult-button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 22px; border-radius: 999px; background: linear-gradient(90deg, #c29b53, #b88d3e); color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; box-shadow: 0 8px 22px rgba(194, 155, 83, .23); }
.consult-button:hover { background: #966d2a; }
.language-picker { position: relative; }
.language-trigger { min-height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; box-shadow: 0 2px 8px rgba(28, 36, 48, .04); }
.globe { color: var(--gold); font-size: 13px; line-height: 1; }
.chevron { color: #7f8791; font-size: 13px; }
.language-menu { display: none; position: absolute; top: calc(100% + 8px); right: 0; width: 144px; padding: 7px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 14px 34px rgba(28, 36, 48, .12); }
.language-menu.is-open { display: block; }
.language-menu button { display: block; width: 100%; padding: 9px 11px; border: 0; border-radius: 8px; background: transparent; color: #59616d; font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.language-menu button:hover, .language-menu button.active { background: #faf8f3; color: #966d2a; font-weight: 700; }
.shell { max-width: 1180px; margin: 0 auto; padding: 72px 24px 100px; }
.eyebrow { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 14px; }
.shell h1 { font-family: Georgia, "Songti SC", serif; font-size: clamp(32px, 5vw, 54px); margin: 0 0 14px; }
.lead { color: #68707b; max-width: 650px; line-height: 1.8; margin: 0 0 42px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; text-decoration: none; color: inherit; transition: .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(28, 36, 48, .08); border-color: #d4b068; }
.card-media { position: relative; height: 210px; overflow: hidden; background: #f3efe6; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-placeholder { width: 100%; height: 100%; background: #f3efe6; }
.card-date { position: absolute; top: 14px; right: 14px; padding: 6px 10px; border-radius: 6px; background: rgba(28, 36, 48, .9); color: #fff !important; font-size: 11px !important; font-weight: 700; box-shadow: 0 3px 10px rgba(0, 0, 0, .15); }
.card-body { padding: 22px; }
.card h2 { font-family: Georgia, "Songti SC", serif; font-size: 21px; line-height: 1.4; margin: 0 0 10px; }
.card p { font-size: 14px; line-height: 1.75; color: #68707b; margin: 0 0 16px; }
.card span { font-size: 13px; color: #966d2a; font-weight: 700; }
.api-empty { padding: 40px; border: 1px solid var(--line); border-radius: 18px; background: #fff; color: #68707b; }
.api-empty h2 { margin-top: 0; color: var(--navy); }
.back { display: inline-block; color: #966d2a; text-decoration: none; font-size: 14px; margin-bottom: 44px; }
.article-shell { max-width: 900px; }
.article-shell h1 { font-size: clamp(34px, 6vw, 58px); line-height: 1.25; }
.hero-image { display: block; width: 100%; max-height: 420px; object-fit: cover; border-radius: 24px; margin: 30px 0; }
.article-shell article { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 5vw, 58px); font-size: 17px; line-height: 2; color: #394352; }
.article-shell article p { margin: 0 0 1.4em; }
.article-shell article img { max-width: 100%; height: auto; }
.article-shell article table { max-width: 100%; }

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

@media (max-width: 560px) {
    .site-header { min-height: 76px; padding: 10px 16px; gap: 10px; }
    .brand-logo { width: 40px; height: 40px; flex-basis: 40px; }
    .brand-copy strong { font-size: 12px; }
    .brand-copy small { display: none; }
    .header-actions { gap: 8px; }
    .consult-button { display: none; }
    .language-trigger { padding: 0 11px; }
    .grid { grid-template-columns: 1fr; }
    .shell { padding-top: 48px; }
    .card-media { height: 200px; }
}
