.logo-inline-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  margin-right: 0;
  margin-left: 14px;
  transform: none;
  vertical-align: middle;
}

.logo-text {
  margin-left: -6px;
}

:root {
  --hero-line-rgb: 255, 255, 255;
  --hero-line-alpha-main: 0.30;
  --hero-line-alpha-ghost: 0.18;
  --hero-line-alpha-ghost2: 0.11;
  --hero-glow-alpha: 0.10;
  --hero-contrast: 1.25;
  --hero-brightness: 1.05;
}

body.theme-light {
  --hero-line-rgb: 35, 35, 35;
  --hero-line-alpha-main: 0.20;
  --hero-line-alpha-ghost: 0.12;
  --hero-line-alpha-ghost2: 0.08;
  --hero-glow-alpha: 0.08;
  --hero-contrast: 1.2;
  --hero-brightness: 0.95;
}

.home-main {
  width: min(1200px, 94%);
  margin: 0 auto;
  padding: 0 0 12px;
  display: grid;
  gap: 12px;
  background: transparent;
  position: relative;
  z-index: 1;
  overflow: visible !important;
}

body.home-page #site-header,
body.home-page #site-header .navbar,
body.home-page #site-header .topbar {
  box-shadow: none !important;
  border: none !important;
}

body.home-page #site-header {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  z-index: 30 !important;
}

body.home-page #site-header .navbar,
body.home-page #site-header .topbar {
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: auto !important;
}

body.home-page #site-header .topbar-nav-wrap,
body.home-page #site-header nav {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

body.home-page #site-header .topbar {
  padding: 14px 28px !important;
  min-height: 72px;
  background: rgba(11, 11, 15, 0.5) !important;
  backdrop-filter: blur(10px) !important;
  opacity: 0;
  transform: translateY(-18px);
  animation: none;
}

body.home-page #site-header .topbar nav {
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent !important;
}

body.home-page #site-header .nav-list {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

body.home-page #site-header .nav-list li {
  list-style: none;
}

body.home-page #site-header .search-container {
  min-width: 300px;
}

body.home-page #site-header .search {
  background: rgba(17, 17, 17, 0.72) !important;
  color: #dbe4f0 !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
}

body.home-page #site-header .search::placeholder {
  color: #94a3b8 !important;
}

body.home-page #site-header .theme-toggle {
  background: rgba(17, 17, 17, 0.76) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

body.home-page.theme-light #site-header .search {
  background: rgba(255, 255, 255, 0.72) !important;
  color: #0f172a !important;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.12) !important;
}

body.home-page.theme-light #site-header .search::placeholder {
  color: #64748b !important;
}

body.home-page.theme-light #site-header .theme-toggle {
  background: rgba(255, 255, 255, 0.72) !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
}

body.home-page.theme-light #site-header .topbar {
  background: rgba(255, 255, 255, 0.5) !important;
  backdrop-filter: blur(10px) !important;
}

html,
body {
  overflow-x: hidden;
}

.home-main > * {
  min-width: 0;
}

.home-hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  place-items: center;
  overflow: visible;
  isolation: isolate;
  padding: 78px 0 24px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  z-index: 0;
}

.hero-lines {
  position: absolute;
  inset: -20px 0 -10px 0;
  width: 100%;
  height: calc(100% + 30px);
  border: 0;
  opacity: 0;
  pointer-events: none;
  background: transparent;
  animation: none;
  filter: none;
  mix-blend-mode: normal;
  z-index: 1;
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 72%,
    rgba(0, 0, 0, 0.8) 84%,
    rgba(0, 0, 0, 0.35) 93%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 72%,
    rgba(0, 0, 0, 0.8) 84%,
    rgba(0, 0, 0, 0.35) 93%,
    rgba(0, 0, 0, 0) 100%
  );
}

.hero-lines-boost {
  clip-path: polygon(0 0, 34% 0, 26% 100%, 0 100%);
  opacity: 0;
}

.hero-lines::before {
  content: none;
}

.hero-lines::after {
  content: none;
}


.home-hero-content {
  position: relative;
  z-index: 10;
  width: min(980px, 90vw);
  margin-top: 0;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
  opacity: 1 !important;
  visibility: visible !important;
  animation: none;
}

.home-intro {
  text-align: center;
  padding: 12px 0 0;
  position: relative;
  z-index: 12;
  overflow: hidden;
  opacity: 1 !important;
  visibility: visible !important;
}

.home-intro-kicker {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 1;
  font-weight: 800;
  color: #E30613;
  letter-spacing: -0.045em;
  text-wrap: balance;
  overflow: hidden;
}

.home-intro-copy {
  margin: 12px auto 0;
  max-width: 760px;
  color: #cbd5e1;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.65;
  text-wrap: balance;
  overflow: hidden;
}

.reveal-line {
  display: block;
  opacity: 0;
  transform: translateY(32px);
  animation: none;
  will-change: transform, opacity, filter;
}

.reveal-line.d1 {
  transform: translateY(34px);
  color: #E30613;
  margin: 0;
  padding-bottom: 0.12em;
}

.reveal-line.d2 {
  color: #E30613;
  margin: 0;
  padding-top: 0.12em;
}

.reveal-line.d2,
.reveal-line.d3,
.reveal-line.d4 {
  transform: translateY(115%);
  filter: blur(8px);
}

.reveal-line.d3,
.reveal-line.d4 {
  font-family: Inter, sans-serif;
  font-size: inherit;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.welcome-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 8px 0 0;
  border-radius: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  overflow: hidden;
  z-index: 2;
}

.welcome-card h1 {
  font-family: Montserrat, sans-serif;
  font-size: clamp(2.15rem, 4.2vw, 3.35rem);
  line-height: 1.08;
  margin-bottom: 12px;
  color: #fff;
  letter-spacing: -0.02em;
}

.welcome-highlight {
  color: #E30613;
  text-shadow: none;
}

.welcome-card p {
  color: #cbd5e1;
  max-width: 62ch;
  line-height: 1.72;
  margin-bottom: 20px;
  font-size: 1.02rem;
}

.welcome-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.welcome-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn-main {
  background: linear-gradient(90deg, #E30613, #E30613);
  color: #fff;
  box-shadow: none;
}

.btn-main:hover {
  transform: none;
  box-shadow: none;
}

.btn-alt {
  border-color: rgba(239, 68, 68, 0.45);
  color: #fecaca;
  background: rgba(239, 68, 68, 0.12);
}

.btn-alt:hover {
  transform: none;
  background: rgba(239, 68, 68, 0.14);
}

.broadcast-box {
  position: relative;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.broadcast-core {
  position: relative;
  z-index: 2;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.broadcast-core img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.ring {
  display: none;
}

.ring.r1 {
  width: 160px;
  height: 160px;
  animation-delay: 0s;
}

.ring.r2 {
  width: 210px;
  height: 210px;
  animation-delay: .4s;
}

.ring.r3 {
  width: 260px;
  height: 260px;
  animation-delay: .8s;
}

.section-card {
  padding: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: none;
  min-width: 0;
}

#episodios-home {
  margin-top: clamp(64px, 10vh, 128px);
  position: relative;
  z-index: 3;
}

.doubts-card {
  position: relative;
  z-index: 3;
  margin-top: 14px;
}

.doubts-head p {
  max-width: 680px;
}

.doubts-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-group {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.faq-group-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 4px 2px 8px;
}

.faq-group-index {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(227, 6, 19, 0.16);
  color: #f8fafc;
  font-family: Montserrat, sans-serif;
  font-weight: 800;
}

.faq-group-head h3 {
  margin: 0;
  color: #f8fafc;
  font-size: 1rem;
  font-family: Montserrat, sans-serif;
}

.faq-group-head p {
  margin: 4px 0 0;
  color: #94a3b8;
  line-height: 1.5;
  font-size: 0.94rem;
}
.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 16px;
  font-weight: 700;
  color: #f8fafc;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  padding: 0 16px 14px;
  color: #cbd5e1;
  line-height: 1.6;
}

.doubts-form {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 10px;
}

.doubts-form label {
  display: grid;
  gap: 6px;
  color: #cbd5e1;
  font-size: 0.92rem;
  font-weight: 600;
}

.doubts-form input,
.doubts-form select,
.doubts-form textarea {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.55);
  color: #f8fafc;
  padding: 10px 12px;
  font-size: 0.95rem;
  font-family: inherit;
}

.doubts-form textarea {
  resize: vertical;
  min-height: 120px;
}

.doubts-feedback {
  color: #93c5fd;
  font-size: 0.92rem;
}

.doubts-auto-reply {
  border: 1px solid rgba(227, 6, 19, 0.38);
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(227, 6, 19, 0.08);
  color: #fecaca;
  font-size: 0.92rem;
  line-height: 1.55;
}

.newsletter-card {
  padding: 14px 0 10px;
  margin-top: 0;
  width: min(760px, 100%);
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  position: relative;
  z-index: 3;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none;
  pointer-events: auto;
}

.newsletter-reveal-shell {
  width: min(760px, 100%);
  margin-top: -4px;
  opacity: 0;
  transform: translateY(58px);
  overflow: hidden;
  pointer-events: none;
}

.newsletter-head {
  text-align: center;
  margin-bottom: 14px;
}

#newsletter-home .section-head h2 {
  color: #E30613;
}

#newsletter-home .section-head p {
  color: #cbd5e1;
}

.newsletter-start-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
  max-width: 760px;
  margin: 0 auto;
}

.newsletter-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  border: 1.5px solid rgba(227, 6, 19, 0.72);
  border-radius: 999px;
  padding: 0 18px;
  background: rgba(227, 6, 19, 0.08);
}

.newsletter-pill i {
  color: #E30613;
  font-size: 1.45rem;
}

.newsletter-pill input {
  border: none !important;
  outline: none;
  background: transparent !important;
  color: #f8fafc !important;
  padding: 0 !important;
  width: 100%;
  font-size: 1.15rem;
  line-height: 1;
}

.newsletter-pill input::placeholder {
  color: #cbd5e1;
}

#newsletter-start-form .btn.btn-main {
  min-height: 62px;
  border-radius: 999px;
  padding: 0 26px;
  background: #E30613;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  border: 1px solid rgba(227, 6, 19, 0.7);
}

.newsletter-form {
  display: grid;
  gap: 18px;
}

.newsletter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.newsletter-form label {
  display: grid;
  gap: 6px;
  color: #cbd5e1;
  font-size: 0.92rem;
  font-weight: 600;
}

.newsletter-form input,
.newsletter-form select {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.55);
  color: #f8fafc;
  padding: 10px 12px;
  font-size: 0.95rem;
}

.newsletter-topics {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.newsletter-topics legend {
  color: #f8fafc;
  font-weight: 700;
  padding: 0 6px;
}

.newsletter-topics label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.newsletter-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.newsletter-feedback {
  color: #93c5fd;
  font-size: 0.92rem;
  text-align: center;
}

.newsletter-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
}

.newsletter-modal[hidden] {
  display: none !important;
  pointer-events: none !important;
}

.newsletter-modal:not([hidden]) {
  display: block;
}

.newsletter-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.newsletter-modal-panel {
  position: relative;
  width: min(680px, 94vw);
  margin: 8vh auto 0;
  background: #0b111a;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.36);
}

.newsletter-modal-panel h3 {
  color: #f8fafc;
  margin-bottom: 6px;
}

.newsletter-modal-panel p {
  color: #cbd5e1;
  margin-bottom: 12px;
}

.newsletter-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: none;
  background: transparent;
  color: #cbd5e1;
  font-size: 1.6rem;
  cursor: pointer;
}

.section-head { margin-bottom: 14px; }

.section-head h2 {
  font-family: Montserrat, sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  color: #fff;
  margin-bottom: 5px;
  letter-spacing: -0.01em;
}

.section-head p {
  color: #94a3b8;
  font-size: .95rem;
}

.episodes-list {
  display: grid;
  gap: 12px;
}

.episodes-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.episode-row {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 14px;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 12px 14px;
  min-height: 102px;
}

.episode-row img {
  width: 84px;
  height: 58px;
  border-radius: 10px;
  object-fit: cover;
}

.episode-meta h3 {
  color: #111827;
  font-size: 0.9rem;
  margin-bottom: 2px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.episode-meta p {
  color: #475569;
  font-size: 0.78rem;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.episode-actions {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.episode-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 999px;
  background: #ffffff;
  color: #111827;
  cursor: pointer;
  font-size: 0.95rem;
}

.episode-action:hover {
  border-color: rgba(227, 6, 19, 0.58);
  color: #E30613;
}

#home-video-player {
  z-index: 2100;
  padding: 16px;
}

.home-player-panel {
  width: min(1180px, 96vw);
  max-height: 92vh;
  display: grid;
  grid-template-rows: minmax(320px, 72vh) auto auto;
  gap: 12px;
  background: #060606;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 14px;
}

#home-video-frame {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: 10px;
  border: none;
  background: #000000;
}

.home-player-suggestions h3 {
  color: #f8fafc;
  font-size: 0.95rem;
  margin: 0 0 8px;
}

.home-video-suggestions {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.home-suggestion-item {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(12, 12, 12, 0.95);
  color: #f8fafc;
  border-radius: 9px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 68px auto;
  text-align: left;
  cursor: pointer;
  min-width: 0;
}

.home-suggestion-item img {
  width: 100%;
  height: 68px;
  object-fit: cover;
}

.home-suggestion-item span {
  font-size: 0.72rem;
  line-height: 1.32;
  padding: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-suggestion-item:hover {
  border-color: rgba(227, 6, 19, 0.72);
  color: #ffffff;
}

.carousel-shell {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  padding: 2px 4px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

#noticias-home .carousel-shell {
  padding-left: 38px;
  padding-right: 38px;
}

#noticias-home .carousel-track {
  grid-auto-columns: minmax(340px, 36%);
}

#noticias-home .card-item {
  min-height: 336px;
}

#noticias-home .card-body h3 {
  -webkit-line-clamp: 3;
  min-height: 76px;
}

#noticias-home .card-body p {
  -webkit-line-clamp: 3;
  min-height: 62px;
}

#episodios-home .carousel-track {
  grid-auto-columns: minmax(340px, 36%);
}

#episodios-home .card-item {
  min-height: 336px;
}

#episodios-home .card-body h3 {
  -webkit-line-clamp: 3;
  min-height: 76px;
}

#episodios-home .card-body p {
  -webkit-line-clamp: 3;
  min-height: 62px;
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 30.5%);
  gap: 16px;
  transition: transform .45s ease;
  will-change: transform;
  min-width: 0;
}

.card-item {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 18px;
  overflow: hidden;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.card-item:hover {
  transform: none;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.1);
  border-color: rgba(227, 6, 19, 0.35);
}

.card-item img {
  width: 100%;
  height: 182px;
  object-fit: cover;
}

.card-body {
  padding: 12px;
  display: grid;
  gap: 8px;
}

.card-body h3 {
  color: #1f2937;
  font-size: 1rem;
  line-height: 1.35;
  min-height: 54px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-body p {
  color: #4b5563;
  font-size: .9rem;
  line-height: 1.45;
  min-height: 40px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-link {
  margin-top: auto;
  color: #E30613;
  text-decoration: none;
  font-weight: 700;
  font-size: .9rem;
}

.card-link-button {
  border: none;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  background: rgba(255, 255, 255, 0.96);
  color: #111827;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.16);
}

.carousel-nav.prev { left: 10px; }
.carousel-nav.next { right: 10px; }

#noticias-home .carousel-nav.prev { left: 4px; }
#noticias-home .carousel-nav.next { right: 4px; }

html,
body {
  min-height: 100%;
  background: #000000 !important;
}

body.home-page {
  min-height: 100vh;
  background: #000000 !important;
}

body.home-page.theme-dark,
html.theme-dark,
body.theme-dark {
  background: #000000 !important;
}

body.home-page.theme-light {
  background: #f8fafc !important;
}

html.theme-light,
body.theme-light {
  background: #f8fafc !important;
}

.home-main > :last-child {
  margin-bottom: 0 !important;
}

#site-footer {
  position: relative;
  z-index: 2;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.footer {
  margin-top: 24px !important;
  background: #000000 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: none !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative;
  z-index: 2;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  margin-top: 24px !important;
  padding-top: 14px !important;
}


.home-main::before,
.home-main::after {
  content: none !important;
  display: none !important;
  background: none !important;
  box-shadow: none !important;
}

body.theme-light .welcome-card,
body.theme-light .section-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 23, 42, 0.10);
}

body.theme-light .welcome-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

body.theme-light .welcome-card h1,
body.theme-light .section-head h2,
body.theme-light .card-body h3 { color: #0f172a; }

body.theme-light .welcome-card p,
body.theme-light .section-head p,
body.theme-light .card-body p { color: #475569; }

body.theme-light .home-intro-copy {
  color: #334155;
}

body.theme-light .reveal-line.d1 {
  color: #E30613;
}

body.theme-light .reveal-line.d2 {
  color: #E30613;
}

body.theme-dark .hero-lines {
  mix-blend-mode: normal;
  opacity: 0.8;
  filter: contrast(1.18) brightness(1.02);
}

body.theme-dark .hero-lines-boost {
  opacity: 0.28;
  filter: contrast(1.22) brightness(1.06);
}

body.theme-light .hero-lines {
  mix-blend-mode: normal;
  opacity: 0.74;
  /* linhas cinza mais visiveis no modo claro */
  filter: grayscale(1) contrast(1.5) brightness(0.62);
}

body.theme-light .hero-lines-boost {
  opacity: 0.2;
  filter: grayscale(1) contrast(1.58) brightness(0.56);
}

body.theme-light .broadcast-core {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(15, 23, 42, 0.16);
}

body.theme-light .card-item {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
}

body.theme-light .episode-row {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
}

body.theme-light .episode-meta h3 {
  color: #0f172a;
}

body.theme-light .episode-meta p {
  color: #334155;
}

body.theme-light .episode-action {
  background: #ffffff;
  color: #111827;
  border-color: rgba(15, 23, 42, 0.14);
}

body.theme-dark .episode-row {
  background: rgba(12, 12, 12, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

body.theme-dark .episode-meta h3 {
  color: #f8fafc;
}

body.theme-dark .episode-meta p {
  color: #cbd5e1;
}

body.theme-dark .episode-action {
  background: rgba(0, 0, 0, 0.92);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.24);
}

body.theme-light .home-player-panel {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.2);
}

body.theme-light .home-player-suggestions h3 {
  color: #0f172a;
}

body.theme-light .home-suggestion-item {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.15);
}

body.theme-light .card-item:hover {
  box-shadow: none;
  border-color: rgba(220, 38, 38, 0.35);
}

body.theme-light .btn-alt {
  color: #E30613;
  background: rgba(239, 68, 68, 0.08);
}

body.theme-light .newsletter-form label {
  color: #334155;
}

body.theme-light .newsletter-pill {
  border-color: rgba(227, 6, 19, 0.55);
  background: rgba(255, 255, 255, 0.78);
}

body.theme-light #newsletter-home .section-head p {
  color: #475569;
}

body.theme-light .newsletter-pill i {
  color: #E30613;
}

body.theme-light .newsletter-pill input {
  color: #111827 !important;
}

body.theme-light .newsletter-pill input::placeholder {
  color: #64748b;
}

body.theme-light #newsletter-start-form .btn.btn-main {
  background: #E30613;
  color: #ffffff;
  border-color: rgba(227, 6, 19, 0.8);
}

body.theme-light .newsletter-form input,
body.theme-light .newsletter-form select {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.16);
}

body.theme-light .newsletter-topics {
  border-color: rgba(15, 23, 42, 0.14);
}

body.theme-light .newsletter-topics legend {
  color: #0f172a;
}

body.theme-light .newsletter-feedback {
  color: #1d4ed8;
}

body.theme-light .faq-item {
  border-color: rgba(15, 23, 42, 0.13);
  background: rgba(255, 255, 255, 0.88);
}

body.theme-light .faq-item summary {
  color: #0f172a;
}

body.theme-light .faq-item p {
  color: #334155;
}

body.theme-light .faq-group {
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.72);
}

body.theme-light .faq-group-index {
  background: rgba(227, 6, 19, 0.12);
  color: #991b1b;
}

body.theme-light .faq-group-head h3 {
  color: #0f172a;
}

body.theme-light .faq-group-head p {
  color: #475569;
}
body.theme-light .doubts-form {
  border-color: rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.88);
}

body.theme-light .doubts-form label {
  color: #334155;
}

body.theme-light .doubts-form input,
body.theme-light .doubts-form select,
body.theme-light .doubts-form textarea {
  background: rgba(255, 255, 255, 0.78);
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.16);
}

body.theme-light .doubts-feedback {
  color: #1d4ed8;
}

body.theme-light .doubts-auto-reply {
  border-color: rgba(227, 6, 19, 0.3);
  background: rgba(227, 6, 19, 0.08);
  color: #991b1b;
}

body.theme-light .newsletter-modal-panel {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.18);
}

body.theme-light .newsletter-modal-panel h3 {
  color: #0f172a;
}

body.theme-light .newsletter-modal-panel p {
  color: #475569;
}

body.theme-light .newsletter-close {
  color: #334155;
}

body.theme-light .footer {
  background: #ffffff !important;
  border-top: 1px solid rgba(15, 23, 42, 0.14) !important;
}

body.theme-light .footer-bottom {
  border-top: 1px solid rgba(15, 23, 42, 0.12) !important;
}

body.theme-light .carousel-nav {
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.15);
}

body[data-page="index.html"] #newsletter-home {
  display: block !important;
  visibility: visible !important;
}

body[data-page="index.html"] .welcome-card .broadcast-box {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body.home-page.home-sequence-ready .hero-lines {
  animation:
    heroLinesReveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards,
    heroLinesDrift 10s ease-in-out 1.2s infinite alternate;
}

body.home-page.home-sequence-ready .hero-lines-boost {
  animation:
    heroLinesBoostReveal 1.55s ease forwards,
    heroLinesDrift 11.2s ease-in-out 1.55s infinite alternate-reverse;
  animation-delay: 0.25s, 1.55s;
}

body.home-page.home-sequence-ready .reveal-line.d1 {
  animation: heroLeadReveal 0.92s cubic-bezier(0.2, 0.9, 0.2, 1) 1.02s forwards;
}

body.home-page.home-sequence-ready .reveal-line.d2 {
  animation: heroBehindReveal 0.96s cubic-bezier(0.18, 0.88, 0.22, 1) 1.62s forwards;
}

body.home-page.home-sequence-ready .reveal-line.d3 {
  animation: heroBehindReveal 0.82s cubic-bezier(0.18, 0.88, 0.22, 1) 2.02s forwards;
}

body.home-page.home-sequence-ready .reveal-line.d4 {
  animation: heroBehindReveal 0.82s cubic-bezier(0.18, 0.88, 0.22, 1) 2.22s forwards;
}

body.home-page.home-sequence-ready .newsletter-reveal-shell {
  pointer-events: auto;
  animation: heroNewsletterReveal 0.96s cubic-bezier(0.2, 0.82, 0.2, 1) 2.38s forwards;
}

body.home-page.home-sequence-ready .newsletter-reveal-shell,
body.home-page.home-sequence-ready .newsletter-reveal-shell * {
  pointer-events: auto;
}

body.home-page.home-sequence-ready #site-header .topbar {
  animation: homeTopbarReveal 0.86s cubic-bezier(0.2, 0.9, 0.2, 1) 2.95s forwards;
}

@media (max-width: 980px) {
  .home-hero {
    min-height: 100svh;
    margin-top: 0;
    padding-top: 92px;
  }
  .home-hero-content {
    margin-top: 36px;
  }
  .welcome-card { grid-template-columns: 1fr; }
  .broadcast-box { min-height: 180px; }
  .carousel-track { grid-auto-columns: calc((100% - 16px) / 2); }
  #episodios-home .carousel-track { grid-auto-columns: calc((100% - 16px) / 2); }
  #noticias-home .carousel-shell { padding-left: 12px; padding-right: 12px; }
  #noticias-home .carousel-track { grid-auto-columns: calc((100% - 14px) / 2); }
  .episodes-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doubts-layout { grid-template-columns: 1fr; }
  .home-player-panel {
    width: min(980px, 96vw);
    grid-template-rows: minmax(300px, 60vh) auto auto;
  }
  .home-video-suggestions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 821px) and (max-width: 1100px) {
  .home-main {
    width: min(980px, 95%);
    gap: 20px;
  }

  .home-hero {
    min-height: 100svh;
    padding: 96px 0 28px;
  }

  .home-hero-content {
    width: min(820px, 88vw);
    margin-top: 72px;
    margin-left: auto;
    margin-right: auto;
  }

  .home-intro-kicker {
    font-size: clamp(1.7rem, 3vw, 2.25rem);
  }

  .home-intro-copy {
    max-width: 680px;
    font-size: 1rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .newsletter-card {
    margin-top: 34px;
    padding-top: 16px;
    text-align: center;
  }

  .newsletter-start-form {
    max-width: 680px;
    gap: 10px;
    margin-left: auto;
    margin-right: auto;
  }

  .newsletter-pill {
    min-height: 58px;
    padding: 0 16px;
  }

  .newsletter-pill input {
    font-size: 1.02rem;
  }

  #newsletter-start-form .btn.btn-main {
    min-height: 58px;
    padding: 0 22px;
  }

  #episodios-home {
    margin-top: clamp(80px, 9vh, 116px);
  }

  #episodios-home .section-head,
  #duvidas-home .section-head {
    text-align: center;
  }

  #episodios-home .section-head p,
  #duvidas-home .section-head p {
    margin-left: auto;
    margin-right: auto;
  }

  .episodes-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .section-card {
    padding: 22px;
  }

  .episode-row {
    grid-template-columns: 68px 1fr auto;
    min-height: 82px;
  }

  .episode-row img {
    width: 68px;
    height: 48px;
  }
}

@media (min-width: 701px) and (max-width: 1100px) and (max-height: 820px) {
  .home-hero {
    min-height: 100svh;
    padding: 88px 0 18px;
  }

  .home-hero-content {
    margin-top: 36px;
    width: min(760px, 88vw);
  }

  .home-intro {
    padding-top: 0;
  }

  .home-intro-kicker {
    margin-bottom: 6px;
    font-size: clamp(1.5rem, 2.8vw, 2rem);
  }

  .home-intro-copy {
    max-width: 620px;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .newsletter-card {
    margin-top: 22px;
    padding-top: 10px;
  }

  .newsletter-head {
    margin-bottom: 10px;
  }

  #newsletter-home .section-head h2 {
    font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  }

  #newsletter-home .section-head p {
    font-size: 0.98rem;
  }

  .newsletter-start-form {
    max-width: 640px;
    gap: 10px;
  }

  .newsletter-pill {
    min-height: 54px;
  }

  .newsletter-pill i {
    font-size: 1.25rem;
  }

  .newsletter-pill input {
    font-size: 1rem;
  }

  #newsletter-start-form .btn.btn-main {
    min-height: 54px;
    padding: 0 20px;
    font-size: 0.96rem;
  }
}

@media (max-width: 820px) {
  .home-main {
    padding-top: 0;
  }
}

@media (max-width: 700px) {
  body.home-page #site-header .topbar nav {
    gap: 8px;
  }

  body.home-page #site-header .nav-list {
    display: none !important;
    position: fixed;
    top: 64px;
    right: 12px;
    width: min(240px, calc(100vw - 24px));
    margin: 0;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    border-radius: 16px;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12) !important;
    z-index: 1300;
  }

  body.home-page.theme-dark #site-header .nav-list {
    background: rgba(11, 11, 15, 0.96) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22) !important;
  }

  body.home-page #site-header .nav-list.show {
    display: flex !important;
  }

  body.home-page #site-header .nav-list li,
  body.home-page #site-header .nav-list a,
  body.home-page #site-header .subscribe-link {
    width: 100%;
  }

  body.home-page #site-header .nav-list a,
  body.home-page #site-header .subscribe-link {
    justify-content: center;
  }

  .home-hero {
    min-height: 0;
    margin-top: 0;
    align-items: start;
  }

  .home-hero-content {
    width: 95vw;
    margin-top: 16px;
  }

  #episodios-home {
    margin-top: 56px;
  }

  .home-main {
    width: 96%;
    padding-top: 0;
  }

  .welcome-card,
  .section-card {
    padding: 16px;
    border-radius: 14px;
  }

  .welcome-card {
    padding: 0;
    border-radius: 0;
  }

  .carousel-track { grid-auto-columns: 100%; }

  .newsletter-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-topics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .newsletter-start-form {
    grid-template-columns: 1fr;
  }

  .newsletter-pill {
    min-height: 54px;
  }

  .newsletter-pill input {
    font-size: 1.05rem;
  }

  .episodes-groups { grid-template-columns: 1fr; }

  .episode-row {
    grid-template-columns: 60px 1fr auto;
    padding: 8px 9px;
  }

  .episode-row img {
    width: 60px;
    height: 42px;
  }

  .episode-actions {
    gap: 5px;
  }

  .episode-action {
    width: 26px;
    height: 26px;
  }

  #home-video-player {
    padding: 8px;
  }

  .home-player-panel {
    width: 100%;
    max-height: 94vh;
    padding: 10px;
    gap: 10px;
    grid-template-rows: minmax(210px, 42vh) auto auto;
  }

  .home-video-suggestions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .home-suggestion-item {
    grid-template-rows: 58px auto;
  }

  .home-suggestion-item img {
    height: 58px;
  }

  .home-suggestion-item span {
    font-size: 0.68rem;
  }

  #newsletter-start-form .btn.btn-main {
    min-height: 52px;
    width: 100%;
    font-size: 1rem;
    font-weight: 700;
  }
}

@media (max-width: 480px) {
  .home-hero-content {
    width: calc(100vw - 20px);
    margin-top: 10px;
  }

  .hero-title,
  .welcome-card h1 {
    font-size: clamp(1.6rem, 7vw, 2.1rem);
    line-height: 1.08;
  }

  .hero-copy,
  .welcome-card p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .newsletter-section,
  .episodes-home-section,
  .doubts-section {
    width: calc(100% - 20px);
  }

  .newsletter-grid,
  .doubts-layout {
    gap: 14px;
  }

  .newsletter-topics,
  .home-video-suggestions {
    grid-template-columns: 1fr;
  }

  .episode-row {
    grid-template-columns: 52px 1fr auto;
    gap: 8px;
  }

  .episode-row img {
    width: 52px;
    height: 38px;
  }

  .home-player-panel {
    width: calc(100vw - 12px);
    border-radius: 16px;
  }
}

@keyframes heroLinesFlow {
  0% {
    transform: translateY(-10px);
    background-position: 0 0;
  }
  100% {
    transform: translateY(10px);
    background-position: 0 56px;
  }
}

@keyframes heroLinesReveal {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(1.02);
  }
  100% {
    opacity: 0.82;
    transform: translateY(0);
  }
}

@keyframes heroLinesBoostReveal {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(1.04);
  }
  100% {
    opacity: 0.18;
    transform: translateY(0);
  }
}

@keyframes heroLinesDrift {
  0% {
    transform: translate3d(0, -8px, 0) scale(1);
  }
  100% {
    transform: translate3d(0, 8px, 0) scale(1.01);
  }
}

@keyframes homeTopbarReveal {
  0% {
    opacity: 0;
    transform: translateY(-18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroLeadReveal {
  0% {
    opacity: 0;
    transform: translateY(34px);
    letter-spacing: -0.06em;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: -0.03em;
  }
}

@keyframes heroBehindReveal {
  0% {
    opacity: 0;
    transform: translateY(115%);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes heroBlockReveal {
  0% {
    opacity: 0;
    transform: translateY(26px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroNewsletterReveal {
  0% {
    opacity: 0;
    transform: translateY(58px);
  }
  55% {
    opacity: 1;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}




/* Simplified home layout */
body.home-page .home-main {
  gap: 34px;
  padding-bottom: 56px;
}

body.home-page .home-hero {
  min-height: auto;
  padding: clamp(118px, 16vh, 170px) 0 72px;
}

body.home-page .hero-lines-boost {
  display: none;
}

body.home-page .hero-lines {
  opacity: 0.16;
  filter: saturate(0.85) contrast(1.04) brightness(0.88);
}

body.home-page .home-hero-content {
  width: min(860px, 92vw);
  margin-inline: auto;
}

body.home-page .home-intro {
  padding-top: 0;
}

body.home-page .home-intro-kicker {
  font-size: clamp(2rem, 4.4vw, 4.3rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

body.home-page .home-intro-copy {
  max-width: 640px;
  margin-top: 16px;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.65;
}

body.home-page .newsletter-card {
  width: min(680px, 100%);
  margin: 16px auto 0;
  padding: 22px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

body.home-page #newsletter-home .section-head h2 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

/* Hero da home: subtítulo, newsletter e formulário mais compactos e
   centrados por baixo do título, sem ícone no campo de e-mail. */
body.home-page .home-intro-copy {
  max-width: 560px;
  margin-top: 18px;
}

body.home-page .newsletter-card {
  margin-top: 4px;
}

body.home-page .newsletter-head {
  margin-bottom: 16px;
}

body.home-page #newsletter-home .section-head p {
  margin-top: 8px;
  font-size: 0.95rem;
}

body.home-page .newsletter-pill {
  padding: 0 28px;
}

@media (min-width: 821px) {
  body.home-page .newsletter-start-form {
    max-width: 570px;
  }

  body.home-page .newsletter-pill,
  body.home-page #newsletter-start-form .btn.btn-main {
    min-height: 54px;
  }

  body.home-page .newsletter-pill input {
    font-size: 1.05rem;
  }

  body.home-page #newsletter-start-form .btn.btn-main {
    padding: 0 30px;
  }
}

body.home-page #episodios-home {
  width: min(1120px, 92vw);
  margin-inline: auto;
  padding: 26px;
  border-radius: 28px;
}

body.home-page #episodios-home .section-head {
  margin-bottom: 18px;
  text-align: left;
}

body.home-page #episodios-home .section-head p {
  max-width: 560px;
}

body.home-page .episodes-groups {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.home-page #duvidas-home {
  display: none !important;
}

body.theme-light.home-page .newsletter-card {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(15, 23, 42, 0.10);
}

@media (max-width: 820px) {
  body.home-page .home-hero {
    padding: 56px 0 32px;
  }

  body.home-page .newsletter-card,
  body.home-page #episodios-home {
    width: min(94vw, 720px);
  }

  body.home-page .episodes-groups {
    grid-template-columns: 1fr;
  }
}

/* Home search suggestions */
body[data-page="index.html"] .search-container {
  position: relative;
  z-index: 80;
}

.home-search-suggestions {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: min(420px, calc(100vw - 28px));
  transform: translateX(-50%);
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 10, 12, 0.94);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: grid;
  gap: 8px;
}

.home-search-suggestions[hidden] {
  display: none !important;
}

.home-search-item {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 14px;
  color: #ffffff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.home-search-item:hover {
  background: rgba(227, 6, 19, 0.16);
  border-color: rgba(227, 6, 19, 0.38);
  transform: translateY(-1px);
}

.home-search-type {
  width: fit-content;
  color: #fecaca;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-search-item strong {
  font-size: 0.94rem;
  line-height: 1.25;
}

.home-search-item small,
.home-search-empty {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.82rem;
  line-height: 1.35;
}

body.theme-light .home-search-suggestions {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.16);
}

body.theme-light .home-search-item {
  color: #111827;
  background: rgba(15, 23, 42, 0.04);
}

body.theme-light .home-search-item small,
body.theme-light .home-search-empty {
  color: #475569;
}

/* Center home search bar only */
@media (min-width: 821px) {
  body[data-page="index.html"] #site-header .topbar {
    position: relative !important;
  }

  body[data-page="index.html"] #site-header .search-container {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    width: min(360px, 30vw) !important;
    min-width: 280px !important;
    max-width: 360px !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    flex: none !important;
  }

  body[data-page="index.html"] #site-header .search {
    max-width: 100% !important;
  }
}

/* Restore home FAQ and more episodes */
body.home-page #duvidas-home {
  display: block !important;
}

/* newsletter-modal-polish: versão simples sem preferências */
.newsletter-modal:not([hidden]) {
  display: grid;
  place-items: center;
  padding: 24px;
}

.newsletter-modal-backdrop {
  background:
    radial-gradient(circle at 50% 20%, rgba(227, 6, 19, 0.18), transparent 36%),
    rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px);
}

.newsletter-modal-panel {
  width: min(520px, 94vw);
  margin: 0;
  padding: 34px;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(20, 20, 22, 0.98), rgba(7, 7, 9, 0.98)),
    #08090b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(227, 6, 19, 0.08);
  overflow: hidden;
}

.newsletter-modal-panel::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #e30613, #ff4d57, #e30613);
}

.newsletter-modal-panel h3 {
  margin: 0 38px 8px 0;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.newsletter-modal-panel p {
  max-width: 390px;
  margin: 0 0 22px;
  color: #aeb8c8;
  line-height: 1.6;
}

.newsletter-form {
  gap: 18px;
}

.newsletter-form label {
  gap: 9px;
  color: #edf2f7;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.newsletter-form input,
.newsletter-form select {
  min-height: 54px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.newsletter-form input:focus,
.newsletter-form select:focus {
  outline: none;
  border-color: rgba(227, 6, 19, 0.78);
  box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.16);
}

.newsletter-form select option {
  background: #111214;
  color: #ffffff;
}

.newsletter-grid {
  gap: 14px;
}

.newsletter-actions {
  justify-content: stretch;
  margin-top: 4px;
}

.newsletter-actions .btn {
  width: 100%;
  justify-content: center;
  min-height: 56px;
  border-radius: 999px;
  font-size: 0.98rem;
  box-shadow: 0 18px 34px rgba(227, 6, 19, 0.28);
}

.newsletter-close {
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 1.45rem;
}

.newsletter-close:hover {
  background: rgba(227, 6, 19, 0.16);
  color: #ffffff;
}

body.theme-light .newsletter-modal-backdrop {
  background:
    radial-gradient(circle at 50% 20%, rgba(227, 6, 19, 0.16), transparent 38%),
    rgba(15, 23, 42, 0.46);
}

body.theme-light .newsletter-modal-panel {
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.22);
}

body.theme-light .newsletter-form label {
  color: #172033;
}

body.theme-light .newsletter-form input,
body.theme-light .newsletter-form select {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.14);
}

body.theme-light .newsletter-form select option {
  background: #ffffff;
  color: #0f172a;
}

@media (max-width: 640px) {
  .newsletter-modal-panel {
    padding: 30px 22px 24px;
    border-radius: 24px;
  }

  .newsletter-grid {
    grid-template-columns: 1fr;
  }
}
/* newsletter-control-polish: horário e frequência */
.newsletter-grid label {
  position: relative;
}

.newsletter-control {
  width: 100%;
  padding: 0 48px 0 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.newsletter-control:hover {
  border-color: rgba(227, 6, 19, 0.34);
  background: rgba(255, 255, 255, 0.105);
  transform: translateY(-1px);
}

.newsletter-time {
  color-scheme: dark;
}

.newsletter-time::-webkit-calendar-picker-indicator {
  width: 20px;
  height: 20px;
  cursor: pointer;
  opacity: 0.92;
  filter: invert(1);
}

.newsletter-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position:
    calc(100% - 24px) 50%,
    calc(100% - 17px) 50%;
  background-size: 7px 7px, 7px 7px;
  background-repeat: no-repeat;
}

.newsletter-select option {
  padding: 14px 16px;
  background: #111214;
  color: #ffffff;
  font-weight: 700;
}

.newsletter-select option:checked,
.newsletter-select option:hover {
  background: #e30613;
  color: #ffffff;
}

body.theme-light .newsletter-control:hover {
  border-color: rgba(227, 6, 19, 0.36);
  background: #fff7f8;
}

body.theme-light .newsletter-time {
  color-scheme: light;
}

body.theme-light .newsletter-time::-webkit-calendar-picker-indicator {
  filter: none;
}

body.theme-light .newsletter-select option {
  background: #ffffff;
  color: #111827;
}

body.theme-light .newsletter-select option:checked,
body.theme-light .newsletter-select option:hover {
  background: #e30613;
  color: #ffffff;
}
/* newsletter-custom-dropdowns: menus próprios sem visual nativo */
.newsletter-preferences-grid {
  position: relative;
  align-items: start;
  gap: 16px;
}

.newsletter-field {
  position: relative;
  display: grid;
  gap: 9px;
}

.newsletter-field-label {
  color: #edf2f7;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.newsletter-fake-control {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.045)),
    rgba(12, 14, 18, 0.92);
  color: #ffffff;
  font: inherit;
  font-size: 1.02rem;
  font-weight: 750;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 28px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.newsletter-fake-control:hover,
.newsletter-fake-control[aria-expanded="true"] {
  transform: translateY(-1px);
  border-color: rgba(227, 6, 19, 0.56);
  background:
    linear-gradient(180deg, rgba(227, 6, 19, 0.14), rgba(255, 255, 255, 0.05)),
    rgba(13, 15, 19, 0.98);
  box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.13), 0 18px 34px rgba(0, 0, 0, 0.25);
}

.newsletter-time-value {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-variant-numeric: tabular-nums;
}

.newsletter-time-value strong {
  min-width: 2ch;
  color: #ffffff;
  font-weight: 800;
}

.newsletter-fake-control i {
  color: #e30613;
  font-size: 1rem;
}

.newsletter-custom-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 30;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(31, 33, 38, 0.98), rgba(10, 11, 14, 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(227, 6, 19, 0.08);
  overflow: hidden;
}

.newsletter-custom-menu[hidden] {
  display: none !important;
}

.newsletter-frequency-menu {
  padding: 8px;
}

.newsletter-weekday-field[hidden] {
  display: none !important;
}

.newsletter-preferences-grid.has-weekly-frequency {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.newsletter-weekday-menu {
  padding: 8px;
  max-height: min(260px, 36vh);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(227, 6, 19, 0.8) rgba(255, 255, 255, 0.08);
}

.newsletter-weekday-menu::-webkit-scrollbar {
  width: 6px;
}

.newsletter-weekday-menu::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}

.newsletter-weekday-menu::-webkit-scrollbar-thumb {
  background: #e30613;
  border-radius: 999px;
}

.newsletter-frequency-menu button,
.newsletter-weekday-menu button,
.newsletter-option-list button {
  width: 100%;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: #f8fafc;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.newsletter-frequency-menu button,
.newsletter-weekday-menu button {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  text-align: left;
}

.newsletter-frequency-menu button:hover,
.newsletter-frequency-menu button.is-selected,
.newsletter-weekday-menu button:hover,
.newsletter-weekday-menu button.is-selected,
.newsletter-option-list button:hover,
.newsletter-option-list button.is-selected {
  background: linear-gradient(135deg, #e30613, #ff2b37);
  color: #ffffff;
  transform: translateX(2px);
}

.newsletter-time-menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 10px;
}

.newsletter-time-column {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.newsletter-time-column + .newsletter-time-column {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 10px;
  margin-left: 10px;
}

.newsletter-time-column > span {
  padding: 4px 6px 0;
  color: #98a2b3;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.newsletter-option-list {
  max-height: 232px;
  display: grid;
  gap: 4px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(227, 6, 19, 0.8) rgba(255, 255, 255, 0.08);
}

.newsletter-option-list::-webkit-scrollbar {
  width: 6px;
}

.newsletter-option-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}

.newsletter-option-list::-webkit-scrollbar-thumb {
  background: #e30613;
  border-radius: 999px;
}

.newsletter-option-list button {
  min-height: 36px;
  font-variant-numeric: tabular-nums;
}

body.theme-light .newsletter-field-label {
  color: #172033;
}

body.theme-light .newsletter-fake-control {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border-color: rgba(15, 23, 42, 0.13);
  color: #101828;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

body.theme-light .newsletter-fake-control:hover,
body.theme-light .newsletter-fake-control[aria-expanded="true"] {
  background: #fff7f8;
  border-color: rgba(227, 6, 19, 0.38);
  box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.1), 0 16px 36px rgba(15, 23, 42, 0.12);
}

body.theme-light .newsletter-time-value strong {
  color: #101828;
}

body.theme-light .newsletter-custom-menu {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.13);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}

body.theme-light .newsletter-frequency-menu button,
body.theme-light .newsletter-weekday-menu button,
body.theme-light .newsletter-option-list button {
  color: #101828;
}

body.theme-light .newsletter-time-column + .newsletter-time-column {
  border-left-color: rgba(15, 23, 42, 0.1);
}

body.theme-light .newsletter-time-column > span {
  color: #667085;
}

body.theme-light .newsletter-frequency-menu button:hover,
body.theme-light .newsletter-frequency-menu button.is-selected,
body.theme-light .newsletter-weekday-menu button:hover,
body.theme-light .newsletter-weekday-menu button.is-selected,
body.theme-light .newsletter-option-list button:hover,
body.theme-light .newsletter-option-list button.is-selected {
  color: #ffffff;
}

@media (max-width: 640px) {
  .newsletter-custom-menu {
    position: static;
    margin-top: 8px;
  }
}
/* newsletter-dropdown-overflow-fix: evita corte das opções */
.newsletter-modal-panel {
  overflow: visible;
  padding-bottom: 42px;
}

.newsletter-form {
  position: relative;
}

.newsletter-preferences-grid {
  z-index: 6;
  margin-bottom: 22px;
}

.newsletter-field {
  z-index: 7;
}

.newsletter-field:has(.newsletter-fake-control[aria-expanded="true"]),
.newsletter-field.is-open {
  z-index: 40;
}

.newsletter-custom-menu {
  z-index: 80;
  max-height: min(300px, 42vh);
}

.newsletter-time-menu {
  max-height: min(300px, 42vh);
}

.newsletter-frequency-menu {
  max-height: 190px;
  overflow-y: auto;
}

.newsletter-option-list {
  max-height: min(220px, 34vh);
}

.newsletter-actions {
  position: relative;
  z-index: 1;
  margin-top: 6px;
}

@media (max-height: 760px) {
  .newsletter-modal:not([hidden]) {
    align-items: start;
    overflow-y: auto;
    padding-block: 18px;
  }

  .newsletter-modal-panel {
    padding-bottom: 34px;
  }

  .newsletter-option-list {
    max-height: 150px;
  }

  .newsletter-custom-menu {
    max-height: 230px;
  }
}
/* newsletter-fields-horizontal-align: labels e campos alinhados */
.newsletter-preferences-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  column-gap: 18px;
}

.newsletter-field {
  grid-template-rows: 42px auto;
  align-content: start;
}

.newsletter-field-label {
  min-height: 42px;
  display: flex;
  align-items: end;
  line-height: 1.15;
}

.newsletter-frequency-field .newsletter-field-label {
  white-space: nowrap;
}

.newsletter-time-field .newsletter-field-label {
  max-width: 220px;
}

@media (max-width: 820px) {
  .newsletter-preferences-grid.has-weekly-frequency {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .newsletter-preferences-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-field {
    grid-template-rows: auto auto;
  }

  .newsletter-field-label {
    min-height: 0;
  }
}
/* newsletter-toast-and-loading: notificação profissional e botão em processamento */
.newsletter-toast {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 2600;
  width: min(420px, calc(100vw - 32px));
  min-height: 96px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 18px 48px 18px 18px;
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(90deg, #e30613 0 5px, transparent 5px),
    radial-gradient(circle at 14% 0%, rgba(227, 6, 19, 0.18), transparent 36%),
    linear-gradient(145deg, rgba(24, 24, 24, 0.98), rgba(8, 8, 8, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(227, 6, 19, 0.08);
  opacity: 0;
  transform: translate3d(34px, 0, 0) scale(0.98);
  pointer-events: none;
  transition: opacity 0.34s ease, transform 0.34s cubic-bezier(0.16, 1, 0.3, 1);
}

.newsletter-toast[hidden] {
  display: none !important;
}

.newsletter-toast.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  pointer-events: auto;
}

.newsletter-toast.is-leaving {
  opacity: 0;
  transform: translate3d(34px, 0, 0) scale(0.98);
}

.newsletter-toast-icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #e30613, #ff2b37);
  box-shadow: 0 14px 30px rgba(227, 6, 19, 0.32), 0 0 0 7px rgba(227, 6, 19, 0.09);
}

.newsletter-toast-body {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.newsletter-toast-body strong {
  font-family: Montserrat, sans-serif;
  font-size: 1rem;
  line-height: 1.2;
}

.newsletter-toast-body span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.5;
}

.newsletter-toast-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.newsletter-toast-close:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  transform: scale(1.04);
}

.newsletter-toast-progress {
  position: absolute;
  left: 5px;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #e30613, #ff858c);
  transform-origin: left center;
  animation: newsletter-toast-progress 6.8s linear forwards;
}

.newsletter-toast[data-state="error"] {
  background:
    linear-gradient(90deg, rgba(239, 68, 68, 0.95) 0 5px, transparent 5px),
    radial-gradient(circle at 14% 0%, rgba(239, 68, 68, 0.18), transparent 36%),
    linear-gradient(145deg, rgba(24, 24, 24, 0.98), rgba(8, 8, 8, 0.96));
}

.newsletter-toast[data-state="error"] .newsletter-toast-icon {
  background: linear-gradient(135deg, #ef4444, #991b1b);
}

@keyframes newsletter-toast-progress {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

.newsletter-submit-btn {
  position: relative;
  overflow: hidden;
}

.newsletter-submit-btn.is-processing,
.newsletter-submit-btn:disabled {
  cursor: wait;
  opacity: 0.92;
}

.newsletter-submit-btn.is-processing::before {
  content: '';
  width: 19px;
  height: 19px;
  margin-right: 10px;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: newsletter-button-spin 0.78s linear infinite;
}

.newsletter-submit-btn.is-processing::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.18) 42%, transparent 72%);
  transform: translateX(-100%);
  animation: newsletter-button-sheen 1.15s ease-in-out infinite;
}

@keyframes newsletter-button-spin {
  to { transform: rotate(360deg); }
}

@keyframes newsletter-button-sheen {
  to { transform: translateX(100%); }
}

@media (max-width: 640px) {
  .newsletter-toast {
    right: 14px;
    bottom: 18px;
    left: 14px;
    width: auto;
  }
}
/* newsletter-loading-spinner-fix: remove linha branca e deixa spinner circular */
.newsletter-submit-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
}

.newsletter-submit-btn span {
  position: relative;
  z-index: 1;
}

.newsletter-submit-btn.is-processing::before {
  content: '';
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 0;
  box-sizing: border-box;
  border: 3px solid rgba(255, 255, 255, 0.34);
  border-top-color: #ffffff;
  border-right-color: #ffffff;
  border-radius: 50%;
  animation: newsletter-button-spin 0.72s linear infinite;
}

.newsletter-submit-btn.is-processing::after {
  content: none !important;
  display: none !important;
  animation: none !important;
}
/* newsletter-modal-top-line-fix: barra vermelha dentro do raio do card */
.newsletter-modal-panel::before {
  inset: 0 24px auto 24px;
  height: 4px;
  border-radius: 0 0 999px 999px;
  pointer-events: none;
}

@media (max-width: 640px) {
  .newsletter-modal-panel::before {
    inset-inline: 18px;
  }
}
/* home-responsive-header-fix: evita pesquisa e navegação sobrepostas */
@media (min-width: 821px) and (max-width: 1280px) {
  body[data-page="index.html"] #site-header .topbar {
    display: grid !important;
    grid-template-columns: minmax(210px, auto) minmax(280px, 360px) auto !important;
    align-items: center !important;
    gap: 16px !important;
  }

  body[data-page="index.html"] #site-header .search-container {
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 360px !important;
    justify-self: center !important;
  }

  body[data-page="index.html"] #site-header .topbar-nav-wrap {
    justify-self: end !important;
    margin-left: 0 !important;
  }

  body[data-page="index.html"] #site-header .menu-toggle {
    display: inline-flex !important;
  }

  body[data-page="index.html"] #site-header .nav-list {
    display: none !important;
    position: fixed !important;
    top: 74px !important;
    right: 18px !important;
    width: min(280px, calc(100vw - 36px)) !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    padding: 12px !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.16) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    z-index: 1800 !important;
  }

  body[data-page="index.html"].theme-dark #site-header .nav-list {
    background: rgba(11, 11, 15, 0.96) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.28) !important;
  }

  body[data-page="index.html"] #site-header .nav-list.show {
    display: flex !important;
  }

  body[data-page="index.html"] #site-header .nav-list li,
  body[data-page="index.html"] #site-header .nav-list a,
  body[data-page="index.html"] #site-header .subscribe-link {
    width: 100% !important;
  }

  body[data-page="index.html"] #site-header .nav-list a,
  body[data-page="index.html"] #site-header .subscribe-link {
    min-height: 42px !important;
    justify-content: center !important;
    border-radius: 14px !important;
  }
}
/* ===== Episódio em destaque + carrossel (home) ===== */

.home-episode-feature {
  margin-bottom: 22px;
  transition: opacity .28s cubic-bezier(.4, 0, .2, 1), transform .28s cubic-bezier(.4, 0, .2, 1);
  will-change: opacity, transform;
}

.home-episode-feature.is-fading {
  opacity: 0;
  transform: translateY(6px);
}

.home-feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 26px;
  align-items: stretch;
}

.home-feature-media {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0b0b0c;
  min-height: 220px;
}

.home-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.home-feature-media:hover img { transform: scale(1.04); }

.home-feature-number {
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.home-feature-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.35));
  opacity: 0;
  transition: opacity .25s ease;
}

.home-feature-media:hover .home-feature-play { opacity: 1; }

.home-feature-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-width: 0;
}

.home-feature-meta {
  font-family: Inter, sans-serif;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted, #94a3b8);
}

.home-feature-title {
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.15;
  color: #fff;
  margin: 0;
}

.home-feature-tagline {
  font-size: .98rem;
  line-height: 1.5;
  color: #E30613;
  margin: 0;
}

.home-feature-host {
  font-size: .92rem;
  color: var(--muted, #94a3b8);
  margin: 0;
}

.home-feature-actions {
  margin-top: 6px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.home-feature-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 999px;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .01em;
  box-shadow: 0 14px 28px rgba(227, 6, 19, 0.3);
  transition: transform .2s ease, box-shadow .2s ease;
}

.home-feature-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(227, 6, 19, 0.4);
}

.home-feature-actions .btn i { font-size: 1.05rem; }

.home-feature-preview-tag {
  color: #E30613;
  font-weight: 700;
}

.home-feature-card.is-preview .home-feature-media { outline: 2px solid rgba(227, 6, 19, 0.55); outline-offset: 3px; }

.home-feature-empty .home-feature-title { color: #fff; }
.home-feature-empty .home-feature-tagline { color: var(--muted, #94a3b8); }

.home-episode-strip { margin-top: 4px; }

.home-strip-label {
  display: block;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .12em;
  color: var(--muted, #94a3b8);
  margin-bottom: 12px;
}

.home-strip-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 1fr);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.home-strip-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  padding: 8px;
  border: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}

.home-strip-card:hover { background: rgba(255, 255, 255, 0.04); }

.home-strip-card.is-active {
  border-color: rgba(227, 6, 19, 0.55);
  background: rgba(227, 6, 19, 0.08);
}

.home-strip-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: #0b0b0c;
}

.home-strip-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1) brightness(.7);
  transition: filter .25s ease;
}

.home-strip-card.is-active .home-strip-thumb img,
.home-strip-card:hover .home-strip-thumb img,
.home-strip-card:focus-visible .home-strip-thumb img {
  filter: grayscale(0) brightness(1);
}

.home-strip-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: opacity .2s ease;
}

.home-strip-card:hover .home-strip-play { opacity: 1; }

.home-strip-meta {
  font-size: .72rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--muted, #94a3b8);
}

.home-strip-title {
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: .88rem;
  line-height: 1.3;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-strip-card.is-active .home-strip-title { color: #ff8b93; }

.home-strip-host {
  font-size: .78rem;
  color: var(--muted, #94a3b8);
}

body.theme-light .home-feature-title,
body.theme-light .home-strip-title { color: #0f172a; }

body.theme-light .home-strip-card.is-active .home-strip-title { color: #E30613; }

body.theme-light .home-feature-host,
body.theme-light .home-strip-host,
body.theme-light .home-strip-meta,
body.theme-light .home-feature-meta,
body.theme-light .home-strip-label { color: #64748b; }

body.theme-light .home-strip-card:hover { background: rgba(15, 23, 42, 0.04); }
body.theme-light .home-strip-card.is-active { background: rgba(227, 6, 19, 0.06); }

/* ===== Grelha de artigos (home) ===== */

.home-articles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 190px;
  gap: 16px;
}

.home-article-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.1);
  grid-row: span 1;
}

.home-article-card.is-large {
  grid-row: span 2;
  grid-column: span 2;
}

.home-article-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.home-article-card:hover .home-article-image { transform: scale(1.05); }

.home-article-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.82) 100%);
}

.home-article-kicker {
  position: absolute;
  top: 14px;
  left: 16px;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(227, 6, 19, 0.85);
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 1;
}

.home-article-date {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  z-index: 1;
}

.home-article-body {
  position: relative;
  z-index: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.home-article-title {
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-article-card.is-large .home-article-title { font-size: 1.35rem; }

.home-article-author {
  font-size: .78rem;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 1100px) {
  .home-feature-card { grid-template-columns: 1fr; }
  .home-feature-media { aspect-ratio: 16 / 9; min-height: 0; }
  .home-articles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-article-card.is-large { grid-column: span 2; }
}

@media (max-width: 640px) {
  .home-strip-track { grid-auto-columns: minmax(150px, 1fr); }
  .home-articles-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .home-article-card.is-large { grid-column: span 1; grid-row: span 1; }
}

/* ------------------------------------------------------------------
   Página inicial em tablet e telemóvel com a mesma organização do
   computador: título em 2 linhas ("O PODCAST TERMINA." / "AS IDEIAS
   NÃO."), subtítulo em 2 linhas, título e descrição da newsletter numa
   linha cada, e campo de e-mail + botão lado a lado. As linhas nunca
   partem; o tamanho da letra acompanha a largura do ecrã (vw) para cada
   linha caber.
   ------------------------------------------------------------------ */
@media (max-width: 820px) {
  body.home-page .home-hero-content {
    width: calc(100vw - 32px);
    max-width: 760px;
  }

  body.home-page .home-intro-kicker {
    font-size: min(7.6vw, 4.2rem);
    line-height: 1.02;
    text-wrap: nowrap;
  }

  body.home-page .home-intro-copy {
    max-width: none;
    margin-top: 10px;
    font-size: min(3.15vw, 1.12rem);
    line-height: 1.6;
    text-wrap: nowrap;
  }

  body.home-page .home-intro .reveal-line {
    white-space: nowrap;
  }

  body.home-page #newsletter-home .section-head h2 {
    font-size: min(6vw, 2.1rem);
    white-space: nowrap;
  }

  body.home-page #newsletter-home .section-head p {
    font-size: min(2.6vw, 0.95rem);
    white-space: nowrap;
  }

  /* A zona da newsletter ocupa a mesma largura que o título (tinha
     margens internas que cortavam o fim da descrição). */
  body.home-page .newsletter-reveal-shell,
  body.home-page #newsletter-home.newsletter-card {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  body.home-page #newsletter-home .newsletter-head {
    padding-left: 0;
    padding-right: 0;
  }

  body.home-page #newsletter-start-form.newsletter-start-form {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
  }

  body.home-page #newsletter-start-form .newsletter-pill {
    min-height: 50px;
    padding: 0 16px;
  }

  body.home-page #newsletter-start-form .newsletter-pill input {
    font-size: min(3.8vw, 1.05rem);
  }

  body.home-page #newsletter-start-form .btn.btn-main {
    width: auto;
    min-height: 50px;
    padding: 0 min(4.6vw, 24px);
    font-size: min(3.8vw, 1rem);
    white-space: nowrap;
  }
}

/* ------------------------------------------------------------------
   Tablet e telemóvel: o destaque fica por cima das faixas e a altura
   dependia do episódio (títulos de 2 a 5 linhas, linha "com ..." só em
   alguns), por isso a página subia e descia ao mudar de episódio.
   Agora o título ocupa sempre 3 linhas (corta com "..." se for maior),
   a linha dos convidados existe sempre e a linha de data/duração não
   parte — a altura do cartão é igual para todos os episódios.
   ------------------------------------------------------------------ */
@media (max-width: 1100px) {
  .home-feature-info {
    justify-content: flex-start;
  }

  .home-feature-meta {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .home-feature-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    min-height: calc(3 * 1.15em);
  }

  .home-feature-tagline {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
  }

  .home-feature-host {
    min-height: 1.5em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.home-feature-host:empty {
  margin: 0;
}

@media (min-width: 1101px) {
  .home-feature-host:empty {
    display: none;
  }
}

/* Botão "Ver mais episódios" por baixo das faixas da página inicial:
   leva à página com todos os episódios. */
.home-episodes-more {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.home-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: 999px;
  background: #E30613;
  color: #ffffff;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .01em;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(227, 6, 19, 0.3);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.home-more-btn:hover,
.home-more-btn:focus-visible {
  color: #ffffff;
  background: #c10510;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(227, 6, 19, 0.4);
}

.home-more-btn i {
  font-size: .85rem;
  transition: transform .2s ease;
}

.home-more-btn:hover i {
  transform: translateX(3px);
}

body.theme-light .home-more-btn,
body.theme-light .home-more-btn:hover {
  color: #ffffff;
}

@media (max-width: 640px) {
  .home-episodes-more {
    margin-top: 18px;
  }

  .home-more-btn {
    width: 100%;
    justify-content: center;
  }
}
