.fg-dubai {
  --fg-navy: #06064e;
  --fg-panel: #12125f;
  --fg-red: #d51e24;
  --fg-red-dark: #a9141c;
  --fg-blue: #193e93;
  --fg-blue-light: #c8dcff;
  --fg-blue-tint: #edf3ff;
  --fg-border: #d6e0f1;
  --fg-sans: Arial, Helvetica, sans-serif;
  --fg-poppins: Poppins, var(--fg-sans);
  --fg-body-size: clamp(1rem, calc(.95rem + .2vw), 18px);
  --fg-gutter: clamp(17px, 7.7vw, 30px);
  --fg-admin-offset: 0px;
  background: var(--fg-navy);
  color: #fff;
  font-family: var(--fg-sans);
}
.fg-dubai.admin-bar { --fg-admin-offset: var(--wp-admin--admin-bar--height, 32px); }

.fg-dubai [x-cloak] { display: none !important; }
.fg-dubai :focus-visible { outline: 3px solid #598cf5; outline-offset: 4px; }
.fg-dubai h1, .fg-dubai h2, .fg-dubai h3 { font-weight: 700; }
.fg-dubai p { font-size: var(--fg-body-size); }
.fg-dubai address { font-style: normal; }
.fg-icon,
:is(.fg-hero-action, .fg-button) .wp-block-button__link::after {
  display: inline-block;
  flex: none;
  width: 1.15em;
  height: 1.15em;
  vertical-align: -.15em;
  background: currentColor;
  mask: var(--fg-icon-image) center / contain no-repeat;
}
.fg-icon-menu {
  --fg-icon-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 6h16M4 12h16M4 18h16' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}
.fg-icon-close {
  --fg-icon-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 6 12 12M18 6 6 18' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}
.fg-icon-phone, .fg-phone, .fg-contact-links a[href^='tel:'] {
  --fg-icon-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3h3l2 5-2 2c1.5 3 3 4.5 6 6l2-2 5 2v3a2 2 0 0 1-2 2C10 21 3 14 3 5a2 2 0 0 1 2-2Z' fill='none' stroke='%23193e93' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.fg-icon-mail, .fg-email, .fg-contact-links a[href^='mailto:'] {
  --fg-icon-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23193e93' stroke-width='1.8' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
}
.fg-icon-message {
  --fg-icon-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 6a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H8l-5 3Z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.fg-icon-pin, .fg-location {
  --fg-icon-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23193e93' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M19 10c0 4.5-7 10-7 10s-7-5.5-7-10a7 7 0 1 1 14 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.4'/%3E%3C/svg%3E");
}
.fg-icon-bank {
  --fg-icon-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9h18l-9-6-9 6ZM4 21h16M6 12v6m6-6v6m6-6v6' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.fg-icon-copy {
  --fg-icon-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='8' y='8' width='12' height='12' rx='2'/%3E%3Cpath d='M5 16a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2'/%3E%3C/svg%3E");
}
.fg-icon-arrow, :is(.fg-hero-action, .fg-button) .wp-block-button__link {
  --fg-icon-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h15m-6-6 6 6-6 6' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.fg-container { width: min(1440px, calc(100% - 2 * var(--fg-gutter))); margin-inline: auto; }
.fg-skip { position: absolute; z-index: 30; background: #fff; color: var(--fg-navy); padding: 12px; }
html:has(.fg-sticky-header) {
  --fg-sticky-height: 82px;
  --fg-sticky-inset: 0px;
  scroll-padding-top: calc(94px + var(--fg-sticky-inset));
}
@media (min-width: 601px) {
  html:has(.fg-dubai.admin-bar) { --fg-sticky-inset: var(--wp-admin--admin-bar--height, 32px); }
}
.fg-dubai :is(#fg-intro-title, #fg-visit-title, #fg-study-title, #fg-affiliates-title) {
  scroll-margin-block-start: clamp(20px, 4vw, 56px);
}

.fg-hero-rotation-toggle{
  display: none!important;
}

.fg-header { --fg-header-height: 80px; position: relative; inset: auto; z-index: 10; background: #fff; }
.fg-header-slot { min-height: var(--fg-header-height); }
.fg-header:has(.fg-nav-panel:is(.showing, .show, .hiding)) { z-index: 1045; }
.fg-header[data-scroll-state='expanded'] .fg-header-inner {
  position: fixed;
  z-index: 2;
  inset: var(--fg-sticky-inset) 0 auto;
  width: 100%;
  padding-inline: var(--fg-gutter);
  box-shadow: 0 6px 24px #08083524;
}
.fg-sticky-header {
  position: fixed;
  z-index: 1;
  inset: var(--fg-sticky-inset) 0 auto;
  display: grid;
  place-items: center;
  min-height: var(--fg-sticky-height);
  visibility: hidden;
  transform: translateY(-100%);
  pointer-events: none;
}
.fg-header[data-scroll-state='compact'] .fg-sticky-header { visibility: visible; transform: none; }
.fg-sticky-header .fg-brand {
  display: grid;
  place-items: center;
  min-height: 50px;
  padding: 4px 16px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 3px 12px #06064e29;
}
.fg-header[data-scroll-state='compact'] .fg-sticky-header .fg-brand { pointer-events: auto; }
.fg-sticky-header .fg-brand img { width: clamp(146px, 14vw, 174px); max-height: 44px; object-fit: contain; }
@media (prefers-reduced-motion: no-preference) {
  .fg-sticky-header { transition: transform .22s ease, visibility .22s; }
}
:where(.home) .fg-header:where(:has(+ #primary > .fg-hero:first-child)) {
  position: absolute;
  inset: var(--fg-admin-offset) 0 auto;
}
.fg-header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
  min-height: var(--fg-header-height);
  background: #fff;
  color: var(--fg-navy);
  font-family: var(--fg-poppins);
}
.fg-brand { flex: 0 0 auto; }
.fg-brand img { display: block; width: min(62vw, 245px); height: auto; }
.fg-header-inner > .offcanvas-backdrop { background-color: var(--fg-navy); }
.fg-nav-panel {
  --bs-offcanvas-width: min(88vw, 360px);
  --bs-offcanvas-bg: #fff;
  --bs-offcanvas-color: var(--fg-navy);
  --bs-offcanvas-border-color: var(--fg-border);
  --bs-offcanvas-padding-x: clamp(16px, 4vw, 24px);
  --bs-offcanvas-padding-y: 16px;
  min-width: 0;
}
.fg-nav-panel.offcanvas-end { top: var(--fg-admin-offset); }
.fg-nav-panel-header {
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--fg-border);
}
.fg-menu-brand img { width: min(46vw, 190px); }
.fg-nav-panel .fg-nav {
  display: flex;
  flex-direction: column;
  padding-block-end: max(var(--bs-offcanvas-padding-y), env(safe-area-inset-bottom, 0px));
  overscroll-behavior: contain;
}
.fg-menu-toggle, .fg-menu-close {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: var(--fg-blue-tint);
  color: var(--fg-navy);
  font-size: 20px;
}
.fg-nav-items { display: grid; gap: 4px; list-style: none; margin: 0; padding: 0; }
.fg-nav-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 13px;
  border-radius: 8px;
  color: var(--fg-navy);
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
}
.fg-nav-items .fg-nav-link:not([aria-current='page']):is(:hover, :focus-visible) {
  color: var(--fg-red-dark);
}
.fg-nav-link:focus-visible { outline-offset: 0; }
.fg-nav-items .fg-nav-link[aria-current='page'] > span { position: relative; }
.fg-nav-items .fg-nav-link[aria-current='page'] > span::after {
  content: '';
  position: absolute;
  inset-inline: -10px;
  inset-block-end: -10px;
  height: 3px;
  background: var(--fg-red);
}
.fg-nav-link.fg-nav-cta {
  justify-content: center;
  margin-block-start: 16px;
  border-radius: 10px;
  background: #5856D6;
  color: #fff;
}
.fg-nav-cta:is(:hover, :focus-visible, [aria-current='page']) { background: var(--fg-navy); }

.fg-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: calc(100vh - var(--fg-admin-offset));
  min-height: calc(100dvh - var(--fg-admin-offset));
  background: var(--fg-navy);
  color: #fff;
}
.fg-hero-art, .fg-hero-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.fg-hero-art { margin: 0; z-index: -2; overflow: hidden; }
.fg-hero-art img { object-fit: cover; object-position: 66% 24%; }
.fg-hero-art.fg-hero-slide-marina img { object-position: 58% 48%; }
.fg-hero-art.fg-hero-slide-burj img { object-position: 37% 52%; }
.fg-hero-art.fg-hero-slide,
.fg-hero-rotator[data-rotation-started] > .fg-hero-art { opacity: 0; z-index: -3; }
.fg-hero-rotator[data-rotation-started] > .fg-hero-art.is-previous { opacity: 1; }
.fg-hero-rotator[data-rotation-started] > .fg-hero-art.is-current { opacity: 1; z-index: -2; }
@media (prefers-reduced-motion: no-preference) {
  .fg-hero-rotator[data-rotation-started] > .fg-hero-art.is-current { animation: fg-hero-fade-in .65s ease-out; }
}
@keyframes fg-hero-fade-in { from { opacity: 0; } }
.fg-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--fg-mobile-hero-overlay, linear-gradient(0deg, var(--fg-navy) 0%, #06064ef7 18%, #06064ede 42%, #06064e39 72%, transparent));
}
.fg-hero-copy { padding-block: clamp(100px, 18svh, 170px) clamp(76px, 11svh, 104px); }
.fg-hero-rotation-toggle {
  position: absolute;
  inset-inline-start: max(var(--fg-gutter), (100% - 1440px) / 2 + var(--fg-gutter));
  inset-block-end: 16px;
  min-height: 44px;
  padding: 6px 14px;
  border: 1px solid #ffffff66;
  border-radius: 999px;
  background: #06064ed9;
  color: #fff;
  font: 700 .875rem/1.3 var(--fg-sans);
}
.fg-hero-rotation-toggle:is(:hover, :focus-visible) { background: var(--fg-navy); border-color: #fff; }
.fg-hero .yoast-breadcrumbs {
  display: inline-block;
  max-width: 100%;
  margin-block: 0 clamp(14px, 2vw, 22px);
  padding: 7px 13px;
  border: 1px solid #c8dcff55;
  border-radius: 999px;
  background: #06064ed9;
  color: var(--fg-blue-light);
  font: 400 .875rem/1.4 var(--fg-poppins);
}
.fg-hero .yoast-breadcrumbs > span {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.fg-hero .yoast-breadcrumbs a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  color: #fff;
  text-decoration: none;
}
.fg-hero .yoast-breadcrumbs a:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: 3px; }
.fg-hero .yoast-breadcrumbs > span > span:first-child > a::before {
  content: '';
  flex: none;
  width: 16px;
  height: 16px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m3 10 9-7 9 7v10a1 1 0 0 1-1 1h-5v-7H9v7H4a1 1 0 0 1-1-1Z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.fg-hero .fg-breadcrumb-separator { font-size: 1.2rem; line-height: 1; }
.fg-hero .breadcrumb_last { font-weight: 700; }
#primary .fg-hero-copy > .wp-block-buttons { margin-block-end: 0 !important; }
#primary .fg-hero-location {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 15px;
  color: var(--fg-blue-light);
  font: 700 var(--fg-body-size)/1.3 var(--fg-poppins);
  text-transform: uppercase;
  letter-spacing: .16em;
}
.fg-hero-location::before { content: ''; width: 32px; height: 3px; background: var(--fg-red); }
#primary .fg-hero h1 {
  margin: 0;
  color: #fff;
  font: 700 clamp(42px, 10.8vw, 76px)/1.01 var(--fg-poppins);
  letter-spacing: -.055em;
}
.fg-hero h1 em { color: var(--fg-blue-light); font: italic 1.1em/1 Georgia, serif; letter-spacing: -.055em; }
#primary .fg-hero-copy > p:not(.fg-hero-location) {
  max-width: 42ch;
  margin: 17px 0 23px;
  color: #f1eff4;
  font-size: var(--fg-body-size);
  line-height: 1.5;
}
.fg-hero-action .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 17px;
  padding: 14px 21px;
  border: 0;
  border-radius: 999px;
  background: var(--fg-red);
  color: #fff;
  font: 700 15px/1.35 var(--fg-sans);
  text-decoration: none;
}
:is(.fg-hero-action, .fg-button) .wp-block-button__link::after { content: ''; }
.fg-hero-action .wp-block-button__link:hover, .fg-hero-action .wp-block-button__link:focus-visible { background: var(--fg-red-dark); color: #fff; }
#primary .fg-home-hero-actions { gap: 10px !important; }
.fg-hero-secondary .wp-block-button__link { background: #06064e6b; box-shadow: inset 0 0 0 1px #fff9; }
.fg-hero-secondary .wp-block-button__link:is(:hover, :focus-visible) { background: #fff; color: var(--fg-navy); }

#primary { background: var(--fg-navy); }
#primary.fg-not-found {
  display: grid;
  place-items: center;
  min-height: min(460px, 65svh);
  padding-block: clamp(60px, 8vw, 110px);
  background: #f6f9ff;
  color: var(--fg-navy);
  text-align: center;
}
.fg-not-found .fg-not-found-code { margin: 0 0 12px; color: var(--fg-red-dark); font-weight: 700; letter-spacing: .14em; }
.fg-not-found h1 { margin: 0; font: 700 clamp(2.5rem, 6vw, 4.75rem)/1.08 var(--fg-poppins); letter-spacing: -.05em; }
.fg-not-found h1 + p { margin: 14px 0 24px; color: #474e62; }
.fg-intro {
  display: grid;
  gap: 26px;
  padding-block: clamp(54px, 7vw, 105px);
}
.fg-intro h2, .fg-section-heading h2, .fg-payment-card h2 {
  margin: 0;
  font: 700 clamp(36px, 4.4vw, 68px)/1.08 var(--fg-poppins);
  letter-spacing: -.055em;
  text-wrap: balance;
}
.fg-intro h2 em, .fg-section-heading h2 em, .fg-payment-card h2 em {
  font: italic 1.08em/1 Georgia, serif;
  letter-spacing: -.05em;
}
.fg-intro h2 em { color: var(--fg-blue-light); }
#primary .fg-license {
  margin: 22px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--fg-red);
  color: var(--fg-blue-light);
}
.fg-intro-copy { max-width: 68ch; }
#primary .fg-intro-copy p { margin: 0 0 16px; line-height: 1.65; color: #d6d8e2; }
.fg-intro-copy strong { color: #fff; }
.fg-button .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 44px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--fg-navy);
  color: #fff;
  text-decoration: none;
  font: 700 1rem/1.3 var(--fg-sans);
}
.fg-button .wp-block-button__link:hover, .fg-button .wp-block-button__link:focus-visible { background: var(--fg-red-dark); color: white; }
.fg-start .wp-block-button__link { margin-top: 5px; background: var(--fg-red); color: #fff; }
.fg-start .wp-block-button__link:hover { background: var(--fg-red-dark); color: #fff; }

.fg-visit { background: #f6f9ff; color: var(--fg-navy); padding-block: clamp(48px, 6vw, 90px); }
#primary .fg-section-heading { margin-bottom: clamp(24px, 3vw, 44px); }
.fg-section-heading h2 em { color: var(--fg-red); }
#primary .fg-section-heading p { margin: 13px 0 0; color: #575765; line-height: 1.6; }
.fg-visit-grid { display: grid; gap: 16px; }
.fg-portrait { position: relative; margin: 0; overflow: hidden; aspect-ratio: 4 / 4.3; border-radius: 18px; background: #222151; }
.fg-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.fg-contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  min-width: 0;
  padding: clamp(22px, 2.4vw, 38px);
  border: 1px solid var(--fg-border);
  border-radius: 18px;
  background: white;
}
.fg-contact-card:is(.fg-location, .fg-phone, .fg-email)::before {
  content: '';
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--fg-blue-tint) var(--fg-icon-image) center / 22px no-repeat;
}
.fg-contact-card h3 { margin: 0 0 10px; font: 700 clamp(22px, 2vw, 30px)/1.2 var(--fg-poppins); letter-spacing: -.045em; }
#primary .fg-contact-card p, .fg-phone-list { margin: 0; color: #444958; line-height: 1.55; }
#primary .fg-location p + p { margin-top: 12px; }
#primary .fg-contact-card .wp-block-buttons { margin-top: 17px; }
.fg-contact-card a:not(.wp-block-button__link) { color: inherit; overflow-wrap: anywhere; text-underline-offset: 3px; }
.fg-phone-list { padding: 0; list-style: none; font-size: var(--fg-body-size); }
.fg-phone-list li + li { margin-top: 4px; }
.fg-button-small .wp-block-button__link { padding: 8px 0; border-radius: 0; background: transparent; color: var(--fg-red-dark); }
.fg-button-small .wp-block-button__link:is(:hover,:focus-visible) { color: var(--fg-navy); background: transparent; text-decoration: underline; text-underline-offset: 4px; }

#primary .fg-study {
  display: grid;
  align-items: center;
  gap: clamp(22px, 4vw, 56px);
  margin-top: clamp(30px, 4vw, 60px);
  padding: clamp(18px, 3.7vw, 56px);
  border: 1px solid var(--fg-border);
  border-radius: clamp(18px, 2vw, 28px);
  background: linear-gradient(135deg, #e8efff, #f6f9ff 75%);
}
.fg-study p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--fg-red-dark);
  font-weight: 700;
}
.fg-study p::before { content: ''; flex: 0 0 20px; height: 3px; border-radius: 2px; background: var(--fg-red); }
.fg-study h3 {
  margin: 8px 0 0;
  color: var(--fg-navy);
  font: 700 clamp(1.875rem, 3.3vw, 3rem)/1.12 var(--fg-poppins);
  letter-spacing: -.05em;
  text-wrap: balance;
}
.fg-destinations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: clamp(8px, 1.05vw, 14px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.fg-destinations li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  min-height: 92px;
  padding: 10px 12px;
  border: 1px solid var(--fg-border);
  border-radius: 12px;
  background: #fff;
  color: var(--fg-navy);
  font: 700 clamp(.9rem, 1.05vw, 1rem)/1.25 var(--fg-sans);
  overflow-wrap: anywhere;
}
.fg-destinations li > span {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 34px;
  border-radius: 8px;
  background: var(--fg-blue-tint);
  font: 1.2rem/1 "Segoe UI Emoji", "Apple Color Emoji", sans-serif;
}

.fg-payment { padding-block: clamp(38px, 5vw, 78px); }
.fg-payment-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 20px;
  padding: clamp(28px, 5vw, 76px);
  color: var(--fg-navy);
  background: #deebff;
}
.fg-payment-card::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: repeating-radial-gradient(circle at 110% 100%, transparent 0 31px, #193e932b 32px 33px, transparent 34px 62px);
  mask-image: linear-gradient(90deg, transparent 34%, #000);
}
#primary .fg-payment-card p { max-width: 48ch; margin: 13px 0 22px; line-height: 1.6; }
.fg-pay .wp-block-button__link { background: var(--fg-red); }

.fg-footer {
  --fg-footer-muted: #c5cdec;
  --fg-footer-divider: #d5ddff33;
  padding-block: clamp(40px, 4.2vw, 68px) 84px;
  background: var(--fg-navy);
  color: #fff;
  font-size: var(--fg-body-size);
}
.fg-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  padding-bottom: clamp(24px, 3vw, 40px);
}
.fg-footer-grid > * + * { padding-top: 24px; border-top: 1px solid var(--fg-footer-divider); }
.fg-footer a { color: inherit; text-decoration: none; }
.fg-footer a:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: 4px; }
.fg-footer-brand { display: block; width: fit-content; max-width: min(100%, 256px); margin-bottom: 20px; }
.fg-footer-brand img { display: block; width: 100%; height: auto; }
.fg-footer-grid h2 { margin: 0 0 12px; color: #fff; font: 700 19px/1.35 var(--fg-poppins); }
.fg-footer-grid h2::after {
  content: '';
  display: block;
  width: 24px;
  height: 3px;
  margin-top: 9px;
  background: var(--fg-red);
}
.fg-footer-grid address { max-width: 32ch; margin: 0 0 4px; color: var(--fg-footer-muted); line-height: 1.55; }
.fg-footer-grid address + address { margin-top: 10px; }
.fg-footer-more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; }
.fg-footer-more .fg-icon { color: #ff797f; }
.fg-footer .fg-footer-more:is(:hover, :focus-visible) { text-decoration: none; }
.fg-footer-more:is(:hover, :focus-visible) > :first-child { text-decoration: underline; text-underline-offset: 4px; }
.fg-footer-contacts, .fg-footer-links, .fg-socials { list-style: none; margin: 0; padding: 0; }
.fg-footer-contacts { display: grid; gap: 6px; margin: 0 0 6px; }
.fg-footer-contacts a { display: flex; align-items: center; gap: 12px; min-height: 46px; }
.fg-footer-contacts span { min-width: 0; overflow-wrap: anywhere; }
.fg-footer-contacts small { display: block; color: var(--fg-footer-muted); line-height: 1.25; }
.fg-footer-contact-icon {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  height: 38px;
  border: 1px solid var(--fg-footer-divider);
  border-radius: 10px;
  background: #ffffff0d;
  color: var(--fg-blue-light);
}
.fg-footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
.fg-footer-links a { display: flex; align-items: center; min-height: 40px; padding-block: 5px; color: var(--fg-footer-muted); line-height: 1.35; }
.fg-footer-links a:is(:hover, :focus-visible) { color: #fff; }
.fg-socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.fg-socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--fg-footer-divider);
  border-radius: 50%;
  background: #ffffff0d;
}
.fg-socials a:is(:hover, :focus-visible) { background: var(--fg-blue-light); color: var(--fg-navy); text-decoration: none; }
.fg-footer-bottom {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px 24px;
  border-top: 1px solid var(--fg-footer-divider);
  padding-top: 18px;
  color: var(--fg-footer-muted);
}
.fg-footer-bottom p { margin: 0; }
.fg-dubai .fg-footer-bottom p { font-size: 1rem; }

.fg-quick-contact { position: fixed; z-index: 11; right: 13px; bottom: 12px; }
.fg-quick-button { display: flex; align-items: center; gap: 10px; margin-left: auto; padding: 0; border: 0; background: transparent; color: #272537; }
.fg-quick-label { padding: 6px 13px; border-radius: 10px; background: #fff; box-shadow: 0 2px 8px #20194626; font: 16px/1.2 var(--fg-sans); }
.fg-quick-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--fg-blue); color: #fff; font-size: 19px; }
.fg-quick-icon > i { grid-area: 1 / 1; }
.fg-quick-panel { width: 228px; margin-bottom: 12px; padding: 12px; border-radius: 14px; background: #fff; color: var(--fg-navy); box-shadow: 0 8px 25px #20194655; }
.fg-quick-panel p { margin: 4px 8px 8px; font-weight: 700; }
.fg-quick-panel a { display: flex; align-items: center; gap: 9px; border-radius: 8px; padding: 9px; color: inherit; text-decoration: none; }
.fg-quick-panel a:hover { background: var(--fg-blue-tint); }

/* Bootscore uses the Bootstrap 5 mobile-first breakpoints. */
@media (min-width: 576px) {
  .fg-visit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fg-portrait, .fg-location { grid-column: span 2; }
  .fg-portrait { aspect-ratio: 2 / 1; }
  .fg-location-content { max-width: 64ch; }
  .fg-destinations { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fg-destinations li { flex-direction: row; justify-content: flex-start; align-items: center; min-height: 78px; }
  .fg-dubai { --fg-gutter: clamp(24px, 5vw, 34px); }
  .fg-header { --fg-header-height: 94px; }
  .fg-hero-copy { padding-block-start: clamp(114px, 18svh, 170px); }
}

@media (min-width: 768px) {
  .fg-hero { align-items: center; }
  .fg-hero-copy { padding-block-end: clamp(28px, 7svh, 65px); }
  .fg-hero-art img { object-position: center 34%; }
  .fg-hero::after {
    background: linear-gradient(0deg, var(--fg-navy), transparent 18%),
      linear-gradient(90deg, #06064eeb 4%, #06064ec4 33%, #06064e55 66%, transparent 93%);
  }
  #primary .fg-hero h1 { font-size: clamp(64px, 6.15vw, 94px); }
  .fg-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .fg-footer-grid > * + * { padding-top: 0; border-top: 0; }
  .fg-footer-grid > .fg-footer-resources { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--fg-footer-divider); }
  .fg-footer-bottom { flex-direction: row; }
  .fg-footer-bottom p + p { text-align: right; }
  .fg-quick-contact { right: 28px; bottom: 24px; }
  .fg-quick-icon { width: 54px; height: 54px; font-size: 24px; }
}

@media (min-width: 992px) {
  .fg-intro { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(45px, 7vw, 120px); }
  .fg-intro h2 { max-width: 9em; }
  .fg-intro-copy { justify-self: end; width: 100%; max-width: 76ch; }
  .fg-visit-grid { grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(0, .85fr)); }
  .fg-portrait { grid-column: auto; grid-row: span 2; aspect-ratio: auto; }
  .fg-contact-card { gap: 18px; }
  .fg-location-content { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; max-width: none; width: 100%; }
  #primary .fg-study { grid-template-columns: minmax(0, .7fr) minmax(0, 1.6fr); }
  .fg-study h3 { text-wrap: wrap; }
  .fg-payment-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 26px; }
  #primary .fg-payment-card p { grid-column: 1; margin-bottom: 0; }
  .fg-payment-card .wp-block-buttons { grid-column: 2; grid-row: 1 / span 2; }
  .fg-footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(30px, 4vw, 76px); }
  .fg-footer-grid > .fg-footer-resources { grid-column: auto; padding-top: 0; border-top: 0; }
}

@media (min-width: 1200px) {
  .fg-header { --fg-header-height: 72px; position: absolute; inset: calc(32px + var(--fg-admin-offset)) 0 auto; background: transparent; }
  #primary.fg-not-found { padding-block-start: clamp(150px, 18svh, 195px); }
  .fg-header-inner, .fg-hero-copy, .fg-intro, .fg-agents-layout { padding-inline: 28px; }
  .fg-header-inner {
    --fg-brand-width: clamp(172px, 14vw, 210px);
    display: grid;
    grid-template-columns: var(--fg-brand-width) minmax(0, 1fr) var(--fg-brand-width);
    gap: 0;
    border-radius: 100px;
    box-shadow: 0 6px 24px #0808351a;
  }
  .fg-header[data-scroll-state='expanded'] .fg-header-inner {
    width: min(1440px, calc(100% - 2 * var(--fg-gutter)));
    padding-inline: 28px;
  }
  .fg-brand img { width: var(--fg-brand-width); }
  .fg-menu-toggle { display: none; }
  .fg-nav-panel { grid-column: 2 / -1; }
  .fg-nav-panel .fg-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--fg-brand-width);
    align-items: center;
    padding: 0;
  }
  .fg-nav-items { display: flex; justify-content: center; align-items: center; gap: clamp(4px, 1vw - 8px, 14px); }
  .fg-nav-link { padding-inline: clamp(7px, 1vw - 4px, 12px); font-size: clamp(15px, 1.12vw, 16px); }
  .fg-nav-link.fg-nav-cta { justify-self: end; margin-block-start: 0; padding-inline: 24px; }
  .fg-hero-copy { padding-block-start: clamp(124px, 17svh, 155px); }
  .fg-hero-rotation-toggle { margin-inline-start: 28px; }
  .fg-destinations { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* At 1440px the container includes its gutters in the desktop width. */
@media (min-width: 1440px) {
  .fg-container { min-width: 1440px; padding-inline: var(--fg-gutter); box-sizing: border-box; }
  .fg-header[data-scroll-state='expanded'] .fg-header-inner { padding-inline: var(--fg-gutter); }
  .fg-hero-rotation-toggle { margin-inline-start: 0; }
}

@media (max-height: 500px) {
  #primary .fg-hero h1 { font-size: clamp(2rem, 8svh, 3rem); }
  #primary .fg-hero-location { margin-bottom: 8px; }
  #primary .fg-hero-copy > p:not(.fg-hero-location) { margin-block: 10px 12px; }
}

@media (max-height: 500px) and (orientation: landscape) {
  .fg-hero-copy { padding-block: 102px 20px; }
  .fg-hero-rotator .fg-hero-copy:has(> .fg-hero-rotation-toggle) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 10px;
  }
  .fg-hero-rotator .fg-hero-copy > :not(.wp-block-buttons, .fg-hero-rotation-toggle) { grid-column: 1 / -1; }
  .fg-hero-rotation-toggle { position: static; margin-inline-start: 0; justify-self: start; }
  .fg-home-hero-actions .fg-hero-action .wp-block-button__link { min-height: 44px; gap: 7px; padding: 8px 12px; font-size: .875rem; }
  .fg-home-hero-actions .fg-hero-secondary .wp-block-button__link::after { display: none; }
  #primary .fg-hero h1 { max-width: none; }
  .fg-hero h1 br { display: none; }
  .fg-hero h1 br + em { margin-inline-start: .2em; }
  .fg-hero .yoast-breadcrumbs { margin-block-end: 7px; padding-block: 4px; }
  #primary .fg-hero-copy > p:not(.fg-hero-location) { max-width: none; margin-block: 8px 10px; }
}

.fg-dubai:not(.home) #primary > .fg-hero {
  min-height: 50vh;
  min-height: 50dvh;
  align-items: center;
}
.fg-dubai:not(.home) .fg-hero-copy { padding-block: clamp(20px, 3vw, 24px); }
.fg-dubai:not(.home) #primary .fg-hero h1 { font-size: clamp(2rem, 4.8vw, 4.25rem); }
.fg-dubai:not(.home) .fg-hero h1 br { display: none; }
.fg-dubai:not(.home) .fg-hero h1 br + em { margin-inline-start: .2em; }
.fg-dubai:not(.home) .fg-hero .yoast-breadcrumbs { margin-block-end: 10px; }
.fg-dubai:not(.home) #primary .fg-hero-copy > p:not(.fg-hero-location) {
  max-width: 72ch;
  margin-block: 10px 14px;
}

@media (min-width: 1200px) {
  .fg-dubai:not(.home) .fg-hero-copy { padding-block-start: 122px; }
}

@media (max-height: 640px) {
  .fg-dubai:not(.home) .fg-hero-copy { padding-block: 16px; }
  .fg-dubai:not(.home) #primary .fg-hero h1 { font-size: clamp(2rem, 4.8vw, 3rem); }
  .fg-dubai:not(.home) .fg-hero .yoast-breadcrumbs { margin-block-end: 6px; padding-block: 4px; }
  .fg-dubai:not(.home) #primary .fg-hero-copy > p:not(.fg-hero-location) { margin-block: 8px 10px; }
}

@media (min-width: 1200px) and (max-height: 640px) {
  .fg-dubai.page:not(.home) .fg-header {
    position: relative;
    inset: auto;
    padding-block: 12px;
    background: var(--fg-navy);
  }
}



