/**
 * WVARC Video Presentations page.
 *
 * Large presentation cards on the club navy background. The page remains made
 * entirely from native Gutenberg groups, embeds, headings, and paragraphs.
 */

.page-id-488 .entry-content {
  padding-block: clamp(3rem, 6vw, 5rem);
  background: #003366;
  color: #fff3c8;
}

.page-id-488 .entry-content > .wp-block-heading {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  width: min(100% - 2rem, 69.5rem);
  margin: 0 auto clamp(2.25rem, 5vw, 3.5rem);
  color: #f6c43d;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 700;
  line-height: 1.18;
  text-align: center;
}

.page-id-488 .entry-content > .wp-block-heading::before,
.page-id-488 .entry-content > .wp-block-heading::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: #daa520;
}

.page-id-488 .entry-content > .wp-block-heading:not(:first-child) {
  margin-top: clamp(4.5rem, 9vw, 7rem);
}

.page-id-488 .wvarc-video-presentation {
  width: min(100% - 2rem, 64rem);
  margin: 0 auto clamp(3.5rem, 7vw, 5.25rem);
  padding: clamp(1rem, 2.5vw, 1.5rem);
  overflow: hidden;
  border: 1px solid #1a769f;
  border-radius: var(--wvarc-radius);
  background: #111111;
  box-shadow: 0 0.9rem 2.2rem rgba(0, 0, 0, 0.24);
}

.page-id-488 .wvarc-video-presentation:last-child {
  margin-bottom: 0;
}

.page-id-488 .wvarc-video-presentation .wp-block-embed {
  width: 100%;
  margin: 0 auto clamp(1.25rem, 3vw, 1.75rem);
}

.page-id-488 .wvarc-video-presentation .wp-block-embed__wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255, 243, 200, 0.28);
  background: #000000;
}

.page-id-488 .wvarc-video-presentation .wp-block-embed__wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.page-id-488 .wvarc-video-presentation h4 {
  width: auto;
  margin: 0 0 0.4rem;
  color: #f6c43d;
  font-family: var(--wvarc-font-heading);
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.page-id-488 .wvarc-video-presentation p {
  width: auto;
  max-width: none;
  margin: 0;
  color: #fff3c8;
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  line-height: 1.55;
  text-align: center;
}

.page-id-488 .wvarc-video-presentation p a {
  color: #f6c43d;
  font-weight: 700;
}

.page-id-488 .wvarc-video-presentation p a:hover {
  color: #ffffff;
}

/* Gutenberg editor preview for the reusable presentation groups. */
.editor-styles-wrapper .wvarc-video-presentation {
  width: min(100%, 64rem);
  margin: 0 auto 4rem;
  padding: 1.5rem;
  border: 1px solid #1a769f;
  border-radius: var(--wvarc-radius);
  background: #111111;
  color: #fff3c8;
}

.editor-styles-wrapper .wvarc-video-presentation .wp-block-embed {
  margin-bottom: 1.5rem;
}

.editor-styles-wrapper .wvarc-video-presentation h4 {
  color: #f6c43d;
}

.editor-styles-wrapper .wvarc-video-presentation h4,
.editor-styles-wrapper .wvarc-video-presentation p {
  max-width: none;
  text-align: center;
}

@media (max-width: 42rem) {
  .page-id-488 .entry-content {
    padding-block: 2.5rem 3.5rem;
  }

  .page-id-488 .entry-content > .wp-block-heading {
    display: block;
    margin-bottom: 2rem;
  }

  .page-id-488 .entry-content > .wp-block-heading::before,
  .page-id-488 .entry-content > .wp-block-heading::after {
    display: none;
  }

  .page-id-488 .entry-content > .wp-block-heading:not(:first-child) {
    margin-top: 4rem;
  }

  .page-id-488 .wvarc-video-presentation {
    margin-bottom: 3.5rem;
    padding: 0.8rem 0.8rem 1.15rem;
  }
}
