/* =========================================================================
   ESN Abgeordneten-Directory – Card, Filterleiste, Grid, Seiten-Chrome
   Filterleiste-Optik 1:1 aus der Vorlage (ESN-Abgeordnete-Uebersicht-EN-V4-2).
   Container-Layouts nutzen CSS Grid, um Elementors Container-Breiten-Zwang
   (--container-widget-width) zu umgehen.
   ========================================================================= */
:root {
  --esn-heading: #19345a;
  --esn-heading-deep: #001b37;
  --esn-teal: #5293a7;
  --esn-teal-deep: #3A7689;
  --esn-teal-soft: #b1d2d8;
  --esn-teal-tint: #E9F1F3;
  --esn-ink: #0A0A0A;
  --esn-ink-2: #3A4A55;
  --esn-ink-3: #54636D;
  --esn-bg: #FFFFFF;
  --esn-bg-soft: #F4F8FB;
  --esn-red: #d60f3c;
  --esn-line: rgba(25, 52, 90, .12);
  --esn-serif: "Petrona", Georgia, "Times New Roman", serif;
  --esn-sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Loop-Grid: gleich hohe Karten ---------- */
.esn-mep-card * { box-sizing: border-box; }
.elementor-widget-loop-grid .e-loop-item,
.esn-mep-card { height: 100%; }

/* ---------- Card ---------- */
.esn-mep-card {
  display: flex; flex-direction: column;
  background: var(--esn-bg); border: 1px solid var(--esn-teal-soft);
  border-radius: 14px; overflow: hidden;
  font-family: var(--esn-sans); color: var(--esn-ink);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.esn-mep-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(25, 52, 90, .14); border-color: var(--esn-teal); }
.esn-mep-photo { position: relative; aspect-ratio: 4 / 4.6; background: linear-gradient(160deg, var(--esn-heading) 0%, var(--esn-teal) 100%); overflow: hidden; }
.esn-mep-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.esn-mep-initials { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--esn-serif); font-weight: 800; font-size: clamp(44px, 6vw, 64px); color: rgba(255, 255, 255, .92); letter-spacing: .02em; }
.esn-mep-badge { position: absolute; left: 10px; bottom: 10px; background: var(--esn-teal); color: #fff; font-size: 9.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: 3px; line-height: 1.15; max-width: calc(100% - 90px); }
.esn-mep-flag { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; background: rgba(0, 27, 55, .55); padding: 3px 6px; border-radius: 4px; backdrop-filter: blur(2px); }
.esn-mep-flag-svg { height: 14px; width: auto; display: block; border-radius: 2px; border: 1px solid rgba(255, 255, 255, .55); }
.esn-mep-flag-code { font-size: 10px; font-weight: 600; letter-spacing: .06em; color: #fff; }
.esn-mep-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1 1 auto; }
.esn-mep-name { font-family: var(--esn-serif); font-size: 19px; font-weight: 700; line-height: 1.2; color: var(--esn-heading); margin: 0; }
.esn-mep-delegation { font-size: 13.5px; color: var(--esn-ink-2); margin: 0; }
.esn-mep-party { font-size: 12.5px; color: var(--esn-ink-3); text-decoration: none; border-bottom: 1px solid transparent; align-self: flex-start; }
a.esn-mep-party:hover { color: var(--esn-teal-deep); border-bottom-color: var(--esn-teal-soft); }
.esn-mep-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; padding: 0; }
.esn-mep-tags li { background: var(--esn-teal-tint); color: var(--esn-teal-deep); border: 1px solid var(--esn-teal-soft); border-radius: 999px; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; line-height: 1.4; }
.esn-mep-profile { margin-top: auto; padding-top: 12px; font-size: 13px; font-weight: 600; color: var(--esn-teal-deep); text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.esn-mep-profile span { transition: transform .15s ease; }
.esn-mep-profile:hover span { transform: translateX(3px); }

/* =========================================================================
   Directory-Kopf + Filterleiste (Optik wie Vorlage)
   ========================================================================= */
.esn-dir-head { display: grid !important; grid-template-columns: 1fr auto; align-items: end; gap: 16px 24px; margin-bottom: 24px; }
.esn-dir-count { font-family: var(--esn-sans); font-size: 12px; font-weight: 400; letter-spacing: .04em; color: var(--esn-ink-3); white-space: nowrap; }
.esn-dir-count b { color: var(--esn-heading); font-weight: 700; }

.esn-filterbar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-bottom: 28px; font-family: var(--esn-sans); }
.esn-fb-field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 140px; min-width: 0; }
.esn-fb-search { flex: 1.6 1 190px; }
.esn-fb-only { flex: 0 1 auto; }
.esn-fb-field > label { font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--esn-ink-3); }
.esn-fb-input { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--esn-line); border-radius: 8px; padding: 0 12px; height: 44px; }
.esn-fb-input:focus-within { border-color: var(--esn-teal); box-shadow: 0 0 0 3px rgba(82, 147, 167, .15); }
.esn-fb-input svg { width: 16px; height: 16px; color: var(--esn-ink-3); flex: 0 0 auto; }
.esn-fb-input input, .esn-fb-input select {
  border: 0 !important; background: transparent !important; box-shadow: none !important; outline: none !important;
  width: auto !important; min-width: 0; flex: 1 1 auto; height: 100%;
  font-family: var(--esn-sans); font-size: 14px; color: var(--esn-heading); padding: 0; margin: 0;
}
.esn-fb-input input::placeholder { color: var(--esn-ink-3); opacity: 1; }
.esn-fb-checks { display: flex; align-items: center; gap: 16px; height: 44px; }
.esn-fb-checkbox { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--esn-ink-2); cursor: pointer; white-space: nowrap; }
.esn-fb-checkbox input { width: 16px !important; height: 16px; accent-color: var(--esn-teal); cursor: pointer; margin: 0; }
.esn-fb-reset {
  align-self: flex-end; width: auto !important;
  background: #fff; color: var(--esn-ink-2); border: 1px solid var(--esn-line); border-radius: 999px;
  padding: 0 22px; height: 44px; font-family: var(--esn-sans); font-size: 13px; font-weight: 600; cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.esn-fb-reset:hover { background: var(--esn-teal); color: #fff; border-color: var(--esn-teal); }
.esn-dir-empty { display: none; font-family: var(--esn-sans); font-size: 15px; color: var(--esn-ink-3); text-align: center; padding: 48px 16px; }
.esn-dir-empty.is-visible { display: block; }

/* =========================================================================
   Seiten-Chrome (native Widgets): Hero, Intro, Mandate, Directory
   ========================================================================= */
.esn-section { padding: 96px 0; }
.esn-wrap { max-width: 1248px; margin: 0 auto; padding: 0 24px; width: 100%; }
.esn-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--esn-sans); color: var(--esn-teal-deep); }
.esn-eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; display: inline-block; flex: 0 0 auto; }
.esn-eyebrow .elementor-heading-title { color: var(--esn-teal-deep); font-family: var(--esn-sans); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin: 0; }
.esn-accent { color: var(--esn-teal) !important; }
.esn-h2 .elementor-heading-title { font-family: var(--esn-serif); font-weight: 800; font-size: clamp(28px, 4vw, 40px); line-height: 1.12; color: var(--esn-heading); margin: 0 0 18px; }
.esn-prose { font-family: var(--esn-sans); font-size: 16px; line-height: 1.7; color: var(--esn-ink-2); }
.esn-prose p { margin: 0 0 1em; }
.esn-prose p:last-child { margin-bottom: 0; }

/* Hero */
.esn-hero { background: linear-gradient(135deg, #001b37 0%, #19345a 60%, #24507d 100%); padding: 104px 0 84px; }
.esn-hero-inner { max-width: 1248px; margin: 0 auto; padding: 0 24px; width: 100%; }
.esn-hero .esn-eyebrow,
.esn-hero .esn-eyebrow .elementor-heading-title { color: var(--esn-teal-soft) !important; }
.esn-hero-h1 .elementor-heading-title { font-family: var(--esn-serif); font-weight: 800; font-size: clamp(40px, 6.5vw, 74px); line-height: 1.04; margin: 0 0 18px; }

.esn-hero-sub { max-width: 620px; font-size: 17px; line-height: 1.65; margin: 0 0 28px; }
.esn-hero-sub p { margin: 0; }
.esn-hero-cta { display: flex !important; flex-direction: row !important; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; align-items: center; }
.esn-hero-cta > .elementor-widget, .esn-hero-cta > .elementor-element { width: auto !important; flex: 0 0 auto; }
.esn-hero-cta .elementor-button, .esn-phero-actions .elementor-button { border: 0; border-radius: 999px; padding: 15px 28px; font-family: var(--esn-sans); font-weight: 600; font-size: 13px; line-height: 1; text-decoration: none; box-shadow: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.esn-hero-cta .elementor-button, .esn-phero-actions .elementor-button,
.esn-hero-cta .elementor-button:hover, .esn-phero-actions .elementor-button:hover { text-decoration: none; }
.esn-btn-solid .elementor-button { background: linear-gradient(135deg, #19345a 0%, #5293a7 100%); color: #fff; border: 0; }
.esn-btn-solid .elementor-button:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(25,52,90,.28); }
.esn-btn-outline .elementor-button { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55); padding: 13.5px 26.5px; }
.esn-btn-outline .elementor-button:hover { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.75); }
.esn-stats { display: flex !important; flex-direction: row !important; gap: 56px; flex-wrap: wrap; }
.esn-stat { display: flex; flex-direction: column; gap: 2px; flex: 0 0 auto; width: auto !important; }
.esn-stat-num .elementor-heading-title { font-family: var(--esn-serif); font-weight: 800; font-size: 46px; line-height: 1; color: #fff !important; margin: 0; }
.esn-stat-label .elementor-heading-title { font-family: var(--esn-sans); font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--esn-teal-soft) !important; margin: 0; }

/* Intro (Grid gegen Elementor-Container-Breiten-Zwang) */
.esn-intro { display: grid !important; grid-template-columns: minmax(0, 1fr) 320px; gap: 52px; align-items: start; }
.esn-intro-main { min-width: 0; }
.esn-aside { background: var(--esn-bg-soft); border: 1px solid var(--esn-teal-soft); border-radius: 20px; padding: 28px 30px; }
.esn-aside-title .elementor-heading-title { font-family: var(--esn-serif); font-weight: 700; font-size: 20px; color: var(--esn-heading); margin: 0 0 8px; }
.esn-numbers { list-style: none; margin: 0; padding: 0; font-family: var(--esn-sans); }
.esn-numbers li { display: flex; justify-content: space-between; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--esn-line); }
.esn-numbers li:last-child { border-bottom: none; }
.esn-numbers span { color: var(--esn-ink-2); font-size: 14px; }
.esn-numbers b { font-family: var(--esn-serif); font-weight: 700; font-size: 24px; color: var(--esn-heading); }

/* Mandate */
.esn-cols { display: grid !important; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.esn-cols > * { min-width: 0; }

/* Directory-Sektion */
.esn-directory-sec { background: var(--esn-bg-soft); padding: 96px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .esn-intro, .esn-cols { grid-template-columns: 1fr !important; }
  .esn-dir-head { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .esn-section, .esn-directory-sec { padding: 52px 0; }
  .esn-hero { padding: 72px 0 60px; }
  .esn-stats { gap: 36px; }
  .esn-fb-field, .esn-fb-search { flex: 1 1 100%; }
  .esn-mep-name { font-size: 18px; }
}

/* =========================================================================
   Profil / Detailseite (Single mep)
   ========================================================================= */
/* Portrait — überhängt am unteren Rand die Navy-Banderole (Vorlagen-Optik) */
.esn-pp { position: relative; width: 100%; align-self: stretch; min-height: 460px; margin-bottom: -96px; border-radius: 16px; overflow: hidden; border: 5px solid #fff; background: linear-gradient(160deg, #19345a, #5293a7); box-shadow: 0 24px 48px rgba(0, 27, 55, .28); }
.esn-pp-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.esn-pp-initials { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--esn-serif); font-weight: 800; font-size: clamp(56px, 7vw, 88px); color: rgba(255,255,255,.92); }
.esn-pp-flag { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; background: rgba(0,27,55,.55); padding: 4px 8px; border-radius: 5px; backdrop-filter: blur(2px); }
.esn-pp-flag .esn-mep-flag-svg { height: 15px; width: auto; border-radius: 2px; border: 1px solid rgba(255,255,255,.55); }
.esn-pp-flag span { font-size: 11px; font-weight: 600; letter-spacing: .06em; color: #fff; }

/* Header (phero) — Navy-Banderole füllt nur den oberen Teil (content-relativ, kein JS),
   das Portrait überhängt sie nach unten in den weißen Streifen. */
.esn-phero { position: relative; background-color: #fff; background-image: linear-gradient(135deg, #001b37 0%, #0f2748 55%, #19345a 100%); background-repeat: no-repeat; background-position: top center; background-size: 100% calc(100% - 108px); }
.esn-phero-inner { position: relative; z-index: 1; display: grid !important; grid-template-columns: 340px minmax(0, 1fr); gap: 48px; align-items: start; max-width: 1248px; margin: 0 auto; padding: 56px 24px 124px; width: 100%; }
.esn-phero-meta { padding-top: 40px; }
.esn-role-pill .elementor-heading-title, .esn-role-pill { display: inline-block; background: var(--esn-teal); color: #fff !important; font-family: var(--esn-sans); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin: 0 0 14px; }
.esn-phero-h1 .elementor-heading-title { font-family: var(--esn-serif); font-weight: 800; font-size: clamp(36px, 5vw, 60px); line-height: 1.05; color: #fff !important; margin: 0 0 10px; }
.esn-deleg-line { font-family: var(--esn-sans); font-size: 15px; color: rgba(255,255,255,.78); margin: 0 0 26px; }
.esn-deleg-line b { color: #fff; font-weight: 600; }
.esn-facts { display: grid !important; grid-template-columns: repeat(4, auto); gap: 22px 40px; margin-bottom: 28px; justify-content: start; }
.esn-fact .k { font-family: var(--esn-sans); font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--esn-teal-soft); margin-bottom: 5px; }
.esn-fact .v { font-family: var(--esn-sans); font-size: 15px; color: #fff; }
.esn-fact .v a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); }
.esn-phero-actions { display: flex !important; flex-direction: row !important; gap: 12px; flex-wrap: wrap; }
.esn-phero-actions > .elementor-widget, .esn-phero-actions > .elementor-element { width: auto !important; flex: 0 0 auto; }
/* Plain-Anchor-Buttons (Header-Shortcode) */
.esn-btn { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; padding: 15px 26px; font-family: var(--esn-sans); font-weight: 600; font-size: 13px; line-height: 1; text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.esn-btn.esn-btn-solid { background: linear-gradient(135deg, #19345a 0%, #5293a7 100%); color: #fff; }
.esn-btn.esn-btn-solid:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(25,52,90,.28); color: #fff; }
.esn-btn.esn-btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55); padding: 13.5px 24.5px; }
.esn-btn.esn-btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }
/* Ghost-Button (heller Hintergrund, z. B. „All Members" bei More Members) */
.esn-ghost-btn .elementor-button { background: transparent; color: var(--esn-teal-deep); border: 1px solid var(--esn-teal-soft); border-radius: 999px; padding: 11px 20px; font-family: var(--esn-sans); font-weight: 600; font-size: 13px; text-decoration: none; }
.esn-ghost-btn .elementor-button:hover { background: var(--esn-teal); color: #fff; border-color: var(--esn-teal); }

/* Biography */
.esn-quote .elementor-widget-container, .esn-quote { font-family: var(--esn-serif); font-size: clamp(20px, 2.4vw, 26px); line-height: 1.4; font-style: italic; color: var(--esn-heading); }
.esn-quote { border-left: 3px solid var(--esn-teal); padding-left: 20px; margin: 0 0 22px; }
/* leeres Zitat (Dynamic Tag ohne Wert) nicht als leerer Balken zeigen */
.esn-quote .elementor-widget-container:empty { display: none; }
.esn-quote:has(.elementor-widget-container:empty) { border: 0; padding: 0; margin: 0; }

/* Parliamentary Work */
.esn-cmt-subhead { font-family: var(--esn-sans); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--esn-ink-3); margin: 24px 0 12px; }
.esn-cmt-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.esn-cmt-list li { background: var(--esn-teal-tint); color: var(--esn-teal-deep); border: 1px solid var(--esn-teal-soft); border-radius: 8px; padding: 7px 12px; font-family: var(--esn-sans); font-size: 13px; }
.esn-aff-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.esn-aff-list li { display: flex; align-items: center; gap: 10px; font-family: var(--esn-sans); font-size: 14.5px; color: var(--esn-ink); }
.esn-aff-badge { font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; flex: 0 0 auto; }
.esn-aff-country { background: var(--esn-teal-tint); color: var(--esn-teal-deep); }
.esn-aff-party { background: #ece4f4; color: #5a3a86; }

/* Activity */
.esn-activity { margin-top: 4px; }
.esn-act-item { border-top: 1px solid var(--esn-teal-soft); padding: 18px 0; }
.esn-act-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-family: var(--esn-sans); font-size: 12.5px; color: var(--esn-ink-3); margin-bottom: 6px; }
.esn-act-type { background: var(--esn-heading); color: #fff; font-size: 10.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; padding: 3px 9px; border-radius: 4px; }
.esn-act-title { font-family: var(--esn-serif); font-size: 18px; font-weight: 700; margin: 0 0 4px; }
.esn-act-title a { color: var(--esn-heading); text-decoration: none; }
.esn-act-title a:hover { color: var(--esn-teal-deep); }
.esn-act-item p { font-family: var(--esn-sans); font-size: 14px; line-height: 1.6; color: var(--esn-ink-2); margin: 0; }

/* Research */
.esn-research-list { list-style: none; margin: 0; padding: 0; }
.esn-research-list li { display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--esn-line); }
.esn-research-list li:last-child { border-bottom: none; }
.esn-research-year { font-family: var(--esn-serif); font-weight: 700; font-size: 18px; color: var(--esn-teal); flex: 0 0 56px; }
.esn-research-title { font-family: var(--esn-sans); font-size: 15px; color: var(--esn-ink); }
.esn-research-title a { color: var(--esn-heading); text-decoration: none; border-bottom: 1px solid var(--esn-teal-soft); }

/* =========================================================================
   Profil: Sticky Sub-Nav + Zwei-Spalten-Body (Main + Sidebar)
   ========================================================================= */
/* Sub-Nav (Anker: Biography · Priorities · Committees · Activity · Contact) */
.esn-subnav { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--esn-line); }
.esn-subnav-row { display: flex; gap: 4px; height: 58px; align-items: center; overflow-x: auto; }
.esn-subnav a { font-family: var(--esn-sans); font-size: 13.5px; font-weight: 600; color: var(--esn-ink-2); padding: 10px 16px; border-radius: 8px; white-space: nowrap; text-decoration: none; transition: color .2s ease, background .2s ease; }
.esn-subnav a:hover { color: var(--esn-teal-deep); background: var(--esn-teal-tint); }
/* Anker unter der Sub-Nav sichtbar halten */
#biografie, #ausschuesse, #publikationen, #kontakt { scroll-margin-top: 74px; }

/* Zwei-Spalten-Body */
.esn-pbody { max-width: 1248px !important; margin: 0 auto !important; padding: 72px 24px 90px !important; display: grid !important; grid-template-columns: minmax(0, 1fr) 360px !important; gap: 64px !important; align-items: start !important; }
.esn-pmain { min-width: 0; display: flex !important; flex-direction: column !important; gap: 64px !important; }
.esn-pmain > * { min-width: 0; }
/* Main-Column: Full-Bleed-Sektionen + doppelten Wrap entschärfen (Grid steuert die Breite);
   Abstände innerhalb der Sektion (Eyebrow→H2→Inhalt) an Vorlage angleichen (14px statt 20px) */
.esn-pmain .esn-section, .esn-pmain .esn-directory-sec, .esn-pmain .esn-research-sec { padding: 0 !important; background: none !important; gap: 14px !important; }
.esn-pmain .esn-wrap { max-width: none !important; padding: 0 !important; margin: 0 !important; width: 100% !important; gap: 14px !important; }
.esn-pmain .esn-h2 .elementor-heading-title { margin-bottom: 0; }
.esn-pmain .esn-quote { margin-bottom: 0; }

/* Sidebar */
.esn-pside { position: sticky !important; top: 82px; min-width: 0; display: flex !important; flex-direction: column !important; gap: 22px !important; }
.esn-side-card { border: 1px solid var(--esn-line); border-radius: 14px; background: #fff; overflow: hidden; }
/* Abstand zwischen den Cards: der Flex-Gap von .esn-pside greift nur am Shortcode-Wrapper,
   nicht an den Cards selbst → Abstand direkt zwischen benachbarten Cards setzen. */
.esn-pside .esn-side-card + .esn-side-card { margin-top: 22px; }
.esn-sc-head { background: var(--esn-bg-soft); border-bottom: 1px solid var(--esn-line); padding: 14px 22px; font-family: var(--esn-sans); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--esn-ink-2); }
.esn-sc-body { padding: 22px; }
.esn-sc-empty { font-family: var(--esn-sans); font-size: 13.5px; color: var(--esn-ink-3); margin: 0; }
/* Contact-Zeilen */
.esn-contact-row { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--esn-line); font-family: var(--esn-sans); font-size: 14px; color: var(--esn-ink-2); }
.esn-contact-row:first-child { border-top: 0; padding-top: 0; }
.esn-contact-row svg { width: 17px; height: 17px; color: var(--esn-teal-deep); flex: none; margin-top: 2px; }
.esn-contact-row b { display: block; color: var(--esn-heading); font-weight: 600; font-size: 13px; margin-bottom: 1px; }
.esn-contact-row a { color: var(--esn-ink-2); text-decoration: none; word-break: break-word; }
.esn-contact-row a:hover { color: var(--esn-teal); }
/* Offices */
.esn-office-block { padding: 14px 0; border-top: 1px solid var(--esn-line); }
.esn-office-block:first-child { border-top: 0; padding-top: 0; }
.esn-ob-t { font-family: var(--esn-sans); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--esn-teal-deep); margin-bottom: 6px; }
.esn-office-block address { font-style: normal; font-family: var(--esn-sans); font-size: 13.5px; line-height: 1.55; color: var(--esn-ink-2); }
/* Delegation */
.esn-side-deleg { display: flex; align-items: center; gap: 14px; }
.esn-sd-flag { width: 52px; height: 52px; border-radius: 8px; display: grid; place-items: center; font-family: var(--esn-sans); font-weight: 600; color: #fff; font-size: 15px; letter-spacing: .04em; flex: none; }
.esn-sd-name b { display: block; font-family: var(--esn-serif); color: var(--esn-heading); font-size: 17px; }
.esn-sd-name span { font-family: var(--esn-sans); font-size: 12.5px; color: var(--esn-ink-3); }
.esn-side-deleg-cta { margin-top: 16px; }
.esn-btn-sm { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; font-family: var(--esn-sans); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--esn-heading); border: 1.5px solid var(--esn-teal); border-radius: 999px; background: transparent; text-decoration: none; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.esn-btn-sm:hover { background: linear-gradient(135deg, #19345a, #5293a7); color: #fff; border-color: transparent; }
.esn-btn-sm span { transition: transform .2s ease; }
.esn-btn-sm:hover span { transform: translateX(3px); }
/* Social Media */
.esn-social-list { display: flex; flex-direction: column; gap: 9px; }
.esn-social-link { display: flex; align-items: center; gap: 13px; padding: 9px 11px; border-radius: 12px; border: 1px solid var(--esn-line); background: #fff; text-decoration: none; transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.esn-social-link:hover { border-color: transparent; background: var(--esn-teal-tint); transform: translateX(3px); box-shadow: 0 12px 22px -16px rgba(25, 52, 90, .4); }
.esn-si-ic { width: 38px; height: 38px; border-radius: 10px; flex: none; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #19345a, #5293a7); }
.esn-si-ic svg { width: 18px; height: 18px; display: block; }
.esn-si-meta { min-width: 0; line-height: 1.2; display: flex; flex-direction: column; }
.esn-si-net { font-family: var(--esn-sans); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--esn-ink-3); }
.esn-si-handle { font-family: var(--esn-sans); font-size: 13.5px; font-weight: 600; color: var(--esn-heading); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.esn-si-arr { margin-left: auto; flex: none; color: var(--esn-teal-deep); opacity: 0; transform: translateX(-5px); transition: opacity .2s ease, transform .2s ease; }
.esn-social-link:hover .esn-si-arr { opacity: 1; transform: none; }
/* Downloads */
.esn-dl-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-top: 1px solid var(--esn-line); font-family: var(--esn-sans); font-size: 13.5px; }
.esn-dl-row:first-child { border-top: 0; padding-top: 0; }
.esn-dl-row a { color: var(--esn-teal-deep); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.esn-dl-row a:hover { color: var(--esn-teal); }
.esn-dl-row a svg { width: 16px; height: 16px; flex: none; }
.esn-dl-meta { font-family: var(--esn-sans); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; color: var(--esn-ink-3); white-space: nowrap; }

/* ---------- Profil Responsive ---------- */
@media (max-width: 980px) {
  /* Banderole aus, Header solide navy, einspaltig */
  .esn-phero { background-image: none; background-color: #001b37; }
  .esn-phero-inner { grid-template-columns: 1fr; gap: 28px; align-items: center; padding: 64px 24px 56px; }
  .esn-phero-meta { padding-top: 0; }
  .esn-pp { max-width: 240px; margin: 0 auto; align-self: auto; min-height: 0; aspect-ratio: 4 / 5; }
  /* Body einspaltig, Sidebar unter den Content */
  .esn-pbody { grid-template-columns: 1fr !important; gap: 40px !important; padding: 48px 24px 72px !important; }
  .esn-pside { position: static !important; }
  .esn-facts { grid-template-columns: repeat(2, auto); }
}

/* Ausschuss-Pills als Links: negative Margins heben das li-Padding auf,
   dadurch ist die ganze Pill klickbar — ohne :has(), also überall stabil. */
.esn-cmt-list a { display: block; margin: -7px -12px; padding: 7px 12px; border-radius: 8px; color: inherit; text-decoration: none; transition: background-color .15s ease; }
.esn-cmt-list a:hover { background: var(--esn-teal-soft); }
.esn-cmt-list a:focus-visible { outline: 2px solid var(--esn-teal); outline-offset: 2px; }
