/* ---------------------------------------------------------------------
 * Modul 010: EXTHORIA BLUESKY ORBIT – eigenständige Newsmag-Footerkomposition
 * --------------------------------------------------------------------- */
.exbf,.exbf *{box-sizing:border-box}
.exbf{--exbf-ink:#f8f9fd;--exbf-sub:#a1a9b9;--exbf-edge:rgba(255,255,255,.15);--exbf-card:rgba(255,255,255,.038);--exbf-card-hover:rgba(255,255,255,.085);--exbf-accent:#c7b8ff;position:relative;isolation:isolate;overflow:hidden;width:100%;max-width:min(100%,930px)!important;min-width:0;margin:24px auto;padding:0;border:1px solid var(--exbf-edge);border-radius:14px;background:linear-gradient(108deg,#171a24 0%,#1d202b 48%,#121824 100%);color:var(--exbf-ink);font-family:inherit;font-style:normal;line-height:1.2;box-shadow:0 15px 40px rgba(0,0,0,.18);container-name:exbf;container-type:inline-size}
.exbf::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse 42% 155% at -5% 5%,rgba(174,119,247,.14),transparent 75%),radial-gradient(ellipse 52% 115% at 99% 90%,rgba(68,197,216,.095),transparent 72%)}
.exbf::after{content:"";position:absolute;left:0;right:0;top:0;height:1px;z-index:1;background:linear-gradient(90deg,transparent,#b89bff 19%,#e9c6e7 46%,#74d7e1 81%,transparent);opacity:.82}
.exbf__ambient{position:absolute;inset:0;pointer-events:none;z-index:-1;overflow:hidden}
.exbf__ambient i{display:block;position:absolute;border:1px solid rgba(203,183,255,.09);border-radius:50%;width:380px;height:380px;left:-160px;top:-160px;transform:rotate(-24deg)}
.exbf__ambient i:nth-child(2){width:290px;height:290px;left:-114px;top:-114px;border-color:rgba(180,167,255,.095)}
.exbf__ambient i:nth-child(3){width:9px;height:9px;left:148px;top:12px;border:none;background:#c7b8ff;filter:blur(3px);opacity:.4}
.exbf__shell{position:relative;z-index:1;display:grid;grid-template-columns:minmax(225px,.74fr) minmax(0,1.5fr);align-items:stretch;gap:12px;padding:15px 18px}
.exbf__signature{min-width:0;display:flex;gap:14px;align-items:center;padding:0 10px 0 1px}
.exbf__emblem{display:inline-flex;position:relative;width:59px;height:59px;flex:0 0 59px;align-items:center;justify-content:center}
.exbf__emblem::before,.exbf__emblem::after{content:"";position:absolute;border:1px solid rgba(189,172,255,.3);border-radius:50%;inset:1px;transform:rotate(-28deg) scaleX(.77)}
.exbf__emblem::after{inset:6px;transform:rotate(36deg) scaleX(.75);border-color:rgba(143,215,223,.23)}
.exbf__emblem-orbit{position:absolute;width:6px;height:6px;top:5px;right:7px;border-radius:50%;background:#e3c7ff;box-shadow:0 0 13px #ba8eff}
.exbf__emblem-core{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:12px;border:1px solid rgba(224,214,255,.3);background:linear-gradient(140deg,rgba(227,211,255,.19),rgba(87,108,174,.08));box-shadow:0 7px 23px rgba(117,97,202,.18),inset 0 1px 0 rgba(255,255,255,.14);transform:rotate(-9deg)}
.exbf__emblem-core .exbf__butterfly{display:block;width:21px;height:21px;color:#fff;transform:rotate(9deg)}
.exbf__brand{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;gap:5px;text-align:center}
.exbf__brand-kicker{display:flex;align-items:center;justify-content:center;gap:9px;font-size:8px;font-weight:780;letter-spacing:.22em;color:#beaafd;white-space:nowrap}
.exbf__brand-kicker i{display:inline-block;flex:0 0 18px;width:18px;height:1px;background:#bda9ff;box-shadow:0 0 8px #bda9ff}
.exbf__brand-kicker-text{display:inline-block;text-align:center}
.exbf__brand strong{display:block;font-size:clamp(16px,2vw,23px);line-height:1;font-weight:800;letter-spacing:.085em;color:var(--exbf-ink);white-space:nowrap;text-align:center}
.exbf__brand-accent{color:#a8ddb5}
.exbf__brand-sub{font-size:9px;font-weight:650;letter-spacing:.2em;color:var(--exbf-sub);white-space:nowrap;text-align:center}
.exbf__channel-grid{display:grid;grid-template-columns:repeat(var(--exbf-cols,1),minmax(0,1fr));align-items:stretch;justify-self:end;width:100%;max-width:min(100%,calc(var(--exbf-cols,1)*260px));gap:0;min-width:0;border:1px solid rgba(255,255,255,.13);border-radius:11px;background:linear-gradient(135deg,rgba(255,255,255,.05),rgba(255,255,255,.017));overflow:hidden}
.exbf .exbf__channel{--exbf-lang-accent:#bca8ff;position:relative;min-width:0;min-height:67px;display:flex;flex-direction:column;justify-content:space-between;gap:8px;overflow:hidden;padding:11px 12px 9px;border:0;border-right:1px solid rgba(255,255,255,.12);border-radius:0;background:transparent;color:var(--exbf-ink)!important;text-decoration:none!important;transition:background .2s,box-shadow .2s}
.exbf .exbf__channel--de{--exbf-lang-accent:#baa9ff}.exbf .exbf__channel--en{--exbf-lang-accent:#7edbd7}.exbf .exbf__channel--es{--exbf-lang-accent:#ffb27a}
.exbf__channel-accent{position:absolute;top:0;left:0;right:0;height:2px;background:linear-gradient(90deg,transparent,var(--exbf-lang-accent),transparent);opacity:.65}
.exbf__channel-overline{display:flex;align-items:center;gap:7px;min-width:0}
.exbf__channel-number{font-size:9px;letter-spacing:.03em;color:var(--exbf-lang-accent);font-weight:700;opacity:.86}
.exbf .exbf__flag{display:block;flex:0 0 22px;width:22px!important;height:15px!important;min-width:22px;max-width:22px;border-radius:2px;margin:0!important;object-fit:cover;vertical-align:middle;box-shadow:0 1px 4px rgba(0,0,0,.3)}
.exbf__channel-label{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:750;letter-spacing:.01em;color:var(--exbf-ink)}
.exbf__channel-bottom{display:flex;justify-content:space-between;gap:6px;align-items:center;min-width:0}
.exbf__channel-handle{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;letter-spacing:.015em;color:var(--exbf-sub)}
.exbf__channel-arrow{display:inline-flex;flex:0 0 20px;width:20px;height:20px;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.12);border-radius:6px;color:var(--exbf-lang-accent);background:rgba(255,255,255,.025)}
.exbf__outbound{display:block;width:12px;height:12px}
.exbf a.exbf__channel:hover,.exbf a.exbf__channel:focus-visible{background:var(--exbf-card-hover);box-shadow:inset 0 2px 0 var(--exbf-lang-accent);transform:none;color:var(--exbf-ink)!important}
.exbf a.exbf__channel:focus-visible{outline:2px solid var(--exbf-lang-accent);outline-offset:3px}
.exbf .exbf__channel:last-child{border-right:0}
.exbf__bottom-line{position:absolute;right:17px;left:17px;bottom:0;height:1px;background:linear-gradient(90deg,transparent,rgba(162,151,254,.27),rgba(126,219,215,.27),transparent);pointer-events:none}
.exbf--light{--exbf-ink:#1c283a;--exbf-sub:#64758a;--exbf-edge:rgba(23,53,80,.19);--exbf-card:rgba(255,255,255,.72);--exbf-card-hover:#fff;background:linear-gradient(110deg,#eef4fc,#f8f9ff 47%,#e7f5f4);box-shadow:0 11px 29px rgba(19,47,72,.11)}
.exbf--light .exbf__emblem-core{background:linear-gradient(140deg,#edf0ff,#dbe6f6);border-color:rgba(96,83,158,.2)}
.exbf--light .exbf__emblem-core .exbf__butterfly{color:#202c3e}
.exbf--light .exbf__brand-accent{color:#588c68}
.exbf--light .exbf__brand-kicker{color:#6d5cbb}
.exbf--light .exbf__brand-kicker i{background:#6d5cbb}
.exbf--light .exbf__channel-grid{border-color:rgba(37,56,85,.15);background:rgba(255,255,255,.47)}
.exbf--light .exbf__channel{border-right-color:rgba(37,56,85,.12);background:transparent}
.exbf--light .exbf__channel--de{--exbf-lang-accent:#7759d4}.exbf--light .exbf__channel--en{--exbf-lang-accent:#087f85}.exbf--light .exbf__channel--es{--exbf-lang-accent:#ba6428}
.exbf--light .exbf__channel-arrow{border-color:rgba(30,47,69,.13);background:rgba(31,50,75,.04)}
.exbf--light .exbf__ambient i{border-color:rgba(61,74,145,.1)}
.exbf--light .exbf__channel:hover{background:#fff}
.exbf__auto-holder{max-width:1200px;margin:0 auto;padding:18px 15px;width:100%;box-sizing:border-box}
@container exbf (max-width:820px){.exbf__shell{grid-template-columns:1fr;gap:13px;padding:15px}.exbf__signature{padding:0}.exbf__channel-grid{grid-template-columns:repeat(var(--exbf-cols,1),minmax(0,1fr))}}
@container exbf (max-width:480px){.exbf{margin:18px auto}.exbf__shell{gap:12px}.exbf__channel-grid{grid-template-columns:1fr;max-width:none}.exbf .exbf__channel{border-right:0;border-bottom:1px solid var(--exbf-edge)}.exbf .exbf__channel:last-child{border-bottom:0}.exbf .exbf__channel{min-height:55px;gap:3px;padding:9px 11px}.exbf__emblem{width:46px;height:46px;flex-basis:46px}.exbf__emblem-core{width:36px;height:36px}.exbf__signature{gap:10px}.exbf__brand strong{font-size:17px}}
@media(max-width:620px){.exbf{margin:18px auto}.exbf__shell{grid-template-columns:1fr;gap:12px}.exbf__channel-grid{grid-template-columns:1fr!important;max-width:none}.exbf .exbf__channel{border-right:0;border-bottom:1px solid var(--exbf-edge)}.exbf .exbf__channel:last-child{border-bottom:0}.exbf__brand strong{font-size:18px}.exbf .exbf__channel{min-height:55px}}
@media(prefers-reduced-motion:reduce){.exbf .exbf__channel{transition:none}.exbf a.exbf__channel:hover,.exbf a.exbf__channel:focus-visible{transform:none}}


/* ---------------------------------------------------------------------
 * Modul 011: Vertikale Newsmag-Footerabstände nur bei Bluesky ORBIT
 * Behebt die zusätzlichen Theme-Abstände, die mit .exbf margin:0
 * allein nicht verändert werden. Keine Änderungen an anderen Footerblöcken.
 * --------------------------------------------------------------------- */
/* Das Widget selbst steuert keinen weiteren vertikalen Außenabstand. */
body .exbf.exbf--orbit {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}
/* Nur der Newsmag-Footer, der diese Bluesky-Karte tatsächlich enthält. */
body .td-footer-wrapper:has(.exbf--orbit) {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
}
/* Standard-Widget- und Shortcode-Abstände nur beim Bluesky-Widget entfernen. */
body .td-footer-wrapper .widget:has(.exbf--orbit),
body .td-footer-wrapper .widget_text:has(.exbf--orbit),
body .td-footer-wrapper .widget_block:has(.exbf--orbit),
body .td-footer-wrapper .wp-block-shortcode:has(.exbf--orbit) {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
/* Falls die Bluesky-Karte direkt in einer Newsmag-Spalte eingesetzt wird. */
body .td-footer-wrapper .td-pb-span12:has(> .widget:has(.exbf--orbit)),
body .td-footer-wrapper .td-pb-span4:has(> .widget:has(.exbf--orbit)),
body .td-footer-wrapper .td-pb-span8:has(> .widget:has(.exbf--orbit)) {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
