:root {
	--bg: #f4f5f7;
	--surface: #ffffff;
	--surface-2: #e9ebef;
	--ink: #090b10;
	--muted: #616875;
	--line: #d9dde4;
	--accent: #a7ff38;
	--accent-ink: #152000;
	--blue: #3557ff;
	--dark: #090b10;
	--dark-2: #151821;
	--radius-sm: 10px;
	--radius: 18px;
	--radius-lg: 28px;
	--shadow: 0 16px 44px rgba(12, 16, 24, 0.09);
	--wrap: min(1320px, calc(100vw - 40px));
	--font: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--display: "Unbounded", "Manrope", sans-serif;
}

html[data-theme="dark"] {
	--bg: #090b10;
	--surface: #12151c;
	--surface-2: #1c2029;
	--ink: #f6f7f9;
	--muted: #a8afba;
	--line: #292e39;
	--shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
	margin: 0;
	overflow-x: clip;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.wrap { width: var(--wrap); margin-inline: auto; }
.screen-reader-text, .skip-link:not(:focus) {
	position: absolute !important;
	width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed; z-index: 9999; left: 16px; top: 16px;
	background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 8px;
}

.topbar { background: var(--dark); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.topbar__inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.live-dot { display: flex; align-items: center; gap: 8px; }
.live-dot span { width: 7px; height: 7px; border-radius: 99px; background: var(--accent); box-shadow: 0 0 0 5px rgba(167,255,56,.12); }
.topbar__actions { display: flex; align-items: center; gap: 16px; }
.topbar__actions a:hover { color: var(--accent); }
.icon-button { border: 0; background: transparent; color: inherit; padding: 5px; }
.theme-toggle { font-size: 20px; line-height: 1; }

.site-header { background: var(--surface); position: relative; z-index: 20; border-bottom: 1px solid var(--line); }
.masthead { min-height: 104px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; justify-self: center; }
.brand__mark {
	width: 42px; height: 42px; display: inline-grid; place-items: center;
	border-radius: 12px; background: var(--accent); color: var(--accent-ink);
	font: 700 23px/1 var(--display); transform: rotate(-4deg);
}
.brand__name { font: 700 clamp(22px, 3vw, 32px)/1 var(--display); letter-spacing: -.06em; }
.custom-logo { max-height: 58px; width: auto; }
.custom-logo-link { display: inline-flex; }
.masthead__tagline { margin: 0; color: var(--muted); font-size: 13px; max-width: 220px; }
.masthead .button { justify-self: end; }
.menu-toggle { display: none; }

.button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--ink); color: var(--surface); border: 1px solid var(--ink);
	border-radius: 999px; padding: 12px 20px; font-weight: 800; line-height: 1;
	transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); background: var(--blue); border-color: var(--blue); color: #fff; }
.button--small { padding: 11px 16px; font-size: 13px; }

.primary-navigation { border-top: 1px solid var(--line); }
.primary-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; justify-content: center; gap: 26px; }
.primary-menu a { display: block; padding: 14px 0; font-size: 13px; font-weight: 800; white-space: nowrap; border-bottom: 2px solid transparent; }
.primary-menu a:hover, .primary-menu .current-menu-item > a, .primary-menu .current-category-ancestor > a { border-color: var(--accent); }

.breaking { background: var(--accent); color: var(--accent-ink); overflow: hidden; }
.breaking__inner { min-height: 38px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 20px; }
.breaking strong { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.breaking__track { min-width: 0; display: flex; gap: 28px; overflow: hidden; mask-image: linear-gradient(90deg, #000 88%, transparent); }
.breaking__track a { font-size: 13px; font-weight: 700; white-space: nowrap; }
.breaking__track a::before { content: "●"; font-size: 7px; margin-right: 10px; }

.section-space { padding: 76px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.section-heading h1, .section-heading h2 { margin: 4px 0 0; font-family: var(--display); line-height: 1.12; letter-spacing: -.055em; }
.section-heading h2 { font-size: clamp(27px, 3.2vw, 46px); }
.section-heading--hero { align-items: end; padding: 62px 0 30px; }
.section-heading--hero h1 { max-width: 940px; font-size: clamp(34px, 5.6vw, 78px); }
.section-heading--hero p { max-width: 320px; margin: 0 0 5px; color: var(--muted); }
.eyebrow { color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.text-link { font-weight: 800; font-size: 13px; color: var(--blue); white-space: nowrap; }
.text-link:hover { text-decoration: underline; }

.hero-section { padding-bottom: 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(310px, .75fr); gap: 18px; }
.hero-main { grid-row: span 4; overflow: hidden; border-radius: var(--radius-lg); background: var(--dark); color: #fff; min-height: 610px; position: relative; box-shadow: var(--shadow); }
.hero-main__media { position: absolute; inset: 0; }
.hero-main__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(5,6,9,.88) 100%); }
.hero-main__media img, .hero-main__media .news-card__placeholder { width: 100%; height: 100%; object-fit: cover; }
.hero-main__body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: clamp(26px, 5vw, 54px); }
.hero-main h2 { max-width: 900px; margin: 14px 0 12px; font: 700 clamp(28px, 4.2vw, 56px)/1.08 var(--display); letter-spacing: -.055em; }
.hero-main h2 a:hover { color: var(--accent); }
.hero-main p { max-width: 700px; margin: 0 0 18px; color: #d4d7de; }

.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.news-card { min-width: 0; border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: 0 0 0 1px var(--line); transition: transform .2s ease, box-shadow .2s ease; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-card__media { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--dark-2); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.news-card:hover .news-card__media img { transform: scale(1.03); }
.news-card__placeholder { display: grid; place-items: center; width: 100%; height: 100%; background: radial-gradient(circle at 75% 20%, #3557ff 0, transparent 28%), linear-gradient(135deg, #171b25, #080a0f); color: var(--accent); }
.news-card__placeholder b { font: 700 clamp(48px, 10vw, 130px)/1 var(--display); opacity: .85; transform: rotate(-5deg); }
.news-card__body { padding: 20px; }
.news-card__title { margin: 11px 0 10px; font: 700 20px/1.28 var(--font); letter-spacing: -.035em; }
.news-card__title a:hover { color: var(--blue); }
.news-card__excerpt { margin: 0 0 15px; color: var(--muted); font-size: 14px; }
.news-card--compact { display: grid; grid-template-columns: 180px 1fr; align-items: stretch; min-height: 138px; }
.news-card--compact .news-card__media { aspect-ratio: auto; }
.news-card--compact .news-card__title { font-size: 16px; margin: 8px 0 12px; }
.news-card--compact .news-card__body { padding: 16px; }
.category-grid .news-card--compact { grid-template-columns: minmax(150px, .8fr) 1.2fr; min-height: 180px; }
.category-grid .news-card--compact .news-card__title { font-size: 19px; }

.category-badge { display: inline-flex; align-items: center; width: fit-content; border-radius: 99px; background: var(--accent); color: var(--accent-ink); padding: 5px 9px; font-size: 10px; line-height: 1; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.category-badge:hover { background: var(--blue); color: #fff; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 600; }
.post-meta__author { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.post-meta__author img { border-radius: 99px; }
.post-meta__brand-avatar {
	width: 28px;
	height: 28px;
	display: inline-grid;
	place-items: center;
	flex: 0 0 28px;
	border-radius: 8px;
	background: var(--accent);
	color: var(--accent-ink);
	font: 800 16px/1 var(--display);
	letter-spacing: -.07em;
	transform: rotate(-4deg);
}
.hero-main .post-meta { color: #c8ccd5; }

.latest-section { background: var(--surface-2); }
.category-section--accent { background: var(--dark); color: #fff; }
.category-section--accent .news-card { --surface: #151821; --ink: #fff; --muted: #aeb5c0; --line: #2a303b; }
.category-section--accent .eyebrow { color: var(--accent); }

.archive-layout, .page-layout, .single-layout { padding-top: 70px; padding-bottom: 90px; }
.archive-header { max-width: 900px; margin-bottom: 40px; }
.archive-header h1, .page-shell h1 { margin: 8px 0 16px; font: 700 clamp(38px, 6vw, 78px)/1.05 var(--display); letter-spacing: -.06em; }
.archive-description { max-width: 700px; color: var(--muted); }
.archive-description p { margin: 0; }
.nav-links { display: flex; justify-content: center; gap: 10px; margin-top: 45px; }
.page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-weight: 800; }
.page-numbers.current { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

.article-shell { max-width: 1180px; margin: auto; }
.article-header { max-width: 980px; margin: 0 auto 34px; }
.article-header h1 { margin: 15px 0 20px; font: 700 clamp(37px, 6.5vw, 82px)/1.05 var(--display); letter-spacing: -.065em; }
.article-lead { max-width: 840px; margin: 0 0 24px; color: var(--muted); font-size: clamp(18px, 2vw, 23px); line-height: 1.55; }
.article-hero { margin: 0 0 42px; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-2); }
.article-hero img { width: 100%; max-height: 720px; object-fit: cover; }
.article-hero figcaption { padding: 10px 16px; color: var(--muted); background: var(--surface); border-top: 1px solid var(--line); font-size: 11px; }
.article-grid { display: grid; grid-template-columns: minmax(0, 760px) minmax(220px, 280px); justify-content: center; gap: 70px; align-items: start; }
.article-content { font-size: 18px; line-height: 1.85; }
.article-content > *:first-child { margin-top: 0; }
.article-content h2, .article-content h3 { line-height: 1.25; letter-spacing: -.04em; margin-top: 2em; }
.article-content h2 { font-size: clamp(27px, 3.2vw, 39px); }
.article-content h3 { font-size: 24px; }
.article-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.article-content blockquote { margin: 32px 0; padding: 6px 0 6px 25px; border-left: 5px solid var(--accent); font-size: 22px; font-weight: 700; line-height: 1.5; }
.article-content figure { margin: 34px 0; }
.article-content figcaption { color: var(--muted); font-size: 12px; margin-top: 8px; }
.article-content ul, .article-content ol { padding-left: 24px; }
.article-content li { margin-bottom: 8px; }
.realia-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.article-sidebar { position: sticky; top: 24px; display: grid; gap: 16px; }
.share-panel { display: flex; flex-direction: column; gap: 10px; font-size: 13px; font-weight: 800; }
.share-panel a { color: var(--blue); }
.article-sources, .article-disclosure { margin-top: 38px; border-top: 1px solid var(--line); padding-top: 24px; font-size: 14px; color: var(--muted); }
.article-sources h2, .article-disclosure strong { color: var(--ink); font-size: 15px; }
.article-sources a { color: var(--blue); }
.page-shell { max-width: 780px; }

.empty-state { min-height: 350px; display: grid; place-items: center; align-content: center; text-align: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; }
.empty-state h1, .empty-state h2, .empty-state p { margin: 0; }
.search-form { display: flex; gap: 8px; width: min(100%, 620px); margin-top: 20px; }
.search-form label { flex: 1; }
.search-field { width: 100%; height: 48px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); outline: none; }
.search-field:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(53,87,255,.16); }

.site-footer { background: var(--dark); color: #fff; padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 70px; }
.brand--footer { justify-self: start; margin-bottom: 20px; }
.footer-grid p { max-width: 460px; color: #9fa6b2; }
.footer-grid h2 { margin: 0 0 15px; color: var(--accent); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; color: #d4d7dd; font-size: 14px; }
.footer-menu a:hover { color: var(--accent); }
.footer-bottom { margin-top: 60px; padding: 22px 0; border-top: 1px solid #292d36; display: flex; justify-content: space-between; gap: 20px; color: #89909b; font-size: 11px; }

@media (max-width: 1100px) {
	.masthead { grid-template-columns: auto 1fr auto; }
	.masthead__tagline { display: none; }
	.brand { justify-self: start; }
	.primary-menu { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
	.hero-grid { grid-template-columns: 1fr 1fr; }
	.hero-main { grid-column: 1 / -1; min-height: 560px; }
	.news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.article-grid { grid-template-columns: minmax(0, 720px); }
	.article-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
	:root { --wrap: min(100% - 34px, 1320px); --radius-lg: 22px; }
	.topbar__inner { min-height: 32px; }
	.topbar__actions a { display: none; }
	.masthead { min-height: 74px; grid-template-columns: 36px 1fr 36px; gap: 10px; }
	.menu-toggle { width: 36px; display: grid; gap: 4px; }
	.menu-toggle span:not(.screen-reader-text) { height: 2px; width: 22px; background: currentColor; border-radius: 2px; }
	.masthead .button { display: none; }
	.brand { justify-self: center; }
	.brand__mark { width: 34px; height: 34px; border-radius: 9px; font-size: 18px; }
	.brand__name { font-size: 20px; }
	.primary-navigation { display: none; border-top: 1px solid var(--line); }
	.primary-navigation.is-open { display: block; }
	.primary-menu { display: grid; gap: 0; padding: 8px 0 14px; }
	.primary-menu a { padding: 10px 0; border: 0; }
	.breaking__inner { gap: 12px; }
	.breaking__track { gap: 18px; }
	.section-space { padding: 54px 0; }
	.section-heading { align-items: start; }
	.section-heading--hero { padding: 42px 0 22px; display: block; }
	.section-heading--hero h1 { font-size: clamp(29px, 9.2vw, 43px); letter-spacing: -.045em; overflow-wrap: anywhere; }
	.section-heading--hero p { margin-top: 18px; }
	.hero-section { padding-bottom: 54px; }
	.hero-grid { display: grid; grid-template-columns: 1fr; }
	.hero-main { grid-column: auto; min-height: 500px; }
	.hero-main__body { padding: 25px 27px; }
	.hero-main h2 { font-size: clamp(26px, 7.7vw, 38px); letter-spacing: -.045em; overflow-wrap: anywhere; }
	.hero-main p { display: none; }
	.news-grid, .category-grid { grid-template-columns: 1fr; }
	.news-card--compact, .category-grid .news-card--compact { grid-template-columns: 122px 1fr; min-height: 128px; }
	.news-card--compact .news-card__body { padding: 13px; }
	.news-card--compact .news-card__title, .category-grid .news-card--compact .news-card__title { font-size: 15px; margin-bottom: 9px; }
	.news-card--compact .post-meta span:nth-last-child(-n+2) { display: none; }
	.archive-layout, .page-layout, .single-layout { padding-top: 45px; padding-bottom: 60px; }
	.article-header h1 { font-size: clamp(34px, 10vw, 51px); }
	.article-grid { display: block; }
	.article-content { font-size: 17px; line-height: 1.75; }
	.article-sidebar { margin-top: 38px; grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 35px; }
	.footer-bottom { display: grid; margin-top: 38px; }
	.search-form { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
