/* ========================================================================== 
   BEGIN GO Badger Basis und Enfold Adapter
   initial: 2026-12-03, aktuell: 2026-12-03, Version: 0.2
   ========================================================================== */
.gba-badges {display:flex;justify-content:center;align-items:center;max-width:100%;margin:0 auto;padding:0;}
.gba-badge, #top .gba-badges .gba-badge {
    position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;
    box-sizing:border-box;width:var(--gba-size,180px);max-width:100%;min-height:var(--gba-size,180px);
    padding:14px;isolation:isolate;overflow:hidden;background:var(--gba-bg,#FFBD18);
    color:var(--gba-fg,#002657);border:var(--gba-border-width,2px) solid var(--gba-border,#002657);
    text-decoration:none;text-align:center;line-height:1.15;
}
.gba-badge.gba-shape-round,#top .gba-badges .gba-badge.gba-shape-round {border-radius:50%;aspect-ratio:1;}
.gba-badge.gba-shape-card,#top .gba-badges .gba-badge.gba-shape-card {border-radius:14px;min-height:0;}
.gba-badge.gba-shape-free,#top .gba-badges .gba-badge.gba-shape-free {border-radius:0;min-height:0;}
.gba-badge.gba-shadow {box-shadow:0 5px 16px rgba(0,0,0,.22);}
/* Text-Tags sind semantisch, nicht für das Layout zuständig. GVE kann diese Regeln gezielt überschreiben. */
.gba-badge .gba-copy {position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:4px;max-width:100%;overflow-wrap:normal;word-break:normal;}
.gba-badge .gba-copy > :is(.gba-label,.gba-headline,.gba-detail),
#top .gba-badge .gba-copy > :is(.gba-label,.gba-headline,.gba-detail) {
    display:block;box-sizing:border-box;max-width:100%;margin:0;padding:0;
    font-family:inherit;font-style:normal;text-transform:none;text-align:center;
    letter-spacing:0;white-space:normal;overflow-wrap:normal;word-break:normal;
    -webkit-hyphens:manual;hyphens:manual;
}
.gba-badge .gba-copy > .gba-label,#top .gba-badge .gba-copy > .gba-label {font-size:var(--gba-text-size,15px);font-weight:var(--gba-text-weight,700);line-height:inherit;color:inherit;}
.gba-badge .gba-copy > .gba-headline,#top .gba-badge .gba-copy > .gba-headline {font-size:var(--gba-text-size,clamp(24px,2.5vw,36px));font-weight:var(--gba-text-weight,800);line-height:1.05;color:var(--gba-accent,#002657);}
.gba-badge .gba-copy > .gba-detail,#top .gba-badge .gba-copy > .gba-detail {font-size:var(--gba-text-size,12px);font-weight:var(--gba-text-weight,500);line-height:1.2;color:inherit;}
.gba-badge .gba-background,.gba-badge .gba-overlay {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none;}
.gba-badge .gba-overlay {background:rgba(0,0,0,var(--gba-overlay,0));}
.gba-badge.gba-type-image,#top .gba-badges .gba-badge.gba-type-image {padding:0;}
.gba-badge .gba-image,#top .gba-badge .gba-image {display:block;width:100%;height:auto;margin:0;object-fit:contain;}
.gba-shape-round.gba-type-image .gba-image {height:100%;aspect-ratio:1;object-fit:cover;}
.gba-type-image.gba-shape-free,#top .gba-type-image.gba-shape-free {background:transparent;border:0;box-shadow:none;}
.gba-badges a.gba-badge:hover .gba-label {text-decoration:underline;}
.gba-badges a.gba-badge:focus-visible {outline:3px solid #fff;outline-offset:3px;box-shadow:0 0 0 7px #002657;}
/* Enfold: nur die dynamisch erzeugte Badge-Spalte und deren Hero betreffen. */
#top .avia-section:has(.gba-column) {position:relative!important;overflow:visible!important;z-index:3;}
#top .avia-section .gba-column {display:block!important;visibility:visible!important;opacity:1!important;position:absolute!important;width:auto!important;max-width:none!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;overflow:visible!important;z-index:5;}
#top .avia-section .gba-column :is(.av_textblock_section,.avia_textblock,.gba-badges) {display:block!important;visibility:visible!important;opacity:1!important;margin:0!important;padding:0!important;overflow:visible!important;}
@media (min-width:990px) {
    .gba-badges .gba-mob,#top .gba-badges .gba-mob {display:none!important;}
    #top .avia-section:has(.gba-column)>.container {position:relative!important;overflow:visible!important;z-index:2;}
    #top .avia-section:has(.gba-column)>.container :is(.content,.post-entry,.entry-content-wrapper) {position:static!important;overflow:visible!important;}
    #top .avia-section .gba-column {top:auto!important;left:auto!important;right:0!important;bottom:0!important;}
    #top .avia-section .gba-column .gba-dt {transform:translate(calc(0px - var(--gba-right)),var(--gba-overlap));}
    #top .avia-section .gba-column:not(:has(.gba-has-dt)) {display:none!important;}
}
@media (max-width:989px) {
    .gba-badges .gba-dt,#top .gba-badges .gba-dt {display:none!important;}
    .gba-badge,#top .gba-badges .gba-badge {padding:10px;}
    .gba-badge .gba-copy > .gba-label,#top .gba-badge .gba-copy > .gba-label {font-size:var(--gba-text-size,13px);}
    .gba-badge .gba-copy > .gba-headline,#top .gba-badge .gba-copy > .gba-headline {font-size:var(--gba-text-size,26px);}
    .gba-badge .gba-copy > .gba-detail,#top .gba-badge .gba-copy > .gba-detail {font-size:var(--gba-text-size,11px);}
    #top #wrap_all .avia-section:has(.gba-column) .entry-content-wrapper:has(>.gba-column) {position:relative!important;overflow:visible!important;}
    #top #wrap_all .avia-section .gba-column {top:0!important;left:auto!important;right:0!important;bottom:auto!important;}
    #top #wrap_all .avia-section .gba-column .gba-mob {transform:translate(calc(0px - var(--gba-right)),calc(var(--gba-overlap) - 100%));}
    #top #wrap_all .avia-section .gba-column:not(:has(.gba-has-mob)) {display:none!important;}
    /* Teaserbreite stammt aus der zentralen GBA-Einstellung (PHP). */
    #top #wrap_all .avia-section .gba-column {right: max(0px, (100% - var(--gba-teaser-width,620px)) / 2)!important;}
}
/* ========================================================================== 
   END GO Badger Basis und Enfold Adapter
   initial: 2026-12-03, aktuell: 2026-12-03, Version: 0.2
   ========================================================================== */
