/* Chunk 468: the click-to-play video player (_video_player.html) and the
   /how-to page. The player is 16:9 from the start, and the thumbnail and
   the iframe both fill it, so nothing shifts when the iframe arrives. */

.howto-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #0F1226;
  border: 1px solid #e7e9f0;
  box-shadow: 0 1px 2px rgba(15, 18, 38, 0.04),
              0 8px 24px rgba(15, 18, 38, 0.08);
}
.howto-player .howto-thumb,
.howto-player img,
.howto-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.howto-player img { object-fit: cover; }
.howto-player .howto-play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.howto-player .howto-play[hidden] { display: none; }
.howto-player .howto-play svg { transition: transform 0.12s; }
.howto-player .howto-play:hover svg,
.howto-player .howto-play:focus-visible svg { transform: scale(1.08); }
.howto-player .howto-play:focus-visible {
  outline: 3px solid #3FB6E3;
  outline-offset: -3px;
}

/* The home page section, straight after the hero. */
.howto-home {
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem 2.5rem;
}
.howto-home h2,
.howto-page h1 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  color: #2B3990;
  letter-spacing: -0.01em;
}
.howto-home h2 {
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  margin-bottom: 1rem;
}
.howto-more {
  margin-top: 0.75rem;
  font-size: 0.95rem;
}
.howto-more a { color: #1C75BC; text-decoration: none; font-weight: 500; }
.howto-more a:hover { text-decoration: underline; }

/* /how-to */
.howto-page {
  flex: 1;
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}
.howto-page h1 {
  font-size: clamp(1.8rem, 2.6vw, 2.2rem);
  margin-bottom: 0.5rem;
}
.howto-page .intro { color: #6D6E72; margin-bottom: 2rem; }
.howto-item { margin-bottom: 2.5rem; }
.howto-item h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #262262;
  margin-bottom: 0.2rem;
}
.howto-item .meta { font-size: 0.85rem; color: #6D6E72; margin-bottom: 0.35rem; }
.howto-item p.desc { margin-bottom: 0.9rem; }
.howto-cta { text-align: center; margin-top: 1rem; }
.howto-cta .btn {
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.4rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  background: #2B3990;
  color: #ffffff;
  border: 1px solid #2B3990;
}
.howto-cta .btn:hover { background: #1e2a6e; border-color: #1e2a6e; }

@media (max-width: 640px) {
  .howto-home { padding: 0 1.25rem 2rem; }
  .howto-page { padding: 1.5rem 1.25rem 2.5rem; }
}
