:root {
    --green: #08724d;
    --green-dark: #061e18;
    --green-soft: #e4f1eb;
    --gold: #edbd51;
    --gold-soft: #fff1cc;
    --ink: #0c1815;
    --muted: #5b6c67;
    --line: #e3e9e5;
    --paper: #f7f9f6;
    --white: #fff;
    --danger: #a52f2f;
    --radius: 20px;
    --shadow: 0 18px 45px rgba(5, 26, 20, .07);
    --shadow-deep: 0 26px 70px rgba(5, 26, 20, .16);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, "Segoe UI", Arial, sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--green); }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.12; font-family: "Segoe UI", Arial, sans-serif; letter-spacing: -.045em; margin: 0 0 .65rem; }
h1 { font-size: clamp(2rem, 4vw, 3.3rem); }
h2 { font-size: clamp(1.35rem, 2vw, 1.8rem); }
p { margin: 0 0 1rem; }
.reading-progress { position: fixed; z-index: 1000; left: 0; top: 0; height: 4px; width: 0; background: var(--gold); }
.site-header { position: sticky; top: 0; z-index: 20; height: 80px; background: rgba(255,255,255,.88); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(227,233,229,.8); display: flex; gap: 31px; align-items: center; padding: 0 max(calc((100% - 1340px) / 2), 20px); }
.brand { display: inline-flex; color: var(--green-dark); font-size: 1.48rem; font-weight: 850; letter-spacing: .09em; }
.brand span { color: var(--gold); }
.menu-toggle { font-size: 1.45rem; border: 0; background: none; color: var(--green); cursor: pointer; padding: 8px; }
.desktop-nav { display: flex; gap: 25px; font-size: .95rem; font-weight: 600; margin-right: auto; color: #33443e; }
.header-actions { display: flex; align-items: center; gap: 13px; white-space: nowrap; }
.subscribe, .button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--green); color: var(--white) !important; border: 0; padding: 12px 21px; border-radius: 999px; font-weight: 700; cursor: pointer; transition: transform .18s, box-shadow .18s, background .18s; }
.subscribe:hover, .button:hover { background: #075e40; transform: translateY(-1px); box-shadow: 0 12px 28px rgba(8,114,77,.21); }
.button.outline { background: transparent; color: var(--green) !important; border: 1px solid var(--green); }
.button.secondary { color: var(--green-dark) !important; background: var(--white); border: 1px solid var(--line); }
.button.accent { background: var(--gold); color: var(--green-dark) !important; }
.lang { border: 1px solid var(--line); padding: 6px 11px; border-radius: 30px; }
.account { font-weight: bold; max-width: 130px; overflow: hidden; text-overflow: ellipsis; }
.drawer { background: var(--green-dark); color: #fff; position: fixed; inset: 0 auto 0 0; z-index: 30; width: min(360px, 88vw); transform: translateX(-102%); transition: transform .22s; padding: 84px 32px 30px; display: flex; flex-direction: column; gap: 19px; box-shadow: var(--shadow-deep); }
.drawer.open { transform: none; }
.drawer a { font-size: 1.16rem; border-bottom: 1px solid rgba(255,255,255,.13); padding-bottom: 13px; }
.drawer-close { position: absolute; top: 16px; right: 24px; font-size: 2.2rem; background: none; border: 0; color: #fff; }
.page { width: min(1340px, calc(100% - 44px)); margin: 0 auto; min-height: 58vh; padding: clamp(26px, 4vw, 46px) 0 78px; }
.flash { border-radius: 9px; padding: 13px 16px; margin: 0 0 24px; background: #eef4d9; color: #384907; }
.flash.error { background: #f9e0df; color: var(--danger); }
.flash.success { background: #dcefe3; color: var(--green); }
.welcome { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(380px, 1fr) 375px; align-items: center; gap: clamp(34px, 7vw, 96px); color: white; background: var(--green-dark); border-radius: 32px; padding: clamp(36px, 7vw, 72px); margin: 4px 0 25px; box-shadow: var(--shadow-deep); }
.welcome:after { content: ""; position: absolute; right: -12%; top: -52%; width: 630px; height: 630px; border-radius: 50%; background: radial-gradient(circle, rgba(237,189,81,.31), transparent 62%); pointer-events: none; }
.welcome-copy, .welcome-panel { position: relative; z-index: 1; }
.welcome-tag { display: inline-flex; padding: 7px 14px; margin-bottom: 21px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.15); border-radius: 60px; color: #d8e4df; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; }
.welcome h1 { font-size: clamp(2.55rem, 5vw, 4.2rem); letter-spacing: -.065em; max-width: 680px; margin-bottom: 18px; }
.welcome-copy p { color: #bfd1ca; font-size: 1.08rem; max-width: 575px; margin-bottom: 30px; }
.welcome-actions { display: flex; gap: 13px; flex-wrap: wrap; }
.welcome .button.secondary { color: #fff !important; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); }
.welcome-panel { border-radius: 25px; padding: 30px; background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.13); backdrop-filter: blur(6px); }
.welcome-panel span { display: block; color: var(--gold); font-weight: 700; font-size: .82rem; letter-spacing: .11em; text-transform: uppercase; margin-bottom: 14px; }
.welcome-panel strong { display: block; font-size: 1.72rem; line-height: 1.18; margin-bottom: 12px; }
.welcome-panel p { color: #c7d7d0; }
.welcome-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin-top: 23px; }
.welcome-features b { border-radius: 11px; padding: 11px; background: rgba(255,255,255,.09); color: #f0f5f2; font-size: .86rem; text-align: center; }
.topic-bar { display: flex; overflow-x: auto; gap: 7px; padding: 10px 0 31px; scrollbar-width: none; }
.topic-bar a { flex: none; background: #fff; color: #394841; border: 1px solid var(--line); padding: 9px 19px; border-radius: 30px; font-size: .93rem; font-weight: 600; }
.topic-bar a:first-child, .topic-bar a:hover { background: var(--green-soft); border-color: var(--green-soft); color: var(--green); }
.hero { display: grid; grid-template-columns: minmax(360px, 1.72fr) minmax(270px, .8fr); gap: 26px; margin-bottom: 52px; }
.hero-lead .card { display: block; background: var(--green-dark); color: #fff; min-height: 345px; }
.hero-lead .card h3 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.hero-lead .card p, .hero-lead .card time { color: #d6e2da; }
.hero-lead .card-content { padding: clamp(27px, 5vw, 44px); }
.briefs { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 25px; box-shadow: var(--shadow); }
.briefs h2:before { content: ""; display: inline-block; background: var(--gold); width: 9px; height: 9px; border-radius: 50%; margin-right: 10px; vertical-align: middle; }
.briefs a { padding: 12px 0; border-top: 1px solid var(--line); display: flex; gap: 12px; line-height: 1.35; }
.briefs time { color: var(--green); font-weight: bold; }
.content-section { margin: 0 0 44px; }
.section-title { border-bottom: 1px solid var(--line); margin-bottom: 25px; padding-bottom: 14px; display: flex; justify-content: space-between; align-items: end; }
.section-title h2 { position: relative; padding-left: 17px; }
.section-title h2:before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 5px; border-radius: 5px; background: var(--gold); }
.section-title a { color: var(--green); font-weight: bold; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 23px; }
.card { background: var(--white); border: 1px solid rgba(227,233,229,.8); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 21px 48px rgba(5,26,20,.12); }
.card img { width: 100%; height: 205px; object-fit: cover; }
.card-content { padding: 23px; }
.card h3 { font-size: 1.38rem; }
.card p { color: var(--muted); font-size: .96rem; }
.card time { font-size: .88rem; color: var(--muted); }
.kicker { color: var(--green); font-weight: 750; text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; margin: 0 0 10px; }
.premium { color: #7c5800; background: #f7e5ac; border-radius: 20px; padding: 3px 8px; margin-left: 6px; }
.split-sections { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.split-sections .cards, .split-sections .content-section > .card { display: block; margin-bottom: 18px; }
.empty { background: #fff; border: 1px dashed var(--line); padding: 24px; color: var(--muted); }
.membership-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 20px; padding: clamp(28px, 4vw, 42px); background: linear-gradient(110deg, #0b342a, #08724d); color: #fff; border-radius: 28px; }
.membership-cta span { color: var(--gold); text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; font-weight: bold; }
.membership-cta h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); margin: 9px 0; }
.membership-cta p { color: #d7e5df; max-width: 620px; margin: 0; }
.listing h1 { margin-bottom: 32px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 790px) 270px; gap: clamp(28px, 5vw, 58px); justify-content: center; }
.article h1 { margin-bottom: 14px; font-size: clamp(2.3rem, 4vw, 3.6rem); }
.article-intro { font-size: 1.23rem; color: var(--muted); }
.article-meta { display: flex; gap: 20px; color: var(--muted); border-bottom: 1px solid var(--line); padding: 0 0 20px; margin-bottom: 28px; }
.cover { margin-bottom: 30px; border-radius: var(--radius); width: 100%; max-height: 440px; object-fit: cover; }
.article-body { font-family: Georgia, "Times New Roman", serif; font-size: 1.13rem; line-height: 1.78; }
.article-body p { margin-bottom: 1.35em; }
.article audio, .article-video { display: block; width: 100%; margin: 0 0 24px; }
.inline-related { border-left: 4px solid var(--gold); background: #fff; padding: 15px 19px; margin: 26px 0; display: flex; flex-direction: column; }
.inline-related a { color: var(--green); font-weight: bold; }
.premium-wall { text-align: center; background: #fff; padding: 42px 25px; border: 1px solid var(--line); border-radius: var(--radius); margin: 27px 0; }
.share { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 19px 0; margin-top: 34px; }
.share a, .share button, .interactions button { border: 1px solid var(--line); border-radius: 30px; background: #fff; padding: 7px 12px; cursor: pointer; }
.interactions { display: flex; gap: 12px; padding: 18px 0; }
.article-footer { background: #fff; padding: 17px; margin: 14px 0 32px; }
.article-sidebar { position: sticky; top: 100px; align-self: start; }
.article-sidebar a { display: block; border-bottom: 1px solid var(--line); padding: 12px 0; font-weight: bold; }
.ad { background: #e7ebdf; padding: 32px 16px; text-align: center; color: var(--muted); margin-top: 26px; }
.comments { margin-top: 32px; }
.comment { background: #fff; padding: 16px; margin: 12px 0; border-radius: 8px; }
.related { margin-top: 42px; }
.related .cards { grid-template-columns: repeat(3, 1fr); }
.related .card-content { padding: 13px; }
.related .card p { display: none; }
.related .card h3 { font-size: 1rem; }
label { display: block; font-weight: bold; margin: 0 0 15px; }
input, select, textarea { margin-top: 5px; border: 1px solid #cfd5ce; border-radius: 7px; width: 100%; padding: 11px 12px; font: inherit; background: #fff; }
textarea { min-height: 110px; resize: vertical; }
.auth-card { width: min(470px, 100%); margin: 30px auto; background: #fff; padding: clamp(22px, 6vw, 42px); box-shadow: var(--shadow); border-radius: var(--radius); }
.auth-card h1 { margin-bottom: 27px; }
.subscriptions { text-align: center; }
.subscriptions > p { max-width: 680px; margin: 0 auto 32px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: left; }
.plan { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 27px; }
.plan > strong { display: block; font-size: 1.7rem; color: var(--green); margin-bottom: 4px; }
.plan .button { width: 100%; }
.notice { max-width: 800px; margin: 35px auto; background: #fff6df; padding: 18px; text-align: left; }
.account-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-bottom: 22px; }
.panel { background: #fff; border-radius: var(--radius); padding: 25px; margin-bottom: 22px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; }
th { color: var(--muted); text-transform: uppercase; font-size: .78rem; }
.floating-subscribe { display: none; }
.site-footer { background: var(--green-dark); color: #e4ebe6; padding: 58px max(calc((100% - 1340px) / 2), 22px); display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 35px; }
.site-footer div { display: flex; flex-direction: column; gap: 8px; }
.site-footer .brand { margin-bottom: 9px; }
.installer { display: grid; place-items: center; min-height: 100vh; padding: 28px; }
.install-card { background: #fff; width: min(720px, 100%); padding: clamp(24px, 6vw, 50px); border-radius: var(--radius); box-shadow: var(--shadow); }
.install-card h1 { margin: 18px 0; }
fieldset { border: 1px solid var(--line); border-radius: 9px; padding: 17px; margin: 17px 0; }
legend { font-weight: bold; color: var(--green); padding: 0 8px; }
@media (max-width: 960px) {
    .desktop-nav { display: none; }
    .site-header { gap: 12px; padding: 0 13px; }
    .brand { font-size: 1.2rem; margin-right: auto; }
    .header-actions .account, .header-actions .subscribe { display: none; }
    .welcome, .hero, .split-sections, .article-layout, .plans, .account-grid { display: block; }
    .welcome-panel { margin-top: 32px; }
    .briefs, .article-sidebar, .plan { margin-top: 24px; }
    .cards { grid-template-columns: 1fr; }
    .related .cards { grid-template-columns: 1fr; }
    .floating-subscribe { display: block; position: fixed; bottom: 20px; right: 17px; z-index: 15; background: var(--gold); color: var(--green-dark); padding: 12px 18px; border-radius: 40px; font-weight: bold; box-shadow: var(--shadow); }
    .site-footer { grid-template-columns: 1fr; }
    .membership-cta { align-items: start; flex-direction: column; }
}
@media print {
    .site-header, .drawer, .article-sidebar, .share, .interactions, .comments, .related, .floating-subscribe, .site-footer { display: none !important; }
    body, .page { background: #fff; width: 100%; margin: 0; padding: 0; }
    .article-layout { display: block; }
    .article h1 { text-align: center; }
    .article-meta { justify-content: flex-end; }
    @page { margin: 20mm; @bottom-center { content: counter(page); } }
}
