/* MAKE ME RUN – INGAME ZEITUNG | nach root.css laden */
:root {
  --igz-bg: #17191a;
  --igz-panel: #202122;
  --igz-panel-alt: #252627;
  --igz-panel-deep: #1b1c1d;
  --igz-border: #303233;
  --igz-head: #e7e6e3;
  --igz-text: #a5a6a6;
  --igz-muted: #777b7d;
  --igz-accent: var(--hunt-header-accent, #69b3c5);
  --igz-accent-hover: var(--hunt-header-link-hover, #addde8);
}

.igzeitung-overview, .igzeitung-write, .igz-archive {
  color: var(--igz-text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.7;
  box-sizing: border-box;
}
.igzeitung-overview *, .igzeitung-write *, .igz-archive * { box-sizing: border-box; }
.igzeitung-overview { width: 100%; background: var(--igz-bg); padding: 24px; }
.igzeitung-overview a, .igzeitung-write a, .igz-archive a { color: var(--igz-accent); text-decoration: none; transition: color .18s ease; }
.igzeitung-overview a:hover, .igzeitung-write a:hover, .igz-archive a:hover { color: var(--igz-accent-hover); text-decoration:underline; }

/* Intro + kleine redaktionelle Metazeile */
.igz-masthead { padding: 4px 0 23px; border-bottom: 1px solid var(--igz-border); margin-bottom: 19px; }
.igz-eyebrow, .igz-section-kicker { display: block; color: var(--igz-accent); font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.igz-masthead h1 { color: var(--igz-head); font-family: Georgia, 'Times New Roman', serif; font-weight: 700; letter-spacing: -.8px; font-size: clamp(29px, 5vw, 42px); line-height: 1.08; margin: 7px 0 9px; border: 0; padding: 0; }
.igz-intro { color: var(--igz-muted); margin: 0; max-width: 650px; }

/* Navigation */
.igz-menu { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin: 0 0 30px; padding: 0; background: none; text-align: left; font-size: 10px; }
.igz-menu a { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--igz-border); background: var(--igz-panel); color: #b9babb; padding: 9px 13px; margin: 0; text-transform: uppercase; font-weight: 700; letter-spacing: 1px; text-decoration: none; transition: background .2s, border-color .2s, color .2s; }
.igz-menu a:hover { color: var(--igz-accent-hover);}
.igz-menu a.igz-primary { color: var(--igz-accent); }
.igz-menu a .igz-arrow { font-size: 14px; line-height: 1; font-weight: 400; }

/* Sektionen */
.igz-section { margin-bottom: 27px; }
.igz-section-heading { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--igz-border); padding-bottom: 12px; margin-bottom: 14px; }
.igz-section-heading h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 25px; letter-spacing: -.5px; font-weight: 700; line-height: 1.12; color: var(--igz-head); padding: 0; border: none; margin: 4px 0 0; text-align: left; }
.igz-section-note { color: var(--igz-muted); font-size: 10px; }

/* Zeitungen – Bildkarten; vorhandene PHP-Klassen weiterverwenden */
.igz-current-newspapers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 195px), 1fr)); gap: 12px; margin: 0; padding: 0; justify-content: stretch; }
.igz-newspaper { position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 138px; padding: 18px; margin: 0; border: 1px solid var(--igz-border); background: var(--igz-panel); text-align: center; transition: border-color .2s, background .2s, transform .2s; }
.igz-newspaper:hover { border-color: #4b6269; background: var(--igz-panel-alt); transform: translateY(-2px); }
.igz-newspaper a { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 95px; color: var(--igz-head); }
.igz-newspaper a:hover { color: var(--igz-accent-hover); }
.igz-logo { max-width: 100%; width: auto; height: auto; max-height: 125px; object-fit: contain; filter: grayscale(100%); opacity: .88; transition: filter .25s, opacity .25s; }
.igz-newspaper:hover .igz-logo { filter: grayscale(35%); opacity: 1; }

/* Letzte Einreichungen */
.igz-latest-articles { list-style: none !important; padding: 0 !important; margin: 0 !important; text-align: left; background: var(--igz-panel-deep); border: 1px solid var(--igz-border); }
.igz-latest-articles li { display: block !important; padding: 13px 17px !important; margin: 0 !important; background: transparent !important; border-bottom: 1px solid var(--igz-border); line-height: 1.8; color: var(--igz-muted); transition: background .2s; }
.igz-latest-articles li:last-child { border-bottom: 0; }
.igz-latest-articles li:hover { background: var(--igz-panel-alt) !important; }
.igz-latest-articles li::before { content: '◇'; color: var(--igz-accent); margin-right: 10px; font-size: 12px; }
.igz-latest-articles li strong { color: var(--igz-head); font-size: 13px; font-weight: 700; }
.igz-latest-articles li strong a { color: var(--igz-head); }
.igz-latest-articles li strong a:hover { color: var(--igz-accent-hover); }

/* Statistik */
.igz-stats { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.igz-stat { background: var(--igz-panel); border: 1px solid var(--igz-border); padding: 17px 18px; min-width: 0; }
.igz-stat-label { display: block; margin-bottom: 10px; color: var(--igz-muted); font-size: 9px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.igz-stat-value { display: block; color: var(--igz-head); font-family: Georgia, 'Times New Roman', serif; font-size: 20px; line-height: 1.25; overflow-wrap: anywhere; }
.igz-stat-sub { color: var(--igz-accent); font: 11px/1.7 Arial, sans-serif; }

/* Formular auf anderen Zeitungsseiten */
.igzeitung-write { background: var(--igz-bg); margin: 0 auto; padding: 22px; border: 1px solid var(--igz-border); border-radius: 0; box-shadow: none; }
.igzeitung-write h1 { font-family: Georgia, 'Times New Roman', serif; color: var(--igz-head); font-size: 27px; margin: 0 0 20px; padding-bottom: 12px; border-bottom: 1px solid var(--igz-border); }
.igzeitung-write form p { margin: 0 0 17px; }
.igzeitung-write label { display: block; font-size: 10px; color: var(--igz-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 7px; }
.igzeitung-write input[type="text"], .igzeitung-write input[type="date"], .igzeitung-write input[type="datetime-local"], .igzeitung-write input[type="number"], .igzeitung-write select, .igzeitung-write textarea { width: 100%; min-width: 0; color: var(--igz-head); background: var(--igz-panel-deep); border: 1px solid var(--igz-border); padding: 11px 12px; border-radius: 0; font: 12px/1.6 Arial, sans-serif; outline: none; }
.igzeitung-write textarea { min-height: 180px; resize: vertical; }
.igzeitung-write input:focus, .igzeitung-write textarea:focus, .igzeitung-write select:focus { border-color: var(--igz-accent); }
.igzeitung-write input[type="file"] { display: block; max-width: 100%; color: var(--igz-text); }
.igzeitung-write button, .igzeitung-write input[type="submit"] { appearance: none; background: var(--igz-panel-alt); border: 1px solid #45636b; color: var(--igz-accent); padding: 10px 17px; cursor: pointer; border-radius: 0; font: 700 10px/1.4 Arial, sans-serif; letter-spacing: 1px; text-transform: uppercase; transition: background .2s, color .2s; }
.igzeitung-write button:hover, .igzeitung-write input[type="submit"]:hover { background: #303638; color: var(--igz-accent-hover); }
.igzeitung-write .errors { background: #3a2225; color: #edacac; border: 1px solid #6a363d; padding: 12px 16px; border-radius: 0; margin-bottom: 16px; }
.igzeitung-write pre { white-space: pre-wrap; overflow-wrap: anywhere; padding: 15px; background: var(--igz-panel-deep); color: #a9acac; border: 1px solid var(--igz-border); }

/* Zeitungsfotos */
.tpimage { display: block; max-width: 100%; height: auto; padding: 12px 0 20px; margin: 0 auto; }
.igz-archive a:hover { color: var(--igz-accent-hover); letter-spacing: normal; transition: color .2s; }

@media (max-width: 620px) {
  .igzeitung-overview { padding: 16px; }
  .igz-menu { justify-content: stretch; }
  .igz-menu a { flex: 1; justify-content: center; }
  .igz-stats { grid-template-columns: 1fr; }
  .igz-current-newspapers { grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px),1fr)); }
  .igz-newspaper { min-height: 115px; }
  .igz-section-heading h2 { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  .igzeitung-overview *, .igzeitung-write * { transition: none !important; transform: none !important; }
}
