/*
Theme Name:  Extrachor Osnabrück
Theme URI:   https://www.echor-os.de
Description: Child-Theme von Twenty Twenty-Four für die Website des Extrachors Osnabrück – dunkles Bühnendesign mit Bordeaux- und Goldakzenten, selbst gehostete Schriften (Cormorant Garamond, Source Sans 3).
Author:      Marc Selige
Template:    twentytwentyfour
Version:     1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: extrachor
*/

/* ------------------------------------------------------------------
   Design-Token (Ergänzung zu theme.json – hier für Elementor & Extras)
   ------------------------------------------------------------------ */
:root {
  --ec-ground:      #1B181D;
  --ec-ground-2:    #242028;
  --ec-ground-3:    #2E2933;
  --ec-ivory:       #F2ECE1;
  --ec-ivory-dim:   #BDB4A8;
  --ec-muted:       #8B8290;
  --ec-bordeaux:    #7A2432;
  --ec-bordeaux-2:  #9A3A48;
  --ec-gold:        #C9A75B;
  --ec-gold-2:      #D9B86C;
  --ec-line:        rgba(242, 236, 225, 0.12);
  --ec-display:     "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --ec-body:        "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
}

html { -webkit-font-smoothing: antialiased; }

/* Elementor soll die Theme-Schriften nutzen, nicht seine Standardwerte */
.elementor-widget-container,
.elementor-widget-text-editor,
.elementor-widget-heading .elementor-heading-title,
.elementor-widget-button .elementor-button {
  font-family: var(--ec-body);
}
.elementor-widget-heading .elementor-heading-title,
.elementor h1, .elementor h2, .elementor h3 {
  font-family: var(--ec-display);
  font-weight: 500;
  line-height: 1.08;
  text-wrap: balance;
}

/* Bildrahmen: Fotos leicht abgerundet, dezenter Schatten */
.wp-block-image img,
.elementor-widget-image img {
  border-radius: 3px;
}

/* Fokus sichtbar (Tastatur) */
a:focus-visible, button:focus-visible, .wp-block-button__link:focus-visible {
  outline: 2px solid var(--ec-gold);
  outline-offset: 3px;
}

/* ------------------------------------------------------------------
   Header
   ------------------------------------------------------------------ */
.ec-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(27, 24, 29, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ec-line);
}
.admin-bar .ec-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ec-header { top: 46px; } }

.ec-header .wp-block-site-logo img {
  height: 46px;
  width: auto;
}
.ec-header .wp-block-site-title a {
  font-family: var(--ec-display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  text-decoration: none;
}
.ec-header .ec-tagline {
  font-family: var(--ec-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ec-gold);
  margin: 0;
  line-height: 1.2;
}
.ec-header .wp-block-navigation a {
  font-family: var(--ec-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ec-ivory-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
}
.ec-header .wp-block-navigation a:hover,
.ec-header .wp-block-navigation .current-menu-item > a {
  color: var(--ec-ivory);
  border-bottom-color: var(--ec-gold);
}
.ec-header .wp-block-navigation__submenu-container {
  background: var(--ec-ground-2) !important;
  border: 1px solid var(--ec-line) !important;
}
.ec-header .wp-block-navigation__responsive-container.is-menu-open {
  background: var(--ec-ground);
}
.ec-header .wp-block-navigation__responsive-container-open,
.ec-header .wp-block-navigation__responsive-container-close { color: var(--ec-ivory); }

/* ------------------------------------------------------------------
   Startseite (Klassen werden in der Elementor-Vorlage vergeben)
   ------------------------------------------------------------------ */
.ec-eyebrow, .ec-eyebrow .elementor-heading-title {
  font-family: var(--ec-body) !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ec-gold) !important;
}

/* Hero */
.ec-hero {
  background:
    radial-gradient(ellipse 60% 70% at 50% 0%, rgba(122, 36, 50, 0.55), transparent 65%),
    radial-gradient(ellipse 40% 50% at 85% 100%, rgba(201, 167, 91, 0.12), transparent 70%),
    var(--ec-ground) !important;
  position: relative;
}
.ec-hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--ec-gold), transparent);
  opacity: 0.6;
}
.ec-hero .ec-h1 .elementor-heading-title {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.005em;
}
.ec-hero .ec-h1 em { font-style: italic; color: var(--ec-gold); }
.ec-lede, .ec-lede p { font-size: 1.1875rem; color: var(--ec-ivory-dim); max-width: 34em; }
.ec-hero-photo img { box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); }
.ec-hero-caption {
  display: inline-block;
  background: var(--ec-bordeaux);
  color: var(--ec-ivory);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 14px;
  margin-top: -14px;
  position: relative;
}

/* Buttons */
.ec-btn-gold .elementor-button,
.wp-block-button.is-style-ec-gold .wp-block-button__link {
  background: var(--ec-gold); color: var(--ec-ground);
  border-radius: 2px; font-weight: 600; letter-spacing: 0.02em;
  padding: 13px 24px; border: 1px solid transparent;
}
.ec-btn-gold .elementor-button:hover { background: var(--ec-gold-2); color: var(--ec-ground); }
.ec-btn-ghost .elementor-button {
  background: transparent; color: var(--ec-ivory);
  border: 1px solid var(--ec-line); border-radius: 2px;
  font-weight: 600; letter-spacing: 0.02em; padding: 13px 24px;
}
.ec-btn-ghost .elementor-button:hover { border-color: var(--ec-gold); color: var(--ec-ivory); }

/* Abschnittsköpfe */
.ec-h2 .elementor-heading-title { font-size: 2.25rem; }
.ec-section-note, .ec-section-note p { color: var(--ec-muted); font-size: 0.9375rem; margin: 0; }

/* Mitgliederbereich – Ausgabe des Shortcodes [ec_mitglieder] */
.ec-kicker-text { display: block; font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ec-gold); font-weight: 600; }
.ec-go-text { font-size: 0.875rem; color: var(--ec-gold); font-weight: 600; margin-top: auto; }

.ec-tiles-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--ec-line); border: 1px solid var(--ec-line);
}
.ec-tile-icon { display: block; width: 28px; height: 28px; color: var(--ec-gold); margin-bottom: 4px; }
.ec-tile-icon svg { width: 100%; height: 100%; }
.ec-strip-box__what a { color: inherit; text-decoration: none; }
.ec-strip-box__what a:hover { color: var(--ec-gold); }
@media (max-width: 1000px) { .ec-tiles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ec-tiles-grid { grid-template-columns: 1fr; } }
.ec-tile-link {
  display: flex; flex-direction: column; gap: 8px; min-height: 200px;
  background: var(--ec-ground-2); padding: 26px 24px 24px; text-decoration: none; color: inherit;
  transition: background 0.18s;
}
.ec-tile-link:hover { background: var(--ec-ground-3); color: inherit; }
.ec-tile-link .ec-tile-title, .ec-tile-link h3 { display: block; font-family: var(--ec-display); font-size: 1.5rem; font-weight: 600; line-height: 1.15; margin: 0; color: var(--ec-ivory); }
.ec-tile-link .ec-tile-desc, .ec-tile-link p { display: block; margin: 0; color: var(--ec-ivory-dim); font-size: 0.9375rem; flex: 1; }
.ec-tiles-grid > p, .ec-tiles-grid > br { display: contents; }


.ec-strip-box {
  margin-top: 28px; padding: 18px 24px;
  border: 1px solid var(--ec-line); border-left: 3px solid var(--ec-bordeaux-2);
  background: var(--ec-ground-2);
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
}
.ec-strip-box__date { font-family: var(--ec-display); font-size: 1.875rem; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.ec-strip-box__date span { display: block; font-family: var(--ec-body); font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ec-gold); margin-top: 4px; }
.ec-strip-box__what { color: var(--ec-ivory-dim); font-size: 0.9375rem; }
.ec-strip-box__what strong { display: block; color: var(--ec-ivory); font-size: 1.0625rem; }
.ec-strip-box__note { font-size: 0.75rem; color: var(--ec-muted); letter-spacing: 0.06em; text-transform: uppercase; }
@media (max-width: 900px) { .ec-strip-box { grid-template-columns: 1fr; gap: 12px; } }

/* Öffentliche Ansicht: Zugang mit Passwortfeld */
.ec-members-locked {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center;
  border: 1px solid var(--ec-line); border-left: 3px solid var(--ec-bordeaux-2);
  background: var(--ec-ground-2); padding: 32px 36px;
}
.ec-members-locked h3 { font-family: var(--ec-display); font-size: 1.75rem; font-weight: 600; margin: 6px 0 10px; color: var(--ec-ivory); }
.ec-members-locked p { margin: 0; color: var(--ec-ivory-dim); font-size: 0.9375rem; max-width: 52ch; }
.ec-members-locked form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin: 0; }
.ec-members-locked form > p:first-child { display: none; } /* WordPress' Standardsatz ausblenden */
.ec-members-locked form p { margin: 0; display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.ec-members-locked form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ec-gold); font-weight: 600; }
.ec-members-locked form input[type="password"] {
  background: var(--ec-ground); color: var(--ec-ivory); border: 1px solid var(--ec-line);
  border-radius: 2px; padding: 11px 14px; font-family: var(--ec-body); font-size: 1rem; min-width: 200px;
}
.ec-members-locked form input[type="password"]:focus { outline: none; border-color: var(--ec-gold); }
.ec-members-locked form input[type="submit"] {
  background: var(--ec-gold); color: var(--ec-ground); border: 0; border-radius: 2px;
  padding: 12px 22px; font-family: var(--ec-body); font-weight: 600; font-size: 0.9375rem; cursor: pointer;
}
.ec-members-locked form input[type="submit"]:hover { background: var(--ec-gold-2); }
@media (max-width: 900px) { .ec-members-locked { grid-template-columns: 1fr; padding: 24px; } }

/* Mitglieder-Kacheln (Variante mit Elementor-Spalten) */
.ec-tiles { gap: 1px !important; background: var(--ec-line); border: 1px solid var(--ec-line); }
.ec-tile {
  background: var(--ec-ground-2) !important;
  padding: 26px 24px 24px !important;
  min-height: 170px;
  transition: background 0.18s;
}
.ec-tile:hover { background: var(--ec-ground-3) !important; }
.ec-tile .elementor-heading-title { font-size: 1.5rem; font-weight: 600; line-height: 1.15; }
.ec-tile .elementor-widget-text-editor, .ec-tile p { color: var(--ec-ivory-dim); font-size: 0.9375rem; margin: 0; }
.ec-tile .ec-go, .ec-tile .ec-go p { font-size: 0.875rem; color: var(--ec-gold); font-weight: 600; }
.ec-tile .ec-kicker .elementor-heading-title {
  font-family: var(--ec-body); font-size: 0.6875rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ec-gold); font-weight: 600;
}

/* Hinweisleiste "Nächste Probe" */
.ec-strip {
  border: 1px solid var(--ec-line);
  border-left: 3px solid var(--ec-bordeaux-2) !important;
  background: var(--ec-ground-2) !important;
}
.ec-strip .ec-date .elementor-heading-title {
  font-size: 1.875rem; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums;
}
.ec-strip .ec-strip-label .elementor-heading-title {
  font-family: var(--ec-body); font-size: 0.6875rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ec-gold); font-weight: 600;
}
.ec-strip .ec-strip-text, .ec-strip .ec-strip-text p { color: var(--ec-ivory-dim); font-size: 0.9375rem; margin: 0; }
.ec-strip .ec-strip-text strong { color: var(--ec-ivory); font-size: 1.0625rem; display: block; }
.ec-strip .ec-strip-note, .ec-strip .ec-strip-note p {
  font-size: 0.75rem; color: var(--ec-muted); letter-spacing: 0.06em; text-transform: uppercase; margin: 0;
}

/* Über uns */
.ec-about-first, .ec-about-first p { color: var(--ec-ivory); font-size: 1.1875rem; }
.ec-about-text, .ec-about-text p { color: var(--ec-ivory-dim); max-width: 60ch; }
.ec-facts { border-top: 1px solid var(--ec-line); }
.ec-fact .elementor-heading-title { font-size: 2.125rem; font-weight: 600; line-height: 1; color: var(--ec-gold); }
.ec-fact .elementor-widget-text-editor, .ec-fact p { font-size: 0.8125rem; color: var(--ec-muted); letter-spacing: 0.04em; margin: 0; }

/* Produktionen (Spielplan) */
.ec-productions { background: var(--ec-ground-2) !important; border-top: 1px solid var(--ec-line); border-bottom: 1px solid var(--ec-line); }
.ec-bill { border-top: 1px solid var(--ec-line); }
.ec-bill-row { border-bottom: 1px solid var(--ec-line); padding: 20px 0 !important; }
.ec-bill-row .ec-bill-title .elementor-heading-title { font-size: 1.875rem; font-weight: 500; }
.ec-bill-row .ec-bill-sub, .ec-bill-row .ec-bill-sub p { font-size: 0.875rem; color: var(--ec-muted); margin: 0; }
.ec-bill-row .ec-bill-meta, .ec-bill-row .ec-bill-meta p {
  font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ec-gold); font-weight: 600; white-space: nowrap; margin: 0;
}
.ec-hist, .ec-hist p { color: var(--ec-ivory-dim); }
.ec-hist a { color: var(--ec-gold); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--ec-gold); }

/* Zitat */
.ec-quote .elementor-blockquote__content,
.ec-quote blockquote, .ec-quote blockquote p {
  font-family: var(--ec-display); font-style: italic; font-size: 1.875rem; line-height: 1.3; color: var(--ec-ivory);
  max-width: 40ch; margin: 0 auto;
}
.ec-quote .elementor-blockquote__author, .ec-quote cite {
  display: block; font-family: var(--ec-body); font-style: normal; font-size: 0.8125rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ec-gold); margin-top: 18px;
}

/* ------------------------------------------------------------------
   Startseite als Block-Template (templates/front-page.html)
   ------------------------------------------------------------------ */
.ec-home p.ec-eyebrow {
  font-family: var(--ec-body); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ec-gold); margin: 0 0 18px;
}
.ec-home h1.ec-h1 { font-size: clamp(2.75rem, 6vw, 4.5rem); line-height: 1.02; letter-spacing: -0.005em; margin: 0 0 22px; }
.ec-home h1.ec-h1 em { font-style: italic; color: var(--ec-gold); }
.ec-home h2.ec-h2 { font-size: 2.25rem; margin: 0; }
.ec-home p.ec-lede { font-size: 1.1875rem; color: var(--ec-ivory-dim); max-width: 34em; margin: 0; }
.ec-home p.ec-section-note { color: var(--ec-muted); font-size: 0.9375rem; margin: 0; }
.ec-home .ec-section-head { margin: 0; }

.ec-home .wp-block-button.is-style-ec-gold .wp-block-button__link:hover { background: var(--ec-gold-2); }
.ec-home .ec-btn-ghost-block .wp-block-button__link {
  background: transparent; color: var(--ec-ivory); border: 1px solid var(--ec-line);
  border-radius: 2px; font-weight: 600; letter-spacing: 0.02em; padding: 13px 24px;
}
.ec-home .ec-btn-ghost-block .wp-block-button__link:hover { border-color: var(--ec-gold); }

.ec-home .ec-hero-photo { margin: 0; position: relative; }
.ec-home .ec-hero-photo img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); }
.ec-home .ec-hero-photo .ec-hero-caption {
  position: absolute; left: 0; bottom: -14px; margin: 0; text-align: left;
  background: var(--ec-bordeaux); color: var(--ec-ivory);
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 8px 14px;
}
.ec-home .ec-about-photo { margin: 0; }
.ec-home .ec-about-photo img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.ec-home p.ec-about-first { color: var(--ec-ivory); font-size: 1.1875rem; margin: 0 0 16px; }
.ec-home p.ec-about-text { color: var(--ec-ivory-dim); max-width: 60ch; margin: 0 0 16px; }
.ec-home .ec-facts { border-top: 1px solid var(--ec-line); }
.ec-home p.ec-fact-num { font-family: var(--ec-display); font-size: 2.125rem; font-weight: 600; line-height: 1; color: var(--ec-gold); margin: 0 0 6px; }
.ec-home p.ec-fact-label { font-size: 0.8125rem; color: var(--ec-muted); letter-spacing: 0.04em; margin: 0; }

.ec-home .ec-productions { background: var(--ec-ground-2); border-top: 1px solid var(--ec-line); border-bottom: 1px solid var(--ec-line); }
.ec-home .ec-bill { border-top: 1px solid var(--ec-line); }
.ec-home .ec-bill-row { border-bottom: 1px solid var(--ec-line); padding: 20px 0; margin: 0; }
.ec-home p.ec-bill-title { font-family: var(--ec-display); font-size: 1.875rem; font-weight: 500; line-height: 1.15; margin: 0; }
.ec-home .ec-bill-sub { display: block; font-family: var(--ec-body); font-size: 0.875rem; color: var(--ec-muted); margin-top: 2px; }
.ec-home p.ec-bill-meta { font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ec-gold); font-weight: 600; white-space: nowrap; margin: 0; }
.ec-home p.ec-hist { color: var(--ec-ivory-dim); }
.ec-home p.ec-hist a { color: var(--ec-gold); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--ec-gold); }

.ec-home .ec-quote-block { border: 0; padding: 0; margin: 0 auto; max-width: 40ch; text-align: center; }
.ec-home .ec-quote-block p { font-family: var(--ec-display); font-style: italic; font-size: 1.875rem; line-height: 1.3; color: var(--ec-ivory); margin: 0; }
.ec-home .ec-quote-block cite { display: block; font-family: var(--ec-body); font-style: normal; font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ec-gold); margin-top: 18px; }


/* Datei-Blöcke (Mitgliederbereich): Zeile mit Name, Typ und Download-Knopf */
.wp-block-file {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 14px 18px; margin: 0 0 10px;
  border: 1px solid var(--ec-line); border-left: 3px solid var(--ec-bordeaux-2);
  background: var(--ec-ground-2);
}
.wp-block-file > a:first-child { font-family: var(--ec-body); font-weight: 600; color: var(--ec-ivory); text-decoration: none; flex: 1; }
.wp-block-file > a:first-child:hover { color: var(--ec-gold); }
.wp-block-file > a:first-child::after {
  display: inline-block; margin-left: 10px; padding: 2px 7px; border: 1px solid var(--ec-line); border-radius: 2px;
  font-size: 0.625rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ec-muted); font-weight: 600; vertical-align: middle;
}
.wp-block-file > a:first-child[href$=".pdf"]::after { content: "PDF"; }
.wp-block-file > a:first-child[href$=".xlsx"]::after, .wp-block-file > a:first-child[href$=".xls"]::after { content: "Excel"; }
.wp-block-file > a:first-child[href$=".docx"]::after, .wp-block-file > a:first-child[href$=".doc"]::after { content: "Word"; }
.wp-block-file .wp-block-file__button, .wp-block-file .wp-block-file__button:hover {
  color: var(--ec-ground) !important; background: var(--ec-gold); border-radius: 2px;
  padding: 8px 14px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.02em; margin-left: auto; text-decoration: none;
}
.wp-block-file .wp-block-file__button:hover { background: var(--ec-gold-2); }
.ec-doc-note { color: var(--ec-muted); font-size: 0.9375rem; margin: 0 0 18px; }
.entry-content h2 + .wp-block-file { margin-top: 14px; }

/* Premieren-Historie: Spielzeit links, Produktionen rechts */
.ec-history { border-top: 1px solid var(--ec-line); margin-top: 8px; }
.ec-history .ec-hist-row {
  display: grid; grid-template-columns: 150px 1fr; gap: 12px 32px; align-items: start;
  padding: 20px 0; margin: 0; border-bottom: 1px solid var(--ec-line);
}
.ec-history .ec-hist-season { font-family: var(--ec-display); font-size: 1.625rem; font-weight: 600; color: var(--ec-gold); line-height: 1.1; margin: 0; font-variant-numeric: tabular-nums; }
.ec-history .ec-hist-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ec-history .ec-hist-list li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: baseline; margin: 0; }
.ec-history .ec-hist-date { color: var(--ec-muted); font-size: 0.875rem; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.ec-history .ec-hist-title { color: var(--ec-ivory); font-size: 1.0625rem; }
.ec-history .ec-hist-loose { grid-column: 2; margin: 2px 0 0; color: var(--ec-muted); font-size: 0.8125rem; }
.ec-history .ec-hist-pause .ec-hist-title { color: var(--ec-muted); font-style: italic; }
.ec-history .ec-hist-pause .ec-hist-season { color: var(--ec-muted); }
@media (max-width: 640px) {
  .ec-history .ec-hist-row { grid-template-columns: 1fr; gap: 8px; }
  .ec-history .ec-hist-list li { grid-template-columns: 1fr; gap: 0; }
  .ec-history .ec-hist-loose { grid-column: 1; }
}

/* Feinschliff nach Live-Test */
.post-password-form { max-width: 520px; margin: 0 auto; }
.post-password-form p { color: var(--ec-ivory-dim); }
.post-password-form label { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ec-gold); font-weight: 600; }
.post-password-form input[type="password"] { background: var(--ec-ground-2); color: var(--ec-ivory); border: 1px solid var(--ec-line); border-radius: 2px; padding: 11px 14px; font-family: var(--ec-body); font-size: 1rem; min-width: 220px; }
.post-password-form input[type="password"]:focus { outline: none; border-color: var(--ec-gold); }
.post-password-form input[type="submit"] { background: var(--ec-gold); color: var(--ec-ground); border: 0; border-radius: 2px; padding: 12px 22px; font-family: var(--ec-body); font-weight: 600; font-size: 0.9375rem; cursor: pointer; }
.post-password-form input[type="submit"]:hover { background: var(--ec-gold-2); }
@media (max-width: 600px) { .ec-header .wp-block-site-title a { font-size: 1.15rem; } .ec-header .ec-tagline { font-size: 0.6rem; } }
.ec-home .ec-about h2.ec-h2 { margin-bottom: 18px; }
.ec-home .ec-quote-block, .ec-home .wp-block-quote { background: transparent; box-shadow: none; border-radius: 0; }
.ec-footer .wp-block-list a { color: var(--ec-ivory-dim); text-decoration: none; }
.ec-footer .wp-block-list a:hover { color: var(--ec-gold); }
@media (max-width: 781px) {
  .ec-home .ec-hero { padding-top: 56px !important; padding-bottom: 56px !important; }
  .ec-home .ec-hero-photo { margin-top: 32px; }
}

/* ------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------ */
.ec-footer { border-top: 1px solid var(--ec-line); color: var(--ec-ivory-dim); font-size: 0.9375rem; }
.ec-footer h4, .ec-footer .wp-block-heading {
  font-family: var(--ec-display); font-size: 1.25rem; font-weight: 600; color: var(--ec-ivory); margin: 0 0 12px;
}
.ec-footer .wp-block-navigation a { color: var(--ec-ivory-dim); text-decoration: none; }
.ec-footer .wp-block-navigation a:hover { color: var(--ec-gold); }
.ec-footer .ec-legal { border-top: 1px solid var(--ec-line); font-size: 0.8125rem; color: var(--ec-muted); }
.ec-footer .ec-legal a { color: var(--ec-muted); text-decoration: none; }
.ec-footer .ec-legal a:hover { color: var(--ec-gold); }

/* ------------------------------------------------------------------
   Unterseiten (Probenplan, Historie, Blog): lesbare Inhalte auf Dunkel
   ------------------------------------------------------------------ */
.entry-content table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--ec-line); padding: 10px 12px; text-align: left; }
.entry-content th { font-family: var(--ec-body); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ec-gold); }
.entry-content a:not(.wp-block-button__link) { color: var(--ec-gold); text-decoration-color: rgba(201, 167, 91, 0.5); }
.entry-content hr { border: 0; border-top: 1px solid var(--ec-line); }
.ngg-galleryoverview, .ngg-gallery-thumbnail img { border-radius: 3px; }

@media (prefers-reduced-motion: reduce) { .ec-tile, .elementor-button { transition: none !important; } }
