/* GAHZLY English-only hero correction; Arabic hero remains unchanged. */
body.gahzly-home-v2-en .gzv2-hero,
body.gahzly-home-v2-en .gzv2-hero-content { box-sizing: border-box; }
body.gahzly-home-v2-en .gzv2-hero-content {
  width: min(57%, 570px); max-width: 100%; min-width: 0;
  margin-left: auto; margin-right: 0; direction: ltr; text-align: left;
}
body.gahzly-home-v2-en .gzv2-hero h1 {
  font-size: clamp(30px, 3.15vw, 46px);
  line-height: 1.18; white-space: normal !important;
  overflow-wrap: break-word; max-width: 100%;
}
body.gahzly-home-v2-en .gzv2-typewriter {
  min-width: 0 !important; max-width: 100%;
  white-space: normal !important; overflow-wrap: break-word;
}
/* English already has a valid English paragraph following this Arabic-only duplicate. */
body.gahzly-home-v2-en .gzv2-hero p.gzv2-seo-intro { display: none !important; }
@media (min-width: 641px) and (max-width: 991px) {
  body.gahzly-home-v2-en .gzv2-hero-content { width: min(72%, 560px); }
}
@media (max-width: 640px) {
  body.gahzly-home-v2-en .gzv2-hero {
    position: relative; isolation: isolate; box-sizing: border-box;
    min-height: 690px; height: auto;
    padding: 245px 18px 30px; align-items: flex-end;
    background-position: 24% center;
  }
  body.gahzly-home-v2-en .gzv2-hero::before {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(3,20,62,.06) 8%,
      rgba(3,20,62,.42) 42%, rgba(3,20,62,.86) 68%, #03143e 100%);
  }
  body.gahzly-home-v2-en .gzv2-hero-content {
    position: relative; z-index: 1; width: 100%; max-width: 100%;
    margin: 0; text-align: center;
  }
  body.gahzly-home-v2-en .gzv2-hero h1 {
    font-size: clamp(25px, 7vw, 31px); line-height: 1.18;
    margin-bottom: 12px;
  }
  body.gahzly-home-v2-en .gzv2-eyebrow { font-size: 13px; margin-bottom: 8px; }
  body.gahzly-home-v2-en .gzv2-hero p:not(.gzv2-seo-intro) {
    font-size: 14px; line-height: 1.58; max-width: 34em; margin: 0 auto;
  }
  body.gahzly-home-v2-en .gzv2-actions { gap: 9px; margin-top: 18px; justify-content: center; }
  body.gahzly-home-v2-en .gzv2-btn { flex: 1 1 140px; min-width: 0; padding: 12px 9px; }
}

/* GHZ EN HERO GRID V2 20261106
   Scoped to the English homepage only. Arabic hero and mobile theme-color unchanged.
   Layout: background-image left, constrained text grid column right on desktop.
*/
body.gahzly-home-v2-en section.gzv2-hero,
body.gahzly-home-v2-en section.gzv2-hero * {
  box-sizing: border-box;
}
body.gahzly-home-v2-en section.gzv2-hero > .gzv2-hero-content {
  min-width: 0 !important;
  max-width: 100% !important;
  direction: ltr;
}
body.gahzly-home-v2-en section.gzv2-hero h1,
body.gahzly-home-v2-en section.gzv2-hero p,
body.gahzly-home-v2-en section.gzv2-hero .gzv2-actions {
  min-width: 0;
  max-width: 100%;
  white-space: normal !important;
  overflow-wrap: anywhere;
}
body.gahzly-home-v2-en section.gzv2-hero p:not(.gzv2-seo-intro) {
  width: auto !important;
  max-width: 100% !important;
  font-size: 15px;
  line-height: 1.65;
}
body.gahzly-home-v2-en section.gzv2-hero p.gzv2-seo-intro {
  display: none !important;
}
body.gahzly-home-v2-en section.gzv2-hero .gzv2-btn {
  max-width: 100%;
  white-space: normal;
}
/* Keep fallback English text visible on the empty typewriter animation frame. */
body.gahzly-home-v2-en section.gzv2-hero .gzv2-typewriter:empty::before {
  content: attr(data-en);
}

@media (min-width: 992px) {
  body.gahzly-home-v2-en section.gzv2-hero {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 46%);
    align-items: center;
    column-gap: 0;
    width: 100%;
    max-width: 100%;
    min-height: 520px;
    padding: 42px clamp(22px, 3vw, 54px) !important;
    overflow: hidden;
  }
  body.gahzly-home-v2-en section.gzv2-hero > .gzv2-hero-content {
    grid-column: 2;
    justify-self: stretch;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    text-align: left;
  }
  body.gahzly-home-v2-en section.gzv2-hero h1 {
    font-size: clamp(30px, 2.65vw, 43px) !important;
    line-height: 1.16;
    margin-bottom: 14px;
  }
  body.gahzly-home-v2-en section.gzv2-hero .gzv2-actions {
    gap: 10px;
    margin-top: 20px;
  }
}

@media (min-width: 641px) and (max-width: 991px) {
  body.gahzly-home-v2-en section.gzv2-hero {
    padding: 38px 24px !important;
  }
  body.gahzly-home-v2-en section.gzv2-hero > .gzv2-hero-content {
    width: min(62%, 490px) !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    text-align: left;
  }
  body.gahzly-home-v2-en section.gzv2-hero h1 {
    font-size: clamp(28px, 3.3vw, 36px) !important;
    line-height: 1.2;
  }
}

@media (max-width: 640px) {
  body.gahzly-home-v2-en section.gzv2-hero {
    display: flex !important;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    min-height: 690px;
    height: auto;
    padding: 245px 18px 30px !important;
    overflow: hidden;
  }
  body.gahzly-home-v2-en section.gzv2-hero > .gzv2-hero-content {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    text-align: center;
  }
  body.gahzly-home-v2-en section.gzv2-hero h1 {
    font-size: clamp(25px, 7vw, 31px) !important;
    line-height: 1.18;
  }
  body.gahzly-home-v2-en section.gzv2-hero p:not(.gzv2-seo-intro) {
    font-size: 14px;
    max-width: 34em !important;
    margin: 0 auto !important;
  }
}
