/* =========================================================
   HERO (scoped) – Momentum HRT
   ========================================================= */

/* Scope everything to avoid clashes */
.mhr-hero { 
  position: relative;
  overflow: hidden;
  padding: 80px 0 40px;
  /* Fallback only – page inline CSS sets the real image bg */
  background: linear-gradient(135deg, #0f1f2f 0%, #152a3f 100%);
  color: #fff;

  /* Design tokens */
  --mhr-radius-sm: 28px;         /* small corner radius   */
  --mhr-radius-lg: 120px;        /* big corner radius     */
  --mhr-outline: 4px;            /* yellow outline width  */
  --mhr-outline-color: #f0c83e;  /* yellow outline colour */
  --mhr-accent-height: 6px;      /* green top line height */
  --mhr-accent-color: #49d12a;   /* Momentum green        */
  --mhr-gap: 28px;               /* gap when stacked      */
}

/* Make the Elementor outer section behave as full-width & centred */
.mhr-hero .elementor-section.elementor-section-stretched { width: 100% !important; left: auto !important; }
.mhr-hero .elementor-section .elementor-container { max-width: 1140px; margin: 0 auto; }

/* Headline + body */
.mhr-hero h1, 
.mhr-hero h2, 
.mhr-hero h3.elementor-heading-title {
  font-weight: 800;
  line-height: 1.12;
  margin: 0;
}
.mhr-hero p { opacity: .95; }
.mhr-hero .elementor-widget-spacer .elementor-spacer { height: 20px; }

/* Buttons */
.mhr-hero .elementor-button,
.mhr-hero .box-button {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  border-radius: 10px;
  padding: 16px 24px;
  text-decoration: none;
  background: #3BC331;        /* Momentum green */
  color: #0b0b0b;
  transition: transform .15s ease, box-shadow .15s ease;
}
.mhr-hero .elementor-button:hover,
.mhr-hero .box-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
/* Secondary button style */
.mhr-hero .elementor-button + .elementor-button,
.mhr-hero .box-button + .box-button {
  margin-left: 12px;
  background: rgba(255,255,255,.1);
  color: #fff;
}

/* ===== HERO LAYOUT ===== */
.mhr-hero .mhr-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Top row: 2 columns */
.mhr-hero .mhr-top {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

/* Left column */
.mhr-hero .mhr-h1 {
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.15;
  font-weight: 800;
  margin: 0 0 16px;
  color: #fff;
}
.mhr-hero .mhr-intro {
  margin: 0 0 24px;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.6;
  color: #cfe0ee;
  max-width: 58ch;
}
.mhr-hero .mhr-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.mhr-hero .mhr-btn {
  display: inline-block;
  padding: 14px 18px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.mhr-hero .mhr-btn--primary {
  background: #49d12a;
  color: #0c1a28;
  box-shadow: 0 6px 14px rgba(73,209,42,.25);
}
.mhr-hero .mhr-btn--primary:hover { transform: translateY(-2px); }
.mhr-hero .mhr-btn--ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
}
.mhr-hero .mhr-btn--ghost:hover { transform: translateY(-2px); }

/* =========================================================
   RIGHT-COLUMN IMAGE CARDS
   Large card (TR/BL big radius) + yellow outline + GREEN top line.
   Small card overlaps (TL/BR big radius) + yellow outline + GREEN top line.
   ========================================================= */
.mhr-hero .mhr-right {
  position: relative;
  min-height: 360px; /* room for overlap */
}

/* Card base */
.mhr-hero .mhr-card {
  position: relative;
  overflow: hidden;
  background: #0e2236; /* fallback */
}
.mhr-hero .mhr-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Yellow outline drawn outside the image */
.mhr-hero .mhr-card::after {
  content: "";
  position: absolute;
  inset: calc(-1 * var(--mhr-outline));
  border: var(--mhr-outline) solid var(--mhr-outline-color);
  border-radius: inherit;
  pointer-events: none;
}

/* ---- Large card (Image1) ---- */
.mhr-hero .mhr-card--lg {
  width: min(520px, 42vw);          /* tuned from earlier */
  aspect-ratio: 4 / 3;
  /* TL  TR                BR   BL  */
  border-radius: var(--mhr-radius-sm) var(--mhr-radius-lg) var(--mhr-radius-sm) var(--mhr-radius-lg);
  z-index: 1;
}
/* Green top accent for large card */
.mhr-hero .mhr-card--lg::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: var(--mhr-accent-height);
  background: var(--mhr-accent-color);
  border-top-left-radius:  var(--mhr-radius-sm);
  border-top-right-radius: var(--mhr-radius-lg);
  pointer-events: none;
  z-index: 2; /* above image, below ::after outline */
}

/* ---- Small card (Image2) ---- */
.mhr-hero .mhr-card--sm {
  width: min(420px, 36vw);
  aspect-ratio: 4 / 3;
  position: absolute;
  right: -250px;
  bottom: -20%;                       /* tighter overlap */
  /* TL                TR   BR                BL  */
  border-radius: var(--mhr-radius-lg) var(--mhr-radius-sm) var(--mhr-radius-lg) var(--mhr-radius-sm);
  z-index: 3;
}
/* Green top accent for small card */
.mhr-hero .mhr-card--sm::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: var(--mhr-accent-height);
  background: var(--mhr-accent-color);
  /* Respect the small card’s top radii (TL big, TR small) */
  border-top-left-radius:  var(--mhr-radius-lg);
  border-top-right-radius: var(--mhr-radius-sm);
  pointer-events: none;
  z-index: 2;
}

/* Icon row: 4 tiles */
.mhr-hero .mhr-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.mhr-hero .mhr-ibox {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: start;
  gap: 14px;
}
.mhr-hero .mhr-ibox__icon {
  font-size: 30px;
  line-height: 1;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.25));
}
.mhr-hero .mhr-ibox__title {
  color: #dfeaf5;
  font-weight: 700;
  line-height: 1.35;
}
.mhr-hero {
        margin-top: -240px !important;
}
.mhr-hero .mhr-icons {
    margin-top: 100px !important;
}

/* Kill the old 4-icon strip under the hero on the homepage */
.home .mhr-hero .mhr-hero-feats,
.home .mhr-hero .mhr-hero-features,
.home .mhr-hero .mhr-features {
  display: none !important;
}




/* === Three cards inside the hero === */
.mhr-hero .mhr-hero-cards{
  display:grid; gap:24px; grid-template-columns:repeat(2,1fr);
  margin-top:28px;
}

.mhr-hero .mhr-hero-card{
  position:relative; display:flex; flex-direction:column; justify-content:flex-end;
  min-height:170px; text-decoration:none; color:#0b1324;
  background:#fff; border-radius:28px 28px 28px 28px; overflow:hidden;
  box-shadow:0 10px 28px rgba(0,0,0,.18);
  transition:transform .18s ease, box-shadow .18s ease;
}

/* Green top accent – same as hero images */
.mhr-hero .mhr-hero-card::before{
  content:""; position:absolute; left:0; right:0; top:0; height:6px; background:#49d12a; z-index:2;
}

.mhr-hero .mhr-hero-card__media{ position:absolute; inset:0; }
.mhr-hero .mhr-hero-card__media img{ width:100%; height:100%; object-fit:cover; }

.mhr-hero .mhr-hero-card__title{
  position:relative; z-index:3; background:rgba(255,255,255,.92);
  backdrop-filter: blur(2px);
  padding:14px 16px; font-weight:800; letter-spacing:.02em;
  border-top:1px solid rgba(0,0,0,.06);
}

.mhr-hero .mhr-hero-card:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 36px rgba(0,0,0,.22);
}

/* Stack on smaller screens */
@media (max-width: 992px){
  .mhr-hero .mhr-hero-cards{ grid-template-columns:1fr; }
  .mhr-hero .mhr-hero-card{ min-height:160px; }
}


/* Home only: hide any duplicate 3-box row that might be placed right after the hero */
.home .mhr-hero + .mhr-hero-cards,
.home .mhr-hero + .section-feature-cards { 
  display: none !important;
}
.mhr-hero-cta{ display: none !important; }
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp { background: none !important; }




/* === Floating Google Reviews badge (home only) === */

/* Default: hide everywhere unless home */
.mhr-reviews-badge { display: none; }

/* Show and FLOAT on the homepage only */
body.home .mhr-reviews-badge {
  display: block;
  position: fixed;         /* <-- this makes it float */
  left: 20px;
  bottom: 20px;
  z-index: 9999;           /* sit above hero/images */
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.25));
  pointer-events: auto;
}

/* Tidy the widget card so it matches the hero styling */
body.home .mhr-reviews-badge .grw-widget,
body.home .mhr-reviews-badge [class*="grw-"] {
  background: #0f1f2f;     /* your hero navy */
  color: #fff;
  border-radius: 10px;
  padding: 8px 10px;
}

/* Remove any white card/borders the plugin might add */
body.home .mhr-reviews-badge .grw-review,
body.home .mhr-reviews-badge .grw-container,
body.home .mhr-reviews-badge .grw-rating {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Mobile tweaks (optional: scale down or move) */
@media (max-width: 768px) {
  body.home .mhr-reviews-badge {
    left: 12px;
    bottom: 12px;
    transform: scale(.92);
    transform-origin: left bottom;
  }
}


/* ===== SPONSORS STRIP (full-bleed, 3-up) ===== */
.mhr-sponsors{
  --bg:#0f1f2f; --card:#0e2236; --ink:#fff; --muted:#cfe0ee; --accent:#49d12a;
  background:var(--bg); color:var(--ink);
  padding:72px 0;
  /* full-bleed even if the theme wraps content in a centered container */
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  width:100vw;
}

.mhr-sponsors .mhr-wrap{
  max-width:1280px;      /* content width */
  margin:0 auto;
  padding:0 24px;
}

/* Heading: all white, green highlight stays green */
.mhr-sponsors__head{margin:0 0 28px;}
.mhr-sponsors .eyebrow{
  margin:0 0 6px; font-size:12px; letter-spacing:.12em;
  text-transform:uppercase; color:var(--muted);
}
.mhr-sponsors .mhr-h2{
  margin:0; font-weight:800; line-height:1.15;
  font-size:clamp(26px,3.4vw,40px);
  color:#fff;                     /* <— white */
}
.mhr-sponsors .mhr-h2 span{
  color:var(--accent);            /* <— green “PROUD SPONSOR” */
}

/* Grid: 3 cards in one row on desktop */
.mhr-sponsors__grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));  /* 3-up */
  gap:28px;
  align-items:stretch;
}

/* Tablet/mobile breakpoints (optional) */
@media (max-width: 980px){
  .mhr-sponsors__grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width: 620px){
  .mhr-sponsors__grid{ grid-template-columns:1fr; }
}

/* Card */
.sponsor-card{
  display:flex; flex-direction:column; align-items:center; text-align:center;
  background:#FFFFF !important; border-radius:14px; padding:24px;
  text-decoration:none; color:inherit; height:100%;
  border:1px solid rgba(255,255,255,.06);
  box-shadow:0 10px 28px rgba(0,0,0,.28);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.sponsor-card:hover{
  transform:translateY(-4px);
  border-color:rgba(73,209,42,.45);
  box-shadow:0 16px 42px rgba(0,0,0,.35);
}

/* Logo area (consistent height for mixed aspect ratios) */
.sponsor-logo-wrap{
  width:100%; max-width:360px; height:140px;
  display:flex; align-items:center; justify-content:center;
  overflow:hidden; margin-bottom:12px;
}
.sponsor-logo-wrap img{
  max-height:100%; max-width:100%; object-fit:contain;
/*  filter:grayscale(100%) contrast(1.05) brightness(.95); */
  transition:filter .18s ease, transform .18s ease;
}
.sponsor-card:hover img{ filter:none; transform:scale(1.02); }

/* Captions */
.sponsor-caption{margin-top:6px;}
.sponsor-title{margin:0 0 4px; font-size:clamp(16px,2.2vw,20px); font-weight:700; color:#fff;}
.sponsor-tagline{margin:0; color:#000000 !important; text-decoration:none; font-size:14px; line-height:1.45;}

.mhr-sponsors__grid a{background-color: #fff !important;}
.sponsor-card a{text-decoration: none !important;}


/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .mhr-hero .mhr-card--sm { bottom: -6%; }
}
@media (max-width: 1100px) {
  .mhr-hero .mhr-top { gap: 36px; }
}
@media (max-width: 992px) {
  /* Stack cards on tablet/mobile */
  .mhr-hero .mhr-top { grid-template-columns: 1fr; }
  .mhr-hero .mhr-right {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--mhr-gap);
    margin-top: 10px;
  }
  .mhr-hero .mhr-card--lg,
  .mhr-hero .mhr-card--sm {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
  }
  .mhr-hero .mhr-icons {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 36px;
  }
}
@media (max-width: 560px) {
  .mhr-hero .mhr-icons { grid-template-columns: 1fr; }
  .mhr-hero { --mhr-radius-lg: 84px; }  /* soften big radius on small screens */
}
