/* Home (/), WordPress page 26 */

body.page-home { background-color: var(--c-white); }

/* Hero: Vimeo background with Home-BANNER fallback, Zingtannica logo */
.home-hero {
  position: relative;
  /* The box takes the video's shape (1940x1440) so the whole frame shows.
     No overflow:hidden here (.bg-video clips the player), so the box can
     still grow if the logo ever needs more room. */
  aspect-ratio: 1940 / 1440;
  background: #000 url("/assets/img/home/Home-BANNER_Optimized.jpg") top center / cover no-repeat;
}
.home-hero__content { position: relative; z-index: 1; padding-top: 190px; }
.home-hero__logo { width: min(1000px, 80%); margin-inline: auto; }
/* Vimeo 769817360 is 1940x1440, not 16:9 */
.home-hero .bg-video { --bg-video-ratio: calc(1940 / 1440); }
@supports not (width: 1cqw) {
  .home-hero .bg-video iframe { width: 100%; height: 100%; min-width: 0; min-height: 0; }
}
@media (max-width: 767px) {
  /* The hero is now only ~290px tall on phones: just clear the 68px header */
  .home-hero__content { padding-top: 90px; }
  .home-hero__logo { width: 75%; }
}

/* Generic 3-column row with decorative StikBots on the sides */
.row3 {
  display: grid;
  grid-template-columns: 20% 60% 20%;
  align-items: start;
  max-width: 1280px;
  margin-inline: auto;
}
.row3__side img { width: 100%; }
.row3__main { padding: 0 10px; text-align: center; }

.welcome { grid-template-columns: 25% 50% 25%; align-items: center; padding-top: 50px; }
.welcome .row3__main { padding-top: 40px; }
.welcome h1 { font-size: var(--fs-title); line-height: 45px; color: var(--c-ink); }
.welcome p { color: var(--c-ink); }
.welcome__left img { position: relative; left: 15px; }
.welcome__right img { position: relative; left: -20px; }

.deco-pair { grid-template-columns: 20% 60% 20%; }
.deco-pair__left img { position: relative; left: 20px; }
.deco-pair__right img { position: relative; right: 70px; }

.episode { padding-bottom: 20px; }
.episode .divider { margin-top: 13px; }
.episode h2 { font-size: var(--fs-title); line-height: 45px; color: var(--c-ink); }
.episode__left img { position: relative; left: 0; }
.episode__right img { position: relative; left: -85px; }

/* About */
.about { padding: 30px var(--gutter) 50px; }
.about__grid { display: grid; grid-template-columns: 25% 50% 25%; max-width: 1280px; margin: 20px auto 0; }
.about__grid > div { grid-column: 2; }
.about p { color: var(--c-ink); }
.about img { margin-bottom: var(--widget-gap); }
.about .btn { margin-bottom: var(--widget-gap); }
.about__cta { text-align: center; }

/* As Seen On */
.as-seen-on { padding: 0 var(--gutter) 40px; }
.as-seen-on h2 { margin-bottom: 20px; }
.as-seen-on .carousel { max-width: 1140px; margin-inline: auto; }

@media (max-width: 1024px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__grid > div { grid-column: 1; }
}

@media (max-width: 767px) {
  .row3, .welcome, .deco-pair { grid-template-columns: 1fr; }
  .row3__side:empty { display: none; }
  .row3__side img { width: 70%; margin-inline: auto; left: 0 !important; right: 0 !important; }
  .welcome .row3__main { padding: 20px; }
  .welcome p { text-align: justify; }
  .welcome h1, .episode h2 { line-height: 1.25; }
  .deco-pair { display: none; }
}
