/* ==========================================================================
   WWII Online Geschichte – TacticalWiki archive layout
   ========================================================================== */
.tacticalwiki-underpage.page-slug-wwiionline-geschichte .cms-subpage-content{
  /* Use the same content gutter as every TacticalWiki underpage. */
  padding:var(--tw2-pad,24px)!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.history-layout{
  display:grid;
  grid-template-columns:300px minmax(0,1fr);
  gap:18px;
  align-items:start;
}
.history-infobox,
.history-article,
.history-section,
.history-tech-card{
  background:#fff;
  border:1px solid #D8D2C4;
  border-radius:8px;
  box-shadow:0 6px 18px rgba(0,0,0,.05);
}
.history-infobox{
  position:sticky;
  top:88px;
  min-height:620px;
  padding:24px;
  border-top:4px solid #1F4E79;
  display:flex;
  align-items:stretch;
  justify-content:center;
  text-align:left;
}
.history-infobox__inner{
  width:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.history-infobox__title{
  margin-bottom:14px;
  padding-bottom:8px;
  border-bottom:1px solid #E2DCCE;
  color:#BD9232;
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.history-infobox dl{display:grid;gap:0;margin:0}
.history-infobox dl div{
  display:grid;
  grid-template-columns:1fr;
  gap:3px;
  padding:10px 0;
  border-bottom:1px solid #EEE9DE;
  text-align:left;
}
.history-infobox dt{
  color:#777;
  font-size:9.5px;
  font-weight:800;
  letter-spacing:.045em;
  text-transform:uppercase;
  text-align:left;
}
.history-infobox dd{
  margin:0;
  color:#111;
  font-size:11.5px;
  font-weight:700;
  line-height:1.45;
  text-align:left;
}
.history-article{overflow:hidden;background:#F7F4ED}
.history-section{
  margin:18px;
  padding:24px;
  box-shadow:none;
}
.history-section:first-child{margin-top:18px}
.history-section h2{
  margin:0 0 16px!important;
  padding:0 0 9px 14px!important;
  border-left:4px solid #1F4E79!important;
  border-bottom:1px solid #D8D2C4!important;
  color:#111!important;
  font-size:21px!important;
}
.history-section h3{color:#111!important}
.history-section p{color:#222!important;line-height:1.72!important}

.history-timeline{
  position:relative;
  display:grid;
  gap:16px;
  margin-top:18px;
  padding-left:26px;
}
.history-timeline::before{
  content:"";
  position:absolute;
  left:7px;
  top:6px;
  bottom:6px;
  width:2px;
  background:#1F4E79;
}
.history-timeline-item{
  position:relative;
  padding:18px 20px;
  background:#fff;
  border:1px solid #D8D2C4;
  border-radius:8px;
}
.history-timeline-item::before{
  content:"";
  position:absolute;
  left:-25px;
  top:22px;
  width:10px;
  height:10px;
  border-radius:50%;
  background:#BD9232;
  box-shadow:0 0 0 4px #EDE8DC;
}
.history-timeline-date{
  color:#BD9232!important;
  font-size:11px;
  font-weight:900;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.history-timeline-title{
  margin:5px 0 7px;
  color:#111;
  font-size:18px;
  font-weight:800;
}
.history-tech-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.history-tech-card{padding:18px;box-shadow:none}
.history-tech-card h3{
  margin:0 0 8px!important;
  color:#1F4E79!important;
  font-size:15px!important;
}
.history-tech-card p{margin:0!important;font-size:13px!important;color:#333!important}

.page-slug-wwiionline-geschichte *,
.page-slug-wwiionline-geschichte *::before,
.page-slug-wwiionline-geschichte *::after{
  transition:none!important;
}
.page-slug-wwiionline-geschichte *:hover{
  transform:none!important;
  translate:none!important;
  scale:1!important;
  filter:none!important;
}

@media(max-width:900px){
  .history-layout{grid-template-columns:1fr}
  .history-infobox{position:static}
  .history-tech-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
  .history-tech-grid{grid-template-columns:1fr}
  .history-section{margin:12px;padding:18px}
  .history-infobox dl div{grid-template-columns:1fr;text-align:left}
  .history-infobox dd{text-align:left}
}


/* ==========================================================================
   History expansion · Ownership, current team and 2026 status
   ========================================================================== */
.history-section-label{
  margin:0 0 7px !important;
  color:#BD9232 !important;
  font-size:10px !important;
  font-weight:900 !important;
  letter-spacing:.085em !important;
  text-transform:uppercase !important;
}

.history-lead-section > p:not(.history-section-label){
  font-size:14px !important;
}

.history-ownership-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.history-fact-card{
  padding:18px;
  background:#fff;
  border:1px solid #D8D2C4;
  border-radius:8px;
}
.history-fact-card > span,
.history-current-card > span{
  display:block;
  margin-bottom:6px;
  color:#BD9232 !important;
  font-size:9px;
  font-weight:900;
  letter-spacing:.075em;
  text-transform:uppercase;
}
.history-fact-card > strong{
  display:block;
  margin-bottom:8px;
  color:#111;
  font-size:17px;
}
.history-fact-card p{
  margin:0 !important;
  font-size:12.5px !important;
  color:#444 !important;
}

.history-callout{
  margin-top:14px;
  padding:16px 18px;
  border-left:4px solid #BD9232;
  background:#F4F0E6;
  border-radius:0 7px 7px 0;
}
.history-callout strong{display:block;margin-bottom:4px;color:#111}
.history-callout p{margin:0!important;font-size:12.5px!important}

.history-timeline-item--critical{
  border-left:4px solid #9B3A34;
}
.history-timeline-item--ownership{
  border-left:4px solid #1F4E79;
}
.history-timeline-item--current{
  border-left:4px solid #27AE60;
}

.history-team-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin-top:16px;
}
.history-team-grid--compact{
  grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);
}
.history-team-card,
.history-current-card{
  padding:19px;
  background:#fff;
  border:1px solid #D8D2C4;
  border-radius:8px;
}
.history-team-card h3,
.history-current-card h3{
  margin:0 0 11px !important;
  padding-bottom:7px;
  border-bottom:1px solid #E2DCCE;
  color:#1F4E79 !important;
  font-size:14px !important;
}
.history-team-card ul{
  display:grid;
  gap:0;
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
}
.history-team-card li{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(120px,.85fr);
  gap:12px;
  padding:7px 0;
  border-bottom:1px solid #EEE9DE;
  font-size:11.5px !important;
}
.history-team-card li:last-child{border-bottom:0}
.history-team-card li strong{font-weight:700;color:#111}
.history-team-card li span{color:#666;text-align:right}
.history-current-card{
  background:#F7F4ED;
  border-left:4px solid #27AE60;
}
.history-current-card p{
  font-size:12.5px !important;
  color:#333 !important;
}

.history-legacy-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.history-legacy-grid article{
  padding:18px;
  background:#fff;
  border:1px solid #D8D2C4;
  border-radius:8px;
}
.history-legacy-grid strong{
  display:block;
  margin-bottom:5px;
  color:#1F4E79;
  font-size:14px;
}
.history-legacy-grid span{
  color:#444;
  font-size:12.5px;
  line-height:1.55;
}

.history-sources ul{
  margin:12px 0 0;
  padding-left:20px;
}
.history-sources li{
  margin:7px 0;
  color:#333;
}
.history-sources a{
  color:#1F4E79 !important;
  text-decoration:underline;
  text-underline-offset:2px;
}
.history-source-note{
  margin-top:14px !important;
  padding:11px 13px;
  background:#F4F0E6;
  border-left:3px solid #BD9232;
  color:#555 !important;
  font-size:11.5px !important;
}

@media(max-width:1000px){
  .history-ownership-grid{grid-template-columns:1fr}
  .history-team-grid,
  .history-team-grid--compact{grid-template-columns:1fr}
}
@media(max-width:900px){
  .history-infobox{
    min-height:0;
    justify-content:flex-start;
  }
  .history-infobox__inner{justify-content:flex-start}
}
@media(max-width:620px){
  .history-team-card li{
    grid-template-columns:1fr;
    gap:2px;
  }
  .history-team-card li span{text-align:left}
  .history-legacy-grid{grid-template-columns:1fr}
}

/* ========================================================================== 
   v1.13.21 – Projekt-Metadaten: Überdeckung endgültig verhindern
   ========================================================================== */
.page-slug-wwiionline-geschichte .history-infobox{display:flex!important;align-items:center!important;justify-content:flex-start!important;min-width:0!important;overflow:hidden!important}
.page-slug-wwiionline-geschichte .history-infobox__inner{position:static!important;inset:auto!important;display:block!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;transform:none!important}
.page-slug-wwiionline-geschichte .history-infobox__title{position:static!important;inset:auto!important;display:block!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0 0 14px!important;padding:0 0 8px!important;background:transparent!important;border:0!important;border-bottom:1px solid #E2DCCE!important;border-radius:0!important;box-shadow:none!important;color:#BD9232!important;text-align:left!important;white-space:normal!important}
.page-slug-wwiionline-geschichte .history-infobox dl{position:static!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.page-slug-wwiionline-geschichte .history-infobox dl>div{position:static!important;display:block!important;width:100%!important;min-width:0!important;margin:0!important;padding:10px 0!important;background:transparent!important;border:0!important;border-bottom:1px solid #EEE9DE!important;border-radius:0!important;box-shadow:none!important;text-align:left!important}
.page-slug-wwiionline-geschichte .history-infobox dt,.page-slug-wwiionline-geschichte .history-infobox dd{position:static!important;width:100%!important;max-width:100%!important;margin:0!important;text-align:left!important;overflow-wrap:anywhere!important}.page-slug-wwiionline-geschichte .history-infobox dd{margin-top:4px!important}
@media(max-width:900px){.page-slug-wwiionline-geschichte .history-infobox{align-items:flex-start!important}}
