/* CSS for the Amazon ad. */

.list-item-text .curated-affiliate {
    max-width: 460px;
    padding-top: 20px;
}

.list-item-text .curated-affiliate__ad {
    border: 1px solid #29404c;
    border-radius: 6px;
    padding: 16px 20px;
}

.list-item-text .curated-affiliate__label {
    display: block;
    font-size: 12px;
    color: #9ba8b1;
    margin-bottom: 8px;
}

.list-item-text .curated-affiliate__ad h4 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 8px;
}

.list-item-text .curated-affiliate__ad p {
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 12px;
}

.list-item-text .curated-affiliate__ad a {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #5794cd;
    text-decoration: underline;
}

.list-item-text p.curated-affiliate__disclosure {
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 1.4;
    color: #9ba8b1;
}


.curated-page-links {
    margin-top: 20px;
}

.curated-page-links__label {
    display: block;
    color: #a4b4bf;
    font-size: 14px;
    margin-bottom: 6px;
}

.curated-page-links ul {
    list-style: disc;
    padding-left: 22px;
    margin: 0;
}

.curated-page-links li {
    margin-bottom: 3px;
}

.curated-page-links a {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    text-decoration: none;
}

.curated-page-links a:hover {
    text-decoration: underline;
}


.curated-movie-list h2 {
  margin-top: 1rem !important;
}

.curated-movie-list a {
  color: #4280bf;
}

.curated-movie-list article p {
  margin-bottom: 2rem;
}

article.list-item-text {
  min-width: 0;
  width: 100%;
}

.content-page {
  min-height: 100vh;
  background: #001019;
  color: #f4f7f9;
}

.content-page-top-panel {
  background: #001019;
}

.content-page-section {
  padding: 3.8rem 0;
}

.no-bottom-padding {
  padding-bottom: 0 !important;
}

.content-page-section--muted {
  background: #061721;
}

.content-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(24rem, 40rem);
  gap: 4rem;
  align-items: flex-start;
}

.content-page-kicker {
  color: #c25a00;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.content-page-hero h1 {
  font-size: 4.8rem;
  line-height: 1.2;
  margin: 0 0 1.6rem;
}

.content-page-hero p,
.content-page-columns p,
.curated-list-item p,
.curated-list-item--image-right p {
  color: #c7d0d5;
  font-size: 1.8rem;
  line-height: 1.35;
}

.content-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 2.8rem;
}

.content-page-button {
  align-items: center;
  border: 0.1rem solid #53646d;
  border-radius: 0.4rem;
  color: #f4f7f9;
  display: inline-flex;
  font-size: 1.5rem;
  font-weight: 800;
  min-height: 4.4rem;
  padding: 0 1.8rem;
  text-decoration: none;
}

.content-page-button--primary {
  background: #c25a00;
  border-color: #c25a00;
  color: #fff;
}

.content-page-hero__media img, .curated-list-item-image a img {
  border: 0.1rem solid rgba(255, 255, 255, 0.12);
  border-radius: 0.8rem;
  display: block;
  width: 100%;
}

.content-page-image-showcase {
  display: grid;
  gap: 2.8rem;
}

.content-page-image-row {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-items: center;
}

.content-page-image-row img {
  width: calc(100% - 3.2rem);
}

.content-page-image-caption {
  color: #8fa0a9;
  font-size: 1.4rem;
  line-height: 1.45;
  margin: 1rem auto 0;
  text-align: center;
  width: calc(100% - 3.2rem);
}

.content-page-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4rem;
}

.curated-list-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: 4rem;
}

.curated-list-item--image-right {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
  gap: 4rem;
}

.content-page-columns h2, .curated-list-item h2, .curated-list-item--image-right h2 {
  font-size: 3rem;
  margin: 0 0 1.2rem;
}

.content-page-article h1 {
  font-size: 4.8rem;
  line-height: 1.2;
  margin: 0 0 2.4rem;
}

.content-page-article .content-page-hero__media {
  margin: 3.2rem 0;
}

@media (max-width: 780px) {

  .content-page-hero,
  .content-page-columns {
    grid-template-columns: 1fr;
  }

  .content-page-hero h1,
  .content-page-article h1 {
    font-size: 3.6rem;
    line-height: 1.05;
  }
}

.image-row {
  grid-template-columns: 1fr 1fr !important;
}

.credits {
  display: inline-block;
  margin-bottom: 1.4rem !important;
}

.curated-movie-list .credits p {
  font-size: 1.5rem;
  margin-bottom: 0.15rem;
}

.credits p span {
  font-weight: 450;
}
/* Stack posters and descriptions on tablets and phones. */
@media (max-width: 780px) {
  .curated-list-item,
  .curated-list-item--image-right {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .curated-list-item--image-right > .curated-list-item-image {
    order: -1;
  }

  article.list-item-text {
    width: 100%;
    min-width: 0;
  }

  .curated-list-item-image {
    width: min(100%, 20rem);
    margin-inline: 0;
  }

  .content-page-section {
    padding: 2.8rem 0;
  }
}


/* A short site mention between films five and six. */
.curated-list-promo {
  background: #0b2634;
  padding: 2.4rem 0;
}

.curated-list-promo p {
  color: #c7d0d5;
  font-size: 1.6rem;
  line-height: 1.45;
  margin: 0;
}


/* Character-list layout: keep these rules separate from the existing movie rows. */
.curated-character-intro {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
  gap: 5rem;
  align-items: start;
}

.curated-character-intro__copy,
.curated-character-creator,
.curated-actress {
  min-width: 0;
}

.curated-character-intro__copy h2,
.curated-actresses > h2 {
  font-size: 3rem;
  margin: 0 0 1.8rem !important;
}

.curated-character-intro__copy p,
.curated-character-creator p,
.curated-actress p {
  color: #c7d0d5;
  font-size: 1.8rem;
  line-height: 1.35;
}

.curated-character-intro__copy p:last-child,
.curated-character-creator p:last-child,
.curated-actress p:last-child {
  margin-bottom: 0;
}

.curated-character-creator {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  padding-left: 2.8rem;
}

.curated-character-creator h3,
.curated-actress h3 {
  font-size: 2.2rem;
  line-height: 1.3;
  margin: 0 0 1rem;
}

.curated-actress-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3.6rem;
  align-items: start;
}

.curated-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  border: 1px dashed #53646d;
  border-radius: 0.8rem;
  background: #102a38;
  color: #d3dfe4;
  font-size: 1.6rem;
  line-height: 1.3;
  text-align: center;
  padding: 1.4rem;
}

.curated-image-placeholder small {
  color: #94a8b2;
  font-size: 1.3rem;
}

.curated-image-placeholder--hero {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.curated-image-placeholder--creator {
  width: min(100%, 16rem);
  aspect-ratio: 4 / 5;
  margin-bottom: 1.6rem;
}

.curated-actress__portrait {
  display: flex;
  width: min(100%, 16rem);
  aspect-ratio: 3 / 4;
  margin-bottom: 1.6rem;
  border-radius: 6px;
}

/* Match the movie heading size while nesting it beneath the section heading. */
.curated-list-section-title {
  font-size: 3.2rem;
  margin: 0 0 3rem !important;
}

.curated-film-title {
  font-size: 3rem;
  margin: 0 0 1.2rem;
}

@media (max-width: 780px) {
  .curated-character-intro,
  .curated-actress-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.8rem;
  }

  .curated-character-creator {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-left: 0;
    padding-top: 2.8rem;
  }

  .curated-list-section-title {
    font-size: 2.8rem;
    margin-bottom: 2.4rem !important;
  }

  .curated-film-title,
  .curated-character-intro__copy h2,
  .curated-actresses > h2 {
    font-size: 2.8rem;
  }
}
