/* ==========================================================================
   change affairs — Design-Relaunch auf Basis der Ekco-Markenidentität
   Farben & Skalen aus den offiziellen Ekco Brand Guidelines (April 2022):
   Blau #035AFF (Leitfarbe) · Cyan #0BF9F2 · Pink #FF94DB · Violett #8177ED
   Orange #FE7D39 · Rot #FC3246 · Gelb #FFC82C · Dunkel #1D1D1B · Grau #F6F6F6
   ========================================================================== */

:root {
  --blue: #035AFF;
  --blue-dark: #022E82;
  --cyan: #0BF9F2;
  --pink: #FF94DB;
  --violet: #8177ED;
  --orange: #FE7D39;
  --red: #FC3246;
  --yellow: #FFC82C;
  --dark: #1D1D1B;
  --dark-2: #14141f;
  --grey: #F6F6F6;
  --grey-mid: #8b8b93;
  --white: #ffffff;

  --font-head: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;

  --container: 1180px;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 100px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 24px -8px rgba(3,90,255,.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(3,90,255,.65); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.btn-ghost:hover { border-color: var(--white); transform: translateY(-2px); }
.btn-dark {
  background: var(--dark);
  color: var(--white);
}
.btn-dark:hover { transform: translateY(-2px); background: var(--blue); }

/* Header ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 21px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.01em;
}
.logo .logo-img {
  height: 32px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
nav.main-nav a {
  color: rgba(255,255,255,.82);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .01em;
  position: relative;
  padding: 6px 0;
  transition: color .15s ease;
}
nav.main-nav a:hover { color: var(--white); }
nav.main-nav a.active { color: var(--white); }
nav.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: 2px;
}
.header-cta { display: flex; align-items: center; gap: 18px; }
.icon-link {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255,255,255,.08);
  transition: background .15s ease;
}
.icon-link:hover { background: var(--blue); }

/* Nav toggle (hamburger) — hidden on desktop, shown at the mobile breakpoint */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.08);
  color: var(--white);
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  transition: background .15s ease;
}
.nav-toggle:hover { background: var(--blue); }
.nav-toggle .icon-close { display: none; }
.nav-toggle.is-active .icon-open { display: none; }
.nav-toggle.is-active .icon-close { display: block; }

.nav-cta-mobile { display: none; }

/* Search toggle — visible at every breakpoint */
.search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.08);
  color: var(--white);
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  transition: background .15s ease;
}
.search-toggle:hover { background: var(--blue); }

/* Search overlay -----------------------------------------------------------*/
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,15,20,.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 90px 20px 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s;
  z-index: 300;
}
.search-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.search-panel {
  background: var(--white);
  border-radius: var(--radius);
  width: 100%;
  max-width: 640px;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.5);
  overflow: hidden;
  transform: translateY(-12px);
  transition: transform .2s ease;
}
.search-overlay.is-open .search-panel { transform: translateY(0); }
.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid #ececec;
  color: var(--grey-mid);
}
.search-input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--dark);
  background: transparent;
}
.search-input::placeholder { color: var(--grey-mid); }
.search-close {
  border: none;
  background: transparent;
  color: var(--grey-mid);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  flex-shrink: 0;
  transition: color .15s ease;
}
.search-close:hover { color: var(--dark); }
.search-results { max-height: 60vh; overflow-y: auto; padding: 6px 0; }
.search-hint { padding: 26px 22px; color: var(--grey-mid); font-size: 14.5px; }
.search-result {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 22px;
  border-bottom: 1px solid #f2f2f2;
  transition: background .12s ease;
}
.search-result:last-child { border-bottom: none; }
.search-result:hover { background: var(--grey); }
.search-result-type {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--blue);
}
.search-result-title { font-family: var(--font-head); font-weight: 600; font-size: 15.5px; color: var(--dark); }
.search-result-excerpt { font-size: 13.5px; color: var(--grey-mid); line-height: 1.4; }
@media (max-width: 600px) {
  .search-overlay { padding: 76px 12px 12px; }
  .search-panel { max-width: none; }
}

/* Breadcrumb --------------------------------------------------------------*/
.breadcrumb {
  background: var(--grey);
  font-size: 13px;
  color: var(--grey-mid);
  padding: 14px 0;
}
.breadcrumb a { color: var(--grey-mid); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { color: var(--dark); font-weight: 600; }

/* Hero ---------------------------------------------------------------------*/
.hero {
  position: relative;
  background: radial-gradient(ellipse 90% 70% at 15% 0%, rgba(3,90,255,.55), transparent 60%),
              radial-gradient(ellipse 70% 60% at 100% 20%, rgba(11,249,242,.18), transparent 55%),
              linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 96px 0 84px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: .5;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  margin-bottom: .4em;
}
.hero h1 .grad {
  background: linear-gradient(90deg, var(--cyan), var(--blue) 60%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: 18px;
  color: rgba(255,255,255,.78);
  max-width: 46ch;
  margin-bottom: 1.8em;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4/3.4;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.6);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(3,90,255,.35), rgba(11,249,242,0) 55%);
  mix-blend-mode: overlay;
}
.hero.small { padding: 68px 0 60px; }
.hero.small .hero-grid { grid-template-columns: 1fr; }
.hero.small p.lead { max-width: 64ch; }

/* Section helpers -----------------------------------------------------------*/
section { padding: 88px 0; }
.section-head {
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
}
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-head p { color: var(--dark); font-size: 16.5px; }
.section-grey { background: var(--grey); }

/* Service / card grid --------------------------------------------------------*/
.grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card {
  background: var(--white);
  border: 1px solid #ececec;
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 44px -20px rgba(3,90,255,.28);
  border-color: transparent;
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: var(--white);
}
.card h3 { font-size: 19px; margin-bottom: .55em; }
.card p { color: var(--dark); font-size: 15px; flex-grow: 1; }
.card .card-link {
  margin-top: 18px;
  font-weight: 700;
  font-size: 14px;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card .card-link svg { transition: transform .18s ease; }
.card:hover .card-link svg { transform: translateX(4px); }

.bg-blue   { background: linear-gradient(135deg, var(--blue), #1c7cff); }
.bg-cyan   { background: linear-gradient(135deg, #079C97, #058A85); }
.bg-pink   { background: linear-gradient(135deg, #FF94DB, #e262b8); }
.bg-violet { background: linear-gradient(135deg, #8177ED, #5c50d6); }
.bg-orange { background: linear-gradient(135deg, #FE7D39, #e85f18); }
.bg-red    { background: linear-gradient(135deg, #FC3246, #d5122a); }
.bg-yellow { background: linear-gradient(135deg, #FFC82C, #e6a500); }

/* Article archive / filter ------------------------------------------------------*/
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 44px;
}
.filter-btn {
  border: 1.5px solid #e3e3e3;
  background: var(--white);
  color: var(--dark);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px 20px;
  border-radius: 100px;
  cursor: pointer;
  transition: all .15s ease;
}
.filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.filter-btn.active { background: var(--dark); border-color: var(--dark); color: var(--white); }

.article-count {
  text-align: center;
  color: var(--grey-mid);
  font-size: 14px;
  margin-bottom: 28px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.article-mini {
  background: var(--white);
  border: 1px solid #ececec;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.article-mini:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px -18px rgba(3,90,255,.25);
  border-color: transparent;
}
.article-mini-media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--grey);
}
.article-mini-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.article-mini:hover .article-mini-media img { transform: scale(1.06); }
.article-mini-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex-grow: 1; }
.tag-pill {
  display: inline-flex;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--white);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.article-mini-media .tag-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  margin-bottom: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,.2);
}
.article-mini h3 { font-size: 19px; margin-bottom: .5em; line-height: 1.3; }
.article-mini p { color: var(--dark); font-size: 13.5px; flex-grow: 1; margin-bottom: 14px; }
.article-mini .card-link { font-size: 13px; }

.related-posts .article-mini p { font-size: 14.5px; }
.article-mini[hidden] { display: none; }

@media (max-width: 900px) {
  .article-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .article-grid { grid-template-columns: 1fr; }
}

/* Split / feature section -----------------------------------------------------*/
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-media { position: relative; }
.split-media img {
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -24px rgba(0,0,0,.25);
}
.split-media .float-card {
  position: absolute;
  bottom: -22px; left: -22px;
  background: var(--white);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 18px 40px -14px rgba(0,0,0,.25);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 14px;
  max-width: 230px;
}
.split-media .float-card .dot-lg {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  flex-shrink: 0;
}
.split h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.split p { color: var(--dark); }

/* CTA banner ------------------------------------------------------------------*/
.cta-banner {
  background: linear-gradient(120deg, var(--dark) 0%, #0d1c4a 60%, var(--blue-dark) 100%);
  color: var(--white);
  border-radius: 26px;
  padding: 60px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute; right: -60px; top: -60px;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(11,249,242,.35), transparent 70%);
}
.cta-banner h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .3em; }
.cta-banner p { color: rgba(255,255,255,.75); margin-bottom: 0; max-width: 46ch; }
.cta-banner-inner { max-width: 640px; }

/* Post / blog cards -------------------------------------------------------------*/
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.post-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #ececec;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.post-card:hover { transform: translateY(-6px); box-shadow: 0 24px 44px -20px rgba(3,90,255,.22); }
.post-card img { aspect-ratio: 16/11; object-fit: cover; }
.post-card .post-body { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }
.post-card h3 { font-size: 19px; margin-bottom: .5em; line-height: 1.3; }
.post-card p { color: var(--dark); font-size: 14.5px; flex-grow: 1; }
.post-card .tag {
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 10px;
}

/* Footer -------------------------------------------------------------------------*/
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.72);
  padding: 76px 0 28px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-grid h4 {
  color: var(--white);
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-grid a { font-size: 14.5px; }
.footer-grid a:hover { color: var(--white); }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: 14.5px; max-width: 32ch; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 26px;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-bottom a:hover { color: var(--white); }
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }

/* Mobile ---------------------------------------------------------------------------*/
@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .grid-6, .post-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* Mobile navigation: hamburger toggle + slide-down panel */
  .nav-toggle { display: inline-flex; }
  .header-cta .btn-primary { display: none; }

  nav.main-nav {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--dark);
    border-bottom: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 20px 40px -20px rgba(0,0,0,.4);
    max-height: calc(100vh - 84px);
    overflow-y: auto;
    padding: 6px 28px 24px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    z-index: 99;
  }
  nav.main-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  nav.main-nav a {
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
    font-size: 16px;
  }
  nav.main-nav a.active::after { display: none; }
  nav.main-nav a.active { color: var(--blue); }
  nav.main-nav .nav-cta-mobile {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    margin-top: 18px;
    border-bottom: none;
    padding: 14px 26px;
  }

  body.no-scroll { overflow: hidden; }
}
@media (max-width: 600px) {
  .grid-6, .post-grid, .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 28px; flex-direction: column; align-items: flex-start; }
  section { padding: 60px 0; }
}
@media (max-width: 420px) {
  .logo-img { height: 26px; }
  .site-header .container { height: 72px; }
  nav.main-nav { top: 72px; max-height: calc(100vh - 72px); }
}

/* 404 page ---------------------------------------------------------------*/
.notfound-hero .hero-grid { justify-items: center; text-align: center; }
.notfound-hero .hero-actions { justify-content: center; }
.notfound-hero p.lead { max-width: 52ch; margin-left: auto; margin-right: auto; }
.notfound-code {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(5.5rem, 16vw, 9.5rem);
  line-height: 1;
  margin-bottom: .1em;
}

/* ==========================================================================
   Blog-Artikel (Einzelseite)
   ========================================================================== */
.breadcrumb .sep { margin: 0 6px; color: #c8c8ce; }
.breadcrumb .current {
  color: var(--dark);
  font-weight: 600;
  display: inline-block;
  max-width: 46ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

.article-title {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin-bottom: 0;
}
.tag-pill-static {
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--white);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.tag-pill-static:hover { opacity: .85; }

.tag-pill-outline {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--white);
  padding: 5px 15px;
  border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,.55);
  background: transparent;
}

/* Full-width Artikel-Hero mit Bild, Kategorie-Chip & Titel als Overlay ------ */
.article-hero-full {
  position: relative;
  width: 100%;
  min-height: 480px;
  overflow: hidden;
  background: var(--dark);
}
.article-hero-full img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-hero-overlay {
  position: relative;
  z-index: 1;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(6,8,20,0) 0%, rgba(6,8,20,.08) 40%, rgba(6,8,20,.28) 100%);
}
.hero-text-panel-wrap {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: -160px auto 32px;
  padding: 0 24px;
}
.hero-text-panel {
  display: inline-block;
  padding: 28px 32px;
  border-radius: 22px;
  background: rgba(8,10,24,.42);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255,255,255,.1);
}
.hero-chip-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.hero-chip-row .tag-pill-static { margin-bottom: 0; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.hero-text-panel .article-title {
  color: var(--white);
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
}

@media (max-width: 700px) {
  .article-hero-full, .article-hero-overlay { min-height: 360px; }
  .hero-text-panel { padding: 20px 22px; border-radius: 16px; }
  .hero-text-panel-wrap { margin: -110px auto 24px; padding: 0 20px; }
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  max-width: 720px;
  margin: 8px auto 0;
  padding-top: 28px;
  border-top: 1px solid #ececec;
}
.article-tags .label { font-size: 13px; color: var(--grey-mid); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-right: 4px; }
.article-tags a {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  background: var(--grey);
  padding: 7px 14px;
  border-radius: 100px;
}
.article-tags a:hover { background: var(--blue); color: var(--white); }

.post-nav {
  max-width: 720px;
  margin: 24px auto 0;
  padding-top: 20px;
}
.post-nav a {
  display: block;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--grey);
  font-weight: 700;
  color: var(--dark);
}
.post-nav a:hover { background: #ececf3; }
.post-nav a .label {
  display: block;
  font-size: 11px;
  color: var(--grey-mid);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
  margin-bottom: 6px;
}

.article-body { padding: 48px 0 20px; }
.article-content {
  max-width: 720px;
  margin: 0 auto;
  font-size: 17.5px;
  line-height: 1.85;
  color: #2c2c2c;
}
.article-content p.lead-p {
  font-size: 1.16em;
  font-weight: 500;
  color: var(--dark);
}
.article-content p { margin-bottom: 1.4em; }
.article-content h2 {
  font-size: 1.55rem;
  margin-top: 1.7em;
  margin-bottom: .6em;
}
.article-content ul.check-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.article-content ul.check-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--dark);
}
.article-content ul.check-list li::before {
  content: "\00b7";
  flex-shrink: 0;
  color: var(--blue);
  font-weight: 700;
  font-size: 1.6em;
  line-height: 0;
}
.article-content ul.check-list strong { font-weight: 700; }

.article-content h3 {
  font-size: 1.22rem;
  margin-top: 1.5em;
  margin-bottom: .6em;
  color: var(--dark);
}
.article-content .table-wrap {
  overflow-x: auto;
  margin: 1.6em 0;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius, 18px);
  -webkit-overflow-scrolling: touch;
}
.article-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88em;
  min-width: 480px;
}
.article-content table th,
.article-content table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(0,0,0,.08);
  vertical-align: top;
}
.article-content table th {
  background: rgba(3,90,255,.06);
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
}
.article-content table tr:last-child td { border-bottom: none; }
.article-content table strong { font-weight: 700; }

.article-content figure.article-figure {
  margin: 2em 0;
}
.article-content figure.article-figure img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  box-shadow: 0 24px 50px -22px rgba(0,0,0,.28);
  border: 1px solid rgba(0,0,0,.06);
}
.article-content figure.article-figure figcaption {
  margin-top: .9em;
  font-size: .82em;
  line-height: 1.6;
  color: var(--grey-mid);
}
.article-content figure.article-figure figcaption .caption-source {
  display: block;
  margin-top: .5em;
  font-style: italic;
}

.article-share {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 720px;
  margin: 8px auto 0;
  padding-top: 28px;
  border-top: 1px solid #ececec;
}
.article-share span { font-size: 13px; color: var(--grey-mid); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.article-share .icon-link { background: var(--grey); color: var(--dark); }
.article-share .icon-link:hover { background: var(--blue); color: var(--white); }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--grey-mid);
  margin-bottom: 22px;
}
.back-link:hover { color: var(--blue); }
.back-link svg { transform: rotate(180deg); }

@media (max-width: 600px) {
  .article-featured { padding: 0 20px; }
  .article-content { font-size: 16.5px; }
}

.sitemap-section { margin-bottom: 44px; }
.sitemap-section:last-child { margin-bottom: 0; }
.sitemap-section h3 {
  font-size: 1.15rem;
  margin-bottom: 16px;
  color: var(--dark);
}
.sitemap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 3;
  column-gap: 32px;
}
.sitemap-list li {
  break-inside: avoid;
  margin-bottom: 10px;
}
.sitemap-list a {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--dark);
  text-decoration: none;
  font-size: .95rem;
  line-height: 1.5;
}
.sitemap-list a::before {
  content: "\2192";
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1.5;
}
.sitemap-list a:hover { color: var(--blue); }
.sitemap-entry {
  display: flex;
  flex-direction: column;
}
.sitemap-list .sitemap-tag { color: var(--grey-mid); font-size: .82em; line-height: 1.4; }

.sitemap-list--2col { columns: 2; }

@media (max-width: 800px) {
  .sitemap-list { columns: 2; }
}
@media (max-width: 520px) {
  .sitemap-list { columns: 1; }
}

/* Testimonial carousel */
.testimonial-carousel { max-width: 680px; margin: 0 auto; }
.testimonial-track-wrap { overflow: hidden; }
.testimonial-track { display: flex; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.testimonial-slide { flex: 0 0 100%; text-align: center; padding: 0 4px; }
.testimonial-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
}
.testimonial-quote { font-size: 18.5px; line-height: 1.55; color: var(--dark); max-width: 54ch; margin: 0 auto 22px; }
.testimonial-name { font-weight: 700; font-size: 15px; }
.testimonial-role { color: var(--grey-mid); font-size: 13.5px; margin-top: 2px; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 36px; }
.carousel-arrow {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--white); border: 1px solid #ececec;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--dark); flex-shrink: 0;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.carousel-arrow:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dots button { width: 8px; height: 8px; border-radius: 50%; background: #d8d8d8; border: none; padding: 0; cursor: pointer; transition: background .15s ease, transform .15s ease; }
.carousel-dots button.active { background: var(--blue); transform: scale(1.3); }
@media (max-width: 640px) {
  .testimonial-quote { font-size: 16.5px; }
}
