:root {
  --blue: #073bd4;
  --blue-dark: #062d8e;
  --navy: #061e54;
  --orange: #ff8d4a;
  --paper: #f8f6ef;
  --ink: #112042;
  --muted: #61708d;
  --line: #d9ddd9;
  --white: #fff;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
.article-video {
  display: block;
  width: 100%;
  max-width: min(600px, 100%);
  height: auto;
}
.shell {
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 247, 251, 0.86);
  border-bottom: 1px solid rgba(220, 227, 239, 0.9);
  backdrop-filter: blur(10px);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 5px 14px rgba(8, 27, 73, 0.15);
}
nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #667694;
  font-size: 0.82rem;
  font-weight: 700;
}
nav a:not(.button):hover,
nav a.is-active,
.footer-links a:hover {
  color: var(--orange);
}
.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 0;
  padding: 3px;
  color: var(--muted);
  background: #eaf0fb;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.language-option {
  padding: 6px 8px;
  color: inherit;
  border-radius: 6px;
}
.language-option.is-active {
  color: #0d328f;
  background: #fff;
  box-shadow: 0 2px 7px rgba(8, 27, 73, 0.1);
}
.menu-toggle {
  display: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 14px 20px;
  color: var(--white);
  background: #1754e8;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(23, 84, 232, 0.2);
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}
.button:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}
.button-small {
  padding: 11px 16px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow::before {
  width: 28px;
  height: 2px;
  background: var(--orange);
  content: "";
}
h1,
h2,
h3 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
}
h1 {
  color: var(--navy);
  font-size: clamp(4rem, 7.5vw, 7rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
}
h1 span,
h2 em {
  color: var(--orange);
  font-style: normal;
}
section {
  padding: 76px 0;
}
.posts-section {
  background: #fff;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 36px;
}
.section-heading h2 {
  color: var(--navy);
  font-size: clamp(2.8rem, 4.8vw, 4.8rem);
  line-height: 0.88;
  letter-spacing: -0.03em;
}
.section-heading > p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
}
.section-intro {
  position: relative;
  padding-left: 22px;
}
.section-intro:before {
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 4px;
  height: 3.2em;
  background: var(--orange);
  content: "";
}
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.post-card {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--paper);
  border: 1px solid #edf0ed;
  box-shadow: 0 10px 24px rgba(6, 30, 84, 0.06);
  transition: transform 0.2s ease;
}
.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px rgba(6, 30, 84, 0.11);
}
.post-image {
  aspect-ratio: 5/3;
  overflow: hidden;
  background: var(--blue);
}
.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.post-card:hover .post-image img {
  transform: scale(1.04);
}
.post-body {
  padding: 24px 24px 28px;
}
.post-meta {
  display: flex;
  gap: 12px;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.post-meta span + span {
  padding-left: 12px;
  border-left: 1px solid var(--line);
}
.post-body h3 {
  margin: 14px 0 12px;
  color: var(--navy);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  line-height: 1;
}
.post-body p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}
.underlined-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  border-bottom: 1px solid var(--orange);
  padding-bottom: 5px;
  font-size: 0.86rem;
  font-weight: 800;
}
.underlined-link:hover {
  color: var(--orange);
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 48px;
  padding: 0;
  list-style: none;
}
.pagination a,
.pagination span {
  display: inline-block;
  padding: 9px 13px;
  border: 1px solid var(--line);
  font-size: 0.8rem;
}
.pagination .active {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}
.article {
  padding: 64px 0 96px;
}
.article-shell {
  max-width: 860px;
}
.back-link {
  display: inline-block;
  margin-bottom: 40px;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 800;
}
.article h1 {
  max-width: 820px;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.9;
}
.article-meta {
  margin: 22px 0 40px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.article-image {
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  margin-bottom: 52px;
}
.article-content {
  max-width: 720px;
  color: #344566;
  font-size: clamp(1.05rem, 1.1vw, 1.16rem);
  line-height: 1.8;
}
.article-content h2 {
  margin: 52px 0 18px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}
.article-content p {
  margin: 0 0 24px;
}
.article-content a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: 4px;
}
footer {
  position: relative;
  padding: 36px 0 16px;
  color: #b6c6e7;
  background: linear-gradient(135deg, var(--navy), #082b72);
  overflow: hidden;
}
footer:before {
  position: absolute;
  top: 0;
  right: 10%;
  width: 120px;
  height: 3px;
  background: var(--orange);
  content: "";
}
.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.brand-light {
  color: #fff;
}
footer p {
  margin: 8px 0 0;
  font-size: 0.75rem;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}
.footer-links a {
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2px;
}
.footer-links a:hover {
  background: rgba(255, 255, 255, 0.1);
}
.footer-sponsor {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 14px;
  color: #b6c6e7;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.footer-sponsor a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
}
.footer-sponsor a:hover {
  color: var(--orange);
}
.footer-sponsor img {
  width: auto;
  height: 26px;
  max-width: 140px;
  object-fit: contain;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 12px;
  color: #8fa6d1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.6rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
@media (max-width: 860px) {
  .shell {
    width: min(calc(100% - 34px), 560px);
  }
  .nav-wrap {
    min-height: 70px;
  }
  .menu-toggle {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
    color: var(--navy);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 2px;
    cursor: pointer;
  }
  .menu-toggle > span:not(.sr-only) {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
  }
  .site-header nav {
    position: absolute;
    top: 100%;
    right: 17px;
    left: 17px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 8px;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(6, 30, 84, 0.12);
  }
  .site-header nav.is-open {
    display: flex;
  }
  .site-header nav a {
    padding: 13px 12px;
  }
  .site-header nav .language-switcher {
    margin: 4px 12px 8px;
    padding: 9px 12px;
  }
  .site-header nav .button {
    justify-content: center;
    margin-top: 4px;
  }
  .post-grid {
    grid-template-columns: 1fr;
  }
  .section-heading {
    display: block;
  }
  .section-heading > p {
    margin-top: 22px;
  }
  section {
    padding: 56px 0;
  }
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-links {
    order: -1;
    flex-wrap: wrap;
  }
  .footer-sponsor {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}
@media (max-width: 520px) {
  .shell {
    width: min(calc(100% - 28px), 440px);
  }
  .brand {
    font-size: 1.25rem;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  h1 {
    font-size: clamp(3.5rem, 17vw, 5.1rem);
  }
  .article h1 {
    font-size: clamp(2.8rem, 14vw, 4.6rem);
  }
  .article {
    padding: 48px 0 72px;
  }
  .article-content {
    font-size: 1.05rem;
    line-height: 1.75;
  }
}
