/**
 * SHB 3.0 visual layer
 * Keeps the redesign isolated from the legacy stylesheet for easier review/revert.
 */

:root {
  --shb-blue: #006eff;
  --shb-blue-deep: #0056d6;
  --shb-blue-soft: rgba(0, 110, 255, 0.14);
  --shb-yellow: #ffcc00;
  --shb-yellow-soft: rgba(255, 204, 0, 0.16);
  --shb-navy: #06162c;
  --shb-navy-2: #0a2342;

  /* Legacy aliases kept for components that still consume the old token names. */
  --shb-gold: var(--shb-yellow);
  --shb-gold-light: #ffe066;
  --shb-gold-dark: #d6ab00;
  --shb-gold-glow: rgba(255, 204, 0, 0.30);

  --shb-bg-main: #06111f;
  --shb-bg-surface: #0a1829;
  --shb-bg-card: #0d2037;
  --shb-bg-card-hover: #112b49;
  --shb-bg-elevated: #163554;
  --shb-border: rgba(154, 180, 211, 0.18);
  --shb-border-light: rgba(176, 199, 224, 0.30);
  --shb-text-white: #ffffff;
  --shb-text-main: #e8f0fa;
  --shb-text-muted: #9bb0c7;
  --shb-text-subtle: #71869d;
  --shb-shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.20);
  --shb-shadow-md: 0 12px 32px rgba(0, 0, 0, 0.28);
  --shb-shadow-lg: 0 22px 60px rgba(0, 0, 0, 0.34);
}

a,
button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0, 110, 255, 0.18);
}

html {
  color-scheme: dark light;
}

body {
  background:
    radial-gradient(circle at 12% -10%, rgba(0, 110, 255, 0.18), transparent 32rem),
    radial-gradient(circle at 88% 4%, rgba(255, 204, 0, 0.08), transparent 28rem),
    var(--shb-bg-main);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--shb-yellow);
  outline-offset: 3px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Breaking news and utility bars */
.breaking-ticker-bar {
  background: #030b16;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.ticker-label {
  background: var(--shb-yellow);
  color: var(--shb-navy);
}

.ticker-content {
  min-width: 0;
  position: relative;
  overflow: hidden;
}

.ticker-item {
  display: none;
  color: #e5edf8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticker-item.is-active {
  display: block;
  animation: shbTickerIn 220ms ease-out;
}

.shb-ticker-pause:not([hidden]) {
  display: grid;
  place-items: center;
  min-width: 28px;
  min-height: 28px;
  margin-inline-start: auto;
  border: 0;
  background: transparent;
  color: #e5edf8;
}

.shb-ticker-pause .shb-play-mark,
.shb-ticker-pause[aria-pressed="true"] .shb-pause-mark { display: none; }
.shb-ticker-pause[aria-pressed="true"] .shb-play-mark { display: inline; }

@keyframes shbTickerIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.top-nav-bar {
  background: rgba(6, 22, 44, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.07);
}

.top-social-label {
  margin-right: 0.25rem;
  color: var(--shb-yellow);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
}

.top-social-link-audio {
  color: #4ade80;
  font-weight: 800;
}

/* Main header */
.site-header {
  background: rgba(6, 22, 44, 0.90);
  border-bottom: 1px solid rgba(112, 148, 190, 0.18);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.10);
}

.site-header.scrolled {
  background: rgba(6, 22, 44, 0.96);
  border-bottom-color: rgba(0, 110, 255, 0.34);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.site-logo-link,
.custom-logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo-img,
.custom-logo {
  object-fit: contain;
}

.site-brand-link {
  min-width: 0;
}

.site-logo-img.shb-horizontal-logo {
  width: 220px;
  max-width: 48vw;
  height: auto;
}

.site-logo-link:has(.shb-horizontal-logo) + .site-brand-link {
  display: none;
}

.custom-logo-link + .site-brand-link {
  display: none;
}

.custom-logo-link .custom-logo {
  width: 220px;
  max-width: 48vw;
  height: auto;
}

.site-brand-title span {
  color: var(--shb-yellow);
}

.main-nav-list,
.main-nav-fallback {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav-list > li {
  margin: 0;
}

.main-nav-list > li > a,
.main-nav-fallback > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.55rem 0.72rem;
  border-radius: 9px;
  color: var(--shb-text-main);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.main-nav-list > li > a:hover,
.main-nav-list > li.current-menu-item > a,
.main-nav-list > li.current-menu-ancestor > a,
.main-nav-fallback > a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.main-nav a[href*="/audiohero"] {
  border: 1px solid rgba(255, 204, 0, 0.32);
  background: linear-gradient(135deg, rgba(0, 110, 255, 0.18), rgba(255, 204, 0, 0.12));
  color: var(--shb-yellow);
}

.header-icon-btn {
  border-color: rgba(155, 176, 199, 0.28);
  background: rgba(255, 255, 255, 0.03);
}

.header-icon-btn:hover {
  border-color: var(--shb-blue);
  color: #ffffff;
  background: var(--shb-blue);
}

.trending-bar {
  border-bottom: 1px solid rgba(137, 164, 195, 0.12);
  background: rgba(10, 24, 41, 0.72);
}

.trending-label {
  color: var(--shb-yellow);
}

.trending-chip:hover {
  border-color: var(--shb-blue);
  background: var(--shb-blue);
  color: #ffffff;
}

/* Hero */
.hero-mosaic-section {
  padding-top: 1.75rem;
}

.hero-mosaic-grid {
  gap: 0.9rem;
}

.hero-mosaic-main,
.hero-card {
  border-color: rgba(131, 164, 200, 0.18);
  border-radius: 18px;
  box-shadow: var(--shb-shadow-md);
  isolation: isolate;
}

.hero-mosaic-main::after,
.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 28%, rgba(3, 10, 19, 0.28) 52%, rgba(3, 10, 19, 0.92) 100%);
}

.hero-mosaic-main > .hero-card-img,
.hero-card > .hero-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(.2,.7,.2,1);
}

.hero-mosaic-main:hover > .hero-card-img,
.hero-card:hover > .hero-card-img {
  transform: scale(1.025);
}

.hero-mosaic-main .hero-content,
.hero-card .hero-content,
.hero-overlay-content {
  z-index: 2;
}

.hero-mosaic-main:hover,
.hero-card:hover {
  border-color: rgba(0, 110, 255, 0.50);
}

/* AudioHero */
.podcast-showcase-section {
  overflow: hidden;
  margin: 3.5rem 0;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border: 1px solid rgba(0, 110, 255, 0.34);
  border-radius: 24px;
  background:
    radial-gradient(circle at 0 0, rgba(0, 110, 255, 0.28), transparent 38%),
    radial-gradient(circle at 92% 100%, rgba(255, 204, 0, 0.10), transparent 34%),
    linear-gradient(135deg, #07172b 0%, #0a2342 58%, #0d2037 100%);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.30);
}

.podcast-showcase-section::before {
  content: "AUDIOHERO";
  position: absolute;
  right: -0.04em;
  bottom: -0.16em;
  z-index: 0;
  color: rgba(255, 255, 255, 0.035);
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 12vw, 10rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.8;
  pointer-events: none;
}

.podcast-showcase-layout {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}

.podcast-cover-art {
  aspect-ratio: 1;
  border: 1px solid rgba(255, 204, 0, 0.30);
  border-radius: 20px;
  background: var(--shb-navy);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.34);
}

.podcast-cover-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.podcast-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.podcast-kicker,
.podcast-episode-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.podcast-kicker {
  padding: 0.42rem 0.72rem;
  background: var(--shb-yellow);
  color: var(--shb-navy);
}

.podcast-episode-label {
  padding: 0.38rem 0.68rem;
  border: 1px solid rgba(148, 177, 210, 0.28);
  color: var(--shb-text-main);
  background: rgba(255, 255, 255, 0.04);
}

.podcast-details-content h2 {
  max-width: 18ch;
  margin: 0 0 0.8rem;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.podcast-description {
  max-width: 62ch;
  color: #bdd0e5;
  font-size: 1rem;
  line-height: 1.7;
}

.podcast-embed-wrap {
  overflow: hidden;
  margin-top: 1.25rem;
  border: 1px solid rgba(148, 177, 210, 0.22);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.20);
}

.podcast-embed-wrap iframe {
  display: block;
  width: 100%;
  min-height: 152px;
  border: 0;
}

.podcast-platforms-list {
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.platform-btn {
  min-height: 42px;
  padding: 0.55rem 0.9rem;
  border-color: rgba(148, 177, 210, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: #edf5ff;
}

.platform-btn:hover {
  border-color: var(--shb-yellow);
  background: rgba(255, 204, 0, 0.10);
  color: var(--shb-yellow);
}

.platform-btn-primary {
  border-color: rgba(29, 185, 84, 0.42);
  background: rgba(29, 185, 84, 0.12);
}

/* Mobile drawer */
.article-content-body,
.article-content-body blockquote {
  color: var(--shb-text-main);
}

.single-author-details .author-name {
  color: var(--shb-text-white);
}

.audio-narrator-box {
  flex-wrap: wrap;
  gap: 0.75rem;
  background: var(--shb-bg-surface);
}

.audio-narrator-box > div {
  min-width: 0;
}

#ttsPlayBtn {
  flex-shrink: 0;
}

.section-title {
  display: block;
}

.section-title > i {
  margin-inline-end: 0.6rem;
}

.comment-form p {
  margin-block: 1rem;
}

.comment-form label {
  display: block;
  margin-bottom: 0.4rem;
}

.comment-form input:not([type="checkbox"]):not([type="submit"]),
.comment-form textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--shb-border);
  border-radius: 8px;
  background: var(--shb-bg-surface);
  color: var(--shb-text-main);
  font: inherit;
}

.comment-form textarea {
  resize: vertical;
}

.comment-form .submit {
  max-width: 100%;
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 8px;
  background: var(--shb-blue);
  color: #fff;
  font: inherit;
  font-weight: 700;
  white-space: normal;
  cursor: pointer;
}

.comment-form .submit:hover {
  background: var(--shb-navy);
}

.comment-form-cookies-consent label {
  display: inline;
}

.site-main h1,
.article-content-body {
  overflow-wrap: anywhere;
}

.category-hero-header {
  background: linear-gradient(180deg, var(--shb-bg-surface), var(--shb-bg-main));
}

.news-card[hidden] {
  display: none !important;
}

.layout-grid > *,
.podcast-showcase-layout > *,
.filter-tabs,
.section-title,
.shb-empty-state > * {
  min-width: 0;
}

.filter-tabs {
  flex: 1 1 0;
}

.view-mode-toggles {
  flex-shrink: 0;
}

.section-header {
  flex-wrap: wrap;
}

.section-title,
.shb-empty-state {
  overflow-wrap: anywhere;
}

body.shb-drawer-open {
  overflow: hidden;
}

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 2600;
  display: flex;
  justify-content: flex-end;
  background: rgba(2, 8, 17, 0.72);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overscroll-behavior: contain;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.mobile-drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer-content {
  width: min(88vw, 390px);
  height: 100%;
  overflow-y: auto;
  padding: calc(1.1rem + env(safe-area-inset-top)) calc(1.1rem + env(safe-area-inset-right)) calc(1.1rem + env(safe-area-inset-bottom)) calc(1.1rem + env(safe-area-inset-left));
  border-left: 1px solid rgba(148, 177, 210, 0.20);
  background:
    radial-gradient(circle at 100% 0, rgba(0, 110, 255, 0.18), transparent 18rem),
    var(--shb-navy);
  box-shadow: -24px 0 70px rgba(0, 0, 0, 0.34);
  transform: translateX(100%);
  transition: transform 260ms cubic-bezier(.2,.7,.2,1);
}

.mobile-drawer-overlay.is-open .mobile-drawer-content {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.25rem 0 1rem;
  border-bottom: 1px solid rgba(148, 177, 210, 0.16);
}

.mobile-drawer-title {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.mobile-drawer-close {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(148, 177, 210, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.mobile-drawer-nav {
  padding-top: 0.9rem;
}

.mobile-menu-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-menu-list li {
  margin: 0;
}

.mobile-menu-list a,
.mobile-drawer-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.72rem 0.8rem;
  border-bottom: 1px solid rgba(148, 177, 210, 0.10);
  border-radius: 10px;
  color: #eaf2fc;
  font-weight: 800;
}

.mobile-menu-list a:hover,
.mobile-drawer-link:hover {
  background: rgba(0, 110, 255, 0.14);
  color: #ffffff;
}

.mobile-drawer-link-audio,
.mobile-menu-list a[href*="/audiohero"] {
  margin-top: 0.55rem;
  border: 1px solid rgba(255, 204, 0, 0.26);
  background: rgba(255, 204, 0, 0.08);
  color: var(--shb-yellow);
}

/* Search modal */
.search-modal-overlay {
  background: rgba(3, 10, 20, 0.82);
  overscroll-behavior: contain;
  padding: calc(5rem + env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
}

.search-modal-card {
  border-color: rgba(0, 110, 255, 0.26);
  background: var(--shb-bg-surface);
  box-shadow: var(--shb-shadow-lg);
}

.search-modal-input-wrap {
  border-color: var(--shb-blue);
  background: rgba(0, 0, 0, 0.22);
}

/* Compact footer */
.site-footer {
  padding: 3rem 0 1.5rem;
  border-top: 1px solid rgba(0, 110, 255, 0.20);
  background:
    radial-gradient(circle at 12% 0, rgba(0, 110, 255, 0.14), transparent 30rem),
    #040d19;
}

.footer-grid-compact {
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, .8fr) minmax(220px, .9fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-bottom: 2rem;
}

.footer-eyebrow {
  margin-bottom: 0.7rem;
  color: var(--shb-yellow);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.footer-summary-text {
  max-width: 44ch;
  color: #9eb2c8;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col h2 {
  color: #ffffff;
}

.footer-col h2::after {
  background: var(--shb-blue);
}

.footer-links-list {
  gap: 0.52rem;
}

.footer-links-list a {
  color: #aebfd1;
}

.footer-links-list a:hover {
  color: #ffffff;
}

.footer-connect-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.footer-audiohero-link,
.footer-spotify-link {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 38px;
  padding: 0.48rem 0.72rem;
  border: 1px solid rgba(148, 177, 210, 0.18);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
}

.footer-audiohero-link {
  border-color: rgba(255, 204, 0, 0.28);
  color: var(--shb-yellow);
}

.footer-spotify-link {
  border-color: rgba(29, 185, 84, 0.34);
  color: #65e889;
}

.footer-social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(148, 177, 210, 0.18);
  border-radius: 50%;
  color: #b8c8d8;
  background: rgba(255, 255, 255, 0.025);
}

.footer-social-link:hover {
  border-color: var(--shb-blue);
  background: var(--shb-blue);
  color: #ffffff;
}

.footer-bottom-bar {
  gap: 1rem;
  border-top-color: rgba(148, 177, 210, 0.14);
  color: #7f94aa;
}

.footer-legal-note {
  margin-top: 0.3rem;
  color: #60778f;
  font-size: 0.72rem;
}

.back-to-top-btn {
  flex: 0 0 auto;
  border-color: rgba(148, 177, 210, 0.20);
  background: rgba(255, 255, 255, 0.035);
  color: var(--shb-yellow);
}

.back-to-top-btn:hover {
  border-color: var(--shb-blue);
  background: var(--shb-blue);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(0, 110, 255, 0.25);
}

/* Light mode keeps the editorial hierarchy while moving the reading surface to paper tones. */
:root[data-shb-theme="light"] {
    --shb-bg-main: #eef3f9;
    --shb-bg-surface: #ffffff;
    --shb-bg-card: #ffffff;
    --shb-bg-card-hover: #f3f7fb;
    --shb-bg-elevated: #e8eef6;
    --shb-border: #d4deea;
    --shb-border-light: #c5d2e1;
    --shb-text-white: #071528;
    --shb-text-main: #1d2c3c;
    --shb-text-muted: #586a7c;
    --shb-text-subtle: #738396;
    --shb-shadow-sm: 0 4px 14px rgba(19, 43, 70, 0.08);
    --shb-shadow-md: 0 12px 30px rgba(19, 43, 70, 0.10);
    --shb-shadow-lg: 0 20px 50px rgba(19, 43, 70, 0.14);
  }

:where(:root[data-shb-theme="light"]) body {
    background:
      radial-gradient(circle at 12% -10%, rgba(0, 110, 255, 0.10), transparent 32rem),
      #eef3f9;
  }

:where(:root[data-shb-theme="light"]) .top-nav-bar,
:where(:root[data-shb-theme="light"]) .trending-bar {
    background: rgba(255, 255, 255, 0.92);
  }

:where(:root[data-shb-theme="light"]) .top-nav-bar {
    border-bottom-color: #dfe7f1;
  }

:where(:root[data-shb-theme="light"]) .site-header,
:where(:root[data-shb-theme="light"]) .site-header.scrolled {
    background: rgba(255, 255, 255, 0.94);
    border-bottom-color: #d8e2ee;
    box-shadow: 0 10px 28px rgba(23, 49, 79, 0.08);
  }

:where(:root[data-shb-theme="light"]) .site-brand-title,
:where(:root[data-shb-theme="light"]) .main-nav-list > li > a,
:where(:root[data-shb-theme="light"]) .main-nav-fallback > a,
:where(:root[data-shb-theme="light"]) .header-icon-btn,
:where(:root[data-shb-theme="light"]) .trending-chip {
    color: #142438;
  }

:where(:root[data-shb-theme="light"]) .main-nav-list > li > a:hover,
:where(:root[data-shb-theme="light"]) .main-nav-list > li.current-menu-item > a,
:where(:root[data-shb-theme="light"]) .main-nav-list > li.current-menu-ancestor > a,
:where(:root[data-shb-theme="light"]) .main-nav-fallback > a:hover {
    background: rgba(0, 110, 255, 0.08);
    color: #071528;
  }

:where(:root[data-shb-theme="light"]) .header-icon-btn {
    background: #f7faff;
    border-color: #d3dfec;
  }

:where(:root[data-shb-theme="light"]) .news-card,
:where(:root[data-shb-theme="light"]) .review-card,
:where(:root[data-shb-theme="light"]) .video-card,
:where(:root[data-shb-theme="light"]) .sidebar-widget,
:where(:root[data-shb-theme="light"]) .article-reactions-container {
    border-color: #d9e3ef;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(26, 55, 87, 0.07);
  }

:where(:root[data-shb-theme="light"]) .news-card-title,
:where(:root[data-shb-theme="light"]) .review-card h3,
:where(:root[data-shb-theme="light"]) .video-card h3,
:where(:root[data-shb-theme="light"]) .widget-title,
:where(:root[data-shb-theme="light"]) .single-article-title,
:where(:root[data-shb-theme="light"]) .article-content-body h2 {
    color: #0c1d31 !important;
  }

:where(:root[data-shb-theme="light"]) .search-modal-card {
    background: #ffffff;
  }

:where(:root[data-shb-theme="light"]) .search-modal-input-wrap {
    background: #f5f8fc;
  }

:where(:root[data-shb-theme="light"]) .search-modal-input {
    color: #13243a;
  }

  /* AudioHero and footer remain dark brand anchors in both modes. */
:where(:root[data-shb-theme="light"]) .podcast-showcase-section .podcast-details-content h2,
:where(:root[data-shb-theme="light"]) .podcast-showcase-section .podcast-description,
:where(:root[data-shb-theme="light"]) .podcast-showcase-section .platform-btn {
    color: #ffffff;
  }

:where(:root[data-shb-theme="light"]) .podcast-showcase-section .podcast-description {
    color: #bdd0e5;
  }

@media (max-width: 1024px) {
  .main-nav-list > li > a,
  .main-nav-fallback > a {
    padding-inline: 0.52rem;
    font-size: 0.76rem;
  }

  .footer-grid-compact {
    grid-template-columns: 1fr 1fr;
  }

  .footer-summary {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .hero-main-title {
    font-size: clamp(1.25rem, 5.5vw, 1.8rem);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .breaking-ticker-container {
    padding-inline: 0;
  }

  .ticker-label {
    flex: 0 0 auto;
    padding-inline: 0.65rem;
    font-size: 0.68rem;
  }

  .ticker-content {
    padding-inline: 0.7rem;
  }

  .ticker-item {
    font-size: 0.76rem;
  }

  .header-inner {
    min-height: 64px;
  }

  .site-logo-img,
  .custom-logo {
    max-height: 44px;
    width: auto;
  }

  .site-brand-title {
    font-size: 0.86rem;
  }

  .site-brand-tagline {
    display: none;
  }

  .hero-mosaic-section {
    padding-top: 1rem;
  }

  .hero-mosaic-main {
    min-height: 330px;
    height: 56vh;
    max-height: 440px;
    border-radius: 16px;
  }

  .hero-card {
    min-height: 230px;
    border-radius: 16px;
  }

  .podcast-showcase-section {
    margin: 2.25rem 0;
    border-radius: 20px;
  }

  .podcast-showcase-layout {
    grid-template-columns: 1fr;
  }

  .podcast-cover-art {
    width: min(100%, 300px);
    margin-inline: auto;
  }

  .podcast-details-content {
    text-align: left;
  }

  .podcast-details-content h2 {
    max-width: 14ch;
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .podcast-showcase-section::before {
    font-size: 5rem;
  }

  .podcast-platforms-list {
    gap: 0.55rem;
  }

  .platform-btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .footer-grid-compact {
    grid-template-columns: 1fr;
    gap: 1.65rem;
  }

  .footer-summary {
    grid-column: auto;
  }

  .footer-bottom-bar {
    align-items: flex-start;
  }
}

@media (max-width: 460px) {
  .site-brand-text {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .footer-bottom-bar {
    flex-direction: column;
  }

  .back-to-top-btn {
    align-self: flex-end;
  }
}

.shb-empty-state {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 150px;
  padding: 1.5rem;
  border: 1px dashed var(--shb-border-light);
  border-radius: 16px;
  background: var(--shb-bg-card);
  color: var(--shb-text-muted);
}

.shb-empty-state > i {
  flex: 0 0 auto;
  font-size: 1.5rem;
  color: var(--shb-blue);
}

.shb-empty-state strong,
.shb-empty-state span {
  display: block;
}

.shb-empty-state strong {
  color: var(--shb-text-white);
  font-size: 1rem;
}

.shb-empty-state span {
  margin-top: 0.3rem;
  font-size: 0.86rem;
}

.shb-empty-state-hero {
  min-height: 360px;
  justify-content: center;
  text-align: left;
}

.shb-empty-state-hero img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.shb-empty-state-compact {
  min-height: 110px;
}

.shb-fallback-image {
  object-fit: contain !important;
  padding: clamp(1rem, 6vw, 2.5rem);
  background:
    radial-gradient(circle at 50% 15%, rgba(0, 110, 255, 0.20), transparent 58%),
    var(--shb-bg-elevated);
}

.review-thumb-wrap,
.video-thumb-wrap {
  display: block;
  overflow: hidden;
}

.review-thumb-wrap img,
.video-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-score-badge .fa-star {
  color: #08080a;
  font-size: 0.9rem;
}

.review-card-body h3,
.shb-video-card-body h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
}

.review-card-body h3 a,
.shb-video-link,
.shb-video-link:hover,
.shb-video-link:focus {
  color: inherit;
  text-decoration: none;
}

.shb-video-link {
  display: block;
}

.shb-video-card-body {
  padding: 0.9rem;
}

.shb-video-card-body .badge {
  margin-bottom: 0.45rem;
}

.shb-video-link:focus-visible {
  outline: 3px solid var(--shb-yellow);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .hero-mosaic-main:hover img,
  .hero-card:hover img,
  .back-to-top-btn:hover {
    transform: none;
  }
}

/* SHB 3.0.2: visual identity aligned with the approved editorial prototype. */
.site-header,
.site-header.scrolled {
  position: relative;
  top: auto;
  isolation: isolate;
  border-bottom: 0;
  background: linear-gradient(90deg, rgba(3, 13, 29, .94) 0%, rgba(5, 25, 49, .66) 51%, rgba(3, 13, 29, .78) 100%), url('../images/editorial-panels.svg') center / cover no-repeat #06162c;
  box-shadow: none;
}

.site-header .header-inner {
  position: relative;
  z-index: 1;
  min-height: 126px;
  height: auto;
  padding-block: 1.9rem;
  gap: clamp(1rem, 4vw, 4rem);
}

.site-header .site-logo-img.shb-horizontal-logo,
.site-header .custom-logo-link .custom-logo {
  width: clamp(215px, 22vw, 310px);
  max-width: 100%;
  filter: drop-shadow(0 5px 14px rgba(0, 0, 0, .3));
}

.site-header .header-actions {
  min-width: 0;
  margin-left: auto;
}

.site-header .shb-header-search {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: clamp(240px, 29vw, 400px);
  min-height: 50px;
  padding: .8rem 1.05rem;
  gap: .85rem;
  border: 1.5px solid var(--shb-yellow);
  border-radius: 12px;
  background: rgba(5, 13, 29, .82);
  color: var(--shb-yellow);
  box-shadow: 0 0 0 4px rgba(255, 204, 0, .045), 0 14px 25px rgba(0, 0, 0, .24);
  text-align: left;
}

.shb-header-search .shb-search-hint {
  overflow: hidden;
  color: #cfdaeb;
  font-size: .9rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shb-nav-band {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, .14);
  border-bottom: 3px solid var(--shb-yellow);
  background: rgba(4, 12, 24, .97);
}

.shb-nav-band-inner {
  display: flex;
  min-height: 52px;
  justify-content: center;
  align-items: center;
}

.shb-nav-band .main-nav {
  width: 100%;
  justify-content: center;
}

.shb-nav-band .main-nav-list,
.shb-nav-band .main-nav-fallback {
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(.2rem, 1.3vw, 1rem);
}

.shb-nav-band .main-nav-list > li > a,
.shb-nav-band .main-nav-fallback > a {
  border-radius: 0;
  min-height: 50px;
  color: #f4f8ff;
  font-size: .79rem;
  font-weight: 900;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.shb-nav-band .main-nav-list > li > a:hover,
.shb-nav-band .main-nav-list > li.current-menu-item > a,
.shb-nav-band .main-nav-fallback > a:hover {
  background: rgba(255, 204, 0, .08);
  color: var(--shb-yellow);
}

.shb-home-intro {
  position: relative;
  border-bottom: 1px solid var(--shb-border);
  background: linear-gradient(108deg, rgba(0, 110, 255, .085), transparent 66%), var(--shb-bg-surface);
}

.shb-home-intro-inner {
  padding-block: clamp(2rem, 3.5vw, 3.2rem) clamp(2rem, 3.2vw, 2.9rem);
}

.shb-home-intro h1 {
  max-width: 715px;
  margin: 0;
  color: var(--shb-text-white);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3.55rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.shb-intro-deck {
  max-width: 740px;
  margin: .85rem 0 0;
  color: var(--shb-text-muted);
  font-size: clamp(.94rem, 1.28vw, 1.03rem);
  line-height: 1.6;
}

.hero-mosaic-section {
  padding-top: clamp(1.3rem, 2vw, 1.9rem);
}

.shb-highlight-heading {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1.15rem;
  color: var(--shb-text-white);
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 900;
  letter-spacing: -.02em;
}

.shb-highlight-line {
  width: 5px;
  height: 1.2em;
  flex: 0 0 auto;
  border-radius: 2px;
  background: var(--shb-yellow);
}

/* Appearance and submenu controls follow the compact masthead treatment. */
:root { color-scheme: dark; }
:root[data-shb-theme="light"] { color-scheme: light; }

.site-header .shb-appearance {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  min-height: 42px;
  padding: 0;
  background: #0b192d;
  color: var(--shb-yellow);
  border-color: #41516a;
}

.shb-appearance[hidden],
.shb-appearance .shb-icon-moon,
:root[data-shb-theme="light"] .shb-appearance .shb-icon-sun,
[data-submenu-label] .sub-menu[hidden] { display: none; }

.site-header .shb-appearance[hidden] { display: none; }
:root[data-shb-theme="light"] .shb-appearance .shb-icon-moon { display: block; }

[data-submenu-label] .menu-item-has-children {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.shb-submenu-toggle {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 44px;
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: inherit;
}

.shb-submenu-toggle::before {
  content: "";
  width: 7px;
  height: 7px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: translateY(-2px) rotate(45deg);
}

.shb-submenu-toggle[aria-expanded="true"]::before {
  transform: translateY(2px) rotate(225deg);
}

[data-submenu-label] :is(a, button):focus-visible,
.site-header button:focus-visible {
  outline: 2px solid var(--shb-yellow);
  outline-offset: -2px;
}

.shb-nav-band .menu-item-has-children {
  color: #f4f8ff;
}

.shb-nav-band .sub-menu {
  position: absolute;
  inset: 100% auto auto 0;
  z-index: 4;
  width: max-content;
  max-width: min(245px, 85vw);
  padding: .35rem;
  border: 1px solid #41516a;
  border-radius: 8px;
  background: #0b192d;
  color: #f4f8ff;
}

.shb-nav-band .main-nav-list > li:nth-last-child(-n+2) > .sub-menu {
  inset-inline: auto 0;
}

.shb-nav-band .sub-menu .sub-menu {
  position: static;
  width: 100%;
  margin-inline-start: .35rem;
  border-width: 0 0 0 1px;
}

.shb-nav-band .sub-menu a {
  display: block;
  flex: 1;
  min-width: 0;
  padding: .6rem .65rem;
  color: inherit;
  overflow-wrap: anywhere;
}

.shb-nav-band .sub-menu a:hover { color: var(--shb-yellow); }

.mobile-drawer-nav .menu-item-has-children > a { flex: 1; }
.mobile-drawer-nav .sub-menu {
  width: 100%;
  margin-inline-start: .8rem;
  border-inline-start: 1px solid var(--shb-border);
}

@media (max-width: 460px) {
  .site-header .header-actions { gap: .35rem; }
  .site-header .site-logo-img.shb-horizontal-logo,
  .site-header .custom-logo-link .custom-logo { max-width: 42vw; }
}

.shb-feed-pagination .page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-block: 1rem;
}

.shb-feed-pagination ul.page-numbers {
  padding-inline-start: 0;
  list-style: none;
}

.shb-feed-pagination li .page-numbers {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding-inline: .75rem;
  border: 1px solid var(--shb-border);
  border-radius: 6px;
  color: var(--shb-text-white);
  background: var(--shb-bg-card);
}

.shb-feed-pagination li .current {
  color: #0b192d;
  background: var(--shb-yellow);
}

#shb-news, #audiohero-about { scroll-margin-top: 10rem; }

.footer-character-strip {
  background: #0a1329;
  border-block: 1px solid #283653;
}

.shb-footer-cast {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 265px);
  align-items: center;
  gap: clamp(.8rem, 4vw, 4rem);
}

.shb-footer-cast h2 {
  max-width: 18ch;
  margin: 0 0 .65rem;
  color: #fff;
  font: 800 clamp(1.18rem, 3.1vw, 2.7rem)/1.12 var(--font-heading);
  text-wrap: balance;
}

.shb-footer-cast a { color: #ffcc00; }
.shb-footer-cast a:hover { text-decoration: underline; }
.shb-footer-cast img { display: block; width: 100%; height: auto; }

@media (max-width: 540px) {
  .shb-footer-cast { grid-template-columns: minmax(0, 1fr) minmax(0, 44%); }
  .shb-footer-cast a { font-size: .84rem; }
}

.hero-mosaic-grid {
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  grid-template-rows: 260px 260px;
  gap: 1.1rem;
}

.hero-sub-grid {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.hero-mosaic-main,
.hero-card {
  border-radius: 14px;
}

.hero-mosaic-main .hero-main-title {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 2.4vw, 2.5rem);
  line-height: 1.12;
}

.hero-card--story {
  display: grid;
  grid-template-rows: 55% minmax(0, 1fr);
  min-width: 0;
  min-height: 0;
  height: auto;
  padding: 0;
  background: var(--shb-bg-card);
  justify-content: stretch;
  cursor: default;
}

.hero-card--story::after {
  content: none;
}

.hero-story-image-link {
  display: block;
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.hero-card--story .hero-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-story-badge {
  position: absolute;
  z-index: 4;
  top: .75rem;
  left: .75rem;
  pointer-events: none;
}

.hero-card--story .hero-card-content {
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
  gap: .5rem;
  min-width: 0;
  padding: .85rem 1rem;
  background: var(--shb-bg-card);
}

.hero-card--story .hero-card-meta {
  margin: 0;
}

.hero-card--story .news-card-time {
  color: var(--shb-text-muted);
  font-size: .78rem;
}

.hero-card--story .hero-sub-title {
  margin: 0;
  color: var(--shb-text-white);
  font-family: var(--font-heading);
  font-size: clamp(.98rem, 1.12vw, 1.15rem);
  line-height: 1.3;
  font-weight: 800;
}

.hero-card--story .hero-sub-title a {
  color: inherit;
  text-shadow: none;
}

.hero-card--story .hero-sub-title a:hover {
  color: var(--shb-blue);
}

.shb-audiohero-feature {
  position: relative;
  padding-block: clamp(1rem, 2vw, 2rem);
}

.shb-audiohero-feature .podcast-showcase-section {
  margin: 1.5rem 0 2rem;
  padding: clamp(1.4rem, 3.6vw, 3.9rem);
  border: 1px solid rgba(255, 204, 0, .44);
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 14% 15%, rgba(0, 110, 255, .65), transparent 40%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .018) 0 2px, transparent 2px 16px),
    linear-gradient(112deg, #061329 0%, #0d2e58 58%, #050e1d 100%);
  box-shadow: 0 25px 70px rgba(0, 20, 54, .3);
}

.shb-audiohero-feature .podcast-showcase-section::before {
  right: .12em;
  top: -.07em;
  bottom: auto;
  color: rgba(255, 255, 255, .045);
  font-size: clamp(5rem, 13vw, 13rem);
}

.shb-audiohero-feature .podcast-showcase-layout {
  align-items: center;
  grid-template-columns: minmax(255px, 365px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.shb-audiohero-feature .podcast-cover-art {
  max-width: 365px;
  border: 4px solid rgba(255, 204, 0, .77);
  border-radius: 12px;
  transform: rotate(-1.5deg);
  box-shadow: 14px 18px 0 rgba(0, 110, 255, .25), 0 35px 55px rgba(0, 0, 0, .48);
}

.shb-audiohero-feature .podcast-details-content h2 {
  max-width: 21ch;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.06;
}

.shb-audiohero-feature .podcast-description {
  max-width: 65ch;
  font-size: 1.06rem;
}

.shb-audiohero-feature .podcast-embed-wrap {
  max-width: 860px;
  border-radius: 12px;
  background: #081627;
}

.shb-audiohero-feature .platform-btn-primary {
  color: #e8fff0;
}

:where(:root[data-shb-theme="light"]) .shb-home-intro {
    background: linear-gradient(110deg, #e4eefc 0%, #f8fbff 55%, #fff 100%);
  }
:where(:root[data-shb-theme="light"]) .hero-card--story {
    border-color: #dbe4ee;
    background: #ffffff;
  }
:where(:root[data-shb-theme="light"]) .hero-card--story .hero-card-content {
    background: #ffffff;
  }
:where(:root[data-shb-theme="light"]) .site-header,
:where(:root[data-shb-theme="light"]) .site-header.scrolled {
    background: linear-gradient(90deg, rgba(3, 13, 29, .94) 0%, rgba(5, 25, 49, .66) 51%, rgba(3, 13, 29, .78) 100%), url('../images/editorial-panels.svg') center / cover no-repeat #06162c;
    border-bottom: 0;
    box-shadow: none;
  }
:where(:root[data-shb-theme="light"]) .site-header .header-icon-btn {
    color: var(--shb-yellow);
  }
:where(:root[data-shb-theme="light"]) .site-header .site-brand-title {
    color: #fff;
  }
:where(:root[data-shb-theme="light"]) .shb-nav-band .main-nav-list > li > a,
:where(:root[data-shb-theme="light"]) .shb-nav-band .main-nav-fallback > a {
    color: #f4f8ff;
  }
:where(:root[data-shb-theme="light"]) .shb-nav-band .main-nav-list > li > a:hover,
:where(:root[data-shb-theme="light"]) .shb-nav-band .main-nav-list > li.current-menu-item > a,
:where(:root[data-shb-theme="light"]) .shb-nav-band .main-nav-fallback > a:hover {
    color: var(--shb-yellow);
  }

@media (max-width: 1024px) {
  .shb-audiohero-feature .podcast-showcase-layout {
    grid-template-columns: minmax(190px, 280px) minmax(0, 1fr);
    gap: 1.7rem;
  }
  .hero-mosaic-grid {
    grid-template-rows: 235px 235px;
  }
}

@media (max-width: 768px) {
  .site-header .header-inner {
    min-height: 80px;
    padding-block: 1rem;
  }
  .site-header .site-logo-img.shb-horizontal-logo,
  .site-header .custom-logo-link .custom-logo {
    width: min(210px, 49vw);
  }
  .site-header .shb-header-search {
    width: 42px;
    min-height: 42px;
    padding: 0;
    justify-content: center;
    border-radius: 10px;
  }
  .shb-header-search .shb-search-hint,
  .shb-nav-band {
    display: none;
  }
  .shb-home-intro-inner {
    padding-block: 2rem 1.85rem;
  }
  .shb-home-intro h1 {
    font-size: clamp(2rem, 5.9vw, 2.75rem);
  }
  .shb-highlight-meta {
    display: none;
  }
  .hero-mosaic-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .hero-mosaic-main {
    height: clamp(320px, 58vw, 420px);
  }
  .hero-sub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }
  .hero-sub-grid .hero-card--story {
    height: 245px;
  }
  .shb-audiohero-feature .podcast-showcase-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .shb-audiohero-feature .podcast-cover-art {
    width: min(80%, 280px);
    margin: 0 auto;
    transform: rotate(-1deg);
  }
  .shb-audiohero-feature .podcast-details-content h2 {
    max-width: none;
    font-size: clamp(2rem, 6.3vw, 3rem);
  }
}

@media (max-width: 460px) {
  .site-header .header-inner {
    gap: .6rem;
  }
  .site-header .site-logo-img.shb-horizontal-logo,
  .site-header .custom-logo-link .custom-logo {
    width: min(185px, 49vw);
  }
  .shb-home-intro h1 {
    font-size: clamp(1.8rem, 8vw, 2.25rem);
  }
  .hero-sub-grid {
    grid-template-columns: 1fr;
  }
  .hero-sub-grid .hero-card--story {
    height: 242px;
  }
  .shb-audiohero-feature .podcast-showcase-section {
    padding: 1.15rem;
  }
  .shb-audiohero-feature .podcast-cover-art {
    width: min(78%, 240px);
  }
  .shb-audiohero-feature .podcast-details-content h2 {
    font-size: clamp(1.8rem, 8vw, 2.35rem);
  }
  .shb-audiohero-feature .podcast-description {
    font-size: .95rem;
  }
}

/* 3.0.3 — AudioHero e rodapé conforme as referências fornecidas. As imagens
   permanecem intactas; as janelas de background exibem somente as artes. */
.audiohero-reference-banner{position:relative;isolation:isolate;overflow:visible;background:#020d1c;border:1px solid #315979;border-radius:12px;padding:16px 75px 16px 16px;box-shadow:inset 0 0 18px #082a52;margin:0}
.audiohero-reference-banner:after{content:"";position:absolute;z-index:-1;right:0;top:0;bottom:0;width:70px;background:url('../images/audiohero-reference.png') right center/auto 100% no-repeat;border-radius:0 12px 12px 0;pointer-events:none}
.audiohero-reference-banner .podcast-showcase-layout{display:grid;grid-template-columns:minmax(190px,1.15fr) minmax(220px,1.55fr) minmax(170px,1fr);gap:18px;align-items:center}
.audiohero-reference-banner.audiohero-with-art .podcast-showcase-layout{grid-template-columns:minmax(190px,1.15fr) 140px minmax(220px,1.55fr) minmax(170px,1fr)}
.audiohero-brand{width:100%;aspect-ratio:400/155;background:url('../images/audiohero-reference.png') 5.84% 50%/357% 122.58% no-repeat;min-width:0}
.audiohero-reference-banner .audiohero-episode-art{width:140px;height:140px;object-fit:cover;border:1px solid #315979;border-radius:9px}
.audiohero-reference-banner .podcast-details-content{min-width:0}
.audiohero-reference-banner #audiohero-title{font:800 clamp(16px,1.5vw,22px)/1.15 var(--font-body,sans-serif);letter-spacing:0;margin:6px 0;color:#f6f8ff}
.audiohero-reference-banner .podcast-description{font-size:12px;line-height:1.45;color:#acb8cb;margin:0 0 7px;max-width:440px}
.audiohero-banner-actions{display:flex;flex-direction:column;gap:7px}
.audiohero-banner-actions a{display:flex;align-items:center;gap:12px;min-height:38px;padding:8px 12px;border:1px solid #67899b;border-radius:8px;color:#f4f7fb;background:#030c18;text-transform:uppercase;font:800 10px/1.3 var(--font-body,sans-serif);text-decoration:none}
.audiohero-banner-actions i{font-size:18px;flex:0 0 20px}
.audiohero-banner-actions a:hover,.footer-audiohero-spotify:hover{border-color:#ffdb35;color:#ffdb35}
.audiohero-player summary{cursor:pointer;display:flex;align-items:center;gap:10px;list-style:none;color:#bcc9da;font-size:11px}
.audiohero-player summary::-webkit-details-marker{display:none}
.audiohero-play-icon{display:grid;place-items:center;border-radius:50%;width:38px;height:38px;flex:0 0 38px;background:#ffdb35;color:#031025;font-size:17px;padding-left:2px}
.audiohero-player-panel{position:absolute;z-index:5;top:calc(100% + 8px);left:33%;right:0;padding:14px;border:1px solid #46677e;border-radius:12px;background:#061222;box-shadow:0 14px 30px #0008}
.audiohero-player-panel iframe{display:block;width:100%;height:152px;border:0;border-radius:9px}
.audiohero-player-panel p{color:#bdc8da;font-size:12px;margin:8px 0 0}.audiohero-player-panel a{color:#ffdb35;text-decoration:underline}
.shb-reference-footer{padding:0!important;background:#020913!important;color:#b4bdcb;border-top:1px solid #16273d}
.footer-reference-grid{display:grid;grid-template-columns:1.35fr .62fr .85fr 1.45fr;gap:32px;padding:36px 0 28px;align-items:start}
.footer-reference-summary{padding-right:24px;border-right:1px solid #162236}
.footer-reference-logo{display:block;width:min(100%,310px);height:auto;margin:0 0 22px}
.footer-reference-summary p,.footer-audiohero-card p{font:400 12px/1.45 var(--font-body,sans-serif);color:#b7c0cf;margin:0 0 7px}
.footer-reference-summary .footer-social-list{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 14px}
.shb-reference-footer .footer-social-link{display:grid;place-items:center;width:30px;height:30px;border:1px solid #3b475c;border-radius:50%;color:#d5dce7;background:transparent}
.footer-reference-summary .footer-community{border-left:2px solid #ffdb35;padding-left:12px;max-width:210px}
.footer-reference-grid h2{font:800 12px/1.2 var(--font-body,sans-serif);text-transform:uppercase;color:#f3f5f9;margin:6px 0 20px;letter-spacing:.02em}
.footer-reference-grid h2:after{content:"";display:block;background:#ffdb35;width:25px;height:2px;margin-top:11px}
.footer-reference-grid ul{list-style:none;margin:0;padding:0;display:grid;gap:11px}
.footer-reference-grid li,.footer-reference-grid li a{font:400 11px/1.4 var(--font-body,sans-serif);color:#a9b3c3}
.footer-reference-grid li a{display:flex;align-items:center;gap:10px;text-decoration:none}
.footer-reference-grid li a:hover{color:#ffdb35}.footer-reference-grid li i{width:15px;color:#b4c5d6;font-size:14px}
.footer-audiohero-card{position:relative;isolation:isolate;overflow:hidden;min-height:220px;padding:12px 16px;border:1px solid #21354f;border-radius:7px;background:#020c1b}
.footer-audiohero-card:after{position:absolute;z-index:-1;content:"";inset:0 0 0 auto;width:90px;background:url('../images/audiohero-reference.png') right center/auto 100% no-repeat;opacity:.8}
.footer-audiohero-card .audiohero-brand{width:90%;max-width:280px;margin-bottom:8px}
.footer-audiohero-card p{position:relative;max-width:230px;font-size:11px;margin-bottom:12px}
.footer-audiohero-spotify{display:flex;align-items:center;gap:10px;border:1px solid #7893a8;border-radius:5px;padding:10px 12px;max-width:245px;background:#03101ee8;color:#f5f8ff;font-size:10px;font-weight:800;text-transform:uppercase}
.footer-audiohero-spotify span{margin-left:auto}.footer-audiohero-spotify i{font-size:20px}
.footer-reference-bottom{display:flex;gap:22px;align-items:center;padding-top:20px;padding-bottom:20px}
.footer-reference-bottom>a{flex:0 0 180px}.footer-reference-bottom img{width:180px;height:auto;display:block}
.footer-reference-bottom p{border-left:1px solid #8a741d;padding-left:22px;font-size:9px;line-height:1.7;color:#93a0b3;white-space:nowrap;margin:0}
.footer-reference-bottom nav{display:flex;gap:18px;margin-left:auto}.footer-reference-bottom nav a{font-size:9px;color:#98a5b8;white-space:nowrap}
.footer-made-with{font-size:8px;text-transform:uppercase;color:#8998ae;white-space:nowrap}.footer-made-with span{color:#ffdb35;font-size:16px}
.shb-reference-footer .back-to-top-btn{position:static;width:34px;height:34px;flex:0 0 34px;border:1px solid #887829;border-radius:50%;background:transparent;color:#ffdb35}
@media(max-width:1100px){.audiohero-reference-banner .podcast-showcase-layout{grid-template-columns:1fr 1.3fr;gap:16px}.audiohero-reference-banner.audiohero-with-art .podcast-showcase-layout{grid-template-columns:1fr 110px 1.3fr}.audiohero-reference-banner .audiohero-episode-art{width:110px;height:110px}.audiohero-banner-actions{grid-column:1/-1;flex-direction:row}.audiohero-banner-actions a{flex:1}.footer-reference-grid{gap:20px;grid-template-columns:1.15fr .65fr .85fr 1.2fr}.footer-reference-bottom{flex-wrap:wrap}.footer-reference-bottom nav{margin-left:0}.footer-reference-summary{padding-right:16px}}
@media(max-width:767px){.audiohero-reference-banner{padding:18px 25px 18px 18px}.audiohero-reference-banner .podcast-showcase-layout{grid-template-columns:minmax(0,1fr);gap:16px}.audiohero-reference-banner.audiohero-with-art .podcast-showcase-layout{grid-template-columns:110px minmax(0,1fr)}.audiohero-reference-banner .audiohero-brand{grid-column:1/-1;width:280px;max-width:100%;justify-self:center}.audiohero-reference-banner #audiohero-title{font-size:18px}.audiohero-reference-banner .podcast-description{font-size:11px}.audiohero-banner-actions{flex-direction:column}.audiohero-banner-actions a{font-size:11px;min-height:42px}.audiohero-player-panel{left:0;right:0}.footer-reference-grid{grid-template-columns:1fr 1fr;gap:28px 22px;padding-top:28px}.footer-reference-summary{grid-column:1/-1;border:0;padding:0}.footer-reference-summary p{max-width:340px}.footer-audiohero-card{grid-column:1/-1;max-width:440px;width:100%}.footer-reference-bottom{gap:16px}.footer-reference-bottom>a{flex-basis:140px}.footer-reference-bottom img{width:140px}.footer-reference-bottom p{padding-left:12px;font-size:8px}.footer-reference-bottom nav{flex-wrap:wrap;gap:12px}.footer-made-with{margin-left:auto}.footer-reference-bottom .back-to-top-btn{margin-left:auto}}
@media(max-width:359px){.audiohero-reference-banner.audiohero-with-art .podcast-showcase-layout{grid-template-columns:82px minmax(0,1fr);gap:12px}.audiohero-reference-banner .audiohero-episode-art{width:82px;height:82px}.audiohero-reference-banner #audiohero-title{font-size:16px}.footer-reference-grid{gap:24px 16px}}
/* Corrige a prioridade do estilo editorial anterior no banner compacto. */
.shb-audiohero-feature .podcast-showcase-section.audiohero-reference-banner{padding:16px 75px 16px 16px;background:#020d1c;border:1px solid #315979;border-radius:12px;overflow:visible}
.shb-audiohero-feature .podcast-showcase-section.audiohero-reference-banner:before{display:none}
@media(max-width:767px){.shb-audiohero-feature .podcast-showcase-section.audiohero-reference-banner{padding:18px 25px 18px 18px}}

/* Text over photography and other fixed dark surfaces keeps light ink in both modes. */
.hero-mosaic-main .hero-main-excerpt,
.hero-mosaic-main .card-author-bar {
  color: #dce7f3;
}
