/*
Theme Name: Kreditvergleich24 Magazin
Theme URI: https://www.kreditvergleich24.com/
Author: Kreditvergleich24
Author URI: https://www.kreditvergleich24.com/
Description: Modernes Magazin-Theme für Kreditvergleich24 – editorialer Stil mit Weiß, Marineblau, Rot und Grau. E-E-A-T-optimiert mit Autorenprofilen, Schema.org JSON-LD und Magazin-Shortcodes. Typografie: Playfair Display + Plus Jakarta Sans.
Version: 1.1.2
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kv24mag
Tags: custom-menu, featured-images, threaded-comments, translation-ready, custom-logo, blog
*/

/* =========================================================
   1. VARIABLES & RESET
   ========================================================= */
:root {
  --white: #FFFFFF;
  --off-white: #F8F9FB;
  --gray-50: #F3F4F6;
  --gray-100: #E5E7EB;
  --gray-200: #D1D5DB;
  --gray-300: #9CA3AF;
  --gray-500: #6B7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --blue: #0A2540;
  --blue-mid: #1E40AF;
  --blue-bright: #2563EB;
  --blue-soft: #EFF6FF;
  --red: #DC2626;
  --red-dark: #B91C1C;
  --red-soft: #FEF2F2;
  --shadow-sm: 0 1px 2px rgba(10,37,64,.06);
  --shadow: 0 4px 14px -4px rgba(10,37,64,.12), 0 2px 4px rgba(10,37,64,.05);
  --shadow-lg: 0 20px 50px -15px rgba(10,37,64,.2);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--gray-900);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 28px; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--blue); color: var(--white); padding: 10px 16px; z-index: 9999; }
.skip-link:focus { left: 10px; top: 10px; color: var(--white); }

/* =========================================================
   2. TOP BAR
   ========================================================= */
.topbar {
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 0;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
}
.topbar-left { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.topbar-badge { display: inline-flex; align-items: center; gap: 8px; opacity: 0.95; }
.topbar-badge::before {
  content: ""; width: 6px; height: 6px;
  border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 3px rgba(220,38,38,0.25);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(220,38,38,0.25); }
  50% { box-shadow: 0 0 0 6px rgba(220,38,38,0); }
}
.topbar-right { opacity: 0.85; }

/* =========================================================
   3. HEADER & NAV
   ========================================================= */
.site-header {
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid var(--gray-100);
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 20px 0; gap: 32px;
}
.site-branding { display: flex; align-items: center; }
.site-branding .logo-link { display: flex; align-items: center; gap: 10px; color: var(--blue); }
.custom-logo { max-height: 50px; width: auto; }
.logo-icon {
  width: 40px; height: 40px;
  background: var(--blue);
  color: var(--white);
  border-radius: 8px;
  display: grid; place-items: center;
  font-family: var(--font-serif);
  font-weight: 700; font-size: 20px;
  position: relative;
}
.logo-icon::after {
  content: ""; position: absolute;
  bottom: 4px; right: 4px;
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
}
.logo-text {
  font-family: var(--font-serif);
  font-size: 24px; font-weight: 700;
  letter-spacing: -0.02em; color: var(--blue);
  line-height: 1; margin: 0;
}
.logo-text sup {
  font-size: 13px; color: var(--red);
  font-weight: 600; font-style: italic;
  vertical-align: super; margin-left: 1px;
}

.main-navigation { display: block; }
.main-navigation .menu,
.main-navigation > div > ul {
  display: flex; gap: 2px; list-style: none;
  align-items: center; margin: 0; padding: 0;
  flex-wrap: wrap;
}
.main-navigation .menu-item { position: relative; }
.main-navigation .menu-item > a {
  display: block; padding: 10px 14px;
  font-weight: 600; font-size: 14.5px;
  color: var(--gray-700); border-radius: 6px;
  transition: all 0.15s; white-space: nowrap;
}
.main-navigation .menu-item > a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a {
  color: var(--blue); background: var(--blue-soft);
}
.main-navigation .menu-item-has-children > a::after {
  content: "▾"; font-size: 9px;
  margin-left: 6px; opacity: 0.6;
}
.main-navigation .sub-menu {
  position: absolute; top: 100%; left: 0;
  min-width: 250px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 10px; padding: 8px;
  list-style: none; margin: 0;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s; z-index: 110;
}
.main-navigation .menu-item-has-children:hover > .sub-menu,
.main-navigation .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.main-navigation .sub-menu .menu-item { width: 100%; }
.main-navigation .sub-menu a {
  display: block; padding: 9px 12px;
  font-size: 14px; color: var(--gray-700);
  border-radius: 6px; font-weight: 500;
}
.main-navigation .sub-menu a:hover { background: var(--blue-soft); color: var(--blue); }

/* CTA menu item — CSS class "nav-cta" in WP admin */
.main-navigation .nav-cta > a {
  background: var(--red);
  color: var(--white);
  padding: 11px 22px;
  border-radius: 6px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(220,38,38,0.25);
}
.main-navigation .nav-cta > a::after { display: none; }
.main-navigation .nav-cta > a:hover {
  background: var(--red-dark); color: var(--white);
  transform: translateY(-1px);
}

.mobile-menu-toggle {
  display: none; background: none;
  border: 1px solid var(--gray-200);
  padding: 8px 12px; border-radius: 6px;
  font-size: 20px; color: var(--gray-700);
}

/* =========================================================
   4. HERO
   ========================================================= */
.hero {
  padding: 60px 0 80px;
  position: relative; overflow: hidden;
  background: var(--white);
}
.hero::before {
  content: ""; position: absolute;
  top: 0; left: 50%;
  width: 1px; height: 100%;
  background: var(--gray-100); z-index: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 80px; align-items: center;
  position: relative; z-index: 1;
}
.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--red); margin-bottom: 24px;
}
.hero-label::before {
  content: ""; width: 30px; height: 2px;
  background: var(--red);
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(44px, 5.5vw, 72px);
  line-height: 1.02; font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--blue);
  margin: 0 0 28px;
}
.hero h1 em {
  font-style: italic; font-weight: 400;
  color: var(--red); position: relative;
}
.hero h1 em::after {
  content: ""; position: absolute;
  bottom: 4px; left: 0; right: 0;
  height: 3px; background: var(--red); opacity: 0.2;
}
.hero-lead {
  font-size: 19px; color: var(--gray-700);
  margin-bottom: 36px; max-width: 520px;
  line-height: 1.55;
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 32px; padding-top: 32px;
  border-top: 1px solid var(--gray-100);
  justify-content: start;
}
.trust-item { font-size: 13px; color: var(--gray-500); font-weight: 500; }
.trust-num {
  font-family: var(--font-serif);
  font-size: 32px; font-weight: 700;
  color: var(--blue); line-height: 1;
  margin-bottom: 4px; letter-spacing: -0.02em;
  display: block;
}

/* =========================================================
   5. CALCULATOR
   ========================================================= */
.calc-card {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
  overflow: hidden; position: relative;
}
.calc-header {
  background: var(--blue); color: var(--white);
  padding: 22px 28px; position: relative;
}
.calc-header::before {
  content: ""; position: absolute;
  top: 0; right: 0;
  width: 6px; height: 100%;
  background: var(--red);
}
.calc-title {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 600;
  line-height: 1.2; margin: 0;
}
.calc-title em { font-style: italic; color: #FCA5A5; font-weight: 400; }
.calc-subtitle { font-size: 13px; opacity: 0.8; margin-top: 4px; }
.calc-body { padding: 28px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 12px;
  font-weight: 700; color: var(--gray-700);
  margin-bottom: 8px; text-transform: uppercase;
  letter-spacing: 0.08em;
}
.form-control {
  width: 100%; padding: 14px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px; background: var(--white);
  font-family: var(--font-sans);
  font-size: 16px; color: var(--gray-900);
  font-weight: 500; transition: all 0.15s;
  cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3e%3cpath fill='%230A2540' d='M6 8L0 0h12z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
.form-control:hover { border-color: var(--blue); }
.form-control:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(10,37,64,0.1);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn-primary {
  width: 100%;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 17px;
  background: var(--red); color: var(--white);
  border: none; border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 16px; font-weight: 700;
  letter-spacing: 0.01em;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(220,38,38,0.3);
  margin-top: 6px; text-decoration: none;
}
.btn-primary::after { content: "→"; font-size: 18px; transition: transform 0.2s; }
.btn-primary:hover {
  background: var(--red-dark); color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(220,38,38,0.4);
}
.btn-primary:hover::after { transform: translateX(4px); }
.calc-foot {
  margin-top: 14px; text-align: center;
  font-size: 12px; color: var(--gray-500);
  display: flex; justify-content: center;
  gap: 20px; flex-wrap: wrap;
}
.calc-foot span { display: inline-flex; align-items: center; gap: 5px; }
.calc-foot span::before { content: "✓"; color: var(--red); font-weight: 700; }

/* =========================================================
   6. TICKER
   ========================================================= */
.ticker {
  background: var(--blue); color: var(--white);
  padding: 14px 0; overflow: hidden;
  border-top: 3px solid var(--red);
}
.ticker-track {
  display: flex; gap: 60px;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
  font-size: 14px; font-weight: 600;
}
.ticker-track span { display: inline-flex; align-items: center; gap: 10px; }
.ticker-track span::before { content: "●"; color: var(--red); font-size: 8px; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =========================================================
   7. SECTIONS
   ========================================================= */
section.sec { padding: 100px 0; }
.sec-alt { background: var(--off-white); }
.sec-head {
  max-width: 720px; margin: 0 auto 64px; text-align: center;
}
.sec-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--red); margin-bottom: 20px;
  padding: 6px 14px; background: var(--red-soft);
  border-radius: 999px;
}
h2.sec-title {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.08; font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--blue); margin: 0 0 20px;
}
h2.sec-title em { font-style: italic; font-weight: 400; color: var(--red); }
.sec-desc { font-size: 18px; color: var(--gray-500); line-height: 1.6; }

/* =========================================================
   8. FEATURES
   ========================================================= */
.features {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border: 1px solid var(--gray-100);
  border-radius: 14px; overflow: hidden;
  background: var(--white);
}
.feat {
  padding: 44px 36px;
  border-right: 1px solid var(--gray-100);
  position: relative; transition: all 0.3s;
}
.feat:last-child { border-right: none; }
.feat:hover { background: var(--blue-soft); }
.feat-num {
  font-family: var(--font-serif);
  font-size: 48px; font-weight: 700;
  color: var(--blue); line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 16px; opacity: 0.15;
  display: block;
}
.feat:hover .feat-num { color: var(--red); opacity: 0.2; }
.feat h3 {
  font-family: var(--font-serif);
  font-size: 24px; font-weight: 700;
  color: var(--blue); margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.feat p { color: var(--gray-700); font-size: 15px; line-height: 1.65; margin: 0; }

/* =========================================================
   9. STEPS
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step {
  background: var(--white);
  padding: 40px 32px;
  border-radius: 14px;
  border: 1px solid var(--gray-100);
  position: relative;
}
.step-icon {
  width: 56px; height: 56px;
  background: var(--blue); color: var(--white);
  border-radius: 12px;
  display: grid; place-items: center;
  font-family: var(--font-serif);
  font-size: 24px; font-weight: 700;
  margin-bottom: 24px; position: relative;
}
.step-icon::after {
  content: ""; position: absolute;
  top: -4px; right: -4px;
  width: 16px; height: 16px;
  background: var(--red); border-radius: 50%;
  border: 3px solid var(--off-white);
}
.step h3 {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 700;
  color: var(--blue); margin: 0 0 10px;
}
.step p { color: var(--gray-700); font-size: 15px; line-height: 1.6; margin: 0; }

/* =========================================================
   10. MAGAZINE
   ========================================================= */
.mag-header {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 48px;
  gap: 32px; flex-wrap: wrap;
}
.mag-title-wrap { max-width: 680px; }
.mag-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.08; font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--blue);
  margin: 16px 0 0;
}
.mag-header h2 em { font-style: italic; color: var(--red); font-weight: 400; }
.mag-header > div > p { color: var(--gray-500); font-size: 17px; margin-top: 12px; }
.mag-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--blue); font-weight: 700;
  font-size: 15px; padding: 12px 24px;
  border: 2px solid var(--blue);
  border-radius: 8px; transition: all 0.2s;
  white-space: nowrap;
}
.mag-link:hover { background: var(--blue); color: var(--white); }
.mag-link::after { content: "→"; transition: transform 0.2s; }
.mag-link:hover::after { transform: translateX(4px); }

.mag-cats {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 40px; padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-100);
}
.mag-cat {
  padding: 8px 16px; background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  color: var(--gray-700);
  transition: all 0.15s;
}
.mag-cat:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.mag-cat.active { background: var(--red); border-color: var(--red); color: var(--white); }

/* Magazine grid layout */
.mag-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
}

/* Featured article card */
.mag-featured {
  position: relative;
  border-radius: 14px; overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-100);
  transition: all 0.3s;
  display: flex; flex-direction: column;
  color: inherit;
}
.mag-featured:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  color: inherit;
}
.mag-img {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  position: relative;
  background-color: var(--blue);
}
.mag-img-gradient-1 {
  background-image: linear-gradient(135deg, #0A2540, #1E40AF);
}
.mag-img-gradient-2 {
  background-image: linear-gradient(135deg, #DC2626, #B91C1C);
}
.mag-img-gradient-3 {
  background-image: linear-gradient(135deg, #374151, #111827);
}
.mag-img-gradient-4 {
  background-image: linear-gradient(135deg, #1E40AF, #DC2626);
}
.mag-featured .mag-img.has-thumbnail {
  background-size: cover;
  background-position: center;
}
.mag-featured .mag-img.has-thumbnail::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,37,64,0.4));
}
.mag-featured .mag-img:not(.has-thumbnail) {
  background-image: linear-gradient(135deg, rgba(10,37,64,0.75), rgba(10,37,64,0.5)),
    url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 400'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0%25' stop-color='%230A2540'/%3E%3Cstop offset='100%25' stop-color='%231E40AF'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='600' height='400' fill='url(%23g)'/%3E%3Ccircle cx='450' cy='100' r='80' fill='%23DC2626' opacity='0.3'/%3E%3Ccircle cx='120' cy='320' r='60' fill='%23ffffff' opacity='0.15'/%3E%3Cpath d='M0 250 Q150 180 300 230 T600 200 L600 400 L0 400 Z' fill='%23ffffff' opacity='0.08'/%3E%3C/svg%3E");
}
.mag-tag {
  position: absolute; top: 20px; left: 20px;
  background: var(--red); color: var(--white);
  padding: 6px 12px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  border-radius: 4px; z-index: 2;
}
.mag-body {
  padding: 28px; flex: 1;
  display: flex; flex-direction: column;
}
.mag-meta {
  display: flex; gap: 16px;
  font-size: 12px; color: var(--gray-500);
  margin-bottom: 14px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  flex-wrap: wrap;
}
.mag-meta span { display: inline-flex; align-items: center; gap: 6px; }
.mag-meta .cat { color: var(--red); font-weight: 700; }
.mag-featured h3 {
  font-family: var(--font-serif);
  font-size: 30px; line-height: 1.15;
  font-weight: 700; color: var(--blue);
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.mag-featured:hover h3 { color: var(--red); }
.mag-excerpt {
  color: var(--gray-700); font-size: 15.5px;
  line-height: 1.65; margin: 0 0 20px; flex: 1;
}
.mag-author {
  display: flex; align-items: center; gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
  font-size: 13px;
}
.mag-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--blue); color: var(--white);
  display: grid; place-items: center;
  font-weight: 700; font-size: 12px;
}
.mag-author strong { color: var(--gray-900); }

/* Side article list */
.mag-side { display: flex; flex-direction: column; gap: 20px; }
.mag-card {
  display: grid; grid-template-columns: 120px 1fr;
  gap: 20px; padding: 20px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 12px; transition: all 0.2s;
  color: inherit;
}
.mag-card:hover {
  border-color: var(--blue);
  transform: translateX(4px);
  color: inherit;
}
.mag-card .mag-img {
  border-radius: 8px; aspect-ratio: 1;
}
.mag-card-content {
  display: flex; flex-direction: column; justify-content: space-between;
}
.mag-card h4 {
  font-family: var(--font-serif);
  font-size: 18px; line-height: 1.25;
  font-weight: 700; color: var(--blue);
  margin: 0 0 6px; letter-spacing: -0.01em;
}
.mag-card:hover h4 { color: var(--red); }
.mag-card-meta {
  font-size: 11px; color: var(--gray-500);
  text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: 600; margin-bottom: 6px;
}
.mag-card-meta .cat { color: var(--red); font-weight: 700; }

/* Recent articles (3 cols) */
.mag-recent {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--gray-100);
}
.mag-recent-item { display: flex; flex-direction: column; color: inherit; }
.mag-recent-item:hover { color: inherit; }
.mag-recent-item .mag-img {
  border-radius: 10px; aspect-ratio: 16/10;
  margin-bottom: 16px;
}
.mag-recent-item h4 {
  font-family: var(--font-serif);
  font-size: 22px; line-height: 1.2;
  font-weight: 700; color: var(--blue);
  letter-spacing: -0.015em;
  margin: 0 0 10px;
}
.mag-recent-item:hover h4 { color: var(--red); }
.mag-recent-item p {
  font-size: 14.5px; color: var(--gray-700);
  line-height: 1.6; margin: 0;
}

/* =========================================================
   11. NEWSLETTER
   ========================================================= */
.newsletter {
  background: var(--blue);
  color: var(--white);
  padding: 72px 0;
  position: relative; overflow: hidden;
}
.newsletter::before {
  content: ""; position: absolute;
  top: -40%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--red) 0%, transparent 60%);
  opacity: 0.15; pointer-events: none;
}
.news-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center; position: relative;
}
.newsletter h2 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.8vw, 44px);
  line-height: 1.1; font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
}
.newsletter h2 em { font-style: italic; color: #FCA5A5; font-weight: 400; }
.newsletter > .container > .news-grid > div > p { color: rgba(255,255,255,0.8); font-size: 17px; line-height: 1.6; }
.newsletter .hero-label { color: #FCA5A5; }

.news-form {
  display: flex; gap: 10px;
  background: rgba(255,255,255,0.1);
  padding: 8px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.15);
}
.news-form input[type="email"],
.news-form input[type="text"] {
  flex: 1; background: transparent;
  border: none; color: var(--white);
  padding: 14px 18px;
  font-family: var(--font-sans);
  font-size: 15px; outline: none;
}
.news-form input::placeholder { color: rgba(255,255,255,0.5); }
.news-form button,
.news-form input[type="submit"] {
  background: var(--red); color: var(--white);
  border: none; padding: 14px 28px;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-weight: 700; font-size: 15px;
  cursor: pointer; transition: all 0.2s;
}
.news-form button:hover,
.news-form input[type="submit"]:hover { background: var(--red-dark); }
.news-note { margin-top: 14px; font-size: 12px; opacity: 0.6; }

/* =========================================================
   12. FAQ
   ========================================================= */
.faq-list { max-width: 820px; margin: 0 auto; }
details.faq {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 12px; margin-bottom: 12px;
  overflow: hidden; transition: all 0.2s;
}
details.faq[open] {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}
details.faq summary {
  padding: 22px 28px;
  font-weight: 700; font-size: 16.5px;
  color: var(--blue); cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between;
  align-items: center; gap: 16px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+"; width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center;
  font-size: 20px; font-weight: 400;
  transition: all 0.2s; flex-shrink: 0;
}
details.faq[open] summary::after {
  content: "−"; background: var(--red); color: var(--white);
}
details.faq .faq-a {
  padding: 0 28px 24px;
  color: var(--gray-700);
  font-size: 15px; line-height: 1.7;
}
details.faq .faq-a a { color: var(--red); font-weight: 600; }

/* =========================================================
   13. BANKS
   ========================================================= */
.banks {
  padding: 60px 0; background: var(--white);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}
.banks-label {
  text-align: center; font-size: 12px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gray-500); margin-bottom: 32px;
  font-weight: 600;
}
.banks-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 0; border: 1px solid var(--gray-100);
  border-radius: 12px; overflow: hidden;
}
.bank {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 17px; font-weight: 600;
  color: var(--gray-500);
  padding: 24px 12px;
  border-right: 1px solid var(--gray-100);
  transition: all 0.2s; background: var(--white);
}
.bank:last-child { border-right: none; }
.bank:hover { color: var(--blue); background: var(--blue-soft); }

/* =========================================================
   14. FOOTER
   ========================================================= */
.site-footer {
  background: var(--blue);
  color: rgba(255,255,255,0.75);
  padding: 80px 0 30px;
  position: relative;
}
.site-footer::before {
  content: ""; position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px; background: var(--red);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 40px; margin-bottom: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-link { color: var(--white); margin-bottom: 16px; }
.footer-brand .logo-text { color: var(--white); }
.footer-brand p {
  font-size: 14px; line-height: 1.6;
  max-width: 280px;
  color: rgba(255,255,255,0.6);
  margin: 0;
}
.footer-col h4,
.footer-col-title,
.site-footer .widget-title,
.site-footer .widget h2,
.site-footer .widget h3,
.footer-widget .widget-title,
.footer-widget h2,
.footer-widget h3 {
  font-family: var(--font-serif);
  font-size: 15px; color: var(--white);
  margin: 0 0 20px; font-weight: 700;
  letter-spacing: 0.01em;
  position: relative; padding-bottom: 10px;
  background: none;
  border: none;
}
.footer-col h4::after,
.footer-col-title::after,
.site-footer .widget-title::after,
.site-footer .widget h2::after,
.site-footer .widget h3::after,
.footer-widget .widget-title::after,
.footer-widget h2::after,
.footer-widget h3::after {
  content: ""; position: absolute;
  bottom: 0; left: 0;
  width: 24px; height: 2px;
  background: var(--red);
}
/* The automatic footer-col-title always shows red bar; hide duplicate red bars from widget titles */
.footer-col-title + .widget .widget-title::after,
.footer-col-title ~ .widget .widget-title::after {
  display: none;
}
.footer-col-title + .widget .widget-title,
.footer-col-title ~ .widget .widget-title {
  font-size: 13px;
  opacity: 0.8;
  padding-bottom: 0;
  margin-bottom: 10px;
}

/* Footer widgets must be transparent — higher specificity than .widget */
.site-footer .widget,
.footer-widget {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0 0 0 0;
  border-radius: 0;
}
.footer-col ul,
.site-footer .widget ul,
.footer-widget ul { list-style: none; margin: 0; padding: 0; }
.footer-col li,
.site-footer .widget li,
.footer-widget li {
  margin-bottom: 10px;
  padding: 0;
  border: none;
}
.footer-col a,
.site-footer .widget a,
.footer-widget a {
  font-size: 13.5px;
  color: rgba(255,255,255,0.7);
  transition: all 0.15s;
  line-height: 1.5;
  display: inline-block;
  background: none;
}
.footer-col a::after,
.site-footer .widget a::after,
.footer-widget a::after { display: none !important; }
.footer-col a:hover,
.site-footer .widget a:hover,
.footer-widget a:hover { color: var(--white); padding-left: 4px; }
.footer-bottom {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 16px;
  font-size: 13px; color: rgba(255,255,255,0.5);
}
.footer-bottom a:hover { color: var(--white); }

/* =========================================================
   15. PAGE / ARCHIVE / SINGLE
   ========================================================= */

/* Home article content — allow full width for comparison widgets/iframes */
.entry-content-home {
  max-width: 100%;
}

/* DEFENSIVE: On the homepage, never let any sidebar/content-layout narrow things down */
body.home .content-layout,
body.home .content-layout > * {
  grid-template-columns: 1fr !important;
  max-width: 100% !important;
  width: 100% !important;
}
body.home .content-layout > aside,
body.home .content-layout > .sidebar,
body.home main > .sec-alt aside.sidebar {
  display: none !important;
}
/* Keep text blocks at readable width */
.entry-content-home > p,
.entry-content-home > h1,
.entry-content-home > h2,
.entry-content-home > h3,
.entry-content-home > h4,
.entry-content-home > h5,
.entry-content-home > h6,
.entry-content-home > ul,
.entry-content-home > ol,
.entry-content-home > blockquote,
.entry-content-home > figcaption {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
/* Wide elements (iframes, embeds, forms, tables, comparison widgets) get full width */
.entry-content-home iframe,
.entry-content-home table,
.entry-content-home form,
.entry-content-home embed,
.entry-content-home object,
.entry-content-home .alignfull,
.entry-content-home .alignwide,
.entry-content-home .wp-block-embed,
.entry-content-home .financeads-widget,
.entry-content-home .smava-widget,
.entry-content-home [class*="comparison"],
.entry-content-home [class*="vergleich"],
.entry-content-home [id*="comparison"],
.entry-content-home [id*="vergleich"] {
  max-width: 100%;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
/* Any direct <div> children (often iframes/widgets are wrapped in divs) get full width */
.entry-content-home > div:not(.narrow) {
  max-width: 100%;
}

.page-hero {
  padding: 60px 0 40px; text-align: center;
  background: var(--off-white);
  border-bottom: 1px solid var(--gray-100);
}
.page-hero .breadcrumb {
  font-size: 13px; color: var(--gray-500);
  letter-spacing: 0.05em; margin-bottom: 14px;
  text-transform: uppercase; font-weight: 600;
}
.page-hero .breadcrumb a { color: var(--red); }
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700; color: var(--blue);
  margin: 0 0 12px;
  letter-spacing: -0.03em; line-height: 1.1;
}
.page-hero p { color: var(--gray-500); font-size: 17px; max-width: 640px; margin: 0 auto; }

/* Content layout */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px; align-items: start;
}
.content-layout.no-sidebar {
  grid-template-columns: minmax(0, 820px);
  justify-content: center;
}
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.015em;
}
.entry-content h2 { font-size: 32px; margin: 48px 0 20px; }
.entry-content h3 { font-size: 26px; margin: 40px 0 16px; }
.entry-content h4 { font-size: 20px; margin: 28px 0 12px; color: var(--red); }
.entry-content p {
  font-size: 16.5px; line-height: 1.75;
  color: var(--gray-700); margin-bottom: 18px;
}
.entry-content ul,
.entry-content ol {
  font-size: 16.5px; line-height: 1.75;
  color: var(--gray-700);
  margin: 0 0 18px; padding-left: 24px;
}
.entry-content a {
  color: var(--red); font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.entry-content a:hover { color: var(--red-dark); }
.entry-content blockquote {
  margin: 24px 0; padding: 16px 24px;
  border-left: 4px solid var(--red);
  background: var(--off-white);
  border-radius: 0 10px 10px 0;
  font-style: italic; color: var(--blue);
}
.entry-content img {
  border-radius: 10px;
  margin: 24px 0;
}
.entry-content strong { color: var(--blue); }

.entry-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1; font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--blue); margin: 0 0 20px;
}
.entry-title a { color: inherit; }
.entry-title em { font-style: italic; color: var(--red); }

.entry-meta {
  display: flex; align-items: center; gap: 16px;
  padding-bottom: 24px; margin-bottom: 32px;
  border-bottom: 1px solid var(--gray-100);
  font-size: 14px; color: var(--gray-500);
  flex-wrap: wrap;
}
.entry-meta .avatar-circle {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--blue); color: var(--white);
  display: grid; place-items: center;
  font-weight: 700;
}
.entry-meta strong { color: var(--blue); display: block; }
.entry-meta .cat-label {
  background: var(--red-soft); color: var(--red);
  padding: 4px 10px; border-radius: 4px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* Sidebar widgets */
.sidebar { position: sticky; top: 100px; }
.widget {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 12px; padding: 24px;
  margin-bottom: 20px;
}
.widget-title,
.widget h2,
.widget h3 {
  font-family: var(--font-serif);
  font-size: 18px; font-weight: 700;
  margin: 0 0 14px; padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--blue);
}
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--gray-100);
}
.widget li:last-child { border-bottom: none; }
.widget a {
  color: var(--gray-700); font-size: 14px;
  display: flex; justify-content: space-between;
  align-items: center; transition: color 0.15s;
}
.widget a:hover { color: var(--red); }
.widget_search form { display: flex; gap: 8px; }
.widget_search input[type="search"] {
  flex: 1; padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px; background: var(--white);
  font-family: inherit; font-size: 14px;
}
.widget_search input[type="search"]:focus {
  outline: none; border-color: var(--blue);
}
.widget_search button,
.widget_search input[type="submit"] {
  padding: 12px 20px;
  background: var(--red); color: var(--white);
  border: none; border-radius: 8px;
  font-weight: 700; cursor: pointer;
}

/* Pagination */
.pagination,
.navigation.pagination,
.posts-nav {
  margin: 48px 0 0;
  display: flex; justify-content: center;
  gap: 8px; flex-wrap: wrap;
}
.page-numbers {
  padding: 10px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 8px; font-weight: 700;
  color: var(--gray-700); background: var(--white);
  transition: all 0.15s;
}
.page-numbers.current,
.page-numbers:hover {
  background: var(--blue); color: var(--white);
  border-color: var(--blue);
}

.post-navigation {
  margin: 48px 0;
  padding: 24px;
  background: var(--off-white);
  border-radius: 12px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.post-navigation a { display: block; color: var(--gray-700); }
.post-navigation a:hover { color: var(--red); }
.post-navigation strong { color: var(--blue); }

/* Comments */
.comments-area { margin-top: 48px; }
.comments-title {
  font-family: var(--font-serif);
  font-size: 28px; color: var(--blue);
  margin-bottom: 24px;
}
.comment-list { list-style: none; padding: 0; }
.comment-body {
  padding: 20px; background: var(--off-white);
  border-radius: 12px; margin-bottom: 16px;
}
.comment-meta { margin-bottom: 12px; font-size: 13px; color: var(--gray-500); }
.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-family: inherit; font-size: 15px;
  margin-bottom: 16px;
}
.comment-form textarea { min-height: 120px; }
.comment-form .submit {
  background: var(--red); color: var(--white);
  border: none; padding: 12px 28px;
  border-radius: 8px;
  font-family: inherit; font-weight: 700;
  cursor: pointer;
}

/* =========================================================
   16. ANIMATIONS
   ========================================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-grid > * {
  animation: fadeUp 0.7s ease-out backwards;
}
.hero-grid > *:nth-child(2) { animation-delay: 0.1s; }

/* =========================================================
   17. RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .hero-grid, .news-grid, .content-layout { grid-template-columns: 1fr; gap: 40px; }
  .hero::before { display: none; }
  .features { grid-template-columns: 1fr; }
  .feat { border-right: none; border-bottom: 1px solid var(--gray-100); }
  .feat:last-child { border-bottom: none; }
  .steps, .mag-grid { grid-template-columns: 1fr; }
  .mag-recent { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .banks-grid { grid-template-columns: repeat(3, 1fr); }
  .bank:nth-child(3n) { border-right: none; }
  .bank:nth-child(n+4) { border-top: 1px solid var(--gray-100); }
  .sidebar { position: static; }
  .author-hero-grid { grid-template-columns: 1fr; text-align: center; }
  .author-hero-avatar { margin: 0 auto; }
  .eeat-bar { grid-template-columns: 1fr; gap: 16px; }
  .eeat-badges { justify-content: flex-start; }
  .author-box-header { flex-wrap: wrap; }
}
@media (max-width: 820px) {
  .main-navigation {
    display: none; position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white); padding: 20px;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow);
  }
  .main-navigation.is-open { display: block; }
  .main-navigation .menu,
  .main-navigation > div > ul {
    flex-direction: column;
    align-items: stretch; gap: 2px;
  }
  .main-navigation .sub-menu {
    position: static;
    opacity: 1; visibility: visible;
    transform: none; box-shadow: none;
    border: none; padding-left: 16px;
    background: transparent;
  }
  .mobile-menu-toggle { display: block; }
  .hero { padding: 40px 0 60px; }
  section.sec { padding: 60px 0; }
  .trust-row { grid-template-columns: 1fr 1fr; gap: 20px; }
  .mag-card { grid-template-columns: 1fr; }
  .mag-card .mag-img { aspect-ratio: 16/10; }
  .mag-recent { grid-template-columns: 1fr; }
  .news-form { flex-direction: column; }
  .news-form button { width: 100%; }
  .footer-top { grid-template-columns: 1fr; }
  .banks-grid { grid-template-columns: repeat(2, 1fr); }
  .bank { border-right: 1px solid var(--gray-100); }
  .bank:nth-child(2n) { border-right: none; }
  .form-row, .post-navigation { grid-template-columns: 1fr; }
  .mag-header { flex-direction: column; align-items: flex-start; }
  .author-credentials-grid { grid-template-columns: 1fr 1fr; }
  .author-box-header { flex-direction: column; align-items: flex-start; }
  .author-box-socials { width: 100%; }
}

/* =========================================================
   18. E-E-A-T BAR (top of article)
   ========================================================= */
.eeat-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 20px 24px;
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-left: 4px solid var(--red);
  border-radius: 10px;
  margin-bottom: 32px;
}
.eeat-author { display: flex; gap: 14px; align-items: center; }
.eeat-avatar-link { flex-shrink: 0; display: block; }
.eeat-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 1px var(--gray-200);
}
.eeat-author-line {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: 8px; margin-bottom: 4px;
}
.eeat-label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--gray-500);
}
.eeat-author-name {
  color: var(--blue); font-weight: 700;
  font-size: 15px; text-decoration: none;
}
.eeat-author-name:hover { color: var(--red); text-decoration: underline; }
.eeat-job-title {
  font-size: 13px; color: var(--gray-500);
  font-weight: 500;
}
.eeat-job-title::before { content: "·"; margin: 0 6px; color: var(--gray-300); }
.eeat-dates {
  display: flex; flex-wrap: wrap;
  gap: 14px; font-size: 13px; color: var(--gray-700);
}
.eeat-dates strong { color: var(--blue); font-weight: 600; }
.eeat-updated strong { color: var(--red); }
.eeat-published-small { opacity: 0.6; }

.eeat-badges {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: flex-end;
}
.eeat-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700;
  white-space: nowrap;
}
.eeat-badge-verified {
  background: var(--blue-soft);
  color: var(--blue);
}
.eeat-badge-verified span { color: var(--blue); font-weight: 900; }
.eeat-badge-independent {
  background: var(--red-soft);
  color: var(--red);
}

/* =========================================================
   19. AUTHOR BOX (end of article)
   ========================================================= */
.author-box {
  margin: 48px 0 0;
  padding: 32px;
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  position: relative;
}
.author-box::before {
  content: ""; position: absolute;
  top: 0; left: 32px;
  width: 60px; height: 4px;
  background: var(--red);
  border-radius: 0 0 4px 4px;
}
.author-box-header {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}
.author-box-avatar {
  flex-shrink: 0;
  display: block;
  border-radius: 50%;
  overflow: hidden;
  width: 96px; height: 96px;
  border: 4px solid var(--white);
  box-shadow: var(--shadow);
}
.author-avatar-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.author-box-meta { flex: 1; min-width: 0; }
.author-kicker {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--red); margin-bottom: 4px;
}
.author-name {
  font-family: var(--font-serif);
  font-size: 26px; font-weight: 700;
  color: var(--blue); letter-spacing: -0.015em;
  margin: 0 0 4px; line-height: 1.1;
}
.author-name a { color: inherit; }
.author-name a:hover { color: var(--red); }
.author-title {
  font-size: 14px; color: var(--gray-700);
  font-weight: 500;
}

.author-box-socials {
  display: flex; gap: 8px;
  flex-shrink: 0;
}
.author-social {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  display: grid; place-items: center;
  color: var(--blue);
  font-weight: 700; font-size: 13px;
  transition: all 0.15s;
  text-decoration: none;
}
.author-social:hover {
  background: var(--red); color: var(--white);
  border-color: var(--red);
  transform: translateY(-2px);
}

.author-box-bio {
  color: var(--gray-700);
  font-size: 15.5px; line-height: 1.7;
  margin: 0 0 20px;
}

.author-box-credentials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 10px;
  margin-bottom: 20px;
}
.credential { display: flex; flex-direction: column; }
.credential-label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--gray-500); margin-bottom: 4px;
}
.credential-value {
  font-size: 14px; color: var(--blue); font-weight: 600;
  line-height: 1.4;
}

.author-box-footer {
  padding-top: 20px;
  border-top: 1px solid var(--gray-100);
}
.author-box-link {
  color: var(--blue); font-weight: 700;
  font-size: 14px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 4px;
}
.author-box-link:hover { color: var(--red); gap: 8px; }

/* =========================================================
   20. AUTHOR HERO (author archive page)
   ========================================================= */
.author-hero {
  padding: 60px 0 80px;
  background: linear-gradient(180deg, var(--off-white), var(--white));
  border-bottom: 1px solid var(--gray-100);
}
.author-hero .breadcrumb { margin-bottom: 32px; }
.author-hero-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
}
.author-hero-avatar {
  position: relative;
  width: 220px; height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-lg);
}
.author-hero-img { width: 100%; height: 100%; object-fit: cover; }
.author-hero-badge {
  position: absolute;
  bottom: 10px; left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.author-hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.03em;
  margin: 8px 0 24px;
  line-height: 1.05;
}
.author-hero-bio {
  color: var(--gray-700);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 720px;
}
.author-hero-bio p { margin-bottom: 14px; }
.author-credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  margin-bottom: 28px;
}
.author-credentials-grid .credential-block {}
.credential-block .credential-label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--gray-500); margin-bottom: 6px;
}
.credential-block .credential-value {
  font-size: 16px; color: var(--blue); font-weight: 700;
  font-family: var(--font-serif);
  line-height: 1.3;
}
.author-hero-socials {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap;
}
.author-hero-socials .author-social {
  width: 40px; height: 40px;
}
.eeat-label-row { margin-bottom: 16px; }

