/* ============================================================
   Webhelper Child Theme: Mpower Learning
   Extracted from approved prototype test-015-home.html
   All font sizes in px per client preference.
   @package Webhelper-Mpower
   @since 2.0
============================================================ */

/* ============================================================
   CSS VARIABLES & RESET
============================================================ */
:root {
  --white:         #ffffff;
  --surface-alt:   #f9fafb;
  --surface:       #f3f4f6;
  --border:        #e5e7eb;
  --border-strong: #d1d5db;
  --text-muted:    #9ca3af;
  --text-subtle:   #6b7280;
  --text-secondary:#374151;
  --ink:           #111827;
  --ink-deep:      #141925;
  --primary:       #408dcc;
  --primary-mid:   #60aadf;
  --primary-dark:  #183f64;
  --primary-light: #eaf4fb;
  --accent-light:  #82c6ff;
  --accent:        #f18663;
  --accent-dark:   #d46d4b;
  --text-head:     #183f64;
  --text-body:     #475569;
  --text-light:    #94a3b8;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --transition:   0.38s cubic-bezier(0.4, 0, 0.2, 1);
  --slide-dur:  8000ms;
  --topbar-h:   34px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text-body); background: var(--white); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }


/* ============================================================
   PAGE LOADER
============================================================ */
#page-loader {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--ink-deep);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  transition: opacity 0.65s ease, visibility 0.65s ease;
}
#page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo { width: 170px; opacity: 0; transform: translateY(10px); animation: fadeUp 0.7s 0.2s forwards ease-out; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.loader-bar-track { width: 180px; height: 1px; background: rgba(255,255,255,0.10); overflow: hidden; opacity: 0; animation: fadeUp 0.4s 0.5s forwards ease-out; }
.loader-bar-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--primary), var(--accent-light)); animation: barFill 1.5s 0.6s forwards var(--ease); }
@keyframes barFill { 0% { width: 0%; } 65% { width: 72%; } 100% { width: 100%; } }
.loader-tag { font-family: var(--font-body); font-size: 11px; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.3); opacity: 0; animation: fadeUp 0.4s 0.9s forwards ease-out; }


/* ============================================================
   CLICK LOADER
============================================================ */
#click-loader {
  position: fixed; inset: 0; z-index: 99998; background: var(--ink-deep);
  opacity: 0; visibility: hidden; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
#click-loader.active { opacity: 1; visibility: visible; pointer-events: all; }
.cl-dots { display: flex; gap: 8px; }
.cl-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); animation: dotB 1.1s infinite ease-in-out; }
.cl-dots span:nth-child(2) { animation-delay: 0.18s; background: var(--primary-mid); }
.cl-dots span:nth-child(3) { animation-delay: 0.36s; background: rgba(255,255,255,0.3); }
@keyframes dotB { 0%,80%,100% { transform: scale(0.55); opacity: 0.3; } 40% { transform: scale(1.1); opacity: 1; } }


/* ============================================================
   UTILITY BAR — slim strip above navbar, desktop only
============================================================ */
.utility-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1001;
  height: var(--topbar-h);
  background: var(--primary-dark);
  display: flex; align-items: center; justify-content: flex-end;
  padding: 0 max(44px, 9%); gap: 0;
}
.utility-bar a {
  color: rgba(255,255,255,0.88);
  font-family: var(--font-body); font-size: 12px; font-weight: 400;
  letter-spacing: 0.04em; padding: 0 14px;
  display: flex; align-items: center; gap: 6px;
  transition: color 0.2s ease;
  border-right: 1px solid rgba(255,255,255,0.10);
  height: var(--topbar-h);
}
.utility-bar a:last-child { border-right: none; }
.utility-bar a:hover { color: rgba(255,255,255,0.88); text-decoration: none; }
.utility-bar i { font-size: 11px; opacity: 0.75; }

/* Utility bar account dropdown */
.ub-account {
  position: relative; display: flex; align-items: center;
  height: var(--topbar-h);
}
.ub-trigger {
  color: rgba(255,255,255,0.88);
  font-family: var(--font-body); font-size: 12px; font-weight: 400;
  letter-spacing: 0.04em; padding: 0 14px;
  display: flex; align-items: center; gap: 6px;
  transition: color 0.2s ease;
  height: var(--topbar-h);
  text-decoration: none;
}
.ub-trigger:hover { color: rgba(255,255,255,0.88); text-decoration: none; }
.ub-arrow { font-size: 8px; opacity: 0.5; transition: transform 0.22s ease; }
.ub-account:hover .ub-arrow { transform: rotate(180deg); opacity: 0.8; }

.ub-dropdown {
  position: absolute; top: 100%; right: 0;
  min-width: 160px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 1002;
}
.ub-account:hover .ub-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.ub-dropdown a {
  display: block; padding: 10px 16px;
  font-family: var(--font-body); font-size: 13px; font-weight: 400;
  color: var(--text-secondary); text-decoration: none;
  border-bottom: 1px solid var(--surface);
  transition: color 0.18s ease, background 0.18s ease;
}
.ub-dropdown a:last-child { border-bottom: none; }
.ub-dropdown a:hover { color: var(--primary); background: var(--primary-light); text-decoration: none; }


/* ============================================================
   NAVIGATION — always white, synapse dot-grid bg
============================================================ */
#navbar {
  position: fixed; top: var(--topbar-h); left: 0; right: 0; z-index: 1000;
  height: 98px;
  display: flex; align-items: center; padding: 0 max(44px, 9%);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  background-image: radial-gradient(circle, rgba(64,141,204,0.09) 1px, transparent 1px);
  background-size: 28px 28px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  transition: box-shadow var(--transition);
}
#navbar.scrolled { box-shadow: 0 4px 28px rgba(0,0,0,0.09); }

.nav-logo { flex-shrink: 0; margin-right: auto; z-index: 1; }
.nav-logo img { height: 86px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 2px; z-index: 1; }

.nav-item { position: relative; display: flex; align-items: center; }

.nav-link {
  font-family: var(--font-body); font-size: 18px; font-weight: 500;
  color: var(--ink-deep); padding: 6px 16px; position: relative;
  display: flex; align-items: center; gap: 6px;
  transition: color var(--transition);
}
.nav-link::after {
  content: ''; position: absolute; bottom: 1px; left: 16px; right: 16px;
  height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.nav-link:hover { color: var(--text-head); }
.nav-link:hover::after { transform: scaleX(1); }

/* Dropdown chevron */
.nav-arrow {
  font-size: 9px; opacity: 0.45; margin-left: 2px;
  transition: transform 0.22s var(--ease), opacity 0.22s ease;
}
.nav-item:hover .nav-arrow { transform: rotate(180deg); opacity: 0.75; }

/* Dropdown panel */
.nav-dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 192px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 10px 32px rgba(0,0,0,0.09);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.22s var(--ease), visibility 0.22s var(--ease), transform 0.22s var(--ease);
  z-index: 600;
}
.nav-item:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drop-link {
  display: block; padding: 11px 18px;
  font-family: var(--font-body); font-size: 14px; font-weight: 400;
  color: var(--text-secondary); text-decoration: none;
  border-bottom: 1px solid var(--surface);
  transition: color 0.18s ease, background 0.18s ease, padding-left 0.18s ease;
}
.nav-drop-link:last-child { border-bottom: none; }
.nav-drop-link:hover { color: var(--primary); padding-left: 19px; background: var(--primary-light); text-decoration: none; }

/* Mega dropdown (multi-column with groups) */
.nav-dropdown.mega {
  min-width: 440px;
  display: grid; grid-template-columns: 1fr 1fr;
  padding: 8px 0;
  left: auto; right: 0;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.nav-drop-group { padding: 8px 0; }
.nav-drop-group-title {
  display: block; padding: 8px 18px 6px;
  font-family: var(--font-display); font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); border-bottom: 1px solid var(--surface);
  margin-bottom: 4px;
}

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; z-index: 1100; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--text-secondary); transition: all 0.32s var(--ease); }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); background: var(--white); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); background: var(--white); }


/* ============================================================
   MOBILE NAV
============================================================ */
#mobile-nav {
  position: fixed; top: 0; left: 0; width: 290px; max-width: 82vw; height: 100vh;
  background: var(--ink-deep); z-index: 1050; transform: translateX(-100%);
  transition: transform 0.4s var(--ease);
  display: flex; flex-direction: column;
}
#mobile-nav.open { transform: translateX(0); }

.mob-nav-header {
  flex-shrink: 0;
  padding: 6px 30px 8px;
  border-bottom: none;
  display: flex; align-items: center; justify-content: space-between;
  position: relative;
}
.mob-nav-header::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark), var(--accent), var(--primary), var(--accent-light));
}
.mob-nav-header a { display: inline-block; }
.mob-nav-logo {
  height: 46px; width: auto;
  filter: brightness(0) invert(1);
  opacity: 1;
}
.mob-nav-close {
  background: none; border: none; cursor: pointer; padding: 8px 0px 8px 8px;
  color: rgba(255,255,255,0.45); font-size: 18px; line-height: 1;
  transition: color 0.2s ease;
  flex-shrink: 0; margin-right: -8px;
}
.mob-nav-close:hover { color: var(--white); }

.mob-nav-links { flex: 1; overflow-y: auto; padding: 6px 0; }

.mob-item { border-bottom: 1px solid rgba(255,255,255,0.06); }

.mob-link {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-display); font-size: 15px; font-weight: 400;
  color: rgba(255,255,255,0.82); padding: 13px 30px;
  transition: color 0.22s ease, background 0.22s ease;
  cursor: pointer; user-select: none;
}
.mob-link:hover { color: var(--white); background: rgba(255,255,255,0.03); }

.mob-link a { flex: 1; color: inherit; }

.mob-chevron {
  width: 28px; height: 28px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.70); font-size: 10px;
  border: 1px solid rgba(255,255,255,0.22);
  clip-path: polygon(0 0, calc(100% - 5px) 0, 100% 5px, 100% 100%, 5px 100%, 0 calc(100% - 5px));
  transition: transform 0.28s var(--ease);
}
.mob-item.open .mob-chevron {
  transform: rotate(180deg);
}

.mob-submenu {
  max-height: 0; overflow: hidden;
  transition: max-height 0.32s var(--ease);
  background: rgba(0,0,0,0.15);
}
.mob-item.open .mob-submenu { max-height: 600px; }

.mob-sub-link {
  display: block;
  font-family: var(--font-body); font-size: 13px; font-weight: 300;
  color: rgba(255,255,255,0.50);
  padding: 10px 30px 10px 44px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.mob-sub-link:last-child { border-bottom: none; }
.mob-sub-link:hover { color: rgba(255,255,255,0.88); padding-left: 52px; }

.mob-sub-heading {
  display: block; padding: 10px 30px 4px 44px;
  font-family: var(--font-display); font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); opacity: 0.7;
}

/* Footer utility zone */
.mob-nav-footer {
  flex-shrink: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 4px 0 130px;
}
.mob-foot-link {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--font-body); font-size: 14px; font-weight: 400;
  color: rgba(255,255,255,0.75); padding: 12px 30px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color var(--transition);
}
.mob-foot-link:last-child { border-bottom: none; }
.mob-foot-link i { font-size: 13px; opacity: 0.7; flex-shrink: 0; }
.mob-foot-link:hover { color: var(--white); }
.nav-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1040;
  opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease;
}
.nav-overlay.active { opacity: 1; visibility: visible; }


/* ============================================================
   HERO SLIDER
============================================================ */
#hero { position: relative; width: 100%; height: 100vh; min-height: 580px; overflow: hidden; }

#hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark), var(--accent), var(--primary), var(--accent-light));
  z-index: 5;
}

#neural-canvas { position: absolute; inset: 0; z-index: 1; opacity: 0.42; }

.hero-slide {
  position: absolute; inset: 0; z-index: 2;
  opacity: 0; transition: opacity 0.95s ease;
  background-size: cover; background-position: center;
  pointer-events: none;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }

.hero-slide::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse at 70% 50%, rgba(255,99,74,0.28) 0%, rgba(255,99,74,0.06) 45%, transparent 65%),
              linear-gradient(135deg, rgba(15,26,45,0.70) 0%, rgba(24,63,100,0.50) 100%);
}

.hero-content {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--topbar-h) + 98px) max(44px, 9%) 100px; max-width: 740px;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent-light); margin-bottom: 22px;
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.55s 0.1s ease, transform 0.55s 0.1s ease;
}
.kicker-line { width: 30px; height: 1px; background: var(--accent-light); opacity: 0.55; }
.hero-slide.active .hero-kicker { opacity: 1; transform: none; }

.hero-title {
  font-family: var(--font-display); font-size: clamp(37px, 5vw, 70px);
  font-weight: 700; line-height: 1.08; color: #fff;
  margin-bottom: 18px; letter-spacing: -0.025em;
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.65s 0.22s ease, transform 0.65s 0.22s ease;
}
.hero-slide.active .hero-title { opacity: 1; transform: none; }
.hero-title em {
  font-style: normal;
  color: #fff;
  -webkit-text-fill-color: #fff;
  background: none;
}

.hero-sub {
  font-size: clamp(15px, 1.5vw, 17px); font-weight: 300; line-height: 1.68;
  color: rgba(255,255,255,1); max-width: 490px; margin-bottom: 36px;
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.65s 0.38s ease, transform 0.65s 0.38s ease;
}
.hero-slide.active .hero-sub { opacity: 1; transform: none; }

.hero-btn {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  color: #fff; background: var(--primary); padding: 13px 30px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  align-self: flex-start; letter-spacing: 0.01em;
  opacity: 0; transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.55s 0.52s ease, transform 0.55s 0.52s ease,
              background 0.28s ease, filter 0.28s ease;
}
.hero-slide.active .hero-btn {
  opacity: 1; transform: none;
  pointer-events: auto;
  transition: opacity 0.55s 0.52s ease, transform 0.55s 0.52s ease,
              background 0.28s ease, filter 0.28s ease;
}
.hero-btn:hover {
  background: var(--primary-dark);
  filter: drop-shadow(0 6px 20px rgba(24,63,100,0.50));
  color: #fff; text-decoration: none;
}
.btn-arrow { height: 14px; width: auto; display: inline-block; vertical-align: middle; transition: transform 0.28s ease; }
.hero-btn:hover .btn-arrow { transform: translateX(5px); }

/* Hero caption — flush bottom-right corner */
.hero-caption {
  position: absolute; bottom: 0; right: 0; z-index: 6;
  background: rgba(0,0,0,0.45);
  padding: 5px 14px;
  font-family: var(--font-body); font-size: 12px; font-weight: 400;
  color: #ffffff; line-height: 1.4;
  max-width: 320px; text-align: right;
}

/* Controls strip */
.hero-controls {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 5;
  display: flex; align-items: center; padding: 0 max(44px, 9%) 53px; gap: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.18) 50%, transparent 100%);
}
.hero-counter {
  font-family: var(--font-display); font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; color: rgba(255,255,255,0.35); min-width: 50px;
}
.hero-counter strong { color: rgba(255,255,255,0.8); font-weight: 600; }

.hero-dots { display: flex; gap: 8px; align-items: center; flex: 1; padding: 0 18px; }
.hero-dot {
  height: 2px; width: 26px; background: rgba(255,255,255,0.18);
  cursor: pointer; position: relative; overflow: hidden;
  transition: width 0.32s ease, background 0.32s ease;
}
.hero-dot.active { width: 52px; background: rgba(255,255,255,0.22); }
.hero-dot.active::after {
  content: ''; position: absolute; inset: 0;
  background: var(--accent); transform-origin: left;
}
#hero.autoplay .hero-dot.active::after {
  animation: dotFill var(--slide-dur) linear forwards;
}
@keyframes dotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero-nav { display: flex; align-items: center; gap: 8px; }
.hn-btn {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); font-size: 13px;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: all var(--transition);
}
.hn-btn:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.55);
  color: #fff;
}
.hn-btn:focus, .hn-btn:active { outline: none; box-shadow: none; }


/* ============================================================
   SCROLL REVEAL
============================================================ */
.reveal, .rl, .rr {
  opacity: 0; transition: opacity 0.72s ease, transform 0.72s ease;
}
.reveal { transform: translateY(34px); }
.rl { transform: translateX(-34px); }
.rr { transform: translateX(34px); }
.reveal.vis, .rl.vis, .rr.vis { opacity: 1; transform: none; }
.d1 { transition-delay: 0.10s; } .d2 { transition-delay: 0.20s; }
.d3 { transition-delay: 0.30s; } .d4 { transition-delay: 0.42s; }


/* ============================================================
   SHARED
============================================================ */
.section { padding: 104px 0; }
.container { max-width: 100%; margin: 0 auto; padding: 0 max(44px, 9%); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 20px; height: 1.5px; background: var(--accent); }

.section-title {
  font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 700; color: var(--text-head); line-height: 1.12; letter-spacing: -0.025em; margin-bottom: 18px;
}
.section-title em { font-style: normal; background: linear-gradient(90deg, var(--accent), var(--primary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-title-wrap h2 {
  font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 700; color: var(--text-head); line-height: 1.12; letter-spacing: -0.025em; margin-bottom: 18px;
}
.section-title-wrap h2 em { font-style: normal; background: linear-gradient(90deg, var(--accent), var(--primary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-title-wrap p:first-child { margin-top: 0; }
.section-lead { font-size: 16px; font-weight: 300; line-height: 1.74; color: var(--text-body); max-width: 570px; }
.section-lead p:first-child { margin-top: 0; }


/* ============================================================
   BUTTONS
============================================================ */
.btn {
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.btn-accent {
  background: var(--accent);
  color: var(--white);
}
.btn-accent:hover {
  background: var(--accent-dark);
}

/* ============================================================
   CLIENT BUTTONS (div wrapper + anchor)
   Usage: <div class="wh-button-coral"><a href="#">Label</a></div>
============================================================ */
div.wh-button-coral a,
div.wh-button-coral-arrow a,
div.wh-button-blue a,
div.wh-button-blue-arrow a,
div.wh-button-coral a:visited,
div.wh-button-coral-arrow a:visited,
div.wh-button-blue a:visited,
div.wh-button-blue-arrow a:visited {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  color: var(--white); padding: 13px 30px; letter-spacing: 0.01em;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
  text-decoration: none;
}
/* Coral */
div.wh-button-coral a,
div.wh-button-coral-arrow a { background: var(--accent); }
div.wh-button-coral a:hover,
div.wh-button-coral-arrow a:hover { background: var(--accent-dark); color: var(--white); text-decoration: none; }
/* Blue */
div.wh-button-blue a,
div.wh-button-blue-arrow a { background: var(--primary); }
div.wh-button-blue a:hover,
div.wh-button-blue-arrow a:hover { background: var(--primary-dark); color: var(--white); text-decoration: none; }
/* Arrow variants */
.wh-button-coral-arrow a::after,
.wh-button-blue-arrow a::after {
  content: '';
  display: inline-block; width: 14px; height: 14px;
  background: url('../img/arrow3.png') no-repeat center / contain;
  transition: transform 0.28s ease;
}
.wh-button-coral-arrow a:hover::after,
.wh-button-blue-arrow a:hover::after { transform: translateX(5px); }

/* ============================================================
   INTRO SECTION
============================================================ */
#intro { background: var(--white); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.intro-learn-more {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  color: var(--white); background: var(--accent); margin-top: 4px;
  padding: 13px 30px; letter-spacing: 0.01em;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: background var(--transition), filter var(--transition), transform var(--transition);
}
.intro-learn-more:hover {
  background: var(--accent-dark);
  filter: drop-shadow(0 8px 22px rgba(229,80,46,0.32));
  transform: translateY(-2px);
  color: var(--white); text-decoration: none;
}
.intro-learn-more .btn-arrow { height: 14px; }
.intro-learn-more:hover .btn-arrow { transform: translateX(5px); }

/* Stat cards */
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card {
  background: var(--surface-alt); border: 1px solid var(--border); padding: 26px 22px;
  border-top: 3px solid var(--accent);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
  transition: filter var(--transition), transform var(--transition);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.04));
}
.stat-card:hover { transform: translateY(-3px); filter: drop-shadow(0 12px 28px rgba(255,99,74,0.12)); }
.stat-num {
  font-family: var(--font-display); font-size: 34px; font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1; margin-bottom: 8px;
}
.stat-lbl { font-size: 13px; font-weight: 400; color: var(--text-subtle); line-height: 1.45; }


/* ============================================================
   MISSION BAND — light gray
============================================================ */
#mission-band {
  background-color: var(--surface);
  background-image: url('../img/mission-bg4.jpg');
  background-size: cover; background-position: center; background-repeat: no-repeat;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 72px 0;
}
.mission-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.mission-mark { display: flex; gap: 7px; margin-bottom: 4px; }
.mission-mark span {
  width: 7px; height: 7px; background: var(--accent); opacity: 0.4;
  clip-path: polygon(0 0, calc(100% - 3px) 0, 100% 3px, 100% 100%, 3px 100%, 0 calc(100% - 3px));
}
.mission-mark span:nth-child(2) { opacity: 1; }
.mission-hl {
  font-family: var(--font-display); font-size: clamp(24px, 3vw, 38px);
  font-weight: 700; color: var(--text-head); line-height: 1.2; max-width: 680px; letter-spacing: -0.022em;
}
.mission-hl em { font-style: normal; color: var(--accent); }
.mission-desc { font-size: 16px; font-weight: 500; color: var(--ink-deep); max-width: 460px; line-height: 1.72; }
.mission-content { text-align: center; max-width: 680px; }
.mission-content h2 {
  font-family: var(--font-display); font-size: clamp(24px, 3vw, 38px);
  font-weight: 700; color: var(--text-head); line-height: 1.2; letter-spacing: -0.022em;
}
.mission-content em { font-style: normal; color: var(--accent); }
.mission-content p { font-size: 16px; font-weight: 500; color: var(--ink-deep); max-width: 460px; line-height: 1.72; margin-left: auto; margin-right: auto; }
.mission-content p:first-child { margin-top: 0; }


/* ============================================================
   SERVICES — charcoal dark section
============================================================ */
#services-preview {
  background-color: var(--ink-deep);
  background-image:
    linear-gradient(rgba(64,141,204,0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(64,141,204,0.09) 1px, transparent 1px),
    url('../img/services-bg.jpg');
  background-size: 48px 48px, 48px 48px, cover;
  background-position: top left, top left, center;
  background-repeat: repeat, repeat, no-repeat;
  padding: 104px 0;
  position: relative; overflow: hidden;
}
#services-preview::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(64,141,204,0.08) 0%, transparent 70%); pointer-events: none;
}
#services-preview::after {
  content: ''; position: absolute; bottom: -160px; left: -160px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,0.06) 0%, transparent 70%); pointer-events: none;
}

/* Services intro from contentholder */
.svc-intro { margin-bottom: 10px; }
.svc-intro .eyebrow { display: flex; }
.svc-intro h1, .svc-intro h2, .svc-intro h3 { color: #fff; }
.svc-intro p { color: rgba(255,255,255,0.88); }
.svc-intro em { font-style: normal; background: linear-gradient(90deg, var(--accent), var(--primary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

#services-preview .section-title { color: #fff; }
#services-preview .section-lead  { color: rgba(255,255,255,0.42); }
#services-preview .eyebrow       { color: var(--accent); }
#services-preview .eyebrow::before { background: var(--accent); }

.svc-group { margin-top: 56px; }
.svc-group + .svc-group { margin-top: 64px; }
.svc-group-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 18px; font-weight: 700;
  color: rgba(255,255,255,0.92); letter-spacing: -0.01em; margin-bottom: 24px;
}
.svc-group-label i {
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--accent);
  background: rgba(255,99,74,0.14); border: 1px solid rgba(255,99,74,0.25);
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}
.svc-group-line {
  height: 1px; background: linear-gradient(90deg, rgba(255,99,74,0.35), rgba(64,141,204,0.15), transparent);
  margin-bottom: 24px;
}
.svc-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; max-width: 960px; margin: 0 auto; }
.svc-group-footer {
  display: flex; align-items: center; gap: 18px; margin-top: 32px; flex-wrap: wrap;
}
.svc-group-footer-text {
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
  color: rgba(255,255,255,0.92); letter-spacing: 0.02em;
}

/* Service cards */
.svc-card {
  width: calc(33.33% - 14px); max-width: 300px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07);
  padding: 34px 26px 30px; position: relative; overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.20));
  transition: background var(--transition), filter var(--transition), transform var(--transition);
}
.svc-card:hover { background: rgba(255,255,255,0.07); transform: translateY(-5px); filter: drop-shadow(0 16px 40px rgba(64,141,204,0.14)); }
.svc-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: linear-gradient(90deg, transparent, var(--accent), var(--primary), transparent);
  opacity: 0; transition: opacity var(--transition);
}
.svc-card:hover::before { opacity: 1; }

.svc-num { position: absolute; top: 18px; right: 22px; font-family: var(--font-display); font-size: 45px; font-weight: 700; color: rgba(255,255,255,0.03); line-height: 1; user-select: none; }
.svc-icon {
  width: 44px; height: 44px; margin-bottom: 20px;
  background: rgba(255,99,74,0.15); border: 1px solid rgba(255,99,74,0.30);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--accent);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: background var(--transition), transform var(--transition);
}
.svc-card:hover .svc-icon { background: rgba(255,99,74,0.28); transform: rotate(-4deg) scale(1.08); }

/* Service card full-width image (replaces icon when wh_main_image is set) */
.svc-card-img {
  display: block;
  width: calc(100% + 52px); margin: -34px -26px 20px -26px;
  aspect-ratio: 16 / 10; overflow: hidden;
}
.svc-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.svc-card:hover .svc-card-img img { transform: scale(1.05); }

.svc-title { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: rgba(255,255,255,0.88); margin-bottom: 10px; line-height: 1.35; letter-spacing: -0.01em; }
.svc-desc  { font-size: 14px; font-weight: 300; line-height: 1.72; color: rgba(255,255,255,0.40); margin-bottom: 18px; }
.svc-desc:last-of-type { margin-bottom: 22px; }
.svc-link  { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 600; color: var(--accent); letter-spacing: 0.04em; transition: gap 0.28s ease; }
.svc-link .btn-arrow { height: 13px; }
.svc-link:hover { gap: 10px; color: #ff9a7a; text-decoration: none; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--white); background: var(--primary);
  padding: 13px 30px; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); color: var(--white); text-decoration: none; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.13); padding: 13px 32px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.btn-ghost:hover { color: rgba(255,255,255,0.9); border-color: rgba(255,255,255,0.28); background: rgba(255,255,255,0.04); text-decoration: none; }


/* ============================================================
   TESTIMONIALS
============================================================ */
#testimonials { background: var(--surface-alt); }
.testi-header { margin-bottom: 44px; }
.testi-header .eyebrow { display: flex; }
.testi-carousel { position: relative; }
.testi-nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 42px; height: 42px; border: 1px solid var(--border-strong); background: var(--white);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 13px;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.08));
  transition: all var(--transition);
}
.testi-nav-btn:hover { border-color: var(--accent); color: var(--accent); filter: drop-shadow(0 4px 12px rgba(255,99,74,0.15)); }
.testi-nav-btn:focus, .testi-nav-btn:active { outline: none; box-shadow: none; }
.testi-nav-btn.prev { left: -54px; }
.testi-nav-btn.next { right: -54px; }
.testi-arrow { height: 14px; width: auto; display: inline-block; vertical-align: middle; }
.testi-arrow-prev { transform: rotate(180deg); }

.testi-wrap { overflow: hidden; }
.testi-track { display: flex; gap: 20px; transition: transform 0.6s var(--ease); }

/* Testimonial cards */
.testi-card {
  min-width: calc(33.33% - 14px);
  max-width: calc(33.33% - 14px);
  width: calc(33.33% - 14px);
  background: var(--white); border: 1px solid var(--border);
  padding: 30px 26px; flex-shrink: 0; word-wrap: break-word; overflow-wrap: break-word;
  display: flex; flex-direction: column;
  clip-path: polygon(
    0 0, calc(100% - 20px) 0, 100% 20px,
    100% 100%, 20px 100%, 0 calc(100% - 20px)
  );
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.05));
  transition: filter var(--transition), transform var(--transition);
}
.testi-card:nth-child(even) {
  clip-path: polygon(
    20px 0, 100% 0, 100% calc(100% - 20px),
    calc(100% - 20px) 100%, 0 100%, 0 20px
  );
}

.testi-q { width: 34px; height: 34px; background: rgba(255,99,74,0.12); display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 14px; margin-bottom: 16px; clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px)); }
.testi-text { font-size: 14px; font-weight: 400; line-height: 1.78; color: var(--text-body); margin-bottom: 10px; font-style: italic; overflow-wrap: break-word; word-break: break-word; }
.testi-text .testi-truncated { display: inline; }
.testi-text .testi-rest { display: none; }
.testi-text.expanded .testi-rest { display: inline; animation: testiReveal 0.4s var(--ease); }
@keyframes testiReveal { from { opacity: 0; } to { opacity: 1; } }
.testi-more-btn { background: none; border: none; cursor: pointer; padding: 2px 4px; font-size: 12px; color: var(--accent); font-family: var(--font-body); vertical-align: middle; display: inline-flex; align-items: center; gap: 3px; }
.testi-more-btn:hover { color: var(--accent-dark); }
.testi-more-btn .testi-toggle-arrow { display: inline-block; font-size: 10px; transition: transform 0.3s var(--ease); }
.testi-author { display: flex; align-items: center; gap: 11px; margin-top: auto; }
.testi-av { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 13px; font-weight: 700; color: #fff; flex-shrink: 0; }
.testi-name { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--text-head); }
.testi-role { font-size: 12px; color: var(--text-light); margin-top: 2px; line-height: 1.4; }
.testi-footer { display: flex; gap: 8px; justify-content: center; margin-top: 34px; }
.t-dot { height: 2px; width: 18px; background: var(--border-strong); cursor: pointer; transition: all 0.3s ease; }
.t-dot.active { background: var(--accent); width: 38px; }


/* ============================================================
   FOOTER
============================================================ */
footer {
  background: var(--primary-dark); padding: 80px max(44px, 9%) 36px;
  position: relative;
}
.footer-col:last-child { text-align: right; }
footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark), var(--accent), var(--primary), var(--accent-light));
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 54px; }
.footer-brand img { height: auto; width: 200px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-brand p,
.footer-brand-text,
.footer-brand-text p { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.62); line-height: 1.72; max-width: 240px; margin-bottom: 20px; }
.fsocial { display: flex; gap: 8px; }
.fsocial a {
  width: 33px; height: 33px; border: 1px solid rgba(64,141,204,0.35);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-light); font-size: 13px; background: rgba(64,141,204,0.08);
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
  transition: all var(--transition);
}
.fsocial a:hover { border-color: rgba(255,255,255,0.09); color: rgba(255,255,255,0.28); background: transparent; }
.footer-col h4 { font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; font-weight: 300; color: rgba(255,255,255,0.82); transition: color 0.3s; }
.footer-col ul li a:hover { color: rgba(255,255,255,0.40); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 26px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom p, .footer-bottom a { font-size: 12px; color: rgba(255,255,255,0.42); transition: color 0.3s; }
.footer-bottom a:hover { color: rgba(255,255,255,0.19); }
.footer-links { display: flex; gap: 18px; }


/* ============================================================
   INSIGHTS BLOG GRID
============================================================ */
.mpl-insights-section {
  padding: 40px 0 60px;
}
.mpl-blog-grid {
  display: flex; flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  max-width: 960px;
  margin: 0 auto;
}
.mpl-blog-card {
  width: calc(33.33% - 16px);
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.05));
  transition: filter var(--transition), transform var(--transition);
}
.mpl-blog-card:hover {
  transform: translateY(-5px);
  filter: drop-shadow(0 12px 32px rgba(64,141,204,0.14));
}
.mpl-blog-card-link {
  display: block; text-decoration: none; color: inherit;
}
.mpl-blog-card-link:hover { text-decoration: none; color: inherit; }

.mpl-blog-card-img {
  width: 100%; aspect-ratio: 16 / 10; overflow: hidden;
  background: var(--surface);
}
.mpl-blog-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.mpl-blog-card:hover .mpl-blog-card-img img { transform: scale(1.05); }

.mpl-blog-card-body {
  padding: 22px 24px 28px;
}
.mpl-blog-card-date {
  display: block;
  font-family: var(--font-body); font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 8px;
}
.mpl-blog-card-title {
  font-family: var(--font-display); font-size: 17px; font-weight: 700;
  color: var(--text-head); margin-bottom: 10px; line-height: 1.3;
}
.mpl-blog-card-short-desc {
  font-size: 13px; font-weight: 600; line-height: 1.5;
  color: var(--accent); margin-bottom: 6px;
}
.mpl-blog-card-excerpt {
  font-size: 13px; font-weight: 300; line-height: 1.5;
  color: var(--text-body); margin-bottom: 14px;
}
.mpl-blog-card-more {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 12px; font-weight: 600; color: var(--accent);
  letter-spacing: 0.04em; transition: gap 0.28s ease;
}
.mpl-blog-card-more .btn-arrow { height: 13px; }
.mpl-blog-card:hover .mpl-blog-card-more { gap: 10px; }

.mpl-blog-empty {
  text-align: center; padding: 60px 0;
  font-size: 16px; color: var(--text-muted);
}


/* ============================================================
   PAGINATION
============================================================ */
.mpl-pagination {
  display: flex; justify-content: center; align-items: center;
  gap: 4px; padding: 20px 0;
  max-width: 960px; margin: 0 auto;
}
.mpl-pagination a,
.mpl-pagination span {
  display: inline-block; padding: 8px 14px;
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  border: 1px solid var(--border); transition: all 0.2s ease;
}
.mpl-pagination a {
  background: var(--white); color: var(--primary-dark);
}
.mpl-pagination a:hover {
  background: var(--primary-dark); color: var(--white);
  border-color: var(--primary-dark); text-decoration: none;
}
.mpl-pagination span.current {
  background: var(--primary-dark); color: var(--white);
  border-color: var(--primary-dark);
}
.mpl-pagination span.dots {
  border: none; background: none;
  color: var(--text-muted); padding: 8px 6px;
}


/* ============================================================
   PORTAL
============================================================ */
.mpl-portal-title {
  font-family: var(--font-display); font-size: 36px; font-weight: 700;
  color: var(--text-head); line-height: 1.2; margin-bottom: 24px;
}
.portal-nav-wrapper {
  margin-bottom: 32px;
}
.portal-nav {
  display: flex; flex-wrap: wrap; gap: 10px;
  list-style: none; padding: 0; margin: 0;
}
.portal-nav-btn {
  display: inline-block;
  padding: 10px 22px;
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white); background: var(--primary);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background 0.2s ease;
  text-decoration: none;
}
.portal-nav-btn:hover {
  background: var(--primary-dark);
  text-decoration: none; color: var(--white);
}
.portal-nav-portal-home .portal-nav-btn {
  background: var(--accent);
}
.portal-nav-portal-home .portal-nav-btn:hover {
  background: var(--accent-dark);
}
/* Completed items — tick + muted */
.portal-nav-item.is-completed .portal-nav-btn {
  background: var(--surface); color: var(--text-muted);
  position: relative;
}
.portal-nav-item.is-completed .portal-nav-btn::before {
  content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  margin-right: 6px; font-size: 11px;
}
/* Label (no link) */
.portal-nav-label {
  cursor: default;
}
/* Extra buttons (app-dependent) */
.portal-nav-item.is-app-ready .portal-nav-btn {
  background: var(--primary-mid);
}


/* ============================================================
   SINGLE INSIGHT
============================================================ */
.mpl-insight-title {
  font-family: var(--font-display); font-size: 36px; font-weight: 700;
  color: var(--text-head); line-height: 1.2; margin-bottom: 8px;
}
.mpl-insight-date {
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 28px;
}
.mpl-pdf-block {
  margin-top: 40px; padding: 30px;
  background: var(--surface-alt); border: 1px solid var(--border);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}
.mpl-pdf-title {
  font-family: var(--font-display); font-size: 20px; font-weight: 700;
  color: var(--text-head); margin-bottom: 8px;
}
.mpl-pdf-desc {
  font-size: 14px; color: var(--text-body); line-height: 1.6; margin-bottom: 16px;
}


/* ============================================================
   SKIP LINK
============================================================ */
.skip-main {
  position: absolute; left: -999px; top: auto; width: 1px; height: 1px; overflow: hidden; z-index: -999;
  padding: 10px 20px; background: var(--primary); color: #fff; font-size: 14px;
}
.skip-main:focus {
  left: 10px; top: 10px; width: auto; height: auto; overflow: visible; z-index: 100000;
}


/* ============================================================
   MAGNIFIC POPUP — login overlay
============================================================ */
/* Fade transitions */
.mfp-fade.mfp-bg {
  opacity: 0;
  transition: all 300ms ease-out;
}
.mfp-fade.mfp-bg.mfp-ready { opacity: 0.85; }
.mfp-fade.mfp-bg.mfp-removing { opacity: 0; }

.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;
  transition: all 300ms ease-out;
}
.mfp-fade.mfp-wrap.mfp-ready .mfp-content { opacity: 1; }
.mfp-fade.mfp-wrap.mfp-removing .mfp-content { opacity: 0; }

.mfp-wrap { z-index: 999999; }

div.mfp-content { max-width: 380px; }

button.mfp-close,
button.mfp-arrow { background: transparent; }

button.mfp-close {
  color: var(--text-subtle); font-size: 28px; opacity: 0.6;
  transition: opacity 0.2s ease;
}
button.mfp-close:hover { opacity: 1; }

div#wh-login-popup {
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

div.wh-login-register-wrapper {
  padding: 0;
}
div#wh-login-popup .tab-content {
  padding: 24px 28px 28px;
}

/* Tab styling — solid tab look */
div#wh-login-popup .nav-tabs {
  border-bottom: none;
  display: flex; gap: 0; margin: 0 0 0 0; padding: 0;
  background: var(--surface); border-radius: 8px 8px 0 0;
  overflow: hidden;
}
div#wh-login-popup .nav-tabs .nav-item { flex: 1; }
div#wh-login-popup .nav-tabs .nav-link {
  display: block; text-align: center;
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; color: var(--text-muted);
  padding: 14px 20px; border: none; border-bottom: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  background: var(--surface); cursor: pointer; border-radius: 0; margin: 0;
}
div#wh-login-popup .nav-tabs .nav-link:hover {
  color: var(--text-secondary); background: var(--surface-alt);
}
div#wh-login-popup .nav-tabs .nav-link.active {
  color: var(--primary-dark); background: var(--white);
  border-bottom: none;
}

/* Hide Register tab for go-live */
div#wh-login-popup .nav-tabs .nav-item:nth-child(2) { display: none; }
div#wh-login-popup .tab-pane#register { display: none; }

/* Form inputs */
div#wh-login-popup input[type="text"],
div#wh-login-popup input[type="email"],
div#wh-login-popup input[type="password"] {
  width: 100%; padding: 10px 14px;
  font-family: var(--font-body); font-size: 14px;
  border: 1px solid var(--border); border-radius: 4px;
  margin-bottom: 12px; transition: border-color 0.2s ease;
}
div#wh-login-popup input[type="text"]:focus,
div#wh-login-popup input[type="email"]:focus,
div#wh-login-popup input[type="password"]:focus {
  border-color: var(--primary); outline: none;
}

/* Submit button — matches site chamfered coral buttons */
/* !important needed to override Login With Ajax plugin inline styles */
div#wh-login-popup input[type="submit"],
div#wh-login-popup input[type="submit"].button-primary {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 13px 30px;
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  letter-spacing: 0.01em;
  color: #ffffff !important; background-color: #f18663 !important;
  border: none !important;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  cursor: pointer;
  transition: background-color 0.28s ease;
}
div#wh-login-popup input[type="submit"]:hover,
div#wh-login-popup input[type="submit"].button-primary:hover {
  background-color: #d46d4b !important;
}

/* Lost password + register text */
div#wh-login-popup a {
  color: var(--primary); font-size: 13px;
}
div#wh-login-popup a:hover { color: var(--primary-dark); text-decoration: underline; }

div#wh-login-popup p {
  font-size: 14px; color: var(--text-body); margin-bottom: 12px;
}


/* ============================================================
   EDITOR BAR
============================================================ */
.wh-editor-bar {
  display: block; background-color: var(--ink-deep); text-align: center; padding: 10px 5px;
  color: rgba(255,255,255,0.65); font-size: 13px;
}
.wh-editor-bar a {
  color: var(--accent-light); text-decoration: underline;
}
.wh-editor-bar a:hover { color: var(--white); }


/* ============================================================
   PAGE CONTENT WRAPPER
============================================================ */
.wh-page-content-wrapper {
  /* Offset for fixed navbar + utility bar */
}


/* ============================================================
   INTERIOR HERO — 400px shorter banner
============================================================ */
#hero.hero-interior {
  height: calc(400px + var(--topbar-h) + 98px);
  min-height: calc(400px + var(--topbar-h) + 98px);
}
#hero.hero-interior .hero-content {
  padding-top: calc(var(--topbar-h) + 98px);
  padding-bottom: 60px;
}


/* ============================================================
   BREADCRUMBS
============================================================ */
.mpl-breadcrumbs {
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.mpl-breadcrumbs.no-hero {
  margin-top: calc(var(--topbar-h) + 98px);
}
.mpl-breadcrumbs .breadcrumb {
  font-family: var(--font-body); font-size: 13px; font-weight: 400;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 0; flex-wrap: wrap;
  background: none; padding: 0; margin: 0; border-radius: 0;
  list-style: none;
}
.mpl-breadcrumbs .breadcrumb a {
  color: var(--primary); transition: color 0.2s ease;
}
.mpl-breadcrumbs .breadcrumb a:hover { color: var(--primary-dark); }
.bc-sep {
  margin: 0 8px; color: var(--text-muted); opacity: 0.5;
}
.bc-current {
  color: var(--text-secondary); font-weight: 500;
}


/* ============================================================
   PAGE CONTENT
============================================================ */
.mpl-page {
  padding: 10px 0 40px;
}
.mpl-page.no-hero {
  padding-top: calc(var(--topbar-h) + 98px + 40px);
}
.mpl-post-content {
  font-family: var(--font-body); font-size: 16px; line-height: 1.78;
  color: var(--text-body);
}
.mpl-post-content h1,
.mpl-post-content h2,
.mpl-post-content h3,
.mpl-post-content h4 {
  font-family: var(--font-display); color: var(--text-head);
  line-height: 1.2; margin-bottom: 16px; margin-top: 32px;
}
.mpl-post-content h1 { font-size: 36px; font-weight: 700; }
.mpl-post-content h2 { font-size: 28px; font-weight: 700; }
.mpl-post-content h3 { font-size: 22px; font-weight: 600; }
.mpl-post-content h4 { font-size: 18px; font-weight: 600; }
.mpl-post-content p { margin-bottom: 18px; }
.mpl-post-content img { border-radius: 4px; margin: 16px 0; }
.mpl-post-content a { color: var(--primary); text-decoration: underline; }
.mpl-post-content a:hover { color: var(--primary-dark); }
.mpl-post-content ul,
.mpl-post-content ol { margin: 0 0 18px 24px; list-style: revert; }
.mpl-post-content li { margin-bottom: 6px; }


/* ============================================================
   INFO BLOCKS — TOP (pillar-2 style: white bg, image cards, 3-col)
============================================================ */
.ib-top-grid {
  display: flex; flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  padding: 30px 0 10px;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}
.ib-top-card { width: calc(33.33% - 16px); }
.ib-top-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.06));
  transition: filter var(--transition), transform var(--transition);
  display: flex; flex-direction: column;
  color: inherit; text-decoration: none;
}
a.ib-top-card:hover {
  transform: translateY(-5px);
  filter: drop-shadow(0 12px 32px rgba(64,141,204,0.14));
}
/* No underline or color change on hover */
a.ib-top-card, a.ib-top-card:hover {
  text-decoration: none; color: inherit;
}
.ib-top-img {
  width: 100%; aspect-ratio: 16 / 10; overflow: hidden;
}
.ib-top-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease);
}
a.ib-top-card:hover .ib-top-img img {
  transform: scale(1.05);
}
.ib-top-body {
  padding: 22px 24px 28px;
  flex: 1; display: flex; flex-direction: column;
}
.ib-top-title {
  font-family: var(--font-display); font-size: 18px; font-weight: 700;
  color: var(--text-head); margin-bottom: 10px; line-height: 1.3;
}
.ib-top-desc {
  font-size: 14px; font-weight: 300; line-height: 1.72;
  color: var(--text-body);
}


/* ============================================================
   INFO BLOCKS — BOTTOM (pillar-3 style: ink-deep bg, chamfered cards)
============================================================ */
.mpl-infoblocks-bottom {
  background-color: var(--ink-deep);
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  padding: 80px 0;
  position: relative; overflow: hidden;
}
.mpl-infoblocks-bottom::before {
  content: ''; position: absolute; bottom: -100px; left: -100px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(130,198,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.ib-bottom-grid {
  display: flex; flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  position: relative; z-index: 1;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}
.ib-bottom-card { width: calc(33.33% - 12px); }
.ib-bottom-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09);
  position: relative; overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.20));
  transition: background var(--transition), filter var(--transition), transform var(--transition);
}
.ib-bottom-card:hover {
  background: rgba(255,255,255,0.09);
  transform: translateY(-5px);
  filter: drop-shadow(0 16px 40px rgba(64,141,204,0.14));
}
a.ib-bottom-card, a.ib-bottom-card:hover {
  text-decoration: none; color: inherit;
}
.ib-bottom-card::before {
  content: ''; position: absolute; top: 0; left: 20px; right: 20px;
  height: 2px; background: linear-gradient(90deg, transparent, var(--accent), var(--primary), transparent);
  opacity: 0; transition: opacity var(--transition);
}
.ib-bottom-card:hover::before { opacity: 1; }

.ib-bottom-img {
  width: 100%; aspect-ratio: 16 / 10; overflow: hidden;
}
.ib-bottom-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.ib-bottom-card:hover .ib-bottom-img img {
  transform: scale(1.05);
}
.ib-bottom-body {
  padding: 22px 24px 28px;
  flex: 1; display: flex; flex-direction: column;
}
.ib-bottom-title {
  font-family: var(--font-display); font-size: 16px; font-weight: 700;
  color: rgba(255,255,255,0.88); margin-bottom: 10px; line-height: 1.35;
}
.ib-bottom-desc,
.ib-bottom-desc p,
.ib-bottom-desc a,
.ib-bottom-desc li,
.ib-bottom-desc span {
  font-size: 13px; font-weight: 300; line-height: 1.74;
  color: #ffffff;
}


/* ============================================================
   GALLERY
============================================================ */
.mpl-gallery {
  padding: 60px 0;
}
#lightgallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px;
  text-align: center;
}
.gallery-thumb {
  display: block; overflow: hidden; border-radius: 4px;
  transition: filter var(--transition), transform var(--transition);
}
.gallery-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  aspect-ratio: 1 / 1;
  transition: transform 0.4s var(--ease);
}
.gallery-thumb:hover img { transform: scale(1.06); }
.gallery-thumb:hover { filter: drop-shadow(0 8px 20px rgba(0,0,0,0.15)); }


/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1280px) {
  .testi-carousel { padding: 0 52px; }
  .testi-nav-btn.prev { left: 0; }
  .testi-nav-btn.next { right: 0; }
}
@media (max-width: 1200px) {
  .testi-card { min-width: calc(50% - 10px); max-width: calc(50% - 10px); width: calc(50% - 10px); }
}
@media (max-width: 1024px) {
  .svc-card { width: calc(50% - 10px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col:last-child { text-align: left; }
  .testi-card { min-width: calc(50% - 10px); max-width: calc(50% - 10px); width: calc(50% - 10px); }
  .ib-top-card { width: calc(50% - 12px); }
  .ib-bottom-card { width: calc(50% - 9px); }
  .mpl-blog-card { width: calc(50% - 12px); }
}
@media (max-width: 992px) {
  .utility-bar { display: none; }
  #navbar { top: 0; padding: 0 20px 0 30px; height: 68px; }
  .nav-logo img { height: 56px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  #hero { height: 400px; min-height: 400px; }
  .hero-content {
    padding: 68px 56px 0;
    max-width: 100%; justify-content: center;
  }
  .hero-kicker { display: none; }
  .hero-sub    { display: none; }
  .hero-title  { font-size: clamp(27px, 7vw, 38px); margin-bottom: 20px; }

  /* Controls — hide counter + dots, keep only arrows */
  .hero-controls {
    position: absolute; top: 68px; bottom: 0; left: 0; right: 0;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 9px;
    pointer-events: none;
  }
  .hero-counter { display: none; }
  .hero-dots    { display: none; }
  .hero-nav { display: contents; }
  .hn-btn {
    pointer-events: all;
    background: rgba(0,0,0,0.28);
    border-color: rgba(255,255,255,0.30);
    width: 36px; height: 36px;
  }

  .hero-caption { display: none; }

  #hero.hero-interior { height: 280px; min-height: 280px; }
  #hero.hero-interior .hero-content { padding-top: 68px; padding-bottom: 40px; }
  .mpl-breadcrumbs.no-hero { margin-top: 68px; }
  .mpl-page.no-hero { padding-top: calc(68px + 40px); }

  .intro-grid { grid-template-columns: 1fr; gap: 48px; }
  .svc-card { width: 100%; }
  .svc-group + .svc-group { margin-top: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .testi-card { min-width: 100%; max-width: 100%; width: 100%; }
  .testi-carousel { padding: 0; }
  .testi-nav-btn { width: 36px; height: 36px; font-size: 12px; }
  .testi-nav-btn.prev { left: -19px; }
  .testi-nav-btn.next { right: -19px; }
  .section { padding: 72px 0; }
  .container { padding: 0 24px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .svc-group-footer { flex-direction: column; align-items: flex-start; gap: 10px; }
  .ib-top-card { width: 100%; }
  .ib-bottom-card { width: 100%; }
  .mpl-blog-card { width: 100%; }
}

/* ============================================================
   WOOCOMMERCE MY ACCOUNT
============================================================ */
.woocommerce .woocommerce-MyAccount-content .button,
.woocommerce .woocommerce-MyAccount-content .woocommerce-Button,
.woocommerce-page .woocommerce-MyAccount-content .button {
  background: var(--accent);
  color: var(--white);
  border: none;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 30px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.3s var(--ease);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.woocommerce .woocommerce-MyAccount-content .button:hover,
.woocommerce .woocommerce-MyAccount-content .woocommerce-Button:hover,
.woocommerce-page .woocommerce-MyAccount-content .button:hover {
  background: var(--accent-dark);
  color: var(--white);
}

/* ============================================================
   GRAVITY FORMS
============================================================ */
.gform_wrapper.gform-theme--framework {
  --gf-ctrl-btn-bg-color-primary: var(--accent);
  --gf-ctrl-btn-color-primary: var(--white);
  --gf-ctrl-btn-border-color-primary: var(--accent);
  --gf-ctrl-btn-bg-color-primary-hover: var(--accent-dark);
  --gf-ctrl-btn-border-color-primary-hover: var(--accent-dark);
  --gf-ctrl-btn-color-primary-hover: var(--white);
  --gf-ctrl-btn-font-family: var(--font-body);
  --gf-ctrl-btn-font-size: 14px;
  --gf-ctrl-btn-font-weight: 600;
  --gf-ctrl-btn-radius: 0;
  --gf-ctrl-btn-shadow: none;
}
.gform_wrapper .gform_footer input[type="submit"] {
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  padding: 13px 30px;
  letter-spacing: 0.01em;
  transition: background 0.3s var(--ease);
}


/* =============================================================
 * WOO MY ACCOUNT — Login / Register layout
 * ============================================================= */
.woocommerce-account .u-columns,
.woocommerce-account #customer_login {
  display: flex !important;
  flex-wrap: wrap;
  gap: 40px;
  width: 100% !important;
  max-width: 100% !important;
}

.woocommerce-account .u-columns .u-column1,
.woocommerce-account .u-columns .u-column2,
.woocommerce-account .u-columns .col-1,
.woocommerce-account .u-columns .col-2 {
  flex: 1;
  min-width: 300px;
  max-width: calc(50% - 20px);
}

@media only screen and (max-width: 768px) {
  .woocommerce-account .u-columns .u-column1,
  .woocommerce-account .u-columns .u-column2,
  .woocommerce-account .u-columns .col-1,
  .woocommerce-account .u-columns .col-2 {
    flex: 0 0 100%;
    max-width: 100%;
    min-width: 0;
  }
}

.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register {
  border: 1px solid #ddd;
  padding: 30px;
  border-radius: 4px;
}

.woocommerce-account .woocommerce-form-login .form-row,
.woocommerce-account .woocommerce-form-register .form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.woocommerce-account .woocommerce-form-login .form-row label,
.woocommerce-account .woocommerce-form-register .form-row label {
  width: 100%;
  margin-bottom: 4px;
  font-weight: 600;
  font-size: 14px;
}

.woocommerce-account .woocommerce-form-login .form-row input.input-text,
.woocommerce-account .woocommerce-form-register .form-row input.input-text {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  font-size: 15px;
}

.woocommerce-account .woocommerce-form-login .woocommerce-button,
.woocommerce-account .woocommerce-form-register .woocommerce-button {
  background: var(--primary);
  color: #ffffff;
  border: 1px solid var(--primary);
  padding: 12px 30px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 0;
  cursor: pointer;
  transition: all 200ms;
}

.woocommerce-account .woocommerce-form-login .woocommerce-button:hover,
.woocommerce-account .woocommerce-form-register .woocommerce-button:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #ffffff;
}

/* My Account forms — labels above fields */
.woocommerce-account .woocommerce-MyAccount-content .form-row,
.woocommerce-account .woocommerce-EditAccountForm .form-row,
.woocommerce-account .woocommerce-address-fields .form-row {
  display: flex;
  flex-direction: column;
}

.woocommerce-account .woocommerce-MyAccount-content .form-row label,
.woocommerce-account .woocommerce-EditAccountForm .form-row label,
.woocommerce-account .woocommerce-address-fields .form-row label {
  width: 100%;
  margin-bottom: 4px;
  font-weight: 600;
  font-size: 14px;
}

.woocommerce-account .woocommerce-MyAccount-content .form-row .input-text,
.woocommerce-account .woocommerce-MyAccount-content .form-row select,
.woocommerce-account .woocommerce-address-fields .form-row .input-text,
.woocommerce-account .woocommerce-address-fields .form-row select {
  width: 100%;
}

/* wh-start embedded images responsive */
img.alignright {
  clear: both;
  float: right;
  margin-left: 20px;
  padding-top: 15px;
  padding-bottom: 15px;
}
img.alignleft {
  clear: both;
  float: left;
  margin-right: 20px;
  padding-top: 15px;
  padding-bottom: 15px;
}
figure.alignright {
  float: right;
  margin-left: 20px;
  padding-top: 15px;
}
figure.alignleft {
  float: left;
  margin-right: 20px;
  padding-top: 15px;
}
img.aligncenter,
.aligncenter {
  display: block;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 15px;
}
figcaption.wp-caption-text {
  text-align: center;
  font-style: italic;
  font-size: 14px;
  padding-top: 5px;
}
@media (max-width: 768px) {
  .wp-caption {
    width: 100% !important;
    text-align: center;
  }
  .wp-caption img {
    max-width: 99.03225806% !important;
    height: auto;
  }
  img.alignright {
    float: none;
    display: block;
    margin: 0 auto;
    text-align: center;
  }
  img.alignleft {
    float: none;
    display: block;
    margin: 0 auto;
    text-align: center;
  }
}
/* wh-end embedded images responsive */

/* Responsive embed — YouTube / Vimeo / PBS / Google Maps iframes */
.hs-responsive-embed {
  position: relative;
  height: 0;
  overflow: hidden;
  padding-bottom: 56.25%;
  margin-bottom: 16px;
}
.hs-responsive-embed iframe,
.hs-responsive-embed object,
.hs-responsive-embed embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
