:root {
  --bg: #f4f7f6;
  --ink: #10222a;
  --muted: #51646c;
  --line: #c9d7d8;
  --brand: #0f3a46;
  --brand-soft: #dfeceb;
  --accent: #8a6a2f;
  --card: #ffffff;
  --max: 1120px;
  --shadow: 0 12px 28px rgba(16, 34, 42, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(138, 106, 47, 0.12), transparent 30%),
    linear-gradient(180deg, #f8fbfa 0%, var(--bg) 100%);
  line-height: 1.85;
}

a {
  color: var(--brand);
}

.wrap {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(13, 38, 58, 0.08);
  backdrop-filter: blur(12px);
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
}

.site-nav-title {
  color: #0f3a46;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #0f3a46;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav-menu a:hover,
.site-nav-menu a:focus-visible {
  background: #e8f0ef;
}

.site-nav-menu a.is-current {
  background: #0f3a46;
  color: #ffffff;
}

.site-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 48px;
  height: 48px;
  border: 1px solid #b8cdd9;
  border-radius: 12px;
  background: #ffffff;
  color: #0f3a46;
  box-shadow: 0 10px 24px rgba(13, 38, 58, 0.08);
  cursor: pointer;
}

.site-nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.site-nav-toggle-bar + .site-nav-toggle-bar {
  margin-top: 4px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  white-space: nowrap;
}

.site-nav-menu .lang-switch {
  display: none;
}

.site-nav-actions > .lang-switch {
  display: flex;
}

.lang-switch a,
.lang-switch span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.lang-switch a {
  color: #0f3a46;
}

.lang-switch a:hover,
.lang-switch a:focus-visible {
  background: #e8f0ef;
}

.lang-switch span {
  background: #0f3a46;
  color: #ffffff;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 48px;
  color: #ffffff;
  background: #123247;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 58, 70, 0.82), rgba(18, 74, 82, 0.7));
  z-index: 1;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero .wrap {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.18;
}

h2 {
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

h3 {
  margin: 24px 0 10px;
  font-size: 1.12rem;
}

.lead {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
}

main {
  padding: 48px 0 72px;
}

section {
  margin-top: 32px;
}

.card,
.article-card,
.article-side-card,
.column-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.card,
.column-card,
.article-side-card {
  padding: 24px;
}

.article-card {
  padding: 32px;
}

.button {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--brand);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.note-box,
.article-note,
.article-warning,
.article-source-box {
  padding: 18px 20px;
  border-radius: 16px;
  margin-bottom: 22px;
}

.note-box,
.article-note {
  border-left: 4px solid var(--accent);
  background: #fffaf1;
}

.article-warning {
  border-left: 4px solid #b58532;
  background: #fff7e8;
}

.article-source-box {
  border: 1px solid var(--line);
  background: #f8fbfd;
}

.column-list {
  display: grid;
  gap: 20px;
}

.column-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.94rem;
}

.column-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.84rem;
  font-weight: 700;
}

.column-link {
  color: inherit;
  text-decoration: none;
}

.column-link:hover h2,
.column-link:focus-visible h2 {
  color: var(--brand);
}

.article-next {
  display: inline-block;
  margin-top: 8px;
  font-weight: 700;
}

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

.article-card h2 {
  margin-top: 34px;
}

.article-lead {
  font-size: 1.08rem;
  color: #294a61;
}

.article-divider {
  height: 1px;
  margin: 28px 0;
  background: linear-gradient(90deg, rgba(15, 58, 70, 0.25), rgba(15, 58, 70, 0));
}

.article-side-card {
  position: sticky;
  top: 86px;
}

.article-nav {
  display: grid;
  gap: 16px;
}

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

.youtube-wrap {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #dfe9f1;
  min-height: 280px;
}

.youtube-wrap iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.bubble-talk {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 18px 0 14px;
}

.bubble-avatar {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  object-fit: contain;
  border: 2px solid #c9dcea;
  background: #ffffff;
  padding: 2px;
  box-shadow: 0 6px 18px rgba(13, 38, 58, 0.14);
  flex: 0 0 auto;
}

.bubble {
  display: inline-block;
  margin-bottom: 0;
  padding: 12px 16px;
  border: 1px solid #b9d0df;
  border-radius: 12px;
  background: #f7fbff;
  color: #23445f;
}

.fixed-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #1fa67a;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(15, 58, 70, 0.24);
}

.fixed-cta:hover,
.fixed-cta:focus-visible {
  background: #188b66;
}

footer {
  padding: 28px 0 48px;
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

@media (max-width: 860px) {
  .site-nav .wrap {
    align-items: center;
    min-height: 64px;
  }

  .site-nav-toggle {
    display: inline-flex;
  }

  .site-nav-actions {
    margin-left: auto;
  }

  .site-nav-actions > .lang-switch {
    display: none;
  }

  .site-nav-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 16px 34px rgba(13, 38, 58, 0.12);
  }

  .site-nav.is-open .site-nav-menu {
    display: flex;
  }

  .site-nav-menu .lang-switch {
    display: flex;
    justify-content: center;
    margin-top: 4px;
  }

  .site-nav.is-open .site-nav-toggle-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-nav.is-open .site-nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .site-nav.is-open .site-nav-toggle-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-nav-menu a {
    justify-content: center;
  }

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

  .article-side-card {
    position: static;
  }

  .bubble-avatar {
    width: 84px;
    height: 84px;
  }

  .article-card,
  .article-side-card,
  .column-card,
  .card {
    padding: 22px;
  }

  .hero {
    padding-top: 56px;
  }

  .fixed-cta {
    right: 14px;
    left: 14px;
    bottom: 14px;
  }
}
