/* V84.2 – klare redaktionelle Bildhierarchie */
.gallery-section[hidden], .report-media[hidden]{display:none!important}

/* Matchcenter: Spielplan – Ergebnis – Tabelle */
.match-overview-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,.92fr) minmax(0,1fr)!important;
  gap:20px!important;
  align-items:stretch!important;
}
.match-overview-card{
  height:440px!important;
  min-height:0!important;
  border-radius:24px!important;
}
.match-overview-result-card{
  position:relative;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  padding:24px;
  border:1px solid rgba(255,255,255,.12)!important;
  color:#fff;
  background:
    radial-gradient(circle at 100% 0,rgba(200,241,90,.20),transparent 36%),
    linear-gradient(145deg,#062c1d 0%,#034f31 58%,#087344 100%)!important;
  box-shadow:0 18px 46px rgba(3,48,29,.22)!important;
}
.match-overview-result-card:before{
  content:"";
  position:absolute;
  inset:auto -42px -78px auto;
  width:230px;
  height:230px;
  border:44px solid rgba(255,255,255,.045);
  border-radius:50%;
  pointer-events:none;
}
.result-card__top{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  color:#c8f15a;
  font-size:.72rem;
  font-weight:950;
  letter-spacing:.11em;
}
.result-card__top strong{
  padding:6px 10px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px;
  color:#fff;
  font-size:.68rem;
}
.result-card__competition{
  position:relative;
  z-index:1;
  margin-top:18px;
  color:#a9c6b7;
  font-size:.75rem;
  font-weight:850;
  letter-spacing:.08em;
}
.result-card__teams{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;
  gap:14px;
  margin:23px 0 18px;
}
.result-card__club{
  display:flex;
  min-width:0;
  flex-direction:column;
  align-items:center;
  gap:11px;
  text-align:center;
}
.result-card__club strong{
  max-width:135px;
  font-size:.78rem;
  line-height:1.25;
  letter-spacing:.02em;
}
.result-card__crest{
  display:flex;
  align-items:center;
  justify-content:center;
  width:66px;
  height:66px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:19px;
  background:rgba(255,255,255,.10);
  color:#fff;
  font-size:1rem;
  font-weight:950;
  letter-spacing:.06em;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10);
}
.result-card__crest--fortuna{background:#fff}
.result-card__crest img{display:block;width:54px;height:54px;object-fit:contain}
.result-card__score{text-align:center}
.result-card__score small{display:block;color:#a9c6b7;font-size:.58rem;font-weight:900;letter-spacing:.10em}
.result-card__score b{display:block;margin-top:6px;color:#c8f15a;font-size:clamp(2.2rem,3.1vw,3.2rem);line-height:1;font-weight:950;white-space:nowrap}
.result-card__facts{
  position:relative;
  z-index:1;
  display:grid;
  gap:5px;
  padding:13px 15px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:14px;
  background:rgba(0,20,12,.20);
  color:#dce9e2;
  font-size:.72rem;
  font-weight:750;
  text-align:center;
}
.result-card__facts span:last-child{color:#fff}
.result-card__link{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:auto;
  padding-top:18px;
  color:#fff;
  font-size:.82rem;
  font-weight:950;
  text-decoration:none;
}
.result-card__link span{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#c8f15a;color:#073a25}

/* Spielbericht: Text führt, Bild begleitet */
.match-report-section--editorial{
  padding:72px 0!important;
  background:linear-gradient(180deg,#f3f7f4 0%,#edf3ef 100%)!important;
}
.match-story-card{
  display:grid!important;
  grid-template-columns:minmax(0,1.35fr) minmax(360px,.82fr)!important;
  gap:0!important;
  overflow:hidden;
  border:1px solid #d8e4dc;
  border-radius:26px;
  background:#fff;
  box-shadow:0 20px 52px rgba(3,39,23,.10);
}
.match-story-card__copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
  padding:clamp(30px,4vw,54px);
}
.match-story-card__copy>h3{
  margin:12px 0 20px!important;
  max-width:760px;
  color:#062719;
  font-size:clamp(2rem,3.15vw,3.45rem)!important;
  line-height:1.02!important;
  letter-spacing:-.045em;
}
.match-story-card__body{max-width:760px;color:#29493b;font-size:1rem;line-height:1.72}
.match-story-card__body p{margin:0 0 14px}
.match-story-card__body p:last-child{margin-bottom:0}
.match-report-full__actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:25px}
.match-story-card__visual{
  display:flex;
  min-width:0;
  flex-direction:column;
  border-left:1px solid #dce6df;
  background:#062d1e;
}
.match-story-card__image{
  margin:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:#061e15!important;
}
.match-story-card__image img{
  display:block;
  width:100%!important;
  height:auto!important;
  aspect-ratio:16/9!important;
  object-fit:cover!important;
  object-position:center center;
}
.match-story-card__image figcaption{
  padding:9px 14px!important;
  background:#0a3b27!important;
  color:#d2e1d8!important;
  font-size:.72rem!important;
}
.match-story-card .match-report-scorecard{
  display:flex!important;
  flex:1;
  flex-direction:column;
  justify-content:center;
  min-width:0;
  padding:26px!important;
  border:0!important;
  border-radius:0!important;
  background:linear-gradient(150deg,#063522,#075a36)!important;
  color:#fff!important;
}
.match-story-card .match-report-scorecard>span{color:#c8f15a!important;font-size:.68rem!important;letter-spacing:.10em!important}
.match-story-card .match-report-score{display:grid!important;grid-template-columns:1fr!important;gap:7px!important;margin:13px 0 15px!important;text-align:left!important}
.match-story-card .match-report-score strong{font-size:.78rem!important;line-height:1.25!important}
.match-story-card .match-report-score b{order:-1;color:#c8f15a!important;font-size:2.55rem!important;line-height:1!important}
.match-story-card #report-events{margin:0!important;padding:13px 0 0!important;border-top:1px solid rgba(255,255,255,.15)!important;color:#e5eee9!important}
.match-story-card #report-events li{font-size:.78rem!important}

/* Galerie: eigenes visuelles Kapitel und anderes Startbild */
.gallery-section{padding:78px 0!important;background:#fff!important}
.gallery-heading{align-items:flex-end!important}
.gallery-heading__lead{max-width:640px;margin:12px 0 0;color:#60766b;font-size:.94rem;line-height:1.55}
.gallery-source-links{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px 16px}
.gallery-source-links .text-link{white-space:nowrap}
.match-gallery{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  overflow:hidden;
  border:1px solid #173c2c!important;
  border-radius:24px!important;
  background:#071c13!important;
  box-shadow:0 24px 58px rgba(3,35,20,.16)!important;
}
.match-gallery__main{
  grid-column:1/-1!important;
  position:relative!important;
  width:100%;
  aspect-ratio:16/9!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  background:#071c13!important;
}
.match-gallery__main>img,#match-gallery-main{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center center;
  background:#071c13;
  user-select:none;
  touch-action:pan-y;
}
.match-gallery__shade{background:linear-gradient(0deg,rgba(0,18,11,.78),transparent 42%)!important;pointer-events:none}
.match-gallery__rail{
  grid-column:1/-1!important;
  display:grid!important;
  grid-template-columns:repeat(8,minmax(88px,1fr))!important;
  grid-template-rows:none!important;
  grid-auto-rows:auto!important;
  gap:9px!important;
  padding:11px!important;
  overflow-x:auto!important;
  background:#061a11!important;
  scrollbar-width:thin;
}
.match-gallery__thumb{
  display:block;
  min-width:88px;
  padding:0;
  border:3px solid transparent;
  border-radius:10px;
  overflow:hidden;
  background:#dce7e1;
  cursor:pointer;
  aspect-ratio:16/9;
}
.match-gallery__thumb img{display:block;width:100%;height:100%;object-fit:cover;filter:saturate(.8) brightness(.76);transition:.2s}
.match-gallery__thumb:hover img,.match-gallery__thumb.is-active img{filter:none;transform:scale(1.025)}
.match-gallery__thumb.is-active{border-color:#c8f15a;box-shadow:0 0 0 2px #08713f}
.gallery-system-note{margin-top:14px!important;padding:13px 16px!important}

/* Bericht-Detailseite: zwei unterschiedliche Bilder, redaktionell integriert */
.report-page main{padding:58px 0 82px!important}
.report-page .report-article{max-width:1040px!important;border-radius:28px!important;padding:clamp(24px,4vw,50px)!important}
.report-article__head--clean{display:block!important;margin-bottom:28px!important}
.report-article__image{overflow:hidden;border-radius:22px!important;background:#071c13!important;box-shadow:0 18px 40px rgba(3,35,20,.12)!important}
.report-article__image img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.report-article__image figcaption{padding:10px 14px;background:#f1f6f2;color:#5a7065;font-size:.78rem;font-weight:700}
.report-article__image--inline{margin:32px 0!important}
.report-article__body .report-article__image--inline{margin:32px 0!important}

@media(max-width:1100px){
  .match-overview-grid{grid-template-columns:1fr 1fr!important}
  .match-overview-result-card{grid-column:1/-1;height:auto!important;min-height:360px!important}
  .result-card__teams{max-width:620px;width:100%;margin-inline:auto}
  .result-card__facts{max-width:620px;width:100%;margin-inline:auto}
  .match-story-card{grid-template-columns:minmax(0,1.2fr) minmax(330px,.8fr)!important}
  .match-gallery__rail{grid-template-columns:repeat(8,minmax(110px,1fr))!important}
}

@media(max-width:760px){
  .match-overview-section{padding:44px 0 48px!important}
  .match-overview-grid{grid-template-columns:1fr!important;gap:16px!important}
  .match-overview-card{height:auto!important;min-height:0!important;border-radius:19px!important}
  .match-overview-card--widget{height:380px!important}
  .match-overview-result-card{grid-column:auto!important;min-height:0!important;padding:22px 18px!important}
  .result-card__competition{margin-top:15px}
  .result-card__teams{gap:8px;margin:18px 0 14px}
  .result-card__crest{width:58px;height:58px;border-radius:16px}
  .result-card__crest img{width:48px;height:48px}
  .result-card__club strong{max-width:110px;font-size:.68rem}
  .result-card__score b{font-size:2.15rem}
  .result-card__facts{font-size:.68rem}
  .result-card__link{padding-top:16px}

  .match-report-section--editorial{padding:48px 0!important}
  .match-story-card{display:flex!important;flex-direction:column!important;border-radius:20px!important}
  .match-story-card__copy{order:1;padding:26px 20px 24px!important}
  .match-story-card__copy>h3{font-size:2.05rem!important}
  .match-story-card__body{font-size:.96rem;line-height:1.65}
  .match-story-card__visual{order:2;border-left:0!important;border-top:1px solid #dce6df}
  .match-story-card__image img{aspect-ratio:16/9!important;object-fit:cover!important}
  .match-story-card .match-report-scorecard{padding:21px 20px!important}
  .match-story-card .match-report-score{grid-template-columns:1fr auto 1fr!important;align-items:center!important;text-align:center!important}
  .match-story-card .match-report-score b{order:0!important;font-size:2rem!important}
  .match-story-card .match-report-score strong{font-size:.68rem!important}
  .match-report-full__actions{align-items:flex-start;flex-direction:column;gap:12px}

  .gallery-section{padding:52px 0!important}
  .gallery-heading{align-items:flex-start!important}
  .gallery-source-links{justify-content:flex-start;width:100%}
  .match-gallery{border-radius:18px!important}
  .match-gallery__main{aspect-ratio:16/10!important}
  .match-gallery__main>img,#match-gallery-main{object-fit:contain!important}
  .match-gallery__rail{display:flex!important;gap:8px!important;padding:9px!important}
  .match-gallery__thumb{flex:0 0 112px;min-width:112px}
  .match-gallery__badge{max-width:72%;left:18px!important;bottom:17px!important}
  .match-gallery__badge strong{font-size:18px!important}
  .match-gallery__credit{display:none!important}

  .report-page .report-article{border-radius:20px!important;padding:22px 18px!important}
  .report-article__image{border-radius:16px!important}
}

@media(max-width:430px){
  .result-card__club strong{max-width:92px;font-size:.62rem}
  .result-card__crest{width:52px;height:52px}
  .result-card__crest img{width:43px;height:43px}
  .result-card__score b{font-size:1.9rem}
  .match-story-card__copy>h3{font-size:1.82rem!important}
}
