:root {
  --ivh-navy: #073e6d;
  --ivh-blue: #0d5d8e;
  --ivh-teal: #07877e;
  --ivh-mint: #92ead6;
  --ivh-ink: #113858;
  --ivh-muted: #5b7288;
  --ivh-line: #d4e4ed;
  --ivh-bg: #f3f8fb;
  --ivh-orange: #fa6618;
}

.ipser-video-hub {
  background: var(--ivh-bg);
  color: var(--ivh-ink);
  font-family: Arial, Helvetica, sans-serif;
  overflow: hidden;
}

.ipser-video-shell {
  width: min(1420px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 84px;
}

.ipser-video-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0 0 28px;
  color: #647d91;
  font-size: 16px;
}

.ipser-video-breadcrumbs a { color: #087f78; text-decoration: none; }
.ipser-video-breadcrumbs a:hover { text-decoration: underline; }

.ipser-video-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(330px, .72fr);
  gap: clamp(42px, 7vw, 110px);
  align-items: center;
  min-height: 610px;
  padding: clamp(52px, 6vw, 86px);
  border-radius: 34px;
  color: #fff;
  background: linear-gradient(125deg, #073e6d 0%, #0b5b88 57%, #07877e 100%);
  box-shadow: 0 28px 70px rgba(5, 58, 91, .18);
  isolation: isolate;
}

.ipser-video-hero::before,
.ipser-video-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
}
.ipser-video-hero::before { width: 520px; height: 520px; right: -215px; bottom: -290px; }
.ipser-video-hero::after { width: 230px; height: 230px; right: 25%; top: -155px; }

.ipser-video-eyebrow {
  margin: 0 0 18px;
  color: var(--ivh-mint);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ipser-video-hero h1 {
  max-width: 880px;
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(44px, 5.1vw, 78px);
  line-height: 1.04;
  letter-spacing: -.035em;
}

.ipser-video-hero__copy > p:not(.ipser-video-eyebrow) {
  max-width: 860px;
  margin: 0;
  color: rgba(255,255,255,.9);
  font-size: clamp(19px, 1.55vw, 25px);
  line-height: 1.58;
}

.ipser-video-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.ipser-video-actions a,
.ipser-video-inline-cta > a,
.ipser-video-final-cta > a {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--ivh-orange);
  border-radius: 12px;
  background: var(--ivh-orange);
  color: #fff;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.ipser-video-actions a:hover,
.ipser-video-inline-cta > a:hover,
.ipser-video-final-cta > a:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(35,37,45,.18); }
.ipser-video-actions .ipser-video-actions__secondary { border-color: rgba(255,255,255,.55); background: transparent; }

.ipser-video-hero__answer {
  width: auto;
  max-width: none;
  margin: 0;
  float: none;
  padding: 34px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 24px;
  background: rgba(255,255,255,.13);
  box-shadow: 0 24px 46px rgba(3,39,68,.17);
  backdrop-filter: blur(12px);
}
.ipser-video-hero__answer > span { display: block; margin-bottom: 12px; color: var(--ivh-mint); font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ipser-video-hero__answer > strong { display: block; color: #fff; font-size: clamp(26px, 2.2vw, 36px); line-height: 1.16; }
.ipser-video-hero__answer p { margin: 18px 0; color: rgba(255,255,255,.87); font-size: 18px; line-height: 1.55; }
.ipser-video-hero__answer a { color: #fff; font-weight: 800; text-decoration: none; }

.ipser-video-proof {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: -48px 36px 0;
  border: 1px solid var(--ivh-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(12,61,93,.12);
}
.ipser-video-proof span { padding: 24px 18px; color: var(--ivh-muted); text-align: center; }
.ipser-video-proof span + span { border-left: 1px solid var(--ivh-line); }
.ipser-video-proof strong { display: block; margin-bottom: 4px; color: var(--ivh-navy); font-size: 24px; }

.ipser-video-intro {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: end;
  padding: 110px 38px 58px;
}
.ipser-video-intro .ipser-video-eyebrow,
.ipser-video-browser .ipser-video-eyebrow,
.ipser-video-guide .ipser-video-eyebrow,
.ipser-video-faq .ipser-video-eyebrow,
.ipser-video-final-cta .ipser-video-eyebrow { color: var(--ivh-teal); }
.ipser-video-intro h2,
.ipser-video-browser h2,
.ipser-video-guide h2,
.ipser-video-faq h2,
.ipser-video-final-cta h2 { margin: 0; color: var(--ivh-navy); font-size: clamp(34px, 3.5vw, 54px); line-height: 1.1; letter-spacing: -.025em; }
.ipser-video-intro > p { margin: 0; color: var(--ivh-muted); font-size: 20px; line-height: 1.7; }

.ipser-video-browser {
  scroll-margin-top: 130px;
  padding: clamp(34px, 5vw, 62px);
  border: 1px solid var(--ivh-line);
  border-radius: 28px;
  background: #fff;
}
.ipser-video-browser__head { display: grid; grid-template-columns: 1fr minmax(320px, 470px); gap: 40px; align-items: end; }
.ipser-video-search span { display: block; margin-bottom: 8px; color: var(--ivh-ink); font-weight: 700; }
.ipser-video-search input { width: 100%; min-height: 56px; padding: 13px 17px; border: 2px solid var(--ivh-line); border-radius: 12px; color: var(--ivh-ink); font-size: 17px; }
.ipser-video-search input:focus { border-color: var(--ivh-teal); outline: 3px solid rgba(7,135,126,.16); }
.ipser-video-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 13px; }
.ipser-video-filters button { min-height: 44px; padding: 9px 16px; border: 1px solid var(--ivh-line); border-radius: 999px; background: #f8fbfd; color: var(--ivh-ink); font-weight: 700; cursor: pointer; }
.ipser-video-filters button:hover,
.ipser-video-filters button.is-active { border-color: var(--ivh-teal); background: #e6f6f3; color: #006c66; }
.ipser-video-count { margin: 0 0 24px; color: var(--ivh-muted); font-size: 15px; }

.ipser-video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ipser-video-card { min-width: 0; overflow: hidden; border: 1px solid var(--ivh-line); border-radius: 18px; background: #fff; box-shadow: 0 10px 28px rgba(14,63,93,.08); transition: transform .18s ease, box-shadow .18s ease; }
.ipser-video-card:hover { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(14,63,93,.14); }
.ipser-video-card[hidden] { display: none; }
.ipser-video-poster { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #dfeaf0; }
.ipser-video-poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ipser-video-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(3,35,59,.34), transparent 58%); pointer-events: none; }
.ipser-video-play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 68px; height: 68px; transform: translate(-50%,-50%); border: 0; border-radius: 50%; background: var(--ivh-orange); box-shadow: 0 14px 28px rgba(0,0,0,.25); cursor: pointer; }
.ipser-video-play:hover { background: #e95308; }
.ipser-video-play span { display: block; width: 0; height: 0; margin-left: 4px; border-top: 11px solid transparent; border-bottom: 11px solid transparent; border-left: 18px solid #fff; }
.ipser-video-card__body { display: flex; min-height: 300px; flex-direction: column; padding: 24px; }
.ipser-video-tag { align-self: flex-start; margin-bottom: 12px; padding: 6px 10px; border-radius: 999px; background: #e8f6f4; color: #08756f; font-size: 13px; font-weight: 800; }
.ipser-video-card h3 { margin: 0 0 12px; font-size: 24px; line-height: 1.24; }
.ipser-video-card h3 a { color: var(--ivh-navy); text-decoration: none; }
.ipser-video-card p { margin: 0 0 20px; color: var(--ivh-muted); font-size: 17px; line-height: 1.55; }
.ipser-video-card__links { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: auto; }
.ipser-video-text-play { min-height: 42px; padding: 9px 14px; border: 0; border-radius: 9px; background: var(--ivh-navy); color: #fff; font-weight: 800; cursor: pointer; }
.ipser-video-card__links a { color: var(--ivh-teal); font-weight: 800; text-decoration: none; }

.ipser-video-inline-cta { grid-column: 1 / -1; display: grid; width: auto; max-width: none; margin: 0; float: none; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding: 34px 38px; border-radius: 20px; color: #fff; background: linear-gradient(120deg, #073e6d, #087f78); }
.ipser-video-inline-cta span { color: var(--ivh-mint); font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ipser-video-inline-cta strong { display: block; margin-top: 8px; color: #fff; font-size: 28px; line-height: 1.25; }
.ipser-video-inline-cta p { margin: 10px 0 0; color: rgba(255,255,255,.85); font-size: 17px; line-height: 1.55; }
.ipser-video-empty { padding: 25px; border-radius: 12px; background: #fff4ed; color: #7d3510; }

.ipser-video-guide { padding: 100px 38px 50px; }
.ipser-video-guide__lead { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: end; }
.ipser-video-guide__lead > p:last-child { margin: 0; color: var(--ivh-muted); font-size: 19px; line-height: 1.7; }
.ipser-video-guide__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.ipser-video-guide__cards article { padding: 28px; border: 1px solid var(--ivh-line); border-radius: 18px; background: #fff; }
.ipser-video-guide__cards span { color: var(--ivh-teal); font-size: 15px; font-weight: 800; }
.ipser-video-guide__cards h3 { margin: 16px 0 10px; color: var(--ivh-navy); font-size: 25px; }
.ipser-video-guide__cards p { margin: 0; color: var(--ivh-muted); font-size: 17px; line-height: 1.6; }

.ipser-video-faq { max-width: 1040px; margin: 55px auto 0; }
.ipser-video-faq h2 { margin-bottom: 28px; }
.ipser-video-faq details { border: 1px solid var(--ivh-line); border-radius: 12px; background: #fff; }
.ipser-video-faq details + details { margin-top: 12px; }
.ipser-video-faq summary { padding: 20px 22px; color: var(--ivh-navy); font-size: 19px; font-weight: 800; cursor: pointer; }
.ipser-video-faq details p { margin: 0; padding: 0 22px 22px; color: var(--ivh-muted); font-size: 17px; line-height: 1.65; }

.ipser-video-final-cta { display: grid; grid-template-columns: 1fr auto; gap: 45px; align-items: center; margin-top: 90px; padding: clamp(36px, 5vw, 64px); border-radius: 26px; background: #fff; box-shadow: 0 18px 44px rgba(12,61,93,.1); }
.ipser-video-final-cta h2 { max-width: 850px; }
.ipser-video-final-cta p:not(.ipser-video-eyebrow) { max-width: 850px; color: var(--ivh-muted); font-size: 18px; line-height: 1.65; }

.ipser-video-modal[hidden] { display: none; }
.ipser-video-modal { position: fixed; z-index: 9999999; inset: 0; display: grid; place-items: center; padding: 24px; }
.ipser-video-modal__backdrop { position: absolute; inset: 0; background: rgba(1,19,31,.82); }
.ipser-video-modal__dialog { position: relative; width: min(1000px, 94vw); overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 25px 70px rgba(0,0,0,.4); }
.ipser-video-modal__head { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 14px 18px; }
.ipser-video-modal__head h2 { margin: 0; color: var(--ivh-navy); font-size: 20px; }
.ipser-video-modal__head button { width: 42px; height: 42px; border: 0; border-radius: 50%; background: #edf3f7; color: var(--ivh-navy); font-size: 28px; cursor: pointer; }
.ipser-video-modal__frame { aspect-ratio: 16 / 9; background: #00111d; }
.ipser-video-modal__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.ipser-video-modal-open { overflow: hidden; }

@media (max-width: 1100px) {
  .ipser-video-hero { grid-template-columns: 1fr; min-height: auto; }
  .ipser-video-hero__answer { max-width: 720px; }
  .ipser-video-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ipser-video-browser__head,
  .ipser-video-intro,
  .ipser-video-guide__lead { grid-template-columns: 1fr; gap: 26px; }
  .ipser-video-final-cta { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .ipser-video-shell { width: min(100% - 24px, 1420px); padding-top: 16px; }
  .ipser-video-breadcrumbs { margin-bottom: 18px; font-size: 14px; }
  .ipser-video-hero { gap: 28px; padding: 34px 22px; border-radius: 22px; }
  .ipser-video-hero h1 { font-size: clamp(38px, 11.5vw, 54px); overflow-wrap: anywhere; }
  .ipser-video-hero__copy > p:not(.ipser-video-eyebrow) { font-size: 18px; }
  .ipser-video-actions { flex-direction: column; }
  .ipser-video-actions a { width: 100%; }
  .ipser-video-hero__answer { padding: 24px; }
  .ipser-video-proof { grid-template-columns: 1fr 1fr; margin: 18px 0 0; }
  .ipser-video-proof span { padding: 18px 10px; }
  .ipser-video-proof span:nth-child(3) { border-left: 0; border-top: 1px solid var(--ivh-line); }
  .ipser-video-proof span:nth-child(4) { border-top: 1px solid var(--ivh-line); }
  .ipser-video-intro { padding: 68px 10px 38px; }
  .ipser-video-browser { padding: 28px 16px; border-radius: 20px; }
  .ipser-video-browser__head { grid-template-columns: minmax(0,1fr); }
  .ipser-video-grid { grid-template-columns: 1fr; }
  .ipser-video-inline-cta { grid-template-columns: 1fr; padding: 26px 22px; }
  .ipser-video-inline-cta strong { font-size: 24px; }
  .ipser-video-card__body { min-height: 0; }
  .ipser-video-guide { padding: 68px 10px 30px; }
  .ipser-video-guide__cards { grid-template-columns: 1fr; }
  .ipser-video-faq { margin-top: 45px; }
  .ipser-video-final-cta { margin-top: 65px; padding: 30px 22px; }
  .ipser-video-modal { padding: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .ipser-video-card,
  .ipser-video-actions a,
  .ipser-video-inline-cta > a,
  .ipser-video-final-cta > a { transition: none; }
}
