/*
 * Alam Al Roum — official 2026 brochure identity.
 * Loaded last to unifyise the bilingual production experience.
 */

:root {
  --rd-brochure-ivory: #f4efe5;
  --rd-brochure-sand: #dfd0bd;
  --rd-brochure-oxblood: #542a25;
  --rd-brochure-navy: #071f2b;
  --rd-brochure-navy-soft: #0f3844;
  --rd-brochure-sea: #5ecbd1;
  --rd-brochure-gold: #b98a3c;
  --rd-brochure-ink: #0b2732;
  --rd-brochure-muted: #53666d;
  --rd-brochure-line: rgb(11 39 50 / 16%);
  --rd-brochure-shell: min(100% - (2 * clamp(20px, 5vw, 80px)), 1440px);
  --rd-brand-primary: var(--rd-brochure-navy-soft);
  --rd-brand-secondary: var(--rd-brochure-ink);
  --rd-accent: var(--rd-brochure-oxblood);
  --rd-deep-surface: var(--rd-brochure-navy);
  --rd-light-surface: var(--rd-brochure-ivory);
  --rd-text-primary: var(--rd-brochure-ink);
  --rd-text-secondary: var(--rd-brochure-muted);
  --rd-border-subtle: var(--rd-brochure-line);
  --rd-focus: #14798a;
}

body {
  background: var(--rd-brochure-ivory);
  color: var(--rd-brochure-ink);
}

.rd-header-shell,
.rd-footer-shell,
.rd-page-header__inner,
.rd-section,
.rd-container,
.rd-home-hero__content {
  width: var(--rd-brochure-shell);
}

/* Official coin mark in the header while retaining an accessible text label. */
.rd-brand-lockup .wp-block-site-title {
  width: clamp(56px, 4.8vw, 68px);
  height: clamp(56px, 4.8vw, 68px);
  margin: 0;
}

.rd-brand-lockup .wp-block-site-title a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-image: url("../visuals/brochure-2026/B25-alam-coin.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  color: transparent !important;
  font-size: 0;
  text-shadow: none !important;
}

.rd-brand-lockup .wp-block-site-logo {
  display: none;
}

.rd-site-header .rd-brand-lockup .wp-block-site-title a {
  background-color: transparent;
  box-shadow: none;
  filter: drop-shadow(0 8px 18px rgb(7 31 43 / 24%));
}

.rd-site-header {
  color: var(--rd-brochure-ink);
}

body.home .rd-site-header:not(.is-scrolled) {
  color: var(--rd-brochure-ivory);
}

.rd-primary-navigation .wp-block-navigation-item__content {
  font-weight: 600;
}

/* Hero: official masterplan fills the stage and keeps Arabic on the right. */
.rd-home-hero {
  height: max(720px, 100svh);
  min-height: 100svh;
  background: var(--rd-brochure-navy);
}

.rd-home-hero > .rd-home-hero__media,
.rd-home-hero > .wp-block-post-featured-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}

.rd-home-hero > .rd-home-hero__media picture,
.rd-home-hero > .wp-block-post-featured-image picture {
  display: block;
  width: 100%;
  height: 100%;
}

.rd-home-hero > .rd-home-hero__media img,
.rd-home-hero > .wp-block-post-featured-image img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: 50% 52%;
}

.rd-home-hero .rd-brochure-media__caption {
  display: none;
}

.rd-home-hero::before {
  background:
    linear-gradient(180deg, rgb(7 31 43 / 38%) 0%, rgb(7 31 43 / 4%) 36%, rgb(7 31 43 / 70%) 100%),
    linear-gradient(90deg, rgb(7 31 43 / 72%) 0%, rgb(7 31 43 / 24%) 48%, transparent 76%);
}

.rd-locale-ar .rd-home-hero::before,
html[lang^="ar"] .rd-home-hero::before {
  background:
    linear-gradient(180deg, rgb(7 31 43 / 38%) 0%, rgb(7 31 43 / 4%) 36%, rgb(7 31 43 / 70%) 100%),
    linear-gradient(270deg, rgb(7 31 43 / 72%) 0%, rgb(7 31 43 / 24%) 48%, transparent 76%);
}

.rd-home-hero__content {
  align-items: flex-end;
  justify-content: flex-start;
  padding-block-end: clamp(72px, 9vh, 112px);
}

.rd-locale-ar .rd-home-hero__content,
html[lang^="ar"] .rd-home-hero__content {
  justify-content: flex-start;
}

.rd-home-hero__panel {
  width: min(790px, 70vw);
  margin-inline-end: auto;
  color: var(--rd-brochure-ivory);
}

.rd-locale-ar .rd-home-hero__panel,
html[lang^="ar"] .rd-home-hero__panel {
  margin-inline: 0 auto;
  text-align: right;
}

.rd-home-hero__eyebrow {
  color: #f5d69c;
}

.rd-home-hero__title,
.rd-home-hero__summary,
.rd-home-hero__panel-disclosure {
  color: var(--rd-brochure-ivory);
}

.rd-home-hero__summary {
  max-width: 62ch;
}

.rd-home-hero__cta--primary {
  background: var(--rd-brochure-ivory);
  color: var(--rd-brochure-navy);
}

.rd-home-hero__cta--primary:hover {
  background: #fffaf0;
  color: var(--rd-brochure-navy);
}

.rd-home-hero__cta--secondary {
  border-color: rgb(244 239 229 / 76%);
  color: var(--rd-brochure-ivory);
}

/* Inner-page visual masthead. */
.rd-page-header {
  padding-block: clamp(84px, 9vw, 142px) clamp(64px, 7vw, 110px);
  background:
    radial-gradient(circle at 80% 10%, rgb(94 203 209 / 20%), transparent 33%),
    linear-gradient(145deg, var(--rd-brochure-navy), #0b3642);
}

.rd-locale-ar .rd-page-header,
html[lang^="ar"] .rd-page-header {
  background:
    radial-gradient(circle at 20% 10%, rgb(94 203 209 / 20%), transparent 33%),
    linear-gradient(215deg, var(--rd-brochure-navy), #0b3642);
}

.rd-page-header .wp-block-post-title {
  max-width: 17ch;
  color: var(--rd-brochure-ivory);
  font-size: clamp(44px, 6.4vw, 94px);
  line-height: 1.04;
}

.rd-locale-ar .rd-page-header .wp-block-post-title,
html[lang^="ar"] .rd-page-header .wp-block-post-title {
  line-height: 1.18;
}

.rd-page-header .wp-block-post-excerpt {
  max-width: 64ch;
  color: rgb(244 239 229 / 82%);
}

.rd-page-main > .rd-page-featured-image,
.rd-page-main > .rd-brochure-media.rd-page-featured-image {
  position: relative;
  width: var(--rd-brochure-shell);
  max-width: 1440px;
  margin: clamp(36px, 5vw, 76px) auto 0;
  overflow: hidden;
  background: var(--rd-brochure-navy);
}

.rd-page-main > .rd-page-featured-image picture,
.rd-page-main > .rd-page-featured-image img {
  display: block;
  width: 100%;
}

.rd-page-main > .rd-page-featured-image img {
  height: clamp(360px, 52vw, 720px);
  object-fit: cover;
}

.rd-page-main > [data-rdc-asset-id="B04"] img {
  height: auto;
  max-height: none;
  object-fit: contain;
}

.rd-page-main > .rd-page-featured-image .rd-brochure-media__caption {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  margin: 0;
  padding: 16px clamp(18px, 3vw, 36px);
  background: linear-gradient(180deg, transparent, rgb(7 31 43 / 76%));
  color: var(--rd-brochure-ivory);
}

.rd-page-content {
  padding-block: clamp(68px, 8vw, 132px);
}

/* Shared editorial system used by stored page content. */
.rd-brochure-page {
  width: 100%;
}

.rd-brochure-intro,
.rd-brochure-section,
.rd-brochure-cta,
.rd-brochure-partners {
  width: min(100%, 1180px);
  margin-inline: auto;
}

.rd-brochure-program {
  width: min(100%, 1180px);
  margin: clamp(62px, 8vw, 124px) auto;
  padding: clamp(42px, 6vw, 78px);
  border: 1px solid var(--rd-brochure-line);
  background: rgb(255 253 248 / 62%);
}

.rd-brochure-program header {
  max-width: 860px;
}

.rd-brochure-program h2 {
  margin: 0;
  color: var(--rd-brochure-ink);
  font-size: clamp(34px, 4.4vw, 66px);
  line-height: 1.12;
}

.rd-brochure-program header > p:last-child {
  margin-block: 20px 0;
  color: var(--rd-brochure-muted);
  font-size: 16px;
  line-height: 1.78;
}

.rd-brochure-program ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: clamp(36px, 5vw, 64px) 0 0;
  padding: 0;
  border-block: 1px solid var(--rd-brochure-line);
  list-style: none;
}

.rd-brochure-program li {
  min-width: 0;
  padding: clamp(22px, 3vw, 36px);
  border-inline-start: 1px solid var(--rd-brochure-line);
  border-block-end: 1px solid var(--rd-brochure-line);
  color: var(--rd-brochure-ink);
  line-height: 1.7;
}

.rd-brochure-program li:nth-child(3n + 1) {
  border-inline-start: 0;
}

.rd-brochure-program li span {
  display: block;
  margin-block-end: 14px;
  color: var(--rd-brochure-gold);
  font-size: 11px;
}

.rd-brochure-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .7fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: start;
  margin-block-end: clamp(72px, 9vw, 140px);
}

.rd-brochure-kicker {
  margin: 0 0 16px;
  color: var(--rd-brochure-oxblood);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.rd-locale-ar .rd-brochure-kicker,
html[lang^="ar"] .rd-brochure-kicker {
  letter-spacing: 0;
  text-transform: none;
}

.rd-brochure-intro h2,
.rd-brochure-section h2,
.rd-brochure-partners h2,
.rd-brochure-facts h2 {
  margin: 0;
  color: var(--rd-brochure-ink);
  font-size: clamp(36px, 4.8vw, 72px);
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.rd-locale-ar :where(.rd-brochure-intro, .rd-brochure-section, .rd-brochure-partners, .rd-brochure-facts) h2,
html[lang^="ar"] :where(.rd-brochure-intro, .rd-brochure-section, .rd-brochure-partners, .rd-brochure-facts) h2 {
  line-height: 1.28;
  letter-spacing: 0;
}

.rd-brochure-intro__copy,
.rd-brochure-section__copy {
  color: var(--rd-brochure-muted);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.82;
}

.rd-brochure-section {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
  padding-block: clamp(60px, 8vw, 124px);
  border-block-start: 1px solid var(--rd-brochure-line);
}

.rd-brochure-section__copy {
  grid-column: span 5;
}

.rd-brochure-section__media {
  grid-column: span 7;
}

.rd-brochure-section--reverse .rd-brochure-section__copy {
  order: 2;
}

.rd-brochure-section--reverse .rd-brochure-section__media {
  order: 1;
}

.rd-brochure-section h2 {
  margin-block-end: 22px;
  font-size: clamp(30px, 3.8vw, 58px);
}

.rd-brochure-section p {
  margin-block: 0 18px;
}

.rd-brochure-media {
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: #d8cfbf;
}

.rd-brochure-media picture,
.rd-brochure-media img {
  display: block;
  width: 100%;
}

.rd-brochure-media img {
  min-height: 280px;
  max-height: 760px;
  object-fit: cover;
}

.rd-brochure-media__caption {
  display: none !important;
}

.rd-brochure-media--masterplan img {
  object-position: center;
}

.rd-brochure-media--brand,
.rd-brochure-media--brand img {
  background: var(--rd-brochure-navy);
}

.rd-brochure-media--brand img {
  padding: clamp(36px, 7vw, 84px);
  object-fit: contain !important;
}

.rd-brochure-facts {
  width: 100%;
  margin-block: clamp(56px, 8vw, 124px);
  padding-block: clamp(68px, 8vw, 118px);
  background: var(--rd-brochure-navy);
  color: var(--rd-brochure-ivory);
}

.rd-brochure-facts__shell {
  width: var(--rd-brochure-shell);
  margin-inline: auto;
}

.rd-brochure-facts h2 {
  max-width: 18ch;
  color: var(--rd-brochure-ivory);
}

.rd-brochure-facts .rd-brochure-kicker {
  color: var(--rd-brochure-sea);
}

.rd-brochure-facts__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-block-start: clamp(42px, 6vw, 76px);
  border-block: 1px solid rgb(244 239 229 / 18%);
}

.rd-brochure-fact {
  min-width: 0;
  padding: clamp(26px, 3.5vw, 48px);
  border-inline-start: 1px solid rgb(244 239 229 / 18%);
}

.rd-brochure-fact:first-child {
  border-inline-start: 0;
}

.rd-brochure-fact__icon {
  display: block;
  width: 32px;
  margin-block-end: 22px;
  color: var(--rd-brochure-sea);
}

.rd-brochure-fact__icon svg {
  width: 100%;
}

.rd-brochure-fact strong,
.rd-brochure-fact > span:last-child {
  display: block;
}

.rd-brochure-fact strong {
  color: var(--rd-brochure-ivory);
  font-size: clamp(30px, 3.1vw, 52px);
  line-height: 1.05;
  white-space: normal;
}

.rd-brochure-fact > span:last-child {
  margin-block-start: 12px;
  color: rgb(244 239 229 / 72%);
  font-size: 14px;
  line-height: 1.6;
}

.rd-brochure-facts__note {
  max-width: 80ch;
  margin: 26px 0 0;
  color: rgb(244 239 229 / 68%);
  font-size: 13px;
  line-height: 1.7;
}

.rd-brochure-partners {
  padding-block: clamp(68px, 8vw, 126px);
}

.rd-brochure-partners__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-block-start: clamp(38px, 5vw, 68px);
  border-block: 1px solid var(--rd-brochure-line);
}

.rd-brochure-partners article {
  min-width: 0;
  padding: clamp(24px, 3vw, 42px);
  border-inline-start: 1px solid var(--rd-brochure-line);
  border-block-end: 1px solid var(--rd-brochure-line);
}

.rd-brochure-partners article:nth-child(3n + 1) {
  border-inline-start: 0;
}

.rd-brochure-partners strong,
.rd-brochure-partners span {
  display: block;
}

.rd-brochure-partners strong {
  color: var(--rd-brochure-oxblood);
  font-size: clamp(22px, 2.4vw, 36px);
}

.rd-brochure-partners span {
  margin-block-start: 10px;
  color: var(--rd-brochure-muted);
}

.rd-brochure-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
  overflow: hidden;
  margin-block: clamp(58px, 8vw, 120px);
  padding: clamp(38px, 6vw, 78px);
  background:
    radial-gradient(circle at 88% 18%, rgb(185 138 60 / 20%), transparent 34%),
    var(--rd-brochure-oxblood);
  color: var(--rd-brochure-ivory);
}

.rd-brochure-cta__copy,
.rd-brochure-cta__actions {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.rd-brochure-cta h2 {
  max-width: 16ch;
  margin: 0;
  color: var(--rd-brochure-ivory);
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.15;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.rd-brochure-cta p {
  max-width: 54ch;
  color: rgb(244 239 229 / 78%);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.rd-brochure-cta__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: 100%;
  max-width: 360px;
  justify-self: end;
}

.rd-brochure-download,
.rd-brochure-cta__button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: inherit;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.rd-brochure-cta__actions .rd-brochure-download,
.rd-brochure-cta__actions .rd-brochure-cta__button {
  width: 100%;
}

/* Editorial templates can nest the CTA inside a constrained content column. */
.rd-lead-layout .rd-brochure-cta,
.rd-editorial-detail .rd-brochure-cta {
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  padding: clamp(34px, 4vw, 54px);
}

.rd-lead-layout .rd-brochure-cta h2,
.rd-editorial-detail .rd-brochure-cta h2 {
  max-width: 13ch;
  font-size: clamp(36px, 3.7vw, 52px);
}

.rd-lead-layout .rd-brochure-cta__actions,
.rd-editorial-detail .rd-brochure-cta__actions {
  max-width: none;
  justify-self: stretch;
}

.rd-brochure-download:hover,
.rd-brochure-cta__button:hover {
  background: var(--rd-brochure-ivory);
  color: var(--rd-brochure-navy);
}

.rd-brochure-cta__button--primary {
  border-color: var(--rd-brochure-ivory);
  background: var(--rd-brochure-ivory);
  color: var(--rd-brochure-navy);
}

.rd-brochure-cta__button--primary:hover {
  background: #fffaf1;
}

.rd-brochure-gallery {
  width: min(100%, 1180px);
  margin: clamp(62px, 8vw, 124px) auto;
}

.rd-brochure-gallery h2 {
  margin: 0 0 clamp(28px, 4vw, 52px);
  color: var(--rd-brochure-ink);
  font-size: clamp(32px, 4vw, 60px);
  line-height: 1.15;
}

.rd-brochure-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
}

.rd-brochure-gallery__grid > .rd-brochure-media {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--rd-brochure-navy);
}

.rd-brochure-gallery__grid > .rd-brochure-media:only-child {
  grid-column: 1 / -1;
}

.rd-brochure-gallery__grid .rd-brochure-media img {
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 520ms cubic-bezier(.2, .7, .2, 1);
}

.rd-brochure-gallery__grid .rd-brochure-media:hover img {
  transform: scale(1.018);
}

.rd-brochure-release-note {
  width: min(100%, 920px);
  margin: clamp(42px, 6vw, 88px) auto 0;
  color: var(--rd-brochure-muted);
  font-size: 12px;
  line-height: 1.75;
  text-align: center;
}

.rd-brochure-faq {
  width: min(100%, 980px);
  margin: 0 auto;
  border-block-start: 1px solid var(--rd-brochure-line);
}

.rd-brochure-faq__item {
  border-block-end: 1px solid var(--rd-brochure-line);
}

.rd-brochure-faq__item summary {
  position: relative;
  padding: clamp(24px, 4vw, 42px) 48px clamp(24px, 4vw, 42px) 0;
  color: var(--rd-brochure-ink);
  cursor: pointer;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 650;
  line-height: 1.45;
  list-style: none;
}

.rd-locale-ar .rd-brochure-faq__item summary,
html[lang^="ar"] .rd-brochure-faq__item summary {
  padding: clamp(24px, 4vw, 42px) 0 clamp(24px, 4vw, 42px) 48px;
}

.rd-brochure-faq__item summary::-webkit-details-marker {
  display: none;
}

.rd-brochure-faq__item summary::after {
  position: absolute;
  inset-inline-end: 8px;
  inset-block-start: 50%;
  transform: translateY(-50%);
  color: var(--rd-brochure-oxblood);
  content: "+";
  font-size: 28px;
}

.rd-brochure-faq__item[open] summary::after {
  content: "−";
}

.rd-brochure-faq__item > div {
  padding-block: 0 32px;
}

.rd-brochure-faq__item p {
  max-width: 72ch;
  margin: 0;
  color: var(--rd-brochure-muted);
  font-size: 17px;
  line-height: 1.8;
}

.rd-site-footer {
  background: var(--rd-brochure-navy);
}

.rd-footer-brand .wp-block-site-title {
  width: 88px;
  height: 88px;
  max-width: none;
  margin: 0 0 22px;
  color: transparent;
  font-size: 0;
  line-height: 0;
}

.rd-footer-brand .wp-block-site-title a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: url("../visuals/brochure-2026/B25-alam-coin.webp") center / contain no-repeat;
  color: transparent !important;
  font-size: 0;
  text-shadow: none !important;
}

/* Keep fixed contact controls clear and legible without a dark backing disc. */
.rd-channel-actions--persistent-desktop {
  background: transparent !important;
  box-shadow: none !important;
}

.rd-channel-actions--persistent-desktop::before,
.rd-channel-actions--persistent-desktop::after {
  display: none !important;
}

@media (max-width: 960px) {
  .rd-brochure-intro {
    grid-template-columns: 1fr;
  }

  .rd-brochure-section__copy,
  .rd-brochure-section__media {
    grid-column: span 6;
  }

  .rd-brochure-facts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rd-brochure-fact:nth-child(odd) {
    border-inline-start: 0;
  }

  .rd-brochure-fact:nth-child(n + 3) {
    border-block-start: 1px solid rgb(244 239 229 / 18%);
  }

  .rd-brochure-cta {
    grid-template-columns: 1fr;
  }

  .rd-brochure-cta__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
    justify-self: stretch;
  }

  .rd-brochure-cta__actions > :last-child {
    grid-column: 1 / -1;
  }

  .rd-brochure-program ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rd-brochure-program li:nth-child(3n + 1) {
    border-inline-start: 1px solid var(--rd-brochure-line);
  }

  .rd-brochure-program li:nth-child(odd) {
    border-inline-start: 0;
  }
}

@media (max-width: 782px) {
  .admin-bar .rd-site-header {
    inset-block-start: 46px;
  }

  .rd-header-shell {
    min-height: 76px;
  }

  .rd-brand-lockup .wp-block-site-title {
    width: 52px;
    height: 52px;
  }

  .rd-home-hero {
    height: max(680px, 100svh);
  }

  .rd-home-hero__panel {
    width: 100%;
    margin: 0;
  }

  .rd-home-hero__content {
    padding-block: 128px calc(104px + env(safe-area-inset-bottom));
  }

  .rd-home-hero::before,
  .rd-locale-ar .rd-home-hero::before,
  html[lang^="ar"] .rd-home-hero::before {
    background:
      linear-gradient(180deg, rgb(7 31 43 / 42%) 0%, rgb(7 31 43 / 8%) 34%, rgb(7 31 43 / 78%) 100%),
      linear-gradient(90deg, rgb(7 31 43 / 32%), transparent);
  }

  .rd-home-hero__title {
    max-width: 13ch;
    font-size: clamp(40px, 12vw, 62px);
  }

  .rd-home-hero__summary {
    max-width: 38ch;
    font-size: 17px;
  }

  .rd-page-header {
    padding-block: 70px 62px;
  }

  .rd-page-header .wp-block-post-title {
    max-width: 100%;
    font-size: clamp(38px, 11vw, 58px);
  }

  .rd-page-main > .rd-page-featured-image,
  .rd-page-main > .rd-brochure-media.rd-page-featured-image {
    width: calc(100% - 32px);
    margin-block-start: 24px;
  }

  .rd-page-main > .rd-page-featured-image img {
    height: min(68svh, 520px);
  }

  .rd-page-main > [data-rdc-asset-id="B04"] img {
    height: auto;
    min-height: 0;
    max-height: none;
    object-fit: contain;
  }

  .rd-brochure-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .rd-brochure-section__copy,
  .rd-brochure-section__media {
    grid-column: 1;
  }

  .rd-brochure-section--reverse .rd-brochure-section__copy,
  .rd-brochure-section--reverse .rd-brochure-section__media {
    order: initial;
  }

  .rd-brochure-section__media {
    order: -1 !important;
  }

  .rd-brochure-media img {
    min-height: 230px;
    max-height: 70svh;
  }

  .rd-brochure-partners__grid {
    grid-template-columns: 1fr;
  }

  .rd-brochure-partners article,
  .rd-brochure-partners article:nth-child(3n + 1) {
    border-inline-start: 0;
  }

  .rd-brochure-cta {
    padding: 34px 24px;
  }

  .rd-brochure-gallery__grid {
    grid-template-columns: 1fr;
  }

  .rd-brochure-program {
    padding: 34px 22px;
  }

  .rd-brochure-program ul {
    grid-template-columns: 1fr;
  }

  .rd-brochure-program li,
  .rd-brochure-program li:nth-child(3n + 1),
  .rd-brochure-program li:nth-child(odd) {
    border-inline-start: 0;
  }

  .rd-brochure-gallery__grid .rd-brochure-media img {
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 520px) {
  .rd-footer-brand .wp-block-site-title {
    width: 76px;
    height: 76px;
  }

  .rd-brochure-facts__grid {
    grid-template-columns: 1fr;
  }

  .rd-brochure-fact,
  .rd-brochure-fact:nth-child(odd) {
    border-inline-start: 0;
    border-block-start: 1px solid rgb(244 239 229 / 18%);
  }

  .rd-brochure-fact:first-child {
    border-block-start: 0;
  }

  .rd-brochure-fact strong {
    font-size: clamp(34px, 11vw, 48px);
  }

  .rd-home-hero__actions,
  .rd-brochure-cta__actions {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
  }

  .rd-brochure-cta__actions > :last-child {
    grid-column: auto;
  }

  .rd-home-hero__cta,
  .rd-brochure-download,
  .rd-brochure-cta__button {
    width: 100%;
  }
}

@media (orientation: landscape) and (min-width: 783px) and (max-height: 560px) {
  .rd-home-hero {
    height: max(420px, 100svh);
    min-height: 420px;
  }

  .rd-home-hero__content {
    align-items: center;
    padding: 82px 30px 34px;
  }

  .rd-home-hero__panel {
    width: min(680px, 78vw);
    gap: 8px;
    padding: 18px 22px;
  }

  .rd-brochure-cta {
    padding-block-end: calc(clamp(38px, 6vw, 78px) + 84px);
  }

  .rd-home-hero .rd-home-hero__title,
  .rd-locale-ar .rd-home-hero .rd-home-hero__title,
  html[lang^="ar"] .rd-home-hero .rd-home-hero__title {
    font-size: clamp(34px, 5vw, 44px);
    line-height: 1.16;
  }

  .rd-home-hero__summary,
  .rd-locale-ar .rd-home-hero .rd-home-hero__summary,
  html[lang^="ar"] .rd-home-hero .rd-home-hero__summary {
    display: -webkit-box;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .rd-home-hero__actions {
    height: 48px;
    gap: 8px;
  }

  .rd-home-hero__cta {
    height: 44px;
    padding: 10px 18px;
  }

  .rd-home-hero__panel-disclosure {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rd-brochure-media img,
  .rd-home-hero__media img {
    animation: none !important;
    transform: none !important;
  }
}
