/* Cubecast Media Network v1.4.0. All rules scoped so host themes remain untouched. */
.cbn-network{--cbn-border:rgba(128,138,151,.25);--cbn-surface:rgba(128,138,151,.06);color:inherit;font:inherit;width:100%;max-width:1260px;margin:24px auto;box-sizing:border-box}
.cbn-network *{box-sizing:border-box}
.cbn-network .cbn-heading{color:inherit;font-family:inherit;font-size:clamp(1.06rem,1.2vw + .7rem,1.35rem);line-height:1.35;font-weight:700;margin:0 0 18px}
.cbn-network .cbn-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.cbn-network .cbn-site{display:flex;min-width:0;min-height:106px;align-items:center;gap:14px;padding:18px 15px;border:1px solid var(--cbn-border);border-radius:15px;background:var(--cbn-surface);color:inherit!important;text-decoration:none!important;box-shadow:none!important;transition:transform .18s ease,border-color .18s ease,background .18s ease}
.cbn-network .cbn-site:hover,.cbn-network .cbn-site:focus-visible{transform:translateY(-2px);border-color:currentColor;outline-offset:2px;background:rgba(128,138,151,.10)}
.cbn-network.cbn-grid .cbn-site img.cbn-logo{display:block!important;width:76px!important;height:56px!important;max-width:76px!important;max-height:56px!important;object-fit:contain!important;flex:0 0 76px;border:0!important;box-shadow:none!important;background:transparent!important;margin:0!important;padding:0!important}
.cbn-network .cbn-placeholder{display:grid;place-items:center;width:55px;height:55px;flex:0 0 55px;border-radius:12px;background:rgba(128,138,151,.14);color:inherit;opacity:.65}
.cbn-network .cbn-placeholder svg{display:block;width:28px;height:28px}
.cbn-network .cbn-info{display:flex;flex-direction:column;gap:5px;min-width:0;overflow-wrap:anywhere}
.cbn-network .cbn-info strong{color:inherit;font-size:.98rem;line-height:1.3;font-weight:700}
.cbn-network .cbn-description{font-size:.83rem;line-height:1.45;opacity:.8}
.cbn-network .cbn-category{font-size:.73rem;line-height:1.35;opacity:.65}
/* Compact: exactly the intended small logo strip, not giant image cards. */
.cbn-network.cbn-compact{max-width:100%!important;margin:10px auto!important}
.cbn-network.cbn-compact .cbn-heading{font-size:.95rem!important;line-height:1.35!important;margin:0 0 12px!important;font-weight:650!important}
.cbn-network.cbn-compact .cbn-list{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px 14px!important;align-items:center!important}
.cbn-network.cbn-compact .cbn-site{display:flex!important;justify-content:center!important;align-items:center!important;min-width:0!important;min-height:64px!important;height:64px!important;width:100%!important;max-width:100%!important;margin:0!important;padding:7px 8px!important;gap:0!important;border:0!important;border-radius:8px!important;background:transparent!important;box-shadow:none!important;overflow:hidden!important}
.cbn-network.cbn-compact .cbn-site:hover{background:rgba(128,138,151,.09)!important}
.cbn-network.cbn-compact .cbn-site img.cbn-logo{display:block!important;position:static!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:48px!important;min-width:0!important;min-height:0!important;object-fit:contain!important;object-position:center!important;flex:0 1 auto!important;margin:0 auto!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;transform:none!important}
.cbn-network.cbn-compact .cbn-info{display:none!important}
.cbn-network.cbn-compact .cbn-placeholder{width:42px!important;height:42px!important;flex:0 0 42px!important;border-radius:9px!important}
.cbn-network.cbn-compact .cbn-placeholder svg{width:22px;height:22px}
/* Overall Network identity logo, configured separately on the hub. */
.cbn-network .cbn-brand{display:flex;align-items:center;margin:0 0 14px;min-height:24px}
.cbn-network .cbn-brand img.cbn-brand-logo{display:block!important;width:auto!important;height:auto!important;max-width:min(300px,100%)!important;max-height:88px!important;object-fit:contain!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.cbn-network.cbn-compact .cbn-brand{margin:0 0 9px}
.cbn-network.cbn-compact .cbn-brand img.cbn-brand-logo{max-width:min(190px,100%)!important;max-height:50px!important}
.cbn-footer-wrap{width:100%;max-width:1260px;margin:0 auto;padding:12px 20px;box-sizing:border-box}
@media(max-width:1050px){.cbn-network.cbn-grid .cbn-list{grid-template-columns:repeat(3,minmax(0,1fr))}.cbn-network.cbn-compact .cbn-list{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:770px){.cbn-network.cbn-grid .cbn-list{grid-template-columns:repeat(2,minmax(0,1fr))}.cbn-network.cbn-grid .cbn-site{padding:13px;gap:11px}.cbn-network.cbn-grid .cbn-site img.cbn-logo{width:60px!important;height:48px!important;max-width:60px!important;max-height:48px!important;flex-basis:60px}.cbn-network.cbn-compact .cbn-list{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:480px){.cbn-network.cbn-grid .cbn-list{grid-template-columns:1fr}.cbn-network.cbn-grid .cbn-site{min-height:76px}.cbn-network.cbn-compact .cbn-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px 10px!important}.cbn-network.cbn-compact .cbn-site{min-height:58px!important;height:58px!important}.cbn-network.cbn-compact .cbn-site img.cbn-logo{max-height:44px!important}.cbn-footer-wrap{padding:12px 14px}}
@media(prefers-reduced-motion:reduce){.cbn-network .cbn-site{transition:none}.cbn-network .cbn-site:hover{transform:none}}
