/* ==========================================================================
   AMEU study landing — mockup
   Brand continuity with www.almamater.si (CGP) + Apple-inspired polish.
   Headings/buttons: Saira · Body: Inter · Colors: CGP institutional blue.
   ========================================================================== */

:root {
  --navy: #00386c;
  --navy-deep: #022b52;
  --blue: #0061aa;
  --accent-red: #ed5054;
  --ink: #353a40;
  --muted: #5d6570;
  --line: #e3e8ee;
  --gray-bg: #f4f7fa;
  --white: #ffffff;

  --font-heading: "Saira", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1240px;
  --header-h: 88px;

  --shadow-card: 0 10px 30px rgba(2, 27, 53, 0.08);
  --shadow-card-hover: 0 18px 44px rgba(2, 27, 53, 0.14);
  --shadow-header: 0 2px 18px rgba(2, 27, 53, 0.18);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--navy);
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -0.005em; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.eyebrow {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.9em;
}
.eyebrow.light { color: rgba(255, 255, 255, 0.85); }

/* --------------------------------------------------------------------------
   Buttons — AMEU standard: pill + arrow-in-circle.
   Hover (as on almamater.si): bg sweep from the arrow across the pill,
   arrow ring solidifies, arrow nudges right.
   -------------------------------------------------------------------------- */
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  /* uniform 8px gap framing the arrow circle (left/top/bottom);
     generous right padding so the label always has breathing room
     to the pill edge regardless of label length */
  padding: 8px 38px 8px 8px;
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.button:focus-visible { outline: 3px solid rgba(0, 97, 170, 0.45); outline-offset: 2px; }

/* sweep layer — grows from the arrow circle to full width on hover */
.button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 60px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.2s 0.25s, width 0.4s var(--ease);
}
.button:hover::before { width: 100%; opacity: 0.14; transition: opacity 0.15s, width 0.4s var(--ease); }

.button__arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
}
.button__arrow::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0.9;
  transition: opacity 0.2s var(--ease);
}
.button__arrow svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.button:hover .button__arrow::after { opacity: 1; }
.button:hover .button__arrow svg { transform: translateX(3px); }

.button--primary { background: var(--navy); color: var(--white); }
.button--white { background: var(--white); color: var(--navy); }

/* Full-width pill variant (form submit) — arrow flush left, label optically centered */

/* Link-style CTA — arrow circle + label, no pill (footer e-novice pattern) */
.button-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--white);
  padding: 8px 4px;
}
.button-link:focus-visible { outline: 3px solid rgba(255, 255, 255, 0.6); outline-offset: 2px; border-radius: 999px; }
.button-link:hover .button__arrow::after { opacity: 1; }
.button-link:hover .button__arrow svg { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Header — transparent over hero, translucent navy + blur when scrolled
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease),
    height 0.35s var(--ease);
}
.site-header.scrolled {
  background: rgba(0, 56, 108, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-header);
  height: 72px;
}

.header-inner { display: flex; align-items: center; gap: 32px; }

.brand img { width: 174px; height: auto; }
.site-header.scrolled .brand img { width: 150px; }
.brand img { transition: width 0.35s var(--ease); }

.header-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.header-nav a {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  padding: 6px 0;
  position: relative;
}
.header-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--white);
  transition: right 0.3s var(--ease);
}
.header-nav a:hover::after { right: 0; }

.pill-cta {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  padding: 10px 24px;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.pill-cta:hover { background: var(--white); color: var(--navy); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 72px;
}

.hero-media,
.hero-overlay { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  background:
    linear-gradient(100deg, rgba(2, 32, 61, 0.88) 0%, rgba(2, 43, 82, 0.62) 48%, rgba(2, 43, 82, 0.3) 100%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.85fr);
  gap: 56px;
  align-items: center;
}

.hero-copy { color: var(--white); }
.hero-copy h1 { color: var(--white); margin-bottom: 0.35em; }

.badge-row { margin: 0 0 1.4em; }
.badge-pill {
  display: inline-block;
  background: var(--accent-red);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0;
  padding: 7px 18px;
}

.hero .lead {
  font-size: 1.18rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  max-width: 34em;
  margin-bottom: 1.3em;
}

.lang-note {
  display: inline-flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2em;
}
.lang-note svg { flex-shrink: 0; margin-top: 3px; opacity: 0.85; }
.lang-note strong { color: var(--white); }

.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* Form card */
.form-card {
  background: var(--white);
  border-radius: 0;
  box-shadow: var(--shadow-card);
  padding: 36px 32px 30px;
}
.form-kicker {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-red);
  margin: 0 0 0.5em;
}
.form-card h2 { font-size: 1.45rem; margin-bottom: 1.1em; }

.field { display: block; margin-bottom: 16px; }
.field > span,
.field legend {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--navy);
  margin-bottom: 6px;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"] {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 12px 14px;
  background: #fbfcfe;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
}
.field input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(0, 97, 170, 0.12);
}

.choices { border: 0; padding: 0; margin: 0 0 20px; }
.choices .choice {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-right: 18px;
  font-size: 0.95rem;
  cursor: pointer;
}
.choices input[type="radio"] { accent-color: var(--accent); width: 17px; height: 17px; }

.privacy-note { font-size: 0.8rem; color: var(--muted); margin-top: 14px; }
.privacy-note a { color: var(--accent); }

.form-status { font-size: 0.92rem; font-weight: 600; color: #1d7a3d; margin-top: 10px; }

/* --------------------------------------------------------------------------
   Stats band — navy + medallion watermark (CGP motif)
   -------------------------------------------------------------------------- */
.stats-band {
  position: relative;
  background: var(--navy);
  overflow: hidden;
  padding: 56px 0;
}
.stats-band::before {
  content: "";
  position: absolute;
  left: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 480px;
  height: 480px;
  background: url("../img/alma-white-shape-opacity.svg") no-repeat center / contain;
  opacity: 0.35;
  pointer-events: none;
}

.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
}
.stat span {
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: 96px 0; }
.section--gray { background: var(--gray-bg); }

.section--navy {
  position: relative;
  background: var(--navy);
  overflow: hidden;
}
.section--navy::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -140px;
  width: 520px;
  height: 520px;
  background: url("../img/alma-white-shape-opacity.svg") no-repeat center / contain;
  opacity: 0.25;
  pointer-events: none;
}
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p, .section--navy li { color: rgba(255, 255, 255, 0.88); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}
.body-copy { font-size: 1.06rem; color: var(--muted); }

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: var(--white);
  border-radius: 0;
  box-shadow: var(--shadow-card);
  padding: 36px 30px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.card p { color: var(--muted); font-size: 0.98rem; }

.card-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
  color: rgba(0, 97, 170, 0.22);
  margin-bottom: 18px;
  transition: color 0.3s var(--ease);
}
.card:hover .card-number { color: var(--accent); }

/* Video */
.video-facade {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 16 / 9;
  cursor: pointer;
}
.video-facade img { width: 100%; height: 100%; object-fit: cover; }
.video-facade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(2, 32, 61, 0.35);
  transition: background-color 0.3s var(--ease);
}
.video-facade:hover::after { background: rgba(2, 32, 61, 0.2); }
.video-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.play-button {
  position: absolute;
  inset: 0;
  margin: auto;
  z-index: 2;
  width: 84px;
  height: 84px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s var(--ease);
}
.play-button:hover { transform: scale(1.08); }
.play-button img { width: 26px; height: 26px; margin-left: 4px; }

/* Faculty */
.faculty-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}
.faculty-photo {
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.3);
}
.cred-list {
  list-style: none;
  margin: 1.4em 0 0;
  padding: 0;
}
.cred-list li {
  position: relative;
  padding: 10px 0 10px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.98rem;
}
.cred-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 16px;
  height: 16px;
  background: url("../img/arrow-alma-white.svg") no-repeat center / contain;
}

/* Outcomes */
.outcomes-head { max-width: 560px; margin-bottom: 36px; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chips li {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  border: 1.5px solid var(--line);
  border-radius: 0;
  padding: 10px 22px;
  background: var(--white);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.chips li:hover { border-color: var(--accent); background: rgba(0, 97, 170, 0.05); }

/* Testimonial */
.testimonial {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.quote-mark { width: 46px; margin: 0 auto 22px; opacity: 0.5; }
.testimonial p {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--navy);
  font-weight: 500;
}
.testimonial footer {
  margin-top: 20px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Final CTA */
.final-cta {
  position: relative;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-deep) 100%);
  overflow: hidden;
  padding: 80px 0;
}
.final-cta::before {
  content: "";
  position: absolute;
  left: -100px;
  top: -160px;
  width: 460px;
  height: 460px;
  background: url("../img/alma-white-shape-opacity.svg") no-repeat center / contain;
  opacity: 0.22;
  pointer-events: none;
}
.final-cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.final-cta h2 { color: var(--white); margin: 0; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.8);
  padding: 64px 0 0;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand img { width: 160px; height: auto; margin-bottom: 18px; }
.footer-head {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
  margin: 0 0 14px;
}
.footer-links, .footer-contact { display: flex; flex-direction: column; }
.footer-links a, .footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  padding: 5px 0;
  transition: color 0.2s var(--ease);
}
.footer-links a:hover, .footer-contact a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-block: 22px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* --------------------------------------------------------------------------
   Reveal-on-scroll
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button, .button::before, .button__arrow::after, .button__arrow svg,
  .card, .play-button, .brand img, .site-header { transition: none; }
  .button:hover .button__arrow svg, .button-link:hover .button__arrow svg { transform: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero { min-height: 0; }
  .form-card { max-width: 560px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .faculty-grid { grid-template-columns: 1fr; gap: 40px; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; }
}

@media (max-width: 720px) {
  :root { --header-h: 68px; }
  .header-nav { display: none; }
  .brand img { width: 138px; }
  .site-header.scrolled { height: 60px; }
  .site-header.scrolled .brand img { width: 124px; }
  .pill-cta { margin-left: auto; font-size: 0.8rem; padding: 8px 18px; }

  .hero { padding-top: calc(var(--header-h) + 36px); padding-bottom: 48px; }
  .hero .lead { font-size: 1.06rem; }
  /* mobile hero CTAs: content-width pills, stacked and left-aligned (each grows
     right with its label). Arrows of both share the same vertical line. */
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-actions .button-link { padding-left: 8px; }
  .form-card { padding: 28px 22px 24px; max-width: none; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .cards-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .final-cta { padding: 56px 0; }
  .final-cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .testimonial p { font-size: 1.1rem; }
}

/* --------------------------------------------------------------------------
   Per-field accent (CGP study-field schemes). Default = management/blue.
   Highlight-only elements use var(--accent); structural navy is unchanged.
   body.field-* class is emitted per page by inc/landing-meta.php.
   -------------------------------------------------------------------------- */
:root { --accent: #0061aa; --accent-dark: #00386c; }
body.field-management { --accent: #0061AA; --accent-dark: #00386C; }
body.field-health     { --accent: #149B9E; --accent-dark: #0D8583; }
body.field-dance      { --accent: #8B0030; --accent-dark: #67000C; }
body.field-eco        { --accent: #009D85; --accent-dark: #066454; }
body.field-archive    { --accent: #D9BB8A; --accent-dark: #CE9C63; }
body.field-humanities { --accent: #879884; --accent-dark: #5B685A; }
body.field-gerontology{ --accent: #8E8172; --accent-dark: #726658; }
body.field-web        { --accent: #F68D76; --accent-dark: #F04E4C; }


/* ==========================================================================
   Native-block (Gutenberg) layer — keep the design while content is editable.
   Sections are wp:group wrappers (blockGap:0); text/images are core blocks.
   ========================================================================== */
/* media figures: kill the core .wp-block-image bottom margin */
.hero-media.wp-block-image, .faculty-photo.wp-block-image, .quote-mark.wp-block-image { margin: 0; }
.quote-mark.wp-block-image { width: 46px; margin: 0 auto 22px; }

/* stats: numerals + labels are paragraphs (were <strong>/<span>) */
.stat .stat-num { display: block; font-family: var(--font-heading); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 600; color: var(--white); line-height: 1.1; margin: 0; }
.stat .stat-label { font-size: 0.92rem; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); margin: 0; }

/* benefit card numeral is a <p> now — re-assert above generic `.card p` */
.card .card-number { display: block; font-family: var(--font-heading); font-size: 2.6rem; font-weight: 600; line-height: 1; color: rgba(0, 97, 170, 0.22); margin: 0 0 18px; }
.card:hover .card-number { color: var(--accent); }

/* chips are a wp:list now */
.chips { list-style: none; margin: 0; padding: 0; }

/* testimonial author is a <p> (was <footer>) */
.testimonial .testimonial-author { margin: 20px 0 0; font-family: var(--font-heading); font-size: 0.88rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* hero badge is a <p> now */
.badge-pill { margin: 0 0 1.4em; }

/* lang-note globe via CSS background (inline SVG removed so the text is editable) */
.lang-note::before { content: ""; width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; background: url("../img/globe.svg") no-repeat center / contain; opacity: 0.85; }

/* Once the Vimeo iframe is loaded, drop the dark overlay + cursor so the player
   controls (play/pause) are clickable — the ::after pseudo otherwise blocks them. */
.video-facade.is-playing { cursor: default; }
.video-facade.is-playing::after { display: none; }

/* Vimeo popup modal — opened by the "Watch the video" button. */
.ameu-video-modal { position: fixed; inset: 0; z-index: 9999; display: none; }
.ameu-video-modal.is-open { display: block; }
.ameu-video-backdrop { position: absolute; inset: 0; background: rgba(2, 27, 53, 0.82); }
.ameu-video-dialog { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(92vw, 1000px); }
.ameu-video-frame { position: relative; padding-top: 56.25%; background: #000; border-radius: 0; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }
.ameu-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ameu-video-close { position: absolute; top: -44px; right: 0; width: 40px; height: 40px; background: transparent; border: 0; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }
