/* HISS 2026-10-13: "How Much Fabric Should I Buy?" click-to-play video block,
   intermediate-classes.html — placed between the bottom row of the intermediate
   class grid and the "Just starting out?" section. Hidden on phone widths
   (u-hidden-sm u-hidden-xs, same convention used elsewhere on this page) per
   Tish's request to only show it at tablet width and up. Click-to-play facade:
   a plain thumbnail + play button sit in the DOM until clicked, so nothing
   starts playing on scroll/load — the real YouTube iframe (with autoplay=1)
   is only created on click/Enter/Space (see intermediate-classes-video.js).
   Title is sized (h1.hiss-fabric-video-title, 2.25rem) and !important-free but
   specific enough to beat nicepage.css's h1:not(.u-title) { font-size: 3rem }
   rule, matching the "Intermediate Skills" heading's size exactly per Tish's
   request. */

.hiss-fabric-video-section {
  padding: 60px 20px 70px;
  text-align: center;
  background: #fff;
}

h1.hiss-fabric-video-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #0936b4;
  margin: 0 0 12px;
}

.hiss-fabric-video-desc {
  font-size: 1.1rem;
  line-height: 1.5;
  color: #4a4a4a;
  max-width: 700px;
  margin: 0 auto 32px;
}

.hiss-video-facade {
  position: relative;
  max-width: 750px;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #000;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
}

.hiss-video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hiss-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
  transition: transform 0.15s ease;
  pointer-events: none;
}

.hiss-video-facade:hover .hiss-video-play {
  transform: translate(-50%, -50%) scale(1.08);
}

.hiss-video-facade iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hiss-fabric-video-cats {
  font-size: 1.1rem;
  font-weight: 600;
  color: #262626;
  max-width: 650px;
  margin: 30px auto 0;
}

.hiss-video-cats-btn {
  display: inline-block;
  background: #0936b4;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 18px;
  transition: background 0.15s ease;
}

.hiss-video-cats-btn:hover {
  background: #b31812;
  color: #fff;
}

@media (max-width: 991px) {
  .hiss-fabric-video-section {
    padding: 44px 16px 50px;
  }
  .hiss-fabric-video-desc {
    font-size: 1rem;
    margin-bottom: 24px;
  }
  .hiss-fabric-video-cats {
    font-size: 1rem;
  }
}
