/* Krisp review media sizing and resilient video embed. */
body.single-post .wp-block-post-featured-image {
  display: none !important;
}

/* Tighten the review template after removing its full-width featured image. */
body.single-post .tiu-article-header {
  padding-bottom: 1.25rem !important;
  padding-top: clamp(2.5rem, 5vw, 5rem) !important;
}

body.single-post .tiu-article-title {
  font-size: clamp(2.7rem, 5vw, 4.75rem) !important;
  line-height: 0.98;
  margin-bottom: 1rem !important;
}

body.single-post .tiu-disclosure {
  margin-bottom: 1.25rem !important;
  margin-top: 0.75rem !important;
}

body.single-post .tiu-article-content {
  padding-top: 0 !important;
}

body.single-post .tiu-article-content h2 {
  margin-bottom: 0.85rem !important;
  margin-top: 2.25rem !important;
}

body.single-post .tiu-article-content h3 {
  margin-bottom: 0.65rem !important;
  margin-top: 1.75rem !important;
}

body.single-post .tiu-article-content .wp-block-post-content > :first-child {
  margin-top: 0 !important;
}

.tiu-youtube-embed {
  margin: clamp(2rem, 5vw, 3.5rem) auto;
  max-width: 900px;
}

.tiu-video-frame {
  aspect-ratio: 16 / 9;
  background: #081725;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(8, 23, 37, 0.12);
  overflow: hidden;
  position: relative;
}

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

.tiu-youtube-embed figcaption {
  color: #53636f;
  font-size: 0.82rem;
  margin-top: 0.7rem;
  text-align: center;
}

@media (max-width: 640px) {
  body.single-post .tiu-article-header {
    padding-bottom: 1rem !important;
    padding-top: 2.25rem !important;
  }

  body.single-post .tiu-disclosure {
    margin-top: 0.5rem !important;
  }

  body.single-post .tiu-article-content h2 {
    margin-top: 1.75rem !important;
  }

  body.single-post .tiu-article-content h3 {
    margin-top: 1.5rem !important;
  }
}
