/* Islamic Gold R17 premium finish: additive, reversible, no app/builder mutations.
   The cover styles apply only while the accepted Islamic Gold cover exists.
   Interior styles apply only to the accepted Islamic Arch Emerald Gold variant. */
@media (min-width: 900px) {
  .igw8-opening .igw8-opening__page {
    width: min(650px, calc(100vw - 110px)) !important;
    min-height: min(100dvh, 900px);
    padding-inline: clamp(55px, 5.3vw, 78px) !important;
    background: radial-gradient(ellipse at 48% 25%, rgba(59,111,80,.22), transparent 60%),
                linear-gradient(155deg, rgba(5,42,33,.32), rgba(100,70,26,.15));
    box-shadow: 0 0 95px rgba(0,0,0,.19), 0 0 0 1px rgba(222,183,101,.08);
  }
  .igw8-opening .igw8-opening__page::before {
    border-radius: 275px 275px 16px 16px / 118px 118px 16px 16px !important;
    border-color: rgba(230,191,114,.56) !important;
  }
  .igw8-opening .igw8-opening__frame {
    border-radius: 260px 260px 12px 12px / 113px 113px 12px 12px !important;
  }
  .igw8-opening .igw8-opening__top { padding-top: clamp(20px, 4vh, 43px); }
  .igw8-opening .igw8-opening__middle { min-height: 300px; padding-block: 35px 28px; }
  .igw8-opening .igw8-opening__arch { height: min(58vh, 480px); stroke: rgba(228,191,117,.28); }
  .igw8-opening .igw8-opening__title {
    font-size: clamp(56px, 4.8vw, 76px) !important;
    max-width: 15ch; line-height: 1.09 !important;
    letter-spacing: -.038em !important;
  }
  .igw8-opening .igw8-opening__description {
    max-width: 36ch; font-size: 15px !important; line-height: 1.85 !important;
    margin-top: 24px;
  }
  .igw8-opening .igw8-opening__button { width: min(100%, 315px) !important; min-height: 58px !important; }
  .igw8-opening .igw8-opening__bottom { padding-bottom: 43px; }
  .igw8-opening .igw8-opening__ambient::before,
  .igw8-opening .igw8-opening__ambient::after {
    content: ''; position: absolute; top: 50%; width: min(18vw, 235px);
    height: min(65vh, 560px); transform: translateY(-50%);
    border: 1px solid rgba(214,178,104,.12);
    border-radius: 48% 48% 6px 6px / 22% 22% 6px 6px;
    box-shadow: inset 0 0 0 14px rgba(216,180,105,.015), 0 0 0 12px rgba(216,180,105,.018);
    background: radial-gradient(circle at 50% 25%, rgba(226,189,118,.075), transparent 55%);
    pointer-events: none;
  }
  .igw8-opening .igw8-opening__ambient::before { left: max(3vw, calc(50% - 670px)); }
  .igw8-opening .igw8-opening__ambient::after { right: max(3vw, calc(50% - 670px)); }
}
@media (min-width: 900px) and (max-height: 690px) {
  .igw8-opening .igw8-opening__page { min-height: 690px; }
  .igw8-opening .igw8-opening__middle { min-height: 220px; padding-block: 10px; }
}
@media (max-width: 480px) {
  .igw8-opening .igw8-opening__page { max-width: 100%; }
  .igw8-opening .igw8-opening__title { line-height: 1.12 !important; }
  .igw8-opening .igw8-opening__button { min-height: 52px; }
  .igw8-opening .igw8-opening__guest strong { font-size: 17px; }
}
/* The redundant label is marked only when the text is identical to the H1.
   Customer invitations with different names or content are preserved. */
.islamic-arch-emerald-gold .rbg-builder-stage .builder-blocks
  > section[data-block-type="hero"] > .commercial-hero-block
  > p[data-igw17-duplicate-couple] { display: none !important; }

/* More intentional reading rhythm between the Quran quote and event details. */
.islamic-arch-emerald-gold .rbg-builder-stage .builder-blocks
  > section[data-block-type="quote"] + section[data-block-type="event"] {
  margin-top: clamp(1.8rem, 3.5vw, 3rem) !important;
}
.islamic-arch-emerald-gold .rbg-builder-stage .builder-blocks
  > section[data-block-type="gallery_strip"] img {
  border-radius: clamp(12px, 2vw, 22px);
}
@media (max-width: 639px) {
  .islamic-arch-emerald-gold .rbg-builder-stage .builder-blocks
    > section[data-block-type="hero"] > .commercial-hero-block > h1 {
    max-width: 17ch !important; line-height: 1.12 !important;
  }
  .islamic-arch-emerald-gold .rbg-builder-stage .builder-blocks
    > section[data-block-type="quote"] + section[data-block-type="event"] {
    margin-top: 1.8rem !important;
  }
}
