/*
Theme Name: HauptstadtEcho Redesign
Theme URI: https://hauptstadtecho.de
Description: Redesign Child-Theme für HauptstadtEcho – Mier
Author: Mier
Template: betheme
Version: 1.0.2
*/

/* ══════════════════════════════════════════════════
   CSS CUSTOM PROPERTIES
══════════════════════════════════════════════════ */
:root {
  --gold:        #C8A84B;
  --gold-light:  #e8c96a;
  --gold-dark:   #9a7a2a;
  --night:       #0d1117;
  --ink:         #141820;
  --charcoal:    #252c3a;
  --slate:       #3d4a5e;
  --muted:       #6b7a90;
  --dust:        #a8b2c0;
  --fog:         #d8dde6;
  --paper:       #f4f5f7;
  --white:       #ffffff;
  --red:         #c0392b;
  --green:       #27ae60;
  --blue:        #1a5fa8;
  --purple:      #6c3fa0;
  --font-display:'Playfair Display', Georgia, serif;
  --font-hed:    'Bebas Neue', 'Arial Black', sans-serif;
  --font-body:   'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
}

/* ══════════════════════════════════════════════════
   RESET / BASE – überschreibt Betheme-Defaults
══════════════════════════════════════════════════ */
#Wrapper, body { background: var(--paper) !important; }
body { font-family: var(--font-body) !important; color: var(--ink) !important; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* Betheme-spezifische Resets */
#Header, #Header_wrapper { display: none !important; }
#Content { padding: 0 !important; margin: 0 !important; }
#Wrapper { padding: 0 !important; max-width: 100% !important; }
.mfn-main-slider { display: none !important; }

/* ══════════════════════════════════════════════════
   TOP WRAP – Logo + Ticker + Header
══════════════════════════════════════════════════ */
.he-top-wrap {
  position: relative;
  display: flex !important; 
}
.he-top-logo {
  width: 300px;
  flex-shrink: 0;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-right: 3px solid var(--gold);
}
.he-top-logo img {
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
}
.he-top-wrap-right {
  flex: 1;
  display: flex !important;
  flex-direction: column;
}

/* ══════════════════════════════════════════════════
   TICKER
══════════════════════════════════════════════════ */
.he-ticker {
  background: #d50909;
  color: #ddcece;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 20px 0;
  overflow: hidden;
  position: relative;
}
.he-ticker-track {
  display: flex;
  gap: 60px;
  padding-left: 24px;
  animation: he-ticker 35s linear infinite;
  white-space: nowrap;
}
.he-ticker-track:hover { animation-play-state: paused; }
.he-ticker-track span { color: var(--dust); }
.he-ticker-track span::before { content: " · "; color: var(--gold); }
@keyframes he-ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════ */
.he-header {
  background: #0E1E5C;
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 999;
}
.he-header-inner {
  margin: 0;
  padding: 0 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 20px;
}

.he-main-nav {
  display: flex;
  gap: 2px;
  flex: 1;
  justify-content: center;
  list-style: none;
  margin: 0; padding: 0;
}
.he-main-nav li a {
  color: var(--dust);
  font-size: 22px   !important;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 11px;
  border-radius: 3px;
  transition: all 0.15s;
  white-space: nowrap;
  display: block;
}
.he-header .he-main-nav li a {
  font-size: 18px !important;
}
.he-main-nav li a:hover,
.he-main-nav li.current-menu-item a,
.he-main-nav li.current-category-ancestor a {
  color: var(--gold);
  background: rgba(200,168,75,0.1);
}
.he-header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.he-btn-epaper {
  background: var(--gold);
  color: var(--night) !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 2px;
  transition: background 0.15s;
  white-space: nowrap;
}
.he-btn-epaper:hover { background: var(--gold-light) !important; }

/* ══════════════════════════════════════════════════
   KATEGORIE-NAV
══════════════════════════════════════════════════ */
.he-cat-nav {
  background: var(--white);
  border-bottom: 1px solid var(--fog);
}
.he-cat-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 0;
  list-style: none;
}
.he-cat-nav-inner::-webkit-scrollbar { display: none; }
.he-cat-nav-inner li a {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--slate);
  padding: 10px 14px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  display: block;
  transition: all 0.15s;
}
.he-cat-nav-inner li a:hover,
.he-cat-nav-inner li.current-cat a,
.he-cat-nav-inner li.current-menu-item a {
  color: var(--gold-dark);
  border-bottom-color: var(--gold);
}

/* ══════════════════════════════════════════════════
   BANNER-BEREICH
══════════════════════════════════════════════════ */
.he-banner-area {
  max-width: 1280px;
  margin: 16px auto;
  padding: 0 24px;
  text-align: center;
}
.he-banner-label {
  display: block;
  font-size: 10px;
  color: var(--dust);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.he-banner-wrap img { max-width: 100%; height: auto; }

/* ══════════════════════════════════════════════════
   MAIN WRAPPER
══════════════════════════════════════════════════ */
.he-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 24px;
}

/* ══════════════════════════════════════════════════
   KATEGORIE-TAG BADGE
══════════════════════════════════════════════════ */
.he-cat-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 2px;
  color: var(--white);
  background: #0E1E5C !important;
  margin-bottom: 8px;
}

/* ══════════════════════════════════════════════════
   SECTION HEADER
══════════════════════════════════════════════════ */
.he-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
}
.he-section-label {
  font-family: var(--font-hed);
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--ink);
  white-space: nowrap;
}
.he-section-label span { color: var(--gold); }
.he-section-line { flex: 1; height: 1px; background: var(--fog); }
.he-section-more {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gold-dark);
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid var(--gold-dark);
  border-radius: 2px;
  transition: all 0.15s;
  white-space: nowrap;
}
.he-section-more:hover { background: var(--gold-dark); color: var(--white) !important; }

/* ══════════════════════════════════════════════════
   HERO GRID
══════════════════════════════════════════════════ */
.he-hero-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  background: var(--fog);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 32px;
  min-height: 440px;
}
.he-hero-main {
  grid-row: 1 / 3;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  min-height: 400px;
}
.he-hero-main:hover .he-hero-thumb { transform: scale(1.04); }
.he-hero-thumb {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.he-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,17,23,0.95) 0%, rgba(13,17,23,0.35) 55%, transparent 100%);
}
.he-hero-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px;
}
.he-hero-hed {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 10px;
}
.he-hero-hed em { color: var(--gold-light); font-style: italic; }
.he-hero-dek {
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
  margin-bottom: 12px;
  max-width: 520px;
}
.he-hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}
.he-hero-meta .author { color: var(--gold); font-weight: 600; }
.he-hero-meta .dot { color: rgba(255,255,255,0.2); }

/* Hero Seiten-Cards */
.he-hero-side {
  background: var(--white);
  padding: 16px;
  cursor: pointer;
  transition: background 0.15s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.he-hero-side:hover { background: var(--paper); }
.he-hero-side-img {
  width: 100%;
  height: 110px;
  overflow: hidden;
  border-radius: 2px;
  flex-shrink: 0;
}
.he-hero-side-img img { width: 100%; height: 100%; object-fit: cover; }
.he-hero-side-hed {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  flex: 1;
}
.he-hero-side-meta {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  margin-top: auto;
}

/* ══════════════════════════════════════════════════
   ARTIKEL-CARDS
══════════════════════════════════════════════════ */
.he-cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.he-cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.he-cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.he-card {
  background: var(--white);
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.he-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.he-card-img {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  height: 185px;
}
.he-card-img-blur {
  position: absolute;
  inset: -10px;
  background-size: cover;
  background-position: center;
  filter: blur(14px) brightness(0.6);
  transform: scale(1.05);
  z-index: 0;
}
.he-card-img-main {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.he-card-hed {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.he-card-dek {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.he-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--dust);
  border-top: 1px solid var(--fog);
  padding-top: 10px;
  margin-top: auto;
}
.he-card-author { color: var(--slate); font-weight: 600; }
.he-card-more {
  font-size: 11px;
  color: var(--gold-dark);
  font-weight: 700;
}
.he-card-more::after { content: " →"; }

/* Horizontale Card */
.he-card-h {
  background: var(--white);
  border-radius: 3px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 180px 1fr;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.he-card-h:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.09);
}
.he-card-h-img { overflow: hidden; }
.he-card-h-img img { width: 100%; height: 100%; object-fit: cover; }
.he-card-h-body { padding: 16px; display: flex; flex-direction: column; }
.he-card-h-hed {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 8px;
}
.he-card-h-dek {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ══════════════════════════════════════════════════
   CONTENT + SIDEBAR LAYOUT
══════════════════════════════════════════════════ */
.he-content-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  margin-bottom: 36px;
  align-items: start;
}
.he-sidebar { display: flex; flex-direction: column; gap: 24px; }

/* Widget */
.he-widget { background: var(--white); border-radius: 3px; overflow: hidden; }
.he-widget-title {
  background: #0E1E5C !important;
  padding: 10px 16px;
  font-family: var(--font-hed);
  font-size: 16px;
  letter-spacing: 2px;
  color: var(--gold);
}
.he-widget .widget-content,
.he-widget .textwidget { padding: 16px; }

/* Meistgelesen */
.he-top-list { display: flex; flex-direction: column; }
.he-top-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--fog);
  cursor: pointer;
}
.he-top-item:last-child { border-bottom: none; padding-bottom: 0; }
.he-top-num {
  font-family: var(--font-hed);
  font-size: 28px;
  color: var(--fog);
  line-height: 1;
  min-width: 28px;
}
.he-top-num.gold { color: var(--gold); }
.he-top-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

/* ══════════════════════════════════════════════════
   EINZELARTIKEL (single.php)
══════════════════════════════════════════════════ */
.he-single-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  max-width: 1280px;
  margin: 28px auto;
  padding: 0 24px;
  align-items: start;
}
.he-article {}

/* Hero-Bild Artikel */
.he-article-hero {
  width: 100%;
  max-height: 480px;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 24px;
}
.he-article-hero img { width: 100%; height: 480px; object-fit: cover; }

/* Artikel Header */
.he-article-header { margin-bottom: 24px; }
.he-article-cats { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.he-article-hed {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 14px;
}
.he-article-dek {
  font-size: 18px;
  color: var(--slate);
  line-height: 1.55;
  font-weight: 300;
  border-left: 3px solid var(--gold);
  padding-left: 16px;
  margin-bottom: 20px;
}
.he-article-meta-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
  padding: 14px 0;
  border-top: 1px solid var(--fog);
  border-bottom: 1px solid var(--fog);
  flex-wrap: wrap;
}
.he-article-meta-bar .author { color: var(--ink); font-weight: 600; }
.he-article-meta-bar .sep { color: var(--fog); }

/* Artikel-Body Text */
.he-article-body {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
}
.he-article-body p { margin-bottom: 1.4em; }
.he-article-body h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin: 1.8em 0 0.6em;
  border-left: 4px solid var(--gold);
  padding-left: 12px;
}
.he-article-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin: 1.4em 0 0.5em;
}
.he-article-body img {
  width: 100%;
  height: auto;
  border-radius: 3px;
  margin: 1.5em 0;
}
.he-article-body blockquote {
  border-left: 4px solid var(--gold);
  padding: 12px 20px;
  margin: 1.5em 0;
  background: var(--paper);
  border-radius: 0 3px 3px 0;
  font-style: italic;
  font-size: 18px;
  color: var(--slate);
}
.he-article-body figure { margin: 1.5em 0; }
.he-article-body figcaption {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 6px;
  font-style: italic;
}

/* Autor-Box */
.he-author-box {
  background: var(--white);
  border-radius: 4px;
  padding: 20px;
  margin-top: 32px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border: 1px solid var(--fog);
}
.he-author-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-hed);
  font-size: 22px;
  color: var(--gold);
  flex-shrink: 0;
}
.he-author-name { font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.he-author-desc { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* Share Bar */
.he-share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid var(--fog);
  margin-top: 32px;
}
.he-share-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}
.he-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
  color: var(--white);
}
.he-share-btn:hover { opacity: 0.85; }
.he-share-btn.fb { background: #1877f2; }
.he-share-btn.tw { background: #000; }
.he-share-btn.wa { background: #25d366; }

/* Related Articles */
.he-related { margin-top: 40px; }

/* ══════════════════════════════════════════════════
   NEWSLETTER BAND
══════════════════════════════════════════════════ */
.he-newsletter {
  background: var(--night);
  border-top: 3px solid var(--gold);
  padding: 40px 24px;
  margin: 36px 0 0;
}
.he-newsletter-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.he-newsletter-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.he-newsletter-hed {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--white);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 8px;
}
.he-newsletter-sub { font-size: 14px; color: var(--dust); line-height: 1.6; }
.he-newsletter-form { display: flex; gap: 8px; }
.he-newsletter-form input {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 2px;
  padding: 12px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border 0.15s;
}
.he-newsletter-form input::placeholder { color: var(--muted); }
.he-newsletter-form input:focus { border-color: var(--gold); }
.he-newsletter-form button {
  background: var(--gold);
  color: var(--night);
  border: none;
  border-radius: 2px;
  padding: 12px 20px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.he-newsletter-form button:hover { background: var(--gold-light); }
.he-newsletter-note { font-size: 11px; color: var(--muted); margin-top: 8px; }

/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
.he-footer {
  background: var(--ink);
  color: var(--dust);
  padding: 48px 24px 24px;
}
.he-footer-inner { max-width: 1280px; margin: 0 auto; }
.he-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.he-footer-logo {
  font-family: var(--font-hed);
  font-size: 24px;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 12px;
}
.he-footer-logo span { color: var(--gold); }
.he-footer-desc { font-size: 13px; line-height: 1.7; margin-bottom: 20px; }
.he-footer-widget-title {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: var(--gold) !important;
  margin-bottom: 16px !important;
}
.he-footer-widget ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.he-footer-widget ul li a { font-size: 13px; color: var(--muted); transition: color 0.15s; }
.he-footer-widget ul li a:hover { color: var(--white); }
.he-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 8px;
}
.he-footer-credit { color: var(--gold); font-size: 11px; }

/* ══════════════════════════════════════════════════
   SECTION WRAPPER
══════════════════════════════════════════════════ */
.he-section { margin-bottom: 36px; }

/* ══════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .he-hero-grid { grid-template-columns: 1fr; }
  .he-hero-main { grid-row: auto; min-height: 360px; }
  .he-hero-side { display: none; }
  .he-content-sidebar,
  .he-single-wrap { grid-template-columns: 1fr; }
  .he-footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .he-newsletter-inner { grid-template-columns: 1fr; }
  .he-cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .he-main-nav { display: none; }
  .he-cards-grid-3,
  .he-cards-grid-2 { grid-template-columns: 1fr; }
  .he-cards-grid-4 { grid-template-columns: 1fr; }
  .he-card-h { grid-template-columns: 1fr; }
  .he-hero-hed { font-size: 22px; }
  .he-article-hed { font-size: 26px; }
  .he-footer-grid { grid-template-columns: 1fr; }
  .he-newsletter-form { flex-direction: column; }
}

/* ── BILD-ZUSCHNITT OPTIMIERUNG ─────────────────────────────── */

/* Cards: Portraits zeigen Gesicht – Fokus oberes Drittel */
.he-card-img img {
  object-fit: cover !important;
  object-position: center 30% !important;
}

/* Hero Hauptbild: Mitte des Bildes */
.he-hero-thumb {
  object-fit: cover !important;
  object-position: center center !important;
}

/* Hero Side-Cards */
.he-hero-side-img img {
  object-fit: cover !important;
  object-position: center 30% !important;
}

/* Artikel-Einzelseite Hero */
.he-article-hero img {
  object-fit: cover !important;
  object-position: center 25% !important;
}

/* ── BETHEME ZWEITE NAV-LEISTE AUSBLENDEN ────────────────────── */
#Header_wrapper,
#Top_bar,
.the-second-nav,
nav#second-nav,
.secondary-nav,
#secondary-nav,
.subheader,
#subheader,
.breadcrumbs,
#breadcrumbs,
div[class*="secondbar"],
div[class*="second-bar"] {
    display: none !important;
}

/* Logo als Bild */
.he-logo-main,
.he-logo-sub { display: none !important; }
.he-logo img {
  height: 65px !important;
  width: auto !important;
  object-fit: contain;
}
.he-top-wrap-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0; /* wichtig bei Flex-Children mit Inhalt */
}
.he-header-inner {
  flex-wrap: nowrap;
}
.he-main-nav {
  flex-wrap: nowrap;
}

