/* From the Inside — page-only layout overrides
   This file is intentionally scoped under .fti-page so it cannot affect the homepage. */

.fti-page .fti-hero {
  padding: clamp(2.1rem, 3.5vw, 3.2rem) 0 clamp(1.8rem, 3vw, 2.5rem);
}

.fti-page .fti-brand {
  margin: 0 auto clamp(1.35rem, 2.2vw, 1.9rem);
}

.fti-page .fti-journal {
  padding: clamp(2.4rem, 4vw, 3.25rem) 0 0;
}

.fti-page .fti-section-heading {
  margin-bottom: clamp(1.35rem, 2.4vw, 2rem);
}

.fti-page .fti-episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 34px;
  align-items: stretch;
}

.fti-page .fti-episode-card {
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.45rem 1.5rem 1.2rem;
  border: 1px solid rgba(11, 47, 91, .22);
  background: rgba(255, 255, 255, .28);
  box-shadow: 0 8px 24px rgba(11, 47, 91, .035);
}

.fti-page .fti-episode-card-future {
  border-color: rgba(11, 47, 91, .16);
  background: rgba(255, 255, 255, .16);
}

.fti-page .fti-episode-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.05rem;
}

.fti-page .fti-release-date {
  flex: 0 0 auto;
  margin: 0;
  color: rgba(11, 47, 91, .48);
  font-family: var(--ui);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.35;
  text-transform: uppercase;
  white-space: nowrap;
}

.fti-page .fti-episode-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.fti-page .fti-episode-body h3 {
  max-width: none;
  margin: 0 0 .48rem;
  font-size: clamp(2.05rem, 3vw, 2.85rem);
  line-height: .98;
}

.fti-page .fti-card-subtitle {
  margin: 0 0 .8rem;
  color: var(--cobalt);
  font-family: var(--ui);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.45;
  text-transform: uppercase;
}

.fti-page .fti-card-description {
  margin: 0;
  color: rgba(37, 42, 48, .86);
  font-size: 1.01rem;
  line-height: 1.58;
}

.fti-page .fti-episode-bottom {
  margin-top: auto;
  padding-top: .9rem;
  border-top: 1px solid rgba(11, 47, 91, .11);
  color: rgba(11, 47, 91, .50);
  font-family: var(--ui);
  font-size: .61rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .fti-page .fti-episode-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .fti-page .fti-hero {
    padding: 1.8rem 0 2rem;
  }

  .fti-page .fti-journal {
    padding-top: 2rem;
  }

  .fti-page .fti-episode-card {
    padding: 1.2rem 1.15rem 1rem;
  }

  .fti-page .fti-episode-body h3 {
    font-size: clamp(1.95rem, 10vw, 2.55rem);
  }
   /* Give the bottom of From the Inside room before the footer */
.fti-page .fti-next {
  padding-bottom: clamp(3.5rem, 6vw, 5rem);
}

@media (max-width: 760px) {
  .fti-page .fti-next {
    padding-bottom: 3rem;
  }
}
}
