:root {
  --ep-header-h: 74px;
  --ep-gap: clamp(16px, 2vw, 24px);
  --ep-ease: cubic-bezier(.22, .61, .36, 1);
  --ep-orange: #ff7a1a;

  --ep-bg: #0a0a0a;
  --ep-fg: #f1f1f1;
  --ep-muted: #a0a0a0;
}

.ep-page {
  background: var(--ep-bg);
  padding-top: calc(var(--ep-header-h) + 10px);
}

/* HERO */
.ep-hero {
  text-align: center;
  padding-top: 8px;
}

.ep-kicker {
  color: var(--ep-muted);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  margin: 0 0 6px;
}

.ep-title {
  margin: 0 0 6px;
  font-size: clamp(26px, 4vw, 44px);
}

.ep-title .accent {
  color: var(--ep-orange);
}

.ep-sub {
  color: var(--ep-muted);
  margin: 0;
}

/* TOOLBAR */
.ep-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
  max-width: var(--max);
  margin: 18px auto 8px;
  padding: 0 24px;
  padding-top: 30px;
  padding-bottom: 40px;
}

.ep-sort-label {
  color: var(--ep-muted);
  font-size: .95rem;
}

.ep-select {
  appearance: none;
  -webkit-appearance: none;
  background: #0f0f0f;
  color: var(--ep-fg);
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: 999px;
  font: inherit;
  line-height: 1;
  min-width: 230px;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23aaaaaa' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 12px) 50%;
  padding-right: 36px;
}

/* GRID */
.ep-list {
  margin-top: 6px;
}

.ep-grid {
  list-style: none;
  padding: 0;
  display: grid;
  column-gap: 40px;   /* horizontal */
  row-gap: 65px;      /* vertical */
  grid-template-columns: repeat(3, minmax(320px, 1fr));
}

@media (max-width:1024px) {
  .ep-grid {
    grid-template-columns: repeat(2, minmax(320px, 1fr));
  }
}

@media (max-width:640px) {
  .ep-grid {
    grid-template-columns: 1fr;
  }
}

/* BUGFIXES */
.ep-page figure {
  margin: 0;
}

.ep-page img {
  border: 0 !important;
  border-radius: 0 !important;
}

/* “CARD” = só imagem + textos */
.ep-card>a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.ep-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #0b0b0b;
}

.ep-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: translateZ(0);
}

/* hover overlay */
.ep-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background .28s var(--ep-ease);
}

.ep-card:hover .ep-thumb::after {
  background: rgba(0, 0, 0, .18);
}

/* textos colados ao limite lateral da imagem */
.ep-body {
  padding-top: 12px;
  margin: 0;
}

/* META ACIMA DO TÍTULO */
.ep-meta {
  color: var(--ep-muted);
  font-size: 12.5px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 6px;
  transition: color .18s var(--ep-ease);
}

.ep-meta .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ep-muted);
  opacity: .45;
  transition: background .18s var(--ep-ease), opacity .18s var(--ep-ease);
}

.ep-title-sm {
  margin: 0;
  line-height: 1.25;
  font-size: clamp(16px, 1.7vw, 19px);
  transition: color .18s var(--ep-ease);
}

/* hover laranja em META + TÍTULO */
.ep-card:hover .ep-title-sm,
.ep-card:focus-within .ep-title-sm,
.ep-card:hover .ep-meta,
.ep-card:focus-within .ep-meta {
  color: var(--ep-orange);
}

.ep-card:hover .ep-meta .dot,
.ep-card:focus-within .ep-meta .dot {
  background: var(--ep-orange);
  opacity: 1;
}

/* BLOCO BRANCO */
.ep-feature {
  margin-top: clamp(40px, 6vw, 72px);
}

.ep-feature--light {
  margin-inline: calc(50% - 50vw);
  width: 100vw;
  background: #fff;
  color: #0b0b0b;
  border-top: 1px solid #e9e9e9;
  border-bottom: 1px solid #e9e9e9;
}

.ep-feature__container {
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(28px, 5vw, 48px) clamp(16px, 3vw, 24px);
  text-align: center;
}

.ep-feature__title {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.8vw, 30px);
  color: #0b0b0b;
}

.ep-feature__text {
  margin: 0 0 16px;
  color: #4c4c4c;
}

.ep-feature__cta {
  display: inline-grid;
  grid-auto-flow: column;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #0b0b0b;
  color: #fff;
  transition: transform .15s ease, filter .2s ease;
}

.ep-feature__cta:hover {
  transform: translateY(-1px);
  filter: brightness(.92);
}

/* ===== Título: Space Grotesk + destaque minimal ===== */
:root{
  --display-font: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ep-orange: #ff7a1a; /* mantém sua paleta */
}

/* Título principal da página de episódios */
.ep-title{
  margin: 0 0 8px;
  font-family: var(--display-font);
  font-weight: 800;
  font-size: clamp(28px, 4.6vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.01em;        /* leve fechamento p/ ficar mais “bloco” */
}

/* Destaque “Memória Cache” com marcador laranja por trás (clean) */
.ep-title .accent{
  position: relative;
  color: #fff;                    /* texto branco */
  text-decoration: none;
}

.ep-title .accent::after{
  content:"";
  position: absolute;
  left: -2px; right: -2px;
  bottom: 6px;                    /* altura do “marcador” */
  height: .52em;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,122,26,.25), rgba(255,122,26,.38));
  z-index: -1;                    /* fica atrás do texto */
}

/* Hover bem sutil: eleva o contraste do marcador */
@media (hover:hover){
  .ep-title:hover .accent::after{
    background: linear-gradient(180deg, rgba(255,122,26,.32), rgba(255,122,26,.48));
  }
}

  
.ep-title .accent{ color: var(--ep-orange); }
.ep-title .accent::after{ display:none; }

