/* XHBroadcasts unified block */
.xhb-root { font-family: 'Inter', -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif; color: #e8eaed; }
.xhb-root * { box-sizing: border-box; }
.xhb-loading { padding: 48px; text-align: center; color: #9ca3af; }

.xhb-hero {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(135deg, rgba(16,185,129,.12), rgba(14,165,233,.08) 60%, rgba(168,85,247,.12));
  margin-bottom: 28px;
}
/* Two-column layout when cover image exists */
.xhb-hero-with-cover {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  min-height: 380px;
}
/* Full-width layout when no cover */
.xhb-hero-no-cover { display: block; }
.xhb-hero-no-cover .xhb-hero-body { max-width: 920px; margin: 0 auto; padding: 48px 56px; }
.xhb-hero.xhb-hero-empty { padding: 48px 28px; text-align: center; display: block; }
.xhb-hero-media {
  background-size: cover;
  background-position: center;
  background-color: #0f172a;
  order: 2;
  min-height: 300px;
}
.xhb-hero-body {
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  order: 1;
}
.xhb-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(16,185,129,.14);
  border: 1px solid rgba(16,185,129,.3);
  color: #10b981;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  width: fit-content;
}
.xhb-topic {
  color: #67e8f9;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.xhb-hero-title {
  font-family: 'Orbitron', 'Inter', sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.25;
  margin: 0;
  color: #fff;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.xhb-hero-speaker { color: #a78bfa; font-weight: 600; font-size: .95rem; }
.xhb-hero-date { color: #10b981; font-weight: 700; font-size: 1rem; }
.xhb-hero-sub { color: #9ca3af; font-size: .9rem; line-height: 1.65; margin: 0; max-width: 680px; }
.xhb-hero-sub .xhb-desc-short,
.xhb-hero-sub .xhb-desc-full { word-break: break-word; }
.xhb-hero-sub .xhb-desc-full { margin-top: 2px; }
.xhb-hero-sub .xhb-desc-toggle {
  display: inline-block;
  margin-top: 8px;
  padding: 0;
  background: none;
  border: none;
  color: #10b981;
  font-weight: 700;
  font-size: .85rem;
  cursor: pointer;
  text-decoration: underline;
}
.xhb-hero-sub .xhb-desc-toggle:hover { color: #34d399; }
.xhb-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }

.xhb-countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 6px;
  max-width: 420px;
}
.xhb-cu {
  background: rgba(5,8,13,.55);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 10px 6px;
  text-align: center;
}
.xhb-cu-val {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #10b981;
  line-height: 1;
}
.xhb-cu-lbl {
  display: block;
  font-size: .62rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 4px;
}

.xhb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: .88rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.xhb-btn-primary {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  box-shadow: 0 8px 24px rgba(16,185,129,.25);
}
.xhb-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(16,185,129,.35); }
.xhb-btn-ghost {
  background: rgba(255,255,255,.04);
  color: #e8eaed;
  border-color: rgba(255,255,255,.14);
}
.xhb-btn-ghost:hover { background: rgba(255,255,255,.08); }
.xhb-btn-soft {
  background: rgba(16,185,129,.12);
  color: #10b981;
  border-color: rgba(16,185,129,.3);
}
.xhb-btn:disabled { opacity: .5; cursor: not-allowed; }

.xhb-section { margin-bottom: 32px; }
.xhb-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
}
.xhb-section-head h3 {
  font-family: 'Orbitron', 'Inter', sans-serif;
  font-size: 1.2rem;
  margin: 0;
  color: #fff;
}
.xhb-link { color: #10b981; text-decoration: none; font-size: .85rem; font-weight: 600; }
.xhb-link:hover { text-decoration: underline; }

.xhb-upcoming-list, .xhb-past-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.xhb-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(17,19,24,.75);
  transition: transform .2s, border-color .2s;
}
.xhb-card:hover { transform: translateY(-3px); border-color: rgba(16,185,129,.4); }
.xhb-card-date {
  font-family: 'Orbitron', sans-serif;
  color: #10b981;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
}
.xhb-card-topic {
  font-size: .68rem;
  color: #67e8f9;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  margin-bottom: 4px;
}
.xhb-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}
.xhb-card-speaker { color: #a78bfa; font-size: .8rem; font-weight: 600; margin-top: 4px; }
.xhb-card-time { color: #9ca3af; font-size: .78rem; margin-top: 6px; }
.xhb-card-main { flex: 1; }
.xhb-card-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.xhb-card-actions .xhb-btn { flex: 1; padding: 10px 14px; font-size: .82rem; }

.xhb-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
}
.xhb-badge-muted {
  background: rgba(148,163,184,.1);
  color: #9ca3af;
  border: 1px solid rgba(148,163,184,.2);
}

@media (max-width: 820px) {
  .xhb-hero { grid-template-columns: 1fr; min-height: 0; }
  .xhb-hero-media { order: 1; min-height: 200px; }
  .xhb-hero-body { order: 2; padding: 24px 20px; }
  .xhb-countdown { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .xhb-cu-val { font-size: 1.2rem; }
  .xhb-section-head { flex-direction: column; align-items: flex-start; }
}
