/*
Theme Name: Wahi Feminist Coalition
Theme URI: http://localhost/wahi/
Author: Wahi
Description: RTL WordPress-ready theme for تكتل وهج النسوي based on the WFC brand guidelines.
Version: 1.6.0
Text Domain: wahi
*/

:root {
  --burgundy: #61373e;
  --rose: #a25864;
  --apricot: #e4ab7b;
  --brand-apricot: #e4ab7b;
  --honey: #ffe4af;
  --cream: #ffffff;
  --light-cream: #ffefcf;
  --taupe: #ba8f85;
  --ink: #61373e;
  --muted: #ba8f85;
  --line: rgba(97, 55, 62, 0.18);
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(97, 55, 62, 0.16);
  --radius: 8px;
}

/* Editorial news and publication archives */
.editorial-page { max-width: 1240px; margin: 0 auto; padding: 76px 24px 110px; }
.editorial-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; border-bottom: 1px solid rgba(97,55,62,.2); padding-bottom: 34px; }
.editorial-head h1 { color: var(--burgundy); font-size: clamp(2.8rem, 7vw, 6.5rem); line-height: .95; margin: 10px 0 16px; }
.editorial-head p { max-width: 620px; color: var(--ink, #28242a); font-size: 1.1rem; margin: 0; }
.editorial-count { color: var(--rose); font-size: 2.4rem; font-weight: 700; text-align: end; white-space: nowrap; }
.editorial-count small { display: block; font-size: .85rem; font-weight: 500; color: #665c60; }
.editorial-feature { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .85fr); min-height: 420px; margin: 48px 0 82px; background: #f6eee9; color: var(--burgundy); overflow: hidden; text-decoration: none; }
.editorial-feature img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; object-position: top; }
.editorial-feature > div { display: flex; flex-direction: column; align-items: start; justify-content: center; padding: clamp(28px, 5vw, 64px); }
.editorial-feature span, .editorial-section-title span { color: var(--rose); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.editorial-feature h2 { font-size: clamp(1.8rem, 3.5vw, 3.2rem); line-height: 1.12; margin: 16px 0; }
.editorial-feature p { color: #51484a; line-height: 1.8; }
.editorial-feature time, .editorial-card time { color: #756b6d; font-size: .85rem; }
.editorial-feature strong { margin-top: 30px; border-bottom: 2px solid var(--apricot); padding-bottom: 7px; }
.editorial-feature b, .editorial-link b { color: var(--rose); margin-inline-start: 8px; }
.editorial-section-title { margin-bottom: 28px; }
.editorial-section-title h2 { color: var(--burgundy); font-size: clamp(1.8rem, 4vw, 3.3rem); margin: 8px 0 0; }
.editorial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.editorial-card { border: 1px solid rgba(97,55,62,.18); background: #fff; color: var(--burgundy); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.editorial-card:hover, .editorial-feature:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(97,55,62,.12); }
.editorial-card figure { aspect-ratio: 16 / 10; margin: 0; overflow: hidden; background: #eee5e0; }
.editorial-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .35s ease; }
.editorial-card:hover img { transform: scale(1.04); }
.editorial-card > div { padding: 22px 24px 26px; }
.editorial-card h3 { font-size: 1.25rem; line-height: 1.35; margin: 10px 0; }
.editorial-card p { color: #62585b; line-height: 1.7; margin: 0 0 18px; }
.editorial-link { font-size: .9rem; font-weight: 700; }
.archive-page-head { max-width: 760px; margin-bottom: 50px; }
.archive-page-head h1 { color: var(--burgundy); font-size: clamp(2.8rem, 7vw, 6rem); line-height: 1; }
.archive-page-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.archive-page-card { overflow: hidden; border: 1px solid rgba(97,55,62,.18); background: #fff; text-decoration: none; color: var(--burgundy); }
.archive-page-card figure { aspect-ratio: 16 / 10; margin: 0; overflow: hidden; background: #eee5e0; }
.archive-page-card figure img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.archive-page-card > div { padding: 22px 24px; }
.archive-page-card h2 { font-size: 1.25rem; line-height: 1.35; margin: 10px 0; }
.archive-page-card p { color: #62585b; line-height: 1.7; }
.archive-pagination { margin-top: 42px; }
@media (max-width: 800px) {
  .editorial-page { padding: 48px 18px 76px; }
  .editorial-head { align-items: start; flex-direction: column; }
  .editorial-count { text-align: start; }
  .editorial-feature { grid-template-columns: 1fr; margin: 32px 0 58px; }
  .editorial-feature img { min-height: 260px; max-height: 360px; }
  .editorial-grid, .archive-page-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* Final brand color pass: white/black pages, Wahi identity on elements. */
body:not(.is-dark),
body:not(.is-dark) .section,
body:not(.is-dark) .section-muted,
body:not(.is-dark) .section-band,
body:not(.is-dark) .home-news-section,
body:not(.is-dark) .portrait-section,
body:not(.is-dark) .cta-band,
body:not(.is-dark) .site-footer {
  color: var(--burgundy);
  background: #fff;
}

body.is-dark,
body.is-dark .section,
body.is-dark .section-muted,
body.is-dark .section-band,
body.is-dark .home-news-section,
body.is-dark .portrait-section,
body.is-dark .cta-band,
body.is-dark .site-footer {
  color: var(--honey);
  background: #000;
}

body:not(.is-dark) .latest-editorial,
body:not(.is-dark) .statement-grid article,
body:not(.is-dark) .program-card,
body:not(.is-dark) .news-card,
body:not(.is-dark) .home-news-item,
body:not(.is-dark) .content-aside,
body:not(.is-dark) .contact-form,
body:not(.is-dark) .member-card,
body:not(.is-dark) .link-grid a {
  color: var(--burgundy);
  border-color: rgba(97, 55, 62, 0.16);
  background: #fff;
}

body.is-dark .latest-editorial,
body.is-dark .statement-grid article,
body.is-dark .program-card,
body.is-dark .news-card,
body.is-dark .home-news-item,
body.is-dark .content-aside,
body.is-dark .contact-form,
body.is-dark .member-card,
body.is-dark .link-grid a {
  color: var(--honey);
  border-color: rgba(228, 171, 123, 0.32);
  background: #000;
}

body:not(.is-dark) .latest-editorial h3,
body:not(.is-dark) .latest-editorial p,
body:not(.is-dark) .latest-editorial strong,
body:not(.is-dark) .statement-grid article h3,
body:not(.is-dark) .statement-grid article p,
body:not(.is-dark) .program-card h3,
body:not(.is-dark) .program-card p,
body:not(.is-dark) .news-card h3,
body:not(.is-dark) .news-card span,
body:not(.is-dark) .home-news-item h3,
body:not(.is-dark) .home-news-item time,
body:not(.is-dark) .member-card h3,
body:not(.is-dark) .member-card p,
body:not(.is-dark) .content-aside strong,
body:not(.is-dark) .content-aside span,
body:not(.is-dark) .portrait-title h2,
body:not(.is-dark) .portrait-card h3,
body:not(.is-dark) .portrait-card p,
body:not(.is-dark) .news-showcase-card h3,
body:not(.is-dark) .news-showcase-card time {
  color: var(--burgundy);
}

body.is-dark .latest-editorial h3,
body.is-dark .latest-editorial p,
body.is-dark .latest-editorial strong,
body.is-dark .statement-grid article h3,
body.is-dark .statement-grid article p,
body.is-dark .program-card h3,
body.is-dark .program-card p,
body.is-dark .news-card h3,
body.is-dark .news-card span,
body.is-dark .home-news-item h3,
body.is-dark .home-news-item time,
body.is-dark .member-card h3,
body.is-dark .member-card p,
body.is-dark .content-aside strong,
body.is-dark .content-aside span,
body.is-dark .portrait-title h2,
body.is-dark .portrait-card h3,
body.is-dark .portrait-card p,
body.is-dark .news-showcase-card h3,
body.is-dark .news-showcase-card time {
  color: var(--honey);
}

body:not(.is-dark) .eyebrow,
body:not(.is-dark) .latest-editorial em,
body:not(.is-dark) .portrait-card span,
body:not(.is-dark) .member-card span,
body:not(.is-dark) .news-showcase-card span {
  color: var(--rose);
}

body.is-dark .eyebrow,
body.is-dark .latest-editorial em,
body.is-dark .portrait-card span,
body.is-dark .member-card span,
body.is-dark .news-showcase-card span {
  color: var(--apricot);
}

body:not(.is-dark) .latest-editorial-article:hover h3,
body:not(.is-dark) .latest-editorial-feature:hover h3,
body:not(.is-dark) .latest-editorial-article:hover p,
body:not(.is-dark) .latest-editorial-feature:hover p,
body:not(.is-dark) .latest-editorial-article:hover strong,
body:not(.is-dark) .latest-editorial-feature:hover strong,
body:not(.is-dark) .program-card:hover h3,
body:not(.is-dark) .program-card:hover p,
body:not(.is-dark) .news-card:hover h3,
body:not(.is-dark) .news-card:hover span,
body:not(.is-dark) .home-news-item:hover h3,
body:not(.is-dark) .home-news-item:hover time,
body:not(.is-dark) .member-card:hover h3,
body:not(.is-dark) .member-card:hover p,
body:not(.is-dark) .statement-grid article:hover h3,
body:not(.is-dark) .statement-grid article:hover p,
body:not(.is-dark) .link-grid a:hover,
body:not(.is-dark) .portrait-card:hover h3,
body:not(.is-dark) .portrait-card:hover p,
body:not(.is-dark) .news-showcase-card:hover h3,
body:not(.is-dark) .news-showcase-card:hover time {
  color: #000;
}

body.is-dark .latest-editorial-article:hover h3,
body.is-dark .latest-editorial-feature:hover h3,
body.is-dark .latest-editorial-article:hover p,
body.is-dark .latest-editorial-feature:hover p,
body.is-dark .latest-editorial-article:hover strong,
body.is-dark .latest-editorial-feature:hover strong,
body.is-dark .program-card:hover h3,
body.is-dark .program-card:hover p,
body.is-dark .news-card:hover h3,
body.is-dark .news-card:hover span,
body.is-dark .home-news-item:hover h3,
body.is-dark .home-news-item:hover time,
body.is-dark .member-card:hover h3,
body.is-dark .member-card:hover p,
body.is-dark .statement-grid article:hover h3,
body.is-dark .statement-grid article:hover p,
body.is-dark .link-grid a:hover,
body.is-dark .portrait-card:hover h3,
body.is-dark .portrait-card:hover p,
body.is-dark .news-showcase-card:hover h3,
body.is-dark .news-showcase-card:hover time {
  color: #fff;
}

.latest-editorial-article:hover,
.latest-editorial-feature:hover,
.program-card:hover,
.news-card:hover,
.home-news-item:hover,
.member-card:hover,
.statement-grid article:hover,
.link-grid a:hover,
.portrait-card:hover,
.news-showcase-card:hover {
  border-color: var(--apricot);
}

.latest-editorial-article img,
.latest-editorial-feature img,
.program-card img,
.news-card img,
.portrait-card img,
.news-showcase-card img {
  filter: none;
}

/* Final projects responsive and language alignment pass. */
.home-projects-section[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

.home-projects-section[dir="ltr"] {
  direction: ltr;
  text-align: left;
}

.home-projects-section[dir="rtl"] .home-projects-head,
.home-projects-section[dir="rtl"] .home-project-feature-copy,
.home-projects-section[dir="rtl"] .home-project-card {
  direction: rtl;
  text-align: right;
}

.home-projects-section[dir="ltr"] .home-projects-head,
.home-projects-section[dir="ltr"] .home-project-feature-copy,
.home-projects-section[dir="ltr"] .home-project-card {
  direction: ltr;
  text-align: left;
}

.home-projects-section[dir="rtl"] .home-projects-head h2,
.home-projects-section[dir="rtl"] .home-project-feature-copy h3,
.home-projects-section[dir="rtl"] .home-project-feature-copy p,
.home-projects-section[dir="rtl"] .home-project-card strong {
  text-align: right;
}

.home-projects-section[dir="ltr"] .home-projects-head h2,
.home-projects-section[dir="ltr"] .home-project-feature-copy h3,
.home-projects-section[dir="ltr"] .home-project-feature-copy p,
.home-projects-section[dir="ltr"] .home-project-card strong {
  text-align: left;
}

.home-projects-section[dir="rtl"] .home-projects-head {
  flex-direction: row;
}

.home-projects-section[dir="ltr"] .home-projects-head {
  flex-direction: row;
}

.home-projects-section[dir="rtl"] .home-project-feature-media {
  grid-column: 1;
}

.home-projects-section[dir="rtl"] .home-project-feature-copy {
  grid-column: 2;
}

.home-projects-section[dir="ltr"] .home-project-feature-media {
  grid-column: 1;
}

.home-projects-section[dir="ltr"] .home-project-feature-copy {
  grid-column: 2;
}

.home-projects-section[dir="rtl"] .home-project-track {
  direction: rtl;
}

.home-projects-section[dir="rtl"] .home-project-feature-copy > span,
.home-projects-section[dir="rtl"] .home-project-card > span,
.home-projects-section[dir="rtl"] .home-project-feature-action {
  justify-self: start;
}

.home-projects-section[dir="ltr"] .home-project-feature-copy > span,
.home-projects-section[dir="ltr"] .home-project-card > span,
.home-projects-section[dir="ltr"] .home-project-feature-action {
  justify-self: start;
}

.home-projects-section .home-project-feature-copy h3,
.home-projects-section .home-project-card strong {
  overflow-wrap: anywhere;
}

@media (max-width: 1180px) {
  .home-project-card {
    flex-basis: calc((100% - 36px) / 3);
  }
}

@media (max-width: 980px) {
  .home-projects-section {
    padding-block: 64px 78px;
  }

  .home-projects-shell {
    width: min(100% - 32px, 1120px);
    gap: 28px;
  }

  .home-projects-section[dir] .home-projects-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-projects-section[dir="rtl"] .home-projects-head {
    align-items: flex-end;
  }

  .home-project-feature {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .home-projects-section[dir] .home-project-feature-media,
  .home-projects-section[dir] .home-project-feature-copy {
    grid-column: auto;
  }

  .home-project-feature-copy {
    align-content: start;
  }

  .home-project-card {
    flex-basis: calc((100% - 18px) / 2);
  }
}

@media (max-width: 680px) {
  .home-projects-section {
    padding-block: 52px 66px;
  }

  .home-projects-shell {
    width: min(100% - 26px, 1120px);
    gap: 22px;
  }

  .home-projects-head h2 {
    font-size: clamp(32px, 11vw, 46px);
    line-height: 1.08;
  }

  .home-projects-controls {
    gap: 8px;
  }

  .home-projects-controls button {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }

  .home-project-feature {
    padding: 12px;
    border-radius: 8px;
  }

  .home-project-feature-media {
    min-height: 230px;
  }

  .home-project-feature-copy {
    gap: 13px;
  }

  .home-project-feature-copy h3 {
    font-size: clamp(25px, 8vw, 36px);
  }

  .home-project-feature-copy p {
    font-size: 15px;
    line-height: 1.75;
    -webkit-line-clamp: 5;
  }

  .home-project-card {
    grid-template-rows: 190px auto auto;
    flex-basis: 100%;
    padding: 12px;
  }

  .home-project-card img,
  .home-project-card-placeholder {
    height: 190px;
  }

  .home-project-card strong {
    font-size: 16px;
  }
}

@media (max-width: 420px) {
  .home-projects-shell {
    width: min(100% - 20px, 1120px);
  }

  .home-project-feature-media {
    min-height: 205px;
  }

  .home-project-card {
    grid-template-rows: 168px auto auto;
  }

  .home-project-card img,
  .home-project-card-placeholder {
    height: 168px;
  }
}

/* True final footer button layout override. */
.site-footer .container.footer-grid {
  display: grid !important;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.8fr) !important;
  gap: clamp(18px, 3vw, 38px) !important;
  align-items: center !important;
  width: min(1160px, calc(100% - 34px)) !important;
  padding: 22px 0 14px !important;
}

.site-footer .footer-brand {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  gap: 10px 14px !important;
  align-items: center !important;
}

.site-footer .footer-logo {
  grid-row: 1 / span 2 !important;
  width: clamp(78px, 8vw, 108px) !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.site-footer p {
  max-width: 320px !important;
  margin: 0 !important;
  font-size: 12.5px !important;
  line-height: 1.55 !important;
}

.site-footer .footer-links {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
  align-items: center !important;
  align-content: center !important;
  gap: 8px !important;
  min-width: 0 !important;
}

.site-footer[dir="ltr"] .footer-links {
  justify-content: flex-start !important;
}

.site-footer .footer-link-group {
  display: contents !important;
  padding: 0 !important;
  border: 0 !important;
}

.site-footer .footer-link-group h2 {
  display: none !important;
}

.site-footer .footer-links a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 30px !important;
  width: auto !important;
  padding: 7px 12px !important;
  border: 1px solid rgba(97, 55, 62, 0.14) !important;
  border-radius: 999px !important;
  color: var(--burgundy) !important;
  background: rgba(255, 255, 255, 0.68) !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  transform: none !important;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease !important;
}

.site-footer .footer-links a:hover,
.site-footer .footer-links a:focus-visible {
  color: #241116 !important;
  border-color: var(--apricot) !important;
  background: var(--honey) !important;
  transform: none !important;
}

body.is-dark .site-footer .footer-links a {
  color: var(--honey) !important;
  border-color: rgba(255, 228, 175, 0.2) !important;
  background: rgba(0, 0, 0, 0.42) !important;
}

body.is-dark .site-footer .footer-links a:hover,
body.is-dark .site-footer .footer-links a:focus-visible {
  color: #000 !important;
  border-color: var(--honey) !important;
  background: var(--honey) !important;
}

.site-footer .footer-bottom {
  width: min(1160px, calc(100% - 34px)) !important;
  padding: 9px 0 12px !important;
}

@media (max-width: 900px) {
  .site-footer .container.footer-grid {
    grid-template-columns: 1fr !important;
    align-items: start !important;
    gap: 16px !important;
  }

  .site-footer .footer-links,
  .site-footer[dir="ltr"] .footer-links {
    justify-content: flex-start !important;
  }

  .site-footer[dir="rtl"] .footer-links {
    justify-content: flex-end !important;
  }
}

@media (max-width: 560px) {
  .site-footer .container.footer-grid,
  .site-footer .footer-bottom {
    width: min(100% - 26px, 1160px) !important;
  }

  .site-footer .container.footer-grid {
    padding-block: 18px 12px !important;
  }

  .site-footer .footer-brand {
    grid-template-columns: auto minmax(0, 1fr) !important;
  }

  .site-footer .footer-logo {
    width: 72px !important;
  }

  .site-footer .footer-links {
    gap: 7px !important;
  }

  .site-footer .footer-links a {
    min-height: 28px !important;
    padding: 6px 10px !important;
    font-size: 12px !important;
  }
}

/* Footer compact button layout override. */
.site-footer .container.footer-grid {
  display: grid !important;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.8fr) !important;
  gap: clamp(18px, 3vw, 38px) !important;
  align-items: center !important;
  width: min(1160px, calc(100% - 34px)) !important;
  padding: 22px 0 14px !important;
}

.site-footer .footer-brand {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  gap: 10px 14px !important;
  align-items: center !important;
}

.site-footer .footer-logo {
  grid-row: 1 / span 2 !important;
  width: clamp(78px, 8vw, 108px) !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.site-footer p {
  max-width: 320px !important;
  margin: 0 !important;
  font-size: 12.5px !important;
  line-height: 1.55 !important;
}

.site-footer .footer-links {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
  align-items: center !important;
  align-content: center !important;
  gap: 8px !important;
  min-width: 0 !important;
}

.site-footer[dir="ltr"] .footer-links {
  justify-content: flex-start !important;
}

.site-footer .footer-link-group {
  display: contents !important;
  padding: 0 !important;
  border: 0 !important;
}

.site-footer .footer-link-group h2 {
  display: none !important;
}

.site-footer .footer-links a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 30px !important;
  width: auto !important;
  padding: 7px 12px !important;
  border: 1px solid rgba(97, 55, 62, 0.14) !important;
  border-radius: 999px !important;
  color: var(--burgundy) !important;
  background: rgba(255, 255, 255, 0.68) !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  transform: none !important;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease !important;
}

.site-footer .footer-links a:hover,
.site-footer .footer-links a:focus-visible {
  color: #241116 !important;
  border-color: var(--apricot) !important;
  background: var(--honey) !important;
  transform: none !important;
}

body.is-dark .site-footer .footer-links a {
  color: var(--honey) !important;
  border-color: rgba(255, 228, 175, 0.2) !important;
  background: rgba(0, 0, 0, 0.42) !important;
}

body.is-dark .site-footer .footer-links a:hover,
body.is-dark .site-footer .footer-links a:focus-visible {
  color: #000 !important;
  border-color: var(--honey) !important;
  background: var(--honey) !important;
}

.site-footer .footer-bottom {
  width: min(1160px, calc(100% - 34px)) !important;
  padding: 9px 0 12px !important;
}

@media (max-width: 900px) {
  .site-footer .container.footer-grid {
    grid-template-columns: 1fr !important;
    align-items: start !important;
    gap: 16px !important;
  }

  .site-footer .footer-links,
  .site-footer[dir="ltr"] .footer-links {
    justify-content: flex-start !important;
  }

  .site-footer[dir="rtl"] .footer-links {
    justify-content: flex-end !important;
  }
}

@media (max-width: 560px) {
  .site-footer .container.footer-grid,
  .site-footer .footer-bottom {
    width: min(100% - 26px, 1160px) !important;
  }

  .site-footer .container.footer-grid {
    padding-block: 18px 12px !important;
  }

  .site-footer .footer-brand {
    grid-template-columns: auto minmax(0, 1fr) !important;
  }

  .site-footer .footer-logo {
    width: 72px !important;
  }

  .site-footer .footer-links {
    gap: 7px !important;
  }

  .site-footer .footer-links a {
    min-height: 28px !important;
    padding: 6px 10px !important;
    font-size: 12px !important;
  }
}

/* Compact footer final pass. */
.site-footer {
  color: var(--burgundy) !important;
  background:
    linear-gradient(rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.96)),
    url("logo/pattern light 2.svg") center / 560px auto repeat !important;
  border-top: 1px solid rgba(97, 55, 62, 0.14) !important;
  font-family: "IBM Plex Sans Arabic", Montserrat, sans-serif !important;
}

body.is-dark .site-footer {
  color: var(--light-cream) !important;
  background:
    linear-gradient(rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.94)),
    url("logo/pattern dark 1.svg") center / 560px auto repeat !important;
  border-top-color: rgba(255, 228, 175, 0.16) !important;
}

.site-footer .container.footer-grid {
  display: grid !important;
  grid-template-columns: minmax(210px, 0.78fr) minmax(0, 1.65fr) !important;
  gap: clamp(20px, 3.5vw, 46px) !important;
  align-items: start !important;
  width: min(1160px, calc(100% - 34px)) !important;
  padding: 26px 0 18px !important;
}

.footer-brand {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  gap: 12px 14px !important;
  align-items: center !important;
  align-content: start !important;
}

.footer-logo {
  grid-row: span 2;
  width: clamp(86px, 9vw, 122px) !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.site-footer p {
  max-width: 310px !important;
  margin: 0 !important;
  color: rgba(97, 55, 62, 0.72) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.65 !important;
}

body.is-dark .site-footer p {
  color: rgba(255, 239, 207, 0.72) !important;
}

.footer-links {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(14px, 2.4vw, 30px) !important;
  min-width: 0 !important;
}

.footer-link-group {
  display: flex !important;
  flex-wrap: wrap !important;
  align-content: flex-start !important;
  gap: 7px 12px !important;
  min-width: 0 !important;
  padding-inline-start: 14px !important;
  border-inline-start: 1px solid rgba(97, 55, 62, 0.14) !important;
}

body.is-dark .footer-link-group {
  border-inline-start-color: rgba(255, 228, 175, 0.17) !important;
}

.footer-link-group h2 {
  flex: 0 0 100%;
  margin: 0 0 2px !important;
  color: var(--burgundy) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
}

body.is-dark .footer-link-group h2 {
  color: var(--honey) !important;
}

.footer-links a {
  width: auto !important;
  color: rgba(97, 55, 62, 0.72) !important;
  font-size: 12.5px !important;
  font-weight: 750 !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: color 160ms ease, transform 160ms ease !important;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #000 !important;
  transform: translateY(-1px) !important;
}

body.is-dark .footer-links a {
  color: rgba(255, 239, 207, 0.72) !important;
}

body.is-dark .footer-links a:hover,
body.is-dark .footer-links a:focus-visible {
  color: #fff !important;
}

.footer-bottom {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 14px !important;
  width: min(1160px, calc(100% - 34px)) !important;
  margin-inline: auto !important;
  padding: 10px 0 14px !important;
  border-top: 1px solid rgba(97, 55, 62, 0.12) !important;
  color: rgba(97, 55, 62, 0.62) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
}

body.is-dark .footer-bottom {
  border-top-color: rgba(255, 228, 175, 0.14) !important;
  color: rgba(255, 239, 207, 0.58) !important;
}

.site-footer[dir="rtl"],
.site-footer[dir="rtl"] .footer-brand,
.site-footer[dir="rtl"] .footer-link-group {
  direction: rtl !important;
  text-align: right !important;
}

.site-footer[dir="ltr"],
.site-footer[dir="ltr"] .footer-brand,
.site-footer[dir="ltr"] .footer-link-group {
  direction: ltr !important;
  text-align: left !important;
}

@media (max-width: 980px) {
  .site-footer .container.footer-grid {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    padding-block: 24px 16px !important;
  }

  .footer-brand {
    grid-template-columns: auto minmax(0, 1fr) !important;
  }

  .footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .footer-bottom {
    flex-wrap: wrap !important;
  }
}

@media (max-width: 520px) {
  .site-footer .container.footer-grid,
  .footer-bottom {
    width: min(100% - 26px, 1160px) !important;
  }

  .footer-brand {
    grid-template-columns: auto minmax(0, 1fr) !important;
    gap: 10px 12px !important;
  }

  .footer-logo {
    width: 82px !important;
  }

  .site-footer p {
    font-size: 12.5px !important;
    line-height: 1.55 !important;
  }

  .footer-links {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .footer-link-group {
    padding-inline-start: 0 !important;
    padding-block-start: 10px !important;
    border-inline-start: 0 !important;
    border-block-start: 1px solid rgba(97, 55, 62, 0.12) !important;
  }

  body.is-dark .footer-link-group {
    border-block-start-color: rgba(255, 228, 175, 0.14) !important;
  }

  .footer-bottom {
    display: grid !important;
    gap: 6px !important;
    padding-block: 10px 12px !important;
  }
}

body.lang-ar .home-projects-section,
body.lang-ar .home-projects-shell,
body.lang-ar .home-projects-head,
body.lang-ar .home-project-feature-copy,
body.lang-ar .home-project-card {
  direction: rtl !important;
  text-align: right !important;
}

body.lang-ar .home-projects-head {
  width: 100%;
}

body.lang-ar .home-projects-head > div {
  text-align: right !important;
}

body.lang-ar .home-projects-head h2,
body.lang-ar .home-projects-head span,
body.lang-ar .home-project-feature-copy h3,
body.lang-ar .home-project-feature-copy p,
body.lang-ar .home-project-card strong {
  text-align: right !important;
}

body.lang-ar .home-project-feature-copy > span,
body.lang-ar .home-project-card > span,
body.lang-ar .home-project-feature-action {
  justify-self: start !important;
}

body.lang-ar .home-project-track {
  direction: rtl !important;
}

@media (max-width: 980px) {
  body.lang-ar .home-projects-head {
    align-items: flex-end !important;
  }

  body.lang-ar .home-projects-head > div,
  body.lang-ar .home-projects-controls {
    align-self: flex-end !important;
  }
}

/* Final projects grid: no carousel arrows, four equal cards, RTL-first Arabic. */
.home-projects-section .home-projects-controls,
.home-projects-section [data-project-prev],
.home-projects-section [data-project-next],
.home-projects-section .home-project-viewport {
  display: none !important;
}

.home-projects-section .home-projects-shell {
  width: min(1180px, calc(100% - 36px)) !important;
}

.home-projects-section .home-projects-head {
  display: flex !important;
  justify-content: flex-start !important;
  width: 100% !important;
}

body.lang-ar .home-projects-section .home-projects-head,
.home-projects-section[dir="rtl"] .home-projects-head {
  align-items: flex-end !important;
  direction: rtl !important;
  text-align: right !important;
}

body.lang-ar .home-projects-section .home-projects-head > div,
.home-projects-section[dir="rtl"] .home-projects-head > div {
  justify-items: start !important;
  margin-inline-start: 0 !important;
  margin-inline-end: 0 !important;
  text-align: right !important;
}

.home-projects-section[dir="ltr"] .home-projects-head {
  align-items: flex-start !important;
  direction: ltr !important;
  text-align: left !important;
}

.home-projects-section .home-project-carousel {
  display: grid !important;
  gap: 24px !important;
}

.home-projects-section .home-project-track {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
  direction: inherit !important;
  transform: none !important;
  touch-action: auto !important;
}

.home-projects-section .home-project-card {
  display: grid !important;
  grid-template-rows: 178px auto 1fr !important;
  min-width: 0 !important;
  min-height: 292px !important;
  height: 100% !important;
  padding: 13px !important;
  color: var(--project-text) !important;
  text-decoration: none !important;
}

.home-projects-section .home-project-card img,
.home-projects-section .home-project-card-placeholder {
  width: 100% !important;
  height: 178px !important;
}

.home-projects-section .home-project-card strong {
  min-height: 3.9em !important;
  text-align: inherit !important;
}

.home-projects-section .home-project-more {
  justify-self: center;
  padding: 12px 24px;
  border: 1px solid rgba(228, 171, 123, 0.68);
  border-radius: 4px;
  color: #241116;
  background: var(--apricot);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.home-projects-section .home-project-more:hover,
.home-projects-section .home-project-more:focus-visible {
  color: #000;
  border-color: var(--honey);
  background: var(--honey);
}

body.is-dark .home-projects-section .home-project-more {
  color: #241116;
}

@media (max-width: 1060px) {
  .home-projects-section .home-project-track {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .home-projects-section {
    padding-block: 52px 66px !important;
  }

  .home-projects-section .home-projects-shell {
    width: min(100% - 24px, 1180px) !important;
    gap: 22px !important;
  }

  .home-projects-section .home-project-track {
    grid-template-columns: 1fr !important;
  }

  .home-projects-section .home-project-card {
    grid-template-rows: 210px auto 1fr !important;
    min-height: 322px !important;
  }

  .home-projects-section .home-project-card img,
  .home-projects-section .home-project-card-placeholder {
    height: 210px !important;
  }
}

/* Hard alignment fix for the projects section. */
.home-projects-section .home-project-feature {
  display: none !important;
}

.home-projects-section.is-rtl .home-projects-shell,
.home-projects-section[dir="rtl"] .home-projects-shell {
  direction: rtl !important;
}

.home-projects-section.is-rtl .home-projects-head,
.home-projects-section[dir="rtl"] .home-projects-head {
  display: block !important;
  direction: rtl !important;
  text-align: right !important;
}

.home-projects-section.is-rtl .home-projects-head > div,
.home-projects-section[dir="rtl"] .home-projects-head > div {
  display: grid !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin-right: 0 !important;
  margin-left: auto !important;
  justify-items: start !important;
  text-align: right !important;
}

.home-projects-section.is-ltr .home-projects-head,
.home-projects-section[dir="ltr"] .home-projects-head {
  display: block !important;
  direction: ltr !important;
  text-align: left !important;
}

.home-projects-section.is-ltr .home-projects-head > div,
.home-projects-section[dir="ltr"] .home-projects-head > div {
  display: grid !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin-right: auto !important;
  margin-left: 0 !important;
  justify-items: start !important;
  text-align: left !important;
}

.home-projects-section.is-rtl .home-project-track,
.home-projects-section[dir="rtl"] .home-project-track {
  direction: rtl !important;
}

.home-projects-section.is-ltr .home-project-track,
.home-projects-section[dir="ltr"] .home-project-track {
  direction: ltr !important;
}

/* Final footer composition and Wahi identity colors. */
.site-footer {
  position: relative;
  overflow: hidden;
  color: var(--burgundy) !important;
  background:
    linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)),
    url("logo/pattern light 2.svg") center / 680px auto repeat !important;
  border-top: 1px solid rgba(97, 55, 62, 0.16) !important;
  font-family: "IBM Plex Sans Arabic", Montserrat, sans-serif;
}

body.is-dark .site-footer {
  color: var(--light-cream) !important;
  background:
    linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)),
    url("logo/pattern dark 1.svg") center / 620px auto repeat !important;
  border-top-color: rgba(255, 228, 175, 0.16) !important;
}

.site-footer .container {
  width: min(1120px, calc(100% - 36px));
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(0, 1.45fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: start;
  padding: clamp(44px, 7vw, 78px) 0 34px;
}

.footer-brand {
  display: grid;
  gap: 18px;
  align-content: start;
}

.footer-logo {
  width: clamp(138px, 16vw, 188px) !important;
  max-width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.site-footer p {
  max-width: 390px;
  margin: 0;
  color: rgba(97, 55, 62, 0.78) !important;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.9;
}

body.is-dark .site-footer p {
  color: rgba(255, 239, 207, 0.78) !important;
}

.footer-links {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
  min-width: 0 !important;
}

.footer-link-group {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding-inline-start: 18px;
  border-inline-start: 1px solid rgba(97, 55, 62, 0.16);
}

body.is-dark .footer-link-group {
  border-inline-start-color: rgba(255, 228, 175, 0.18);
}

.footer-link-group h2 {
  margin: 0 0 4px;
  color: var(--burgundy);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
}

body.is-dark .footer-link-group h2 {
  color: var(--honey);
}

.footer-links a {
  width: fit-content;
  color: rgba(97, 55, 62, 0.72) !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #000 !important;
  transform: translateX(-3px);
}

body.is-dark .footer-links a {
  color: rgba(255, 239, 207, 0.72) !important;
}

body.is-dark .footer-links a:hover,
body.is-dark .footer-links a:focus-visible {
  color: #fff !important;
}

.site-footer[dir="ltr"] .footer-links a:hover,
.site-footer[dir="ltr"] .footer-links a:focus-visible {
  transform: translateX(3px);
}

.footer-bottom {
  display: flex !important;
  justify-content: space-between;
  gap: 16px;
  width: min(1120px, calc(100% - 36px));
  margin-inline: auto;
  padding: 18px 0 22px !important;
  border-top: 1px solid rgba(97, 55, 62, 0.14) !important;
  color: rgba(97, 55, 62, 0.68) !important;
  font-size: 13px;
  font-weight: 700;
}

body.is-dark .footer-bottom {
  border-top-color: rgba(255, 228, 175, 0.16) !important;
  color: rgba(255, 239, 207, 0.62) !important;
}

.site-footer[dir="rtl"],
.site-footer[dir="rtl"] .footer-brand,
.site-footer[dir="rtl"] .footer-link-group {
  direction: rtl;
  text-align: right;
}

.site-footer[dir="ltr"],
.site-footer[dir="ltr"] .footer-brand,
.site-footer[dir="ltr"] .footer-link-group {
  direction: ltr;
  text-align: left;
}

@media (max-width: 900px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .site-footer .container,
  .footer-bottom {
    width: min(100% - 28px, 1120px);
  }

  .site-footer .footer-grid {
    padding-block: 42px 26px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-link-group {
    padding-inline-start: 0;
    padding-block-start: 14px;
    border-inline-start: 0;
    border-block-start: 1px solid rgba(97, 55, 62, 0.14);
  }

  body.is-dark .footer-link-group {
    border-block-start-color: rgba(255, 228, 175, 0.16);
  }

  .footer-bottom {
    display: grid !important;
    justify-content: stretch;
    text-align: inherit;
  }
}

.press-release-section {
  --press-dark: var(--burgundy);
  --press-accent: var(--apricot);
  --press-soft: var(--light-cream);
  --press-muted: var(--taupe);
  position: relative;
  overflow: hidden;
  padding: 72px 0 76px;
  color: var(--press-dark);
  font-family: "IBM Plex Sans Arabic", Montserrat, sans-serif;
  background:
    radial-gradient(circle at 12px 12px, rgba(228, 171, 123, 0.1) 1.5px, transparent 2px) 0 0 / 26px 26px,
    linear-gradient(180deg, #fff 0%, #fff 100%);
}

.press-release-section::after {
  content: none;
}

.press-release-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) auto minmax(420px, 1.18fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
  width: min(1120px, calc(100% - 36px));
  margin-inline: auto;
}

.press-release-section[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

.press-release-section[dir="ltr"] {
  direction: ltr;
  text-align: left;
}

.press-release-intro {
  display: grid;
  gap: 14px;
  max-width: 360px;
}

.press-release-intro > span {
  color: var(--press-accent);
  font-family: "IBM Plex Sans Arabic", Montserrat, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
}

.press-release-intro h2 {
  margin: 0;
  color: var(--press-dark);
  font-family: "IBM Plex Sans Arabic", Montserrat, sans-serif;
  font-size: clamp(42px, 5vw, 74px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0;
}

.press-release-intro p {
  max-width: 335px;
  margin: 0;
  color: var(--press-muted);
  font-size: 15px;
  line-height: 1.7;
}

.press-release-intro a {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 10px;
  padding: 11px 18px;
  border-radius: 4px;
  color: #fff;
  background: var(--press-accent);
  font-family: "IBM Plex Sans Arabic", Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition: background 180ms ease;
}

.press-release-intro a:hover,
.press-release-intro a:focus-visible {
  color: #fff;
  background: var(--press-dark);
}

.press-release-controls {
  display: grid;
  gap: 9px;
  justify-items: center;
}

.press-release-controls button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(97, 55, 62, 0.18);
  border-radius: 50%;
  color: var(--press-dark);
  background: #fff;
  font: 700 16px/1 "IBM Plex Sans Arabic", Montserrat, sans-serif;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.press-release-controls button:hover,
.press-release-controls button:focus-visible {
  border-color: rgba(228, 171, 123, 0.68);
  color: #000;
  background: rgba(255, 228, 175, 0.2);
}

.press-release-viewport {
  position: relative;
  min-height: 198px;
  overflow: hidden;
}

.press-release-track {
  position: relative;
  min-height: 198px;
}

.press-release-card {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 166px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(97, 55, 62, 0.16);
  border-radius: 14px;
  color: var(--press-dark);
  background: #fff;
  opacity: 0;
  transform: translateY(34px);
  pointer-events: none;
  transition: opacity 260ms ease, transform 320ms ease, border-color 220ms ease;
}

.press-release-card.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.press-release-card.is-exiting-up {
  opacity: 0;
  transform: translateY(-34px);
}

.press-release-card.is-exiting-down {
  opacity: 0;
  transform: translateY(34px);
}

.press-release-card.is-entering-up {
  transform: translateY(34px);
}

.press-release-card.is-entering-down {
  transform: translateY(-34px);
}

.press-release-card:hover,
.press-release-card:focus-visible {
  border-color: rgba(228, 171, 123, 0.86);
}

.press-release-card img {
  width: 166px;
  height: 150px;
  border-radius: 10px;
  object-fit: cover;
}

.press-release-card span {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.press-release-card strong {
  color: var(--press-dark);
  font-family: "IBM Plex Sans Arabic", Montserrat, sans-serif;
  font-size: clamp(22px, 2.15vw, 32px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
  transition: color 220ms ease;
}

.press-release-card:hover strong,
.press-release-card:focus-visible strong {
  color: #000;
}

.press-release-card time {
  color: var(--press-muted);
  font-family: "IBM Plex Sans Arabic", Montserrat, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

body.is-dark .press-release-section {
  background:
    radial-gradient(circle at 12px 12px, rgba(228, 171, 123, 0.1) 1.5px, transparent 2px) 0 0 / 26px 26px,
    #000;
}

body.is-dark .press-release-intro h2,
body.is-dark .press-release-intro > span,
body.is-dark .press-release-card strong,
body.is-dark .press-release-card,
body.is-dark .press-release-controls button {
  color: var(--press-soft);
}

body.is-dark .press-release-card,
body.is-dark .press-release-controls button {
  border-color: rgba(255, 228, 175, 0.26);
  background: #000;
}

body.is-dark .press-release-intro p,
body.is-dark .press-release-card time {
  color: var(--press-accent);
}

body.is-dark .press-release-intro a {
  color: #000;
  background: var(--press-soft);
}

body.is-dark .press-release-intro a:hover,
body.is-dark .press-release-intro a:focus-visible {
  color: #fff;
  background: var(--press-dark);
}

body.is-dark .press-release-controls button:hover,
body.is-dark .press-release-controls button:focus-visible {
  color: #fff;
  background: rgba(228, 171, 123, 0.18);
}

body.is-dark .press-release-card:hover strong,
body.is-dark .press-release-card:focus-visible strong {
  color: #fff;
}

.press-release-section[dir="rtl"] .press-release-intro a {
  justify-self: end;
}

.press-release-section[dir="rtl"] .press-release-card {
  direction: rtl;
}

.press-release-section[dir="ltr"] .press-release-card {
  direction: ltr;
}

@media (max-width: 900px) {
  .press-release-shell {
    grid-template-columns: minmax(220px, 0.8fr) auto minmax(320px, 1fr);
    gap: 24px;
  }

  .press-release-card {
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 18px;
  }

  .press-release-card img {
    width: 130px;
    height: 132px;
  }
}

@media (max-width: 720px) {
  .press-release-section {
    padding: 54px 0 64px;
  }

  .press-release-shell {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .press-release-intro {
    max-width: none;
  }

  .press-release-controls {
    grid-template-columns: repeat(2, 34px);
    justify-content: start;
  }

  .press-release-controls [data-press-prev] {
    transform: rotate(-90deg);
  }

  .press-release-controls [data-press-next] {
    transform: rotate(-90deg);
  }

  .press-release-viewport,
  .press-release-track {
    min-height: 310px;
  }

  .press-release-card {
    grid-template-columns: 1fr;
    align-content: start;
  }

  .press-release-card img {
    width: 100%;
    height: 156px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "IBM Plex Sans Arabic", Montserrat;
  line-height: 1.8;
  direction: rtl;
  text-align: right;
}

html[dir="ltr"] body {
  direction: ltr;
  text-align: left;
}

body.menu-open,
body.search-open {
  overflow: hidden;
}

body.is-dark {
  --cream: #000000;
  --white: #000000;
  --ink: #ffefcf;
  --muted: #ffe4af;
  --line: rgba(255, 239, 207, 0.18);
  --shadow: 0 22px 70px rgba(255, 239, 207, 0.1);
}

.logo-light {
  display: none;
}

body.is-dark .logo-dark {
  display: none;
}

body.is-dark .logo-light {
  display: block;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--light-cream);
  background: var(--burgundy);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.back-to-top {
  position: fixed;
  inset-inline-end: max(18px, env(safe-area-inset-right));
  inset-block-end: max(18px, env(safe-area-inset-bottom));
  z-index: 70;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(97, 55, 62, 0.22);
  border-radius: 7px;
  color: #fff;
  background: var(--burgundy);
  box-shadow: 0 8px 22px rgba(40, 20, 24, 0.2);
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.back-to-top[hidden] {
  display: grid;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top span {
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  color: var(--burgundy);
  background: var(--light-cream);
  outline: 2px solid var(--apricot);
  outline-offset: 2px;
}

body.is-dark .back-to-top {
  border-color: rgba(255, 228, 175, 0.45);
  color: #000;
  background: var(--light-cream);
  box-shadow: none;
}

body.is-dark .back-to-top:hover,
body.is-dark .back-to-top:focus-visible {
  color: var(--light-cream);
  background: var(--burgundy);
}

@media (max-width: 600px) {
  .back-to-top {
    width: 40px;
    height: 40px;
    inset-inline-end: max(14px, env(safe-area-inset-right));
    inset-block-end: max(14px, env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: none;
  }
}

.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(255, 239, 207, 0.38), rgba(255, 239, 207, 0.06));
  backdrop-filter: blur(2px);
}

body.is-dark .site-header {
  background: linear-gradient(180deg, rgba(97, 55, 62, 0.44), rgba(97, 55, 62, 0.08));
}

.header-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  width: min(1460px, calc(100% - 34px));
  min-height: 76px;
  margin-inline: auto;
}

.brand {
  justify-self: end;
}

.brand img {
  width: 128px;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.2vw, 22px);
  min-width: 0;
}

.primary-nav > a,
.nav-item {
  position: relative;
}

.primary-nav > a,
.nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 4px 0;
  color: var(--burgundy);
  font-size: clamp(13px, 0.88vw, 15px);
  font-weight: 800;
  white-space: nowrap;
}

body.is-dark .nav-item > a,
body.is-dark .primary-nav > a {
  color: var(--light-cream);
}

.primary-nav > a:hover,
.primary-nav > a.is-active,
.nav-item > a:hover,
.nav-item > a.is-active {
  color: var(--rose);
}

body.is-dark .primary-nav > a:hover,
body.is-dark .primary-nav > a.is-active,
body.is-dark .nav-item > a:hover,
body.is-dark .nav-item > a.is-active {
  color: var(--honey);
}

.chevron {
  color: var(--muted);
  font-size: 15px;
  transform: translateY(-1px);
}

.submenu {
  position: absolute;
  inset-block-start: 100%;
  inset-inline-end: 0;
  display: grid;
  gap: 4px;
  min-width: 250px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.submenu::before {
  content: '';
  position: absolute;
  inset-block-start: -10px;
  inset-inline: 0;
  height: 10px;
}

.submenu a {
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--burgundy);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.submenu a:hover,
.submenu a.is-active {
  color: var(--burgundy);
  background: var(--honey);
}

body.is-dark .submenu {
  background: #000;
}

.nav-item:hover .submenu,
.nav-item:focus-within .submenu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.header-tools {
  display: flex;
  align-items: center;
  justify-self: start;
  gap: 8px;
}

html[dir="ltr"] .header-tools {
  justify-self: end;
}

.icon-button,
.language-pill,
.menu-toggle,
.menu-close {
  display: inline-grid;
  place-items: center;
  border: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.icon-button {
  width: 28px;
  height: 28px;
}

.search-icon {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.search-icon::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 2px;
  inset-inline-end: -6px;
  inset-block-end: -3px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: center;
}

.theme-icon {
  position: relative;
  display: block;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  box-shadow: inset 6px 0 0 var(--apricot);
}

body.is-dark .theme-icon {
  width: 8px;
  height: 8px;
  color: var(--honey);
  background: currentColor;
  box-shadow:
    0 -9px 0 -2px currentColor,
    0 9px 0 -2px currentColor,
    9px 0 0 -2px currentColor,
    -9px 0 0 -2px currentColor,
    6px 6px 0 -2px currentColor,
    -6px 6px 0 -2px currentColor,
    6px -6px 0 -2px currentColor,
    -6px -6px 0 -2px currentColor;
}

.language-pill {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 228, 175, 0.72);
  font-size: 12px;
  font-weight: 900;
}

.join-button {
  min-width: 114px;
  padding: 10px 20px;
  border: 1px solid rgba(97, 55, 62, 0.18);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 239, 207, 0.42);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  align-content: center;
  gap: 3px;
  border-radius: 50%;
  transition: background 160ms ease, transform 160ms ease;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transition: width 160ms ease, background 160ms ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  background: rgba(255, 228, 175, 0.55);
}

.menu-toggle:hover span:nth-child(2),
.menu-toggle:focus-visible span:nth-child(2) {
  width: 15px;
}

.search-panel {
  position: fixed;
  inset-block-start: 76px;
  inset-inline: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 16px;
}

.search-panel[hidden] {
  display: none;
}

.search-box,
.overlay-search {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  width: min(420px, calc(100vw - 48px));
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 40px rgba(97, 55, 62, 0.12);
}

.search-box input,
.overlay-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
}

.search-submit {
  color: var(--apricot);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  grid-template-rows: auto auto 1fr;
  justify-items: center;
  gap: 20px;
  padding: 38px 24px 56px;
  background: #fff;
  overflow: auto;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

body.is-dark .menu-overlay {
  background: #000;
}

.menu-overlay.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.menu-close {
  position: absolute;
  inset-block-start: 26px;
  inset-inline-start: 26px;
  width: 38px;
  height: 38px;
  font-size: 34px;
  line-height: 1;
}

.overlay-mark {
  position: absolute;
  inset-block-start: 31px;
  inset-inline-end: 54px;
  width: 58px;
}

.overlay-search {
  margin-block-start: 3px;
  width: min(300px, calc(100vw - 190px));
}

.overlay-nav {
  display: grid;
  gap: 22px;
  width: min(640px, 100%);
  margin-top: 14px;
  text-align: center;
}

.overlay-group {
  display: grid;
  gap: 11px;
}

.overlay-main {
  color: var(--ink);
  font-size: clamp(24px, 4.6vw, 38px);
  font-weight: 900;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.overlay-children {
  display: grid;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(97, 55, 62, 0.16);
}

.overlay-children a {
  color: var(--taupe);
  font-size: clamp(17px, 3vw, 24px);
  font-weight: 800;
  line-height: 1.25;
}

.hero-imitad {
  position: relative;
  display: grid;
  min-height: 100vh;
  padding: 118px max(28px, 8vw) 76px;
  overflow: hidden;
  background: var(--cream);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 58%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.18;
  filter: grayscale(1);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.76) 45%, #ffffff 76%),
    linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 20%);
}

body.is-dark .hero-imitad,
body.is-dark .section-band,
body.is-dark .section-muted {
  background: #000;
}

body.is-dark .section {
  background: #000;
}

body.is-dark .section-muted,
body.is-dark .latest-section {
  background: #000;
}

body.is-dark h2,
body.is-dark .section-head h2,
body.is-dark .page-hero h1,
body.is-dark .page-hero p,
body.is-dark .text-link,
body.is-dark .contact-form label {
  color: var(--light-cream);
}

body.is-dark .eyebrow,
body.is-dark .news-card span,
body.is-dark .member-card span {
  color: var(--honey);
}

body.is-dark .statement-grid article,
body.is-dark .program-card,
body.is-dark .news-card,
body.is-dark .home-news-item,
body.is-dark .content-aside,
body.is-dark .contact-form,
body.is-dark .member-card,
body.is-dark .link-grid a {
  color: var(--light-cream);
  background: linear-gradient(180deg, rgba(97, 55, 62, 0.48), rgba(0, 0, 0, 0.96));
  border-color: rgba(97, 55, 62, 0.85);
}

body.is-dark .statement-grid article h3,
body.is-dark .program-card h3,
body.is-dark .news-card h3,
body.is-dark .home-news-item h3,
body.is-dark .content-aside strong,
body.is-dark .link-grid a,
body.is-dark .contact-form label {
  color: var(--light-cream);
}

body.is-dark .statement-grid article p,
body.is-dark .program-card p,
body.is-dark .home-news-item time,
body.is-dark .content-aside span {
  color: var(--taupe);
}

body.is-dark .program-card:hover,
body.is-dark .news-card:hover,
body.is-dark .home-news-item:hover,
body.is-dark .link-grid a:hover {
  border-color: rgba(228, 171, 123, 0.62);
}

body.is-dark .program-card:hover h3,
body.is-dark .news-card:hover h3,
body.is-dark .home-news-item:hover h3,
body.is-dark .link-grid a:hover {
  color: #fff;
}

.about-page {
  --about-bg: #fff;
  --about-surface: #fff;
  --about-soft: rgba(255, 228, 175, 0.44);
  --about-ink: var(--burgundy);
  --about-muted: var(--taupe);
  --about-accent: var(--apricot);
  --about-line: rgba(97, 55, 62, 0.16);
  --about-shadow: 0 24px 70px rgba(97, 55, 62, 0.12);
  direction: rtl;
  text-align: right;
  color: var(--about-ink);
  background: var(--about-bg);
  font-family: "IBM Plex Sans Arabic", Montserrat, sans-serif;
  overflow: hidden;
}

body.is-dark .about-page {
  --about-bg: #000;
  --about-surface: #000;
  --about-soft: rgba(255, 228, 175, 0.08);
  --about-ink: var(--light-cream);
  --about-muted: var(--apricot);
  --about-line: rgba(255, 228, 175, 0.22);
  --about-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.about-container {
  width: min(1120px, calc(100% - 36px));
  margin-inline: auto;
}

.about-hero {
  position: relative;
  padding: clamp(92px, 12vw, 156px) 0 clamp(76px, 10vw, 120px);
  background:
    radial-gradient(circle at 14px 14px, rgba(228, 171, 123, 0.11) 1.4px, transparent 2px) 0 0 / 30px 30px,
    var(--about-bg);
}

body.is-dark .about-hero {
  background:
    radial-gradient(circle at 14px 14px, rgba(255, 228, 175, 0.08) 1.4px, transparent 2px) 0 0 / 30px 30px,
    #000;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(270px, 0.72fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
}

.about-kicker,
.about-section-label {
  display: inline-flex;
  width: fit-content;
  color: var(--about-accent);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.about-hero h1,
.about-section-head h2,
.about-editorial-block h2,
.about-identity-grid h2 {
  margin: 0;
  color: var(--about-ink);
  font-size: clamp(36px, 5vw, 74px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
}

.about-hero-copy {
  display: grid;
  gap: 22px;
}

.about-hero-copy p,
.about-editorial-block p,
.about-identity-grid p {
  max-width: 780px;
  margin: 0;
  color: var(--about-muted);
  font-size: clamp(17px, 1.55vw, 22px);
  font-weight: 500;
  line-height: 2;
}

.about-hero-card,
.about-identity-card,
.about-vision-card,
.about-value-card,
.about-direction-card,
.about-objective-row,
.about-structure-card,
.about-identity-section figure {
  border: 1px solid var(--about-line);
  border-radius: 8px;
  background: var(--about-surface);
  box-shadow: var(--about-shadow);
}

.about-hero-card {
  display: grid;
  place-items: center;
  gap: 22px;
  min-height: 330px;
  margin: 0;
  padding: 34px;
}

.about-hero-card img {
  width: min(230px, 72%);
  height: auto;
}

.about-hero-card figcaption {
  max-width: 280px;
  color: var(--about-muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.9;
  text-align: center;
}

.about-section {
  padding: clamp(58px, 8vw, 100px) 0;
  background: var(--about-bg);
}

.about-section:nth-of-type(even) {
  background:
    linear-gradient(180deg, var(--about-soft), transparent 76%),
    var(--about-bg);
}

.about-intro-grid,
.about-identity-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.62fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.about-editorial-block,
.about-section-head,
.about-identity-grid > div {
  display: grid;
  gap: 18px;
}

.about-section-head {
  max-width: 760px;
  margin-bottom: clamp(28px, 4vw, 46px);
}

.about-section-head h2,
.about-editorial-block h2,
.about-identity-grid h2 {
  font-size: clamp(30px, 4vw, 54px);
}

.about-identity-card {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 360px;
  padding: 30px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(97, 55, 62, 0.09) 1px, transparent 1px) 0 0 / 22px 100%,
    linear-gradient(180deg, rgba(255, 228, 175, 0.62), #fff);
}

body.is-dark .about-identity-card {
  background:
    linear-gradient(90deg, rgba(255, 228, 175, 0.12) 1px, transparent 1px) 0 0 / 22px 100%,
    #000;
}

.about-identity-card span {
  position: absolute;
  width: 154px;
  height: 154px;
  inset-inline-start: 42px;
  inset-block-start: 58px;
  border-radius: 50%;
  background: var(--about-accent);
  box-shadow: 90px 74px 0 rgba(97, 55, 62, 0.92);
}

.about-identity-card strong {
  position: relative;
  color: var(--about-ink);
  font-size: clamp(56px, 9vw, 110px);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: 0;
}

.about-identity-card em {
  position: relative;
  color: var(--about-muted);
  font-style: normal;
  font-size: 18px;
  font-weight: 800;
}

.about-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.about-vision-card {
  display: grid;
  gap: 20px;
  min-height: 320px;
  padding: clamp(28px, 4vw, 46px);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.about-vision-card.is-dark-card {
  color: var(--light-cream);
  background: var(--burgundy);
}

.about-vision-card span,
.about-direction-card small {
  color: var(--about-accent);
  font-size: 13px;
  font-weight: 800;
}

.about-vision-card p {
  margin: 0;
  color: inherit;
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 800;
  line-height: 1.55;
}

.about-vision-card:not(.is-dark-card) p {
  color: var(--about-ink);
}

.about-vision-card:hover {
  transform: translateY(-4px);
  border-color: rgba(228, 171, 123, 0.76);
}

.about-values-grid,
.about-structure-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.about-value-card,
.about-structure-card {
  display: grid;
  align-content: start;
  gap: 24px;
  min-height: 184px;
  padding: 26px;
  transition: transform 220ms ease, border-color 220ms ease, color 220ms ease;
}

.about-value-card span,
.about-direction-card > span,
.about-objective-row span,
.about-structure-card span {
  color: var(--about-accent);
  font-family: Montserrat, "IBM Plex Sans Arabic", sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.about-value-card h3,
.about-direction-card h3,
.about-structure-card h3 {
  margin: 0;
  color: var(--about-ink);
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 800;
  line-height: 1.25;
}

.about-value-card:hover,
.about-structure-card:hover,
.about-direction-card:hover,
.about-objective-row:hover {
  transform: translateY(-4px);
  border-color: rgba(228, 171, 123, 0.86);
}

.about-directions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.about-direction-card {
  display: grid;
  gap: 16px;
  min-height: 330px;
  padding: 30px;
  transition: transform 220ms ease, border-color 220ms ease;
}

.about-direction-card p {
  margin: 0;
  color: var(--about-muted);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.85;
}

.about-objectives {
  display: grid;
  gap: 16px;
}

.about-objective-row {
  position: relative;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 148px;
  padding: 26px 28px;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease;
}

.about-objective-row::before {
  content: "";
  position: absolute;
  inset-block: 22px;
  inset-inline-start: 0;
  width: 5px;
  background: var(--about-accent);
  transition: width 220ms ease, background 220ms ease;
}

.about-objective-row:hover::before {
  width: 10px;
  background: var(--burgundy);
}

body.is-dark .about-objective-row:hover::before {
  background: var(--light-cream);
}

.about-objective-row span {
  font-size: 28px;
}

.about-objective-row p {
  margin: 0;
  color: var(--about-ink);
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 750;
  line-height: 1.75;
}

.about-governance {
  padding: clamp(70px, 9vw, 118px) 0;
  background: var(--about-bg);
}

.about-governance article {
  max-width: 900px;
  margin-inline: auto;
  padding: clamp(34px, 6vw, 64px);
  border: 1px solid var(--about-line);
  border-radius: 8px;
  color: var(--about-ink);
  background: var(--about-soft);
  box-shadow: var(--about-shadow);
  text-align: center;
}

.about-governance p {
  margin: 22px 0 0;
  color: var(--about-ink);
  font-size: clamp(22px, 2.4vw, 36px);
  font-weight: 800;
  line-height: 1.75;
}

.about-structure-card {
  min-height: 132px;
  gap: 16px;
}

.about-structure-card h3 {
  font-size: clamp(20px, 1.7vw, 26px);
}

.about-identity-section {
  padding-bottom: clamp(80px, 10vw, 130px);
}

.about-identity-section figure {
  display: grid;
  place-items: center;
  min-height: 260px;
  margin: 0;
  padding: 36px;
}

.about-identity-section img {
  width: min(270px, 80%);
  height: auto;
}

.about-reveal {
  opacity: 1;
  transform: translateY(0);
}

.about-page.is-reveal-ready .about-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.about-page.is-reveal-ready .about-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .about-hero-grid,
  .about-intro-grid,
  .about-identity-grid,
  .about-vision-grid {
    grid-template-columns: 1fr;
  }

  .about-values-grid,
  .about-directions-grid,
  .about-structure-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-hero-card {
    min-height: 260px;
  }
}

@media (max-width: 980px) {
  .home-project-feature {
    grid-template-columns: 1fr;
  }

  .home-project-card {
    flex-basis: calc((100% - 18px) / 2);
  }
}

@media (max-width: 680px) {
  .home-projects-shell {
    width: min(100% - 28px, 1120px);
  }

  .home-projects-head {
    align-items: start;
    flex-direction: column;
  }

  .home-projects-head h2 {
    font-size: clamp(34px, 12vw, 50px);
  }

  .home-project-feature {
    padding: 12px;
  }

  .home-project-feature-media {
    min-height: 240px;
  }

  .home-project-card {
    flex-basis: 100%;
  }
}

@media (max-width: 620px) {
  .about-container {
    width: min(100% - 28px, 1120px);
  }

  .about-hero {
    padding-top: 78px;
  }

  .about-values-grid,
  .about-directions-grid,
  .about-structure-grid {
    grid-template-columns: 1fr;
  }

  .about-objective-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 24px;
  }

  .about-objective-row span {
    font-size: 22px;
  }

  .about-identity-card {
    min-height: 290px;
  }
}

body.is-dark .program-card:hover p,
body.is-dark .home-news-item:hover time {
  color: #fff;
}

body.is-dark .hero-bg img {
  opacity: 0.12;
}

body.is-dark .hero-bg::after {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.76) 45%, #000000 76%),
    linear-gradient(0deg, #000000 0%, rgba(0, 0, 0, 0) 20%);
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  justify-self: end;
  width: min(760px, 100%);
  text-align: right;
}

html[dir="ltr"] .hero-content {
  justify-self: start;
  text-align: left;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--rose);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-block-start: 0;
}

h1 {
  margin-block-end: 18px;
  color: var(--ink);
  font-size: clamp(42px, 5.6vw, 78px);
  line-height: 1.08;
  font-weight: 950;
}

h2 {
  margin-block-end: 18px;
  color: var(--burgundy);
  font-size: clamp(25px, 3vw, 40px);
  line-height: 1.25;
}

h3 {
  margin-block-end: 10px;
  color: var(--burgundy);
  font-size: 21px;
  line-height: 1.35;
}

p {
  color: var(--muted);
  font-size: 17px;
}

.hero-content p {
  max-width: 720px;
  margin-bottom: 28px;
  color: var(--taupe);
  font-size: clamp(18px, 1.6vw, 25px);
  line-height: 1.65;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 9px 22px;
  border: 1px solid transparent;
  border-radius: 0;
  font-weight: 900;
}

.button-primary {
  color: var(--light-cream);
  background: var(--apricot);
  box-shadow: 0 24px 55px rgba(228, 171, 123, 0.28);
}

.button-primary:hover {
  background: var(--taupe);
}

.button-quiet {
  color: var(--burgundy);
  background: rgba(255, 239, 207, 0.68);
  border-color: var(--line);
}

.button-light {
  color: var(--burgundy);
  background: var(--honey);
}

.hero-read {
  min-width: 150px;
}

.hero-dots {
  position: absolute;
  inset-block-end: 18px;
  inset-inline: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 14px;
}

.hero-dots span {
  width: 25px;
  height: 4px;
  background: var(--taupe);
}

.hero-dots .is-active {
  width: 50px;
  background: var(--apricot);
}

.hero-news-carousel {
  position: relative;
  min-height: 100vh;
  padding: 52px 0 0;
  color: var(--burgundy);
  background: #fff;
  overflow: hidden;
}

body.is-dark .hero-news-carousel {
  color: var(--light-cream);
  background: #000;
}

.hero-news-shell {
  position: relative;
  display: grid;
  width: 100%;
  min-height: calc(100vh - 52px);
  align-content: stretch;
}

.hero-news-viewport {
  overflow: hidden;
  min-height: calc(100vh - 52px);
}

.hero-news-track {
  min-height: calc(100vh - 52px);
  display: flex;
  direction: ltr;
  touch-action: pan-y;
  transition: transform 420ms ease;
}

.hero-news-slide {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 100%;
  min-height: calc(100vh - 52px);
  align-items: end;
  direction: rtl;
  text-align: right;
  isolation: isolate;
}

html[dir="ltr"] .hero-news-slide {
  direction: ltr;
  text-align: left;
}

.hero-news-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.035);
  filter: blur(4px) saturate(0.74) contrast(0.9) brightness(0.78);
}

body.is-dark .hero-news-media img {
  filter: blur(4px) saturate(0.62) contrast(0.88) brightness(0.52);
}

.hero-news-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.76) 44%, rgba(255, 255, 255, 0.24) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.46) 0%, rgba(0, 0, 0, 0) 44%);
}

html[dir="rtl"] .hero-news-slide::after {
  background:
    linear-gradient(270deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.76) 44%, rgba(255, 255, 255, 0.24) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.46) 0%, rgba(0, 0, 0, 0) 44%);
}

body.is-dark .hero-news-slide::after {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.78) 44%, rgba(0, 0, 0, 0.34) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 46%);
}

html[dir="rtl"] body.is-dark .hero-news-slide::after {
  background:
    linear-gradient(270deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.78) 44%, rgba(0, 0, 0, 0.34) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 46%);
}

.hero-news-content {
  display: grid;
  gap: 14px;
  justify-items: start;
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
  padding: 0 0 86px;
}

html[dir="rtl"] .hero-news-content {
  justify-items: start;
  direction: rtl;
  text-align: right;
}

html[dir="ltr"] .hero-news-content {
  text-align: left;
}

.hero-news-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 12px;
  border: 1px solid rgba(97, 55, 62, 0.18);
  border-radius: 0;
  color: var(--burgundy);
  background: var(--honey);
  font-size: 12px;
  font-weight: 900;
}

body.is-dark .hero-news-kicker {
  border-color: rgba(255, 239, 207, 0.2);
  color: var(--burgundy);
  background: var(--apricot);
}

.hero-news-content h1 {
  max-width: 680px;
  margin-block-end: 0;
  color: var(--burgundy);
  font-size: clamp(34px, 5.4vw, 76px);
  line-height: 1.05;
}

html[dir="rtl"] .hero-news-kicker,
html[dir="rtl"] .hero-news-content h1,
html[dir="rtl"] .hero-news-meta,
html[dir="rtl"] .hero-news-actions {
  justify-self: start;
}

html[dir="rtl"] .hero-news-content h1,
html[dir="rtl"] .hero-news-content h1 a {
  direction: rtl;
  text-align: right;
}

body.is-dark .hero-news-content h1 {
  color: var(--light-cream);
}

.hero-news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--burgundy);
  font-size: 14px;
  font-weight: 800;
}

html[dir="rtl"] .hero-news-meta {
  direction: rtl;
  justify-content: flex-start;
}

body.is-dark .hero-news-meta {
  color: var(--honey);
}

.hero-news-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding-top: 4px;
}

html[dir="rtl"] .hero-news-actions {
  direction: rtl;
  justify-content: flex-start;
}

.hero-share-button,
.hero-news-control,
.hero-news-dots button {
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--burgundy);
  background: rgba(255, 239, 207, 0.72);
  cursor: pointer;
}

body.is-dark .hero-share-button,
body.is-dark .hero-news-control,
body.is-dark .hero-news-dots button {
  color: var(--light-cream);
  background: rgba(97, 55, 62, 0.48);
}

.hero-share-button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font: inherit;
  font-size: 19px;
  font-weight: 900;
}

.hero-share-button[data-shared="true"] {
  background: var(--honey);
}

.hero-news-controls {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 26px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.hero-news-control {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font: inherit;
  font-size: 26px;
  line-height: 1;
}

.hero-news-dots {
  display: flex;
  gap: 9px;
  align-items: center;
}

.hero-news-dots button {
  width: 23px;
  height: 4px;
  padding: 0;
  border-radius: 999px;
  background: var(--taupe);
}

.hero-news-dots button.is-active {
  width: 48px;
  background: var(--apricot);
}

.hero-news-empty {
  display: grid;
  gap: 16px;
  width: min(760px, 100%);
  margin-inline: auto;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  text-align: center;
}

body.is-dark .hero-news-empty {
  background: rgba(0, 0, 0, 0.62);
}

.hero-news-empty h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 56px);
}

.hero-news-empty p {
  margin: 0;
  color: var(--taupe);
}

body.is-dark .hero-news-empty p {
  color: var(--honey);
}

.section,
.section-band {
  padding: 84px 0;
}

.section-band {
  padding-top: 150px;
  background: #fff;
}

.section-muted {
  background: #fff;
}

.hero-grid,
.page-hero-grid,
.split,
.content-grid,
.footer-grid,
.cta-grid {
  display: grid;
  gap: 44px;
  align-items: center;
}

.page-hero-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
}

.page-hero p {
  max-width: 690px;
  font-size: 18px;
}

.page-hero-grid > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split {
  grid-template-columns: 0.75fr 1.25fr;
  align-items: start;
}

.statement-grid,
.program-grid,
.news-grid,
.member-grid,
.link-grid {
  display: grid;
  gap: 18px;
}

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

.statement-grid article,
.program-card,
.content-aside,
.contact-form,
.member-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 239, 207, 0.82), rgba(255, 228, 175, 0.36));
}

.statement-grid article {
  padding: 22px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-head.compact {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  max-width: none;
}

.program-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.program-card {
  min-height: 245px;
  padding: 16px;
  color: var(--burgundy);
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, color 160ms ease;
}

.program-card:hover,
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.program-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 20px;
  border-radius: 6px;
  object-fit: cover;
  filter: none;
  transition: transform 220ms ease;
}

.program-card:hover img,
.program-card:focus-visible img {
  transform: scale(1.06);
}

.program-card p {
  display: -webkit-box;
  min-height: 76px;
  margin: 0;
  overflow: hidden;
  font-size: 15px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.statement-grid article h3,
.program-card h3,
.member-card h3,
.news-card h3,
.home-news-item h3,
.content-aside strong {
  display: -webkit-box;
  min-height: 54px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-layout {
  display: grid;
  gap: 20px;
}

.news-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-news-section {
  background: var(--cream);
  overflow: hidden;
}

.latest-editorial {
  direction: rtl;
  display: grid;
  gap: 28px;
  max-width: 1552px;
  padding: 30px 34px 32px;
  border: 1px solid rgba(97, 55, 62, 0.13);
  border-radius: 4px;
  color: var(--burgundy);
  background: #fff;
}

html[dir="ltr"] .latest-editorial {
  direction: ltr;
}

.latest-editorial-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.latest-editorial-more {
  display: flex;
  justify-content: flex-start;
  padding-top: 2px;
}

html[dir="ltr"] .latest-editorial-more {
  justify-content: flex-start;
}

.latest-editorial-head h2 {
  position: relative;
  margin: 0;
  padding-inline-start: 0;
  color: var(--burgundy);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
}

.latest-editorial-head h2::before {
  content: none;
}

.latest-editorial-all {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 6px 14px;
  border: 1px solid rgba(97, 55, 62, 0.16);
  border-radius: 999px;
  color: var(--burgundy);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(97, 55, 62, 0.04);
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.latest-editorial-all:hover {
  color: var(--rose);
  background: rgba(255, 239, 207, 0.72);
  border-color: rgba(228, 171, 123, 0.55);
}

.latest-editorial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  align-items: start;
}

.latest-editorial-article,
.latest-editorial-feature {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 15px;
  min-width: 0;
  color: var(--burgundy);
  transition: color 160ms ease;
}

html[dir="rtl"] .latest-editorial-article,
html[dir="rtl"] .latest-editorial-feature {
  grid-template-columns: 118px minmax(0, 1fr);
}

.latest-editorial-article figure,
.latest-editorial-feature figure {
  position: relative;
  width: 118px;
  height: 118px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(97, 55, 62, 0.12);
  background: var(--honey);
}

.latest-editorial-article img,
.latest-editorial-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  transition: transform 220ms ease;
}

.latest-editorial-article:hover img,
.latest-editorial-feature:hover img,
.latest-editorial-article:focus-visible img,
.latest-editorial-feature:focus-visible img,
.latest-editorial-article:active img,
.latest-editorial-feature:active img {
  transform: scale(1.08);
}

.latest-editorial-article figure span,
.latest-editorial-feature figure span {
  display: none;
}

.latest-editorial-article > div,
.latest-editorial-feature > div {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
}

.latest-editorial h3 {
  display: -webkit-box;
  margin: 0;
  min-height: 47px;
  overflow: hidden;
  color: var(--burgundy);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: color 150ms ease;
}

.latest-editorial-article:hover h3,
.latest-editorial-feature:hover h3 {
  color: var(--rose);
}

.latest-editorial p {
  display: -webkit-box;
  margin: 0;
  min-height: 43px;
  overflow: hidden;
  color: rgba(97, 55, 62, 0.68);
  font-size: 13px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: color 150ms ease;
}

.latest-editorial footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding-top: 5px;
}

.latest-editorial strong {
  color: rgba(23, 23, 23, 0.76);
  font-size: 12px;
  font-weight: 700;
  transition: color 150ms ease;
}

.latest-editorial em {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 2px 8px;
  border: 1px solid rgba(97, 55, 62, 0.08);
  border-radius: 999px;
  color: rgba(97, 55, 62, 0.72);
  background: rgba(97, 55, 62, 0.05);
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  line-height: 1;
}

.latest-editorial em.is-warm {
  color: var(--burgundy);
  background: rgba(228, 171, 123, 0.18);
  border-color: rgba(228, 171, 123, 0.28);
}

.latest-editorial-feature {
  color: var(--burgundy);
}

.latest-editorial-feature h3 {
  font-size: 18px;
}

body.is-dark .latest-editorial {
  border-color: rgba(255, 239, 207, 0.2);
  color: var(--light-cream);
  background: #000;
}

body.is-dark .latest-editorial-head h2,
body.is-dark .latest-editorial h3,
body.is-dark .latest-editorial-feature,
body.is-dark .latest-editorial-all {
  color: var(--honey);
}

body.is-dark .latest-editorial-all {
  border-color: rgba(255, 228, 175, 0.24);
  background: rgba(97, 55, 62, 0.42);
}

body.is-dark .latest-editorial p,
body.is-dark .latest-editorial strong {
  color: var(--apricot);
}

body.is-dark .latest-editorial em {
  color: var(--honey);
  background: rgba(255, 228, 175, 0.08);
  border-color: rgba(255, 228, 175, 0.16);
}

.latest-editorial-article:hover p,
.latest-editorial-feature:hover p,
.latest-editorial-article:focus-visible p,
.latest-editorial-feature:focus-visible p,
.latest-editorial-article:hover strong,
.latest-editorial-feature:hover strong,
.latest-editorial-article:focus-visible strong,
.latest-editorial-feature:focus-visible strong {
  color: var(--rose);
}

body.is-dark .latest-editorial-article:hover h3,
body.is-dark .latest-editorial-feature:hover h3,
body.is-dark .latest-editorial-article:focus-visible h3,
body.is-dark .latest-editorial-feature:focus-visible h3,
body.is-dark .latest-editorial-all:hover,
body.is-dark .latest-editorial-all:focus-visible {
  color: #fff;
}

body.is-dark .latest-editorial-article:hover p,
body.is-dark .latest-editorial-feature:hover p,
body.is-dark .latest-editorial-article:focus-visible p,
body.is-dark .latest-editorial-feature:focus-visible p,
body.is-dark .latest-editorial-article:hover strong,
body.is-dark .latest-editorial-feature:hover strong,
body.is-dark .latest-editorial-article:focus-visible strong,
body.is-dark .latest-editorial-feature:focus-visible strong {
  color: #fff;
}

.portrait-section {
  background: #fff;
}

body.is-dark .portrait-section {
  background: #000;
}

.portrait-carousel {
  direction: rtl;
  display: grid;
  gap: 34px;
}

html[dir="ltr"] .portrait-carousel {
  direction: ltr;
}

.portrait-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.portrait-title {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.portrait-title h2 {
  margin: 0;
  color: #111;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.1;
}

body.is-dark .portrait-title h2 {
  color: var(--light-cream);
}

.portrait-title span {
  display: none;
}

.portrait-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  direction: ltr;
}

.portrait-controls button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(97, 55, 62, 0.18);
  border-radius: 50%;
  color: #111;
  background: #fff;
  cursor: pointer;
  font-family: Montserrat, "IBM Plex Sans Arabic";
  font-size: 24px;
  line-height: 1;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.portrait-controls button:hover,
.portrait-controls button:focus-visible {
  color: var(--burgundy);
  border-color: rgba(228, 171, 123, 0.55);
  background: rgba(255, 228, 175, 0.18);
}

body.is-dark .portrait-controls button {
  color: var(--light-cream);
  border-color: rgba(255, 239, 207, 0.22);
  background: #000;
}

body.is-dark .portrait-controls button:hover,
body.is-dark .portrait-controls button:focus-visible {
  color: var(--honey);
  border-color: rgba(228, 171, 123, 0.72);
  background: rgba(255, 228, 175, 0.08);
}

.portrait-viewport {
  overflow: hidden;
}

.portrait-track {
  display: flex;
  gap: 28px;
  direction: ltr;
  touch-action: pan-y;
  transition: transform 760ms ease-out;
  will-change: transform;
}

.portrait-card {
  position: relative;
  flex: 0 0 calc((100% - 56px) / 3);
  aspect-ratio: 1.4 / 1;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(97, 55, 62, 0.12);
  border-radius: 6px;
  color: #111;
  background: #fff;
  isolation: isolate;
}

.portrait-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  opacity: 1;
  transform: scale(1.02);
  transition: transform 420ms ease;
}

.portrait-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.22) 46%, rgba(255, 255, 255, 0.94) 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0) 42%);
  pointer-events: none;
}

.portrait-card:hover img,
.portrait-card:focus-visible img,
.portrait-card:active img {
  transform: scale(1.08);
}

.portrait-card-content {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  display: grid;
  gap: 9px;
  padding: 0 24px 22px;
  direction: rtl;
  text-align: right;
}

html[dir="ltr"] .portrait-card-content {
  direction: ltr;
  text-align: left;
}

.portrait-card h3 {
  margin: 0;
  color: #111;
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 900;
  line-height: 1.15;
  transition: color 160ms ease;
}

.portrait-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: rgba(17, 17, 17, 0.72);
  font-size: 15px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.portrait-card span {
  justify-self: start;
  padding: 3px 9px;
  border: 1px solid rgba(228, 171, 123, 0.62);
  border-radius: 4px;
  color: var(--apricot);
  background: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.portrait-card:hover h3,
.portrait-card:focus-visible h3 {
  color: var(--apricot);
}

body.is-dark .portrait-card {
  border-color: rgba(255, 239, 207, 0.16);
  color: var(--light-cream);
  background: #000;
}

body.is-dark .portrait-card::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.28) 46%, rgba(0, 0, 0, 0.92) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0) 42%);
}

body.is-dark .portrait-card h3 {
  color: var(--light-cream);
}

body.is-dark .portrait-card p {
  color: rgba(255, 239, 207, 0.74);
}

body.is-dark .portrait-card span {
  color: var(--honey);
  background: rgba(0, 0, 0, 0.46);
}

body.is-dark .portrait-card:hover h3,
body.is-dark .portrait-card:focus-visible h3 {
  color: var(--apricot);
}

body.is-dark .portrait-card:hover p,
body.is-dark .portrait-card:focus-visible p {
  color: var(--honey);
}

.home-projects-section {
  --project-bg: #fff;
  --project-surface: rgba(255, 255, 255, 0.88);
  --project-surface-hover: rgba(255, 239, 207, 0.9);
  --project-text: var(--burgundy);
  --project-muted: rgba(97, 55, 62, 0.74);
  --project-border: rgba(97, 55, 62, 0.18);
  --project-shadow: 0 22px 70px rgba(97, 55, 62, 0.14);
  position: relative;
  overflow: hidden;
  padding: clamp(66px, 8vw, 108px) 0 clamp(74px, 9vw, 118px);
  color: var(--project-text);
  background-color: var(--project-bg);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.72)),
    url("logo/pattern light 2.svg");
  background-position: center;
  background-size: cover;
  background-repeat: repeat;
  font-family: "IBM Plex Sans Arabic", Montserrat, sans-serif;
}

body.is-dark .home-projects-section {
  --project-bg: #000;
  --project-surface: rgba(0, 0, 0, 0.42);
  --project-surface-hover: rgba(97, 55, 62, 0.34);
  --project-text: var(--light-cream);
  --project-muted: rgba(255, 239, 207, 0.76);
  --project-border: rgba(255, 228, 175, 0.18);
  --project-shadow: none;
  color: var(--project-text);
  background-color: var(--project-bg);
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.78)),
    url("logo/pattern dark 1.svg");
}

.home-projects-shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(26px, 4vw, 46px);
  width: min(1120px, calc(100% - 36px));
  margin-inline: auto;
}

.home-projects-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
}

.home-projects-head div {
  display: grid;
  gap: 8px;
}

.home-projects-head span {
  color: var(--apricot);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.home-projects-head h2 {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  color: var(--project-text);
  font-size: clamp(34px, 5vw, 66px);
  font-weight: 900;
  line-height: 1;
}

.home-projects-controls {
  display: inline-flex;
  gap: 10px;
  direction: ltr;
}

.home-projects-controls button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--project-border);
  border-radius: 50%;
  color: var(--project-text);
  background: var(--project-surface);
  font: 800 20px/1 "IBM Plex Sans Arabic", Montserrat, sans-serif;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.home-projects-controls button:hover,
.home-projects-controls button:focus-visible {
  color: #241116;
  border-color: var(--apricot);
  background: var(--apricot);
}

.home-project-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
  padding: clamp(16px, 2.2vw, 24px);
  border: 1px solid var(--project-border);
  border-radius: 8px;
  background: var(--project-surface);
  box-shadow: var(--project-shadow);
  transition: opacity 220ms ease;
}

.home-project-feature.is-changing {
  opacity: 0.42;
}

.home-project-feature-media {
  position: relative;
  min-height: clamp(300px, 38vw, 460px);
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 228, 175, 0.08);
}

.home-project-feature-media img,
.home-project-placeholder,
.home-project-card-placeholder {
  width: 100%;
  height: 100%;
}

.home-project-feature-media img {
  display: block;
  object-fit: cover;
}

.home-project-placeholder,
.home-project-card-placeholder {
  display: block;
  background:
    radial-gradient(circle at 32% 38%, rgba(228, 171, 123, 0.78) 0 18%, transparent 19%),
    linear-gradient(90deg, rgba(255, 228, 175, 0.08) 1px, transparent 1px) 0 0 / 18px 100%,
    rgba(97, 55, 62, 0.5);
}

.home-project-feature-copy {
  display: grid;
  align-content: center;
  gap: 18px;
}

.home-project-feature-copy > span,
.home-project-card > span {
  width: fit-content;
  padding: 5px 10px;
  border: 1px solid rgba(228, 171, 123, 0.5);
  border-radius: 4px;
  color: var(--apricot);
  background: rgba(228, 171, 123, 0.1);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.home-project-feature-copy h3 {
  margin: 0;
  color: var(--project-text);
  font-size: clamp(28px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.15;
}

.home-project-feature-copy h3 a {
  color: inherit;
  transition: color 180ms ease;
}

.home-project-feature-copy h3 a:hover,
.home-project-feature-copy h3 a:focus-visible {
  color: var(--apricot);
}

.home-project-feature-copy p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--project-muted);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 500;
  line-height: 1.8;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.home-project-feature-action {
  width: fit-content;
  padding: 11px 18px;
  border-radius: 4px;
  color: #241116;
  background: var(--apricot);
  font-weight: 800;
  line-height: 1;
  transition: color 180ms ease, background 180ms ease;
}

.home-project-feature-action:hover,
.home-project-feature-action:focus-visible {
  color: #000;
  background: var(--honey);
}

.home-project-carousel {
  position: relative;
}

.home-project-viewport {
  overflow: hidden;
}

.home-project-track {
  display: flex;
  gap: 18px;
  direction: ltr;
  touch-action: pan-y;
  transition: transform 460ms ease;
  will-change: transform;
}

.home-project-card {
  flex: 0 0 calc((100% - 54px) / 4);
  display: grid;
  grid-template-rows: 170px auto auto;
  gap: 12px;
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--project-border);
  border-radius: 8px;
  color: var(--project-text);
  background: var(--project-surface);
  text-align: inherit;
  font-family: "IBM Plex Sans Arabic", Montserrat, sans-serif;
  cursor: pointer;
  transition: border-color 220ms ease, background 220ms ease;
}

.home-projects-section[dir="rtl"] .home-project-card {
  direction: rtl;
  text-align: right;
}

.home-projects-section[dir="ltr"] .home-project-card {
  direction: ltr;
  text-align: left;
}

.home-project-card img,
.home-project-card-placeholder {
  display: block;
  width: 100%;
  height: 170px;
  border-radius: 6px;
  object-fit: cover;
  filter: saturate(0.8) contrast(0.94);
  transition: filter 220ms ease;
}

.home-project-card strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--project-text);
  font-family: "IBM Plex Sans Arabic", Montserrat, sans-serif;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: color 220ms ease;
}

.home-project-card:hover,
.home-project-card:focus-visible {
  border-color: rgba(228, 171, 123, 0.86);
  background: var(--project-surface-hover);
}

.home-project-card.is-active {
  border-color: rgba(228, 171, 123, 0.86);
  background: var(--project-surface);
}

.home-project-card:hover img,
.home-project-card:focus-visible img {
  filter: saturate(1.04) contrast(1);
}

.home-project-card:hover strong,
.home-project-card:focus-visible strong {
  color: var(--apricot);
}

.home-project-empty {
  display: grid;
  place-items: center;
  gap: 18px;
  min-height: 260px;
  border: 1px solid var(--project-border);
  border-radius: 8px;
  background: var(--project-surface);
  text-align: center;
  box-shadow: var(--project-shadow);
}

.home-project-empty span {
  display: block;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--apricot);
  box-shadow: 34px 0 0 rgba(255, 228, 175, 0.22), -34px 0 0 rgba(97, 55, 62, 0.92);
}

.home-project-empty p {
  margin: 0;
  color: var(--project-text);
  font-size: 18px;
  font-weight: 800;
}

.home-news-board {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 22px;
  align-items: stretch;
}

.home-news-feature,
.home-news-item {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 239, 207, 0.82), rgba(255, 228, 175, 0.36));
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.home-news-feature:hover,
.home-news-item:hover {
  transform: translateY(-3px);
  border-color: rgba(228, 171, 123, 0.55);
  background: linear-gradient(180deg, rgba(255, 228, 175, 0.68), rgba(255, 239, 207, 0.86));
  box-shadow: var(--shadow);
}

.home-news-feature {
  position: relative;
  display: grid;
  min-height: 470px;
  overflow: hidden;
  color: var(--light-cream);
}

.home-news-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(0.94);
}

.home-news-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(97, 55, 62, 0.86) 0%, rgba(97, 55, 62, 0.38) 54%, rgba(97, 55, 62, 0.02) 100%),
    linear-gradient(90deg, rgba(97, 55, 62, 0.14), rgba(255, 239, 207, 0.08));
}

.home-news-feature > div {
  position: relative;
  z-index: 1;
  align-self: end;
  display: grid;
  gap: 8px;
  padding: 26px;
}

.home-news-feature time,
.home-news-item time {
  color: var(--honey);
  font-size: 13px;
  font-weight: 800;
}

.home-news-feature h3 {
  max-width: 760px;
  margin: 0;
  color: var(--light-cream);
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.18;
}

.home-news-badge {
  position: absolute;
  inset-block-start: 18px;
  inset-inline-start: 18px;
  z-index: 1;
  min-height: 30px;
  padding: 4px 12px;
  color: var(--burgundy);
  background: var(--honey);
  font-size: 12px;
  font-weight: 900;
}

html[dir="rtl"] .home-news-badge {
  inset-inline-start: auto;
  inset-inline-end: 18px;
}

.home-news-side {
  display: grid;
  gap: 14px;
}

.home-news-item {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 14px;
  min-height: 104px;
  overflow: hidden;
}

html[dir="rtl"] .home-news-item {
  grid-template-columns: minmax(0, 1fr) 128px;
}

.home-news-item img {
  width: 100%;
  height: 100%;
  min-height: 104px;
  object-fit: cover;
}

html[dir="rtl"] .home-news-item img {
  order: 2;
}

.home-news-item > div {
  display: grid;
  align-content: center;
  gap: 4px;
  min-width: 0;
  padding: 12px 14px;
}

.home-news-item span {
  color: var(--rose);
  font-size: 12px;
  font-weight: 900;
}

.home-news-item h3 {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--burgundy);
  font-size: 17px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-news-item time {
  color: var(--taupe);
  font-size: 12px;
}

.news-showcase {
  display: grid;
  gap: 24px;
}

.news-showcase-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.news-showcase-head h2 {
  margin: 0;
  color: var(--burgundy);
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.05;
}

.news-showcase-head span,
.news-showcase-link {
  color: var(--taupe);
  font-size: 13px;
  font-weight: 800;
}

.news-showcase-link {
  color: var(--burgundy);
  border-bottom: 2px solid var(--apricot);
  white-space: nowrap;
}

.news-showcase-stage {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  outline: 0;
}

.news-showcase-cards {
  position: relative;
  min-height: 350px;
  margin-top: 10px;
}

.news-showcase-card {
  position: absolute;
  inset-block-start: 0;
  left: 50%;
  display: grid;
  align-content: center;
  justify-items: center;
  width: 118px;
  height: 350px;
  overflow: hidden;
  border: 1px solid var(--line);
  color: var(--burgundy);
  background: #fff;
  opacity: 0;
  transform: translateX(-50%) scale(0.82);
  transition: transform 420ms ease, opacity 420ms ease, filter 420ms ease, width 420ms ease;
  pointer-events: none;
}

.news-showcase-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  transition: transform 220ms ease;
}

.news-showcase-card:hover img,
.news-showcase-card:focus-visible img {
  transform: scale(1.06);
}

.news-showcase-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 239, 207, 0.18), rgba(255, 228, 175, 0.86));
}

.news-showcase-card span,
.news-showcase-card > div {
  position: relative;
  z-index: 1;
}

.news-showcase-card span {
  margin-bottom: 10px;
  padding: 3px 10px;
  color: var(--burgundy);
  background: var(--honey);
  font-size: 12px;
  font-weight: 900;
}

.news-showcase-card > div {
  display: grid;
  gap: 8px;
  justify-items: center;
  width: min(430px, calc(100% - 64px));
  text-align: center;
}

.news-showcase-card time {
  color: var(--taupe);
  font-size: 12px;
  font-weight: 800;
}

.news-showcase-card h3 {
  margin: 0;
  color: var(--burgundy);
  font-size: clamp(24px, 3.2vw, 42px);
  line-height: 1.12;
}

.news-showcase-card.is-active {
  z-index: 5;
  width: min(560px, 56vw);
  opacity: 1;
  transform: translateX(-50%) scale(1);
  filter: none;
  pointer-events: auto;
}

.news-showcase-card.is-prev {
  z-index: 3;
  width: 150px;
  opacity: 0.78;
  transform: translateX(calc(-50% - 335px)) scale(0.94);
  filter: none;
  pointer-events: auto;
}

.news-showcase-card.is-next {
  z-index: 3;
  width: 150px;
  opacity: 0.78;
  transform: translateX(calc(-50% + 335px)) scale(0.94);
  filter: none;
  pointer-events: auto;
}

.news-showcase-card.is-far-prev {
  z-index: 2;
  width: 112px;
  opacity: 0.48;
  transform: translateX(calc(-50% - 520px)) scale(0.82);
  filter: blur(1px);
}

.news-showcase-card.is-far-next {
  z-index: 2;
  width: 112px;
  opacity: 0.48;
  transform: translateX(calc(-50% + 520px)) scale(0.82);
  filter: blur(1px);
}

.news-showcase-card:not(.is-active) span,
.news-showcase-card:not(.is-active) > div {
  opacity: 0;
}

.news-showcase-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  padding-top: 18px;
}

.news-showcase-dots button {
  width: 24px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--taupe);
  cursor: pointer;
}

.news-showcase-dots button.is-active {
  width: 46px;
  background: var(--apricot);
}

body.is-dark .news-showcase-head h2,
body.is-dark .news-showcase-link,
body.is-dark .news-showcase-card h3 {
  color: var(--light-cream);
}

body.is-dark .news-showcase-head span,
body.is-dark .news-showcase-card time {
  color: var(--honey);
}

body.is-dark .news-showcase-card {
  color: var(--light-cream);
  background: #000;
}

body.is-dark .news-showcase-card::after {
  background: rgba(97, 55, 62, 0.62);
}

.news-card {
  display: grid;
  gap: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 239, 207, 0.82), rgba(255, 228, 175, 0.36));
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.news-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: none;
  transition: transform 220ms ease;
}

.news-card:hover img,
.news-card:focus-visible img {
  transform: scale(1.06);
}

.news-card span,
.news-card h3 {
  padding-inline: 18px;
}

.news-card span {
  color: var(--rose);
  font-size: 13px;
  font-weight: 900;
}

.news-card h3 {
  padding-bottom: 18px;
}

body.is-dark .news-card,
body.is-dark .home-news-item,
body.is-dark .link-grid a {
  color: var(--light-cream);
  border-color: rgba(97, 55, 62, 0.85);
  background: linear-gradient(180deg, rgba(97, 55, 62, 0.48), rgba(0, 0, 0, 0.96));
}

body.is-dark .news-card:hover,
body.is-dark .home-news-item:hover,
body.is-dark .link-grid a:hover {
  border-color: rgba(228, 171, 123, 0.62);
}

body.is-dark .news-card:hover h3,
body.is-dark .home-news-item:hover h3,
body.is-dark .link-grid a:hover {
  color: #fff;
}

.text-link {
  color: var(--burgundy);
  font-weight: 900;
  border-bottom: 2px solid var(--apricot);
}

.cta-band {
  color: var(--burgundy);
  background: #fff;
  border-block: 1px solid var(--line);
}

.cta-band h2,
.cta-band .eyebrow {
  color: var(--burgundy);
}

body.is-dark .cta-band {
  color: var(--light-cream);
  background: #000;
}

body.is-dark .cta-band h2,
body.is-dark .cta-band .eyebrow {
  color: var(--light-cream);
}

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

.content-grid {
  grid-template-columns: 290px minmax(0, 1fr);
  align-items: start;
}

.content-aside {
  position: sticky;
  top: 132px;
  padding: 24px;
}

.content-aside img {
  width: 76px;
  margin-bottom: 20px;
}

.content-aside strong,
.content-aside span {
  display: block;
}

.content-aside strong {
  color: var(--burgundy);
  font-size: 17px;
}

.content-aside span {
  color: var(--muted);
  font-size: 14px;
}

.rich-content {
  max-width: 830px;
}

.rich-content p {
  margin-bottom: 18px;
  font-size: 18px;
}

.inline-grid {
  margin-top: 34px;
}

.member-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.member-card {
  padding: 20px;
}

.member-card span {
  color: var(--apricot);
  font-weight: 900;
}

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

.link-grid a {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--burgundy);
  background: linear-gradient(180deg, rgba(255, 239, 207, 0.82), rgba(255, 228, 175, 0.36));
  font-weight: 900;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.link-grid a:hover {
  color: var(--rose);
  border-color: rgba(228, 171, 123, 0.55);
  background: linear-gradient(180deg, rgba(255, 228, 175, 0.68), rgba(255, 239, 207, 0.86));
}

.contact-form {
  display: grid;
  gap: 18px;
  margin-top: 30px;
  padding: 24px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--burgundy);
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.site-footer {
  color: var(--burgundy);
  background: #fff;
  border-top: 1px solid var(--line);
}

body.is-dark .contact-form input,
body.is-dark .contact-form textarea,
body.is-dark .site-footer {
  color: var(--light-cream);
  background: #000;
}

body:not(.is-dark) .latest-editorial-article:hover h3,
body:not(.is-dark) .latest-editorial-feature:hover h3,
body:not(.is-dark) .latest-editorial-article:focus-visible h3,
body:not(.is-dark) .latest-editorial-feature:focus-visible h3,
body:not(.is-dark) .latest-editorial-article:hover p,
body:not(.is-dark) .latest-editorial-feature:hover p,
body:not(.is-dark) .latest-editorial-article:focus-visible p,
body:not(.is-dark) .latest-editorial-feature:focus-visible p,
body:not(.is-dark) .latest-editorial-article:hover strong,
body:not(.is-dark) .latest-editorial-feature:hover strong,
body:not(.is-dark) .latest-editorial-article:focus-visible strong,
body:not(.is-dark) .latest-editorial-feature:focus-visible strong,
body:not(.is-dark) .program-card:hover h3,
body:not(.is-dark) .program-card:hover p,
body:not(.is-dark) .news-card:hover h3,
body:not(.is-dark) .news-card:hover span,
body:not(.is-dark) .home-news-item:hover h3,
body:not(.is-dark) .home-news-item:hover time,
body:not(.is-dark) .member-card:hover h3,
body:not(.is-dark) .member-card:hover p,
body:not(.is-dark) .statement-grid article:hover h3,
body:not(.is-dark) .statement-grid article:hover p,
body:not(.is-dark) .link-grid a:hover,
body:not(.is-dark) .portrait-card:hover h3,
body:not(.is-dark) .portrait-card:hover p,
body:not(.is-dark) .news-showcase-card:hover h3,
body:not(.is-dark) .news-showcase-card:hover time {
  color: #000;
}

body.is-dark .latest-editorial-article:hover h3,
body.is-dark .latest-editorial-feature:hover h3,
body.is-dark .latest-editorial-article:focus-visible h3,
body.is-dark .latest-editorial-feature:focus-visible h3,
body.is-dark .latest-editorial-article:hover p,
body.is-dark .latest-editorial-feature:hover p,
body.is-dark .latest-editorial-article:focus-visible p,
body.is-dark .latest-editorial-feature:focus-visible p,
body.is-dark .latest-editorial-article:hover strong,
body.is-dark .latest-editorial-feature:hover strong,
body.is-dark .latest-editorial-article:focus-visible strong,
body.is-dark .latest-editorial-feature:focus-visible strong,
body.is-dark .program-card:hover h3,
body.is-dark .program-card:hover p,
body.is-dark .news-card:hover h3,
body.is-dark .news-card:hover span,
body.is-dark .home-news-item:hover h3,
body.is-dark .home-news-item:hover time,
body.is-dark .member-card:hover h3,
body.is-dark .member-card:hover p,
body.is-dark .statement-grid article:hover h3,
body.is-dark .statement-grid article:hover p,
body.is-dark .link-grid a:hover,
body.is-dark .portrait-card:hover h3,
body.is-dark .portrait-card:hover p,
body.is-dark .news-showcase-card:hover h3,
body.is-dark .news-showcase-card:hover time {
  color: #fff;
}

.footer-grid {
  grid-template-columns: 1fr auto;
  align-items: start;
  padding: 48px 0 28px;
}

.footer-logo {
  width: 150px;
  margin-bottom: 18px;
  padding: 10px;
  border-radius: var(--radius);
  background: var(--light-cream);
}

.footer-logo.logo-light {
  background: transparent;
}

.site-footer p {
  max-width: 560px;
  color: rgba(255, 239, 207, 0.78);
}

.footer-links {
  display: grid;
  gap: 8px;
  min-width: 200px;
}

.footer-links a {
  color: rgba(255, 239, 207, 0.82);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px max(16px, calc((100% - 1120px) / 2));
  border-top: 1px solid rgba(255, 239, 207, 0.14);
  color: rgba(255, 239, 207, 0.65);
  font-size: 13px;
}

@media (max-width: 1640px) {
  .primary-nav {
    gap: 12px;
  }

  .join-button {
    display: none;
  }
}

@media (max-width: 1180px) {
  .primary-nav {
    display: none;
  }

  .header-shell {
    position: relative;
    display: flex;
    justify-content: space-between;
    direction: ltr;
    width: min(100% - 32px, 1160px);
    min-height: 52px;
  }

  .brand {
    order: 2;
    justify-self: auto;
    margin-inline-start: auto;
  }

  .brand img {
    width: 84px;
    max-width: none;
    max-height: none;
    object-fit: contain;
  }

  .header-tools {
    order: 1;
    justify-self: auto;
    direction: ltr;
    align-items: center;
    gap: 17px;
    margin-inline-end: auto;
  }

  .search-toggle {
    order: 2;
    color: var(--apricot);
  }

  .theme-toggle {
    order: 3;
    color: var(--taupe);
  }

  .language-pill {
    order: 4;
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 0;
    color: var(--burgundy);
    background: transparent;
    font-size: 12px;
    line-height: 1;
  }

  .menu-toggle {
    display: grid;
    order: 1;
    width: 28px;
    height: 28px;
    align-content: center;
    gap: 4px;
    background: transparent;
  }

  .menu-toggle span {
    width: 16px;
    height: 1.6px;
    background: var(--burgundy);
  }

  .icon-button {
    width: 28px;
    height: 28px;
  }

  .search-icon {
    width: 15px;
    height: 15px;
    border-width: 1.8px;
  }

  .search-icon::after {
    width: 7px;
    inset-inline-end: -6px;
  }

  .theme-icon {
    width: 16px;
    height: 16px;
    box-shadow: inset 5px 0 0 currentColor;
  }

  body.is-dark .menu-toggle span {
    background: var(--honey);
  }

  body.is-dark .menu-toggle:hover,
  body.is-dark .menu-toggle:focus-visible {
    background: rgba(255, 239, 207, 0.12);
  }

  body.is-dark .language-pill {
    color: var(--light-cream);
    background: transparent;
  }

  body.is-dark .search-toggle {
    color: var(--apricot);
  }

  body.is-dark .theme-toggle {
    color: var(--honey);
  }

  html[dir="ltr"] .brand {
    order: 1;
    margin-inline: 0 auto;
  }

  html[dir="ltr"] .header-tools {
    order: 2;
    margin-inline: auto 0;
  }

  html[dir="ltr"] .language-pill {
    order: 1;
  }

  html[dir="ltr"] .theme-toggle {
    order: 2;
  }

  html[dir="ltr"] .search-toggle {
    order: 3;
  }

  html[dir="ltr"] .menu-toggle {
    order: 4;
  }
}

@media (max-width: 900px) {
  .brand img {
    width: 84px;
    max-width: none;
    max-height: none;
  }

  .header-shell {
    min-height: 52px;
    gap: 12px;
  }

  .header-tools {
    gap: 18px;
  }

  .hero-imitad {
    min-height: 92vh;
    padding: 112px 28px 76px;
  }

  .hero-bg img {
    width: 70%;
  }

  .hero-bg::after {
    background:
      linear-gradient(90deg, rgba(255, 239, 207, 0.08) 0%, rgba(255, 239, 207, 0.7) 54%, #ffefcf 100%),
      linear-gradient(0deg, #ffefcf 0%, rgba(255, 239, 207, 0) 22%);
  }

  .hero-content {
    justify-self: center;
    text-align: center;
  }

  h1 {
    font-size: clamp(38px, 10vw, 58px);
  }

  .hero-content p {
    font-size: clamp(18px, 5vw, 25px);
  }

  .section,
  .section-band {
    padding: 58px 0;
  }

  .section-band {
    padding-top: 128px;
  }

  .page-hero-grid,
  .split,
  .home-news-board,
  .content-grid,
  .footer-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .home-news-feature {
    min-height: 420px;
  }

  .latest-editorial {
    padding: 26px;
  }

  .latest-editorial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .portrait-track {
    gap: 22px;
  }

  .portrait-card {
    flex-basis: calc((100% - 22px) / 2);
    min-height: 330px;
  }

  .news-showcase-stage {
    min-height: 395px;
  }

  .news-showcase-cards {
    min-height: 320px;
  }

  .news-showcase-card {
    width: 104px;
    height: 320px;
  }

  .news-showcase-card.is-active {
    width: min(470px, 62vw);
  }

  .news-showcase-card.is-prev {
    width: 122px;
    transform: translateX(calc(-50% - 265px)) scale(0.9);
  }

  .news-showcase-card.is-next {
    width: 122px;
    transform: translateX(calc(-50% + 265px)) scale(0.9);
  }

  .news-showcase-card.is-far-prev {
    width: 84px;
    transform: translateX(calc(-50% - 400px)) scale(0.76);
  }

  .news-showcase-card.is-far-next {
    width: 84px;
    transform: translateX(calc(-50% + 400px)) scale(0.76);
  }

  .home-news-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-news-item,
  html[dir="rtl"] .home-news-item {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  html[dir="rtl"] .home-news-item img {
    order: 0;
  }

  .program-grid,
  .news-grid,
  .statement-grid,
  .member-grid,
  .link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-aside {
    position: static;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 22px, 1120px);
  }

  .site-header {
    background: rgba(255, 239, 207, 0.18);
  }

  body.is-dark .site-header {
    background: rgba(97, 55, 62, 0.24);
  }

  .header-shell {
    display: flex;
    justify-content: space-between;
    width: calc(100% - 32px);
    min-height: 52px;
  }

  .brand {
    position: relative;
    z-index: 2;
    justify-self: auto;
  }

  .brand img {
    width: 84px;
    max-width: none;
    max-height: none;
  }

  .header-tools {
    position: relative;
    z-index: 1;
    align-items: center;
    gap: 17px;
    justify-self: auto;
    justify-content: flex-start;
    padding: 0;
  }

  .menu-toggle {
    position: static;
    margin-inline-end: 0;
    display: grid;
  }

  .language-pill {
    width: 28px;
    height: 28px;
    min-width: 28px;
  }

  .theme-toggle,
  .search-toggle {
    width: 28px;
    height: 28px;
  }

  .hero-imitad {
    min-height: 92vh;
    padding-inline: 24px;
  }

  .hero-bg img {
    width: 76%;
    object-position: left center;
  }

  .button {
    min-height: 48px;
    padding-inline: 22px;
    font-size: 16px;
  }

  .program-grid,
  .news-grid,
  .home-news-side,
  .statement-grid,
  .member-grid,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .home-news-feature {
    min-height: 360px;
  }

  .home-news-feature > div {
    padding: 20px;
  }

  .home-news-item,
  html[dir="rtl"] .home-news-item {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .home-news-item h3 {
    font-size: 16px;
  }

  .latest-editorial {
    gap: 22px;
    padding: 22px 18px;
  }

  .latest-editorial-head {
    align-items: flex-start;
  }

  .latest-editorial-head h2 {
    font-size: 25px;
  }

  .latest-editorial-all {
    min-height: 32px;
    padding-inline: 12px;
    font-size: 12px;
  }

  .latest-editorial-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .portrait-carousel {
    gap: 24px;
  }

  .portrait-head {
    align-items: flex-start;
  }

  .portrait-title h2 {
    font-size: 30px;
  }

  .portrait-track {
    gap: 16px;
  }

  .portrait-card {
    flex-basis: 100%;
    min-height: 350px;
  }

  .portrait-card-content {
    padding: 0 20px 20px;
  }

  .portrait-card h3 {
    font-size: 26px;
  }

  .latest-editorial-article,
  .latest-editorial-feature {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 13px;
  }

  .latest-editorial-article figure,
  .latest-editorial-feature figure {
    width: 104px;
    height: 104px;
  }

  .latest-editorial h3 {
    font-size: 17px;
  }

  .news-showcase-head {
    align-items: start;
    gap: 14px;
  }

  .news-showcase-stage {
    min-height: 336px;
  }

  .news-showcase-cards {
    min-height: 270px;
  }

  .news-showcase-card {
    width: 70px;
    height: 270px;
  }

  .news-showcase-card.is-active {
    width: min(282px, 74vw);
  }

  .news-showcase-card.is-prev {
    width: 74px;
    transform: translateX(calc(-50% - 170px)) scale(0.84);
  }

  .news-showcase-card.is-next {
    width: 74px;
    transform: translateX(calc(-50% + 170px)) scale(0.84);
  }

  .news-showcase-card.is-far-prev {
    width: 56px;
    transform: translateX(calc(-50% - 260px)) scale(0.7);
  }

  .news-showcase-card.is-far-next {
    width: 56px;
    transform: translateX(calc(-50% + 260px)) scale(0.7);
  }

  .news-showcase-card > div {
    width: calc(100% - 32px);
  }

  .section-head.compact,
  .footer-bottom {
    display: grid;
  }

  .overlay-mark {
    inset-inline-end: 30px;
    width: 48px;
  }

  .overlay-search {
    width: min(250px, calc(100vw - 150px));
  }

  .overlay-nav {
    gap: 24px;
  }

  .footer-links {
    min-width: 0;
  }
}

/* Final brand color pass: white/black pages, Wahi identity on elements. */
body:not(.is-dark),
body:not(.is-dark) .section,
body:not(.is-dark) .section-muted,
body:not(.is-dark) .section-band,
body:not(.is-dark) .home-news-section,
body:not(.is-dark) .portrait-section,
body:not(.is-dark) .cta-band,
body:not(.is-dark) .site-footer {
  color: var(--burgundy);
  background: #fff;
}

body.is-dark,
body.is-dark .section,
body.is-dark .section-muted,
body.is-dark .section-band,
body.is-dark .home-news-section,
body.is-dark .portrait-section,
body.is-dark .cta-band,
body.is-dark .site-footer {
  color: var(--honey);
  background: #000;
}

body:not(.is-dark) .latest-editorial,
body:not(.is-dark) .statement-grid article,
body:not(.is-dark) .program-card,
body:not(.is-dark) .news-card,
body:not(.is-dark) .home-news-item,
body:not(.is-dark) .content-aside,
body:not(.is-dark) .contact-form,
body:not(.is-dark) .member-card,
body:not(.is-dark) .link-grid a {
  color: var(--burgundy);
  border-color: rgba(97, 55, 62, 0.16);
  background: #fff;
}

body.is-dark .latest-editorial,
body.is-dark .statement-grid article,
body.is-dark .program-card,
body.is-dark .news-card,
body.is-dark .home-news-item,
body.is-dark .content-aside,
body.is-dark .contact-form,
body.is-dark .member-card,
body.is-dark .link-grid a {
  color: var(--honey);
  border-color: rgba(228, 171, 123, 0.32);
  background: #000;
}

body:not(.is-dark) .latest-editorial h3,
body:not(.is-dark) .latest-editorial p,
body:not(.is-dark) .latest-editorial strong,
body:not(.is-dark) .statement-grid article h3,
body:not(.is-dark) .statement-grid article p,
body:not(.is-dark) .program-card h3,
body:not(.is-dark) .program-card p,
body:not(.is-dark) .news-card h3,
body:not(.is-dark) .news-card span,
body:not(.is-dark) .home-news-item h3,
body:not(.is-dark) .home-news-item time,
body:not(.is-dark) .member-card h3,
body:not(.is-dark) .member-card p,
body:not(.is-dark) .content-aside strong,
body:not(.is-dark) .content-aside span,
body:not(.is-dark) .portrait-title h2,
body:not(.is-dark) .portrait-card h3,
body:not(.is-dark) .portrait-card p,
body:not(.is-dark) .news-showcase-card h3,
body:not(.is-dark) .news-showcase-card time {
  color: var(--burgundy);
}

body.is-dark .latest-editorial h3,
body.is-dark .latest-editorial p,
body.is-dark .latest-editorial strong,
body.is-dark .statement-grid article h3,
body.is-dark .statement-grid article p,
body.is-dark .program-card h3,
body.is-dark .program-card p,
body.is-dark .news-card h3,
body.is-dark .news-card span,
body.is-dark .home-news-item h3,
body.is-dark .home-news-item time,
body.is-dark .member-card h3,
body.is-dark .member-card p,
body.is-dark .content-aside strong,
body.is-dark .content-aside span,
body.is-dark .portrait-title h2,
body.is-dark .portrait-card h3,
body.is-dark .portrait-card p,
body.is-dark .news-showcase-card h3,
body.is-dark .news-showcase-card time {
  color: var(--honey);
}

body:not(.is-dark) .eyebrow,
body:not(.is-dark) .latest-editorial em,
body:not(.is-dark) .portrait-card span,
body:not(.is-dark) .member-card span,
body:not(.is-dark) .news-showcase-card span {
  color: var(--rose);
}

body.is-dark .eyebrow,
body.is-dark .latest-editorial em,
body.is-dark .portrait-card span,
body.is-dark .member-card span,
body.is-dark .news-showcase-card span {
  color: var(--apricot);
}

body:not(.is-dark) .latest-editorial-article:hover h3,
body:not(.is-dark) .latest-editorial-feature:hover h3,
body:not(.is-dark) .latest-editorial-article:hover p,
body:not(.is-dark) .latest-editorial-feature:hover p,
body:not(.is-dark) .latest-editorial-article:hover strong,
body:not(.is-dark) .latest-editorial-feature:hover strong,
body:not(.is-dark) .program-card:hover h3,
body:not(.is-dark) .program-card:hover p,
body:not(.is-dark) .news-card:hover h3,
body:not(.is-dark) .news-card:hover span,
body:not(.is-dark) .home-news-item:hover h3,
body:not(.is-dark) .home-news-item:hover time,
body:not(.is-dark) .member-card:hover h3,
body:not(.is-dark) .member-card:hover p,
body:not(.is-dark) .statement-grid article:hover h3,
body:not(.is-dark) .statement-grid article:hover p,
body:not(.is-dark) .link-grid a:hover,
body:not(.is-dark) .portrait-card:hover h3,
body:not(.is-dark) .portrait-card:hover p,
body:not(.is-dark) .news-showcase-card:hover h3,
body:not(.is-dark) .news-showcase-card:hover time {
  color: #000;
}

body.is-dark .latest-editorial-article:hover h3,
body.is-dark .latest-editorial-feature:hover h3,
body.is-dark .latest-editorial-article:hover p,
body.is-dark .latest-editorial-feature:hover p,
body.is-dark .latest-editorial-article:hover strong,
body.is-dark .latest-editorial-feature:hover strong,
body.is-dark .program-card:hover h3,
body.is-dark .program-card:hover p,
body.is-dark .news-card:hover h3,
body.is-dark .news-card:hover span,
body.is-dark .home-news-item:hover h3,
body.is-dark .home-news-item:hover time,
body.is-dark .member-card:hover h3,
body.is-dark .member-card:hover p,
body.is-dark .statement-grid article:hover h3,
body.is-dark .statement-grid article:hover p,
body.is-dark .link-grid a:hover,
body.is-dark .portrait-card:hover h3,
body.is-dark .portrait-card:hover p,
body.is-dark .news-showcase-card:hover h3,
body.is-dark .news-showcase-card:hover time {
  color: #fff;
}

.latest-editorial-article:hover,
.latest-editorial-feature:hover,
.program-card:hover,
.news-card:hover,
.home-news-item:hover,
.member-card:hover,
.statement-grid article:hover,
.link-grid a:hover,
.portrait-card:hover,
.news-showcase-card:hover {
  border-color: var(--apricot);
}

.latest-editorial-article img,
.latest-editorial-feature img,
.program-card img,
.news-card img,
.portrait-card img,
.news-showcase-card img {
  filter: none;
}

/* Final override: projects section alignment and responsive layout. */
.home-projects-section[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

.home-projects-section[dir="ltr"] {
  direction: ltr;
  text-align: left;
}

.home-projects-section[dir="rtl"] .home-projects-head,
.home-projects-section[dir="rtl"] .home-project-feature-copy,
.home-projects-section[dir="rtl"] .home-project-card,
.home-projects-section[dir="rtl"] .home-project-feature-copy h3,
.home-projects-section[dir="rtl"] .home-project-feature-copy p,
.home-projects-section[dir="rtl"] .home-project-card strong {
  direction: rtl;
  text-align: right;
}

.home-projects-section[dir="ltr"] .home-projects-head,
.home-projects-section[dir="ltr"] .home-project-feature-copy,
.home-projects-section[dir="ltr"] .home-project-card,
.home-projects-section[dir="ltr"] .home-project-feature-copy h3,
.home-projects-section[dir="ltr"] .home-project-feature-copy p,
.home-projects-section[dir="ltr"] .home-project-card strong {
  direction: ltr;
  text-align: left;
}

.home-projects-section[dir="rtl"] .home-projects-head {
  flex-direction: row;
}

.home-projects-section[dir="ltr"] .home-projects-head {
  flex-direction: row;
}

.home-projects-section[dir="rtl"] .home-project-feature-media {
  grid-column: 1;
}

.home-projects-section[dir="rtl"] .home-project-feature-copy {
  grid-column: 2;
}

.home-projects-section[dir="ltr"] .home-project-feature-media {
  grid-column: 1;
}

.home-projects-section[dir="ltr"] .home-project-feature-copy {
  grid-column: 2;
}

.home-projects-section[dir="rtl"] .home-project-track {
  direction: rtl;
}

.home-projects-section[dir="rtl"] .home-project-feature-copy > span,
.home-projects-section[dir="rtl"] .home-project-card > span,
.home-projects-section[dir="rtl"] .home-project-feature-action,
.home-projects-section[dir="ltr"] .home-project-feature-copy > span,
.home-projects-section[dir="ltr"] .home-project-card > span,
.home-projects-section[dir="ltr"] .home-project-feature-action {
  justify-self: start;
}

.home-projects-section .home-project-feature-copy h3,
.home-projects-section .home-project-card strong {
  overflow-wrap: anywhere;
}

@media (max-width: 1180px) {
  .home-project-card {
    flex-basis: calc((100% - 36px) / 3);
  }
}

@media (max-width: 980px) {
  .home-projects-section {
    padding-block: 64px 78px;
  }

  .home-projects-shell {
    width: min(100% - 32px, 1120px);
    gap: 28px;
  }

  .home-projects-section[dir] .home-projects-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-projects-section[dir="rtl"] .home-projects-head {
    align-items: flex-end;
  }

  .home-project-feature {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .home-projects-section[dir] .home-project-feature-media,
  .home-projects-section[dir] .home-project-feature-copy {
    grid-column: auto;
  }

  .home-project-feature-copy {
    align-content: start;
  }

  .home-project-card {
    flex-basis: calc((100% - 18px) / 2);
  }
}

@media (max-width: 680px) {
  .home-projects-section {
    padding-block: 52px 66px;
  }

  .home-projects-shell {
    width: min(100% - 26px, 1120px);
    gap: 22px;
  }

  .home-projects-head h2 {
    font-size: clamp(32px, 11vw, 46px);
    line-height: 1.08;
  }

  .home-projects-controls {
    gap: 8px;
  }

  .home-projects-controls button {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }

  .home-project-feature {
    padding: 12px;
    border-radius: 8px;
  }

  .home-project-feature-media {
    min-height: 230px;
  }

  .home-project-feature-copy {
    gap: 13px;
  }

  .home-project-feature-copy h3 {
    font-size: clamp(25px, 8vw, 36px);
  }

  .home-project-feature-copy p {
    font-size: 15px;
    line-height: 1.75;
    -webkit-line-clamp: 5;
  }

  .home-project-card {
    grid-template-rows: 190px auto auto;
    flex-basis: 100%;
    padding: 12px;
  }

  .home-project-card img,
  .home-project-card-placeholder {
    height: 190px;
  }

  .home-project-card strong {
    font-size: 16px;
  }
}

@media (max-width: 420px) {
  .home-projects-shell {
    width: min(100% - 20px, 1120px);
  }

  .home-project-feature-media {
    min-height: 205px;
  }

  .home-project-card {
    grid-template-rows: 168px auto auto;
  }

  .home-project-card img,
  .home-project-card-placeholder {
    height: 168px;
  }
}

/* Absolute final footer button layout override. */
.site-footer .container.footer-grid {
  display: grid !important;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.8fr) !important;
  gap: clamp(18px, 3vw, 38px) !important;
  align-items: center !important;
  width: min(1160px, calc(100% - 34px)) !important;
  padding: 22px 0 14px !important;
}

.site-footer .footer-brand {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  gap: 10px 14px !important;
  align-items: center !important;
}

.site-footer .footer-logo {
  grid-row: 1 / span 2 !important;
  width: clamp(78px, 8vw, 108px) !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.site-footer p {
  max-width: 320px !important;
  margin: 0 !important;
  font-size: 12.5px !important;
  line-height: 1.55 !important;
}

.site-footer .footer-links {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
  align-items: center !important;
  align-content: center !important;
  gap: 8px !important;
  min-width: 0 !important;
}

.site-footer[dir="ltr"] .footer-links {
  justify-content: flex-start !important;
}

.site-footer .footer-link-group {
  display: contents !important;
  padding: 0 !important;
  border: 0 !important;
}

.site-footer .footer-link-group h2 {
  display: none !important;
}

.site-footer .footer-links a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 30px !important;
  width: auto !important;
  padding: 7px 12px !important;
  border: 1px solid rgba(97, 55, 62, 0.14) !important;
  border-radius: 999px !important;
  color: var(--burgundy) !important;
  background: rgba(255, 255, 255, 0.68) !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  transform: none !important;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease !important;
}

.site-footer .footer-links a:hover,
.site-footer .footer-links a:focus-visible {
  color: #241116 !important;
  border-color: var(--apricot) !important;
  background: var(--honey) !important;
  transform: none !important;
}

body.is-dark .site-footer .footer-links a {
  color: var(--honey) !important;
  border-color: rgba(255, 228, 175, 0.2) !important;
  background: rgba(0, 0, 0, 0.42) !important;
}

body.is-dark .site-footer .footer-links a:hover,
body.is-dark .site-footer .footer-links a:focus-visible {
  color: #000 !important;
  border-color: var(--honey) !important;
  background: var(--honey) !important;
}

.site-footer .footer-bottom {
  width: min(1160px, calc(100% - 34px)) !important;
  padding: 9px 0 12px !important;
}

@media (max-width: 900px) {
  .site-footer .container.footer-grid {
    grid-template-columns: 1fr !important;
    align-items: start !important;
    gap: 16px !important;
  }

  .site-footer .footer-links,
  .site-footer[dir="ltr"] .footer-links {
    justify-content: flex-start !important;
  }

  .site-footer[dir="rtl"] .footer-links {
    justify-content: flex-end !important;
  }
}

@media (max-width: 560px) {
  .site-footer .container.footer-grid,
  .site-footer .footer-bottom {
    width: min(100% - 26px, 1160px) !important;
  }

  .site-footer .container.footer-grid {
    padding-block: 18px 12px !important;
  }

  .site-footer .footer-brand {
    grid-template-columns: auto minmax(0, 1fr) !important;
  }

  .site-footer .footer-logo {
    width: 72px !important;
  }

  .site-footer .footer-links {
    gap: 7px !important;
  }

  .site-footer .footer-links a {
    min-height: 28px !important;
    padding: 6px 10px !important;
    font-size: 12px !important;
  }
}

/* Absolute final language alignment pass. */
html[dir="rtl"],
body.lang-ar {
  direction: rtl !important;
  text-align: right !important;
}

html[dir="ltr"],
body.lang-en {
  direction: ltr !important;
  text-align: left !important;
}

body.lang-ar main,
body.lang-ar section,
body.lang-ar article,
body.lang-ar .container,
body.lang-ar .section-head,
body.lang-ar .section-head.compact,
body.lang-ar .split,
body.lang-ar .content-page,
body.lang-ar .content-body,
body.lang-ar .home-news-section,
body.lang-ar .latest-editorial,
body.lang-ar .portrait-section,
body.lang-ar .home-projects-section,
body.lang-ar .site-footer,
body.lang-ar .footer-brand,
body.lang-ar .footer-links,
body.lang-ar .footer-bottom {
  direction: rtl !important;
  text-align: right !important;
}

body.lang-en main,
body.lang-en section,
body.lang-en article,
body.lang-en .container,
body.lang-en .section-head,
body.lang-en .section-head.compact,
body.lang-en .split,
body.lang-en .content-page,
body.lang-en .content-body,
body.lang-en .home-news-section,
body.lang-en .latest-editorial,
body.lang-en .portrait-section,
body.lang-en .home-projects-section,
body.lang-en .site-footer,
body.lang-en .footer-brand,
body.lang-en .footer-links,
body.lang-en .footer-bottom {
  direction: ltr !important;
  text-align: left !important;
}

body.lang-ar h1,
body.lang-ar h2,
body.lang-ar h3,
body.lang-ar h4,
body.lang-ar h5,
body.lang-ar h6,
body.lang-ar p,
body.lang-ar li,
body.lang-ar time,
body.lang-ar .eyebrow,
body.lang-ar .button,
body.lang-ar button,
body.lang-ar input,
body.lang-ar textarea,
body.lang-ar .news-card,
body.lang-ar .program-card,
body.lang-ar .member-card,
body.lang-ar .portrait-card,
body.lang-ar .home-news-item,
body.lang-ar .latest-editorial-article,
body.lang-ar .latest-editorial-feature,
body.lang-ar .home-project-card,
body.lang-ar .home-project-card strong {
  direction: rtl !important;
  text-align: right !important;
}

body.lang-en h1,
body.lang-en h2,
body.lang-en h3,
body.lang-en h4,
body.lang-en h5,
body.lang-en h6,
body.lang-en p,
body.lang-en li,
body.lang-en time,
body.lang-en .eyebrow,
body.lang-en .button,
body.lang-en button,
body.lang-en input,
body.lang-en textarea,
body.lang-en .news-card,
body.lang-en .program-card,
body.lang-en .member-card,
body.lang-en .portrait-card,
body.lang-en .home-news-item,
body.lang-en .latest-editorial-article,
body.lang-en .latest-editorial-feature,
body.lang-en .home-project-card,
body.lang-en .home-project-card strong {
  direction: ltr !important;
  text-align: left !important;
}

body.lang-ar .button,
body.lang-ar button,
body.lang-ar .home-project-more,
body.lang-ar .home-project-feature-action,
body.lang-ar .hero-share-button,
body.lang-ar .footer-links a,
body.lang-ar .language-pill,
body.lang-ar .icon-button {
  justify-content: center !important;
}

body.lang-ar .section-head,
body.lang-ar .section-head.compact,
body.lang-ar .home-projects-head,
body.lang-ar .news-showcase-head,
body.lang-ar .portrait-title,
body.lang-ar .latest-editorial-head {
  align-items: flex-end !important;
}

body.lang-en .section-head,
body.lang-en .section-head.compact,
body.lang-en .home-projects-head,
body.lang-en .news-showcase-head,
body.lang-en .portrait-title,
body.lang-en .latest-editorial-head {
  align-items: flex-start !important;
}

body.lang-ar .footer-links {
  justify-content: flex-start !important;
}

body.lang-en .footer-links {
  justify-content: flex-start !important;
}

body.lang-ar .home-project-track,
body.lang-ar .portrait-grid,
body.lang-ar .program-grid,
body.lang-ar .news-grid,
body.lang-ar .statement-grid,
body.lang-ar .member-grid,
body.lang-ar .latest-editorial-grid {
  direction: rtl !important;
}

body.lang-en .home-project-track,
body.lang-en .portrait-grid,
body.lang-en .program-grid,
body.lang-en .news-grid,
body.lang-en .statement-grid,
body.lang-en .member-grid,
body.lang-en .latest-editorial-grid {
  direction: ltr !important;
}

/* Flex start follows the language direction; flex end reverses it in RTL. */
body.lang-ar .site-footer .footer-links,
body.lang-en .site-footer .footer-links {
  flex-direction: row !important;
  justify-content: flex-start !important;
  width: 100% !important;
  justify-self: stretch !important;
}

body.lang-ar .site-footer .footer-links { direction: rtl !important; }
body.lang-en .site-footer .footer-links { direction: ltr !important; }

body.lang-ar .home-projects-head,
body.lang-en .home-projects-head {
  display: block !important;
}

body.lang-ar .home-projects-head > div,
body.lang-en .home-projects-head > div {
  width: 100% !important;
  margin-inline: 0 !important;
  text-align: start !important;
}

body.lang-ar .section-head,
body.lang-en .section-head,
body.lang-ar .news-showcase-head,
body.lang-en .news-showcase-head,
body.lang-ar .portrait-title,
body.lang-en .portrait-title,
body.lang-ar .latest-editorial-head,
body.lang-en .latest-editorial-head {
  align-items: start !important;
  text-align: start !important;
}

body.lang-ar .footer-bottom,
body.lang-en .footer-bottom {
  text-align: start !important;
}

body.lang-ar .menu-overlay .overlay-nav,
body.lang-en .menu-overlay .overlay-nav,
body.lang-ar .menu-overlay .overlay-group,
body.lang-en .menu-overlay .overlay-group,
body.lang-ar .menu-overlay .overlay-children,
body.lang-en .menu-overlay .overlay-children {
  text-align: center !important;
  justify-items: center !important;
}

.menu-overlay .overlay-nav {
  margin-inline: auto !important;
  justify-self: center !important;
}

.menu-overlay .overlay-group,
.menu-overlay .overlay-children {
  width: 100%;
}

.menu-overlay .overlay-main,
.menu-overlay .overlay-children a {
  text-align: center !important;
}

.newsletter-section {
  padding-block: 44px;
  background: #fff;
  color: var(--burgundy);
}
.newsletter-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 48px;
  align-items: center;
  text-align: start;
}
.newsletter-layout h2 {
  margin: 0 0 10px;
  font-family: inherit;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--burgundy);
}
.newsletter-layout p { margin: 0; font-size: 14px; line-height: 1.8; }
.newsletter-form { min-width: 0; font-family: inherit; }
.newsletter-form > label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 500; }
.newsletter-fields { display: flex; align-items: stretch; gap: 10px; }
.newsletter-section .newsletter-fields input {
  width: 100%;
  min-width: 0;
  flex: 1;
  height: 48px;
  box-sizing: border-box;
  padding: 0 14px;
  border: 1px solid var(--taupe);
  border-radius: 4px;
  background: transparent;
  color: var(--burgundy);
  font-family: inherit;
  font-size: 14px;
  direction: ltr !important;
  text-align: left !important;
}
.newsletter-fields input:focus { outline: 2px solid var(--apricot); outline-offset: 2px; }
.newsletter-section .newsletter-fields button {
  flex: 0 0 auto;
  min-width: 100px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--burgundy);
  border-radius: 4px;
  background: var(--burgundy);
  color: var(--honey);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}
.newsletter-section .newsletter-fields button:hover { background: #000; color: #fff; }
.newsletter-fields button:disabled { opacity: .6; cursor: wait; }
.newsletter-form .newsletter-consent {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
}
.newsletter-consent input { width: 16px; height: 16px; margin: 0; flex: 0 0 16px; accent-color: var(--burgundy); }
.newsletter-form .newsletter-status { margin-top: 8px; font-size: 13px; }
.newsletter-status:empty { display: none; }
body.is-dark .newsletter-section { background: #000; color: var(--honey); }
body.is-dark .newsletter-layout h2,
body.is-dark .newsletter-section .newsletter-fields input { color: var(--honey); }
body.is-dark .newsletter-section .newsletter-fields button { background: var(--honey); border-color: var(--honey); color: var(--burgundy); }
body.is-dark .newsletter-section .newsletter-fields button:hover { background: #fff; color: #000; }
@media (max-width: 700px) {
  .newsletter-section { padding-block: 30px; }
  .newsletter-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .newsletter-layout h2 { font-size: 24px; }
}
@media (max-width: 380px) {
  .newsletter-fields { gap: 7px; }
  .newsletter-section .newsletter-fields button { min-width: 80px; padding-inline: 12px; }
}

.portrait-controls,
.press-release-controls {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
}

body.lang-ar .portrait-controls,
body.lang-ar .press-release-controls { direction: rtl !important; }
body.lang-en .portrait-controls,
body.lang-en .press-release-controls { direction: ltr !important; }

.portrait-controls button,
.press-release-controls button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 1px solid var(--taupe) !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: var(--burgundy) !important;
  font-size: 20px !important;
  line-height: 1 !important;
  text-align: center !important;
  order: initial !important;
  transition: background 160ms ease, color 160ms ease !important;
}

body.is-dark .portrait-controls button,
body.is-dark .press-release-controls button { color: var(--honey) !important; }

.portrait-controls button:hover,
.press-release-controls button:hover,
.portrait-controls button:focus-visible,
.press-release-controls button:focus-visible {
  background: var(--honey) !important;
  color: var(--burgundy) !important;
  border-color: var(--apricot) !important;
}

@media (max-width: 1500px) {
  body .press-release-section { width: 100% !important; padding: 44px 0 !important; overflow: hidden !important; }
  body .press-release-shell {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 44px !important;
    grid-template-areas: "press-intro press-intro" "press-viewport press-controls" !important;
    align-items: stretch !important;
    gap: 18px 14px !important;
    width: min(1120px, calc(100% - 32px)) !important;
    max-width: 1120px !important;
    margin-inline: auto !important;
    transform: none !important;
  }
  body .press-release-section[dir="ltr"] .press-release-shell {
    grid-template-columns: 44px minmax(0, 1fr) !important;
    grid-template-areas: "press-intro press-intro" "press-controls press-viewport" !important;
  }
  body .press-release-intro {
    grid-area: press-intro !important;
    position: static !important;
    width: 100% !important;
    max-width: 760px !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
  body .press-release-intro h2 {
    margin: 0 !important;
    font-size: clamp(34px, 5vw, 58px) !important;
    line-height: 1.08 !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }
  body .press-release-controls {
    grid-area: press-controls !important;
    position: static !important;
    inset: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: stretch !important;
    width: 44px !important;
    margin: 0 !important;
    transform: none !important;
  }
  body .press-release-viewport { grid-area: press-viewport !important; }
  body .press-release-viewport,
  body .press-release-track {
    position: relative !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 300px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    transform: none !important;
  }
  body .press-release-card {
    inset: 0 !important;
    grid-template-columns: minmax(240px, 42%) minmax(0, 1fr) !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 300px !important;
    gap: clamp(18px, 3vw, 34px) !important;
    padding: 16px !important;
    margin: 0 !important;
  }
  body .press-release-card img {
    width: 100% !important;
    height: 268px !important;
    min-height: 268px !important;
    object-fit: cover !important;
  }
  body .press-release-card > span { align-content: center !important; min-width: 0 !important; }
  body .press-release-card strong {
    font-size: clamp(22px, 3vw, 36px) !important;
    line-height: 1.25 !important;
    overflow-wrap: break-word !important;
  }
}

@media (max-width: 620px) {
  body .press-release-shell,
  body .press-release-section[dir="ltr"] .press-release-shell {
    display: flex !important;
    flex-direction: column !important;
    width: calc(100% - 24px) !important;
  }
  body .press-release-controls {
    order: 2 !important;
    flex-direction: row !important;
    align-self: flex-start !important;
    width: auto !important;
    height: 40px !important;
  }
  body .press-release-viewport { order: 3 !important; }
  body .press-release-viewport,
  body .press-release-track { min-height: 410px !important; }
  body .press-release-card {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: 220px minmax(0, 1fr) !important;
    min-height: 410px !important;
  }
  body .press-release-card img { width: 100% !important; height: 220px !important; min-height: 220px !important; }
}
