@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600&family=Noto+Kufi+Arabic:wght@400;500;600;700&display=swap');

/* Safari/Chrome briefing-card compatibility repair — 2026-08-31 */
/* preview refresh 2026-09-11 */
@media (min-width: 1181px) {
  body.home #room-02 .cerax-briefing-cards > a {
    position: relative;
    isolation: isolate;
  }

  body.home #room-02 .cerax-briefing-cards > a > img {
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 46.5%;
    max-width: 100%;
    max-height: 46.5%;
    min-width: 0;
    min-height: 0;
    object-fit: cover;
    object-position: center;
  }

  body.home #room-02 .cerax-briefing-cards > a > span {
    position: relative;
    z-index: 1;
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #fffaf3;
  }

  html[dir="rtl"] body.home #room-02 .cerax-briefing-cards > a > img {
    height: 44%;
    max-height: 44%;
  }
}

/* Institution-wide Arabic typography — approved 2026-09-05 */
html[dir='rtl'] body {
  font-family: 'IBM Plex Sans Arabic', Arial, sans-serif !important;
  font-synthesis: none;
}

html[dir='rtl'] body :is(
  p, li, dd, dt, blockquote, figcaption, caption, small, em,
  label, legend, input, textarea, select, button, option, th, td,
  .entry-content, .entry-content p, .entry-summary, .post-excerpt,
  .wp-block-quote, .wp-block-pullquote, .wp-block-table,
  .wp-block-latest-posts__post-excerpt, .wp-block-post-excerpt__excerpt,
  .cerax-home-section-heading > span, .cerax-home-section-heading > a,
  .eosp-photo-summary, .cerax-briefing-cards em,
  .cerax-briefing-region-body p, .cerax-briefing-region-body small,
  .cerax-home-hero-copy p, .eosp-principle-card__content p,
  .site-footer p, .site-footer a, .wp-site-blocks footer a
) {
  font-family: 'IBM Plex Sans Arabic', Arial, sans-serif !important;
  letter-spacing: 0 !important;
}

html[dir='rtl'] body :is(
  h1, h2, h3, h4, h5, h6,
  .entry-title, .page-title, .archive-title, .wp-block-query-title,
  .wp-block-post-title, .eosp-cover__title, .eosp-photo-caption h3,
  .cerax-briefing-cards b, .cerax-briefing-feature b,
  .cerax-region-card b, .cerax-region-card strong,
  .cerax-advisory-card b, .cerax-advisory-card strong,
  .cerax-diplomacy-paths h3, .cerax-dialogue-programme h3,
  .cerax-dialogue-format h3, .eosp-principle-card__content h3
) {
  font-family: 'Noto Kufi Arabic', Arial, sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-wrap: pretty;
}

html[dir='rtl'] body :is(
  .site-header a, .site-header button, .site-header input,
  .main-navigation a, .primary-navigation a, nav a,
  .wp-block-navigation a, .wp-block-button__link,
  .page-numbers, .pagination a, .comment-navigation a,
  .cerax-home-section-heading > span, .cerax-home-section-heading > a,
  .cerax-home-hero-copy > span, .cerax-briefing-feature > span,
  .cerax-room-intro > span, .cerax-advisory-card small,
  .cerax-diplomacy-paths small
) {
  font-family: 'IBM Plex Sans Arabic', Arial, sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: .025em !important;
}

html[dir='rtl'] body :is(h1, h2, .entry-title, .page-title, .archive-title) {
  line-height: 1.42 !important;
}

html[dir='rtl'] body :is(h3, h4, h5, h6, .wp-block-post-title,
  .eosp-photo-caption h3, .cerax-briefing-cards b,
  .cerax-region-card b, .eosp-principle-card__content h3) {
  line-height: 1.52 !important;
}

@media (max-width: 780px) {
  html[dir='rtl'] body :is(h1, h2, .entry-title, .page-title, .archive-title) {
    line-height: 1.48 !important;
  }
}


/* 2026-09-06: توحيد خط بطاقات الإصدارات العربية */
html[dir='rtl'] body :is(
  .eosp-photo-card, .eosp-photo-card *,
  .eosp-photo-caption, .eosp-photo-caption *,
  .cerax-analysis-card, .cerax-analysis-card *,
  .cerax-briefing-cards, .cerax-briefing-cards *,
  .cerax-region-card, .cerax-region-card *
) {
  font-family: 'IBM Plex Sans Arabic', Arial, sans-serif !important;
}



/* 2026-09-06: تطبيق خط الواجهة العربية على كل أقسام الصفحة الرئيسية */
html[dir='rtl'] body:not(.wp-admin) :is(
  .site-header, .site-header *,
  main.palace, main.palace *,
  .site-footer, .site-footer *,
  footer, footer *
) {
  font-family: 'IBM Plex Sans Arabic', Arial, sans-serif !important;
}

html[dir='rtl'] body:not(.wp-admin) :is(
  main.palace h1, main.palace h2, main.palace h3,
  main.palace h4, main.palace h5, main.palace h6,
  main.palace .entry-title, main.palace .page-title,
  main.palace .archive-title, main.palace b, main.palace strong,
  main.palace [class*='title'], main.palace [class*='heading']
) {
  font-family: 'Noto Kufi Arabic', Arial, sans-serif !important;
}



/* 2026-09-06: حسم استثناءات القالب داخل قاعات الصفحة الرئيسية */
html[dir='rtl'] body.home :is(
  #room-01#room-01, #room-02#room-02,
  #room-03#room-03, #room-04#room-04,
  #room-05#room-05, #room-06#room-06,
  #room-07#room-07, #room-08#room-08
) :is(
  h1, h2, h3, h4, h5, h6, p, a, span, small,
  strong, em, b, time, li, label, button, input,
  textarea, select, option
) {
  font-family: 'IBM Plex Sans Arabic', Arial, sans-serif !important;
}

html[dir='rtl'] body.home :is(
  #room-01#room-01, #room-02#room-02,
  #room-03#room-03, #room-04#room-04,
  #room-05#room-05, #room-06#room-06,
  #room-07#room-07, #room-08#room-08
) :is(
  h1, h2, h3, h4, h5, h6, b, strong,
  [class*='title'], [class*='heading']
) {
  font-family: 'Noto Kufi Arabic', Arial, sans-serif !important;
}


/* 2026-09-06 — EOSP Arabic typography: approved document system
   Headings: Noto Kufi Arabic | Reading text and interface: IBM Plex Sans Arabic */
html[lang^='ar'] body:not(.wp-admin),
html[dir='rtl'] body:not(.wp-admin) {
  --eosp-arabic-heading: 'Noto Kufi Arabic', Arial, sans-serif;
  --eosp-arabic-text: 'IBM Plex Sans Arabic', Arial, sans-serif;
}

/* Baseline for Arabic pages: prose, menus, cards, forms and metadata. */
html[lang^='ar'] body:not(.wp-admin) #page *:not(svg):not(path):not([class*='icon']):not([class*='dashicons']):not([class*='fa-']),
html[dir='rtl'] body:not(.wp-admin) #page *:not(svg):not(path):not([class*='icon']):not([class*='dashicons']):not([class*='fa-']) {
  font-family: var(--eosp-arabic-text) !important;
}

/* The approved heading face, wherever a heading or headline appears. */
html[lang^='ar'] body:not(.wp-admin) #page :is(h1, h2, h3, h4, h5, h6, .entry-title, .page-title, .archive-title, .wp-block-heading, [class*='title'], [class*='heading'], [class*='headline']),
html[dir='rtl'] body:not(.wp-admin) #page :is(h1, h2, h3, h4, h5, h6, .entry-title, .page-title, .archive-title, .wp-block-heading, [class*='title'], [class*='heading'], [class*='headline']) {
  font-family: var(--eosp-arabic-heading) !important;
}

/* Header, navigation, footer and every primary home-room component. */
html[dir='rtl'] body.home :is(.site-header, .site-footer, footer, #room-01#room-01, #room-02#room-02, #room-03#room-03, #room-04#room-04, #room-05#room-05, #room-06#room-06, #room-07#room-07, #room-08#room-08) *:not(svg):not(path):not([class*='icon']):not([class*='dashicons']):not([class*='fa-']) {
  font-family: var(--eosp-arabic-text) !important;
}

html[dir='rtl'] body.home :is(.site-header, .site-footer, footer, #room-01#room-01, #room-02#room-02, #room-03#room-03, #room-04#room-04, #room-05#room-05, #room-06#room-06, #room-07#room-07, #room-08#room-08) :is(h1, h2, h3, h4, h5, h6, .entry-title, .page-title, .archive-title, .wp-block-heading, [class*='title'], [class*='heading'], [class*='headline']) {
  font-family: var(--eosp-arabic-heading) !important;
}

/* Theme-specific home-page rules contain doubled IDs; these final rules take precedence. */
html[dir='rtl'] body.home :is(#room-01#room-01, #room-02#room-02, #room-03#room-03, #room-04#room-04, #room-05#room-05, #room-06#room-06, #room-07#room-07, #room-08#room-08) :is(h1, h2, h3, h4, h5, h6, .entry-title, .page-title, .archive-title, .wp-block-heading, [class*='title'], [class*='heading'], [class*='headline']) {
  font-family: var(--eosp-arabic-heading) !important;
}


/* 2026-09-09 — Arabic home hierarchy repair.
   Titles use Noto Kufi Arabic; reading copy and interface remain IBM Plex Sans Arabic. */
html[dir='rtl'] body.home :is(#room-01#room-01, #room-02#room-02, #room-03#room-03, #room-04#room-04, #room-05#room-05, #room-06#room-06, #room-07#room-07, #room-08#room-08) :is(
  h1, h2, h3, h4, h5, h6,
  .eosp-photo-caption h3,
  .cerax-briefing-feature h3,
  .cerax-analysis-list b,
  .cerax-briefing-cards b,
  .cerax-publication-card-link h3,
  .cerax-region-link > b,
  .cerax-advisory-card b,
  .cerax-advisory-card strong,
  .cerax-diplomacy-paths h3,
  .cerax-dialogue-programme h3,
  .cerax-dialogue-format h3,
  .eosp-principle-card__content h3,
  .eosp-cover__title
) {
  font-family: 'Noto Kufi Arabic', Arial, sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  font-synthesis: none;
}

html[dir='rtl'] body.home :is(#room-01#room-01, #room-02#room-02, #room-03#room-03, #room-04#room-04, #room-05#room-05, #room-06#room-06, #room-07#room-07, #room-08#room-08) :is(
  p, li, small, em, label, input, textarea, select, button,
  .eosp-photo-summary,
  .cerax-briefing-region-body p,
  .cerax-briefing-region-body small,
  .cerax-home-hero-copy p,
  .eosp-principle-card__content p,
  .cerax-home-section-heading > span,
  .cerax-home-section-heading > a,
  .cerax-home-hero-copy > span,
  .cerax-briefing-feature > span,
  .cerax-room-intro > span,
  .cerax-advisory-card small,
  .cerax-diplomacy-paths small
) {
  font-family: 'IBM Plex Sans Arabic', Arial, sans-serif !important;
  letter-spacing: 0 !important;
  font-synthesis: none;
}

html[dir='rtl'] body:not(.home) :is(h1, h2, h3, h4, h5, h6) {
  font-family: 'Noto Kufi Arabic', Arial, sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  font-synthesis: none;
}


/* 2026-09-09 — final cascade priority for Arabic homepage titles. */
html[dir='rtl'] body.home :is(
  #room-01#room-01#room-01,
  #room-02#room-02#room-02,
  #room-03#room-03#room-03,
  #room-04#room-04#room-04,
  #room-05#room-05#room-05,
  #room-06#room-06#room-06,
  #room-07#room-07#room-07,
  #room-08#room-08#room-08
) :is(
  h1, h2, h3, h4, h5, h6,
  .eosp-photo-caption h3,
  .cerax-briefing-feature h3,
  .cerax-analysis-list b,
  .cerax-briefing-cards b,
  .cerax-publication-card-link h3,
  .cerax-region-link > b,
  .cerax-advisory-card b,
  .cerax-advisory-card strong,
  .cerax-diplomacy-paths h3,
  .cerax-dialogue-programme h3,
  .cerax-dialogue-format h3,
  .eosp-principle-card__content h3,
  .eosp-cover__title
) {
  font-family: 'Noto Kufi Arabic', Arial, sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  font-synthesis: none;
}


/* 2026-09-09 — two-line summaries for the latest-analysis cards. */
#room-02#room-02 .eosp-photo-latest .eosp-photo-card .eosp-photo-caption {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    'title arrow'
    'summary summary';
  column-gap: 14px;
  row-gap: 8px;
}

#room-02#room-02 .eosp-photo-latest .eosp-photo-card .eosp-photo-caption h3 {
  grid-area: title;
  margin: 0 !important;
}

#room-02#room-02 .eosp-photo-latest .eosp-photo-card .eosp-photo-arrow {
  grid-area: arrow;
}

#room-02#room-02 .eosp-photo-latest .eosp-photo-card .eosp-photo-caption::after {
  grid-area: summary;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: clamp(0.86rem, 1.05vw, 1rem);
  font-weight: 400;
  line-height: 1.65;
  color: #69788a;
}

html[dir='rtl'] #room-02#room-02 .eosp-photo-latest .eosp-photo-card:nth-of-type(1) .eosp-photo-caption::after {
  content: 'تقليص التبعيات الحرجة مع حماية الانفتاح والتنافسية والشراكات الأوروبية.';
  font-family: 'IBM Plex Sans Arabic', Arial, sans-serif;
}

html[dir='rtl'] #room-02#room-02 .eosp-photo-latest .eosp-photo-card:nth-of-type(2) .eosp-photo-caption::after {
  content: 'ضمانات أمنية قابلة للتنفيذ تساند سلاماً عادلاً وصموداً طويل الأمد لأوكرانيا.';
  font-family: 'IBM Plex Sans Arabic', Arial, sans-serif;
}

html:not([dir='rtl']) #room-02#room-02 .eosp-photo-latest .eosp-photo-card:nth-of-type(1) .eosp-photo-caption::after {
  content: 'Reducing critical dependencies while protecting openness, competitiveness and European partnerships.';
  font-family: Georgia, serif;
}

html:not([dir='rtl']) #room-02#room-02 .eosp-photo-latest .eosp-photo-card:nth-of-type(2) .eosp-photo-caption::after {
  content: 'Actionable security guarantees for a just peace and Ukraine’s long-term resilience.';
  font-family: Georgia, serif;
}


/* 2026-09-09 — Arabic Diplomatic House: calm, centered institutional hierarchy. */
html[dir='rtl'] body.home #room-06#room-06 .cerax-home-hero-copy {
  left: 50% !important;
  right: auto !important;
  top: 19% !important;
  width: min(840px, calc(100% - 96px)) !important;
  height: auto !important;
  min-height: 0 !important;
  box-sizing: border-box;
  padding: 25px 54px 24px !important;
  transform: translateX(-50%) !important;
  text-align: center !important;
  background: rgba(1, 25, 43, .93);
  border-top: 1px solid rgba(222, 176, 95, .72);
  border-bottom: 1px solid rgba(222, 176, 95, .72);
}

html[dir='rtl'] body.home #room-06#room-06 .cerax-home-hero-copy h2 {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  color: #f0d59f !important;
  font-family: 'Noto Kufi Arabic', Arial, sans-serif !important;
  font-size: clamp(2.15rem, 3.7vw, 3.1rem) !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  text-align: center !important;
}

html[dir='rtl'] body.home #room-06#room-06 .cerax-home-hero-copy p {
  width: min(690px, 100%) !important;
  max-width: none !important;
  margin: 15px auto 0 !important;
  color: rgba(255, 250, 242, .95) !important;
  font-family: 'IBM Plex Sans Arabic', Arial, sans-serif !important;
  font-size: clamp(1rem, 1.45vw, 1.16rem) !important;
  font-weight: 400 !important;
  line-height: 1.82 !important;
  text-align: center !important;
}

html[dir='rtl'] body.home #room-06#room-06 .cerax-diplomacy-paths {
  left: 50% !important;
  right: auto !important;
  width: min(980px, calc(100% - 112px)) !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  column-gap: 24px !important;
  transform: translateX(-50%) !important;
}

html[dir='rtl'] body.home #room-06#room-06 .cerax-diplomacy-paths article {
  min-width: 0;
  grid-template-columns: 42% 58% !important;
}

html[dir='rtl'] body.home #room-06#room-06 .cerax-diplomacy-paths article > div {
  min-height: 181px;
  box-sizing: border-box;
  padding: 10px 18px !important;
}

html[dir='rtl'] body.home #room-06#room-06 .cerax-diplomacy-paths h3 {
  min-height: 46px;
  margin: 3px 0 6px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: #fffaf2 !important;
  font-family: 'Noto Kufi Arabic', Arial, sans-serif !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 1.48 !important;
  text-align: center !important;
}

html[dir='rtl'] body.home #room-06#room-06 .cerax-diplomacy-paths article > div > p {
  min-height: 38px;
  margin: 0 !important;
  color: rgba(246, 241, 231, .88) !important;
  font-family: 'IBM Plex Sans Arabic', Arial, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  text-align: center !important;
}

html[dir='rtl'] body.home #room-06#room-06 .cerax-diplomacy-paths article > div > a {
  margin-top: 7px !important;
  font-family: 'IBM Plex Sans Arabic', Arial, sans-serif !important;
  white-space: nowrap;
}

@media (max-width: 780px) {
  html[dir='rtl'] body.home #room-06#room-06 .cerax-home-hero-copy {
    top: 15% !important;
    width: calc(100% - 32px) !important;
    padding: 19px 22px 20px !important;
  }

  html[dir='rtl'] body.home #room-06#room-06 .cerax-home-hero-copy h2 {
    font-size: clamp(1.72rem, 8vw, 2.22rem) !important;
  }

  html[dir='rtl'] body.home #room-06#room-06 .cerax-home-hero-copy p {
    margin-top: 11px !important;
    font-size: 1rem !important;
    line-height: 1.78 !important;
  }

  html[dir='rtl'] body.home #room-06#room-06 .cerax-diplomacy-paths {
    width: calc(100% - 32px) !important;
    column-gap: 12px !important;
  }

  html[dir='rtl'] body.home #room-06#room-06 .cerax-diplomacy-paths article {
    grid-template-columns: 40% 60% !important;
  }

  html[dir='rtl'] body.home #room-06#room-06 .cerax-diplomacy-paths article > div {
    min-height: 176px;
    padding: 8px 10px !important;
  }

  html[dir='rtl'] body.home #room-06#room-06 .cerax-diplomacy-paths h3 {
    min-height: 46px;
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  html[dir='rtl'] body.home #room-06#room-06 .cerax-diplomacy-paths article > div > p {
    min-height: 42px;
    font-size: 12px !important;
    line-height: 1.55 !important;
  }

  html[dir='rtl'] body.home #room-06#room-06 .cerax-diplomacy-paths article > div > a {
    font-size: 12px !important;
    padding-inline: 8px !important;
  }
}


/* Keep the Arabic Diplomatic House programmes balanced at every viewport. */
html[dir='rtl'] body.home #room-06#room-06 .cerax-diplomacy-paths {
  grid-column: 1 / -1 !important;
  grid-row: auto !important;
  justify-self: center !important;
}

@media (max-width: 780px) {
  html[dir='rtl'] body.home #room-06#room-06 .cerax-diplomacy-paths {
    grid-template-columns: minmax(0, 1fr) !important;
    row-gap: 14px !important;
  }
}

html[dir='rtl'] body.home #room-06#room-06 .cerax-diplomacy-paths {
  left: auto !important;
  right: auto !important;
  transform: none !important;
}


/* Preserve a clear reading interval between the Arabic introduction and programmes. */
@media (min-width: 781px) {
  html[dir='rtl'] body.home #room-06#room-06 .cerax-diplomacy-paths {
    top: 425px !important;
  }
}
@media(min-width:781px){html[dir=rtl]#room-06 .cerax-diplomacy-paths{top:525px!important}}


/* Centred institutional masthead — 2026-09-09 */
@media (min-width: 981px) {
  .desktop-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto !important;
    gap: 0 !important;
    min-height: 236px !important;
    padding: 18px 32px 16px !important;
  }
  .desktop-header .desktop-brand {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 7px !important;
  }
  .desktop-header .desktop-crest-image { width: 78px !important; height: 78px !important; }
  .desktop-header .desktop-wordmark { width: auto !important; text-align: center !important; line-height: 1 !important; }
  .desktop-header .desktop-wordmark small { font-size: 0 !important; line-height: 1 !important; white-space: nowrap !important; }
  html:not([dir='rtl']) .desktop-header .desktop-wordmark small::after {
    content: 'European Organisation for Strategic Policy';
    display: block;
    color: #d9b46b;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .045em;
    line-height: 1.15;
    text-transform: uppercase;
  }
  html[dir='rtl'] .desktop-header .desktop-wordmark small::after {
    content: 'المنظمة الأوروبية للسياسات الاستراتيجية';
    display: block;
    color: #d9b46b;
    font-family: 'Noto Kufi Arabic', sans-serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
  }
  .desktop-header .desktop-primary {
    order: 2 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    width: min(100%, 1120px) !important;
    min-height: 0 !important;
    margin: 16px 0 0 !important;
    padding: 13px 0 0 !important;
    gap: 8px clamp(14px, 1.6vw, 28px) !important;
    border-top: 1px solid rgba(203, 159, 77, .5);
  }
  .desktop-header .desktop-primary > a {
    flex: 0 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 0 !important;
    color: #e3c98f !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    text-align: center !important;
  }
  html[dir='rtl'] .desktop-header .desktop-primary > a {
    font-family: 'IBM Plex Sans Arabic', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
  }
  .desktop-header .desktop-tools {
    order: 3 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    margin: 10px 0 0 !important;
    padding: 0 !important;
    gap: 12px !important;
    grid-template-columns: none !important;
  }
  .desktop-header .desktop-search { width: 108px !important; }
  .desktop-header .desktop-language {
    min-width: auto !important;
    padding: 0 12px !important;
    border-inline: 1px solid rgba(203, 159, 77, .5);
  }
  .desktop-header .desktop-contact {
    min-width: 112px !important;
    margin: 0 !important;
    padding: 8px 16px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 980px) {
  .mobile-header {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 102px !important;
    padding: 9px 78px !important;
  }
  .mobile-header .brand {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    padding: 0 !important;
    gap: 3px !important;
  }
  .mobile-header .mobile-crest-image { width: 52px !important; height: 52px !important; }
  .mobile-header .wordmark { width: auto !important; text-align: center !important; }
  .mobile-header .wordmark small { font-size: 0 !important; line-height: 1 !important; white-space: nowrap !important; }
  html:not([dir='rtl']) .mobile-header .wordmark small::after {
    content: 'European Organisation for Strategic Policy';
    color: #d9b46b;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .025em;
    text-transform: uppercase;
  }
  html[dir='rtl'] .mobile-header .wordmark small::after {
    content: 'المنظمة الأوروبية للسياسات الاستراتيجية';
    color: #d9b46b;
    font-family: 'Noto Kufi Arabic', sans-serif;
    font-size: 9px;
    font-weight: 600;
  }
  .mobile-header .mobile-actions {
    position: absolute !important;
    inset-inline-end: 13px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
}

@media (min-width: 981px) {
  .desktop-header .desktop-brand { flex: none !important; align-self: center !important; }
  .desktop-header .desktop-brand::after { display: none !important; }
}

/* Keep the institutional name as one considered line in both languages. */
@media (min-width: 981px) {
  html[dir='rtl'] .desktop-header .desktop-brand .desktop-wordmark small,
  html:not([dir='rtl']) .desktop-header .desktop-brand .desktop-wordmark small {
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
  }
}
@media (max-width: 980px) {
  html[dir='rtl'] .mobile-header .brand .wordmark small,
  html:not([dir='rtl']) .mobile-header .brand .wordmark small {
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
  }
}

@media (min-width: 981px) {
  html[dir='rtl'] .desktop-header .desktop-brand,
  html:not([dir='rtl']) .desktop-header .desktop-brand {
    display: flex !important;
    flex: none !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    gap: 7px !important;
  }
  html[dir='rtl'] .desktop-header .desktop-brand .desktop-crest-image,
  html:not([dir='rtl']) .desktop-header .desktop-brand .desktop-crest-image {
    width: 78px !important;
    height: 78px !important;
  }
}

/* Mobile masthead: centred identity, with compact utility controls. */
@media (max-width: 980px) {
  html[dir='rtl'] body .mobile-header,
  html:not([dir='rtl']) body .mobile-header {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 108px !important;
    padding: 8px 66px !important;
  }
  html[dir='rtl'] body .mobile-header .brand,
  html:not([dir='rtl']) body .mobile-header .brand {
    display: flex !important;
    flex: none !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    padding: 0 !important;
    gap: 3px !important;
  }
  html[dir='rtl'] body .mobile-header .brand .mobile-crest-image,
  html:not([dir='rtl']) body .mobile-header .brand .mobile-crest-image {
    width: 46px !important;
    height: 46px !important;
  }
  html[dir='rtl'] body .mobile-header .brand .wordmark small,
  html:not([dir='rtl']) body .mobile-header .brand .wordmark small {
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
  }
  html[dir='rtl'] body .mobile-header .mobile-actions,
  html:not([dir='rtl']) body .mobile-header .mobile-actions {
    position: absolute !important;
    inset-inline-end: 12px !important;
    top: 14px !important;
    display: flex !important;
    flex-direction: column-reverse !important;
    align-items: center !important;
    gap: 8px !important;
    transform: none !important;
  }
  html[dir='rtl'] body .mobile-header .mobile-actions > a,
  html:not([dir='rtl']) body .mobile-header .mobile-actions > a {
    font-size: 8px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }
  html[dir='rtl'] .mobile-header .wordmark small::after {
    font-size: 7.5px !important;
    line-height: 1.2 !important;
  }
  html:not([dir='rtl']) .mobile-header .wordmark small::after {
    font-size: 7.5px !important;
    line-height: 1.2 !important;
  }
}



/* Editorial institutional masthead — 2026-09-10 */
@media (min-width: 981px) {
  body .desktop-header {
    display: grid !important;
    grid-template-columns: minmax(252px, 1.1fr) minmax(0, 3fr) minmax(208px, .9fr) !important;
    grid-template-rows: 1fr !important;
    align-items: center !important;
    min-height: 104px !important;
    height: auto !important;
    padding: 16px clamp(26px, 3vw, 54px) !important;
    gap: 18px !important;
  }
  body .desktop-header .desktop-brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: flex !important;
    flex: none !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    align-self: center !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 13px !important;
  }
  body .desktop-header .desktop-crest-image {
    width: 62px !important;
    height: 62px !important;
    flex: 0 0 62px !important;
  }
  body .desktop-header .desktop-wordmark {
    width: auto !important;
    margin: 0 !important;
    text-align: start !important;
  }
  body .desktop-header .desktop-wordmark small {
    display: block !important;
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    white-space: pre-line !important;
  }
  html:not([dir='rtl']) body .desktop-header .desktop-wordmark small::after {
    content: 'EUROPEAN ORGANISATIONA FOR STRATEGIC POLICY' !important;
    display: block !important;
    color: #dec182 !important;
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    letter-spacing: .025em !important;
    line-height: 1.08 !important;
    white-space: pre-line !important;
  }
  html[dir='rtl'] body .desktop-header .desktop-wordmark small::after {
    content: 'المنظمة الأوروبيةA للسياسات الاستراتيجية' !important;
    display: block !important;
    color: #dec182 !important;
    font-family: 'Noto Kufi Arabic', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    line-height: 1.45 !important;
    white-space: pre-line !important;
  }
  body .desktop-header .desktop-primary {
    grid-column: 2 !important;
    grid-row: 1 !important;
    order: initial !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: clamp(13px, 1.35vw, 25px) !important;
    border: 0 !important;
  }
  body .desktop-header .desktop-primary > a {
    flex: 0 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 7px 0 8px !important;
    color: #e4c98d !important;
    font-size: clamp(11px, .78vw, 14px) !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    white-space: nowrap !important;
    border-bottom: 2px solid transparent !important;
  }
  body .desktop-header .desktop-primary > a:hover,
  body .desktop-header .desktop-primary > a[aria-current='page'] {
    color: #fff4dc !important;
    border-bottom-color: #c89639 !important;
  }
  html[dir='rtl'] body .desktop-header .desktop-primary {
    direction: rtl !important;
  }
  html[dir='rtl'] body .desktop-header .desktop-primary > a {
    font-family: 'IBM Plex Sans Arabic', sans-serif !important;
    font-size: clamp(11px, .8vw, 14px) !important;
    font-weight: 600 !important;
  }
  body .desktop-header .desktop-tools {
    grid-column: 3 !important;
    grid-row: 1 !important;
    order: initial !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 11px !important;
  }
  body .desktop-header .desktop-search {
    width: auto !important;
  }
  body .desktop-header .desktop-language {
    min-width: auto !important;
    padding: 0 11px !important;
    border-inline: 1px solid rgba(203, 159, 77, .48) !important;
  }
  body .desktop-header .desktop-contact {
    min-width: 105px !important;
    margin: 0 !important;
    padding: 9px 15px !important;
    font-size: 12px !important;
  }
  html[dir='rtl'] body .desktop-header .desktop-brand {
    grid-column: 3 !important;
    justify-content: flex-end !important;
    text-align: end !important;
  }
  html[dir='rtl'] body .desktop-header .desktop-wordmark {
    text-align: end !important;
  }
  html[dir='rtl'] body .desktop-header .desktop-primary {
    grid-column: 2 !important;
  }
  html[dir='rtl'] body .desktop-header .desktop-tools {
    grid-column: 1 !important;
    justify-content: flex-start !important;
  }
}
@media (min-width: 981px) and (max-width: 1320px) {
  body .desktop-header {
    grid-template-columns: minmax(215px, .9fr) minmax(0, 3fr) minmax(180px, .75fr) !important;
    padding-inline: 22px !important;
    gap: 12px !important;
  }
  body .desktop-header .desktop-crest-image {
    width: 52px !important;
    height: 52px !important;
    flex-basis: 52px !important;
  }
  html:not([dir='rtl']) body .desktop-header .desktop-wordmark small::after {
    font-size: 14px !important;
  }
  html[dir='rtl'] body .desktop-header .desktop-wordmark small::after {
    font-size: 12px !important;
  }
  body .desktop-header .desktop-primary {
    gap: 11px !important;
  }
  body .desktop-header .desktop-primary > a {
    font-size: 10.5px !important;
  }
  body .desktop-header .desktop-contact {
    min-width: 88px !important;
    padding-inline: 10px !important;
  }
}
@media (max-width: 980px) {
  body .mobile-header {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 84px !important;
    padding: 9px 66px !important;
  }
  body .mobile-header .brand {
    display: flex !important;
    flex: none !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    padding: 0 !important;
    gap: 8px !important;
  }
  body .mobile-header .mobile-crest-image {
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px !important;
  }
  body .mobile-header .wordmark {
    width: auto !important;
    text-align: start !important;
  }
  body .mobile-header .wordmark small {
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    white-space: pre-line !important;
  }
  html:not([dir='rtl']) body .mobile-header .wordmark small::after {
    content: 'EUROPEAN ORGANISATIONA FOR STRATEGIC POLICY' !important;
    display: block !important;
    color: #dec182 !important;
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: 8px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    letter-spacing: .015em !important;
    white-space: pre-line !important;
  }
  html[dir='rtl'] body .mobile-header .wordmark small::after {
    content: 'المنظمة الأوروبيةA للسياسات الاستراتيجية' !important;
    display: block !important;
    color: #dec182 !important;
    font-family: 'Noto Kufi Arabic', sans-serif !important;
    font-size: 8px !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
    white-space: pre-line !important;
  }
  body .mobile-header .mobile-actions {
    position: absolute !important;
    inset-inline-end: 12px !important;
    top: 50% !important;
    display: flex !important;
    flex-direction: column-reverse !important;
    align-items: center !important;
    gap: 7px !important;
    transform: translateY(-50%) !important;
  }
}


/* Wordmark line-break correction — 2026-09-10 */
@media (min-width: 981px) {
  html:not([dir='rtl']) body .desktop-header .desktop-wordmark small::after {
    content: 'EUROPEAN ORGANISATION FOR STRATEGIC POLICY' !important;
    max-width: 260px !important;
    white-space: normal !important;
  }
  html[dir='rtl'] body .desktop-header .desktop-wordmark small::after {
    content: 'المنظمة الأوروبية للسياسات الاستراتيجية' !important;
    max-width: 245px !important;
    white-space: normal !important;
  }
}
@media (max-width: 980px) {
  html:not([dir='rtl']) body .mobile-header .wordmark small::after {
    content: 'EUROPEAN ORGANISATION FOR STRATEGIC POLICY' !important;
    max-width: 136px !important;
    white-space: normal !important;
  }
  html[dir='rtl'] body .mobile-header .wordmark small::after {
    content: 'المنظمة الأوروبية للسياسات الاستراتيجية' !important;
    max-width: 142px !important;
    white-space: normal !important;
  }
}

/* Institutional lockup prominence — 2026-09-10 */
@media (min-width: 981px) {
  html:not([dir='rtl']) body .desktop-header .desktop-brand,
  html[dir='rtl'] body .desktop-header .desktop-brand {
    display: flex !important;
    flex: none !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    align-self: center !important;
    gap: 13px !important;
  }
  html:not([dir='rtl']) body .desktop-header .desktop-crest-image,
  html[dir='rtl'] body .desktop-header .desktop-crest-image {
    width: 62px !important;
    height: 62px !important;
    flex: 0 0 62px !important;
  }
  html:not([dir='rtl']) body .desktop-header .desktop-wordmark,
  html[dir='rtl'] body .desktop-header .desktop-wordmark {
    display: block !important;
    width: auto !important;
    margin: 0 !important;
  }
  html[dir='rtl'] body .desktop-header .desktop-brand {
    justify-content: flex-end !important;
  }
}
@media (min-width: 981px) and (max-width: 1320px) {
  html:not([dir='rtl']) body .desktop-header .desktop-crest-image,
  html[dir='rtl'] body .desktop-header .desktop-crest-image {
    width: 52px !important;
    height: 52px !important;
    flex-basis: 52px !important;
  }
}

/* Restore the native institutional wordmark for clear two-line typography. */
@media (min-width: 981px) {
  html:not([dir='rtl']) body .desktop-header .desktop-wordmark small {
    display: block !important;
    width: 205px !important;
    max-width: 205px !important;
    color: #dec182 !important;
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: .02em !important;
    line-height: 1.12 !important;
    white-space: normal !important;
  }
  html[dir='rtl'] body .desktop-header .desktop-wordmark small {
    display: block !important;
    width: 215px !important;
    max-width: 215px !important;
    color: #dec182 !important;
    font-family: 'Noto Kufi Arabic', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
    white-space: normal !important;
  }
  html:not([dir='rtl']) body .desktop-header .desktop-wordmark small::after,
  html[dir='rtl'] body .desktop-header .desktop-wordmark small::after {
    content: none !important;
  }
}
@media (max-width: 980px) {
  html:not([dir='rtl']) body .mobile-header .wordmark small {
    display: block !important;
    width: 128px !important;
    color: #dec182 !important;
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: 8px !important;
    font-weight: 700 !important;
    line-height: 1.12 !important;
    white-space: normal !important;
  }
  html[dir='rtl'] body .mobile-header .wordmark small {
    display: block !important;
    width: 135px !important;
    color: #dec182 !important;
    font-family: 'Noto Kufi Arabic', sans-serif !important;
    font-size: 8px !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
    white-space: normal !important;
  }
  html:not([dir='rtl']) body .mobile-header .wordmark small::after,
  html[dir='rtl'] body .mobile-header .wordmark small::after {
    content: none !important;
  }
}

/* Clear editorial wordmark. */
@media (min-width: 981px) {
  html:not([dir='rtl']) body .desktop-header {
    grid-template-columns: 280px minmax(0, 3fr) minmax(208px, .9fr) !important;
  }
  html[dir='rtl'] body .desktop-header {
    grid-template-columns: minmax(208px, .9fr) minmax(0, 3fr) 280px !important;
  }
  html:not([dir='rtl']) body .desktop-header .desktop-brand .desktop-wordmark small::after {
    content: 'EUROPEAN ORGANISATION FOR STRATEGIC POLICY' !important;
    display: block !important;
    width: 208px !important;
    color: #dec182 !important;
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: .025em !important;
    line-height: 1.16 !important;
    white-space: normal !important;
  }
  html[dir='rtl'] body .desktop-header .desktop-brand .desktop-wordmark small::after {
    content: 'المنظمة الأوروبية للسياسات الاستراتيجية' !important;
    display: block !important;
    width: 215px !important;
    color: #dec182 !important;
    font-family: 'Noto Kufi Arabic', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    white-space: normal !important;
  }
}
@media (max-width: 980px) {
  html:not([dir='rtl']) body .mobile-header .brand .wordmark small::after {
    content: 'EUROPEAN ORGANISATION FOR STRATEGIC POLICY' !important;
    display: block !important;
    width: 130px !important;
    color: #dec182 !important;
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: 8px !important;
    font-weight: 700 !important;
    line-height: 1.16 !important;
    white-space: normal !important;
  }
  html[dir='rtl'] body .mobile-header .brand .wordmark small::after {
    content: 'المنظمة الأوروبية للسياسات الاستراتيجية' !important;
    display: block !important;
    width: 138px !important;
    color: #dec182 !important;
    font-family: 'Noto Kufi Arabic', sans-serif !important;
    font-size: 8px !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
    white-space: normal !important;
  }
}

/* Preserve clear spacing at medium desktop widths. */
@media (min-width: 981px) and (max-width: 1320px) {
  html:not([dir='rtl']) body .desktop-header .desktop-primary,
  html[dir='rtl'] body .desktop-header .desktop-primary {
    gap: 7px !important;
  }
  html:not([dir='rtl']) body .desktop-header .desktop-primary > a {
    font-size: 9.5px !important;
    padding-inline: 0 !important;
  }
  html[dir='rtl'] body .desktop-header .desktop-primary > a {
    font-size: 10px !important;
    padding-inline: 0 !important;
  }
}

@media (min-width: 981px) {
  html:not([dir='rtl']) body .desktop-header .desktop-brand .desktop-wordmark small::after {
    width: 198px !important;
  }
}

@media (min-width: 981px) {
  html:not([dir='rtl']) body .desktop-header .desktop-brand .desktop-wordmark small::after {
    font-size: 12px !important;
    letter-spacing: .012em !important;
  }
}

/* Wide-screen institutional prominence. */
@media (min-width: 1321px) {
  html:not([dir='rtl']) body .desktop-header {
    grid-template-columns: 372px minmax(0, 3fr) 236px !important;
    min-height: 122px !important;
  }
  html[dir='rtl'] body .desktop-header {
    grid-template-columns: 236px minmax(0, 3fr) 372px !important;
    min-height: 122px !important;
  }
  html:not([dir='rtl']) body .desktop-header .desktop-crest-image,
  html[dir='rtl'] body .desktop-header .desktop-crest-image {
    width: 80px 

/* Mobile institutional lockup — clear, compact and calm. */
@media (max-width: 980px) {
  body .mobile-header {
    min-height: 106px !important;
    padding-block: 12px !important;
  }
  body .mobile-header .brand {
    gap: 7px !important;
  }
  body .mobile-header .brand img {
    width: 52px !important;
    height: 52px !important;
  }
  html:not([dir='rtl']) body .mobile-header .brand .wordmark small::after {
    width: 158px !important;
    font-size: 9px !important;
    line-height: 1.24 !important;
  }
  html[dir='rtl'] body .mobile-header .brand .wordmark small::after {
    width: 162px !important;
    font-size: 9px !important;
    line-height: 1.42 !important;
  }
}
!important;
    height: 80px !important;
    flex-basis: 80px !important;
  }
  html:not([dir='rtl']) body .desktop-header .desktop-brand .desktop-wordmark small::after {
    width: 260px !important;
    font-size: 15px !important;
    line-height: 1.22 !important;
  }
  html[dir='rtl'] body .desktop-header .desktop-brand .desktop-wordmark small::after {
    width: 268px !important;
    font-size: 15px !important;
    line-height: 1.42 !important;
  }
}


/* Final layout safeguard — desktop and mobile. */
@media (min-width: 1321px) {
  html:not([dir='rtl']) body .desktop-header {
    grid-template-columns: 372px minmax(0, 3fr) 236px !important;
    min-height: 122px !important;
  }
  html[dir='rtl'] body .desktop-header {
    grid-template-columns: 236px minmax(0, 3fr) 372px !important;
    min-height: 122px !important;
  }
  body .desktop-header .desktop-crest-image {
    width: 80px !important;
    height: 80px !important;
    flex-basis: 80px !important;
  }
  html:not([dir='rtl']) body .desktop-header .desktop-brand .desktop-wordmark small::after {
    width: 260px !important;
    font-size: 15px !important;
    line-height: 1.22 !important;
  }
  html[dir='rtl'] body .desktop-header .desktop-brand .desktop-wordmark small::after {
    width: 268px !important;
    font-size: 15px !important;
    line-height: 1.42 !important;
  }
}
@media (max-width: 980px) {
  body .mobile-header {
    min-height: 106px !important;
    padding-block: 12px !important;
  }
  body .mobile-header .brand { gap: 7px !important; }
  body .mobile-header .brand img {
    width: 52px !important;
    height: 52px !important;
  }
  html:not([dir='rtl']) body .mobile-header .brand .wordmark small::after {
    width: 158px !important;
    font-size: 9px !important;
    line-height: 1.24 !important;
  }
  html[dir='rtl'] body .mobile-header .brand .wordmark small::after {
    width: 162px !important;
    font-size: 9px !important;
    line-height: 1.42 !important;
  }
}

/* END-MARKER-20260911 */

/* 2026-09-11 — Diplomatic palace masthead refinement. */
@media (min-width: 981px) {
  body .desktop-header {
    min-height: 116px !important;
    padding-inline: 34px !important;
    column-gap: 14px !important;
  }
  body .desktop-header .desktop-brand {
    gap: 14px !important;
    min-width: 0 !important;
  }
  body .desktop-header .desktop-crest-image {
    width: 86px !important;
    height: 86px !important;
    flex-basis: 86px !important;
  }
  html:not([dir='rtl']) body .desktop-header .desktop-brand .desktop-wordmark small::after {
    width: 198px !important;
    color: #dec182 !important;
    font-family: Baskerville, Georgia, 'Times New Roman', serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    letter-spacing: .018em !important;
    line-height: 1.12 !important;
    text-shadow: none !important;
  }
  html[dir='rtl'] body .desktop-header .desktop-brand .desktop-wordmark small::after {
    width: 198px !important;
    color: #dec182 !important;
    font-family: 'Noto Kufi Arabic', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    line-height: 1.48 !important;
    text-shadow: none !important;
  }
  body .desktop-header .desktop-primary {
    gap: 9px !important;
  }
  body .desktop-header .desktop-primary > a {
    font-size: 12.5px !important;
    font-weight: 600 !important;
    line-height: 1.22 !important;
  }
  html[dir='rtl'] body .desktop-header .desktop-primary > a {
    font-family: 'Noto Kufi Arabic', sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.48 !important;
  }
  body .desktop-header .desktop-contact {
    display: none !important;
  }
  body .desktop-header .desktop-tools {
    gap: 15px !important;
  }
}
@media (min-width: 981px) and (max-width: 1320px) {
  html:not([dir='rtl']) body .desktop-header {
    grid-template-columns: 300px minmax(0, 1fr) 128px !important;
  }
  html[dir='rtl'] body .desktop-header {
    grid-template-columns: 128px minmax(0, 1fr) 300px !important;
  }
}
@media (min-width: 1321px) {
  html:not([dir='rtl']) body .desktop-header {
    grid-template-columns: 326px minmax(0, 1fr) 142px !important;
  }
  html[dir='rtl'] body .desktop-header {
    grid-template-columns: 142px minmax(0, 1fr) 326px !important;
  }
  body .desktop-header .desktop-primary {
    gap: 16px !important;
  }
  body .desktop-header .desktop-primary > a {
    font-size: 15px !important;
    line-height: 1.2 !important;
  }
  html[dir='rtl'] body .desktop-header .desktop-primary > a {
    font-size: 14px !important;
    line-height: 1.45 !important;
  }
}


/* EOSP-2026-165–168: use issue-specific findings; preserve earlier editions. */
body:is(.postid-2,.postid-523,.postid-524,.postid-525,.postid-526,.postid-527,.postid-528,.postid-529) .reader-findings-section#key-findings,
body:is(.postid-2,.postid-523,.postid-524,.postid-525,.postid-526,.postid-527,.postid-528,.postid-529) .reader-outline a[href="#key-findings"],
body:is(.postid-2,.postid-523,.postid-524,.postid-525,.postid-526,.postid-527,.postid-528,.postid-529) #paper-body .eosp-release-paper > h2:first-child,
body:is(.postid-2,.postid-523,.postid-524,.postid-525,.postid-526,.postid-527,.postid-528,.postid-529) #paper-body .eosp-release-paper > h2:first-child + p {
  display: none !important;
}

/* EOSP new policy papers: readable, restrained titles on both languages. */
body:is(.postid-2,.postid-523,.postid-524,.postid-525,.postid-526,.postid-527,.postid-528,.postid-529) .reader-title-block h1 {
  font-size: clamp(28px, 2.6vw, 36px) !important;
  line-height: 1.24 !important;
  overflow-wrap: normal;
}
html[dir="rtl"] body:is(.postid-2,.postid-523,.postid-524,.postid-525,.postid-526,.postid-527,.postid-528,.postid-529) .reader-title-block h1 {
  font-size: clamp(27px, 2.3vw, 32px) !important;
  line-height: 1.5 !important;
}
@media (max-width: 600px) {
  body:is(.postid-2,.postid-523,.postid-524,.postid-525,.postid-526,.postid-527,.postid-528,.postid-529) .reader-title-block h1 {
    font-size: 28px !important;
  }
  html[dir="rtl"] body:is(.postid-2,.postid-523,.postid-524,.postid-525,.postid-526,.postid-527,.postid-528,.postid-529) .reader-title-block h1 {
    font-size: 27px !important;
  }
}
