:root {
    --color-primary: #1d4f7a;
    --color-secondary: #c9a227;
    --text: #1c2430;
    --muted: #5b6675;
    --bg: #f6f3ec;
    --card: #fff;
    --radius: 16px;
    --shadow: 0 12px 40px rgba(18, 38, 63, .08);
    --font: "Segoe UI", Tahoma, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.55; }
img, video, audio { max-width: 100%; }
a { color: var(--color-primary); text-decoration: none; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.site-header { background: #fff; box-shadow: var(--shadow); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; gap: 16px; padding: 14px 0; flex-wrap: wrap; }
.logo { font-weight: 800; font-size: 1.2rem; color: var(--color-primary); display: flex; align-items: center; }
.logo img { max-height: 48px; }
.site-nav { display: flex; gap: 14px; flex-wrap: wrap; }
.nav-toggle { display: none; }
.search-form { margin-left: auto; display: flex; gap: 8px; }
.search-form input, .search-form button, .btn, select, input, textarea { font: inherit; }
.search-form input, input, select, textarea { border: 1px solid #d7deea; border-radius: 10px; padding: .6rem .75rem; width: 100%; }
.search-form input { width: 180px; }
.btn, button.btn { display: inline-block; border: 0; border-radius: 999px; padding: .7rem 1.1rem; cursor: pointer; font-weight: 700; }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-secondary { background: var(--color-secondary); color: #1c2430; }
.hero { padding: 28px 0 8px; }
.hero-card { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); color: inherit; }
.hero-card img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.hero-card div { padding: 28px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; color: var(--color-secondary); font-size: .75rem; font-weight: 800; }
.section { padding: 28px 0 48px; }
.grid-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card-post { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.thumb img, .thumb-placeholder { width: 100%; height: 170px; object-fit: cover; background: linear-gradient(135deg, var(--color-primary), #89a7c2); display: block; }
.card-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.badge { background: #eef4fa; color: var(--color-primary); padding: .2rem .55rem; border-radius: 999px; font-size: .8rem; width: max-content; }
.page-head { background: var(--color-primary); color: #fff; padding: 36px 0; }
.page-head a, .page-head p { color: #fff; }
.article { background: var(--card); margin: 24px auto 48px; padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow); }
.featured { width: 100%; border-radius: 12px; margin: 16px 0; }
.content img { border-radius: 8px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.embed { position: relative; padding-top: 56.25%; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.share, .related { margin-top: 28px; }
.site-footer { background: #132132; color: #dce6f2; padding: 32px 0 16px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.copyright { text-align: center; opacity: .8; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 24px; }
.pagination a { background: #fff; padding: .4rem .75rem; border-radius: 8px; }
.pagination .current { background: var(--color-primary); color: #fff; }
.search-form.large input { width: min(480px, 100%); }
@media (max-width: 800px) {
    .hero-card { grid-template-columns: 1fr; }
    .nav-toggle { display: inline-block; margin-left: auto; }
    .site-nav { display: none; width: 100%; flex-direction: column; }
    .site-nav.open { display: flex; }
    .search-form { margin-left: 0; width: 100%; }
    .search-form input { width: 100%; }
}
