/* ============================================================
   IHG Holding – overrides on top of electrax.min.css
   ============================================================ */

/* ── Brand colour corrections ────────────────────────────── */
:root {
  --brand--color--orange-light: #f5f5f5;
  --ihg-red:   #8B1A2B;
  --ihg-dark:  #1a1a2e;
  --ihg-navy:  #16213e;
}

/* ── Page transition ─────────────────────────────────────── */
body {
  opacity: 0;
  transition: opacity 0.4s ease;
}
body.page-visible { opacity: 1; }
body.page-exit     { opacity: 0; transition: opacity 0.25s ease; }

/* ── Typography – the correct rules ─────────────────────────
   Rule: headings are NEVER justified (ugly gaps).
   Only multi-line body copy gets justified alignment.
   ─────────────────────────────────────────────────────────── */
.paragraph-16,
.paragraph-18,
.faq-text-max-container .paragraph-18,
.footer-about-text-wrapper p,
.large-card-text-wrapper .paragraph-18,
.card-small-text-wrapper .paragraph-18,
._2-column-text-wrapper .paragraph-18,
.contact-side-container .paragraph-18,
.about-hero-text-inner-container .paragraph-18,
.hero-text-wrapper .paragraph-18,
.ihg-subs-desc,
.ihg-parent-desc {
  text-align: justify;
  text-justify: inter-word;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.75;
}

/* Headings always left-aligned */
.display-heading-1,
.display-heading-2,
.heading-h1,
.heading-h2,
.heading-h3,
.heading-h4,
.label-heading,
.news-heading,
.faq-heading,
.metrics-heading,
.metrics-value,
.footer-title,
.footer-links-heading {
  text-align: left;
}

/* Short decorative / UI text: left-aligned */
.news-date-wrapper,
.ihg-person-name,
.ihg-person-role,
.contact-links,
.footer-links,
.field-label,
.nav-link,
.paragraph-16 {
  text-align: left;
  font-weight: 300;
  letter-spacing: 0.01em;
}

/* ── Section separators ──────────────────────────────────────
   Rule: only show between sections that share the same
   white/light background. Never when the background changes.
   ─────────────────────────────────────────────────────────── */
.section::after {
  content: "";
  position: absolute;
  left: 4rem;
  right: 4rem;
  bottom: 0;
  height: 1px;
  background: rgba(0,0,0,0.07);
  pointer-events: none;
}
/* CTA has a dark background image — no separator */
.section--cta::after { display: none; }
/* The section directly before the CTA changes background — no separator */
.section:has(+ .section--cta)::after { display: none; }
/* News and contact pages: single full-page section — no separator needed */
.section-hero::after    { display: none; }
.contact-hero-section   { position: relative; }
.contact-hero-section::after { display: none; }

/* ══════════════════════════════════════════════════════════
   HERO BLOCK (home page) — full-viewport dark section
   Nav + hero content share the same dark area.
   ══════════════════════════════════════════════════════════ */
.ihg-hero-block {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Slideshow background */
.ihg-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Each slide stacked, invisible by default */
.ihg-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}
.ihg-slide--active { opacity: 1; }

/* Ken Burns subtle zoom on the active slide's image */
.ihg-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transform: scale(1.08);
  transition: transform 6s ease-out;
}
.ihg-slide--active img {
  transform: scale(1);
}

/* Dark gradient overlay — strong left for type; right eased between previous heavy and very light */
.ihg-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    105deg,
    rgba(8, 10, 18, 0.90) 0%,
    rgba(8, 10, 18, 0.76) 40%,
    rgba(8, 10, 18, 0.58) 68%,
    rgba(8, 10, 18, 0.34) 100%
  );
}

/* Slide progress dots */
.ihg-slide-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.ihg-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.4s ease, width 0.4s ease;
  cursor: pointer;
}
.ihg-dot--active {
  background: rgba(255, 255, 255, 0.9);
  width: 22px;
  border-radius: 3px;
}

/* ══════════════════════════════════════════════════════════
   IHG HEADER — fixed, transparent by default, white on scroll
   ══════════════════════════════════════════════════════════ */
:root { --nav-h: 80px; }

.ihg-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  /* Transparent over dark hero */
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* When scrolled — solid white */
.ihg-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: rgba(0, 0, 0, 0.07);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ihg-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
  height: var(--nav-h);
}

/* Logo — trimmed asset (ihg-logo-nav.png) so the mark sits flush left */
.ihg-header-logo {
  display: flex;
  align-items: center;
  line-height: 0;
  margin-right: auto;
  flex-shrink: 0;
}
.ihg-header-logo img {
  height: 44px;
  width: auto;
  max-width: 148px;
  object-fit: contain;
  object-position: left center;
  display: block;
  /* Flip to white on dark hero; transition back on scroll */
  filter: brightness(0) invert(1);
  transition: filter 0.4s ease;
}

/* Scrolled or light-bg pages — restore original colours */
.ihg-header.scrolled .ihg-header-logo img,
.ihg-header--light .ihg-header-logo img {
  filter: none;
}

/* Desktop nav links — white by default (dark hero) */
.ihg-header-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.ihg-header-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.2s ease;
}
.ihg-header-links a:hover { color: #fff; }

/* CTA button — white outlined by default */
.ihg-header-cta {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  padding: 0.48rem 1.1rem !important;
  border: 1.5px solid rgba(255, 255, 255, 0.5) !important;
  border-radius: 6px;
  color: #fff !important;
  font-size: 0.87rem !important;
  font-weight: 500;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.ihg-header-cta:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.8) !important;
}

/* When scrolled: flip links + CTA to dark */
.ihg-header.scrolled .ihg-header-links a {
  color: #333;
}
.ihg-header.scrolled .ihg-header-links a:hover { color: #000; }
.ihg-header.scrolled .ihg-header-cta {
  border-color: rgba(0, 0, 0, 0.28) !important;
  color: #111 !important;
}
.ihg-header.scrolled .ihg-header-cta:hover {
  background: rgba(0, 0, 0, 0.04) !important;
  border-color: rgba(0, 0, 0, 0.55) !important;
}

/* Light header variant (about / news / contact) — always white */
.ihg-header--light {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: rgba(0, 0, 0, 0.07);
}
.ihg-header--light .ihg-header-links a { color: #333; }
.ihg-header--light .ihg-header-links a:hover { color: #000; }
.ihg-header--light .ihg-header-link--active { color: #000; font-weight: 600; }
.ihg-header--light .ihg-header-cta {
  border-color: rgba(0, 0, 0, 0.25) !important;
  color: #111 !important;
}
.ihg-header--light .ihg-burger { color: #111; }

/* Burger button — hidden on desktop */
.ihg-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.35rem;
  color: #fff;
  line-height: 0;
  transition: color 0.3s ease;
}
.ihg-burger svg {
  width: 33px;
  height: 33px;
  flex-shrink: 0;
}
.ihg-header.scrolled .ihg-burger { color: #111; }
.ihg-burger-close { display: none; }

/* ── Mobile dropdown ─────────────────────────────────────────
   position:fixed so it floats as a popup — zero layout impact.
   Animates with opacity + blur instead of display toggle.
   ─────────────────────────────────────────────────────────── */
.ihg-mobile-nav {
  position: fixed;
  top: calc(var(--nav-h) + 8px);
  left: 1rem;
  right: 1rem;
  z-index: 999;
  display: none;               /* fully hidden until opened */
  flex-direction: column;
  gap: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.14);
  padding: 0.4rem 0.85rem 0.9rem;

  /* Hidden state — opacity + slight slide + blur */
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(-10px);
  filter: blur(4px);
  transition:
    opacity    0.3s ease,
    transform  0.3s ease,
    filter     0.3s ease,
    visibility 0s linear 0.3s;  /* delay visibility so fade-out completes */
}

/* Open state */
.ihg-mobile-nav.open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0);
  filter: blur(0);
  transition:
    opacity    0.3s ease,
    transform  0.3s ease,
    filter     0.3s ease,
    visibility 0s linear 0s;
}

.ihg-mobile-nav a {
  display: block;
  padding: 0.82rem 0.6rem;
  font-size: 1rem;
  font-weight: 500;
  color: #111;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: color 0.15s ease;
}
.ihg-mobile-nav a:last-child { border-bottom: none; }
.ihg-mobile-nav a:hover { color: #000; }
.ihg-mobile-cta {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  padding: 0.78rem 1rem !important;
  background: #111 !important;
  color: #fff !important;
  border-radius: 10px;
  font-weight: 600;
  border-bottom: none !important;
  transition: background 0.2s ease !important;
}
.ihg-mobile-cta:hover { background: #000 !important; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 991px) {
  .ihg-header-inner {
    padding: 0 2rem;
    align-items: center;
  }
  .ihg-header-links { display: none !important; }
  .ihg-burger {
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin-right: 0;
    padding: 0.35rem 0 0.35rem 0.35rem;
  }
  .ihg-header-logo img {
    height: 40px;
    max-width: 132px;
  }
}
@media (max-width: 767px) {
  .ihg-header-inner {
    padding: 0 1.25rem;
  }
  .ihg-header-logo img {
    height: 38px;
    max-width: 124px;
  }
}
@media (min-width: 992px) {
  .ihg-mobile-nav { display: none !important; }
  .ihg-burger     { display: none !important; }
}

/* Push page content below fixed nav */
.ihg-hero-block { margin-top: 0; } /* hero sits under transparent nav intentionally */
.section-about,
.section-hero,
.contact-hero-section { padding-top: calc(var(--nav-h) + 3rem) !important; }

/* ── Hero content ────────────────────────────────────────── */
.ihg-hero-content {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 6rem 0 7rem;
}
.ihg-hero-inner { max-width: 640px; }

.ihg-hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 1.4rem;
}
.ihg-hero-heading {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 1.75rem;
}
.ihg-hero-body {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.68);
  max-width: 520px;
  margin: 0 0 2.5rem;
}
.ihg-hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Primary CTA button — white filled */
.ihg-hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: #0a0c14;
  padding: 0.75rem 1.6rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.ihg-hero-btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

/* Ghost CTA button — outlined white */
.ihg-hero-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  padding: 0.75rem 1.6rem;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.ihg-hero-btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

/* Mobile hero adjustments */
@media (max-width: 767px) {
  .ihg-hero-content { padding: 4rem 0 5rem; }
  .ihg-hero-heading { font-size: clamp(2rem, 8vw, 2.8rem); }
  .ihg-hero-actions { flex-direction: column; align-items: flex-start; }
}

/* .nav-bar / .nav-menu-button legacy rules kept for safety */
.nav-bar { background: #fff; }

/* ── Mobile nav – complete custom implementation ─────────────
   All critical properties use !important to beat Webflow CSS.
   ─────────────────────────────────────────────────────────── */

/* Close icon hidden by default; JS toggles it */
.nav-close-ccon { display: none !important; }

/* Desktop: normal inline nav, no hamburger */
@media (min-width: 992px) {
  .nav-menu-button { display: none !important; }
  .nav-links-wrapper {
    display: flex !important;
    position: static !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    flex-direction: row !important;
    align-items: center !important;
  }
}

/* Mobile ≤ 991px */
@media (max-width: 991px) {
  /* Hamburger trigger */
  .nav-menu-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 201 !important;
  }
  .nav-hamburger-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    pointer-events: none;
  }
  .nav-hamburger-icon { display: block !important; color: #111; }

  /* The nav bar must be position:relative so the dropdown is anchored */
  .nav-bar,
  .nav-bar .container { position: relative !important; }

  /* Hidden by default */
  .nav-links-wrapper {
    display: none !important;
    position: absolute !important;
    top: calc(100% + 6px) !important;
    left: 1rem !important;
    right: 1rem !important;
    width: auto !important;
    z-index: 9999 !important;
    background: #fff !important;
    border: 1px solid rgba(0, 0, 0, 0.09) !important;
    border-radius: 18px !important;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.14), 0 4px 16px rgba(0, 0, 0, 0.07) !important;
    padding: 0.6rem 0.85rem 1rem !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }
  /* Shown when JS adds .w--open */
  .nav-links-wrapper.w--open {
    display: flex !important;
    animation: ihgNavDrop 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  }
  @keyframes ihgNavDrop {
    from { opacity: 0; transform: translateY(-6px) scale(0.98); }
    to   { opacity: 1; transform: none; }
  }

  /* Inner links list */
  .nav-inner-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    width: 100% !important;
  }
  .nav-link {
    display: block !important;
    padding: 0.85rem 0.6rem !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    color: #111 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 0 !important;
    text-decoration: none !important;
    transition: color 0.15s ease !important;
  }
  .nav-link:last-child { border-bottom: none !important; }
  .nav-link:hover { color: #000 !important; }
  .nav-link.w--current { font-weight: 600 !important; }

  /* CTA button row */
  .nav-cta--button-container {
    margin-top: 0.65rem !important;
    padding-top: 0.65rem !important;
    border-top: 1px solid rgba(0, 0, 0, 0.07) !important;
    width: 100% !important;
  }
  .nav-cta--button-container .ihg-nav-cta {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    width: 100% !important;
    text-align: center !important;
  }
}

/* ── Nav CTA button (with inline arrow) ─────────────────── */
.ihg-nav-cta {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
}
.ihg-nav-cta svg { color: currentColor; }

/* ── Logo ────────────────────────────────────────────────── */
.nav-logo-image {
  height: 48px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}
.footer-logo-image {
  height: 42px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}
.about-logo {
  height: 52px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

/* .section-hp-hero no longer used on home (replaced by .ihg-hero-block) */

/* ── Lava-lamp gradient block (mission section left panel) ───
   Two slow-moving colour blobs over a deep dark base.
   No white, no shimmer — just warm IHG reds and navies
   drifting like a lava lamp.
   ─────────────────────────────────────────────────────────── */
.gradient-feature-card {
  position: relative;
  min-height: 420px;
  border-radius: 1rem;
  overflow: hidden;
  background: #0f111a; /* deep base so blobs show clearly */
}

/* Blob 1 — deep red, drifts diagonally */
.brand-gradient-animated {
  position: absolute;
  inset: -30%;
  width: 160%;
  height: 160%;
  background: radial-gradient(ellipse 55% 45% at 40% 45%,
    rgba(139, 26, 43, 0.9) 0%,
    rgba(90, 15, 28, 0.5) 40%,
    transparent 70%
  );
  filter: blur(48px);
  animation: lavaBlob1 10s ease-in-out infinite;
  will-change: transform;
}

/* Blob 2 — dark crimson + navy, drifts the other way */
.brand-gradient-glow {
  position: absolute;
  inset: -30%;
  width: 160%;
  height: 160%;
  background:
    radial-gradient(ellipse 50% 55% at 65% 60%,
      rgba(107, 31, 42, 0.85) 0%,
      rgba(60, 20, 30, 0.4) 45%,
      transparent 68%
    ),
    radial-gradient(ellipse 35% 40% at 20% 80%,
      rgba(22, 33, 62, 0.7) 0%,
      transparent 60%
    );
  filter: blur(52px);
  animation: lavaBlob2 13s ease-in-out infinite;
  will-change: transform;
}

@keyframes lavaBlob1 {
  0%   { transform: translate(0%,   0%)   scale(1);    }
  25%  { transform: translate(12%,  18%)  scale(1.12); }
  55%  { transform: translate(-8%,  30%)  scale(0.92); }
  80%  { transform: translate(18%, -10%)  scale(1.08); }
  100% { transform: translate(0%,   0%)   scale(1);    }
}
@keyframes lavaBlob2 {
  0%   { transform: translate(0%,    0%)   scale(1);    }
  30%  { transform: translate(-18%, -20%)  scale(1.18); }
  60%  { transform: translate(10%,  -35%)  scale(0.88); }
  85%  { transform: translate(-5%,   15%)  scale(1.05); }
  100% { transform: translate(0%,    0%)   scale(1);    }
}

/* ── Feature grid (2-col, first card spans both rows) ────── */
.feature-grid {
  grid-template-columns: 1.6fr 1fr !important;
  grid-template-rows:    auto auto !important;
  gap: 1.75rem !important;
}
.feature-grid > .card:nth-child(1) {
  grid-column: 1 !important;
  grid-row: 1 / 3 !important;
  min-height: 520px;
}
.feature-grid > .card:nth-child(2) {
  grid-column: 2 !important;
  grid-row: 1 !important;
  min-height: 252px;
}
.feature-grid > .card:nth-child(3) {
  grid-column: 2 !important;
  grid-row: 2 !important;
  min-height: 252px;
}
.card { position: relative; overflow: hidden; }
.card-image-full {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
.card-small-image-wrapper {
  min-height: 150px;
  max-height: 185px;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.card-small-image {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
  object-position: center;
}

/* ── About: Legacy of Purpose (2-col heading + body) ─────── */
.ihg-legacy-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 767px) {
  .ihg-legacy-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ── 2-column image + text grid ──────────────────────────── */
._2-column-feature-grid {
  grid-template-columns: 1fr 1fr !important;
  align-items: stretch !important;
  gap: 4rem !important;
}
._2-column-grid-image-wrapper {
  min-height: 420px;
  overflow: hidden;
  border-radius: 1rem;
}
._2-column-grid-image {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 1rem;
}

/* ── News cards ──────────────────────────────────────────────
   Full-bleed image card with text overlaid at the bottom
   via a dark gradient — clean, readable, magazine-style.
   ─────────────────────────────────────────────────────────── */
.news-item { display: block; }

.news-card {
  display: block !important;
  position: relative !important;
  border-radius: 0.875rem !important;
  overflow: hidden !important;
  /* Avoid solid slab behind text on WebKit — image area only below */
  background: transparent !important;
}

/* Image fills the whole card at a fixed ratio */
.news-image-container {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  overflow: hidden !important;
  background: #1a1a1a !important;
}
.news-image {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  transition: transform 0.55s ease !important;
}
.news-card:hover .news-image { transform: scale(1.06) !important; }

/* Text overlay — no gradient; subtle shadow on type for readability */
.news-text-container {
  position: absolute !important;
  inset: auto 0 0 0 !important;
  box-sizing: border-box !important;
  background: none !important;
  padding: 1.75rem 1.15rem 1.1rem !important;
  width: 100% !important;
  pointer-events: none !important;
  direction: rtl !important;
  text-align: right !important;
}
.news-text-container * {
  pointer-events: auto !important;
}

.news-date-wrapper,
.news-date-category-wrapper {
  display: flex !important;
  flex-direction: row-reverse !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 0.35rem !important;
  font-size: 0.75rem !important;
  color: rgba(255, 255, 255, 0.7) !important;
  font-weight: 400 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  margin-bottom: 0.4rem !important;
  text-align: right !important;
  direction: rtl !important;
}
.news-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  display: inline-block;
  flex-shrink: 0;
}
.news-heading {
  font-size: 0.92rem !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
  color: #fff !important;
  margin: 0 !important;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
  text-align: right !important;
  direction: rtl !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Override global left-align rules inside news cards */
#ihg-news-grid .news-heading,
#ihg-news-grid .news-date-wrapper,
#ihg-news-grid .news-date-category-wrapper,
#ihg-news-grid .news-card-excerpt {
  text-align: right !important;
  direction: rtl !important;
}

/* ── All-News CTA link ───────────────────────────────────── */
.news-button-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
.news-all-link {
  display: inline-flex !important;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  margin-top: 0 !important;
}

/* ── About hero image ────────────────────────────────────── */
.about-hero-image {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
  width: 100%;
  border-radius: 1.25rem;
  display: block;
}

/* ── CTA background image ────────────────────────────────── */
.background-image-wrapper {
  position: absolute !important;
  inset: 0 !important;
  overflow: hidden;
  border-radius: inherit;
}
.background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.42);
}

/* ── Metrics ─────────────────────────────────────────────── */
.metrics-value {
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.1;
}

/* ── Team grid ───────────────────────────────────────────── */
.ihg-people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.ihg-person-card {
  background: var(--brand--neutrals--card-grey);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ihg-person-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.ihg-person-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.ihg-person-info { padding: 1.2rem 1.4rem 1.5rem; }
.ihg-person-name {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.2rem;
}
.ihg-person-role {
  font-size: 0.88rem;
  color: var(--brand--neutrals--grey-dark);
  margin: 0 0 0.8rem;
  font-weight: 400;
}
.ihg-person-links { display: flex; flex-direction: column; gap: 0.35rem; }
.ihg-person-links a {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 300;
}
.ihg-person-links a:hover { color: #000; }
.ihg-person-links a svg { flex-shrink: 0; }

/* ── FAQ accordion ───────────────────────────────────────── */
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-answer.open { max-height: 500px; }
.accordion-vertical-line {
  transition: transform 0.3s ease;
  transform-origin: center;
}
.faq-accordion.open .accordion-vertical-line { transform: scaleY(0); }
.faq-question { cursor: pointer; }

/* ── Scroll reveal ───────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
[data-reveal].revealed     { opacity: 1; transform: none; }
[data-reveal][data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-reveal-delay="4"] { transition-delay: 0.32s; }
[data-reveal][data-reveal-delay="5"] { transition-delay: 0.40s; }
[data-reveal][data-reveal-delay="6"] { transition-delay: 0.48s; }

/* ── Button micro-interactions ───────────────────────────── */
.button-primary {
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.button-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.inline-link-image { transition: transform 0.25s ease; }
.button-tertiary:hover .inline-link-image { transform: translateX(5px); }

/* ── Container widths ────────────────────────────────────── */
.container.w-container,
.container.navigation-container,
.w-layout-blockcontainer.container {
  max-width: 1200px !important;
  padding-left: 3rem !important;
  padding-right: 3rem !important;
}
.container.container-footer {
  max-width: 1200px !important;
  padding-left: 3rem !important;
  padding-right: 3rem !important;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */

/* Tablet (≤ 991px) */
@media (max-width: 991px) {
  .container.w-container,
  .container.navigation-container,
  .w-layout-blockcontainer.container,
  .container.container-footer {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }
  .section::after { left: 2.5rem; right: 2.5rem; }
  .feature-grid {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
  }
  .feature-grid > .card:nth-child(1),
  .feature-grid > .card:nth-child(2),
  .feature-grid > .card:nth-child(3) {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
  .feature-grid > .card:nth-child(1) { min-height: 380px; }
  ._2-column-feature-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
  ._2-column-grid-image-wrapper { min-height: 280px; }
  ._2-column-grid-image { min-height: 280px; }
  .ihg-people-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; }
}

/* Mobile (≤ 767px) */
@media (max-width: 767px) {
  .container.w-container,
  .container.navigation-container,
  .w-layout-blockcontainer.container,
  .container.container-footer {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
  .section::after { left: 1.5rem; right: 1.5rem; }
  .hp-hero-image-wrapper {
    width: 100% !important;
    position: relative !important;
    margin-top: 2rem;
    min-height: 260px;
  }
  .feature-grid > .card:nth-child(1) { min-height: 280px; }
  .feature-grid > .card:nth-child(2),
  .feature-grid > .card:nth-child(3) { min-height: 210px; }
  ._2-column-feature-grid { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
  ._2-column-grid-image-wrapper,
  .gradient-feature-card { min-height: 240px; }
  ._2-column-grid-image { min-height: 240px; }
  .ihg-people-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .footer-grid { grid-template-columns: 1fr !important; }
  .grid-3-column { grid-template-columns: 1fr !important; }
  .contact-form-grid { grid-template-columns: 1fr !important; }
  ._2-column-heading-grid { grid-template-columns: 1fr !important; }
  .footer-bottom-links { flex-direction: column !important; gap: 0.75rem !important; }

  /* Paragraph justify on mobile looks bad on narrow screens — switch to left */
  .paragraph-16,
  .paragraph-18,
  .faq-text-max-container .paragraph-18,
  .footer-about-text-wrapper p,
  .large-card-text-wrapper .paragraph-18,
  .card-small-text-wrapper .paragraph-18,
  ._2-column-text-wrapper .paragraph-18,
  .contact-side-container .paragraph-18,
  .about-hero-text-inner-container .paragraph-18,
  .hero-text-wrapper .paragraph-18,
  .ihg-subs-desc,
  .ihg-parent-desc {
    text-align: left;
  }
  .ihg-parent-inner {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Small mobile (≤ 479px) */
@media (max-width: 479px) {
  .metrics-grid { grid-template-columns: 1fr 1fr !important; }
}

/* ══════════════════════════════════════════════════════════
   Overflow-safe layout (without html/body overflow-x:hidden —
   that caused Safari to paint black ghost layers with our cards.)
   ═══════════════════════════════════════════════════════════ */
.news-grid.w-dyn-items,
.news-item,
.news-card,
.news-image-container {
  box-sizing: border-box;
}

.news-grid.w-dyn-items {
  width: 100%;
  max-width: 100%;
}

.news-item {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.news-card {
  width: 100%;
  max-width: 100%;
}

.container.w-container,
.w-layout-blockcontainer.container {
  width: 100%;
  max-width: 100%;
}

.w-layout-grid,
.feature-grid {
  max-width: 100%;
}

/* Single-column news on narrow screens — no max-height hacks */
@media (max-width: 767px) {
  .news-grid.w-dyn-items {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
}

/* Contact page — original Webflow layout restored, just ensure padding for fixed nav */
.contact-hero-section { padding-top: calc(var(--nav-h) + 3rem) !important; }

/* ══════════════════════════════════════════════════════════
   Home — holding company + subsidiaries
   ══════════════════════════════════════════════════════════ */
.ihg-subs-heading-wrap {
  margin-bottom: 1.75rem;
}
/* Bidaya Holding — icon, then label / title / copy (left-aligned with page content) */
.ihg-bidaya-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  max-width: 100%;
  text-align: left;
}
.ihg-bidaya-icon-wrap {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: block;
  margin: 0 0 0.35rem;
}
.ihg-bidaya-icon-wrap .ihg-subs-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left top;
  display: block;
}
.ihg-bidaya-card .label-heading {
  margin: 0 0 0.35rem;
}
.ihg-bidaya-card .heading-h2 {
  margin: 0 0 0.65rem;
}
.ihg-bidaya-card .margin-bottom-1rem {
  margin-bottom: 1rem !important;
}
.ihg-parent-block {
  margin-bottom: 2.25rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}
.ihg-parent-block--standalone {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.ihg-parent-block--standalone .ihg-parent-icon-wrap {
  width: 88px;
  height: 88px;
}
.ihg-parent-block .label-heading {
  margin-bottom: 1rem;
}
.ihg-parent-inner {
  display: flex;
  align-items: flex-start;
  gap: 1.35rem;
  max-width: 100%;
}
.ihg-parent-icon-wrap {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
.ihg-parent-icon-wrap .ihg-subs-icon {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: left center;
}
.ihg-parent-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}
.ihg-parent-name {
  margin: 0;
}
.ihg-parent-desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.62;
}
.ihg-subs-subsidiaries-wrap {
  width: 100%;
}
.ihg-subs-heading-wrap--secondary {
  margin-bottom: 1.5rem;
}
.ihg-subs-heading-wrap--secondary .heading-h3 {
  margin-bottom: 0.5rem;
}
.ihg-subs-heading-wrap .margin-bottom-1rem {
  margin-bottom: 0.65rem !important;
}
.ihg-subs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  border-left: 1px solid rgba(0, 0, 0, 0.07);
  box-sizing: border-box;
}
.ihg-subs-cell {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  height: 100%;
  border-right: 1px solid rgba(0, 0, 0, 0.07);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  padding: 1.35rem 1.25rem 1.45rem;
  min-width: 0;
  background: transparent;
  box-sizing: border-box;
}
.ihg-subs-cell-inner {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  width: 100%;
  min-height: 0;
}
/*
 * Icons are exported at 128×128 with the mark normalized to the same visual system.
 * Fixed on-screen slot so every column lines up (same approach as footer: fixed frame + consistent asset).
 */
.ihg-subs-icon-wrap {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ihg-subs-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.ihg-subs-icon-wrap--ihc {
  width: 94px;
  height: 60px;
}
.ihg-subs-icon-wrap--ihc .ihg-subs-icon {
  object-position: left center;
  transform: scale(1.18);
  transform-origin: left center;
}
.ihg-subs-cell .ihg-subs-name {
  margin: 0;
  flex-shrink: 0;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.16rem);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Long formal names: allow natural line breaks (single cell override) */
.ihg-subs-cell .ihg-subs-name.ihg-subs-name--wrap {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  hyphens: manual;
  line-height: 1.28;
}
.ihg-subs-cell .ihg-subs-desc {
  margin: 0;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  align-self: stretch;
  font-size: 0.875rem;
  line-height: 1.62;
}
/* Bottom band: same vertical slot for View More (or empty for ITP) */
.ihg-subs-cta-row {
  margin-top: auto;
  flex-shrink: 0;
  width: 100%;
  min-height: 2.85rem;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}
.ihg-subs-more {
  margin-top: 0;
}

@media (max-width: 991px) {
  .ihg-subs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .ihg-subs-grid {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════════════════
   IHG FOOTER — compact, dark, professional
   ══════════════════════════════════════════════════════════ */
.ihg-footer {
  background: #0c0c0c;
  color: rgba(255, 255, 255, 0.55);
  font-family: 'Inter', 'Jost', sans-serif;
}

/* Main row: brand | nav | contact */
.ihg-footer-inner {
  display: flex;
  align-items: flex-start; /* top-align columns so logo + tagline align with nav text */
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.2rem 3rem 2.8rem;
  gap: 2rem;
}

/* Brand column */
.ihg-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;   /* logo + tagline share same left edge */
  gap: 0.85rem;
  flex-shrink: 0;
}
/*
 * ihg-logo-white.png is 1080×465 with huge transparent margins; opaque bbox ≈ (438,163)–(642,303).
 * Contain-scaling the full canvas centers the glyph in the box so it looks indented vs. tagline.
 * Clip the link to the glyph width and offset the image so the mark aligns with left column text.
 */
.ihg-footer-brand > a {
  --ihg-footer-logo-h: 44px;
  display: block;
  line-height: 0;
  align-self: flex-start;
  width: calc(204 * var(--ihg-footer-logo-h) / 140);
  height: var(--ihg-footer-logo-h);
  overflow: hidden;
}
.ihg-footer-logo {
  display: block;
  width: calc(1080 * var(--ihg-footer-logo-h) / 140);
  height: calc(465 * var(--ihg-footer-logo-h) / 140);
  max-width: none;
  margin-left: calc(-438 * var(--ihg-footer-logo-h) / 140);
  margin-top: calc(-163 * var(--ihg-footer-logo-h) / 140);
  padding: 0;
  border: 0;
  opacity: 1;
}
.ihg-footer-tagline {
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
  letter-spacing: 0.01em;
  text-align: left;
}

/* Nav links */
.ihg-footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.ihg-footer-nav a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.87rem;
  font-weight: 400;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}
.ihg-footer-nav a:hover { color: #fff; }

/* Contact column */
.ihg-footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}
.ihg-footer-contact a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.87rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.ihg-footer-contact a:hover { color: #fff; }

/* Social icons */
.ihg-footer-socials {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.4rem;
}
.ihg-footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s ease, transform 0.2s ease;
}
.ihg-footer-socials a:hover {
  color: #fff;
  transform: translateY(-2px);
}

/* Bottom bar */
.ihg-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.1rem 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.28);
  letter-spacing: 0.01em;
}

/* Mobile footer */
@media (max-width: 767px) {
  .ihg-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 2.5rem 1.5rem 2rem;
    gap: 2rem;
  }
  .ihg-footer-brand > a {
    --ihg-footer-logo-h: 38px;
  }
  .ihg-footer-contact { align-items: flex-start; }
  .ihg-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    padding: 1rem 1.5rem;
  }
}

/* ── Curated news grid — slightly smaller, still balanced ─── */
#ihg-news-grid.news-grid.w-dyn-items {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1.25rem !important;
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

@media (min-width: 992px) {
  #ihg-news-grid.news-grid.w-dyn-items {
    max-width: 40rem;
    gap: 1.35rem !important;
  }
}

@media (max-width: 767px) {
  #ihg-news-grid.news-grid.w-dyn-items {
    max-width: 100%;
    gap: 1rem !important;
  }
}

#ihg-news-grid .news-item {
  height: auto;
  min-width: 0;
}

#ihg-news-grid .news-card {
  height: auto;
}

/* Facebook group photo — match image proportions (no scale / no black bars) */
.news-image-container--group-shot {
  aspect-ratio: 1024 / 616 !important;
  background: #2a2a2a !important;
}

.news-image--group-shot {
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
}

.news-card:hover .news-image--group-shot {
  transform: scale(1.06) !important;
}

.news-card-excerpt {
  font-size: 0.78rem !important;
  line-height: 1.45 !important;
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.88) !important;
  margin: 0.1rem 0 0 !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
  text-align: right !important;
  direction: rtl !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card--modal {
  position: relative !important;
  display: block !important;
}

#ihg-news-grid .news-card--modal .news-heading {
  cursor: pointer;
}

#ihg-news-grid .news-card--modal .news-heading:hover {
  color: #fff !important;
  opacity: 0.92;
}

.news-image-hit {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.news-image-hit:focus-visible {
  outline: 2px solid rgba(26, 26, 26, 0.5);
  outline-offset: -4px;
}

/* ── News article modal ───────────────────────────────────── */
body.ihg-news-modal-open {
  overflow: hidden;
}

.ihg-news-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.ihg-news-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ihg-news-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 20, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ihg-news-modal-panel {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(88vh, 900px);
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.ihg-news-modal.is-open .ihg-news-modal-panel {
  transform: translateY(0) scale(1);
}

.ihg-news-modal-close {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  color: #1a1a1a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.ihg-news-modal-close:hover {
  background: rgba(0, 0, 0, 0.1);
}

.ihg-news-modal-scroll {
  padding: 2.25rem 2rem 2rem;
  max-height: min(88vh, 900px);
  overflow-y: auto;
  overflow-x: hidden;
  direction: rtl;
  -webkit-overflow-scrolling: touch;
}

.ihg-news-modal-meta {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6b7280;
}

.ihg-news-modal-title {
  margin: 0 0 1.25rem;
  padding-left: 2rem;
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  line-height: 1.5;
  font-weight: 600;
  color: #111827;
  text-align: right;
}

.ihg-news-modal-body p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.8;
  color: #374151;
  text-align: right;
}

.ihg-news-modal-body p:last-child {
  margin-bottom: 0;
}

.ihg-news-modal-subtitle {
  margin: 1.5rem 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.45;
  text-align: right;
}

.ihg-news-modal-subtitle:first-child {
  margin-top: 0;
}

.ihg-news-modal-list {
  margin: 0 0 1rem;
  padding: 0 1.25rem 0 0;
  color: #374151;
}

.ihg-news-modal-list li {
  margin-bottom: 0.45rem;
  line-height: 1.75;
  text-align: right;
}

.ihg-news-modal-footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e5e7eb;
  text-align: right;
}

.ihg-news-modal-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #1a1a1a;
  text-decoration: none;
  padding: 0.55rem 1rem;
  border-radius: 0.5rem;
  background: #f3f4f6;
  transition: background 0.2s ease;
}

.ihg-news-modal-link:hover {
  background: #e5e7eb;
}

.news-card--modal {
  cursor: pointer;
}

@media (max-width: 767px) {
  .ihg-news-modal {
    padding: 0.75rem;
    align-items: center;
  }

  .ihg-news-modal-panel {
    width: 100%;
    max-height: 90vh;
    max-height: 90dvh;
    border-radius: 0.875rem;
  }

  .ihg-news-modal-scroll {
    padding: 1.75rem 1.25rem 1.5rem;
    max-height: 90vh;
    max-height: 90dvh;
  }

  .ihg-news-modal-title {
    font-size: 1.125rem;
    line-height: 1.55;
    padding-left: 2.25rem;
    margin-bottom: 1rem;
  }

  .ihg-news-modal-body p {
    font-size: 1.0625rem;
    line-height: 1.85;
    margin-bottom: 0.9rem;
  }

  .ihg-news-modal-subtitle {
    font-size: 1.0625rem;
    margin-top: 1.25rem;
  }

  .ihg-news-modal-list li {
    font-size: 1.02rem;
    line-height: 1.8;
  }

  .ihg-news-modal-link {
    font-size: 0.95rem;
    padding: 0.65rem 1.1rem;
  }
}
