* { box-sizing: border-box; }
html, body { height: 100%; }
body {
	margin: 0;
	font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
	color: #0a1a44;
	background: #f7f9fc;
}

.container {
	max-width: 1330px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	background: #ffffffcc;
	backdrop-filter: saturate(180%) blur(10px);
	border-bottom: 1px solid #e6ecf5;
	z-index: 1000;
}
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 64px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
	width: 28px; height: 28px; border-radius: 7px; display: inline-grid; place-items: center;
	background: linear-gradient(135deg, #1a4cff, #6a89ff);
	color: #fff; font-weight: 700;
}
.logo-text { font-weight: 700; color: #0a1a44; letter-spacing: 0.4px; }

.site-nav { display: flex; align-items: center; gap: 20px; }
.site-nav ul { display: flex; align-items: center; gap: 12px; list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; color: #0a1a44; padding: 8px 10px; border-radius: 8px; }
.site-nav a:hover { background: #eef3ff; }
.site-nav a.active { background: #e6eeff; color: #1a4cff; font-weight: 600; }
.report-btn { margin-left: 8px; }
.site-nav .btn-primary { color: #fff; }
.site-nav .btn-primary:hover { color: #fff; }
.lang-switch { display: inline-flex; gap: 6px; margin-left: 8px; flex-wrap: wrap; }
.lang-switch .btn-ghost { padding: 6px 8px; font-size: 12px; }

.nav-toggle { display: none; }

/* Main */
.site-main { padding: 28px 0 60px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; cursor: pointer; border: 1px solid transparent; }
.btn-primary { background: #1a4cff; color: #fff; }
.btn-primary:hover { background: #0f3be6; }
.btn-ghost { background: #fff; color: #1a4cff; border-color: #cfe0ff; }
.btn-ghost:hover { background: #f4f7ff; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.hero h1 { margin: 0 0 14px; font-size: 42px; line-height: 1.12; }
.hero p.lead { margin: 0 0 18px; color: #3b4d7a; font-size: 18px; }
.hero .stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.stat-card { background: #fff; border: 1px solid #e6ecf5; border-radius: 14px; padding: 16px; }
.stat-card b { font-size: 20px; display: block; }
.stat-card span { color: #53648f; font-size: 13px; }

/* Sections */
.section { margin: 40px 0; }
.section h2 { margin: 0 0 14px; font-size: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card { background: #fff; border: 1px solid #e6ecf5; border-radius: 14px; padding: 16px; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.muted { color: #53648f; }

/* News */
.news-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.news-item { background: #fff; border: 1px solid #e6ecf5; border-radius: 14px; padding: 16px; display: flex; flex-direction: column; row-gap: 10px; transition: box-shadow .15s ease, transform .15s ease; }
.news-item:hover { box-shadow: 0 8px 24px rgba(26,76,255,0.08); transform: translateY(-2px); }
.news-item h3 { margin: 0; }
.news-item .meta { color: #6b7aa6; font-size: 12px; margin: 0; }
.news-item p { margin: 0; }
.news-item .more { margin-top: auto; padding-top: 6px; }
.news-item .cover { width: 100%; height: clamp(120px, 14vw, 160px); aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; margin-bottom: 10px; background: #eef3ff; display: block; }
.cover-wrap { position: relative; }
.cover-wrap .badge-cat { position: absolute; left: 10px; top: 10px; }
.badge { display: inline-block; padding: 4px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; border: 1px solid transparent; }
.badge-cat { background: #eef3ff; color: #1a4cff; border-color: #cfe0ff; }
.cat-operations { background: #eaf7ef; color: #1b7b3a; border-color: #c8ebd4; }
.cat-warnings { background: #fff2e8; color: #c25100; border-color: #ffd7b8; }
.cat-recoveries { background: #eaf6ff; color: #0b63b6; border-color: #cfe7ff; }
.cat-guidance { background: #f3edff; color: #5a3ec8; border-color: #e0d6ff; }
.cat-announcements { background: #eaf7ff; color: #0a6; border-color: #cdeffd; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-chip { display: inline-block; padding: 4px 8px; font-size: 11px; color: #53648f; background: #f1f4fa; border: 1px solid #e1e7f2; border-radius: 999px; }

.news-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.news-toolbar .field-inline { display: inline-flex; align-items: center; gap: 8px; }
.news-toolbar input[type="search"], .news-toolbar select { padding: 8px 10px; border: 1px solid #cfd7e6; border-radius: 10px; background: #fff; font: inherit; }
.pagination { display: flex; gap: 8px; margin-top: 20px; justify-content: center; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; height: 36px; min-width: 36px; padding: 0 10px; border: 1px solid #cfe0ff; background: #fff; border-radius: 10px; text-decoration: none; color: #0a1a44; }
.pagination a:hover { background: #f4f7ff; border-color: #b6ccff; }
.pagination .active { background: #1a4cff; color: #fff; border-color: #1a4cff; }

.featured { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; margin-bottom: 16px; }
.featured .cover { width: 100%; height: clamp(160px, 28vw, 220px); aspect-ratio: 16/9; object-fit: cover; border-radius: 14px; display: block; }
.featured .card { padding: 16px; }
.article-cover { width: 100%; height: clamp(200px, 35vw, 300px); aspect-ratio: 16/9; object-fit: cover; border-radius: 14px; margin-bottom: 12px; display: block; }

/* Forms */
form .field { margin-bottom: 14px; }
label { display: block; margin-bottom: 6px; font-weight: 600; }
input[type="text"], input[type="email"], input[type="number"], select, textarea { width: 100%; padding: 10px 12px; border: 1px solid #cfd7e6; border-radius: 10px; background: #fff; font: inherit; }
textarea { min-height: 120px; resize: vertical; }
.form-hint { color: #6b7aa6; font-size: 12px; margin-top: 4px; }
.form-actions { display: flex; gap: 10px; align-items: center; }
.form-note { color: #6b7aa6; font-size: 13px; }
.alert { padding: 12px 14px; border-radius: 10px; border: 1px solid; }
.alert-info { background: #f4f7ff; border-color: #cfe0ff; color: #0a1a44; }
.alert-success { background: #eefbf3; border-color: #c8edd8; color: #1b7b3a; }
.alert-error { background: #fff2f0; border-color: #ffc8bf; color: #a8071a; }

/* Footer */
.site-footer { background: #0a1a44; color: #e8eeff; margin-top: 40px; padding: 28px 0 10px; }
.site-footer a { color: #cfe0ff; text-decoration: none; }
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #263b7a; margin-top: 20px; padding-top: 14px; }
.legal { color: #9fb2ff; font-size: 12px; }

/* Responsive */
@media (max-width: 960px) {
	.hero { grid-template-columns: 1fr; }
	.news-list, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1330px) {
	.site-nav ul { gap: 8px; }
	.site-nav a { padding: 6px 8px; font-size: 14px; }
	.report-btn { padding: 8px 10px; }
}
@media (max-width: 720px) {
    .site-nav { position: fixed; inset: 56px 0 auto 0; background: #fff; padding: 12px 16px; border-bottom: 1px solid #e6ecf5; transform-origin: top; transform: scaleY(0); transition: .2s ease; display: block; }
    .site-nav.open { transform: scaleY(1); }
    .site-nav ul { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 10px; }
    .nav-toggle { display: inline-flex; align-items: center; justify-content: center; height: 34px; padding: 0 10px; border-radius: 10px; border: 1px solid #cfe0ff; background: #fff; color: #0a1a44; }
    .report-btn { width: 100%; }
    .news-list, .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
    .featured { grid-template-columns: 1fr; }
    .hero h1 { font-size: 28px; line-height: 1.2; }
    .hero p.lead { font-size: 15px; }
    .section { margin: 28px 0; }
    .container { padding: 0 14px; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* Temporarily hide news images */
.cover-wrap, .news-item .cover, .featured .cover, .article-cover { display: none !important; }
.featured { grid-template-columns: 1fr; }

