@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800&display=swap");

#wbf {
  direction: rtl;
}

#wbf .story_illustration img,
#wbf img.story_illustration {
  filter: grayscale(.9);
}
#wbf .satellite_handoff_checkpoint-label {
  font-size: 22px;
  font-weight: 800;
}

#wbf .heading-style-display,
#wbf .heading-style-h1,
#wbf .heading-style-h2,
#wbf .story_spot_title,
#wbf .text-style-dek,
#wbf .text-style-kicker,
#wbf .text-rich-text,
#wbf .text-style-meta,
#wbf .home_header_meta,
#wbf .text-style-caption,
#wbf .map_explainer_text-card,
#wbf .map_explainer_card,
#wbf .map_explainer_telegram,
#wbf .sticky_visual_card,
#wbf .satellite_handoff_method-map-label,
#wbf .satellite_handoff_checkpoint-label,
#wbf .story_flourish_embed,
#wbf p,
#wbf h1,
#wbf h2,
#wbf figcaption {
  font-family: "Tajawal", "Arial", sans-serif;
}

#wbf .heading-style-display {
  line-height: 1.25;
}

#wbf .story_spot_title {
  line-height: 1.35;
  font-size: 30px;
}

#wbf .story_illustration.is-university-road {
  width: min(100%, 40rem);
}

#wbf .text-rich-text {
  font-size: 1.25rem;
  line-height: 1.9;
}

#wbf .text-style-dek {
  line-height: 1.7;
}

#wbf .text-style-caption,
#wbf .satellite_handoff_method-map-label,
#wbf .satellite_handoff_checkpoint-label,
#wbf .home_header_meta,
#wbf .text-style-meta {
  text-transform: none;
  letter-spacing: 0;
}

/* English kickers are a smaller label. In the Arabic body they are
   bold lead-ins, so they should match the paragraph size. */
#wbf .text-rich-text .text-style-kicker {
  font-size: inherit;
  line-height: inherit;
}

#wbf .story_photo figcaption,
#wbf .text-style-caption {
  text-align: right;
}

#wbf .story_photo_caption .text-style-caption-mono {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-transform: none;
  letter-spacing: 0;
  padding-left: 0;
}

#wbf .map_explainer_telegram-ar {
  direction: rtl;
}

/* Map key labels are Arabic. Keep the satellite credit left to right. */
#wbf .checkpoint_legend,
#wbf .checkpoint_legend_item {
  direction: rtl;
  text-align: right;
  font-family: "Tajawal", "Arial", sans-serif;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.6;
}

#wbf .satellite_handoff_satellite-credit {
  direction: ltr;
  text-align: left;
}

/* Right-to-left layout packs the story card onto the map.
   Keep the card on the physical left so the map stays visible. */
#wbf .sticky_visual_step {
  justify-content: flex-end;
}

#wbf .satellite_handoff_sticky .sticky_visual_card {
  margin-right: auto;
  margin-left: max(5vw, calc((100vw - 64rem) / 2));
}

#wbf .sticky_visual_eyebrow {
  margin-bottom: 0.625rem;
  color: #f24822;
  font-family: "Tajawal", "Arial", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  text-transform: uppercase;
}

/* The history track is placed from the left and moved with a negative X
   translation. Right-to-left layout pins that wide track to the wrong edge,
   so the scroll starts at the end of the timeline. Keep the track itself
   left-to-right, and put Arabic back on the text. */
#wbf .history_timeline_scroll,
#wbf .history_timeline_scroll .horizontal_scroll_viewport,
#wbf .history_timeline_scroll .horizontal_scroll_track,
#wbf .history_timeline {
  direction: ltr;
}

#wbf .history_timeline_scroll .horizontal_scroll_track {
  justify-content: flex-start;
}

#wbf .history_timeline_annotation-label {
  direction: ltr;
  font-family: "Tajawal", "Arial", sans-serif;
  text-transform: none;
  letter-spacing: 0;
}

/* The closing year is one flex item per digit. Right-to-left order paints 2026 as 6202. */
#wbf .history_timeline_year,
#wbf .history_mobile_stacked_year {
  direction: ltr;
}

#wbf .history_timeline_card,
#wbf .history_timeline_card p,
#wbf .history_mobile_stacked_body,
#wbf .history_mobile_stacked_body p,
#wbf .history_mobile_stacked_annotation,
#wbf .history_archive_caption,
#wbf .history_archive_caption p,
#wbf .history_mobile_transition_wrap .text-rich-text,
#wbf .history_mobile_transition_wrap .text-rich-text p {
  direction: rtl;
  text-align: right;
}

/* The opening is the shared landing hero, not the story illustration. */
#wbf .section_home-header {
  display: none;
}

/* Credits are a page section below the story, not the caption block. */
#wbf .padding-global:has(> .text-style-caption.padding-section-xxlarge) {
  display: none;
}

.choke-video {
  padding: 48px 24px 16px;
  background: #ffffff;
}

.choke-video-frame {
  width: min(56rem, 100%);
  margin: 0 auto;
}

.choke-video iframe {
  display: block;
  width: 100%;
  height: 575px;
  border: 0;
}

.choke-credits {
  padding: 72px 24px 88px;
  background: #ffffff;
  font-family: "Tajawal", "Arial", sans-serif;
  padding-top: 0;
}

.choke-credits-copy {
  width: min(40rem, 100%);
  margin: 0 auto;
  text-align: right;
}

.choke-credits p {
  margin: 0 0 16px;
  color: #2a2a2a;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
}

.choke-credits strong {
  font-weight: 800;
}

.choke-credits p.choke-credits-note {
  margin-top: 28px;
  color: #000000;
  font-weight: 800;
}

.choke-credits p.choke-credits-alias {
  margin-top: 8px;
  color: #2a2a2a;
  font-size: 16px;
  font-weight: 500;
}

body.choke-page {
  margin: 0;
  background: #ffffff;
}

#progress-bar-container {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  z-index: 10000;
  background: transparent;
}

#progress-bar {
  height: 100%;
  width: 0;
  background: #d0121a;
}

#arij-loader {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

#arij-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-ring {
  width: 42px;
  height: 42px;
  border: 3px solid #f0e7e4;
  border-top-color: #d0121a;
  border-radius: 50%;
  animation: choke-spin 0.8s linear infinite;
}

@keyframes choke-spin {
  to {
    transform: rotate(360deg);
  }
}

.choke-hero {
  position: relative;
  width: 100%;
  height: clamp(560px, 100vh, 860px);
  background: #111;
  overflow: hidden;
  font-family: "Tajawal", "Arial", sans-serif;
}

.choke-hero .banner-slides,
.choke-hero .banner-slide,
.choke-hero .banner-veil {
  position: absolute;
  inset: 0;
}

.choke-hero .banner-slide {
  background: #111 no-repeat center / cover;
  opacity: 1;
}

.choke-hero .banner-veil {
  z-index: 2;
  background: linear-gradient(
    to top,
    rgb(0 0 0 / 82%) 0%,
    rgb(0 0 0 / 80%) 24%,
    rgb(0 0 0 / 22%) 46%,
    transparent 70%
  );
  pointer-events: none;
}

.choke-hero .main-banner-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: min(920px, 92%);
  height: 100%;
  margin: 0 auto;
  padding-bottom: 64px;
  text-align: center;
  box-sizing: border-box;
}

.choke-hero .main-title-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}

.choke-hero h1 {
  margin: 0;
  padding: 0;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
  color: #fff;
}

.choke-hero h2 {
  margin: 16px 0 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
  color: #fff;
}

.choke-hero .writer-info-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 36px;
  max-width: 860px;
  margin: 28px 0 0;
  padding: 0;
}

.choke-hero .writer-info-div {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 100%;
}

.choke-hero .writer-info-div figure {
  width: 28px;
  margin: 0;
}

.choke-hero .writer-info-div img {
  width: 16px;
  height: auto;
  display: block;
  border: 0;
}

.choke-hero .writer-info-div span {
  color: #fff;
  font-weight: 500;
  text-align: center;
}

.choke-hero .banner-credit {
  position: absolute;
  left: 28px;
  bottom: 22px;
  z-index: 4;
  margin: 0;
  color: rgb(255, 255, 255);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  text-align: left;
}

.choke-hero .lang-switch {
  position: absolute;
  top: 22px;
  inset-inline-end: 22px;
  z-index: 5;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-decoration: none;
  background-color: #e1001d;
  padding: 6px 8px 2px;
  border-radius: 4px;
}

.choke-hero .lang-switch:hover,
.choke-hero .lang-switch:focus-visible {
  color: #fff;
  opacity: 0.85;
}

.choke-hero .poll-home {
  position: absolute;
  top: 22px;
  inset-inline-start: 22px;
  z-index: 4;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #b80018;
  color: #fff;
  display: grid;
  place-items: center;
  text-decoration: none;
}

.choke-hero .poll-home svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.choke-hero .poll-home:hover,
.choke-hero .poll-home:focus-visible {
  background: #8e0013;
  color: #fff;
}

@media (max-width: 860px) {
  .choke-hero {
    height: 520px;
  }

  .choke-hero .main-banner-content {
    width: 100%;
    padding: 0 20px 48px;
  }

  .choke-hero h1 {
    font-size: 28px;
    line-height: 1.45;
  }

  .choke-hero h2 {
    font-size: 18px;
  }

  .choke-hero .writer-info-wrapper {
    gap: 8px 20px;
  }
}

@media (max-width: 640px) {
  .choke-hero .banner-veil {
    z-index: 2;
    background: linear-gradient(to top, rgb(0 0 0 / 82%) 0%, rgb(0 0 0 / 80%) 24%, rgb(0 0 0 / 51%) 46%, #00000078 70%);
    pointer-events: none;
  }

  .choke-hero .writer-info-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .choke-hero .banner-credit {
    left: 16px;
    bottom: 16px;
  }

  .choke-hero .poll-home {
    top: 16px;
    inset-inline-start: 14px;
  }

  .choke-hero .lang-switch {
    top: 16px;
    inset-inline-end: 16px;
  }
}
