:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #657188;
  --paper: #f5f8fc;
  --surface: #ffffff;
  --line: #dce3ef;
  --blue: #2357c6;
  --navy: #12214a;
  --green: #13866f;
  --yellow: #f5b841;
  --soft-blue: #e9f0ff;
  --shadow: 0 18px 48px rgba(18, 33, 74, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(35, 87, 198, 0.13), transparent 34rem),
    var(--paper);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(217, 212, 199, 0.85);
  background: rgba(247, 245, 239, 0.94);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  gap: 20px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
}

.brand strong {
  font-size: 1.02rem;
  letter-spacing: 0;
}

.brand span {
  color: var(--muted);
  font-size: 0.76rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  content: "";
  background: currentColor;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #343430;
  font-size: 0.92rem;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--blue);
}

.hero {
  min-height: 78vh;
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(18, 33, 74, 0.94), rgba(35, 87, 198, 0.78) 55%, rgba(19, 134, 111, 0.52)),
    url("/assets/remote/english/wp-content/uploads/2024/12/3f00575cedbd5a72b53fedb43dc93baa-1024x576.jpg") center / cover;
}

.hero-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #ffe1a3;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 8vw, 5.7rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

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

.button.secondary {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.section.compact {
  padding-top: 44px;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-header h2 {
  max-width: 680px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}

.section-header p {
  max-width: 380px;
  margin-bottom: 0;
  color: var(--muted);
}

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

.category-tile,
.article-card,
.brand-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(30, 38, 33, 0.06);
}

.category-tile {
  min-height: 176px;
  padding: 22px;
  text-decoration: none;
}

.category-tile span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.category-tile h3 {
  margin: 18px 0 8px;
  font-size: 1.24rem;
}

.category-tile p {
  color: var(--muted);
  margin-bottom: 0;
}

.article-card img {
  width: 100%;
  background: var(--soft-blue);
}

.article-card-body {
  padding: 20px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.article-card h3 {
  font-size: 1.25rem;
  line-height: 1.22;
}

.article-card p {
  color: var(--muted);
}

.brand-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 360px;
}

.brand-panel-media {
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(35, 87, 198, 0.16), rgba(19, 134, 111, 0.18)),
    url("/assets/remote/english/wp-content/uploads/2024/12/image-20.png") center / cover;
}

.brand-panel-copy {
  padding: 34px;
}

.brand-panel-copy h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.05;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding-left: 18px;
  border-left: 3px solid var(--green);
  color: var(--muted);
}

.page-hero {
  background: var(--navy);
  color: #fff;
}

.page-hero .section {
  padding: 74px 0 58px;
}

.page-hero h1 {
  max-width: 860px;
  margin-bottom: 16px;
  font-size: clamp(2.3rem, 6vw, 4.6rem);
}

.page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: start;
}

.article-body {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: clamp(24px, 5vw, 48px);
}

.article-body h2 {
  margin-top: 38px;
  font-size: 2rem;
  line-height: 1.12;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body p,
.article-body li {
  color: #343430;
}

.migrated-content img {
  height: auto;
  margin-right: auto;
  margin-left: auto;
  border-radius: 8px;
}

.migrated-content figure {
  margin: 28px 0;
}

.migrated-content figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
}

.migrated-content .article-grid {
  margin: 0;
}

.migrated-content a {
  color: var(--blue);
  overflow-wrap: anywhere;
}

.article-body .lead {
  color: var(--ink);
  font-size: 1.15rem;
}

.callout {
  margin: 30px 0;
  padding: 22px;
  border-left: 5px solid var(--blue);
  background: var(--soft-blue);
}

.sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 14px;
}

.sidebar-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px;
}

.sidebar-box h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.sidebar-box a {
  display: block;
  padding: 8px 0;
  color: var(--blue);
  font-weight: 700;
}

.site-footer {
  margin-top: 44px;
  border-top: 1px solid var(--line);
  background: #111614;
  color: rgba(255, 255, 255, 0.8);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0;
}

.footer-inner strong {
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .nav-links[data-open] {
    display: flex;
  }

  .section-header,
  .brand-panel,
  .article-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .section-header,
  .footer-inner {
    display: grid;
  }

  .category-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .brand-panel-media {
    min-height: 240px;
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 72vh;
    background-position: 58% center;
  }

  .hero-inner {
    padding: 84px 0 46px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 54px 0;
  }
}
