:root {
  --navy: #0b1228;
  --navy-2: #111d42;
  --blue: #0a5bff;
  --cyan: #00c2ff;
  --green: #00d98a;
  --yellow: #ffd400;
  --orange: #ff8a00;
  --ink: #0b1228;
  --muted: #5f6b85;
  --line: #dce4f2;
  --paper: #ffffff;
  --soft: #f4f8ff;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(11, 18, 40, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.7 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-underline-offset: .18em; }
a:hover { color: #0048d4; }
img { max-width: 100%; }

.site-header { position: sticky; z-index: 20; top: 0; display: flex; justify-content: space-between; align-items: center; min-height: 82px; padding: 12px max(24px, calc((100% - 1180px) / 2)); border-bottom: 1px solid rgba(220, 228, 242, .85); background: rgba(255, 255, 255, .92); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; width: 214px; height: auto; }
.site-header nav { display: flex; align-items: center; gap: 28px; }
.site-header nav a { color: var(--navy); font-size: .92rem; font-weight: 750; text-decoration: none; }
.site-header nav a:hover { color: var(--blue); }

.article-shell, .collection { width: min(1120px, calc(100% - 40px)); margin: 52px auto 96px; }
.article-shell { width: min(1120px, calc(100% - 40px)); }
.article-layout { display: grid; grid-template-columns: minmax(0, 780px) minmax(160px, 300px); align-items: start; gap: 40px; }
.article-layout.without-sidebar { grid-template-columns: minmax(0, 940px); justify-content: center; }
.article-layout > article { min-width: 0; }
.article-sidebar { position: sticky; top: 110px; }
.article-sidebar .external-ad { width: 100%; margin-top: 0; }
.hero { position: relative; isolation: isolate; min-height: 520px; display: grid; grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr); align-items: center; gap: 18px; overflow: hidden; padding: clamp(42px, 6vw, 74px) clamp(28px, 5vw, 64px); border-radius: 34px; color: #fff; background: radial-gradient(circle at 72% 30%, rgba(0, 194, 255, .25), transparent 36%), linear-gradient(135deg, #050a1c 0%, #0b1738 55%, #092a75 100%); box-shadow: 0 28px 80px rgba(11, 18, 40, .2); }
.hero::after { content: ""; position: absolute; z-index: -1; inset: auto -5% -35% 34%; height: 280px; border-radius: 50%; background: linear-gradient(90deg, var(--blue), var(--cyan), var(--green), var(--yellow), var(--orange)); filter: blur(70px); opacity: .2; }
.hero-copy { position: relative; z-index: 2; max-width: 600px; }
.hero h1 { max-width: 700px; color: #fff; }
.hero p:not(.eyebrow) { max-width: 620px; margin: 0; color: #dce8ff; font-size: clamp(1.05rem, 2vw, 1.3rem); }
.hero .eyebrow { color: var(--cyan); }
.hero-art { position: relative; z-index: 1; display: block; width: 100%; max-width: 600px; height: auto; margin: 0 auto; object-fit: contain; filter: saturate(.96) contrast(1.03); mix-blend-mode: screen; }
.section-block { margin-top: 72px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-heading h2 { margin: 0; }
.section-heading p { margin: 0; color: var(--muted); }

.breadcrumb { color: var(--muted); font-size: .84rem; }
.breadcrumb ol { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.breadcrumb li:not(:last-child)::after { content: "›"; margin-left: 8px; color: #98a2b3; }
.breadcrumb a { color: inherit; }
.article-shell > .breadcrumb { margin-bottom: 22px; }
.article-main { min-width: 0; }
.article-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(28px, 5vw, 54px); border: 1px solid #d6e3fb; border-radius: 30px; background: radial-gradient(circle at 100% 0, rgba(0, 194, 255, .16), transparent 35%), linear-gradient(145deg, #f8fbff 0%, #fff 62%, #f0f6ff 100%); box-shadow: 0 20px 55px rgba(11, 18, 40, .07); }
.article-hero::before { content: ""; position: absolute; z-index: -1; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--blue), var(--cyan), var(--green), var(--yellow), var(--orange)); }
.article-hero h1 { max-width: 760px; font-size: clamp(2.35rem, 4.6vw, 4rem); }
.article-hero .summary { margin-bottom: 24px; }
.eyebrow { color: var(--blue); font-size: .75rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
h1 { margin: .22em 0; font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1.02; letter-spacing: -.05em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.18; letter-spacing: -.025em; }
.summary { max-width: 760px; color: #46546f; font-size: clamp(1.08rem, 2vw, 1.28rem); line-height: 1.65; }
.byline { margin-bottom: 0; color: var(--muted); font-size: .9rem; }
.byline a { color: var(--navy); font-weight: 800; text-decoration: none; }
.share-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 30px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.share-bar > span { margin-right: 4px; color: var(--muted); font-size: .78rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.share-button { display: inline-flex; align-items: center; min-height: 38px; margin: 0; padding: 7px 12px; border: 1px solid #cbd8ec; border-radius: 999px; color: #263754; background: #fff; font-size: .78rem; font-weight: 800; line-height: 1; text-decoration: none; box-shadow: 0 4px 12px rgba(11,18,40,.04); }
.share-button:hover { border-color: var(--blue); color: var(--blue); background: #f5f9ff; }
.share-button:focus-visible, .taxonomy-chip:focus-visible { outline: 3px solid rgba(0, 194, 255, .28); outline-offset: 2px; }
.share-whatsapp { border-color: #9ee5c0; color: #087b45; background: #edfff5; }
.cover { margin: 38px 0; }
.cover img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.cover figcaption { margin-top: 9px; color: var(--muted); font-size: .78rem; text-align: center; }
.content { color: #17223a; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.06rem, 1.7vw, 1.16rem); line-height: 1.86; overflow-wrap: anywhere; }
.without-sidebar .content { max-width: 780px; margin-right: auto; margin-left: auto; }
.without-sidebar .sources-block, .without-sidebar .article-taxonomy, .without-sidebar .author-block { max-width: 840px; margin-right: auto; margin-left: auto; }
.content > :first-child { margin-top: 0; }
.content p { margin: 0 0 1.45em; }
.content h2, .content h3, .content h4 { color: var(--navy); font-family: Inter, ui-sans-serif, system-ui, sans-serif; scroll-margin-top: 110px; }
.content h2 { margin: 2.25em 0 .7em; padding-top: .25em; font-size: clamp(1.65rem, 3vw, 2.2rem); }
.content h3 { margin: 1.8em 0 .65em; font-size: 1.38rem; }
.content h4 { margin: 1.6em 0 .55em; font-size: 1.12rem; }
.content a { font-weight: 650; text-decoration-thickness: .08em; }
.content strong { color: #071532; }
.content ul, .content ol { margin: 0 0 1.6em; padding-left: 1.45em; }
.content li { margin: .55em 0; padding-left: .3em; }
.content li::marker { color: var(--blue); font-weight: 800; }
.content blockquote { position: relative; margin: 2em 0; padding: 24px 28px 24px 32px; border: 0; border-left: 5px solid var(--blue); border-radius: 0 18px 18px 0; color: #263754; background: linear-gradient(120deg, #eef5ff, #f7fbff); font-size: 1.08em; font-style: italic; }
.content img { display: block; height: auto; margin: 2em auto; border-radius: 16px; box-shadow: var(--shadow); }
.content figure { margin: 2.2em 0; }
.content figcaption { color: var(--muted); font-family: Inter, sans-serif; font-size: .78rem; text-align: center; }
.content table { display: block; width: 100%; margin: 2.2em 0; overflow-x: auto; border: 1px solid #cdd9eb; border-collapse: separate; border-spacing: 0; border-radius: 16px; background: #fff; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: .9rem; line-height: 1.55; box-shadow: 0 12px 32px rgba(11,18,40,.06); }
.content thead { color: #fff; background: linear-gradient(110deg, var(--navy), #153678); }
.content th { min-width: 150px; padding: 15px 17px; border: 0; text-align: left; vertical-align: top; font-size: .76rem; letter-spacing: .035em; text-transform: uppercase; }
.content td { min-width: 150px; padding: 15px 17px; border: 0; border-top: 1px solid #e3e9f3; text-align: left; vertical-align: top; }
.content tbody tr:nth-child(even) { background: #f6f9fe; }
.content tbody tr:hover { background: #edf5ff; }
.content pre { padding: 20px; overflow-x: auto; border-radius: 16px; color: #e7efff; background: #091226; font-size: .86rem; line-height: 1.65; }
.content code { padding: .12em .35em; border-radius: 5px; color: #073a8c; background: #eaf2ff; font-size: .9em; }
.content pre code { padding: 0; color: inherit; background: transparent; }
.external-ad { --ad-min-h: 0px; --ad-mobile-min-h: var(--ad-min-h); display: grid; place-items: center; width: min(100% - 28px, 1120px); min-height: var(--ad-min-h); margin: 34px auto; overflow: hidden; text-align: center; }
.content .external-ad { width: 100%; margin: 42px auto; }
.external-ad__label { display: block; margin-bottom: 6px; color: var(--muted); font-size: .68rem; line-height: 1; letter-spacing: .08em; text-transform: uppercase; }
.external-ad__mount { display: grid; max-width: 100%; place-items: center; overflow: hidden; }
.external-ad__mount iframe, .external-ad__mount img { max-width: 100%; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card { position: relative; display: grid; align-content: start; gap: 8px; min-height: 170px; padding: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: linear-gradient(145deg, #fff, #f8fbff); text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: linear-gradient(var(--blue), var(--cyan), var(--green)); opacity: 0; }
.card:hover { transform: translateY(-4px); border-color: #aac6ff; color: var(--ink); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card strong { font-size: 1.08rem; line-height: 1.35; }
.card span:not(.eyebrow) { color: var(--muted); }

form { max-width: 720px; }
label { display: grid; gap: 8px; color: var(--navy); font-weight: 750; }
input, select, textarea { width: 100%; padding: 13px 15px; border: 1px solid #bcc9df; border-radius: 12px; color: var(--ink); background: #fff; font: inherit; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(0, 194, 255, .2); border-color: var(--blue); }
button { margin-top: 12px; padding: 13px 20px; border: 0; border-radius: 12px; color: #fff; background: linear-gradient(120deg, var(--blue), #057fd7); font: inherit; font-weight: 800; cursor: pointer; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 30px; }
.pagination a, .pagination span { min-width: 42px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; text-align: center; text-decoration: none; }
.pagination span[aria-current] { border-color: var(--blue); color: #fff; background: var(--blue); }
.sources-block { padding: clamp(22px, 4vw, 34px); border: 1px solid var(--line); border-radius: var(--radius); background: #f8fbff; }
.sources-block h2 { margin-top: 0; }
.sources-block ol { display: grid; gap: 12px; padding: 0; list-style: none; counter-reset: sources; }
.sources-block li { display: grid; grid-template-columns: auto 1fr; gap: 13px; align-items: start; padding: 14px; border: 1px solid #dfe7f3; border-radius: 13px; background: #fff; counter-increment: sources; }
.sources-block li::before { content: counter(sources); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; background: var(--blue); font-size: .76rem; font-weight: 850; }
.sources-block li div { display: grid; gap: 3px; }
.sources-block li a, .sources-block li strong { color: var(--navy); font-weight: 800; }
.sources-block small { color: var(--muted); }
.source-type { display: none; }
.article-taxonomy { margin-top: 42px; padding-top: 28px; border-top: 1px solid var(--line); }
.article-taxonomy h2 { margin: 0 0 14px; font-size: 1.4rem; }
.article-taxonomy h3 { margin: 24px 0 10px; color: #405071; font-size: .82rem; letter-spacing: .07em; text-transform: uppercase; }
.taxonomy-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.taxonomy-chip { display: inline-flex; align-items: center; min-height: 38px; padding: 8px 14px; border: 1px solid #c7d8f3; border-radius: 999px; color: #17396d; background: #f3f8ff; font-size: .84rem; font-weight: 780; text-decoration: none; }
.taxonomy-chip:hover { border-color: var(--blue); color: #fff; background: var(--blue); }
.taxonomy-chip.is-primary { border-color: transparent; color: #fff; background: linear-gradient(110deg, var(--blue), #087ed8); }
.taxonomy-chip.tag { min-height: 32px; padding: 6px 11px; border-color: #dce4f2; color: #526078; background: #fff; font-size: .76rem; }
.author-block { position: relative; overflow: hidden; margin-top: 48px; padding: 30px; border: 1px solid #cfe0fa; border-radius: var(--radius); background: radial-gradient(circle at 100% 0, rgba(0,194,255,.16), transparent 40%), linear-gradient(135deg,#f0f6ff,#fff); }
.author-block::after { content: "B"; position: absolute; right: 18px; bottom: -38px; color: rgba(10,91,255,.06); font-size: 9rem; font-weight: 950; line-height: 1; }
.author-block h2 { margin: 0 0 8px; font-size: 1.5rem; }
.author-block p, .author-block a { position: relative; z-index: 1; }
.author-block > a { font-weight: 800; }
.site-footer { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 34px; padding: 54px max(24px, calc((100% - 1180px) / 2)); border-top: 1px solid var(--line); color: var(--muted); background: var(--soft); text-align: left; }
.site-footer nav { display: grid; align-content: start; gap: 7px; }
.site-footer nav a { color: var(--muted); text-decoration: none; }
.site-footer nav a:hover { color: var(--blue); }
.site-footer strong { color: var(--navy); }
.site-footer small { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--line); }

@media (max-width: 760px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .external-ad { min-height: var(--ad-mobile-min-h); margin-block: 26px; }
  .site-header { min-height: 68px; padding: 10px 18px; }
  .brand img { width: 168px; }
  .site-header nav { gap: 14px; }
  .site-header nav a:nth-child(3) { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding: 38px 28px; border-radius: 26px; }
  .hero-art { width: min(100%, 520px); margin: 0 auto -24px; }
  .article-shell, .collection { width: min(100% - 28px, 1120px); margin-top: 28px; }
  .article-hero { padding: 30px 24px; border-radius: 24px; }
  .article-hero h1 { font-size: clamp(2.15rem, 10vw, 3.1rem); }
  .share-bar { align-items: stretch; gap: 7px; margin-bottom: 26px; }
  .share-bar > span { flex-basis: 100%; margin: 0 0 3px; }
  .share-button { justify-content: center; flex: 1 1 calc(33.333% - 7px); min-width: 92px; }
  .content { font-size: 1.04rem; line-height: 1.8; }
  .content blockquote { padding: 20px 20px 20px 24px; }
  .content table { width: calc(100vw - 28px); max-width: 100%; margin: 1.8em 0; }
  .content th, .content td { min-width: 135px; padding: 12px 13px; }
  .sources-block { padding: 22px 18px; }
  .author-block { padding: 24px 22px; }
  .section-heading { display: block; }
  .site-footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 460px) {
  .brand img { width: 142px; }
  .site-header nav { gap: 12px; }
  .site-header nav a { font-size: .82rem; }
  .site-header nav a:nth-child(2) { display: none; }
  .hero h1 { font-size: 2.75rem; }
  .article-hero { padding: 26px 20px; border-radius: 20px; }
  .article-hero h1 { font-size: 2.15rem; letter-spacing: -.035em; }
  .article-hero .summary { font-size: 1rem; }
  .byline { line-height: 1.65; }
  .share-button { flex-basis: calc(50% - 7px); }
  .taxonomy-chip { max-width: 100%; }
  .cards { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer small { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
}
