/* Futur II / Mycon – Artikel Layout (nach Vorlage) */

:root{
  --bg: #373737;
  --panel: #828282;
  --panel2: 373737;
  --fg: #f2f2f2;
  --muted: rgba(242,242,242,.72);
  --muted2: rgba(242,242,242,.55);
  --line: rgba(242,242,242,.12);

  --maxw: 820px;

  /* Serif für Fließtext + Titel (Garamond-ähnlicher Stack) */
  --serif: "Adobe Garamond Pro", "EB Garamond", "Garamond", "Cormorant Garamond",
           "Times New Roman", Times, serif;

  /* Sans für UI/Captions */
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", sans-serif;
}

/* Seite */
body.mycon-article{
  background: var(--bg);
  color: var(--fg);
}

/* Header / Footer "Archivmodus" */
.archivbar{
  text-align: center;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted2);
  padding: 16px 12px;
  border-bottom: 1px solid var(--line);
  background: #000000;
}

.archivbar.footer{
  border-top: 1px solid var(--line);
  border-bottom: none;
  margin-top: 40px;
}

/* Titelbild randabfallend */
.hero{
  margin: 0;
  padding: 0;
}

.hero img.fullbleed,
.figure-fullbleed img.fullbleed{
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
}

/* Caption: klein, sans, unaufdringlich */
.caption{
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted2);
  padding: 10px 18px 0;
}

/* Hauptblock */
.article{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 18px 0;
}

/* Titel / Lead / Autor */
.kicker{
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted2);
  margin: 18px 0 8px;
}

h1.title{
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.04;
  margin: 0 0 12px;
}

.lead{
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 14px;
}

.meta{
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted2);
  margin: 0 0 18px;
}

/* Audio-Panel */
.audio-panel{
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 14px 10px;
  margin: 18px 0 26px;
}

.audio-label{
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 8px;
}

.audio-panel audio{
  width: 100%;
}

/* Fließtext */
.content{
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.72;
  color: var(--fg);
  
  
}

.content p{
  margin: 0 0 16px;
}

.content h2{
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.2;
  margin: 28px 0 12px;
}

.hr{
  border: none;
  border-top: 1px solid var(--line);
  margin: 26px 0;
}

/* Inline-Figure im Artikel (mit Bild in Spalte) */
.figure{
  margin: 22px 0;
}

.figure .frame{
  background: transparent;
  border-radius: 8px;
  overflow: hidden;
}

.figure img{
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
}

/* Lightbox Overlay */
.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  display: none;
  z-index: 9999;
}

.lightbox.is-open{
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.lightbox-top{
  display: flex;
  justify-content: flex-end;
  padding: 14px 14px 0;
}

.lightbox-close{
  font-family: var(--sans);
  font-size: 13px;
  color: var(--fg);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
}

.lightbox-close:hover{
  background: rgba(255,255,255,.12);
}

.lightbox-mid{
  display: grid;
  place-items: center;
  padding: 8px 18px;
}

.lightbox-mid img{
  max-width: min(1100px, 94vw);
  max-height: 78vh;
  width: auto;
  height: auto;
  display: block;
}

.lightbox-cap{
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
  padding: 0 18px 18px;
  text-align: center;
}

/* Mobile: etwas mehr Luft */
@media (max-width: 520px){
  .caption{ padding-left: 14px; padding-right: 14px; }
  .article{ padding-left: 14px; padding-right: 14px; }
  .content{ font-size: 17px; }
}
