/* Iniciativas parks Materiais. Two tabs, one gap. Sobre keeps the 3-tab grid. */
.subnav-two {
  grid-template-columns:
    var(--menu-gutter)
    max-content
    var(--space-subnav)
    max-content
    minmax(var(--menu-gutter), 1fr);
}

.subnav-two::after { grid-column: 2 / 5; }

.subnav-item[hidden] { display: none; }

.page-hero-art > .page-hero-girl {
  width: 87%;
  margin-top: 0.75rem;
  margin-inline: auto;
}

.page-hero-art > .page-hero-badge {
  position: absolute;
  top: 0;
  left: 50%;
  width: 24%;
  height: auto;
  max-height: none;
  transform: rotate(-3.94deg);
}

.campaign > .shell {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
  padding-bottom: var(--space-14);
}

.campaign-lead,
.campaign-share > p {
  color: var(--slate);
  font-size: var(--text-sm);
  font-weight: 400;
  line-height: 1.5;
}

.campaign-share {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.campaign h2 {
  font-family: var(--sora);
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.1;
  color: var(--blue);
}

.campaign-tags {
  color: var(--rose);
  font-weight: 600;
}

.campaign-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3.5rem;
  margin-top: var(--space-4);
  padding-inline: 2.5rem;
}

.campaign-card {
  gap: 2rem;
  height: 100%;
  padding: 2.5rem 1.5rem 1.5rem;
}

.campaign-card[data-motion="tactile"] .card-surface {
  gap: 2rem;
  padding: 2.5rem 1.5rem 1.5rem;
}

.campaign-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  min-width: 0;
}

.campaign-card h3 {
  font-size: var(--text-xl);
  line-height: 1.1;
}

.campaign-card p {
  max-width: 23.125rem;
  font-size: var(--text-sm);
  font-weight: 400;
  line-height: 1.3;
}

.campaign-cover {
  width: 170px;
  height: auto;
  border-radius: 15px;
}

.campaign-cover-mundano { border-radius: 10px; }

.series > .shell {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}

.series-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr);
  align-items: start;
  gap: var(--space-l);
}

.series-copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  min-width: 0;
}

.series h2,
.playlists h2 {
  font-family: var(--sora);
  font-weight: 700;
  line-height: 1.1;
  color: var(--blue);
}

.series h2,
.playlists h2 { font-size: var(--text-3xl); }

.series-copy p,
.playlists-head p {
  color: var(--slate);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.playlists { margin-top: var(--space-xl); }

.playlists-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-l);
}

.playlist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-l);
}

.playlist-grid li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  min-width: 0;
}

.playlist-grid h3 {
  align-self: stretch;
  text-align: center;
  font-family: var(--sans);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

.playlist-grid .btn { margin-top: var(--space-4); }

.player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #edecec;
}

.player iframe,
.player-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.player-cover {
  display: block;
  margin: 0;
  padding: 0;
  background: none;
  cursor: pointer;
}

.player-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
}

.player-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
}

@media (min-width: 1024px) {
  /* Three lines: the long titles wrap once more near the desktop edge. */
  .playlist-grid h3 { min-height: 3.75em; }
}

@media (min-width: 1120px) {
  /* Two lines at the measured column width, including 347px. */
  .playlist-grid h3 { min-height: 2.5em; }
}

@media (max-width: 1119px) {
  .campaign-cards { padding-inline: 0; }
}

@media (max-width: 799px) {
  .campaign-cards {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .campaign-card {
    width: 100%;
    max-width: 31.75rem;
  }
}

@media (max-width: 1023px) {
  .series-intro,
  .playlist-grid { grid-template-columns: 1fr; }

  .player {
    width: 75%;
    justify-self: center;
  }
}
