/* ========================================
   WHK Wissen Blog Overview - Editorial Redesign
   ======================================== */

/* Self-hosted fonts (no external Google Fonts requests) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('../fonts/playfair-display-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('../fonts/playfair-display-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --whk-navy-950: #07142d;
  --whk-navy-900: #0c2147;
  --whk-navy-800: #133161;
  --whk-blue-500: #3558c9;
  --whk-cyan-400: #5ac6eb;
  --whk-cyan-300: #90dbf4;

  --whk-text-900: #0f1f3b;
  --whk-text-700: #314a6f;
  --whk-text-500: #667d9f;

  --whk-surface-0: #ffffff;
  --whk-surface-50: #f3f7fc;
  --whk-surface-100: #e8effa;

  --whk-border-200: #d7e3f3;
  --whk-border-300: #c5d6ee;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 10px 26px rgba(11, 27, 57, 0.08);
  --shadow-md: 0 18px 50px rgba(11, 27, 57, 0.12);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --container-max: 1220px;
}

* {
  box-sizing: border-box;
}

body.blog-page {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--whk-text-900);
  background: linear-gradient(180deg, #f8fbff 0%, var(--whk-surface-50) 45%, #f6f9fd 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.blog-page img {
  max-width: 100%;
  display: block;
}

.blog-page .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ========================================
   Shared Header Component Styling
   ======================================== */
.blog-page .nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  border-bottom: 1px solid rgba(197, 213, 236, 0.9);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: none;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.blog-page .nav.scrolled {
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(12, 33, 71, 0.08);
}

.blog-page .nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  height: 76px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-page .nav-logo {
  display: inline-flex;
  align-items: center;
}

.blog-page .nav-logo img {
  width: auto;
  height: 38px;
}

.blog-page .nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex !important;
  align-items: center;
  gap: 30px;
}

.blog-page .nav-links li {
  margin: 0;
}

.blog-page .nav-links a {
  color: #2a3f61;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.blog-page .nav-links a:hover {
  color: #2f57b8;
}

.blog-page .nav-links .nav-cta {
  padding: 10px 18px;
  color: #fff;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #3358c8 0%, #5bc3eb 100%);
  box-shadow: none;
}

.blog-page .nav-links .nav-cta:hover {
  color: #fff;
  box-shadow: none;
  background: linear-gradient(135deg, #2f4fb7 0%, #4cb5e3 100%);
}

.blog-page .nav-mobile-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.blog-page .nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  border-radius: 1px;
  background: var(--whk-text-700);
}

.blog-page .nav-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 400;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.blog-page .nav-mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.blog-page .nav-mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 17, 34, 0.45);
  backdrop-filter: blur(3px);
}

.blog-page .nav-mobile-menu-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 84%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  background: var(--whk-surface-0);
  box-shadow: -14px 0 34px rgba(10, 20, 40, 0.22);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  overflow-y: auto;
}

.blog-page .nav-mobile-menu.active .nav-mobile-menu-content {
  transform: translateX(0);
}

.blog-page .nav-mobile-close {
  align-self: flex-end;
  border: 0;
  background: transparent;
  color: var(--whk-text-700);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  padding: 14px 20px;
}

.blog-page .nav-mobile-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-page .nav-mobile-links li {
  border-top: 1px solid var(--whk-border-200);
}

.blog-page .nav-mobile-links a {
  display: block;
  padding: 14px 20px;
  color: var(--whk-text-700);
  text-decoration: none;
  font-weight: 600;
}

.blog-page .nav-mobile-links a:hover {
  color: var(--whk-blue-500);
  background: rgba(66, 100, 209, 0.06);
}

.blog-page .nav-mobile-links .nav-mobile-cta {
  margin: 14px 20px;
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #3358c8 0%, #5bc3eb 100%);
}

.blog-page .nav-mobile-toc {
  display: none;
}

body.menu-open {
  overflow: hidden;
}

/* ========================================
   Main Structure
   ======================================== */
.blog-main {
  padding-top: 76px;
}

.section-intro {
  max-width: var(--container-max);
  margin: 0 auto 20px;
}

.section-intro-tight {
  margin-bottom: 18px;
}

.featured-section .section-intro,
.articles-section .section-intro {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr);
  align-items: end;
  gap: 8px;
}

.featured-section .section-intro .section-kicker,
.articles-section .section-intro .section-kicker {
  grid-column: 1;
  margin-bottom: 2px;
}

.featured-section .section-intro .section-heading,
.articles-section .section-intro .section-heading {
  grid-column: 2;
  text-align: center;
  font-size: clamp(1.42rem, 2.2vw, 2rem);
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--whk-blue-500);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--whk-text-900);
}

.section-subtitle {
  margin: 12px 0 0;
  max-width: 70ch;
  color: var(--whk-text-500);
  font-size: 1rem;
}

