/* ==========================================
   EDITH ALLARY-NEUMANN
   Gestaltung der Startseite
   ========================================== */

/* Grundlayout */
.edith-home {
  max-width: 1400px;
  margin: 0 auto;
}

/* Großes historisches Titelbild */
.edith-hero {
  position: relative;
  overflow: hidden;
  background: #292929;
}

.edith-hero img {
  display: block;
  width: 100%;
  height: auto;
}

/* Sanfter dunkler Verlauf für die Schrift */
.edith-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(20, 18, 22, 0.75) 0%,
    rgba(20, 18, 22, 0.25) 48%,
    transparent 75%
  );
  pointer-events: none;
}

/* Name und Untertitel */
.edith-hero-text {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 6%;
  right: 6%;
  transform: translateY(-50%);
  color: #f7f3ec;
}

.edith-hero-text h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: normal;
  line-height: 1.15;
  color: #f7f3ec;
  margin: 0 0 1rem;
}

.edith-hero-text p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.8vw, 1.5rem);
  font-style: italic;
  color: #f7f3ec;
}

/* Biografische Einführung */
.edith-intro {
  max-width: 850px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}

.edith-intro h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: normal;
  color: #763e48;
  margin-bottom: 1.5rem;
}

.edith-intro p {
  font-size: 1.15rem;
  line-height: 1.8;
}

/* Anpassungen für Smartphones */
@media (max-width: 600px) {
  .edith-hero::after {
    background: rgba(20, 18, 22, 0.45);
  }

  .edith-hero-text h1 {
    font-size: clamp(1.3rem, 5vw, 2rem);
  }

  .edith-hero-text p {
    font-size: 0.9rem;
  }

  .edith-intro {
    padding: 2.5rem 1.25rem;
  }
}

/* =====================================
   EDITH – Eleganter Kopfbereich
   ===================================== */

/* Kopfbereich kompakter */
.container-header {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

/* Name der Website */
.container-header .navbar-brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: normal;
  line-height: 1.2;
}

/* Untertitel */
.container-header .site-description {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1rem;
  color: #d6c4a7;
}

/* Navigation */
.container-header .mod-menu {
  gap: 0.5rem;
}

.container-header .mod-menu a {
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.2s ease;
}

.container-header .mod-menu a:hover {
  color: #d6b77c;
}

/* Aktiver Menüpunkt */
.container-header .mod-menu .current > a,
.container-header .mod-menu .active > a {
  color: #e5c68e;
}

/* Smartphone */
@media (max-width: 768px) {
  .container-header .navbar-brand {
    font-size: 1.8rem;
  }
}

/* Dezente Beitragsinformationen */
.edith-home + .article-info,
.com-content-article .article-info {
  font-size: 0.75rem;
  color: #938b85;
  margin-top: 1.5rem;
}

.com-content-article .article-info * {
  font-size: inherit;
  color: inherit;
}

/* ==========================================
   EDITH ALLARY-NEUMANN
   Biografie und chronologischer Zeitstrahl
   ========================================== */

.edith-biografie {
  max-width: 1300px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

/* Kapitelüberschrift */

.edith-chapter-header {
  text-align: center;
  padding: 2rem 1rem 4rem;
}

.edith-chapter-label {
  display: block;
  color: #763e48;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.edith-chapter-header h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: normal;
  color: #763e48;
  margin-bottom: 0.75rem;
}

.edith-chapter-header p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-style: italic;
  color: #786858;
}

/* Durchgehende goldfarbene Zeitlinie */

.edith-timeline {
  position: relative;
}

.edith-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #c5a777;
  transform: translateX(-50%);
}

/* Einzelne Lebensstation */

.edith-station {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr)
                         minmax(0, 1fr);
  gap: 5rem;
  align-items: start;
  padding: 1rem 0 4rem;
}

/* Markierung auf dem Zeitstrahl */

.edith-station::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 1.4rem;
  width: 14px;
  height: 14px;
  border: 3px solid #f7f3ec;
  border-radius: 50%;
  background: #763e48;
  box-shadow: 0 0 0 1px #c5a777;
  transform: translateX(-50%);
  z-index: 1;
}

/* Jahreszahlen und Zeiträume */

.edith-year {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  color: #763e48;
  margin-bottom: 0.8rem;
}

/* Überschriften und Texte */

.edith-station h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  font-weight: normal;
  line-height: 1.3;
  color: #292929;
  margin-bottom: 1.25rem;
}

.edith-station p {
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1rem;
}

/* Wechselnde Anordnung */

.edith-station:nth-child(even)
.edith-station-content {
  grid-column: 2;
  grid-row: 1;
}

.edith-station:nth-child(even)
.edith-station-photo {
  grid-column: 1;
  grid-row: 1;
}

/* Historische Fotografien */

.edith-station-photo {
  margin: 0;
}

.edith-station-photo img {
  display: block;
  width: 100%;
  height: auto;
  padding: 6px;
  background: #fffdf8;
  box-shadow: 0 3px 12px rgba(0,0,0,0.12);
}

.edith-station-photo figcaption {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.85rem;
  font-style: italic;
  color: #786858;
  text-align: center;
  padding: 0.8rem 0;
}

/* Tablets und Smartphones */

@media (max-width: 800px) {

  .edith-biografie {
    padding: 1rem 0.5rem 2rem;
  }

  .edith-chapter-header {
    padding: 1.5rem 0 2.5rem;
  }

  .edith-timeline::before {
    left: 10px;
  }

  .edith-station {
    display: block;
    padding: 0 0 2.5rem 2.2rem;
  }

  .edith-station::before {
    left: 10px;
    top: 0.5rem;
  }

  .edith-station h2 {
    font-size: 1.5rem;
  }

  .edith-year {
    font-size: 1.3rem;
  }

  .edith-station-photo {
    margin-top: 1.5rem;
  }

}
/* ==========================================
   EDITH ALLARY-NEUMANN
   Masonry-Galerie
   ========================================== */

.edith-archiv {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

/* Einleitung */

.edith-archiv-intro {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Masonry-Galerie */

.edith-gallery {
  column-count: 3;
  column-gap: 1.8rem;
}

.edith-gallery figure {
  display: inline-block;
  width: 100%;
  margin: 0 0 1.8rem;
  break-inside: avoid;
  box-sizing: border-box;
  padding: 8px;
  background: #fffdf8;
  box-shadow: 0 3px 12px rgba(0,0,0,0.10);
}

.edith-gallery a {
  display: block;
  overflow: hidden;
  cursor: zoom-in;
}

.edith-gallery img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.35s ease;
}

.edith-gallery a:hover img {
  transform: scale(1.025);
}

.edith-gallery figcaption {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #786858;
  text-align: center;
  padding: 0.8rem 0.5rem 0.4rem;
}

/* Thematische Abschnitte */

.edith-archiv h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: normal;
  color: #763e48;
  border-bottom: 1px solid #c5a777;
  padding-bottom: 0.8rem;
  margin: 3rem 0 2rem;
}

/* Tablet */

@media (max-width: 1000px) {
  .edith-gallery {
    column-count: 2;
    column-gap: 1.2rem;
  }
}

/* Smartphone */

@media (max-width: 600px) {
  .edith-gallery {
    column-count: 1;
  }

  .edith-archiv {
    padding: 1rem 0.5rem 2rem;
  }

  .edith-gallery figure {
    margin-bottom: 1.2rem;
  }
}
/* ==========================================
   EDITH ALLARY-NEUMANN
   Das Leben heute
   ========================================== */

.edith-leben {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

/* Erzählerische Abschnitte */

.edith-leben-abschnitt {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr)
                         minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: 3.5rem 0;
  border-top: 1px solid #d8c8af;
}

/* Wechselnde Anordnung von Text und Bild */

.edith-leben-abschnitt:nth-of-type(even)
.edith-leben-text {
  grid-column: 2;
  grid-row: 1;
}

.edith-leben-abschnitt:nth-of-type(even)
.edith-leben-bilder {
  grid-column: 1;
  grid-row: 1;
}

/* Abschnitte ohne Fotografien */

.edith-leben-text:only-child {
  grid-column: 1 / -1 !important;
  max-width: 850px;
  width: 100%;
  margin: 0 auto;
}

/* Überschriften */

.edith-leben-text h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: normal;
  line-height: 1.3;
  color: #763e48;
  margin: 0 0 1.5rem;
}

/* Fließtext */

.edith-leben-text p {
  font-size: 1.1rem;
  line-height: 1.85;
  margin-bottom: 1.2rem;
}

.edith-leben-text p:last-child {
  margin-bottom: 0;
}

/* Fotografien */

.edith-leben-bilder {
  display: grid;
  gap: 1.5rem;
}

.edith-leben-bilder figure {
  margin: 0;
}

.edith-leben-bilder img {
  display: block;
  width: 100%;
  height: auto;
  box-sizing: border-box;
  padding: 6px;
  background: #fffdf8;
  box-shadow: 0 3px 12px rgba(0,0,0,0.12);
}

.edith-leben-bilder figcaption {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9rem;
  font-style: italic;
  color: #786858;
  text-align: center;
  padding: 0.8rem 0;
}

/* Smartphones und Tablets */

@media (max-width: 800px) {

  .edith-leben {
    padding: 1rem 0.5rem 2rem;
  }

  .edith-leben-abschnitt {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
    padding: 2.5rem 0;
  }

  .edith-leben-text p {
    font-size: 1.05rem;
    line-height: 1.75;
  }

  .edith-leben-bilder {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
  }

}
/* =========================================
   Footer – Edith Allary-Neumann
   ========================================= */

.container-footer {
    background: #383139;
    background-image: none;
    color: #f7f3ec;
    border-top: 2px solid #c5a777;
    margin-top: 3rem;
}

.container-footer .grid-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    gap: 1rem;
}

/* Footer-Menü */

.edith-footer-menu {
    width: 100%;
    text-align: center;
}

.edith-footer-menu ul,
ul.edith-footer-menu {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.edith-footer-menu a {
    color: #f7f3ec !important;
    font-size: 0.9rem;
    font-weight: normal;
    text-decoration: none;
    transition: color 0.2s ease;
}

.edith-footer-menu a:hover,
.edith-footer-menu a:focus-visible {
    color: #c5a777 !important;
    text-decoration: underline;
}

/* Mobile Darstellung */

@media (max-width: 600px) {
    .container-footer {
        margin-top: 2rem;
    }

    .container-footer .grid-child {
        padding: 1.5rem 1rem;
    }
}
/* =========================================
   Edith Allary – Bildergalerie Lightbox
   ========================================= */

body.edith-lightbox-open {
    overflow: hidden;
}

.edith-lightbox:not([open]) {
    display: none;
}

.edith-lightbox[open] {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 3rem 4.5rem;
    border: 0;
    background: transparent;
    color: #f7f3ec;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.edith-lightbox::backdrop {
    background: rgba(25, 21, 25, 0.96);
}

.edith-lb-figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
    min-height: 0;
}

.edith-lb-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 78vh;
    max-height: 78dvh;
    min-height: 0;
    object-fit: contain;
    border: 3px solid #c5a777;
    box-sizing: border-box;
    box-shadow: 0 5px 35px rgba(0,0,0,.45);
}

.edith-lb-caption {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.4;
    text-align: center;
    color: #f7f3ec;
    padding: 1rem 0 .4rem;
}

.edith-lb-counter {
    color: #c5a777;
    font-size: .85rem;
    letter-spacing: .12em;
    text-align: center;
}

.edith-lightbox button {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(197,167,119,.45);
    border-radius: 50%;
    background: rgba(56,49,57,.8);
    color: #c5a777;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    transition: background .2s, color .2s;
}

.edith-lightbox button[hidden] {
    display: none;
}

.edith-lightbox button:hover {
    background: #763e48;
    color: #fffdf8;
}

.edith-lightbox button:focus-visible {
    outline: 2px solid #c5a777;
    outline-offset: 4px;
}

.edith-lightbox .edith-lb-close {
    top: 1rem;
    right: 1.25rem;
    font-size: 2rem;
}

.edith-lb-prev {
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
}

.edith-lb-next {
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
}

/* Smartphone und kleine Bildschirme */

@media (max-width: 600px) {

    .edith-lightbox[open] {
        padding: 3.5rem .75rem 5rem;
    }

    .edith-lb-image {
        max-height: 65vh;
        max-height: 65dvh;
        border-width: 2px;
    }

    .edith-lb-caption {
        font-size: .95rem;
        padding-top: .75rem;
    }

    .edith-lightbox button {
        width: 42px;
        height: 42px;
    }

    .edith-lightbox .edith-lb-close {
        top: .75rem;
        right: .75rem;
    }

    .edith-lb-prev {
        top: auto;
        bottom: 1rem;
        left: calc(50% - 60px);
        transform: none;
    }

    .edith-lb-next {
        top: auto;
        bottom: 1rem;
        right: calc(50% - 60px);
        transform: none;
    }
}

