/* Video library — editorial cardiology journal with responsive media cards. */
.video-hub-page {
  --vh-ink: #14283c;
  --vh-muted: #63778a;
  --vh-line: #dce5ea;
  --vh-paper: #f4f7f7;
  --vh-teal: #67c8b9;
  --vh-deep: #102436;
  background: var(--vh-paper);
  color: var(--vh-ink);
}

.video-hub-page main { overflow: hidden; }
.video-container { width: calc(100% - 48px); max-width: 1160px; margin-inline: auto; }

.video-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(132px, 10vw, 150px) 0 76px;
  background:
    radial-gradient(ellipse at 77% 38%, rgba(31, 133, 142, .35), transparent 30%),
    linear-gradient(125deg, #101f32 0%, #17384c 58%, #174f58 100%);
  color: #fff;
}
.video-hero::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
  content: "";
  pointer-events: none;
}
.video-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  align-items: center;
  gap: clamp(34px, 7vw, 88px);
}
.video-hero-copy { max-width: 660px; }
.video-eyebrow,
.video-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 17px;
  color: #8cddd0;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.video-eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: #80debd; box-shadow: 0 0 0 5px rgba(128,222,189,.13); }
.video-hero h1 {
  max-width: 650px;
  margin: 0;
  color: #f8fbff;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(2.7rem, 6vw, 5.35rem);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: .98;
}
.video-hero h1 em { color: #87dfd0; font-weight: 500; }
.video-hero-sub {
  max-width: 555px;
  margin: 22px 0 0;
  color: rgba(236,246,249,.74);
  font-size: 1.02rem;
  line-height: 1.75;
}
.video-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 29px; }
.video-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 17px;
  border: 1px solid #9ae4d5;
  border-radius: 10px;
  background: #a5e8d7;
  color: #103744;
  font-size: .86rem;
  font-weight: 800;
  text-decoration: none;
  transition: background .18s, transform .18s;
}
.video-hero-cta:hover { transform: translateY(-2px); background: #bff3e5; }
.video-channel-link { display: inline-flex; align-items: center; gap: 8px; color: #e8f5f6; font-size: .82rem; font-weight: 700; text-decoration: none; }
.video-channel-link:hover { color: #9ae4d5; }

.video-hero-art { position: relative; display: grid; place-items: center; min-height: 310px; }
.video-art-orbit {
  position: absolute;
  width: min(27vw, 320px);
  aspect-ratio: 1;
  border: 1px solid rgba(172,237,222,.22);
  border-radius: 50%;
}
.video-art-orbit--outer { transform: rotate(-24deg) scaleX(1.22); }
.video-art-orbit--inner { width: min(19vw, 225px); border-color: rgba(172,237,222,.36); transform: rotate(34deg) scaleX(.78); }
.video-art-play {
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  padding-left: 7px;
  border: 1px solid rgba(255,255,255,.46);
  border-radius: 36px;
  background: linear-gradient(140deg, rgba(120,215,196,.95), rgba(34,114,132,.92));
  box-shadow: 0 24px 65px rgba(2,16,32,.34), inset 0 1px 0 rgba(255,255,255,.45);
  color: #fff;
  font-size: 2.25rem;
  transform: rotate(-8deg);
}
.video-art-note {
  position: absolute;
  right: 3%;
  bottom: 2%;
  display: grid;
  gap: 4px;
  min-width: 220px;
  padding: 14px 17px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  background: rgba(9,28,43,.68);
  box-shadow: 0 16px 35px rgba(4,18,30,.18);
  backdrop-filter: blur(12px);
}
.video-art-note span { color: #93dacc; font-size: .64rem; font-weight: 800; letter-spacing: .12em; }
.video-art-note strong { color: #fff; font-size: .83rem; }

.video-jump-nav { position: relative; z-index: 2; border-bottom: 1px solid var(--vh-line); background: #fff; }
.video-jump-nav > .video-container { display: flex; align-items: center; gap: 8px; overflow-x: auto; }
.video-jump-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 58px;
  padding: 0 15px;
  border-bottom: 2px solid transparent;
  color: #64788a;
  font-size: .82rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}
.video-jump-nav a:hover,
.video-jump-nav a.is-active { border-color: var(--vh-teal); color: #183e4e; }
.video-jump-nav a span { display: grid; place-items: center; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 999px; background: #edf3f4; color: #526879; font-size: .68rem; }

.video-section { padding: 67px 0; scroll-margin-top: 90px; }
.youtube-section { background: #f4f7f7; }
.social-video-section { border-top: 1px solid #e4eaed; background: #fff; }
.video-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 27px;
}
.video-section-kicker { margin-bottom: 8px; color: #247b7d; font-size: .67rem; }
.video-section-heading h2 { margin: 0; color: var(--vh-ink); font-family: Fraunces, Georgia, serif; font-size: clamp(1.8rem, 3vw, 2.65rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; }
.video-section-heading p:not(.video-section-kicker) { max-width: 570px; margin: 9px 0 0; color: var(--vh-muted); font-size: .9rem; line-height: 1.6; }
.video-total { flex: 0 0 auto; padding: 8px 11px; border: 1px solid #d6e3e6; border-radius: 999px; background: #fff; color: #506879; font-size: .72rem; font-weight: 750; }
.video-social-link { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid #d7e3e7; border-radius: 9px; color: #416174; font-size: .75rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.video-social-link:hover { border-color: #afd7d0; background: #f2f8f7; color: #176d72; }

.youtube-grid,
.social-video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.youtube-card,
.social-video-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dde6e9;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(22,46,65,.055);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.youtube-card:hover,
.social-video-card:hover { transform: translateY(-3px); border-color: #bfd8d8; box-shadow: 0 14px 29px rgba(22,46,65,.095); }
.youtube-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #0f202c; }
.youtube-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.youtube-card-copy { padding: 15px 16px 17px; }
.youtube-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 9px; color: #728696; font-size: .64rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.youtube-card-meta span:first-child { color: #187777; }
.youtube-card h3,
.social-video-card h3 { margin: 0; color: #19364b; font-size: .96rem; font-weight: 780; line-height: 1.35; }
.youtube-card-copy p { margin: 7px 0 13px; color: #718394; font-size: .78rem; line-height: 1.55; }
.youtube-watch-link { display: inline-flex; align-items: center; gap: 7px; color: #276d72; font-size: .74rem; font-weight: 800; text-decoration: none; }
.youtube-watch-link:hover { color: #124c58; }

.social-video-card { padding: 13px; }
.social-video-card h3 { padding: 12px 3px 2px; font-size: .87rem; }
.social-video-card blockquote.tiktok-embed,
.social-video-card blockquote.instagram-media {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 auto !important;
}
.social-video-card iframe { max-width: 100%; }
.video-empty { grid-column: 1 / -1; padding: 28px; border: 1px dashed var(--vh-line); border-radius: 14px; color: var(--vh-muted); text-align: center; }

@media (max-width: 900px) {
  .video-hero { padding-top: 130px; }
  .video-hero-layout { grid-template-columns: minmax(0, 1.1fr) minmax(230px, .9fr); gap: 25px; }
  .video-hero-art { min-height: 260px; }
  .video-art-play { width: 94px; height: 94px; border-radius: 29px; }
  .youtube-grid,
  .social-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .video-container { width: calc(100% - 30px); max-width: 560px; }
  .video-hero { padding: 108px 0 46px; }
  .video-hero-layout { grid-template-columns: 1fr; }
  .video-hero-art { min-height: 180px; margin-top: 4px; }
  .video-art-orbit--outer { width: 190px; }
  .video-art-orbit--inner { width: 135px; }
  .video-art-play { width: 76px; height: 76px; border-radius: 24px; font-size: 1.6rem; }
  .video-art-note { right: 0; bottom: -4px; min-width: 195px; padding: 10px 12px; }
  .video-hero-sub { font-size: .92rem; }
  .video-jump-nav > .video-container { gap: 0; }
  .video-jump-nav a { min-height: 51px; padding: 0 11px; font-size: .75rem; }
  .video-section { padding: 48px 0; }
  .video-section-heading { align-items: flex-start; flex-direction: column; gap: 13px; margin-bottom: 19px; }
  .video-total { align-self: flex-start; }
  .youtube-grid,
  .social-video-grid { grid-template-columns: 1fr; gap: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .video-hub-page *,
  .video-hub-page *::before,
  .video-hub-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
