/* Shared identity: navy / warm ivory / restrained gold. No page-specific selectors. */
:root {
  --rj-ink:#102c3a;
  --rj-navy:#102c3a;
  --rj-navy-deep:#0a202b;
  --rj-gold:#b68b49;
  --rj-gold-dark:#795820;
  --rj-paper:#f7f5f0;
  --rj-white:#fff;
  --rj-muted:#53646a;
  --rj-line:#dedfd8;
  --rj-radius:8px;
  --rj-shadow:0 16px 44px #102c3a0d;
  --rj-body:'Noto Sans Arabic',Tahoma,Arial,sans-serif;
  --rj-heading:'Noto Naskh Arabic',Georgia,serif;
  --rj-space:clamp(20px,4vw,64px)
}
*,*::before,*::after {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:24px
}
body.rj-site {
  margin:0;
  padding:0;
  background:var(--rj-paper);
  color:var(--rj-ink);
  font-family:var(--rj-body);
  font-size:16px;
  line-height:1.9;
  min-height:100vh;
  display:flex;
  flex-direction:column
}
img {
  max-width:100%;
  height:auto
}
a {
  color:var(--rj-ink);
  text-underline-offset:5px
}
a:hover {
  color:var(--rj-gold-dark)
}
button,input,select,textarea {
  font:inherit
}
button,a {
  -webkit-tap-highlight-color:transparent
}
button {
  cursor:pointer
}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,[tabindex]:focus-visible {
  outline:3px solid #a67424;
  outline-offset:5px
}
p {
  margin-block:0 1em
}
h1,h2,h3,h4 {
  font-family:var(--rj-heading);
  line-height:1.5;
  margin-block:0 .6em;
  color:var(--rj-ink)
}
h1 {
  font-size:clamp(32px,4.3vw,58px)
}
h2 {
  font-size:clamp(25px,3vw,36px)
}
h3 {
  font-size:24px
}
ul {
  padding-inline-start:1.3em
}
[hidden] {
  display:none!important
}
.rj-container {
  width:min(1240px,calc(100% - 64px));
  margin-inline:auto
}
.rj-main {
  flex:1;
  min-width:0
}
.rj-skip {
  position:fixed;
  top:8px;
  inset-inline-start:12px;
  z-index:1000;
  transform:translateY(-160%);
  background:var(--rj-navy);
  color:white;
  padding:10px 20px
}
.rj-skip:focus {
  transform:none;
  color:white
}
.rj-topline {
  background:var(--rj-navy-deep);
  color:#d9e0e1;
  font-size:12px;
  letter-spacing:.025em
}
.rj-topline .rj-container {
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding-block:8px
}
.rj-topline a {
  color:#d9e0e1;
  text-decoration:none
}
.rj-masthead {
  background:white;
  position:relative;
  z-index:20
}
.rj-brand-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding-block:25px
}
.rj-brand {
  display:flex;
  align-items:center;
  gap:18px;
  text-decoration:none
}
.rj-brand img {
  width:72px;
  height:72px;
  object-fit:contain;
  border-inline-end:1px solid var(--rj-line);
  padding-inline-end:14px
}
.rj-brand>span {
  display:flex;
  flex-direction:column
}
.rj-wordmark {
  font-family:Georgia,serif;
  font-weight:bold;
  font-size:38px;
  letter-spacing:3px;
  line-height:1
}
.rj-brand-dot,.rj-footer-wordmark span {
  color:var(--rj-gold)
}
.rj-brand-name {
  font-size:15px;
  font-weight:600;
  margin-top:10px
}
.rj-brand-fr {
  font:12px/1.6 Georgia,serif;
  letter-spacing:.35px;
  margin-top:4px
}
.rj-header-note {
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:8px;
  font-size:12px;
  color:var(--rj-muted)
}
.rj-text-link {
  font-size:13px;
  font-weight:600;
  text-decoration:none
}
.rj-text-link span {
  color:var(--rj-gold-dark);
  padding-inline-start:6px
}
.rj-nav-shell {
  border-block:1px solid var(--rj-line)
}
.rj-nav-list {
  display:flex;
  align-items:stretch;
  justify-content:space-between;
  list-style:none;
  margin:0;
  padding:0;
  gap:12px
}
.rj-nav-list>li>a,.rj-nav-list summary {
  display:flex;
  align-items:center;
  gap:12px;
  padding:16px 0;
  text-decoration:none;
  font-size:13px;
  white-space:nowrap;
  font-weight:500;
  border-bottom:3px solid transparent;
  cursor:pointer
}
.rj-nav-list [aria-current=page] {
  color:var(--rj-gold-dark);
  border-bottom-color:var(--rj-gold)
}
.rj-nav-list summary {
  list-style:none
}
.rj-nav-list summary::-webkit-details-marker {
  display:none
}
.rj-nav-list summary:hover,.rj-nav-list details[open]>summary {
  color:var(--rj-gold-dark)
}
.rj-nav-group {
  position:relative
}
.rj-nav-group ul {
  position:absolute;
  top:100%;
  inset-inline-start:0;
  min-width:260px;
  list-style:none;
  padding:12px;
  margin:0;
  background:white;
  border:1px solid var(--rj-line);
  box-shadow:var(--rj-shadow);
  border-radius:0 0 8px 8px
}
.rj-nav-group ul a {
  display:block;
  padding:10px 14px;
  text-decoration:none;
  font-size:13px;
  white-space:normal
}
.rj-nav-group ul a:hover {
  background:var(--rj-paper)
}
.rj-menu-toggle {
  display:none;
  padding:12px 0;
  background:none;
  border:0;
  align-items:center;
  gap:12px;
  color:var(--rj-ink)
}
.rj-page-heading {
  background:#eeeee7;
  border-bottom:1px solid var(--rj-line);
  padding-block:30px 40px
}
.rj-page-heading h1 {
  margin:10px 0 0;
  font-size:clamp(32px,4vw,48px)
}
.rj-page-heading p {
  margin-top:12px;
  max-width:65ch;
  color:var(--rj-muted)
}
.rj-breadcrumb {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  font-size:12px;
  color:var(--rj-muted)
}
.rj-breadcrumb a {
  text-decoration:none
}
.rj-content {
  padding-block:48px 72px
}
.rj-panel {
  background:white;
  border:1px solid var(--rj-line);
  border-radius:var(--rj-radius);
  padding:clamp(20px,3vw,40px);
  box-shadow:var(--rj-shadow)
}
.rj-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  min-height:48px;
  padding:11px 24px;
  border:1px solid var(--rj-navy);
  border-radius:4px;
  background:var(--rj-navy);
  color:white;
  text-decoration:none;
  font-size:14px;
  font-weight:600
}
.rj-button:hover {
  background:var(--rj-navy-deep);
  color:white
}
.rj-button-outline {
  background:transparent;
  color:var(--rj-ink)
}
.rj-empty {
  text-align:center;
  padding:56px 24px;
  border:1px dashed var(--rj-line);
  background:white;
  border-radius:var(--rj-radius)
}
.rj-eyebrow {
  font-size:12px;
  color:var(--rj-gold-dark);
  font-weight:700;
  letter-spacing:.04em;
  display:block;
  margin-bottom:14px
}
.rj-footer {
  background:var(--rj-navy-deep);
  color:#bdcbd0;
  padding-top:60px;
  border-top:4px solid var(--rj-gold)
}
.rj-footer-grid {
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr 1.2fr;
  gap:36px;
  padding-bottom:44px
}
.rj-footer h2 {
  font-family:var(--rj-body);
  font-size:14px;
  color:#fff;
  margin-bottom:18px
}
.rj-footer p,.rj-footer a {
  font-size:12px
}
.rj-footer a {
  color:#d4dfe1;
  text-decoration:none
}
.rj-footer a:hover {
  color:#e4bc7d
}
.rj-footer ul {
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:8px
}
.rj-footer-brand p {
  max-width:32ch
}
.rj-footer .rj-footer-wordmark {
  font-family:Georgia,serif;
  font-size:38px;
  font-weight:bold;
  letter-spacing:3px;
  color:white;
  display:inline-block;
  margin-bottom:16px;
  line-height:1
}
.rj-footer-contact {
  display:block;
  margin-top:20px
}
.rj-mail {
  word-break:break-word
}
.rj-footer-bottom {
  border-top:1px solid #ffffff20;
  padding-block:22px;
  display:flex;
  justify-content:space-between;
  gap:16px
}
.rj-footer-bottom p {
  margin:0
}
.rj-visually-hidden {
  position:absolute!important;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}
@media(max-width:1050px) {
  .rj-nav-list {
    gap:16px;
    flex-wrap:wrap;
    justify-content:flex-start
  }
  .rj-nav-list>li>a,.rj-nav-list summary {
    padding-block:10px;
    font-size:12px
  }
  .rj-header-note {
    display:none
  }
}
@media(max-width:720px) {
  .rj-container {
    width:calc(100% - 36px)
  }
  .rj-topline .rj-container {
    font-size:10px
  }
  .rj-brand-row {
    padding-block:22px
  }
  .rj-brand {
    gap:12px
  }
  .rj-brand img {
    width:52px;
    height:62px;
    padding-inline-end:8px
  }
  .rj-wordmark {
    font-size:30px
  }
  .rj-brand-name {
    font-size:12px;
    max-width:32ch
  }
  .rj-brand-fr {
    font-size:9px;
    max-width:38ch
  }
  .rj-nav-list {
    display:block;
    padding-block:8px
  }
  .rj-nav-list>li>a,.rj-nav-list summary {
    padding:12px 0;
    white-space:normal;
    border-bottom-width:1px
  }
  .rj-nav-group ul {
    position:static;
    box-shadow:none;
    border:0;
    border-inline-start:2px solid var(--rj-gold);
    border-radius:0;
    margin:4px 0 12px;
    min-width:0;
    background:var(--rj-paper)
  }
  .rj-nav.is-enhanced .rj-menu-toggle {
    display:flex
  }
  .rj-nav.is-enhanced .rj-nav-list {
    display:none
  }
  .rj-nav.is-enhanced.is-open .rj-nav-list {
    display:block
  }
  .rj-footer-grid {
    grid-template-columns:1fr 1fr;
    gap:30px 20px
  }
  .rj-footer-brand {
    grid-column:1/-1
  }
  .rj-footer-grid>div:last-child {
    grid-column:1/-1
  }
  .rj-footer-bottom {
    flex-direction:column
  }
  .rj-content {
    padding-block:30px 44px
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*::before,*::after {
    animation-duration:.01ms!important;
    transition-duration:.01ms!important
  }
}
@media print {
  .rj-topline,.rj-nav-shell,.rj-footer,.rj-header-note {
    display:none!important
  }
  .rj-masthead {
    border-bottom:1px solid #999
  }
  .rj-site {
    background:white!important
  }
  .rj-container {
    width:100%
  }
}
/* The language selector extends the existing shared navigation. */
.rj-language ul{inset-inline-start:auto;inset-inline-end:0;min-width:160px}
.rj-language summary{gap:7px}
html[dir=ltr] .rj-section-home .rj-nav-list>li>a,html[dir=ltr] .rj-section-home .rj-nav-list summary{white-space:normal;line-height:1.6}
@media(max-width:720px){.rj-language ul{min-width:0}}


/* Compact, direction-aware journal signature. */
.rj-brand {gap:10px;align-items:flex-start;max-width:100%}
.rj-brand img {width:52px;height:52px;padding:0;border:0;flex:none}
.rj-brand>span {width:clamp(190px,25vw,310px);max-width:calc(100vw - 110px)}
.rj-wordmark {font-size:clamp(35px,4.8vw,58px);letter-spacing:.075em;line-height:1;width:100%}
.rj-brand-name {font-size:clamp(10px,1.05vw,13px);line-height:1.7;margin-top:8px;width:100%;text-align:justify;text-align-last:justify}
@media(max-width:600px){.rj-brand img{width:40px;height:40px}.rj-brand>span{width:210px}.rj-wordmark{font-size:40px}.rj-brand-name{font-size:10px}}

/* Let the wordmark define the exact width of its localized subtitle. */
.rj-brand>span{width:min-content}
.rj-wordmark{width:max-content;white-space:nowrap}
.rj-brand-name{width:0;min-width:100%;overflow-wrap:normal}
@media(max-width:600px){.rj-brand>span{width:min-content}}
