/* GAME7DAYS Iteration 47 – Footer A / Kartenausrichtung / Archiv-Feinschliff.
   Rein additive Styles: keine Inhalte, Links, Siegel oder Funktionen werden entfernt. */

/* Footer A: Compact Editorial */
#g7d-footer .g7d-foot-wrap { width:min(1540px,calc(100% - 48px)); }
#g7d-footer .g7d-foot-grid {
  grid-template-columns:minmax(220px,1.08fr) minmax(190px,.8fr) minmax(230px,1fr) minmax(280px,1.12fr);
  padding:25px 0 22px; gap:0;
}
#g7d-footer .g7d-foot-col { padding-left:22px; padding-right:22px; }
#g7d-footer .g7d-foot-col:first-child { padding-left:0; }
#g7d-footer .g7d-foot-col:last-child { padding-right:0; }
#g7d-footer .g7d-footer__title { margin-bottom:15px; }
#g7d-footer .g7d-footer__about { margin-bottom:14px; }
#g7d-footer .g7d-footer__claim { margin-top:16px; }
#g7d-footer .g7d-social-grid { gap:0; }
#g7d-footer .g7d-social-link { min-height:75px; padding:9px 5px; }
#g7d-footer .g7d-social-icon { width:34px; height:34px; }
#g7d-footer .g7d-social-name { font-size:12px; }
#g7d-footer .g7d-quick-access { padding:15px 0 16px; }
#g7d-footer .g7d-quick-access__title { margin-bottom:9px; }
#g7d-footer .g7d-quick-access__buttons { gap:9px; }
#g7d-footer .g7d-quick-access__button { min-height:55px; padding:8px 12px; }
#g7d-footer .g7d-quick-access__icon { width:35px; height:35px; flex-basis:35px; margin-right:9px; }
#g7d-footer .g7d-quick-access__icon svg { width:19px; height:19px; }
#g7d-footer .g7d-quick-access__content small { margin-top:1px; }
#g7d-footer .g7d-foot-sub { padding-top:12px; padding-bottom:13px; }
#g7d-footer .g7d-footer__column-text,
#g7d-footer .g7d-footer__partner-text,
#g7d-footer .g7d-footer__social-text { line-height:1.5; }

/* Home: gleiche Kartenhöhen in jeder Reihe trotz unterschiedlich langer Titel */
.g7d-home .g7d-home-news__grid { align-items:stretch!important; }
.g7d-home .g7d-home-news__grid > * { height:100%; min-height:0; }
.g7d-home .g7d-home-news__card { height:100%!important; min-height:0; }
.g7d-home :is(.g7d-home-duo__grid,.g7d-home-hardware__grid,.g7d-home-specials__grid,.g7d-home-triple__grid) { align-items:stretch!important; }
.g7d-home :is(.g7d-home-duo__grid,.g7d-home-hardware__grid,.g7d-home-specials__grid,.g7d-home-triple__grid) > * { min-width:0; }
.g7d-home :is(.g7d-home-duo__mini-grid,.g7d-home-hardware__mini-grid,.g7d-home-specials__mini-grid,.g7d-home-triple__mini-grid) > * { min-width:0; }
.g7d-home :is(.g7d-home-news__card,.g7d-home-duo__lead,.g7d-home-hardware__lead,.g7d-home-specials__lead,.g7d-home-triple__lead) :is(h2,h3,h4) { overflow-wrap:anywhere; hyphens:auto; }

/* Archive: harmonisierte Interaktion, ohne bestehende Kategorienavigation zu ersetzen */
body.archive :is(.g7d-archive-head,.g7d-archive-header) { border-radius:10px; }
body.archive :is(.g7d-archive-head,.g7d-archive-header) a:focus-visible { outline:2px solid #27d9ef; outline-offset:3px; }
body.archive :is(.td-module-container,.td_module_wrap) :is(h2,h3) { overflow-wrap:anywhere; hyphens:auto; }

@media(max-width:1250px) {
 #g7d-footer .g7d-foot-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 #g7d-footer .g7d-foot-col { padding:20px!important; }
 #g7d-footer .g7d-foot-col:nth-child(odd) { padding-left:0!important; }
 #g7d-footer .g7d-foot-col:nth-child(even) { padding-right:0!important; }
}
@media(max-width:760px) {
 #g7d-footer .g7d-foot-wrap { width:calc(100% - 32px); }
 #g7d-footer .g7d-foot-grid { grid-template-columns:1fr; padding:10px 0 14px; }
 #g7d-footer .g7d-foot-col { padding:17px 0!important; border-right:0!important; }
 #g7d-footer .g7d-foot-col:nth-child(odd),
 #g7d-footer .g7d-foot-col:nth-child(even) { padding-left:0!important; padding-right:0!important; }
 #g7d-footer .g7d-foot-col:nth-last-child(2) { border-bottom:1px solid var(--g7d-border); }
 #g7d-footer .g7d-quick-access__buttons { grid-template-columns:1fr; }
 #g7d-footer .g7d-social-link { min-height:70px; }
}
