:root{
  --charcoal:#111114;
  --gold:#C8A55A;
  --cream:#F3EFE6;
  --muted: rgba(243,239,230,.72);
  --line: rgba(200,165,90,.18);

  --bg: var(--charcoal);
  --text: var(--cream);

  --radius: 18px;
  --shadow: 0 18px 50px rgba(0,0,0,.55);
  --container: 1120px;
}

/* Page-level override via body class */
body.verify{ --container: 980px; }

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-height:100vh;
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 70% 15%, rgba(200,165,90,.08), transparent 55%),
    radial-gradient(900px 600px at 25% 35%, rgba(243,239,230,.05), transparent 55%),
    var(--bg);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  line-height:1.45;
}

a{color:inherit; text-decoration:none}
.wrap{max-width:var(--container); margin:0 auto; padding:26px 18px 80px}

/* NAV */
/* NAV — fixed layout */
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 0 18px;
}

/* Brand stays stable, doesn’t squeeze */
.brand, .brand-nav{
  display:flex;
  align-items:center;
  gap:12px;
  flex: 0 0 auto;
  min-width: 340px; /* prevents the menu wrapping too early */
}

/* Menu becomes a single clean row */
.menu{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex: 1 1 auto;

  flex-wrap: nowrap;       /* IMPORTANT: stop wrapping */
  white-space: nowrap;     /* keep items on one line */
  overflow-x: auto;        /* if screen is tight, it scrolls instead of wrapping */
  -webkit-overflow-scrolling: touch;

  padding: 2px 0;
}

/* Hide scrollbar for a luxury look */
.menu::-webkit-scrollbar{height:0}
.menu{scrollbar-width:none}

/* Menu links — tighter, cleaner */
.menu a{
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(243,239,230,.78);
  padding:10px 12px;
  border-radius:999px;
  border:1px solid transparent;
  transition:border-color .18s ease, background .18s ease, color .18s ease;
}

.menu a:hover{
  border-color: rgba(200,165,90,.28);
  background: rgba(255,255,255,.03);
  color: var(--text);
}

/* Active / CTA pill */
.menu a.cta{
  border-color: rgba(200,165,90,.55);
  background: linear-gradient(180deg, rgba(200,165,90,.18), rgba(200,165,90,.08));
  color: var(--text);
  font-weight:800;
}

/* Mobile: allow wrap (otherwise it becomes tiny) */
@media (max-width: 860px){
  .brand, .brand-nav{min-width: 0}
  .menu{
    flex-wrap: wrap;
    white-space: normal;
    overflow: visible;
    justify-content:flex-start;
  }
}

/* HERO (Academy home) */
.hero{
  margin-top:10px;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.02);
  overflow:hidden;
  position:relative;
}

/* subtle geometric grid */
.hero:before{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(to right, rgba(200,165,90,.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(200,165,90,.08) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity:.22;
  pointer-events:none;
}

.hero-inner{
  position:relative;
  padding:54px 26px 44px;
  display:grid;
  grid-template-columns: 1.3fr .7fr;
  gap:22px;
  align-items:center;
}

@media (max-width: 920px){
  .hero-inner{grid-template-columns:1fr; padding:44px 18px 36px}
  .menu{gap:10px; justify-content:flex-end}
}

.frame{
  width: 520px;
  max-width:100%;
  aspect-ratio: 1.414 / 1;
  border-radius: 20px;
  border: 1px solid rgba(200,165,90,.28);
  position:relative;
  margin: 0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,.25);
  overflow:hidden;

  transition: transform .35s ease, box-shadow .35s ease;
}

.frame img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;

  transition: transform .6s cubic-bezier(.2,.6,.2,1);
}

/* Subtle luxury hover */
.frame:hover{
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(0,0,0,.55);
}

.frame:hover img{
  transform: scale(1.04);
}

.frame:before{
  content:"";
  position:absolute; inset:16px;
  border-radius: 18px;
  border: 1px solid rgba(200,165,90,.18);
  pointer-events:none;
}
.frame:after{
  content:"";
  position:absolute; inset:34px;
  border-radius: 14px;
  border: 1px solid rgba(243,239,230,.12);
  opacity:.55;
  pointer-events:none;
}


/* Video inside frame (if present) */
.frame .video-wrap{
  position: absolute;
  inset: 22px;
  border-radius: 14px;
  overflow: hidden;
  z-index: 2;
  background: #000;
}
.frame .video-wrap iframe{
  position:absolute; inset:0;
  width:100%;
  height:100%;
  border:0;
  display:block;
}

.hero-copy .kicker{
  font-size:12px;
  letter-spacing:.28em;
  text-transform:uppercase;
  color:rgba(243,239,230,.62);
  font-weight:800;
  margin-bottom:10px;
}
.hero-copy h1{
  margin:0;
  font-size:42px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color: var(--gold);
  font-weight:900;
  line-height:1.1;
}
.hero-copy .sub{
  margin-top:14px;
  color: rgba(243,239,230,.82);
  font-size:17px;
  line-height:1.6;
  max-width: 58ch;
}
.hero-copy .divider{
  height:1px;
  margin:18px 0 16px;
  background: linear-gradient(90deg, rgba(200,165,90,.7), transparent);
  opacity:.75;
  width: 420px;
  max-width: 100%;
}
.hero-copy .authority{
  color: rgba(243,239,230,.82);
  font-size:14px;
  line-height:1.6;
  letter-spacing:.06em;
}
.hero-copy .authority b{color:var(--text)}

/* Buttons */
.actions{display:flex; gap:12px; flex-wrap:wrap; margin-top:18px;}
.btn{
  appearance:none;
  border:1px solid rgba(200,165,90,.55);
  background: linear-gradient(180deg, rgba(200,165,90,.18), rgba(200,165,90,.08));
  color: var(--text);
  padding: 12px 14px;
  border-radius: 14px;
  cursor:pointer;
  font-weight:900;
  letter-spacing:.10em;
  text-transform:uppercase;
  font-size:12px;
  transition: transform .05s ease, border-color .2s ease, background .2s ease;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}
.btn:hover{border-color: rgba(200,165,90,.9)}
.btn:active{transform: translateY(1px)}
.btn.secondary{
  border-color: rgba(243,239,230,.18);
  background: rgba(255,255,255,.03);
  color: rgba(243,239,230,.82);
}
.btn.disabled{opacity:.45; pointer-events:none; cursor:not-allowed;}

/* Sections (shared) */
.section{
  margin-top:26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.02);
  box-shadow: var(--shadow);
  padding: 22px;
}
.section h2{
  margin:0 0 10px;
  font-size:13px;
  letter-spacing:.24em;
  text-transform:uppercase;
  color: rgba(243,239,230,.70);
}
.section .headline{
  margin:0 0 12px;
  color: var(--gold);
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:18px;
}
.section p{
  margin:10px 0;
  color: rgba(243,239,230,.82);
  font-size:14px;
  max-width: 90ch;
}

/* Cards grid (home) */
.cols{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top:14px;
}
@media (max-width: 980px){
  .cols{grid-template-columns:1fr}
}
.card{
  border:1px solid rgba(243,239,230,.12);
  border-radius: 18px;
  padding: 16px;
  background: rgba(0,0,0,.18);
}
.card .tag{
  font-size:11px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color: rgba(243,239,230,.62);
  font-weight:800;
  margin-bottom:8px;
}
.card .title{
  font-size:14px;
  color: var(--text);
  font-weight:900;
  letter-spacing:.04em;
  margin-bottom:8px;
}
.card .desc{
  font-size:13px;
  color: rgba(243,239,230,.74);
  margin:0;
}

/* PROGRAMS page header */
.pagehead{
  margin-top:10px;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.02);
  padding: 22px;
}
.kicker{
  font-size:12px;
  letter-spacing:.28em;
  text-transform:uppercase;
  color:rgba(243,239,230,.62);
  font-weight:800;
  margin-bottom:10px;
}
.pagehead h1,
header h1{
  margin:0;
  font-size:28px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color: var(--gold);
  font-weight:900;
  line-height:1.15;
}
.pagehead .sub{
  margin-top:12px;
  color: rgba(243,239,230,.82);
  font-size:14px;
  max-width: 85ch;
}
.divider{
  height:1px;
  margin:16px 0 0;
  background: linear-gradient(90deg, rgba(200,165,90,.65), transparent);
  opacity:.75;
  width: 520px;
  max-width: 100%;
}

/* Programs grid cards */
.grid{
  margin-top:18px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}
@media (max-width: 980px){
  .grid{grid-template-columns:1fr}
}

.cardwide{
  border: 1px solid rgba(243,239,230,.12);
  border-radius: 22px;
  background: rgba(255,255,255,.02);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.cardtop{
  padding:18px 18px 0;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.badge{
  border:1px solid rgba(200,165,90,.35);
  background: rgba(200,165,90,.08);
  color: rgba(243,239,230,.86);
  padding:8px 10px;
  border-radius: 999px;
  font-size:11px;
  letter-spacing:.18em;
  text-transform:uppercase;
  font-weight:800;
}
.status{
  border:1px solid rgba(243,239,230,.14);
  background: rgba(0,0,0,.18);
  color: rgba(243,239,230,.70);
  padding:8px 10px;
  border-radius: 999px;
  font-size:11px;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-weight:800;
}
.cardbody{ padding:14px 18px 18px; }
.title{
  margin:6px 0 8px;
  font-size:16px;
  font-weight:900;
  letter-spacing:.06em;
  color: var(--text);
  text-transform:uppercase;
}
.desc{
  margin:0 0 12px;
  color: rgba(243,239,230,.78);
  font-size:14px;
  max-width: 85ch;
}
.blocks{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
  margin-top:10px;
}
@media (max-width: 640px){
  .blocks{grid-template-columns:1fr}
}
.block{
  border:1px solid rgba(200,165,90,.16);
  background: rgba(0,0,0,.18);
  border-radius: 18px;
  padding:12px;
}
.block .h{
  font-size:11px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color: rgba(243,239,230,.62);
  font-weight:900;
  margin-bottom:8px;
}
.block ul{
  margin:0;
  padding-left:18px;
  color: rgba(243,239,230,.78);
  font-size:13px;
  line-height:1.5;
}
.block li{margin:4px 0}

/* VERIFY page helpers (kept compatible with your existing markup) */
.rule{
  height:1px;
  background: linear-gradient(90deg, transparent, rgba(200,165,90,.6), transparent);
  margin:18px 0;
}
label{
  display:block;
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--muted);
  margin:12px 0 6px;
}
input{
  width:100%;
  padding:14px 14px;
  border-radius: 14px;
  border:1px solid rgba(243,239,230,.16);
  background: rgba(0,0,0,.25);
  color: var(--text);
  outline:none;
  font-size:15px;
}
input:focus{
  border-color: rgba(200,165,90,.55);
  box-shadow: 0 0 0 4px rgba(200,165,90,.12);
}
.row{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px;}

.result{
  margin-top:16px;
  border-radius: 16px;
  border:1px solid rgba(243,239,230,.14);
  padding:16px;
  background: rgba(0,0,0,.22);
}
.statusrow{
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:12px;
}
.dot{
  width:10px; height:10px; border-radius:999px;
  background: rgba(243,239,230,.3);
  box-shadow: 0 0 0 4px rgba(243,239,230,.06);
}
.ok .dot{background: rgba(130, 255, 170, .9); box-shadow: 0 0 0 4px rgba(130,255,170,.10)}
.bad .dot{background: rgba(255, 120, 120, .9); box-shadow: 0 0 0 4px rgba(255,120,120,.10)}
.pending .dot{background: rgba(200,165,90,.95); box-shadow: 0 0 0 4px rgba(200,165,90,.12)}

.meta{margin-top:10px; color: var(--muted); font-size:13px;}
.meta b{color:var(--text); font-weight:700}
.meta .big{
  margin-top:10px;
  padding:12px;
  border-radius:14px;
  border:1px solid rgba(200,165,90,.22);
  background: rgba(200,165,90,.06);
  color: var(--text);
}
.meta .big .name{
  font-size:16px;
  letter-spacing:.04em;
  font-weight:800;
  color: var(--gold);
  text-transform:uppercase;
}
.meta .big .cred{
  margin-top:6px;
  font-size:13px;
  color: rgba(243,239,230,.86);
}
.aside p{margin:10px 0; color:var(--muted); font-size:14px}
.pill{
  display:inline-flex; align-items:center; gap:8px;
  border:1px solid var(--line);
  border-radius:999px;
  padding:8px 12px;
  font-size:12px;
  color:var(--muted);
  letter-spacing:.12em;
  text-transform:uppercase;
  margin:8px 0 0;
}
.fineprint{margin-top:16px; color: rgba(243,239,230,.58); font-size:12px;}
.kbd{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  color: rgba(243,239,230,.72);
  padding: 2px 6px;
  border-radius: 8px;
  border: 1px solid rgba(243,239,230,.18);
  background: rgba(0,0,0,.22);
  display:inline-block;
}
.hidden{display:none}

/* Unified input styling (text + textarea) */
.input,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
select,
textarea{
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(200,165,90,.18);
  background: rgba(0,0,0,.22);
  color: rgba(243,239,230,.92);
  padding: 12px 14px;
  font: inherit;
  line-height: 1.45;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
  box-sizing: border-box;
}

/* Textarea specifics */
textarea,
.input-area{
  resize: vertical;      /* or 'none' if you want it locked */
  min-height: 120px;
}

/* Focus */
.input:focus,
input:focus,
select:focus,
textarea:focus{
  border-color: rgba(200,165,90,.55);
  box-shadow: 0 0 0 4px rgba(200,165,90,.10);
  background: rgba(0,0,0,.26);
}

/* Placeholder */
.input::placeholder,
input::placeholder,
textarea::placeholder{
  color: rgba(243,239,230,.45);
}

/* Remove the bright iOS/Chrome glow */
textarea{
  -webkit-appearance: none;
  appearance: none;
}

/* FOOTER */
footer{
  margin-top:26px;
  padding-top:18px;
  border-top: 1px solid rgba(200,165,90,.18);
  color: rgba(243,239,230,.62);
  font-size:12px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
footer b{color: rgba(243,239,230,.84)}
.footlinks{display:flex; gap:12px; flex-wrap:wrap}
.footlinks a{
  padding:8px 10px;
  border-radius: 12px;
  border:1px solid rgba(243,239,230,.12);
  background: rgba(255,255,255,.02);
}
.footlinks a:hover{border-color: rgba(200,165,90,.28)}

/* ===== NAV FIX (override) ===== */
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 0 18px;
}

/* Brand: stop the logo from exploding */
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  flex: 0 0 auto;
  min-width: 0;
}

.brand img{
  width:46px !important;
  height:46px !important;
  object-fit:contain;
  display:block;
  flex: 0 0 46px;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.45));
}

.brand .name{
  display:flex;
  flex-direction:column;
  gap:2px;
  line-height:1.1;
}

/* Menu: single clean row, aligned right */
.menu{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:14px;
  flex: 1 1 auto;

  flex-wrap: nowrap !important;
  white-space: nowrap !important;
}

.menu a{
  padding:10px 12px;
  border-radius:999px;
}

/* Mobile: allow wrapping */
@media (max-width: 860px){
  .menu{
    flex-wrap: wrap !important;
    white-space: normal !important;
    justify-content:flex-start;
  }

  /* =========================================================
   MOBILE FIX PACK — add at END of academy.css
   Goal: make the whole academy.cigarinfuse.com responsive
   ========================================================= */

:root{
  --wrap: 1100px;
  --pad: 18px;
}

/* Global layout */
html{ -webkit-text-size-adjust: 100%; }
body{ overflow-x:hidden; }

.wrap{
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

img, video, canvas, svg{
  max-width:100%;
  height:auto;
}

/* Make all form controls full width by default */
input, select, textarea, button{
  max-width:100%;
}

input, select, textarea{
  width:100%;
}

/* Tables should scroll instead of breaking layout */
table{
  width:100%;
  border-collapse:collapse;
}
.table-scroll{
  width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
.table-scroll table{ min-width:720px; }

/* ---------- NAV: stop overflow on small screens ---------- */
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

.nav .brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:220px;
}

.nav .menu{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-start;
}

.nav .menu a{
  white-space:nowrap;
}

/* ---------- Common grid fixes ---------- */
.grid,
.heroGrid,
.twoCol,
.modulesGrid,
.modules,
.panelGrid{
  display:grid;
  gap:14px;
}

/* Defaults: keep your desktop look */
.grid{ grid-template-columns: 1.15fr .85fr; }

/* Panels / cards spacing */
.card, .panel{
  max-width:100%;
}

/* Headings scale a bit on small devices */
h1{ line-height:1.15; }
.lead, .subline{ line-height:1.55; }

/* Buttons wrap nicely */
.actions,
.ctaRow,
.pillrow{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.btn{
  max-width:100%;
}

/* Prevent long strings (IDs / codes / URLs) from blowing layout */
*{
  overflow-wrap:anywhere;
  word-break:break-word;
}

/* =========================================================
   BREAKPOINTS
   ========================================================= */

/* Tablet */
@media (max-width: 980px){
  :root{ --pad: 16px; }
  .grid{ grid-template-columns: 1fr; }
  .heroGrid{ grid-template-columns: 1fr; }
  .twoCol{ grid-template-columns: 1fr; }
  .modulesGrid{ grid-template-columns: 1fr; }
}

/* Phone */
@media (max-width: 640px){
  :root{ --pad: 14px; }

  /* Reduce big paddings if you have them in cards */
  .card, .panel{
    padding: 14px !important;
  }

  /* Make “row” form layouts stack */
  .row{
    display:grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* Make nav compact */
  .nav{
    align-items:flex-start;
  }

  .nav .brand img{
    width:42px;
    height:auto;
  }

  .nav .name .top{
    font-size:12px;
  }

  .nav .name .sub{
    font-size:12px;
    opacity:.8;
  }

  /* If your menu is too long, allow horizontal scrolling */
  .nav .menu{
    width:100%;
    flex-wrap:nowrap;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    padding-bottom:6px;
  }

  .nav .menu a{
    flex:0 0 auto;
  }

  /* Counter / big numbers scale */
  .counterNumber{
    font-size:44px !important;
  }

  /* Big hero titles scale down */
  h1{
    font-size:28px !important;
  }

  /* Avoid tiny taps */
  .btn{
    padding: 12px 14px !important;
  }

  /* =========================================================
   FIX: HERO OVERFLOW (index + certification)
   Paste at END of academy.css
   ========================================================= */

/* 1) Never allow horizontal overflow from hero sections */
.hero, .heroSection, .heroWrap, .heroInner, .heroGrid, .heroCard{
  max-width: 100%;
  overflow: hidden;
}

/* 2) If any hero uses 100vw, clamp it (100vw often causes mobile overflow) */
.hero, .heroSection{
  width: 100%;
}

/* 3) Common offender: full-bleed backgrounds using vw */
.hero::before, .hero::after,
.heroSection::before, .heroSection::after{
  max-width: 100%;
}

/* 4) Make hero grids stack on mobile */
@media (max-width: 980px){
  .heroGrid{
    grid-template-columns: 1fr !important;
  }
}

/* 5) Hard stop: if something still forces width, prevent page scroll */
html, body{
  overflow-x: hidden;
}

/* =========================================================
   HERO FIX (index + certification) — prevents mobile overflow
   Paste at END of academy.css
   ========================================================= */

.hero{
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

/* Make the inner layout responsive */
.hero .hero-inner{
  width: 100%;
  max-width: 1100px;          /* keep your desktop container feeling */
  margin: 0 auto;
  padding: 22px 16px;         /* mobile-safe padding */
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  box-sizing: border-box;
}

/* Ensure children can shrink (critical for overflow bugs) */
.hero .hero-copy,
.hero .frame{
  min-width: 0;
}

/* Certificate preview must never exceed its column */
.hero .certificate-preview{
  width: 100%;
  max-width: 100%;
}

.hero .certificate-preview img{
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

/* Mobile: stack */
@media (max-width: 980px){
  .hero .hero-inner{
    grid-template-columns: 1fr;
  }
}

/* Absolute last resort (keeps site from horizontal scrolling) */
html, body{
  overflow-x: hidden;
}

/* =========================================================
   INDEX HERO VIDEO — responsive embed + no overflow
   Paste at END of academy.css
   ========================================================= */

.hero .frame{ 
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

/* Responsive 16:9 video wrapper */
.video-wrap{
  width: 100%;
  max-width: 100%;
  position: relative;
  padding-top: 56.25%; /* 16:9 */
  overflow: hidden;
  border-radius: 16px; /* optional: matches your cards */
}

.video-wrap iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
}