/* Editorial additions for release 1.1.0. Existing local Mada/ZainMob fonts are reused. */
.jl-editorial, .jl-guide-promo { direction: rtl; color: #082c2b; font-family: Mada, sans-serif; }
.jl-editorial { background: #f7f4ed; min-height: 100vh; }
.jl-editorial *, .jl-guide-promo * { box-sizing: border-box; }
.jl-editorial h1, .jl-editorial h2, .jl-editorial h3, .jl-guide-promo h2, .jl-guide-promo h3 { font-family: ZainMob, Mada, sans-serif; font-weight: 800; text-wrap: balance; }
.jl-editorial a, .jl-guide-promo a { text-underline-offset: .22em; }
.jl-editorial a:focus-visible, .jl-editorial summary:focus-visible, .jl-guide-promo a:focus-visible { outline: 3px solid #bd8c31; outline-offset: 5px; border-radius: 3px; }
.jl-ed-wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.jl-ed-header { background: #082c2b; color: white; border-bottom: 1px solid #ffffff24; }
.jl-ed-header .jl-ed-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; padding-block: 16px; }
.jl-ed-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: white; font-weight: 700; }
.jl-ed-mark { display: grid; place-items: center; flex: 0 0 44px; height: 44px; border-radius: 50%; background: #d9b66b15; border: 1px solid #d9b66b66; color: #efd493; font-family: ZainMob, sans-serif; }
.jl-ed-brand small { display: block; font-size: 12px; font-weight: 400; color: #d1dfda; margin-top: 2px; }
.jl-ed-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-size: 15px; }
.jl-ed-nav a { color: #e8efed; text-decoration: none; }
.jl-ed-nav a:hover { color: #efd493; }
.jl-ed-mobile { display: none; }
.jl-ed-hero { background: #082c2b; color: white; padding-block: 34px 62px; }
.jl-ed-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: #d0dcd8; margin-bottom: 36px; }
.jl-ed-breadcrumbs a { color: inherit; }
.jl-ed-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.jl-ed-kicker { color: #efd493; font-size: 14px; font-weight: 700; letter-spacing: .02em; margin: 0 0 16px; }
.jl-editorial h1 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.25; margin: 0; }
.jl-ed-intro { color: #d6e2de; font-size: 19px; line-height: 1.9; margin-top: 22px; max-width: 700px; }
.jl-ed-label { display: inline-block; color: #efd493; font-size: 13px; padding: 7px 12px; margin-top: 18px; border: 1px solid #d9b66b55; border-radius: 24px; }
.jl-ed-hero figure { margin: 0; }
.jl-ed-hero img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 20px; border: 1px solid #d9b66b44; }
.jl-ed-hero figcaption { font-size: 12px; line-height: 1.7; color: #c0d0ca; margin-top: 10px; }
.jl-ed-body { display: grid; grid-template-columns: minmax(0, 1fr) 264px; gap: 64px; padding-block: 60px; align-items: start; }
.jl-ed-copy { max-width: 780px; }
.jl-ed-copy section { margin-bottom: 38px; scroll-margin-top: 25px; }
.jl-ed-copy h2 { font-size: 29px; line-height: 1.4; margin: 0 0 15px; }
.jl-ed-copy p { font-size: 19px; line-height: 2; margin: 0 0 14px; color: #314b44; }
.jl-ed-copy .jl-ed-citations { font-size: 14px; color: #56665f; }
.jl-ed-citations a { color: #746025; }
.jl-ed-toc { position: sticky; top: 24px; padding: 24px; background: white; border: 1px solid #082c2b1c; border-top: 3px solid #d9b66b; border-radius: 12px; }
.jl-ed-toc h2 { font-size: 22px; margin: 0 0 16px; }
.jl-ed-toc ol { padding-inline-start: 20px; margin: 0; }
.jl-ed-toc li { margin: 12px 0; font-size: 15px; line-height: 1.7; }
.jl-ed-toc a { color: #31584c; text-decoration: none; }
.jl-ed-note { padding: 22px 26px; border-right: 3px solid #ba9453; background: #ece7db; border-radius: 10px; }
.jl-ed-copy .jl-ed-note h2 { font-size: 24px; }
.jl-ed-copy .jl-ed-note p { font-size: 17px; }
.jl-ed-sources { border-top: 1px solid #082c2b22; padding-top: 28px; }
.jl-ed-sources ol { padding-inline-start: 22px; }
.jl-ed-sources li { margin: 18px 0; line-height: 1.8; scroll-margin-top: 25px; }
.jl-ed-sources a { color: #27594c; font-weight: 700; overflow-wrap: anywhere; }
.jl-ed-sources small { display: block; font-size: 14px; color: #586d64; }
.jl-ed-related, .jl-guide-promo { padding-block: 60px; background: #f0eee6; border-top: 1px solid #082c2b12; }
.jl-ed-section-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 28px; }
.jl-ed-section-heading h2 { font-size: 34px; line-height: 1.3; margin: 0; }
.jl-ed-section-heading p { color: #546a61; font-size: 17px; line-height: 1.8; margin-top: 12px; max-width: 700px; }
.jl-ed-section-heading .jl-ed-kicker { color: #806127; margin-bottom: 10px; }
.jl-ed-text-link { font-weight: 700; color: #31594a; white-space: nowrap; }
.jl-ed-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.jl-ed-cards-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jl-ed-card { display: flex; flex-direction: column; background: white; border: 1px solid #082c2b17; border-radius: 16px; overflow: hidden; }
.jl-ed-card > a { display: block; overflow: hidden; }
.jl-ed-card img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .2s ease; }
.jl-ed-card > a:hover img { transform: scale(1.025); }
.jl-ed-card-text { display: flex; flex-direction: column; align-items: start; flex: 1; padding: 24px; }
.jl-ed-card h3 { font-size: 25px; line-height: 1.5; margin: 0 0 12px; }
.jl-ed-card h3 a { color: #082c2b; text-decoration: none; }
.jl-ed-card p { font-size: 16px; line-height: 1.9; color: #586b63; margin: 0 0 20px; }
.jl-ed-card .jl-ed-text-link { margin-top: auto; font-size: 14px; }
.jl-ed-index { padding-block: 56px 70px; }
.jl-ed-index .jl-ed-note { margin-top: 36px; font-size: 16px; line-height: 1.9; }
.jl-ed-footer { background: #061f1e; color: #c3d2cd; padding-block: 36px; }
.jl-ed-footer strong { display: block; font-size: 19px; color: white; margin-bottom: 10px; }
.jl-ed-footer nav { display: flex; flex-wrap: wrap; gap: 24px; margin-block: 18px; }
.jl-ed-footer a { color: #e1e9e5; }
.jl-ed-footer p { font-size: 13px; line-height: 1.8; max-width: 850px; }
@media (max-width: 900px) {
  .jl-ed-nav { display: none; }
  .jl-ed-mobile { display: block; position: relative; }
  .jl-ed-mobile summary { color: #efd493; cursor: pointer; padding: 10px; }
  .jl-ed-mobile nav { position: absolute; inset-inline-end: 0; z-index: 10; top: 48px; min-width: 190px; padding: 12px 18px; background: #123f36; box-shadow: 0 10px 28px #0003; border: 1px solid #d9b66b55; border-radius: 10px; }
  .jl-ed-mobile a { display: block; color: white; padding: 10px 0; text-decoration: none; }
  .jl-ed-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .jl-ed-hero figure { max-width: 680px; }
  .jl-ed-body { grid-template-columns: 1fr; gap: 35px; }
  .jl-ed-toc { grid-row: 1; position: static; }
  .jl-ed-toc ol { display: grid; grid-template-columns: 1fr 1fr; column-gap: 30px; }
  .jl-ed-cards { grid-template-columns: 1fr; }
  .jl-ed-card { display: grid; grid-template-columns: 36% 1fr; }
  .jl-ed-card img { height: 100%; }
}
@media (max-width: 560px) {
  .jl-ed-wrap { width: calc(100% - 32px); }
  .jl-ed-header .jl-ed-wrap { gap: 12px; }
  .jl-ed-brand { font-size: 14px; gap: 8px; }
  .jl-ed-brand small { font-size: 10px; }
  .jl-ed-mark { flex-basis: 34px; height: 34px; }
  .jl-ed-hero { padding-bottom: 38px; }
  .jl-editorial h1 { font-size: 36px; }
  .jl-ed-intro { font-size: 17px; }
  .jl-ed-body { padding-block: 35px; }
  .jl-ed-copy h2 { font-size: 27px; }
  .jl-ed-copy p { font-size: 18px; }
  .jl-ed-toc ol { display: block; }
  .jl-ed-card { display: flex; }
  .jl-ed-card img { height: auto; }
  .jl-ed-related, .jl-guide-promo { padding-block: 40px; }
  .jl-ed-section-heading h2 { font-size: 29px; }
}
@media (prefers-reduced-motion: reduce) { .jl-ed-card img { transition: none; } }
