:root {
  color-scheme: light;
  --ink: #101426;
  --muted: #536070;
  --paper: #fff8e5;
  --card: #ffffff;
  --line: #1f2433;
  --blue: #2563eb;
  --cyan: #20c7f7;
  --green: #22c55e;
  --lime: #a3e635;
  --red: #f04438;
  --pink: #ff4fb8;
  --gold: #ffd43b;
  --violet: #7c3aed;
  --shadow: 8px 8px 0 rgba(16, 20, 38, 0.95);
  --soft-shadow: 0 20px 44px rgba(16, 20, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(16, 20, 38, 0.07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(16, 20, 38, 0.07) 1px, transparent 1px),
    linear-gradient(135deg, #fff8e5 0%, #eefbff 44%, #fff0f8 100%);
  background-size: 32px 32px, 32px 32px, auto;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 212, 59, 0.38) 0 12%, transparent 12% 100%),
    linear-gradient(315deg, rgba(32, 199, 247, 0.24) 0 14%, transparent 14% 100%);
  content: "";
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.06;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 14px;
  min-height: 74px;
  padding: 12px max(18px, calc((100vw - 1180px) / 2));
  border-bottom: 3px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
  text-decoration: none;
}

.brand {
  min-height: 46px;
  padding: 4px 10px 4px 4px;
  border: 3px solid var(--line);
  border-radius: 8px;
  background: var(--gold);
  box-shadow: 4px 4px 0 var(--line);
}

.brand img {
  width: 34px;
  height: 34px;
}

.brand span,
.footer-brand {
  font-size: 1.08rem;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.main-nav a,
.language-menu summary,
.language-list a,
.button,
.back-link,
.card-link,
.footer-links a {
  min-height: 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 850;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 2px solid transparent;
  color: #2d3748;
}

.main-nav a:hover,
.language-list a:hover,
.footer-links a:hover {
  border-color: var(--line);
  color: var(--ink);
  background: #f0ff42;
}

.tg-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
  min-height: 42px;
  padding: 0 15px;
  border: 3px solid var(--line);
  border-radius: 8px;
  color: #fff;
  background: #229ed9;
  box-shadow: 4px 4px 0 var(--line);
  font-size: 0.92rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.tg-btn:hover {
  transform: translateY(-1px);
}

.tg-btn svg {
  display: block;
}

.language-menu {
  position: relative;
  justify-self: end;
}

.language-menu summary {
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 3px solid var(--line);
  background: var(--card);
  box-shadow: 4px 4px 0 var(--line);
  cursor: pointer;
  list-style: none;
}

.language-menu summary::-webkit-details-marker {
  display: none;
}

.language-menu summary::after {
  width: 0;
  height: 0;
  margin-left: 8px;
  border-top: 7px solid var(--ink);
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  content: "";
}

.language-list {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 6px;
  width: 320px;
  padding: 10px;
  border: 3px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow);
}

[dir="rtl"] .language-list {
  right: auto;
  left: 0;
}

.language-list a {
  display: flex;
  align-items: center;
  padding: 0 10px;
  color: var(--muted);
}

.language-list a[aria-current="true"] {
  border: 2px solid var(--line);
  color: var(--ink);
  background: var(--cyan);
}

main,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(400px, 0.86fr);
  gap: 30px;
  align-items: center;
  padding: 46px 0 34px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 540px;
  padding: 28px 0;
}

.eyebrow,
.meta {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1.25;
  text-transform: uppercase;
}

h1 {
  max-width: 880px;
  font-size: 4rem;
  text-transform: uppercase;
}

.hero-copy h1 {
  text-shadow: 4px 4px 0 #d8f52d;
}

.hero-text {
  max-width: 760px;
  margin: 22px 0 0;
  color: #253045;
  font-size: 1.18rem;
  line-height: 1.65;
}

.freshness {
  display: inline-flex;
  width: fit-content;
  min-height: 36px;
  align-items: center;
  gap: 4px;
  margin: 18px 0 0;
  padding: 0 12px;
  border: 3px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #b6ff4d;
  font-size: 0.9rem;
  font-weight: 900;
  box-shadow: 4px 4px 0 var(--line);
}

.article-freshness {
  margin: -6px 0 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: 0 18px;
  border: 3px solid var(--line);
  box-shadow: 5px 5px 0 var(--line);
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #fff;
  background: var(--blue);
}

.button.secondary {
  color: var(--ink);
  background: var(--pink);
}

.hero-bullets {
  display: grid;
  gap: 9px;
  max-width: 720px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-bullets li {
  position: relative;
  padding: 10px 12px 10px 38px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  color: #334155;
  font-weight: 780;
}

[dir="rtl"] .hero-bullets li {
  padding-right: 38px;
  padding-left: 12px;
}

.hero-bullets li::before {
  position: absolute;
  left: 12px;
  top: 50%;
  width: 14px;
  height: 14px;
  border: 2px solid var(--line);
  background: var(--green);
  box-shadow: 3px 3px 0 var(--line);
  transform: translateY(-50%) rotate(8deg);
  content: "";
}

[dir="rtl"] .hero-bullets li::before {
  right: 12px;
  left: auto;
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.mascot-squad {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 18px;
  min-height: 170px;
  margin-bottom: -28px;
  pointer-events: none;
}

.blocky-mascot {
  position: relative;
  width: 86px;
  height: 150px;
  transform: rotate(-3deg);
}

.blocky-mascot.runner {
  width: 96px;
  height: 166px;
  transform: translateY(-12px) rotate(4deg);
}

.blocky-mascot.caster {
  transform: rotate(7deg);
}

.blocky-head,
.blocky-body,
.blocky-arm,
.blocky-leg {
  position: absolute;
  display: block;
  border: 4px solid var(--line);
  border-radius: 6px;
  box-shadow: 4px 4px 0 var(--line);
}

.blocky-head {
  top: 0;
  left: 22px;
  width: 48px;
  height: 48px;
  background: #ffd08a;
}

.blocky-head::before,
.blocky-head::after {
  position: absolute;
  top: 17px;
  width: 6px;
  height: 6px;
  background: var(--line);
  content: "";
}

.blocky-head::before {
  left: 12px;
}

.blocky-head::after {
  right: 12px;
}

.blocky-head i {
  position: absolute;
  right: 14px;
  bottom: 10px;
  left: 14px;
  height: 4px;
  background: var(--line);
}

.blocky-body {
  top: 52px;
  left: 16px;
  width: 62px;
  height: 58px;
  background: var(--blue);
}

.blocky-arm {
  top: 60px;
  width: 20px;
  height: 54px;
  background: var(--gold);
}

.blocky-arm.left {
  left: 0;
  transform: rotate(12deg);
}

.blocky-arm.right {
  right: 0;
  transform: rotate(-14deg);
}

.blocky-leg {
  top: 112px;
  width: 26px;
  height: 36px;
  background: #1f2937;
}

.blocky-leg.left {
  left: 18px;
}

.blocky-leg.right {
  right: 8px;
}

.blocky-mascot.builder .blocky-body {
  background: var(--green);
}

.blocky-mascot.runner .blocky-body {
  background: var(--pink);
}

.blocky-mascot.caster .blocky-body {
  background: var(--violet);
}

.blocky-mascot.runner .blocky-arm.left {
  transform: rotate(-24deg);
}

.blocky-mascot.runner .blocky-leg.right {
  transform: rotate(-12deg);
}

.blocky-mascot.caster::after {
  position: absolute;
  right: -16px;
  top: 82px;
  width: 28px;
  height: 18px;
  border: 4px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 4px 4px 0 var(--line);
  content: "";
}

.hero-feature,
.news-card,
.topic-card,
.coverage-card,
.mini-card,
.faq-item {
  border: 3px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}

.hero-feature {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-feature a,
.news-card a,
.mini-card a {
  display: block;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

.hero-feature img,
.news-card img,
.mini-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 3px solid var(--line);
}

.hero-feature div {
  padding: 22px;
}

.hero-feature h2 {
  margin-bottom: 12px;
  font-size: 1.78rem;
}

.hero-feature p:last-child {
  margin: 0;
  color: var(--muted);
}

.launch-promo {
  position: relative;
  scroll-margin-top: 96px;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
  gap: 24px;
  align-items: stretch;
  margin: 8px 0 38px;
  padding: 28px;
  border: 3px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(16, 20, 38, 0.12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(16, 20, 38, 0.12) 1px, transparent 1px),
    var(--gold);
  background-size: 28px 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.launch-promo::before,
.launch-promo::after {
  position: absolute;
  z-index: 0;
  display: block;
  color: var(--line);
  font-weight: 950;
  line-height: 1;
  content: "!";
}

.launch-promo::before {
  top: 18px;
  right: 26px;
  font-size: 4rem;
  transform: rotate(11deg);
}

.launch-promo::after {
  bottom: 18px;
  left: 28px;
  font-size: 3rem;
  transform: rotate(-14deg);
}

.promo-copy,
.promo-board {
  position: relative;
  z-index: 1;
}

.promo-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 390px;
  padding: 18px 6px;
}

.promo-eyebrow {
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  margin: 0 0 18px;
  padding: 0 12px;
  border: 3px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--cyan);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.promo-copy h2 {
  max-width: 740px;
  font-size: 3rem;
  text-transform: uppercase;
}

.promo-copy p:not(.promo-eyebrow) {
  max-width: 680px;
  margin: 18px 0 0;
  color: #243042;
  font-size: 1.13rem;
  font-weight: 720;
  line-height: 1.62;
}

.promo-button {
  width: fit-content;
  margin-top: 24px;
  color: #fff;
  background: var(--red);
}

.promo-board {
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) minmax(0, 1fr);
  gap: 16px;
  align-content: stretch;
}

.promo-reward,
.promo-points,
.promo-channels,
.promo-script {
  border: 3px solid var(--line);
  border-radius: 8px;
  background: #fffdf4;
}

.promo-reward {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 190px;
  padding: 18px;
  color: var(--ink);
  background: var(--green);
  text-align: center;
  box-shadow: 5px 5px 0 var(--line);
}

.promo-reward span,
.promo-reward small {
  font-weight: 950;
  text-transform: uppercase;
}

.promo-reward strong {
  margin: 8px 0;
  font-size: 3.15rem;
  line-height: 0.92;
}

.promo-points {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 18px 18px 18px 36px;
  font-weight: 780;
}

.promo-channels,
.promo-script {
  grid-column: 1 / -1;
  padding: 18px;
}

.promo-channels h3,
.promo-script h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
  text-transform: uppercase;
}

.promo-channels > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.promo-channel {
  min-height: 118px;
  padding: 14px;
  border: 2px dashed var(--line);
  border-radius: 8px;
  background: #e8f6ff;
}

.promo-channel:nth-child(2) {
  background: #ffe8ef;
}

.promo-channel:nth-child(3) {
  background: #efffe1;
}

.promo-channel h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.promo-channel p,
.promo-script p {
  margin: 0;
  color: #273244;
  font-weight: 700;
  line-height: 1.55;
}

.band {
  padding: 38px 0 48px;
  border-top: 3px solid rgba(16, 20, 38, 0.18);
}

.market-band {
  padding-top: 44px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(260px, 0.52fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 22px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -18px;
}

.section-heading h2 {
  font-size: 2.1rem;
}

.section-heading p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.topic-grid,
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.topic-card,
.coverage-card a {
  padding: 18px;
}

.coverage-card {
  padding: 0;
}

.coverage-card a {
  display: block;
  min-height: 100%;
  text-decoration: none;
}

.topic-card:nth-child(4n + 1),
.coverage-card:nth-child(4n + 1) {
  background: #efffe1;
}

.topic-card:nth-child(4n + 2),
.coverage-card:nth-child(4n + 2) {
  background: #e9f7ff;
}

.topic-card:nth-child(4n + 3),
.coverage-card:nth-child(4n + 3) {
  background: #fff0f8;
}

.topic-card:nth-child(4n),
.coverage-card:nth-child(4n) {
  background: #fff6cc;
}

.coverage-card a:hover h3,
.news-card a:hover h3,
.mini-card a:hover h3 {
  color: var(--blue);
}

.topic-card h3,
.coverage-card h3 {
  font-size: 1.15rem;
}

.topic-card p,
.coverage-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.keyword-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.keyword-row span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 9px;
  border: 2px solid var(--line);
  border-radius: 8px;
  color: #273244;
  background: #fff;
  font-size: 0.78rem;
  font-weight: 850;
}

.source-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.source-note a {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin: 6px 0 0 8px;
  padding: 0 8px;
  border: 2px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--card);
  font-weight: 850;
  text-decoration: none;
}

[dir="rtl"] .source-note a {
  margin-right: 8px;
  margin-left: 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.news-card {
  position: relative;
  overflow: hidden;
  box-shadow: 5px 5px 0 rgba(16, 20, 38, 0.92);
}

.news-card:nth-child(3n + 1) {
  background: #fff;
}

.news-card:nth-child(3n + 2) {
  background: #f4fff0;
}

.news-card:nth-child(3n) {
  background: #f2f8ff;
}

.rank {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 10px;
  border: 3px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--gold);
  font-weight: 950;
  box-shadow: 4px 4px 0 var(--line);
}

[dir="rtl"] .rank {
  right: 12px;
  left: auto;
}

.news-card .meta,
.news-card h3,
.news-card p,
.card-link {
  margin-right: 16px;
  margin-left: 16px;
}

.news-card .meta {
  margin-top: 16px;
}

.news-card h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.news-card p:not(.meta) {
  color: var(--muted);
}

.card-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  color: var(--blue);
}

.coverage-card span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin-bottom: 14px;
  padding: 0 9px;
  border: 2px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--lime);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.language-band {
  padding-bottom: 58px;
}

.language-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.language-grid a {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 3px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: 4px 4px 0 var(--line);
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.language-grid a[aria-current="true"] {
  background: var(--cyan);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  background: var(--card);
  box-shadow: 4px 4px 0 var(--line);
}

.faq-item summary {
  min-height: 58px;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 900;
}

.faq-item p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  line-height: 1.65;
}

.topic-page {
  padding-top: 34px;
}

.listing-page {
  padding-top: 34px;
}

.topic-hero {
  max-width: 900px;
  padding: 0 0 34px;
}

.listing-hero {
  max-width: 980px;
}

.topic-hero h1 {
  font-size: 3rem;
  text-shadow: 4px 4px 0 #d8f52d;
}

.hub-keywords {
  margin-top: 18px;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 24px;
}

.pagination a,
.pagination span,
.seo-chip-grid a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 850;
}

.pagination a,
.pagination span {
  padding: 0 12px;
  background: var(--card);
}

.pagination a:hover,
.seo-chip-grid a:hover {
  color: var(--blue);
  background: var(--soft);
}

.pagination a[aria-current="page"] {
  border-color: var(--blue);
  color: #fff;
  background: var(--blue);
}

.pagination span {
  color: #8a94a3;
}

.seo-links-band {
  padding-bottom: 54px;
}

.seo-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.seo-chip-grid a {
  min-height: 38px;
  padding: 0 11px;
  color: #334155;
  background: var(--card);
}

.tag-chip-grid a {
  background: #fff8e1;
}

.archive-chip-grid a {
  background: #eaf7f0;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) minmax(280px, 1fr);
  gap: 34px;
  align-items: start;
  padding: 34px 0 60px;
}

.article {
  min-width: 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 24px;
  padding: 0 10px;
  border: 2px solid var(--line);
  color: var(--ink);
  background: var(--card);
}

.article h1 {
  max-width: 820px;
  font-size: 3rem;
  text-transform: none;
}

.lead {
  margin: 20px 0 24px;
  color: #253045;
  font-size: 1.24rem;
  line-height: 1.7;
}

.article-cover-wrap {
  position: relative;
}

.article-cover {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 3px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.article-mascot {
  position: absolute;
  right: -22px;
  bottom: -24px;
  transform: scale(0.72);
  transform-origin: right bottom;
}

[dir="rtl"] .article-mascot {
  right: auto;
  left: -22px;
  transform-origin: left bottom;
}

.article-body,
.info-block,
.sources {
  margin-top: 28px;
}

.article-body p,
.info-block p,
.info-block li,
.sources li {
  color: #2f3a48;
  font-size: 1.05rem;
  line-height: 1.78;
}

.info-block,
.sources {
  padding: 22px;
  border: 3px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.info-block h2,
.sources h2,
.article-aside h2 {
  margin: 0 0 12px;
  font-size: 1.3rem;
}

.sources a {
  color: var(--blue);
  font-weight: 850;
}

.article-aside {
  position: sticky;
  top: 98px;
}

.mini-grid {
  display: grid;
  gap: 12px;
}

.mini-card {
  overflow: hidden;
  box-shadow: 4px 4px 0 var(--line);
}

.mini-card span,
.mini-card h3 {
  margin-right: 14px;
  margin-left: 14px;
}

.mini-card span {
  display: block;
  margin-top: 14px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.mini-card h3 {
  margin-top: 6px;
  margin-bottom: 14px;
  font-size: 1rem;
}

.tg-link {
  color: #229ed9;
}

.tg-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0 8px;
  padding: 18px 22px;
  border: 3px solid var(--line);
  border-radius: 8px;
  color: #fff;
  background: #229ed9;
  box-shadow: 5px 5px 0 var(--line);
  text-decoration: none;
}

.tg-cta:hover {
  transform: translateY(-1px);
}

.tg-cta-icon {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 3px solid rgba(255, 255, 255, 0.75);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
}

.tg-cta-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.tg-cta-text strong {
  font-size: 1.1rem;
}

.tg-cta-text small {
  opacity: 0.92;
  font-size: 0.9rem;
}

[dir="rtl"] .tg-cta {
  flex-direction: row-reverse;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  padding: 30px 0 42px;
  border-top: 3px solid var(--line);
}

.site-footer p {
  max-width: 620px;
  margin: 8px 0 0;
  color: var(--muted);
}

.notice {
  font-size: 0.92rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 8px;
  align-content: start;
}

.footer-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--line);
  background: var(--card);
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .hero,
  .article-layout,
  .launch-promo {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: auto;
    padding: 18px 0 0;
  }

  .hero-visual {
    max-width: 720px;
    margin: 0 auto;
  }

  .topic-grid,
  .coverage-grid,
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-aside {
    position: static;
  }

  .mini-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .language-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .promo-copy {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 154px;
  }

  .site-header {
    min-height: 64px;
    padding: 12px 16px;
  }

  main,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .brand span {
    font-size: 1rem;
  }

  .tg-btn span {
    display: none;
  }

  .tg-btn {
    padding: 0 10px;
  }

  .language-list {
    right: 0;
    width: min(320px, calc(100vw - 32px));
    grid-template-columns: 1fr;
  }

  h1,
  .article h1 {
    font-size: 2.25rem;
  }

  .topic-hero h1 {
    font-size: 2.15rem;
  }

  .hero {
    padding-top: 24px;
  }

  .hero-copy h1,
  .topic-hero h1 {
    text-shadow: 3px 3px 0 #d8f52d;
  }

  .hero-text,
  .lead {
    font-size: 1.08rem;
  }

  .hero-actions {
    display: grid;
  }

  .button,
  .promo-button {
    width: 100%;
  }

  .mascot-squad {
    gap: 8px;
    min-height: 140px;
    margin-bottom: -22px;
  }

  .blocky-mascot {
    transform: scale(0.78) rotate(-3deg);
    transform-origin: bottom center;
  }

  .blocky-mascot.runner {
    transform: scale(0.82) translateY(-12px) rotate(4deg);
  }

  .blocky-mascot.caster {
    transform: scale(0.78) rotate(7deg);
  }

  .launch-promo {
    margin-top: 0;
    padding: 20px;
    scroll-margin-top: 154px;
    box-shadow: 5px 5px 0 var(--line);
  }

  .launch-promo::before,
  .launch-promo::after {
    display: none;
  }

  .promo-copy h2 {
    font-size: 2rem;
  }

  .promo-board {
    grid-template-columns: 1fr;
  }

  .promo-channels,
  .promo-script {
    grid-column: auto;
  }

  .promo-channels > div {
    grid-template-columns: 1fr;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .section-heading .eyebrow {
    grid-column: auto;
    margin-bottom: 0;
  }

  .section-heading h2 {
    font-size: 1.62rem;
  }

  .topic-grid,
  .coverage-grid,
  .news-grid,
  .mini-grid,
  .language-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .article-layout {
    padding-top: 24px;
  }

  .article-mascot {
    display: none;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}
