@font-face {
  font-family: "Tajawal";
  src: url("../fonts/Tajawal/Tajawal-Regular.woff2");
  font-display: swap;
}

strong {
  font-family: "Tajawal-Bold";
}

@font-face {
  font-family: "Tajawal-Bold";
  src: url("../fonts/Tajawal/Tajawal-Bold.woff2");
  font-display: swap;
}
.box-black-container {
  background-color: #141414;
  padding: 40px;
  margin-top: 50px;
  margin-bottom: 50px;
  width: 60%;
  margin: auto;
  margin-top: -200px;
  z-index: 999;
  position: relative;
  padding-top: 5px;
}
.space-bottom{
  height: 60vh;
}
.box-black-container h2{
  color: #e3563d !important;
  font-size: 20px;
  margin-bottom: 20px;
  text-align: center;
}
.box-black-container p{
  color: #FFF8EE;
}
.slider2 h3 {
  font-family: "Tajawal-Bold";
  color: #f2f2f2;
  font-size: 20px;
  margin-bottom: 0px !important;
  margin-top: 45px !important;
  text-align: center !important;
}
.first-p-section{
  width: 100%;
  height: auto;
}
.first-p-section > figure img{
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
  top: 0;
  left: 0;
}
.first-p-section .fixed-images {
  width: 100%;
  margin: 0 0 32px;
}
.first-p-section .fixed-images img {
  position: static;
  z-index: auto;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(2px 4px 6px black);
  top: auto;
  left: auto;
}
.first-p-section .container{
  position: relative;
  z-index: 1;
  width: 80%;
  margin: auto;
  padding: 40px 40px;
  margin-top: 20vh;
  margin-bottom: 40px;
}
.first-p-section .container p{
  color: #f2f2f2;
  font-size: 19px;
  line-height: 31px;
  text-align: justify;
}
.dark-section {
  background-color: #000;
}

.fixed-images {
  width: 35%;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0;
}

.fixed-images img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  filter: drop-shadow(2px 4px 6px black);
  padding-bottom: 0;
}

.fixed-images .fixed-image-caption,
.scroll-section .fixed-images .fixed-image-caption {
  width: 100%;
  color: #f2f2f2;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
  margin: 12px 0 0;
}

@media (max-width: 768px) {
  .fixed-images {
    width: 100%;
  }
}
.dark-section .main-content p {
  color: #f2f2f2;
}
.title-section img{
  width: 100%;
  height: auto;  
}
.title-section .title-wrapper{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.fixed-p-title{
  position: relative;
}
.fixed-p-title h2{
  position: absolute;
  left: 100px;
  top:100px;
  color:#e3563d !important;
  font-size: 30px;
  background-color: #000000bf;
  padding: 10px 20px;
  border-radius: 3px;
}
.title-wrapper h2{
  color:#e3563d;
  font-size: 30px;
}
#mainBanner::after {
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(to left, #000, #000000);
  inset: 0;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

#introAudio {
  position: fixed;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  opacity: 0.01;
  z-index: 0;
  pointer-events: none;
}

.story-arij-logo {
  position: fixed;
  z-index: 80;
  left: 20px;
  top: 25px;
  display: block;
  line-height: 0;
  -webkit-tap-highlight-color: transparent;
}

.story-arij-logo img {
  width: 90px;
  height: auto;
  display: block;
}

.story-arij-logo:focus-visible {
  outline: 2px solid #e3563d;
  outline-offset: 3px;
  border-radius: 4px;
}

.story-audio-toggle {
  position: fixed;
  z-index: 80;
  right: max(16px, env(safe-area-inset-right));
  top: max(16px, env(safe-area-inset-top));
  width: 52px;
  height: 52px;
  padding: 0;
  border: none;
  background: #00000000;
  border-radius: 10px;
  cursor: pointer;
  overflow: hidden;
  line-height: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.story-audio-toggle img {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.story-audio-toggle.is-muted::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 50%;
  height: 4px;
  margin-top: -2px;
  background: #f2f2f2;
  border-radius: 3px;
  transform: rotate(45deg);
  pointer-events: none;
}

.story-audio-toggle:focus-visible {
  outline: 2px solid #e3563d;
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .story-arij-logo img {
    width: 90px;
  }

  .story-audio-toggle {
    width: 44px;
    height: 44px;
  }
}

#section1Audio,
#section4Audio,
#section5Audio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0.01;
  pointer-events: none;
}

#mainBanner.is-revealed::after {
  opacity: 0.7;
}

#mainBanner.is-revealed .main-title-wrapper h1,
#mainBanner.is-revealed .writer-info-wrapper {
  opacity: 1;
}
.slider3 h3 {
  font-family: "Tajawal-Bold";
  color: #f2f2f2;
  font-size: 20px;
  margin-bottom: 0px !important;
  margin-top: 45px !important;
  text-align: center !important;
}

.image-slider picture {
  border: unset !important;
  border-radius: 0 !important;
}

.bottom-main-p-banner {
  background-color: #000000d6;
  width: max-content;
  color: white;
  padding: 8px 14px;
  position: absolute;
  left: 0;
  bottom: 15px;
  font-size: 14px;
}
.black-box {
  background-color: #11171d;
  padding: 40px;
  margin-top: 50px;
  margin-bottom: 50px;
  background-image: url("../images/cutall.jpg");
}
.black-box h3 {
  color: #f2f2f2;
  font-weight: bold;
  font-family: "Tajawal-Bold";
  margin-bottom: 30px;
}
.black-box p {
  color: #f2f2f2 !important;
}
.tooltiptext {
  visibility: hidden;
  font-size: 17px;
  width: 50%;
  left: 16%;
  top: 81%;
  transform: translate(-50%, -50%);
  opacity: 0.95;
  background-color: rgb(45, 45, 45);
  color: rgb(255, 255, 255);
  text-align: right;
  position: absolute;
  z-index: 1;
  margin: auto;
  border-radius: 6px;
  padding: 14px;
}

.pin-all {
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  cursor: pointer;
  z-index: 100;
}

.circle {
  width: 15px;
  height: 15px;
  background-color: #ffffffbd;
  border-radius: 100%;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
  position: relative;
}

#pin4 {
  margin-top: -316px;
  margin-left: 243px;
}

#pin2 {
  margin-top: -253px;
  margin-left: 249px;
}

#pin3 {
  margin-top: -264px;
  margin-left: 214px;
}

#pin {
  margin-top: -291px;
  margin-left: 209px;
}

#pin5 {
  margin-left: 182px;
  margin-top: -368px;
}

#pin62 {
  margin-left: 201px;
  margin-top: -351px;
}

#pin6 {
  margin-left: 171px;
  margin-top: -327px;
}

#pin7 {
  margin-left: 141px;
  margin-top: -290px;
}

#pin8 {
  margin-left: -183px;
  margin-top: 105px;
}

#pin9 {
  margin-left: 152px;
  margin-top: -313px;
}

#pin10 {
  margin-left: 163px;
  margin-top: -290px;
}

#pin11 {
  margin-left: 83px;
  margin-top: -253px;
}

#pin12 {
  margin-left: 30px;
  margin-top: -177px;
}

#pin13 {
  margin-left: 41px;
  margin-top: -76px;
}

#pin14 {
  margin-left: 183px;
  margin-top: -114px;
}

#pin15 {
  margin-left: 216px;
  margin-top: -144px;
}

#pin16 {
  margin-left: 161px;
  margin-top: -218px;
}

#pin17 {
  margin-left: 136px;
  margin-top: -199px;
}

#pin18 {
  margin-left: -39px;
  margin-top: -00px;
}

#pin19 {
  margin-left: -183px;
  margin-top: 105px;
}

.country-name {
  color: #000000 !important;
  font-weight: bold;
  margin: 0;
  margin-top: 5px;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-size: 16px;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.content-tooltip {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%) translateX(20px);
  background-color: rgba(255, 255, 255, 0.95);
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  width: 300px;
  max-width: 90vw;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  font-size: 14px;
  line-height: 1.6;
  color: #34495e;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.container-tooltip {
  display: flex;
  width: 100%;
  padding: 25px;
}

.map-container {
  margin-top: 30px;
  margin-bottom: 50px;
  min-height: 100vh;
  transform: scale(0.8);
  position: relative;
}

.map-title {
  text-align: center;
  margin-bottom: -40px;
  padding: 0;
  margin-top: 55px;
  font-weight: bolder;
  font-size: 21px;
}

.head-country .dot {
  width: 20px;
  height: 20px;
  background-color: white;
  border-radius: 100%;
}

.pulse3 {
  animation: 0.7s ease 0s infinite alternate none running pulse3;
}

.map-container svg {
  width: 100%;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  min-height: 800px !important;
  width: 1600px !important;
}

.map-container path {
  fill: #5a020d;
  stroke: #000000;
}

.donepaths {
  fill: #5a020d !important;
}

path:hover {
  fill: #f99;
}

.lyar-full {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #48b5a8;
  opacity: 0.1;
  z-index: 0;
}

.chart01-container {
  background-image: url(../images/4.jpg);
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 30px 30px 30px;
  padding-bottom: 0;
}

.chart01-container img {
  width: 60%;
  margin: auto;
  padding-top: 30px;
  padding-bottom: 30px;
}

.chart01-container p {
  text-align: left !important;
  color: #f2f2f2 !important;
  font-size: 14px !important;
  margin-bottom: 16px !important;
  margin-top: 18px !important;
}

.chart03-container {
  width: 75%;
  margin: auto;
  margin-bottom: 50px;
  margin-top: 50px;
}

.chart03-container .flourish-chart {
  width: 100%;
}

.chart03-container .source-p {
  margin-top: 30px;
}

.chart03-container h3 {
  text-align: center;
  color: #b80000;
  font-family: "Tajawal-Bold";
  font-size: 23px;
  margin-bottom: 30px;
}

.blk-colo {
  color: #333333 !important;
}

h2 {
  font-weight: bolder;
  font-size: 21px;
  font-family: "Tajawal-Bold";
}

body {
  font-family: "Tajawal", sans-serif;
  font-weight: 400;
  font-style: normal;
  margin: 0;
  padding: 0;
  direction: rtl;
  overflow-x: clip;
}

*,
::after,
::before {
  box-sizing: border-box;
}

section {
  overflow: hidden;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

a,
a:hover {
  text-decoration: unset;
}

h1,
h2,
h3,
h4,
h5,
h6,
figure {
  margin: 0;
}

header {
  background-color: white;
  width: 100%;
  height: auto;
}

h2 {
  color: #1a1a1a;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px !important;
  margin-top: 45px !important;
}

.mt-150 {
  margin-top: 150px;
}

.cus-container {
  max-width: 1200px;
  width: 100%;
  height: 100%;
  padding: 0 15px;
  margin: 0 auto !important;
}

:root {
  --main-title-size: 72px;
  --sec-title-size: 22px;
  --main-red-color: #e40421;
  --sec-bg-color: #f5f5f5;
  --sec-bg-dark-gray-color: #2a2a2a;
  --header-links-size: 18px;
  --sec-desc-size: 24px;
}

.image-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
}

.image-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.scroll-section {
  /* display: flex;
    align-items: stretch; */
  /* gap: 40px; */
  min-height: 100vh;
  position: relative;
  overflow: visible;
}

/* Global `section { overflow: hidden }` breaks position:sticky for in-section backgrounds */
section.scroll-section {
  overflow: visible !important;
}

.scroll-section > .section3-sticky-visual {
  z-index: 0;
}

/* Slight darkening keeps text readable (same pattern as 01; avoid <picture> for sticky — WebKit) */
.scroll-section-01 > img,
.scroll-section-02 > img
.scroll-section-03 > img
.scroll-section-04 > img {
  filter: brightness(0.72);
}

.scroll-content {
  height: auto;
  overflow-y: unset;
  background: rgb(10 16 15 / 0%);
  position: relative;
  z-index: 2;
}
.scroll-container{
  width: 65%;
  margin: auto;
  padding: 80px 15px;
}

.scroll-section .cus-container {
  padding: 80px 15px;
  background-color: rgba(10, 16, 15, 0.65);
  color: #f2f2f2;
  z-index: 1;
}

.scroll-section > img {
  position: sticky;
  top: 0;
  width: 100%;
  height: auto;
  object-fit: cover;
  height: 100vh !important;
  z-index: 0;
}

/* Sticky dark overlay over section background images */
.scroll-section::before {
  content: "";
  position: sticky;
  top: 0;
  display: block;
  width: 100%;
  height: 100vh;
  margin-bottom: -100vh;
  background-color: rgba(10, 16, 15, 0.84);
  z-index: 1;
  pointer-events: none;
}

/* Section 3: one sticky stack, three layers swapped by scroll (see script2.js) */
.scroll-section-03 {
  background-color: black;
}
.scroll-section-03 .section3-sticky-visual {
  position: sticky;
  top: 0;
  z-index: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.scroll-section-03 .section3-sticky-visual .section3-bg-layer {
  position: absolute !important;
  inset: 0;
  z-index: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  margin: 0;
  display: block;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.scroll-section-03[data-section3-phase="1"] #img-section3,
.scroll-section-03[data-section3-phase="2"] #img2-section3,
.scroll-section-03[data-section3-phase="3"] #img3-section3 {
  opacity: 1;
  z-index: 1;
}

.scroll-section-03 .section3-sticky-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-color: rgba(10, 16, 15, 0.5);
}

.scroll-section h2 {
  font-size: 27px;
  margin-bottom: 25px !important;
  margin-top: 65px !important;
  text-align: center;
  color: #e3563d !important;
}
.cut-bt-sections {
  margin-top: 90vh !important;
}
.scroll-section p {
  font-size: 19px;
  line-height: 32px;
  text-align: justify;
  margin: 0 0 32px 0;
}
.scroll-section h2,
.scroll-section p {
  color: #f2f2f2;
}
.chart-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80%;
  margin: auto;
}
.slider1 {
  position: relative;
  width: min(1200px, 100%);
  margin: 40px auto;
  padding: 0 64px;
  box-sizing: border-box;
  z-index: 2;
  background-size: cover;
  background-position: center;
  background-image: none;
  overflow: visible;
  opacity: 1;
}

.slider1.is-ready {
  opacity: 1;
}

.slider1 .slider1-swiper {
  position: relative;
  width: 100%;
  overflow: hidden !important;
  padding: 0;
  box-sizing: border-box;
}

.slider1 .swiper-wrapper {
  align-items: center;
}

.slider1 .slider1-swiper .swiper-slide {
  width: 100% !important;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 !important;
  overflow: hidden;
}

.slider1 .slider1-swiper .swiper-slide img,
.scroll-section .slider1 .swiper-slide img,
.scroll-section #slider-01 .swiper-slide img {
  position: static !important;
  top: auto !important;
  display: block;
  width: 78% !important;
  max-width: 78%;
  height: auto !important;
  max-height: 70vh;
  margin: 0 auto;
  object-fit: contain !important;
  border-radius: 0 !important;
  filter: none;
}

.slider1 .swiper-button-prev,
.slider1 .swiper-button-next {
  position: absolute;
  top: 50%;
  width: 42px;
  height: 84px;
  margin-top: 0;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  z-index: 3;
  color: transparent !important;
}

.slider1 .swiper-button-prev {
  left: 0 !important;
  right: auto !important;
}

.slider1 .swiper-button-next {
  right: 0 !important;
  left: auto !important;
}

.slider1 .swiper-button-prev::after,
.slider1 .swiper-button-next::after {
  content: none !important;
}

.slider1 .swiper-button-prev img,
.slider1 .swiper-button-next img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block;
  pointer-events: none;
}

.slider1 .swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}

@media (max-width: 768px) {
  .slider1 {
    padding: 0 40px;
  }
  .scroll-container{
    width: 100%;
  }
  .fixed-images{
    width: 100%;
  }
  .fixed-p-title h2{
    position: unset;
  }
  .video-half-container{
    width: 90% !important;
  }
  .slider1 .slider1-swiper .swiper-slide img,
  .scroll-section .slider1 .swiper-slide img,
  .scroll-section #slider-01 .swiper-slide img {
    width: 88% !important;
    max-width: 88%;
  }

  .slider1 .swiper-button-prev,
  .slider1 .swiper-button-next {
    width: 28px;
    height: 56px;
  }
}

.slider2 {
  position: relative;
  width: min(960px, 100%);
  margin: 40px auto;
  padding: 0 64px; /* arrow gutter only — do not pad the swiper itself */
  box-sizing: border-box;
  z-index: 2;
  margin-top: -90vh;
}

.slider2 .slider2-swiper {
  position: relative;
  width: 100%;
  overflow: hidden !important; /* must clip neighbors; padding here would reveal them */
  padding: 0;
  box-sizing: border-box;
}

.slider2 .swiper-wrapper {
  align-items: center;
}

.slider2 .slider2-swiper .swiper-slide {
  width: 100% !important; /* override .slider2-swiper .swiper-slide { width: auto } */
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.slider2 .slider2-swiper .swiper-slide img,
.scroll-section .slider2 .swiper-slide img,
.scroll-section #slider-02 .swiper-slide img {
  position: static !important;
  top: auto !important;
  display: block;
  /* inset image to create gap from arrows without exposing adjacent slides */
  width: 86% !important;
  max-width: 86%;
  height: auto !important;
  margin: 0 auto;
  object-fit: contain !important;
  border-radius: 0 !important;
  filter: none;
}

.slider2 .swiper-button-prev,
.slider2 .swiper-button-next {
  position: absolute;
  top: 50%;
  width: 42px;
  height: 84px;
  margin-top: 0;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  z-index: 3;
  color: transparent !important;
}

.slider2 .swiper-button-prev {
  left: 0 !important;
  right: auto !important;
}

.slider2 .swiper-button-next {
  right: 0 !important;
  left: auto !important;
}

.slider2 .swiper-button-prev::after,
.slider2 .swiper-button-next::after {
  content: none !important;
}

.slider2 .swiper-button-prev img,
.slider2 .swiper-button-next img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block;
  pointer-events: none;
}

.slider2 .swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}

.slider2 .slider-caption,
.scroll-section .slider-caption {
  color: #f2f2f2;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
  width: 86%;
  max-width: 86%;
  margin: 12px auto 0;
}

@media (max-width: 768px) {
  .slider2 {
    padding: 0 40px;
  }

  .slider2 .slider2-swiper .swiper-slide img,
  .scroll-section .slider2 .swiper-slide img,
  .scroll-section #slider-02 .swiper-slide img {
    width: 90% !important;
    max-width: 90%;
  }

  .slider2 .swiper-button-prev,
  .slider2 .swiper-button-next {
    width: 28px;
    height: 56px;
  }

  .slider2 .slider-caption,
  .scroll-section .slider-caption {
    width: 90%;
    max-width: 90%;
  }
}
.slider3 {
  margin-top: 40px;
  margin-bottom: 40px;
}
.slider1.is-ready {
  opacity: 1;
}

/* .slider1-overlay {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(87, 181, 255, 0.35), transparent 45%),
        radial-gradient(circle at 80% 10%, rgba(87, 181, 255, 0.25), transparent 40%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08) 2px, transparent 2px, transparent 12px);
    opacity: 0.25;
    pointer-events: none;
} */

.slider1 * {
  color: #f5f7ff;
}

.slider1 .swiper {
  width: 100%;
  padding: 0;
  position: relative;
  z-index: 2;
}

.slider1 .swiper-slide {
  display: flex;
  justify-content: center;
  padding: 0;
}

.image-slider {
  margin-top: 30px;
}

.image-slider .swiper-slide a {
  display: block;
  width: 100%;
}

.image-slider picture {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(105, 155, 255, 0.25);
  background-color: rgba(0, 0, 0, 0.15);
}

.image-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.image-slider a:hover img {
  transform: scale(1.04);
}
.video-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
  margin-bottom: 40px;
}
.video-half-container{
  width: 50%;
  margin: 0 auto;
  margin-bottom: 70px;
  margin-top: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.video-half-container video{
  width: 100%;
}
.video-caption{
  color: #f2f2f2;
  font-size: 15px;
  text-align: center;
  margin-top: 10px;
    width: 100%;
}

.video-translation {
  width: 100%;
  margin-top: 8px;
  text-align: center;
}

.video-translation summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #e3563d;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.25s ease;
}

.video-translation summary::-webkit-details-marker,
.video-translation summary::marker {
  display: none;
  content: none;
}

.video-translation summary::after {
  content: "";
  width: 0.42em;
  height: 0.42em;
  margin-top: -0.12em;
  border-inline-end: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), margin-top 0.35s ease;
}

.video-translation summary:hover,
.video-translation summary:focus-visible {
  color: #f2f2f2;
}

.video-translation.is-expanded summary::after,
.video-translation:not(.is-animated)[open] summary::after {
  margin-top: 0.12em;
  transform: rotate(-135deg);
}

.video-translation-panel {
  width: 100%;
}

.video-translation.is-animated .video-translation-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transform: translateY(-10px);
  transition:
    grid-template-rows 0.48s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.36s ease,
    transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}

.video-translation.is-animated.is-expanded .video-translation-panel {
  grid-template-rows: 1fr;
  opacity: 1;
  transform: translateY(0);
}

.video-translation-body {
  margin-top: 14px;
  padding: 16px 18px;
  background: rgba(10, 16, 15, 0.55);
  border: 1px solid rgba(227, 86, 61, 0.35);
  border-radius: 8px;
  text-align: right;
}

.video-translation.is-animated .video-translation-body {
  overflow: hidden;
  min-height: 0;
}

@media (prefers-reduced-motion: reduce) {
  .video-translation summary,
  .video-translation summary::after,
  .video-translation.is-animated .video-translation-panel {
    transition: none;
  }
}

.video-translation-body p,
.scroll-section .video-translation-body p {
  color: #f2f2f2;
  font-size: 15px;
  line-height: 1.8;
  text-align: right;
  margin: 0 0 12px;
}

.video-translation-body p:last-child,
.scroll-section .video-translation-body p:last-child {
  margin-bottom: 0;
}

.video-translation-body strong {
  display: block;
  color: #e3563d;
  margin-bottom: 4px;
}

.fixed-image-container {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: auto;
}

.fixed-image-stage {
  position: relative;
  width: 50%;
  overflow: hidden;
  /* background: #1a1a1a; */
  margin: auto;
  filter: drop-shadow(2px 4px 6px black);
}

.fixed-image-stage .fixed-image,
.scroll-section .fixed-image-container .fixed-image {
  position: absolute !important;
  inset: 0;
  top: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
  opacity: 0;
  transition: opacity 0.45s ease;
  filter: none;
  pointer-events: none;
}

.fixed-image-stage .fixed-image:first-child {
  position: relative !important;
  opacity: 0;
}

.fixed-image-stage .fixed-image.is-active {
  opacity: 1;
  z-index: 1;
}

/* Absolute to the image stage — never inherit section sticky img rules */
.fixed-image-flip {
  position: absolute !important;
  top: 43%;
  left: 68%;
z-index: 3;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
  direction: ltr;
}

.fixed-image-flip-icon,
.scroll-section .fixed-image-flip img,
.scroll-section .fixed-image-flip-icon {
  position: static !important;
  top: auto !important;
  left: auto !important;
  width: 48px !important;
  height: 48px !important;
  object-fit: contain !important;
  display: block;
  flex-shrink: 0;
  margin: 0;
  transition: transform 0.45s ease;
  filter: none !important;
  z-index: auto;
}

.fixed-image-flip.is-flipping .fixed-image-flip-icon {
  transform: rotate(180deg);
}

.fixed-image-flip span {
  color: #e3563d;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
  white-space: nowrap;
  direction: rtl;
}

.fixed-image-caption {
  color: #f2f2f2 !important;
  font-size: 15px !important;
  text-align: center !important;
  margin: 14px 0 0 !important;
}

@media (max-width: 768px) {
  .fixed-image-container {
    width: 100%;
  }

  .fixed-image-flip {
    top: 50%;
    left: 55%;
  }

  .fixed-image-flip-icon,
  .scroll-section .fixed-image-flip img,
  .scroll-section .fixed-image-flip-icon {
    width: 40px !important;
    height: 40px !important;
  }

  .fixed-image-flip span {
    font-size: 14px;
  }
}

/* Horizontal zigzag timeline — CSS sticky + GSAP scrub (no pin) */
.timeline-horizontal-container {
  --timeline-accent: #e3563d;
  --timeline-ink: #f7f4f1;
  --timeline-card: rgba(18, 18, 18, 0.88);
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 48px 0 64px;
  background: #05080a;
  color: var(--timeline-ink);
  overflow: visible;
  direction: ltr;
}

.timeline-horizontal-scroll {
  height: calc(100dvh + var(--timeline-distance, 4000px));
}

.timeline-horizontal-title {

  flex: 0 0 auto;
  width: min(520px, 90%);
  margin: 0 auto;
  padding: 22px 22px 11px;
  color: var(--timeline-ink) !important;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
  font-size: clamp(16px, 2.2vw, 19px);
  font-weight: 700;
  line-height: 1.6;
  text-align: center !important;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}

.timeline-horizontal-pin {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  direction: ltr;
  box-sizing: border-box;
  background: #05080a;
}

.timeline-horizontal-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.timeline-horizontal-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  z-index: 0;
  transition: opacity 0.7s ease;
}

.timeline-horizontal-bg img.is-active {
  opacity: 1;
  z-index: 1;
}

.timeline-horizontal-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(8, 10, 12, 0.78);
}

.timeline-horizontal-title,
.timeline-horizontal-viewport {
  position: relative;
  z-index: 1;
}

.timeline-horizontal-viewport {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  overflow: hidden;
  padding-bottom: 84px;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}

.timeline-horizontal-track {
  --timeline-axis: 50%;
  --timeline-gutter: 32px;
  --timeline-visible: 2;
  --timeline-side-pad: 8vw;
  --timeline-item-gap: 56px;
  position: relative;
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: nowrap;
  align-items: stretch;
  align-self: stretch;
  flex: 0 0 auto;
  gap: var(--timeline-item-gap);
  width: max-content;
  min-width: max-content;
  height: 100%;
  padding: 8px var(--timeline-side-pad);
  box-sizing: border-box;
  direction: ltr;
  will-change: transform;
}

.timeline-horizontal-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: var(--timeline-axis);
  height: 2px;
  background: rgba(227, 86, 61, 0.28);
  transform: translateY(-50%);
  z-index: 0;
}

.timeline-h-axis-progress {
  position: absolute;
  left: auto;
  right: 0;
  top: var(--timeline-axis);
  height: 2px;
  width: 0;
  background: var(--timeline-accent);
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
}

.timeline-h-axis-progress::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: url("../images/icons/football.png") center / cover no-repeat;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px rgba(227, 86, 61, 0.22);
}

.timeline-h-item {
  --timeline-item-w: calc(
    (100vw - (var(--timeline-side-pad) * 2) - var(--timeline-item-gap)) /
      var(--timeline-visible)
  );
  position: relative;
  z-index: 1;
  flex: 0 0 var(--timeline-item-w);
  width: var(--timeline-item-w);
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(0, 1fr) var(--timeline-gutter) minmax(0, 1fr);
}

.timeline-h-item::after {
  content: "";
  grid-row: 2;
  grid-column: 1;
  justify-self: center;
  align-self: stretch;
  width: 2px;
  background: var(--timeline-accent);
  z-index: 1;
}

.timeline-h-point {
  grid-row: 2;
  grid-column: 1;
  justify-self: center;
  align-self: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-sizing: border-box;
  border: 2px solid var(--timeline-accent);
  background: #0c0c0c;
  z-index: 3;
  position: relative;
  transition: background 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.timeline-h-item.is-passed .timeline-h-point,
.timeline-h-item.is-current .timeline-h-point {
  background: var(--timeline-accent);
}

.timeline-h-item.is-current .timeline-h-point {
  transform: scale(1.45);
  box-shadow: 0 0 0 7px rgba(227, 86, 61, 0.22);
}

.timeline-h-card {
  z-index: 2;
  width: 100%;
  min-height: 0;
  max-height: 100%;
  overflow-y: hidden;
  overscroll-behavior: auto;
  padding: 22px 26px 24px;
  border-radius: 0;
  background: var(--timeline-card);
  border: 1px solid rgba(227, 86, 61, 0.28);
  border-top: 3px solid var(--timeline-accent);
  color: var(--timeline-ink);
  direction: rtl;
  text-align: right;
  box-sizing: border-box;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  scrollbar-width: thin;
  scrollbar-color: rgba(227, 86, 61, 0.4) transparent;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease, border-color 0.35s ease;
}

.timeline-h-card.is-scrollable {
  overflow-y: auto;
}

.timeline-h-item--top .timeline-h-card {
  grid-row: 1;
  grid-column: 1;
  align-self: end;
  transform: translateY(32px);
}

.timeline-h-item--bottom .timeline-h-card {
  grid-row: 3;
  grid-column: 1;
  align-self: start;
  transform: translateY(-32px);
}

.timeline-h-item.is-visible .timeline-h-card {
  opacity: 1;
  transform: translateY(0);
}

.timeline-h-item.is-current .timeline-h-card {
  border-color: rgba(227, 86, 61, 0.55);
}

.timeline-h-card time {
  display: block;
  margin-bottom: 14px;
  color: var(--timeline-accent);
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.15;
}

.timeline-h-card p {
  margin: 0 0 12px !important;
  color: var(--timeline-ink) !important;
  font-size: 16px !important;
  line-height: 26px !important;
  text-align: right !important;
}

.timeline-h-card p:last-child {
  margin-bottom: 0 !important;
}

.timeline-h-card .timeline-h-label {
  display: block;
  margin-bottom: 4px;
  color: var(--timeline-accent);
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.timeline-h-progress {
  position: absolute;
  bottom: 26px;
  left: 50%;
  z-index: 4;
  width: min(460px, calc(100% - 168px));
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  direction: rtl;
  pointer-events: none;
}

.timeline-h-progress-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.timeline-h-progress-date {
  color: var(--timeline-accent);
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.timeline-h-progress-count {
  color: var(--timeline-ink);
  font-size: 13px;
  opacity: 0.78;
  white-space: nowrap;
}

.timeline-h-progress-track {
  height: 3px;
  overflow: hidden;
  background: rgba(255, 248, 238, 0.22);
  direction: rtl;
}

.timeline-h-progress-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--timeline-accent);
}

.timeline-h-nav {
  position: absolute;
  bottom: 20px;
  z-index: 4;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--timeline-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.timeline-h-nav--prev {
  left: auto;
  right: 28px;
}

.timeline-h-nav--next {
  right: auto;
  left: 28px;
}

.timeline-h-nav--prev svg,
.timeline-h-nav--next svg {
  transform: scaleX(-1);
}

.timeline-h-nav svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.timeline-h-nav:hover:not(:disabled) {
  transform: scale(1.06);
}

.timeline-h-nav:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.timeline-h-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

@media (max-width: 1100px) {
  .timeline-horizontal-track {
    --timeline-side-pad: 6vw;
    --timeline-item-gap: 36px;
  }

  .timeline-h-card {
    padding: 18px 18px 20px;
  }

  .timeline-h-card time {
    font-size: clamp(24px, 3.2vw, 34px);
  }
}

@media (max-height: 700px) and (min-width: 769px) {
  .timeline-horizontal-title {
    font-size: 16px;
    padding: 8px 16px 4px;
  }

  .timeline-horizontal-viewport {
    padding-bottom: 56px;
  }

  .timeline-h-card {
    padding: 12px 14px 14px;
  }

  .timeline-h-card time {
    font-size: clamp(22px, 3vw, 20px);
    margin-bottom: 8px;
  }

  .timeline-h-card p {
    font-size: 14px !important;
    line-height: 22px !important;
  }
}

@media (max-width: 768px) {
  .timeline-horizontal-title {
    width: min(100%, 92%);
    font-size: 16px;
    padding: 16px 12px 8px;
  }

  .timeline-horizontal-viewport {
    display: block;
    padding-bottom: 88px;
  }

  .timeline-horizontal-track {
    --axis-offset: 18px;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    align-self: auto;
    flex: none;
    gap: 28px;
    width: 100%;
    min-width: 0;
    height: auto;
    padding: 12px 0 32px;
  }

  .timeline-horizontal-track::before {
    left: auto;
    right: var(--axis-offset);
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
    transform: translateX(50%);
  }

  .timeline-h-axis-progress {
    left: auto;
    right: var(--axis-offset);
    top: 0;
    width: 2px;
    height: 0;
    transform: translateX(50%);
  }

  .timeline-h-axis-progress::after {
    top: auto;
    left: auto;
    right: 50%;
    bottom: 0;
    transform: translate(50%, 50%);
  }

  .timeline-h-item,
  .timeline-h-item--top,
  .timeline-h-item--bottom {
    display: block;
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 0 calc(var(--axis-offset) + 22px) 0 16px;
    box-sizing: border-box;
  }

  .timeline-h-item::after {
    content: "";
    display: block;
    position: absolute;
    left: auto;
    right: var(--axis-offset);
    top: 24px;
    width: 22px;
    height: 2px;
    transform: translateY(-50%);
    justify-self: auto;
    align-self: auto;
  }

  .timeline-h-point {
    position: absolute;
    left: auto;
    right: var(--axis-offset);
    top: 24px;
    grid-row: auto;
    grid-column: auto;
    justify-self: auto;
    align-self: auto;
    transform: translate(50%, -50%);
  }

  .timeline-h-item--top .timeline-h-card,
  .timeline-h-item--bottom .timeline-h-card {
    grid-row: auto;
    grid-column: auto;
    align-self: auto;
    max-height: none;
    overflow: visible;
  }

  .timeline-h-card {
    max-height: none;
    overflow: visible;
    padding: 16px 16px 18px;
  }

  .timeline-h-item--top .timeline-h-card,
  .timeline-h-item--bottom .timeline-h-card {
    transform: translateY(20px);
  }

  .timeline-h-item.is-visible .timeline-h-card {
    transform: translateY(0);
  }

  .timeline-h-card time {
    font-size: clamp(26px, 7vw, 34px);
    margin-bottom: 10px;
  }

  .timeline-h-card p {
    font-size: 14px !important;
    line-height: 23px !important;
  }

  .timeline-h-progress {
    bottom: 18px;
    width: min(280px, calc(100% - 120px));
  }

  .timeline-h-nav {
    width: 42px;
    height: 42px;
    bottom: 16px;
  }

  .timeline-h-nav--prev {
    left: 16px;
    right: auto;
  }

  .timeline-h-nav--next {
    right: 16px;
    left: auto;
  }

  .timeline-h-nav--prev svg,
  .timeline-h-nav--next svg {
    transform: rotate(90deg);
  }

  .timeline-h-item.is-current .timeline-h-point {
    transform: translate(50%, -50%) scale(1.45);
  }
}

@media (prefers-reduced-motion: reduce) {
  .timeline-h-card,
  .timeline-h-item--top .timeline-h-card,
  .timeline-h-item--bottom .timeline-h-card {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .timeline-h-point {
    transition: none;
  }
}

@media (max-width: 768px) {
  p{
    text-align: right !important;
  }
  .title-wrapper h2 {
    color: #e3563d;
    font-size: 22px;
    line-height: 36px;
}
  .first-p-section .container{
    width: 100%;
    margin: auto;
    padding: 20px 20px;

  } 
  .box-black-container{
    width: 90%;
    margin: auto;
    margin-top: -100px;
    z-index: 999;
    position: relative;
    padding-top: 5px;

  }
  .fixed-image-stage{
    width: 100%;
  }
  /* .scroll-container{
    width: 100%;
    padding: 20px 20px;
  }
  .timeline-horizontal-track {
    gap: 24px;
    padding: 0 8vw;
  }

  .timeline-h-item {
    flex: 0 0 220px;
    width: 220px;
  }

  .timeline-h-card {
    padding: 12px 10px;
  }

  .timeline-h-card time {
    font-size: 16px;
  }

  .timeline-h-card p {
    font-size: 12px !important;
    line-height: 20px !important;
  }
}

.vid-caption {
  font-size: 16px !important;
  text-align: center !important;
  margin: 0 !important;
}

.quote-card {
  /* background-color: rgba(6, 21, 34, 0.75);
    border: 1px solid rgba(105, 155, 255, 0.35); */
  border-radius: 18px;
  padding: 26px 32px;
  font-size: 19px;
  line-height: 1.8;
  position: relative;
  /* box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35); */
  backdrop-filter: blur(4px);
  direction: rtl;
  text-align: right;
  background-image: url();
}
.swiper-wrapper {
  align-items: center;
}
.image-container-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 100px;
  margin-bottom: 32px;
  gap: 5px;
}
.image-container-row .image-container-figure {
  width: 49%;
}
.image-container-figure img {
  height: auto !important;
}

.image-container-grid {
  direction: ltr;
  width: 80%;
  max-width: 800px;
margin: 24px auto 80px;
  margin-bottom: 0;
  padding-bottom: 100px;
  margin-bottom: 0 !important;
}

.visit-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.46fr 0.46fr;
  grid-template-rows: 0.92fr 0.86fr 0.68fr 0.78fr 0.78fr 0.86fr;
  gap: 6px;
  background: #000;
  aspect-ratio: 10 / 13;
  width: 100%;
}

.visit-grid__item {
  display: block;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
  background: #111;
}

.visit-grid__item img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center;
}

.visit-grid__meet {
  grid-column: 1;
  grid-row: 1;
}

.visit-grid__story {
  grid-column: 2 / 4;
  grid-row: 1 / 3;
}

.visit-grid__story img {
  object-position: center top;
}

.visit-grid__field {
  grid-column: 1;
  grid-row: 2;
}

.visit-grid__hall {
  grid-column: 2 / 4;
  grid-row: 3;
}

.visit-grid__museum {
  grid-column: 1;
  grid-row: 3 / 6;
}

.visit-grid__trophy {
  grid-column: 2 / 4;
  grid-row: 4 / 6;
}

.visit-grid__trophy img {
  object-position: center 30%;
}

.visit-grid__scarves {
  grid-column: 1;
  grid-row: 6;
}

.visit-grid__stands {
  grid-column: 2;
  grid-row: 6;
}

.visit-grid__getafe {
  grid-column: 3;
  grid-row: 6;
}

.visit-grid__caption {
  direction: rtl;
  margin: 16px 12px 0;
  color: #c8c8c8;
  font-size: 14px;
  line-height: 1.6;
  text-align: center !important;
  margin-bottom: 50px !important;
  margin-top: 30px !important;
}

@media (max-width: 991px) {
  .image-container-grid {
    width: 100%;
    max-width: none;
    margin: 16px auto 48px;
  }

  .visit-grid {
    gap: 4px;
  }
}

@media (max-width: 767px) {
  .visit-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: 150px 140px 120px 160px 160px 140px 150px;
    aspect-ratio: unset;
    height: auto;
  }

  .visit-grid__meet {
    grid-column: 1;
    grid-row: 1;
  }

  .visit-grid__story {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .visit-grid__field {
    grid-column: 1;
    grid-row: 2;
  }

  .visit-grid__hall {
    grid-column: 1 / 3;
    grid-row: 3;
  }

  .visit-grid__museum {
    grid-column: 1;
    grid-row: 4 / 6;
  }

  .visit-grid__trophy {
    grid-column: 2;
    grid-row: 4 / 6;
  }

  .visit-grid__scarves {
    grid-column: 1;
    grid-row: 6;
  }

  .visit-grid__stands {
    grid-column: 2;
    grid-row: 6;
  }

  .visit-grid__getafe {
    grid-column: 1 / 3;
    grid-row: 7;
  }

  .visit-grid__caption {
    font-size: 13px;
    margin-inline: 10px;
  }
}
.slider1 {
  background-image: none;
}
.quote-card::before,
.quote-card::after {
  content: "“";
  position: absolute;
  font-size: 64px;
  color: rgba(103, 148, 255, 0.35);
  font-family: "Tajawal-Bold";
}

.quote-card::before {
  top: -48px;
  right: 18px;
  font-size: 100px;
}

.quote-card::after {
  content: "”";
  bottom: -32px;
  left: 18px;
  display: none;
}

.quote-text {
  margin: 0;
  color: #f6f6ff;
}

.quote-meta {
  display: inline-block;
  margin-top: 18px;
  font-size: 15px;
  display: none;
  opacity: 0.75;
}

.slider1 .swiper-slide-empty {
  display: none;
}

/* Test */

.slider1-swiper .swiper-slide,
.slider2-swiper .swiper-slide,
.slider3-swiper .swiper-slide {
  width: 100%;
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .scroll-section {
    flex-direction: column-reverse;
    min-height: auto;
  }

  .scroll-section .cus-container {
    padding: 40px 15px;
    background-color: transparent;
    color: inherit;
  }

  .scroll-content {
    width: 90%;
  }

  .slider1 {
    padding: 40px 40px;
  }

  .quote-card {
    padding: 22px;
    font-size: 17px;
  }
}

#mainBanner {
  position: relative;
  background-image: url(../images/main-banner.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  min-height: 620px;
  height: 100vh;
  background-position: bottom left;
}

#mainBanner .cus-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.main-banner-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.main-title-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  align-items: flex-start;
  padding: 22px;
  margin-bottom: 15px;
  border-radius: 7px;
  /* width: 50%; */
  padding-top: 0;
  margin-top: 30px;
  width: 100%;
  padding-top: 30px;
  margin-top: 50px;
  margin-right: 30px;
}

.main-title-wrapper h1 {
  font-size: 37px;
  font-weight: bold;
  line-height: 57px;
  text-align: right;
  color: #f2f2f2;
  font-family: "Tajawal-Bold";
  /* background-color: #000000; */
  padding: 0px 15px;
  opacity: 0;
  transition: opacity 1s ease 0.2s;
  margin-bottom: 0;
}

.main-title-wrapper h1 span {
  color: #e3563d;
}

.box-card {
  background-color: #5a020d;
  border-radius: 6px;
  padding: 30px;
  margin-bottom: 40px;
}

.box-card p {
  color: white !important;
  font-size: 16px !important;
  font-weight: bold;
  margin-bottom: 0 !important;
  font-family: "Tajawal-Bold";
}

.box-card .source {
  text-align: left !important;
  font-family: "Tajawal";
}


.writer-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 13px 11px;
  border-radius: 0;
  margin-right: 21px;
  margin-top: 0;
  margin-right: 51px;
  border-radius: 6px;
  opacity: 0;
  transition: opacity 1s ease 0.5s;
}

.writer-info-wrapper .bk-jour {
  width: 231px !important;
  height: 166px !important;
  position: absolute !important;
  right: -13px;
  top: -45px;
}

.writer-info-div {
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
  z-index: 99999;
  margin-top: 0px;
}

.writer-info-div figure {
  width: 33px;
}

.writer-info-div span {
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  text-align: right;
  color: #f2f2f2;
}

.main-idea-section,
.methodology-section,
.content-section {
  padding: 60px 0px 60px 0px;
  width: 100%;
  height: 100%;
  /* background-color: #f2f2f2; */
}

.main-idea-wrapper {
  position: relative;
  background-image: url("../images/cutall.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  max-width: 85%;
  margin: auto;
  width: 100%;
  height: auto;
  padding: 24px 40px;
  margin-bottom: 40px;
  margin-top: -60px;
  /* height: 100px; */
}

.cut01-title h2 {
  color: #f2f2f2;
  font-size: 29px;
  font-weight: bold;
  font-family: "Tajawal-Bold";
  margin: 0 !important;
  padding: 0;
  padding: 10px;
}
.cut01-title p {
  color: #f2f2f2;
  font-size: 20px;
  margin-top: 0;
}

.cut02-title h2 {
  font-size: 29px;
  margin-right: 40px;
  left: 40px;
  position: absolute;
  left: unset;
  right: 0px;
  transform: unset;
  background-color: #222222;
  color: #f2f2f2;
  padding: 3px 18px;
  padding-top: 10px;
}

.cut03-title h2 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  /* background-color: #333333e6; */
  /* color: #F2F2F2; */
  padding: 10px 23px;
  font-size: 31px;
  top: 0;
  margin-top: -20px !important;
  color: #333333;
}

.main-idea-wrapper h2 {
  position: relative;
  z-index: 999;
}

.main-idea-wrapper h2 {
  font-size: 20px;
  font-weight: 700;
  line-height: 35px;
  text-align: center;
  color: #f2f2f2;
  padding: 22px;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}

.main-content-wrapper {
  display: flex;
  justify-content: flex-end;
  gap: 6%;
  width: 100%;
  margin-top: 75px;
}

.main-content {
  margin: auto;

  max-width: 50%;
  width: 100%;
}

.main-content p {
  font-size: 18px;
  line-height: 31px;
  text-align: justify;
  color: #1a1a1a;
  margin: 0 0 32px 0;
}

.methodology-section {
  padding-top: 0;
}

.methodology-wrapper {
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-direction: column;
}

.methodology-box {
  padding: 25px 40px;
  max-width: 35%;
  width: 100%;
  height: fit-content;
  background-color: #333333cc;
}

.methodology-box h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 34.8px;
  text-align: right;
  color: #f2f2f2;
}

.methodology-box p {
  font-size: 16px;
  font-weight: 700;
  line-height: 28px;
  text-align: right;
  color: #f2f2f2;
}

.main-website {
  background-image: url(../images/cut01.jpg);
  background-size: cover;
  min-height: 500px;
}

.main-website02 {
  background-image: url(../images/cut21.jpg);
  background-size: cover;
  min-height: 700px;
  background-position: bottom;
}

.main-website02 .methodology-img-div {
  position: absolute;
  right: 15%;
  top: 40px;
}

.methodology-img-div {
  margin-top: 70px;
  padding: 10px;
  border-radius: 2px;
  margin-bottom: 40px;
  position: relative;
  z-index: 999999;
}

.methodology-img-div h3 {
  font-size: 28px;
  font-weight: 700;
  line-height: 34.8px;
  text-align: center;
  color: #fdfdfd;
  background-color: #362d27e6;
  padding: 10px 14px;
  border-radius: 3px;
}

.methodology-img-div img {
  width: 100%;
}

.content-section {
  padding: 40px 0;
  border: none;
}

.content-section .main-content {
  margin: auto;
}

.content-section .main-content h4 {
  font-size: 26px;
  font-weight: 700;
  line-height: 38.08px;
  text-align: right;
  margin: 60px 0 32px 0;
  color: #1a1a1a;
}

.shared-with-div {
  border-top: 1px solid #e2e2e2;
  background-color: transparent;
  width: 100%;
  margin: 75px auto;
  padding: 28px;
  background-color: #e2e2e21c;
  display: flex;
  flex-direction: column;
  gap: 42px;
}

.shared-lang-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.shared-lang-wrapper h6 {
  font-family: "Tajawal-Bold", sans-serif;
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 18px;
  font-weight: bold;
  color: #1a1a1a;
  line-height: 28px;
}

.shared-lang-wrapper h6::before {
  content: "";
  display: flex;
  background-color: #b4031b;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.shared-links-wrapper {
  display: flex;
}

.shared-links-wrapper span {
  display: flex;
  max-width: 90%;
  width: 100%;
  gap: 10px;
  flex-wrap: wrap;
}

.shared-links-wrapper a:not(:last-child) {
  border-left: 2px solid #b4031b;
  padding-left: 10px;
}

.shared-links-wrapper a {
  color: #1a1a1a !important;
}

.charts-container {
  display: flex;
  flex-direction: column;
  margin: 32px 0;
  text-align: center;
  background-color: #f5f5f500;
  padding: 10px;
}

.charts-container canvas {
  margin-bottom: 20px;
}

.charts-container h4 {
  font-size: 18px !important;
  font-weight: 400 !important;
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  text-align: center !important;
}

.charts-container h6 {
  font-size: 14px !important;
  font-weight: 400 !important;
}

.charts-container p {
  margin: 0 auto 24px auto;
  max-width: 50%;
  font-size: 14px !important;
  font-weight: 400 !important;
  text-align: center;
}

#barSaloonCarsTwoContainer p {
  margin-top: 0;
}

.multi-lines-chart {
  display: flex;
  gap: 10px;
  width: 100%;
  padding: 8px;
}

.multi-lines-chart canvas {
  width: 50% !important;
}

#nav-logo,
#nav-social-links-wrapper,
#search-popup,
#search-popup-btn,
#nav-lang-link {
  display: none;
}

#search-popup {
  position: relative;
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: white;
  z-index: 99;
}

#search-popup-btn {
  padding: 0;
  border: none;
  background: none;
}

#search-popup-btn svg {
  fill: white;
}

#search-popup-close-btn {
  width: 42px;
  height: 42px;
  position: absolute;
  inset: 32px;
  padding: 0;
  background: none;
  border: none;
  fill: rgb(148 148 148);
}

#search-popup div {
  max-width: 90%;
  width: 100%;
  margin: auto;
}

.gsc-control-wrapper-cse {
  max-width: 100% !important;
}

.gsc-control-cse {
  background-color: white !important;
  border-radius: 20px;
  padding: 8px 10px !important;
  border: 1px solid rgb(148 148 148) !important;
}

.gsc-search-button-v2 {
  padding: 0 5px !important;
}

.gsc-search-button-v2 svg {
  width: 22px !important;
}

.gsc-input-box {
  border: none !important;
}

section {
  position: relative;
  z-index: 0;
}

.image-container {
  display: flex;
  width: 100%;
  justify-content: space-around;
  margin-bottom: 40px;
  margin-top: 40px;
}

.pdf-container {
  display: flex;
  margin-top: 40px;
  width: 100%;
  justify-content: flex-start;
  margin-right: 5%;
}

.pdf-container a {
  display: flex;
  background-color: #ffffff;
  padding: 0 20px;
  border-radius: 5px;
}

.pdf-container p {
  color: black;
  text-decoration: underline;
  margin-bottom: 11px;
}

.pdf-container img {
  width: 40px;
  margin-left: 5px;
  object-fit: contain;
  height: auto;
}

.image-container02 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 100px;
  margin-bottom: 32px;
}

.image-container02 figure {
  border: 4px solid #5a020d;
}

.image-container02 img {
  width: 100%;
}

.p-source-center {
  text-align: center !important;
  width: 100%;
}

.image-container-p {
  text-align: center;
  margin-top: 24px;
  margin-bottom: 40px;
  color: black;
  font-size: 19px;
}

.row-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 30px;
  margin-bottom: 30px;
}

.row-container p {
  width: 45%;
  text-align: right;
}

.row-container .row-image {
  width: 40%;
}

.row-container img {
  width: 100%;
}

.row-image p {
  width: 100%;
}

.image-container02-b {
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-container02-b img {
  width: 90%;
}

.image-container03 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.image-container03 figure {
  width: 100%;
}

.image-container03 img {
  width: 100%;
  margin-bottom: 23px;
  object-fit: cover;
  filter: grayscale(0);
  transition: all 0.4s;
}

.image-container03 img:hover {
  filter: grayscale(0);
}

.image-container04 {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 100px;
}

.image-container04 img {
  width: 24%;
}

.image-container05 {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 100px;
}

.image-container05 img {
  width: 32%;
}

.image-container06 {
  display: flex;
}

.image-container06 img {
  width: 100%;
}

.swiper-p {
  font-weight: 600;
  margin-top: 40px !important;
}

.audio-container {
  margin-top: 30px;
}

.audio-container audio {
  width: 100%;
}

.about-p {
  font-weight: bold;
  font-style: italic;
}

.pointer-hand {
  display: flex;
  margin-bottom: 0;
  margin-top: 40px;
  align-items: center;
  justify-content: center;
  padding-bottom: 20px;
}

.pointer-hand img {
  padding-left: 10px;
  height: 20px;
}

.pointer-hand p {
  margin-bottom: 0;
  font-weight: 600;
}

.f-boxa {
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide .number {
  font-size: 100px;
  font-weight: 800;
  position: absolute;
  left: 0;
  top: 0;
  color: #2f3c30;
  transition: all 0.5s;
}

.swiper-slide img {
  width: 65%;
}

.swiper-horizontal {
  position: relative;
  overflow-x: hidden;
}

/* .slick-current{
    position: relative;
  }
  .slick-current .number{
    opacity: 1;
  } */

.slider-caption {
  text-align: center !important;
  margin-top: 12px !important;
  margin-bottom: 0 !important;
  font-weight: 500;
}

.link-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
  font-family: "Tajawal-Bold";
}

.link-container a {
  background-color: #b4031b;
  color: white;
  padding: 10px;
}

.swiper-button-next,
.swiper-button-prev {
  color: #2f3c30 !important;
}

.swiper-pagination-bullet {
  background: #fff;
  /* Change pagination bullet color */
}

.swiper-pagination-bullet-active {
  background: #f00;
  /* Change active bullet color */
}

figure {
  width: 100%;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

figure picture {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

figure img {
  width: 100%;
  margin: auto;
}

figcaption {
  margin-top: 20px;
  margin-bottom: 40px;
  text-align: center;
  line-height: 24px;
  width: 50%;
}

.chart-container {
  margin-top: 30px;
  margin-bottom: 30px;
  position: relative;
}

.chart-container h3 {
  text-align: center;
  font-weight: bold;
  font-size: 20px;
  line-height: 33px;
  margin-bottom: 30px;
}

.scroll-section .chart-container {
  background-color: #f2f2f2f5 !important;
  padding: 30px;
  border-radius: 5px;
}

.yall-line {
  position: absolute;
  height: 3px;
  width: 100%;
  background-color: #00493f;
  top: 50%;
  transform: translateY(-50%);
  margin-top: 38px;
  left: 28px;
}

.p-chart-source {
  display: flex;
  align-items: center;
  margin-top: 25px;
}

.p-chart-source span {
  width: 60px;
  height: 5px;
  background-color: #edbb72;
  margin-left: 10px;
}

.p-chart-source2 {
  text-align: left !important;
  margin-top: 20px !important;
  font-size: 15px !important;
}

.chart-container .flourish-embed {
  width: 100%;
  margin: auto;
}

.chart-container .chart-canvas-wrap {
  position: relative;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  min-height: 260px;
}

.width-full img {
  width: 100%;
  border: 3px solid #5bab9c;
  border-top: unset;
}

.copyright__part {
  padding: 10px 20px;
  background: #000000;
  text-align: center;
  font-weight: 300;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
}

.copyright__part a {
  font-size: 14px;
  text-decoration: none;
  color: #ffffff;
}

/*feature css starts*/
.timeline-container {
  direction: ltr;
  background-color: #f8f8f85c;
  box-shadow: 1px 1px 5px 1px #00000012;
}

.timeline__cover {
  padding: 0px 0;
  color: #ffffff;
  margin-bottom: 40px;
  border-radius: 10px;
}

.timeline__cover .timeline__title {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
  padding: 0 16px;
}

.timeline span {
  color: #21897c;
  font-weight: bold;
  font-size: 20px;
}

.timeline__cover .timeline__title h2 {
  font-size: 48px;
  font-weight: 600;
  line-height: 56px;
  letter-spacing: -0.5px;
  text-transform: capitalize;
  margin-bottom: 16px;
}

.timeline__cover .timeline__title p {
  font-size: 18px;
  font-weight: 400;
  line-height: 28.8px;
  color: #959595;
}

.timeline__cover .timeline {
  padding-top: 24px;
}

.timeline__cover .timeline ul {
  padding-top: 100px;
}

.timeline__cover .timeline ul li {
  background: #9a9a9a;
  position: relative;
  margin: 0 auto;
  width: 2px;
  margin-bottom: 48px;
  list-style-type: none;
}

.timeline__cover .timeline ul li:last-child {
  padding-bottom: 7px;
  width: 0;
  height: 0;
}

.timeline__cover .timeline ul li:before {
  content: "";
  background: #46b5a7;
  position: absolute;
  left: 50%;
  top: -32px;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  width: 16px;
  height: 16px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}
.slider2 .swiper-slide img {
  width: 86% !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 0 !important;
}

.slider2 .swiper-button-prev img,
.slider2 .swiper-button-next img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}
.slider3 img {
  width: 100% !important;
  height: 300px !important;
  object-fit: cover !important;
  border-radius: 0 !important;
}

.timeline__cover .timeline ul li .hidden {
  opacity: 0;
}

.timeline__cover .timeline ul li .content {
  position: relative;
  top: -100px;
  width: 289px;
}

.timeline__cover .timeline ul li .content .badge {
  font-size: 16px;
  line-height: 16px;
  text-transform: uppercase;
  color: #ffffff;
  display: inline-block;
  padding: 8px 12px;
  background: #4e453f;
  border-radius: 1000px;
  font-weight: bold;
}

.timeline__cover .timeline ul li .content h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  color: #4e453f;
  margin: 16px 0 8px;
  text-align: right;
}

.timeline__cover .timeline ul li .content p {
  color: #4e453f;
  font-size: 15px;
  font-weight: 400;
  line-height: 26px;
  direction: rtl;
  margin-bottom: 0;
}

.timeline__cover .timeline ul li:nth-child(odd) .content {
  left: 70px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.timeline__cover .timeline ul li:nth-child(odd) .content:before {
  left: -38px;
}

.timeline__cover .timeline ul li:nth-child(even) .content {
  left: calc(-289px - 70px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
}

.timeline__cover .timeline ul li:nth-child(even) .content:before {
  right: -38px;
}

.charts-locations {
  margin-top: 40px;
  margin-bottom: 40px;
}

.charts-locations-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-end;
}

.charts-locations-col {
  width: 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #f7f7f787;
  padding: 10px;
  box-shadow: 1px 1px 5px 1px #00000012;
  margin-bottom: 20px;
}

.pin-img {
  width: 35px;
  margin-bottom: 16px;
}

.title-pin {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.title-pin p {
  color: #4e453f;
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 0;
}

.content-chem-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 24px;
  margin-top: 15px;
}

.content-chem-col {
  width: 35%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  margin-top: 10px;
}

.content-chem-col p {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: -7px;
}

.number-p {
  color: #168082 !important;
  font-weight: bold;
  margin-bottom: 5px !important;
}

.number-p2 {
  color: #a20014 !important;
  font-weight: bold;
}

.content-chem-col img {
  width: 65px;
  height: 65px;
  margin-bottom: 16px;
}

.gren-num {
  color: #168082 !important;
}

.chatt-bk {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.main-title-wrapper {
  max-width: 100%;
}

.main-title-wrapper h1 {
  font-size: 33px;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 0px;
  text-align: right;
  color: #f2f2f2;
}

.main-title-wrapper h1 span {
  color: #e3563d;
}

.flex02 {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
}

.flex02 .project-card {
  width: 30%;
}

.main-banner-content {
  width: 60%;
}

.year {
  background: #c00;
  color: white;
  font-weight: bold;
  font-size: 32px;
  padding: 20px;
  text-align: right;
}

.row {
  display: flex;
  justify-content: space-between;
  padding: 10px 20px;
  border-top: 1px solid #ddd;
}

.label {
  font-weight: bold;
  color: #333;
  width: 50%;
}

.value {
  width: 50%;
}

.gray {
  background-color: #ccc;
}

.light-gray {
  background-color: #e5e5e5;
}

.dark {
  background-color: #444;
  color: white !important;
}

.orange {
  background-color: #b43c04;
  color: white !important;
}

.light-gray2 {
  background-color: #e6e6e6;
}

.red {
  background-color: #870214;
  color: white !important;
}

.dark-red {
  background-color: #5a020d;
  color: white !important;
}

.dark-gray {
  background-color: #333;
  color: white !important;
}

.dark2 {
  background-color: #1a1a1a;
  color: white !important;
}

.images {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: #4d4d4d;
}

.images img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}

.card-container .col-row {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
}

.col-row .row-cards {
  width: 50%;
  padding: 15px;
  font-weight: 400 !important;
  font-family: "Tajawal" !important;
  font-size: 14px;
  line-height: 22px;
}

.col-row .label {
  width: auto;
}

.col-row .value {
  width: auto;
}

.row-cards .storng {
  font-family: "Tajawal-Bold" !important;
  font-weight: bold;
}

.total-img {
  width: 40% !important;
}

.investigation-tags-container {
  width: 100%;
  border-top: 1px solid #e2e2e2;
  padding-top: 20px;
  margin: 0 auto 32px auto;
}

.investigation-tags-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  max-width: 100%;
  margin: auto;
  gap: 8px;
}

.investigation-tags-wrapper a {
  font-size: 14px;
  display: flex;
  align-items: center;
  padding: 6px 15px;
  color: #b4031b;
  background-color: white;
  border: 1px solid #b4031b;
  border-radius: 7px;
  transition: all 0.5s;
}

.investigation-tags-wrapper a:hover {
  color: white;
  background-color: #b4031b;
  border: 1px solid #b4031b;
  transition: all 0.5s;
}

.main-sec-title-wrapper {
  position: absolute;
  width: 100%;
  top: 60px;
  z-index: 2;
}

.cut01-title .main-sec-title-wrapper {
  background-color: #22222287;
  width: max-content;
  margin-right: 50px;
  padding: 14px 32px;
}
@media (min-width: 280px) and (max-width: 767px) {
  .main-banner-content {
    width: 100%;
  }
}

/* Media Queries */
@media screen and (max-width: 1020px) {
  .timeline__cover .timeline ul li .content {
    width: 41vw;
  }

  .timeline__cover .timeline ul li:nth-child(even) .content {
    left: calc(-41vw - 45px);
  }

  .timeline__cover .timeline ul li:nth-child(even) .content {
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
  }
}

@media screen and (max-width: 800px) {
  #mainBanner::after {
    content: "";
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, #000, #260d0a);
    inset: 0;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
  }

  .writer-info-wrapper {
    bottom: 120px;
  }

  .main-title-wrapper {
    position: relative;
    z-index: 99;
  }

  .cut01-title h2 {
    position: unset;
    transform: unset;
    text-align: center;
    margin-top: 0 !important;
    font-size: 24px;
  }

  .cut02-title h2 {
    position: unset;
    transform: unset;
    text-align: center;
    margin-top: 0 !important;
    font-size: 24px;
  }

  .cut03-title h2 {
    position: unset;
    transform: unset;
    text-align: center;
    margin-top: 0 !important;
    font-size: 24px;
  }

  .cut03-title {
    display: flex;
    flex-direction: column-reverse;
  }

  .chart03-container h3 {
    font-size: 19px;
  }

  .main-sec-title-wrapper {
    position: unset;
  }

  .main-idea-wrapper h2 {
    font-size: 18px;
    font-weight: 500;
    line-height: 30px;
    text-align: center;
  }

  .main-idea-wrapper {
    padding: 24px 0;
  }

  h2 {
    color: #1a1a1a;
    font-size: 20px;
    line-height: 30px;
  }

  .chart03-container {
    width: 100%;
  }

  .flex02 .project-card {
    width: 100%;
  }

  .project-card {
    width: 100% !important;
  }

  .timeline__cover .timeline ul li:nth-child(even) .content {
    justify-content: flex-start;
    align-items: flex-start;
  }

  .timeline__cover {
    padding: 32px 0;
  }

  .timeline__cover .timeline__title {
    text-align: left;
  }

  .timeline__cover .timeline {
    padding-top: 32px;
  }

  .timeline__cover .timeline ul li {
    margin-left: 48px !important;
  }

  .timeline__cover .timeline__title h2 {
    font-size: 32px;
    line-height: 44px;
    letter-spacing: 0.08px;
  }

  .timeline__cover .timeline ul li {
    margin-left: 20px;
  }

  .timeline__cover .timeline ul li .content {
    width: calc(100vw - 100px);
    transition: 0.2s;
  }

  .timeline__cover .timeline ul li .content p {
    min-height: 110px;
  }

  .timeline__cover .timeline ul li:nth-child(even) .content {
    left: 38px;
  }

  .timeline__cover .timeline ul li:nth-child(even) .content:before {
    left: -33px;
  }

  .timeline__cover .timeline ul li:nth-child(odd) .content {
    left: 38px;
  }

  .shared-with-div {
    min-width: 100%;
  }

  .shared-with-div p {
    font-size: 18px;
    position: relative;
    padding: 0 20px;
  }

  .shared-with-div p::before {
    position: absolute;
    right: 0;
    top: 17px;
  }

  .investigation-tags-container {
    max-width: 100%;
  }
}

/* Media Queries */

@media (max-width: 1199px) {
  .cus-container {
    max-width: 1000px;
  }
}

@media (min-width: 1200px) and (max-width: 1499px) {
  .cus-container {
    max-width: 1200px;
  }
}

@media (min-width: 1500px) {
  .cus-container {
    max-width: 1340px;
  }
}
@media (min-width: 1700px) {
 #mainBanner{min-height: 1000px;}
}

@media (min-width: 992px) and (max-width: 1198px) {
  /* .cus-container{
        max-width: 720px;
    } */
  #mainBanner {
    height: 700px;
  }

  #mainBanner::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  #mainBanner .cus-container {
    position: relative;
    z-index: 1;
  }

  .main-title-wrapper {
    max-width: 100%;
  }

  .main-content-wrapper {
    flex-direction: column;
  }

  .main-idea-wrapper {
    max-width: 100%;
    padding: 10px;
  }

  .main-content {
    max-width: 75%;
    width: 100%;
    margin: auto;
  }

  .social-links-wrapper.footer svg {
    filter: invert(1) grayscale(100%);
  }

  .side-bar-container {
    max-width: 75%;
    margin: auto;
  }

  .side-bar-img-div img {
    width: 220px;
  }

  .methodology-wrapper {
    flex-direction: column;
  }

  .methodology-box {
    max-width: 100%;
  }

  .shared-with-div {
    min-width: 100%;
  }

  .related-wrapper {
    flex-wrap: wrap;
  }

  .related-card {
    max-width: 47% !important;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 12px;
  }

  .social-links-wrapper {
    gap: 12px;
  }

  .charts-container p {
    min-width: 100%;
  }

  .mt-150 {
    margin-top: 75px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .cus-container {
    max-width: 90%;
  }

  #mainBanner {
    height: 700px;
  }

  #mainBanner::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  #mainBanner .cus-container {
    position: relative;
    z-index: 1;
  }

  .main-title-wrapper {
    max-width: 100%;
  }

  .main-content-wrapper {
    flex-direction: column;
  }

  .main-idea-wrapper {
    max-width: 100%;
  }

  .main-content {
    max-width: 75%;
    width: 100%;
    margin: auto;
  }

  .side-bar-container {
    max-width: 75%;
    margin: auto;
  }

  .side-bar-img-div img {
    width: 180px;
  }

  .methodology-wrapper {
    flex-direction: column;
  }

  .methodology-box {
    max-width: 100%;
  }

  .shared-with-div {
    min-width: 100%;
  }

  .related-wrapper {
    flex-direction: column;
  }

  .related-card {
    max-width: 100% !important;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 12px;
  }

  .social-links-wrapper {
    gap: 12px;
  }

  .charts-container p {
    min-width: 100%;
  }

  .mt-150 {
    margin-top: 75px;
  }
}

@media (min-width: 280px) and (max-width: 767px) {
  .image-container03 figure {
    width: 100%;
  }

  .image-container03 img {
    height: auto;
  }

  figure img {
    width: 100%;
  }

  .charts-locations-col {
    width: 100%;
  }

  .main-website02 .methodology-img-div {
    position: unset;
  }

  .main-title-wrapper {
    width: 100%;
  }

  .methodology-img-div {
    margin-top: 26px;
    padding: 10px;
    border-radius: 2px;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .main-title-wrapper h1 {
    font-size: 26px;
    line-height: 40px;
    margin-top: 30px;
  }

  .main-content p {
    text-align: right;
  }

  .row-container {
    flex-direction: column;
  }

  .image-container {
    flex-direction: column;
  }

  .image-container05 {
    flex-direction: column;
    padding: 0 20px;
  }

  .image-container05 img {
    width: 100%;
    margin-bottom: 10px;
  }

  .image-container04 {
    flex-direction: column;
    padding: 0 20px;
  }

  .image-container04 img {
    width: 100%;
    margin-bottom: 20px;
  }

  .image-container img {
    width: 100%;
    margin-bottom: 10px;
    height: auto;
  }

  .row-container p {
    width: 100%;
  }

  .row-container .row-image {
    width: 100%;
  }

  .image-container02 {
    flex-direction: column;
    padding: 0 25px;
  }

  .image-container02 img {
    width: 100%;
    margin-bottom: 20px;
  }

  .cus-container {
    max-width: 90% !important;
    padding: 0;
  }

  #mainBanner {
    height: 600px;
  }

  #mainBanner .cus-container {
    position: relative;
    z-index: 1;
  }

  .main-title-wrapper {
    max-width: 100%;
  }

  .main-content-wrapper {
    flex-direction: column;
  }

  .main-idea-wrapper {
    max-width: 100%;
  }

  .main-content {
    max-width: 90%;
    width: 100%;
    margin: auto;
    padding: 0 0;
  }

  .side-bar-container {
    max-width: 90%;
    margin: auto;
  }

  .side-bar-img-div img {
    width: 180px;
  }

  .methodology-wrapper {
    flex-direction: column;
  }

  .methodology-box {
    max-width: 100%;
  }

  .shared-with-div {
    min-width: 100%;
  }

  .related-wrapper {
    flex-direction: column;
  }

  .related-card {
    max-width: 100% !important;
  }

  .footer-top-content,
  .footer-bottom-content {
    flex-direction: column;
    gap: 12px;
  }

  .social-links-wrapper {
    gap: 12px;
  }

  .charts-container p {
    min-width: 100%;
  }

  .bottom-section {
    padding: 0;
  }

  .mt-150 {
    margin-top: 75px;
  }
}

/* End Media Queries */
.project-card:nth-child(4),
.project-card:nth-child(5) {
  background-color: #4a1515;
  /* Darker red background for last two cards */
}

.project-icon {
  font-size: 2.5rem;
  color: #e63946;
  /* Red color for icons */
  margin-bottom: 1.5rem;
  text-align: center;
}

.project-details {
  width: 100%;
  text-align: right;
}

.projects-container {
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  direction: rtl;
  justify-content: center;
  padding: 20px;
}

.project-card {
  background-color: #fff;
  border-radius: 0;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  width: 40%;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-icon {
  font-size: 2.5rem;
  color: #e63946;
  margin-bottom: 1rem;
  text-align: center;
}

.project-icon img {
  width: 50px;
  margin-bottom: -10px;
}

.flex-content {
  display: flex;
  align-items: center;
}

.project-card h3 {
  color: white;
  font-size: 18px;
  margin-bottom: 52px;
  text-align: center;
  font-weight: bold;
  line-height: 29px;
}

.project-details h4 {
  color: white;
  margin-bottom: 0;
  font-size: 17px;
  position: relative;
  display: inline-block;
  font-weight: bold;
  margin-left: 20px;
  width: 200px;
  width: 40%;
}

.project-details p {
  color: #ffffff;
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 500;
  width: 60%;
}

.info-link {
  display: inline-flex;
  align-items: center;
  color: white;
  text-decoration: none;
  margin-top: 30px;
  font-size: 0.9rem;
}

.info-link::before {
  content: "🔗";
  margin-left: 0.5rem;
  color: #e63946;
}

.card1 {
  background-color: #333333;
}

.card2 {
  background-color: #1a1a1a;
}

.card3 {
  background-color: #0d0d0d;
}

.card4 {
  background-color: #870214;
}

.card5 {
  background-color: #5a020d;
}

.table-container {
  max-width: 1000px;
  margin: auto;
  overflow-x: auto;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

thead {
  background-color: #800000;
  color: white;
}

thead th {
  padding: 12px;
  font-size: 16px;
}

tbody td {
  padding: 10px;
  font-size: 14px;
}

tbody tr:nth-child(even) {
  background-color: #f0f0f0;
}

.country {
  background-color: #2d2d2d;
  color: white;
  font-weight: bold;
}

@media (max-width: 467px) {
  .col-row .row-cards {
    width: 100%;
  }
}

/* Add new hover effects */
.pin-all.active .circle {
  transform: scale(1.3);
  background-color: #ffffff;
}

.pin-all.active .country-name {
  opacity: 1;
}

.pin-all.active .content-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
  z-index: 9999;
}

/* Add tooltip arrow */
.content-tooltip::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 10px;
  border-style: solid;
  border-color: transparent transparent transparent white;
}

@media (max-width: 832px) {
  .map-container {
    transform: scale(0.8);
  }
}

@media (max-width: 578px) {
  .map-container {
    transform: scale(0.5);
  }
}

@media (max-width: 475px) {
  .map-container {
    transform: scale(0.4);
  }
}

/* Add responsive styles */
@media (max-width: 768px) {
  .scroll-content {
    width: 100%;
  }
  .main-title-wrapper {
    margin-top: 0;
    margin-right: 0;
  }
  .bottom-main-p-banner {
    width: 100%;
    text-align: center;
    position: unset;
    margin: 0;
    background-color: #1a1a1a;
  }
  figcaption {
    width: 100%;
  }
  .image-container-row {
    padding: 10px;
  }

  .chart01-container img {
    width: 100% !important;
  }
  .scroll-section h2,
  .scroll-section p {
    color: #f2f2f2;
    line-height: 40px;
  }

  .chart01-container p {
    text-align: left !important;
    color: #f2f2f2 !important;
    font-size: 10px !important;
    margin-bottom: 16px !important;
    margin-top: 18px !important;
  }

  .content-tooltip {
    width: 250px;
    font-size: 13px;
    right: auto;
    left: 50%;
    top: 100%;
    transform: translateX(-50%) translateY(10px);
  }

  .content-tooltip::before {
    left: 50%;
    top: -10px;
    transform: translateX(-50%);
    border-color: transparent transparent white transparent;
  }

  .pin-all.active .content-tooltip {
    transform: translateX(-50%) translateY(0);
  }
}

/* Update the circle class */
.circle {
  width: 15px;
  height: 15px;
  background-color: #ffffffbd;
  border-radius: 100%;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
  position: relative;
  z-index: 1;
}

/* Add pulse animation effect */
.circle::before,
.circle::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #ffffffbd;
  border-radius: 50%;
  top: 0;
  left: 0;
  animation: pulse 2s infinite;
}

.circle::after {
  animation-delay: 1s;
}

/* Define the pulse animation */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(2);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 0;
  }
}

/* Update active state for better visibility during pulse */
.pin-all.active .circle::before,
.pin-all.active .circle::after {
  animation-play-state: paused;
}

.pin-all.active .circle {
  transform: scale(1.3);
  background-color: #ffffff;
}

/* Add path hover styles */
path.donepaths {
  transition: fill 0.3s ease;
  cursor: pointer;
}

/* Create custom tooltip for paths */
.path-tooltip {
  position: fixed;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 10px 15px;
  border-radius: 4px;
  font-size: 16px;
  color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  direction: rtl;
  font-family: "Tajawal", sans-serif;
  min-width: 100px;
  text-align: center;
}

.path-tooltip.visible {
  opacity: 1;
  visibility: visible;
}

/* Style for the tooltip */
.path-tooltip {
  position: fixed;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 10px 15px;
  border-radius: 4px;
  font-size: 16px;
  color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  direction: rtl;
  font-family: "Tajawal", sans-serif;
  min-width: 100px;
  text-align: center;
}

/* Style for the paths */
[class*="donepaths"] {
  cursor: pointer !important;
  transition: fill 0.3s ease !important;
}

/* Ensure SVG is interactive */
svg {
  pointer-events: all !important;
}

/* ============================================================
   Infograph 1 — lottery money to settlement playgrounds
   #chart3-devided1
   ============================================================ */
.scroll-section #chart3-devided1.chart-container {
  background-color: transparent !important;
  width: min(1120px, 96%);
  padding: 0;
  border-radius: 0;
  align-items: stretch;
}

/* .scroll-section #chart3-devided1 p,
.scroll-section #chart3-devided1 h2,
.scroll-section #chart3-devided1 h3,
.scroll-section #chart3-devided1 h4,
.scroll-section #chart3-devided1 li,
.scroll-section #chart3-devided1 figcaption {
  color: inherit;
  margin: 0;
  text-align: inherit;
  font-size: inherit;
  line-height: inherit;
  width: auto;
  font-family: inherit;
} */

.ig1 {
  /* --ig1-bg: #141414; */
  --ig1-green: #16382f;
  --ig1-sidebar: #0c2c4a;
  --ig1-red: #c4332b;
  --ig1-orange: #e07030;
  --ig1-pink: #f0d6d2;
  --ig1-grey: #cfd3d3;
  --ig1-white: #f6f6f6;
  --ig1-text: #1a1a1a;
  --ig1-muted: #ececec;
  width: 100%;
  color: #f2f2f2;
  font-family: "Tajawal", sans-serif;
  background: var(--ig1-bg);
  border-radius: 14px;
  padding: 28px 22px 16px;
  box-sizing: border-box;
}

.ig1-row {
  width: 100%;
}

.ig1-arrow {
  width: 2px;
  height: 26px;
  margin: 6px auto 2px;
  background: #f8e9b0;
  position: relative;
}
#ig1-arrow-1{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 150px;
    margin-top: -100px;
}
#ig1-arrow-1 img{
  height: 200px;
}

.ig1-arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid #f8e9b0;
}

.ig1-arrow-sm {
  height: 18px;
  margin: 4px auto 2px;
}

.ig1-arrows-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  direction: ltr;
  width: 100%;
  margin: 4px 0 2px;
}

.ig1-citizens-split-arrow {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: -2px 0 4px;
  pointer-events: none;
}

.ig1-citizens-split-arrow img {
  display: block;
  width: 50%;
  max-width: 640px;
  height: auto;
  margin-top: 10px;
  margin-bottom: 10px;
}

.ig1-tab {
  background: var(--ig1-green);
  color: #fff;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
  font-size: 20px;
  line-height: 1.5;
  text-align: center;
  padding: 10px 16px;
  border-radius: 12px 12px 0 0;
}

.ig1-row-header {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 20px;
  align-items: center;
}

.ig1-title {
  font-family: "Tajawal-Bold", "Tajawal", sans-serif !important;
  font-size: 30px !important;
  line-height: 41px !important;
  margin-bottom: 23px !important;
  text-align: right !important;
}

.ig1-title-a {
  display: block;
  color: #e3563d;
}

.ig1-title-b {
  display: block;
  color: #e3563d;
}

.ig1-lead {
  color: #F8E9B0 !important;
  line-height: 32px !important;
  font-size: 20px !important;
  text-align: justify !important;
}

.ig1-membership {
  color: var(--ig1-text);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid black;
}

.ig1-membership-body {
  padding: 0;
}

.ig1-membership-item {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #FFF8EE;
}

.ig1-membership-item + .ig1-membership-item {
  border-top: 1px dashed #e3563d;
}

.ig1-membership-item p {
  font-size: 17px;
  line-height: 31px;
  color: var(--ig1-text);
}



.ig1-logo {
  width: 104px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.ig1-logo-el {
  width: 140px;
}

.ig1-row-citizens {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
}

.ig1-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #bccbd2;
  color: #223a2e;
  border-radius: 999px;
  padding: 8px 22px;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
  font-size: 15px;
  position: relative;
  z-index: 2;
}

.ig1-icon-md {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.ig1-icon-on-dark {
  filter: brightness(0) invert(1);
}

.ig1-citizen-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(72%, 100%);
  direction: ltr;
  position: relative;
  z-index: 1;
  column-gap: 20px;
  background-color: #fff8ee;
  border: 1px solid #c4a574;
  border-radius: 20px;
  margin-top: -22px;
  padding: 28px 36px 22px;
}

.ig1-citizen-action,
.ig1-citizen-mid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  direction: ltr;
}

.ig1-citizen-action p {
  font-size: 16px;
  line-height: 1.5;
  text-align: right;
  color: #223a2e;
  font-weight: 500;
  margin: 0;
  direction: rtl;
}

.ig1-citizen-mid {
  padding: 0 8px;
}

.ig1-row-orgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  direction: ltr;
  align-items: stretch;
}

.ig1-org-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.ig1-org-col .ig1-org {
  width: 100%;
}

.ig1-org {
  border-radius: 18px;
  padding: 18px 20px 16px;
  direction: ltr;
  min-height: 100%;
  box-sizing: border-box;
  isolation: isolate;
}

.ig1-org-mifal {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  align-items: center;
  background: #FFF8EE;
  color: var(--ig1-text);
  border: 1.5px solid #e07030;
}

.ig1-org-toto {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: #BCCBD2;
  color: var(--ig1-text);
  border: 1.5px solid #7d868c;
}

.ig1-org-logo {
  display: block;
  width: 110px;
  height: 110px;
  object-fit: contain;
  flex-shrink: 0;
}

.ig1-org-copy {
  direction: rtl;
  text-align: right;
  min-width: 0;
}

.ig1-org h4,
.ig1-org h5 {
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
  line-height: 1.45;
  margin: 0 0 8px;
  color: var(--ig1-green);
}

.ig1-org-mifal h4 {
  font-size: 18px;
  color: var(--ig1-green);
}

.ig1-org-mifal h4 span {
  color: var(--ig1-green);
  font-size: 16px;
}

.ig1-org-toto-brand {
  color: var(--ig1-red) !important;
  font-size: 28px !important;
  text-align: center;
  margin: 0 0 6px !important;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
}

.ig1-org-toto-body {
  display: grid;
  grid-template-columns: 1fr 100px;
  gap: 12px;
  align-items: center;
}

.ig1-org-toto h5 {
  font-size: 15px;
  color: var(--ig1-text);
  margin-bottom: 8px;
}

.ig1-org p,
.ig1-org li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ig1-text);
  margin: 0;
}

.ig1-org ul {
  margin: 0;
  padding: 0 18px 0 0;
  list-style: disc;
}

.ig1-org-toto li {
  margin: 0 0 6px;
  padding: 0;
  line-height: 1.5;
  border: 0;
}

.ig1-row-facilities {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
  color: var(--ig1-text);
  background: transparent;
}

.ig1-facilities-pill {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #16382f;
  color: #fff;
  border-radius: 999px;
  padding: 8px 28px;
  margin: 0;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  font-weight: 700;
}

.ig1-row-partners {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
  color: var(--ig1-text);
  margin-top: 30px;
}

.ig1-partners-pill {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #16382f;
  color: #fff;
  border-radius: 999px;
  padding: 8px 28px;
  margin: 0;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  font-weight: 700;
}

.ig1-partners-body {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  direction: ltr;
  background: #faf7f0;
  border-radius: 48px;
  margin-top: -22px;
  padding: 40px 8px 24px;
  column-gap: 0;
}

.ig1-partner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: right;
  direction: ltr;
  position: relative;
  padding: 8px 40px;
  box-sizing: border-box;
}

.ig1-partner + .ig1-partner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22%;
  bottom: 22%;
  width: 1.5px;
  background: #c4332b;
}

.ig1-partner-logo,
.ig1-partner .ig1-icon-md {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.ig1-partner p {
  font-size: 14px;
  line-height: 1.55;
  color: #1a1a1a;
  margin: 0;
  direction: rtl;
  text-align: right;
  max-width: 16em;
}

.ig1-facilities-body {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  width: 100%;
  padding: 36px 10px 16px;
  direction: ltr;
  background: #edf3f9;
  border-radius: 24px;
  margin-top: -22px;
}

.ig1-facility {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  direction: rtl;
}

.ig1-facility img {
  width: 100%;
  max-width: 150px;
  height: 108px;
  object-fit: contain;
  margin: 0;
}

.ig1-facility figcaption {
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
  color: var(--ig1-text);
  width: 100%;
  margin: 0;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
}

.ig1-remaining {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 270px);
  gap: 16px;
  align-items: stretch;
  direction: ltr;
  margin-top: 19px;
}

.ig1-remaining-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  direction: rtl;
}

.ig1-row-meaning {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 290px);
  gap: 14px;
  align-items: stretch;
  direction: ltr;
}

.ig1-meaning-main {
  display: flex;
  flex-direction: column;
  gap: 0;
  direction: rtl;
  min-width: 0;
}

.ig1-location {
  display: grid;
  grid-template-columns: minmax(120px, 0.85fr) minmax(0, 1.4fr) minmax(140px, 1fr);
  align-items: stretch;
  background: #f3ddd8;
  border: 1px solid #3a2a28;
  border-radius: 18px;
  overflow: hidden;
  padding: 0;
  direction: ltr;
  isolation: isolate;
  min-height: 210px;
  margin-top: 10px;
}

.ig1-location-edge {
  position: relative;
  margin: 0;
  min-height: 100%;
  overflow: hidden;
}

.ig1-map,
.ig1-settlement-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  margin: 0;
  display: block;
}

.ig1-location-edge--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #f3ddd8 0%, rgba(243, 221, 216, 0) 42%);
  pointer-events: none;
}

.ig1-location-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  direction: rtl;
  text-align: center;
  padding: 0;
  z-index: 1;
}
.ig1-loc-badge{
  font-size: 15px !important;
  line-height: 21px !important;
  width: 100%;
  color: #FFF8EE;
  text-align: center !important;
  border-radius: 10px !important;
}
.ig1-loc-kicker{
  margin-bottom: 0;
}

.ig1-loc-kicker {
  color: #d04d36 !important;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
  font-size: 16px !important;
  line-height: 1.5;
  margin: 0 !important;
  margin-top: 10px !important;
}

.ig1-loc-badge {
  background: #d04d36;
  color: #fff;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  padding: 10px 20px;
  border-radius: 999px;
  margin: 0;
  max-width: 100%;
  margin-bottom: 0 !important;
}

.ig1-location-usage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
  padding-top: 0;
  flex-direction: row-reverse;
}

.ig1-location-usage .ig1-icon-md {
  /* mix-blend-mode: screen; */
}

.ig1-location-usage p {
  color: #1a1a1a;
  font-size: 14px;
  line-height: 1.6;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
  margin: 0;
  text-align: right;
}

.ig1-ifa,
.ig1-fifa {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 16px;
  padding: 14px 16px;
  isolation: isolate;
}

.ig1-ifa {
  background: #ebeff8;
  color: var(--ig1-text);
  border: 1.5px solid #163a6b;
  margin-top: 10px;
}

.ig1-fifa {
  background: #cfe3cf;
  color: var(--ig1-text);
  border: 1.5px solid #16382f;
  margin-top: 10px;
}

.ig1-ifa p,
.ig1-fifa p {
  font-size: 15px;
  line-height: 1.65;
  color: #03245a;
  flex: 1;
  margin: 0;
  font-weight: bolder;
  text-align: center;
}

.ig1-ifa-logo {
  width: 72px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.ig1-ifa-sports {
  width: 200px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.ig1-fifa-logos {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.ig1-fifa-logo {
  width: 112px;
  height: auto;
  object-fit: contain;
  /* mix-blend-mode: screen; */
}

.ig1-uefa-logo {
  width: 78px;
  height: 78px;
  object-fit: contain;
  /* mix-blend-mode: screen; */
}

.ig1-sidebar {
  display: flex;
  flex-direction: column;
  background: #e7eef4;
  color: var(--ig1-text);
  border: 1px solid #b7cfe0;
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  direction: rtl;
  isolation: isolate;
  height: 100%;
}

.ig1-sidebar h4 {
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
  font-size: 18px;
  text-align: center;
  margin: 0;
  padding: 14px 12px;
  color: #fff;
  background: #0c2c4a;
}

.ig1-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 6px 14px 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-evenly;
}

.ig1-sidebar li {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  direction: ltr;
  padding: 12px 0;
  /* border-bottom: 1px dashed #7aa3c4; */
}

.ig1-sidebar li:last-child {
  border-bottom: 0;
}

.ig1-sidebar li img {
  width: 63px;
  height: 63px;
object-fit: contain;
  flex-shrink: 0;
  margin-top: 2px;
  /* mix-blend-mode: screen; */
}

.ig1-sidebar p {
  font-size: 12.5px;
  line-height: 1.7;
  color: #1a1a1a;
  margin: 0;
  direction: rtl;
  text-align: right;
}

.ig1-sources {
  margin-top: 22px !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
  color: #b8b8b8 !important;
  text-align: center !important;
}

@media (max-width: 991px) {
  .scroll-section #chart3-devided1.chart-container {
    width: 100%;
  }

  .ig1 {
    padding: 18px 12px 12px;
  }

  .ig1-title {
    font-size: 22px;
  }

  .ig1-row-header,
  .ig1-row-orgs,
  .ig1-row-meaning,
  .ig1-remaining,
  .ig1-partners-body {
    grid-template-columns: 1fr;
  }

  .ig1-facilities-body {
    grid-template-columns: repeat(2, 1fr);
  }

  .ig1-location {
    grid-template-columns: minmax(72px, 0.85fr) minmax(0, 1.4fr) minmax(84px, 1fr);
    min-height: 180px;
  }

  .ig1-location-copy {
    padding: 8px 6px;
    gap: 8px;
  }

  .ig1-loc-kicker {
    font-size: 12px !important;
    margin-top: 4px !important;
  }

  .ig1-loc-badge {
    font-size: 11px !important;
    line-height: 1.45 !important;
    padding: 7px 10px;
  }

  .ig1-location-usage {
    gap: 6px;
    margin-top: 2px;
  }

  .ig1-location-usage .ig1-icon-md {
    width: 32px;
    height: 32px;
  }

  .ig1-location-usage p {
    font-size: 11px;
    line-height: 1.45;
  }

  .ig1-ifa,
  .ig1-fifa {
    flex-direction: column;
    text-align: center;
  }

  .ig1-partner + .ig1-partner {
    padding-top: 14px;
    margin-top: 4px;
  }

  .ig1-partner + .ig1-partner::before {
    left: 18%;
    right: 18%;
    top: 0;
    bottom: auto;
    width: auto;
    height: 1.5px;
  }

  .ig1-partners-body {
    border-radius: 28px;
    padding: 36px 16px 18px;
  }

  .ig1-partners-pill {
    font-size: 14px;
    padding: 8px 16px;
  }

  .ig1-arrows-split {
    grid-template-columns: 1fr;
    height: 28px;
  }

  .ig1-arrows-split .ig1-arrow:last-child {
    display: none;
  }

  .ig1-citizens-split-arrow img {
    width: 36px;
    height: 32px;
    object-fit: cover;
    object-position: top center;
  }

  .ig1-org-mifal,
  .ig1-org-toto-body {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .ig1-org-copy {
    text-align: right;
  }

  .ig1-org-logo {
    width: 88px;
    height: 88px;
  }
}

@media (max-width: 575px) {
  .ig1-citizen-flow {
    grid-template-columns: 1fr;
    width: 100%;
    border-radius: 28px;
    padding: 28px 20px 18px;
    row-gap: 16px;
  }

  .ig1-facilities-body {
    grid-template-columns: 1fr 1fr;
  }

  .ig1-title {
    font-size: 20px;
  }

  .ig1-lead {
    font-size: 14px;
  }
}


/* ============================================================
   Infograph 2 + 3 — FIFA Forward / UEFA HatTrick
   ============================================================ */
.scroll-section .chart-container.ig-pair {
  background-color: transparent !important;
  width: min(1600px, 98%);
  padding: 0;
  gap: 16px;
  display: flex;
  flex-direction: column;
  direction: ltr;
  align-items: stretch;
}

.ig-pair-title,
.scroll-section .chart-container.ig-pair > .ig-pair-title {
  position: static !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  flex: 0 0 auto;
  width: 95%;
  margin: 0 0 24px !important;
  text-align: center !important;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif !important;
  font-size: 26px !important;
  font-weight: 700;
  line-height: 1.55 !important;
  color: #e3563d !important;
  direction: rtl;
}

.ig-pair-scroll,
.ig-pair-pin,
.ig-pair-viewport {
  width: 100%;
  height: auto;
  overflow: visible;
  position: static;
}

.ig-pair-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 16px;
  width: 100%;
  min-width: 0;
}

.scroll-section .ig-pair p,
.scroll-section .ig-pair h2,
.scroll-section .ig-pair h3,
.scroll-section .ig-pair h4,
.scroll-section .ig-pair h5,
.scroll-section .ig-pair li,
.scroll-section .ig-pair figcaption,
.scroll-section .ig-pair a {
  color: inherit;
  margin: 0;
  text-align: inherit;
  font-size: inherit;
  line-height: inherit;
  width: auto;
  font-family: inherit;
}

.ig2,
.ig3 {
  width: 50%;
  flex: 1 1 0;
  min-width: 0;
  border-radius: 14px;
  overflow: hidden;
  font-family: "Tajawal", sans-serif;
  direction: rtl;
}

.ig2-header,
.ig3-header {
  padding: 22px 22px 18px !important;
  min-height: 210px !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.ig2-header-titles h3,
.ig3-header-titles h3 {
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
  font-size: 26px;
  line-height: 1.35;
  color: #fff;
  text-align: center;
}

.ig2-sub,
.ig3-sub {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.6;
  color: #dbe4f0;
  text-align: center;
}

.ig2-intro,
.ig3-intro {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.75;
  color: #d7dee8;
  text-align: center;
}
.intro{
  color: #FFF8EE !important;
  font-weight: bold !important;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
  margin-bottom: 40px;

}

.ig2-beneficiary,
.ig3-beneficiary {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0);
  border-radius: 12px;
  padding: 8px 12px;
  grid-column: 1 / -1;
  max-width: none;
  justify-content: center;
}

.ig2-beneficiary p,
.ig3-beneficiary p {
  font-size: 12px;
  line-height: 1.5;
  color: #fff;
}

.ig2-logo-forward {
  width: 100px !important;
  height: 100px !important;
  object-fit: contain !important;
}

.ig2-logo-ifa,
.ig3-logo-ifa {
  width: 68px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.ig3-logo-uefa {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.ig2-header-top,
.ig3-header-top {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  gap: 14px 16px !important;
  align-items: center !important;
  direction: ltr !important;
}

.ig2-header-main,
.ig3-header-main {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  min-width: 0 !important;
}

.ig2-header-second,
.ig3-header-second {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 3px !important;
}

.ig2-header-second .ig2-sub,
.ig3-header-second .ig3-sub {
  margin: 0 !important;
  flex: 1 !important;
  min-width: 0 !important;
  text-align: start !important;
}

.ig2-beneficiary,
.ig3-beneficiary {
  grid-column: auto !important;
  max-width: none !important;
  flex-direction: row !important;
  flex-shrink: 0 !important;
  text-align: start !important;
  background: rgba(255, 255, 255, 0) !important;
  padding: 0 !important;
  width: 50% !important;
  gap: 0 !important;
}

.ig2-header-titles h3,
.ig3-header-titles h3 {
  font-size: 24px !important;
}

.ig2-intro,
.ig3-intro {
  margin-top: 6px !important;
}

.ig3-sub,
.ig3-intro {
  color: #e8efe9;
}

/* ---------- FIFA Forward ---------- */
.ig2 {
  --ig2-navy: #0e1a33;
  --ig2-blue: #1d4ed8;
  background: transparent;
  color: #1a1a1a;
}

.ig2-header {
  background: var(--ig2-navy);
}

.ig2-body {
  padding: 16px 14px 10px;
}

.ig2-funding {
  display: grid;
  grid-template-columns: minmax(160px, 0.85fr) minmax(0, 2.15fr);
  gap: 10px;
  align-items: stretch;
  direction: ltr;
}

.ig2-amount {
  background: #fff;
  border-radius: 8px;
  padding: 16px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  direction: rtl;
  box-shadow: 0 1px 3px rgba(14, 26, 51, 0.08);
}

.ig2-amount h4,
.ig2-where h4,
.ig2-flow h4,
.ig2-indirect h4,
.ig2-intl h4 {
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--ig2-navy);
}

.ig2-where h4 {
  text-align: center;
  color: #fff;
}

.ig2-where {
  direction: rtl;
}

.ig2-cycle {
  font-size: 13px;
  color: #334155;
  margin-bottom: 10px;
}

.ig2-amount-value {
  font-size: 18px;
  line-height: 1.5;
  color: var(--ig2-navy);
}

.ig2-amount-until {
  font-size: 13px !important;
  color: var(--ig2-navy) !important;
  margin: 0 0 2px !important;
  text-align: center !important;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif !important;
}

.ig2-amount-value strong {
  display: block;
  font-size: 52px;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
  color: var(--ig2-navy);
  line-height: 1.05;
}

.ig2-amount-note {
  margin-top: 8px;
  font-size: 13px;
  color: #334155;
}

.ig2-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.ig2-pillar {
  position: relative;
  background: #fff;
  border-radius: 8px;
  padding: 18px 12px 14px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(14, 26, 51, 0.08);
}

.ig2-pillar-num {
  position: absolute;
  top: 8px;
  inset-inline-start: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ig2-blue);
  color: #fff;
  font-size: 12px;
  line-height: 22px;
  text-align: center;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
}

.ig2-pillar img {
  width: 80px;
  height: 52px;
  object-fit: contain;
  margin: 0 auto 8px;
}

.ig2-pillar h5 {
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
  font-size: 14px;
  color: var(--ig2-navy);
  margin-bottom: 8px;
}

.ig2-pillar ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  text-align: right !important;
  width: 100% !important;
}

.ig2-pillar li {
  font-size: 12.5px !important;
  line-height: 1.55 !important;
  color: #334155 !important;
  font-family: "Tajawal", sans-serif !important;
  list-style: none !important;
  text-align: right !important;
  position: relative !important;
  padding-inline-start: 14px !important;
  margin: 0 !important;
}

.ig2-pillar li::before {
  content: "" !important;
  position: absolute !important;
  inset-inline-start: 0 !important;
  top: 0.55em !important;
  width: 5px !important;
  height: 5px !important;
  border-radius: 50% !important;
  background: #334155 !important;
}

.ig2-intl ul,
.ig2-flow-target ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ig2-intl li {
  font-size: 12.5px !important;
  line-height: 1.55 !important;
  color: #334155 !important;
  font-family: "Tajawal", sans-serif !important;
  list-style: disc !important;
}

.ig2-flow {
  margin-top: 16px;
  background: #ebeef6 !important;

  border-radius: 12px;
  padding: 16px 12px 18px;
  overflow: hidden;
}

.ig2-flow h4 {
  text-align: center !important;
  background: none !important;
  color: var(--ig2-navy) !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif !important;
}

.ig2-flow-track {
  direction: ltr;
  margin-top: 0;
}

.ig2-flow-track,
.ig3-flow-track {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 12px;
}

.ig2-flow-track {
  margin-top: 0;
}

.ig2-flow-step,
.ig3-flow-step {
  flex: 1;
  min-width: 0;
  background: #ffffff00;
  border-radius: 12px;
  padding: 10px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.ig2-flow-step img,
.ig3-flow-step img {
  width: 70%;
  height: auto;
  object-fit: contain;
}

.ig3-flow-step p {
  font-size: 11px;
  line-height: 1.4;
}

.ig2-flow-step p,
.ig3-flow-step p {
  font-size: 12px;
  line-height: 1.5;
  color: #1a1a1a;
}

.ig2-flow-step {
  background: #ebeff6 !important;
  border: 1.5px solid var(--ig2-navy) !important;
  box-shadow: none !important;
  border-radius: 10px !important;
  padding: 12px 8px !important;
}

.ig2-flow-step p {
  font-size: 11px !important;
  line-height: 1.45 !important;
  color: var(--ig2-navy) !important;
  text-align: center !important;
}

.ig2-flow-highlight,
.ig2-flow-target {
  background: #ebeff6 !important;
  color: var(--ig2-navy) !important;
  border: 1.5px solid var(--ig2-navy) !important;
  box-shadow: none !important;
}

.ig2-flow-target p,
.ig2-flow-target li,
.ig2-flow-examples {
  color: var(--ig2-navy) !important;
  font-size: 11px !important;
  line-height: 1.45 !important;
}

.ig2-flow-examples {
  font-size: 10px !important;
  color: var(--ig2-navy) !important;
}

.ig2-flow-arrow,
.ig3-flow-arrow {
  width: 22px;
  flex-shrink: 0;
  align-self: center;
  height: 2px;
  background: #1d4ed8;
  position: relative;
  margin: 0 4px;
}

.ig2-flow-arrow {
  width: 26px !important;
  height: 3px !important;
  background: var(--ig2-navy) !important;
  margin: 0 6px !important;
}

.ig2-flow-arrow::after,
.ig3-flow-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline-end: -1px;
  transform: translateY(-50%);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-inline-start: 7px solid #1d4ed8;
}

.ig2-flow-arrow::after {
  border-top-width: 6px !important;
  border-bottom-width: 6px !important;
  border-inline-start-width: 9px !important;
  border-inline-start-color: var(--ig2-navy) !important;
}

.ig2-split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: 14px;
  margin-top: 16px;
  direction: ltr;
  background: #f2f3f6 !important;
  border-radius: 12px;
  padding: 14px 12px;
  align-items: stretch;
}

.ig2-indirect {
  background: transparent !important;
  color: #0e1a33 !important;
  border-radius: 0;
  padding: 4px 4px 0;
  direction: rtl;
}

.ig2-indirect h4 {
  color: #0e1a33 !important;
  text-align: center;
}

.ig2-indirect-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.ig2-indirect figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.ig2-indirect img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.ig2-indirect figcaption {
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
  color: #0e1a33 !important;
  width: 100%;
  margin: 0;
}

.ig2-intl {
  background: #d6e4f5;
  border-radius: 10px;
  padding: 0 14px 12px;
  direction: rtl;
  border: 1px solid #8eb4e0;
  overflow: hidden;
}

.ig2-intl h4 {
  background: transparent !important;
  color: #0e1a33 !important;
  margin: 0 -14px 12px;
  padding: 10px 14px;
  text-align: center;
}

.ig2-intl p {
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 8px;
  color: var(--ig2-navy);
}

.ig2-intl-tms {
  font-family: "Tajawal-Bold", "Tajawal", sans-serif !important;
  font-size: 13px !important;
  color: #0e1a33 !important;
  margin: 0 0 6px !important;
  text-align: right !important;
}

.ig2-conclusion {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--ig2-navy);
  color: #fff;
  padding: 16px 18px;
  margin: 0;
  border-radius: 0;
  direction: ltr;
}

.ig2-conclusion > div {
  direction: rtl;
  text-align: right;
}

.ig2-conclusion img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
}

.ig2-conclusion h4 {
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
  font-size: 16px;
  margin-bottom: 6px;
  color: #fff;
}

.ig2-conclusion p {
  font-size: 13px;
  line-height: 1.7;
  color: #e8eef8;
}

.ig2-sources {
  padding: 10px 16px 14px;
  font-size: 11px;
  line-height: 1.7;
  color: #334155;
  text-align: center;
  background: #ebeef0;
}

.ig2-sources a {
  color: var(--ig2-navy);
}

.scroll-section .ig2-header-titles h3 {
  color: #fff !important;
  font-size: 26px !important;
  line-height: 1.35 !important;
  margin: 0 0 6px !important;
  text-align: center !important;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif !important;
  direction: rtl !important;
}

.scroll-section .ig2-sub {
  color: #dbe4f0 !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  margin: 0 !important;
  text-align: center !important;
  width: 60% !important;
}

.scroll-section .ig2-intro {
  color: #d7dee8 !important;
  font-size: 14px !important;
  line-height: 1.75 !important;
  margin: 6px 0 0 !important;
  text-align: center !important;
  font-weight: bold;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif !important;
}

.scroll-section .ig2-beneficiary p {
  color: #fff !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  text-align: center !important;
  width: 90% !important;
}

.scroll-section .ig2-amount h4 {
  color: #0e1a33 !important;
  font-size: 16px !important;
  margin: 0 0 10px !important;
  text-align: center !important;
}

.scroll-section .ig2-where h4 {
  color: #fff !important;
  font-size: 16px !important;
  margin: 0 0 10px !important;
  text-align: center !important;
}

.scroll-section .ig2-intl h4 {
  color: #0e1a33 !important;
  background: transparent !important;
  font-size: 16px !important;
  margin: 0 -14px 12px !important;
  padding: 10px 14px !important;
  text-align: center !important;
}

.scroll-section .ig2-flow h4 {
  color: #0e1a33 !important;
  background: none !important;
  font-size: 16px !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  text-align: center !important;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif !important;
}

.scroll-section .ig2-indirect h4 {
  color: #0e1a33 !important;
  font-size: 16px !important;
  margin: 0 0 10px !important;
  text-align: center !important;
}

.scroll-section .ig2-cycle,
.scroll-section .ig2-amount-note {
  color: #334155 !important;
  font-size: 13px !important;
  margin: 0 0 10px !important;
  text-align: center !important;
}

.scroll-section .ig2-amount-until {
  color: #0e1a33 !important;
  font-size: 13px !important;
  margin: 0 0 2px !important;
  text-align: center !important;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif !important;
}

.scroll-section .ig2-amount-note {
  margin: 8px 0 0 !important;
}

.scroll-section .ig2-amount-value {
  color: #0e1a33 !important;
  font-size: 18px !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  text-align: center !important;
}

.scroll-section .ig2-amount-value strong {
  display: block;
  color: #0e1a33 !important;
  font-size: 52px !important;
  line-height: 1.05 !important;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif !important;
}

.scroll-section .ig2-pillar h5 {
  color: #0e1a33 !important;
  font-size: 14px !important;
  margin: 0 0 8px !important;
  text-align: center !important;
}

.scroll-section .ig2-pillar li {
  color: #334155 !important;
  font-size: 12.5px !important;
  line-height: 1.55 !important;
  margin: 0 !important;
  text-align: right !important;
  list-style: none !important;
  position: relative !important;
  padding-inline-start: 14px !important;
}

.scroll-section .ig2-pillar li::before {
  content: "" !important;
  position: absolute !important;
  inset-inline-start: 0 !important;
  top: 0.55em !important;
  width: 5px !important;
  height: 5px !important;
  border-radius: 50% !important;
  background: #334155 !important;
}

.scroll-section .ig2-intl li {
  color: #334155 !important;
  font-size: 12.5px !important;
  line-height: 1.55 !important;
  margin: 0 !important;
  text-align: right !important;
}

.scroll-section .ig2-intl p {
  color: #0e1a33 !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
  margin: 0 0 8px !important;
  text-align: right !important;
}

.scroll-section .ig2-flow-step p {
  color: #0e1a33 !important;
  font-size: 11px !important;
  line-height: 1.45 !important;
  margin: 0 !important;
  text-align: center !important;
}

.scroll-section .ig2-flow-examples {
  color: #334155 !important;
  font-size: 10px !important;
  line-height: 1.45 !important;
  margin: 4px 0 0 !important;
  text-align: center !important;
}

.scroll-section .ig2-indirect figcaption {
  color: #0e1a33 !important;
  font-size: 11px !important;
  line-height: 1.45 !important;
  margin: 0 !important;
  text-align: center !important;
}

.scroll-section .ig2-conclusion h4 {
  color: #fff !important;
  font-size: 16px !important;
  margin: 0 0 6px !important;
}

.scroll-section .ig2-conclusion p {
  color: #e8eef8 !important;
  font-size: 13px !important;
  line-height: 1.7 !important;
  margin: 0 !important;
}

.scroll-section .ig2-sources {
  color: #334155 !important;
  font-size: 11px !important;
  line-height: 1.7 !important;
  margin: 0 !important;
  text-align: center !important;
}

.scroll-section .ig2-sources a {
  color: #0e1a33 !important;
}

/* ---------- UEFA HatTrick ---------- */
.ig3 {
  --ig3-green: #223A2E;
  --ig3-num: #D04D36;
  background: transparent;
  color: #223A2E;
}

.ig3-header {
  background: var(--ig3-green);
}

.ig3-body {
  padding: 16px 14px 10px;
}

.ig3-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: 12px;
  align-items: stretch;
}

.ig3-main {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.ig3-top-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: 8px;
  align-items: stretch;
}

.ig3-where {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ig3-where h4,
.ig3-share h4,
.ig3-dist h4,
.ig3-flow h4,
.ig3-question h4,
.ig3-covid h4 {
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--ig3-green);
  text-align: center;
}

.ig3-where h4,
.ig3-dist h4 {
  color: #fff;
}

.ig3-cycles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  flex: 1;
}

.ig3-cycle {
  background: #EAF6F6;
  border-radius: 12px;
  padding: 12px 6px 10px;
  text-align: center;
}

.ig3-cycle p {
  font-size: 11px;
  line-height: 1.45;
  color: var(--ig3-green);
}

.ig3-cycle-name {
  display: block !important;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
  margin: 0 0 2px !important;
  color: var(--ig3-green) !important;
  text-align: center !important;
}

.ig3-cycle-dates {
  display: block !important;
  font-size: 11px !important;
  line-height: 1.3 !important;
  margin: 0 0 8px !important;
  color: var(--ig3-green) !important;
  text-align: center !important;
}

.ig3-num {
  margin: 8px 0 !important;
  color: var(--ig3-num) !important;
  font-size: 12px !important;
  font-family: "Tajawal", sans-serif !important;
  text-align: center !important;
  margin-top: 10px !important;
}

.ig3-num strong,
.ig3-dist-amount strong,
.ig3-total-num strong,
.ig3-covid p strong {
  display: inline;
  font-size: inherit;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
  color: var(--ig3-num);
}

.ig3-num strong {
  display: block;
  font-size: 26px;
  line-height: 1.1;
  margin-bottom: 2px;
}

.ig3-cycle img {
  width: 100%;
  height: auto;
  object-fit: contain;
  margin: 4px auto 0;
}

.ig3-share {
  background: #EAF6F6;
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ig3-share-num {
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
  font-size: 56px;
  line-height: 1;
  color: var(--ig3-num);
  margin: 6px 0 4px;
}

.ig3-share-until {
  display: block !important;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif !important;
  font-size: 14px !important;
  color: var(--ig3-num) !important;
  margin: 4px 0 0 !important;
  text-align: center !important;
}

.ig3-share-title,
.ig3-share-dates {
  display: block !important;
  text-align: center !important;
}

.ig3-share-title {
  font-family: "Tajawal-Bold", "Tajawal", sans-serif !important;
  line-height: 1.35 !important;
  margin: 0 !important;
}

.ig3-share-dates {
  font-family: "Tajawal", sans-serif !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  margin: 2px 0 0 !important;
}

.ig3-share p:last-child {
  font-size: 12px;
  color: var(--ig3-green);
}

.ig3-dist {
  background: transparent;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ig3-dist-item {
  background: #EAF6F6 !important;
  border-radius: 14px !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: 76px minmax(0, 1fr) !important;
  align-items: stretch !important;
  margin-bottom: 8px !important;
  flex: 1 !important;
  min-height: 108px !important;
  overflow: hidden !important;
  direction: ltr !important;
}

.ig3-dist-item:last-child {
  margin-bottom: 0 !important;
  flex: 1.65 !important;
  min-height: 168px !important;
}

.ig3-dist-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px 8px !important;
}

.ig3-dist-icon img {
  width: 48px !important;
  height: 48px !important;
  object-fit: contain !important;
}

.ig3-dist-body {
  direction: rtl !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 6px !important;
  padding: 12px 14px 10px 10px !important;
  min-width: 0 !important;
}

.ig3-dist-title {
  font-family: "Tajawal-Bold", "Tajawal", sans-serif !important;
  font-size: 13.5px !important;
  line-height: 1.45 !important;
  color: var(--ig3-green) !important;
  text-align: center !important;
  padding-bottom: 12px !important;
}

.ig3-dist-desc,
.ig3-dist-item li,
.ig3-dist-unit {
  font-size: 12px !important;
  line-height: 1.5 !important;
  color: var(--ig3-green) !important;
  text-align: right !important;
}

.ig3-dist-title + .ig3-dist-desc {
  margin-top: 4px !important;
}

.ig3-dist-mid {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 8px !important;
}

.ig3-dist-bottom {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

.ig3-dist-copy {
  min-width: 0 !important;
  flex: 1 !important;
}

.ig3-dist-item ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 4px 0 0 !important;
}

.ig3-dist-item li {
  position: relative !important;
  padding-inline-start: 12px !important;
  text-align: right !important;
}

.ig3-dist-item li::before {
  content: "•" !important;
  position: absolute !important;
  inset-inline-start: 0 !important;
  top: 0 !important;
  color: var(--ig3-green) !important;
}

.ig3-dist-amount {
  display: flex !important;
  align-items: baseline !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  color: var(--ig3-green) !important;
  font-size: 13px !important;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif !important;
  white-space: nowrap !important;
}

.ig3-dist-amount strong {
  display: inline-block !important;
  font-size: 42px !important;
  line-height: 0.9 !important;
  color: var(--ig3-num) !important;
}

.ig3-dist-amount--stack {
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 0 !important;
  flex-shrink: 0 !important;
}

.ig3-dist-until {
  font-size: 12px !important;
  line-height: 1.2 !important;
  color: var(--ig3-num) !important;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif !important;
}

.ig3-dist-unit {
  font-family: "Tajawal-Bold", "Tajawal", sans-serif !important;
  text-align: right !important;
  margin: 0 !important;
}

.ig3-total {
  margin-top: 0;
  background: #EAF6F6;
  border-radius: 12px;
  padding: 12px 14px;
  text-align: center;
}

.ig3-total p {
  font-size: 14px !important;
  font-weight: bold !important; 
  font-family: "Tajawal-Bold", "Tajawal", sans-serif !important;
  color: var(--ig3-green) !important;
}

.ig3-total-num {
  margin-top: 4px;
  font-size: 16px;
  color: var(--ig3-green);
}

.ig3-total-num strong {
  font-size: 32px;
  margin: 0 6px;
}

.ig3-covid {
  margin-top: 0;
  background: #EAF6F6;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ig3-covid img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
}

.ig3-covid h4 {
  font-size: 15px;
  color: var(--ig3-num);
  margin-bottom: 4px;
  text-align: right;
}

.ig3-covid p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ig3-green);
}

.ig3-covid p strong {
  font-size: 22px;
}

.ig3-flow {
  margin-top: 14px;
  background: transparent;
  border-radius: 0;
  padding: 0;
  overflow: visible;
}

.ig3-flow h4 {
  background: var(--ig3-green);
  color: #fff;
  margin: 0 0 12px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 16px;
  text-align: center;
}

.ig3-flow-step {
  background: #ffffff00;
  border: 1px solid #c5d0c8;
}

.ig3-flow-step p {
  color: var(--ig3-green) !important;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif !important;
  font-size: 11px !important;
}

.ig3-flow-track {
  direction: ltr;
  background: #f3f5f2;
  border-radius: 14px;
  padding: 14px 10px;
  margin-top: 0;
}

.ig3-flow-arrow {
  background: var(--ig3-green);
}

.ig3-flow-arrow::after {
  border-inline-start-color: var(--ig3-green);
}

.ig3-footer-row {
  display: grid;
  grid-template-columns: 1fr !important;
  gap: 10px;
  margin-top: 14px;
  align-items: stretch;
}

.ig3-question,
.ig3-note {
  background: var(--ig3-green);
  color: #fff;
  border-radius: 14px;
  padding: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-height: 110px;
}

.ig3-question img,
.ig3-note img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  background: #fff;
  border-radius: 50%;
  padding: 6px;
  filter: none;
}

.ig3-question h4 {
  color: #fff;
  text-align: right;
  margin-bottom: 4px;
}

.ig3-question p,
.ig3-note p {
  font-size: 13px;
  line-height: 1.7;
  color: #eef4ee;
}

.ig3-sources {
  padding: 10px 16px 14px;
  font-size: 11px;
  line-height: 1.7;
  color: #d5ddd7;
  text-align: center;
  background: var(--ig3-green);
}

.ig3-sources a {
  color: #fff;
}

.scroll-section .ig3-header-titles h3 {
  color: #fff !important;
  font-size: 26px !important;
  line-height: 1.35 !important;
  margin: 0 0 6px !important;
  text-align: center !important;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif !important;
  direction: rtl !important;
}

.scroll-section .ig3-sub {
  color: #dbe8df !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  margin: 0 !important;
  text-align: center !important;
  width: 60% !important;
}

.scroll-section .ig3-intro {
  color: #e8efe9 !important;
  font-size: 14px !important;
  line-height: 1.75 !important;
  margin: 6px 0 0 !important;
  text-align: center !important;
  font-weight: bold;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif !important;
}

.scroll-section .ig3-beneficiary p {
  color: #fff !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  text-align: center !important;
  width: 90% !important;
}

.scroll-section .ig3-where h4,
.scroll-section .ig3-dist h4 {
  color: #fff !important;
  font-size: 16px !important;
  margin: 0 0 10px !important;
  text-align: center !important;
  font-weight: bold;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif !important;
}

.scroll-section .ig3-share h4 {
  color: #223A2E !important;
  font-size: 14px !important;
  margin: 0 0 10px !important;
  text-align: center !important;
}

.scroll-section .ig3-share-title,
.scroll-section .ig3-share-dates {
  display: block !important;
  color: #223A2E !important;
  text-align: center !important;
  width: auto !important;
}

.scroll-section .ig3-share-title {
  font-family: "Tajawal-Bold", "Tajawal", sans-serif !important;
  line-height: 1.35 !important;
  margin: 0 !important;
}

.scroll-section .ig3-share-dates {
  font-family: "Tajawal", sans-serif !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  margin: 2px 0 0 !important;
}

.scroll-section .ig3-flow h4 {
  color: #fff !important;
  background: #223A2E !important;
  font-size: 16px !important;
  margin: 0 0 12px !important;
  padding: 12px 16px !important;
  text-align: center !important;
  border-radius: 10px !important;
}

.scroll-section .ig3-question h4 {
  color: #fff !important;
  font-size: 14px !important;
  margin: 0 0 4px !important;
  text-align: right !important;
}

.scroll-section .ig3-covid h4 {
  color: #D04D36 !important;
  font-size: 15px !important;
  margin: 0 0 4px !important;
  text-align: right !important;
}

/* .scroll-section .ig3-cycle p,
.scroll-section .ig3-share p,
.scroll-section .ig3-dist-item p,
.scroll-section .ig3-dist-item li,
.scroll-section .ig3-total p,
.scroll-section .ig3-covid p,
.scroll-section .ig3-flow-step p,
.scroll-section .ig3-question p,
.scroll-section .ig3-note p {
  margin: 0 !important;
} */

.scroll-section .ig3-cycle-name {
  display: block !important;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
  margin: 0 0 2px !important;
  color: #223A2E !important;
  text-align: center !important;
}

.scroll-section .ig3-cycle-dates {
  display: block !important;
  font-size: 11px !important;
  line-height: 1.3 !important;
  margin: 0 0 8px !important;
  color: #223A2E !important;
  text-align: center !important;
}

.scroll-section .ig3-dist-title {
  font-family: "Tajawal-Bold", "Tajawal", sans-serif !important;
  font-size: 13.5px !important;
  line-height: 1.45 !important;
  color: #223A2E !important;
  text-align: center !important;
  padding-bottom: 12px !important;
}

.scroll-section .ig3-dist-desc,
.scroll-section .ig3-dist-item li,
.scroll-section .ig3-dist-unit {
  font-size: 12px !important;
  line-height: 1.5 !important;
  color: #223A2E !important;
  text-align: right !important;
}

.scroll-section .ig3-dist-amount {
  color: #223A2E !important;
  font-size: 13px !important;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif !important;
}

.scroll-section .ig3-dist-amount strong {
  display: inline-block !important;
  font-size: 42px !important;
  line-height: 0.9 !important;
  color: #D04D36 !important;
}

.scroll-section .ig3-dist-until {
  font-size: 12px !important;
  color: #D04D36 !important;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif !important;
}

.scroll-section .ig3-share-num {
  color: #D04D36 !important;
  font-size: 56px !important;
  line-height: 1 !important;
  margin: 6px 0 4px !important;
  text-align: center !important;
}

.scroll-section .ig3-share-until {
  display: block !important;
  color: #D04D36 !important;
  font-size: 14px !important;
  margin: 4px 0 0 !important;
  text-align: center !important;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif !important;
}

.scroll-section .ig3-num {
  color: #D04D36 !important;
  margin: 8px 0 !important;
  text-align: center !important;
}

.scroll-section .ig3-num strong,
.scroll-section .ig3-dist-amount strong,
.scroll-section .ig3-dist-until,
.scroll-section .ig3-total-num strong,
.scroll-section .ig3-covid p strong {
  color: #D04D36 !important;
}

.scroll-section .ig3-sources {
  color: #d5ddd7 !important;
  margin: 0 !important;
  text-align: center !important;
}

.scroll-section .ig3-sources a {
  color: #fff !important;
}

@media (max-width: 991px) {
  .scroll-section .chart-container.ig-pair {
    flex-direction: column;
    width: 100%;
  }

  .ig-pair-scroll,
  .ig-pair-pin,
  .ig-pair-viewport {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    position: static;
    padding: 0;
    display: block;
    transform: none !important;
  }

  .ig-pair-row {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    transform: none !important;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .scroll-section .chart-container.chart3-devided-elemnts.ig-pair {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    transform: none !important;
  }

  .ig2,
  .ig3 {
    width: 100%;
    flex: none;
    height: auto;
    min-height: auto;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .ig-pair-title,
  .scroll-section .chart-container.ig-pair > .ig-pair-title {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    position: relative !important;
    height: auto !important;
    overflow: visible !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 16px !important;
    padding: 0 12px;
    font-size: 20px !important;
    line-height: 1.55 !important;
    color: #e3563d !important;
    z-index: 5;
  }

  .ig2-reveal,
  .ig3-reveal,
  .ig2-reveal-item,
  .ig3-reveal-item {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .ig2-funding,
  .ig2-split,
  .ig3-grid,
  .ig3-top-row,
  .ig3-footer-row {
    grid-template-columns: 1fr;
  }

  .ig2-header-top,
  .ig3-header-top {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    align-items: center !important;
    justify-content: flex-start !important;
    direction: rtl !important;
    width: 100% !important;
    gap: 14px !important;
    text-align: center !important;
  }

  .ig2-header-main,
  .ig3-header-main,
  .ig2-header-titles,
  .ig3-header-titles,
  .ig2-header-second,
  .ig3-header-second,
  .ig2-header-second .ig2-sub,
  .ig3-header-second .ig3-sub,
  .ig2-beneficiary,
  .ig3-beneficiary {
    width: 100% !important;
    max-width: 100% !important;
  }

  .ig2-header-main,
  .ig3-header-main {
    align-items: center !important;
  }

  .ig2-header-second,
  .ig3-header-second {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
  }

  .scroll-section .ig2-sub,
  .scroll-section .ig3-sub,
  .ig2-header-second .ig2-sub,
  .ig3-header-second .ig3-sub {
    width: 100% !important;
    text-align: center !important;
  }

  .ig2-beneficiary,
  .ig3-beneficiary {
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .ig2-flow-step img,
  .ig3-flow-step img {
    width: 50px;
    height: auto;
    object-fit: contain;
  }

  .ig2-indirect img {
    width: 50px;
    height: auto;
    object-fit: contain;
    background: transparent;
    border-radius: 0;
    padding: 0;
  }

  .ig3-cycle img {
    width: 50px;
    height: auto;
    object-fit: contain;
    margin: 4px auto 0;
  }

  .ig3-main {
    order: 1;
  }

  .ig3-dist {
    order: 2;
  }

  .ig2-pillars,
  .ig3-cycles,
  .ig2-indirect-row {
    grid-template-columns: 1fr;
  }

  .ig2-flow-track,
  .ig3-flow-track {
    flex-direction: column;
    align-items: center;
  }

  .ig2-flow-step,
  .ig3-flow-step {
    width: min(320px, 100%);
  }

  .ig2-flow-arrow,
  .ig3-flow-arrow {
    width: 2px;
    height: 22px;
    margin: 6px 0;
  }

  .ig2-flow-arrow::after,
  .ig3-flow-arrow::after {
    inset-inline-end: auto;
    left: 50%;
    top: auto;
    bottom: -1px;
    transform: translateX(-50%);
    border-inline-start: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid #1d4ed8;
    border-bottom: 0;
  }

  .ig2-flow-arrow::after {
    border-top-color: var(--ig2-navy) !important;
  }

  .ig3-flow-arrow::after {
    border-top-color: #223A2E;
  }

  .ig2-beneficiary,
  .ig3-beneficiary {
    max-width: none;
    justify-content: center;
  }

  .ig2-header-titles h3,
  .ig3-header-titles h3 {
    font-size: 22px;
  }

  .ig3-dist-item {
    grid-template-columns: 64px minmax(0, 1fr) !important;
    min-height: 0 !important;
    flex: none !important;
  }

  .ig3-dist-item:last-child {
    flex: none !important;
    min-height: 0 !important;
  }

  .ig3-dist-icon img {
    width: 40px !important;
    height: 40px !important;
  }

  .ig3-dist-amount strong {
    font-size: 34px !important;
  }
}

/* ============================================================
   Chart 1 — sports movement casualties (West Bank & Gaza)
   ============================================================ */
.chart1 {
  --chart1-gold: #e0c36a;
  --chart1-orange: #e85c32;
  --chart1-muted: rgba(242, 242, 242, 0.72);
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 24px 56px;
  box-sizing: border-box;
  background-image: url("../images/chart1-bk.jpg");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  overflow: hidden;
}

.chart1::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 10, 12, 0.42) 0%,
    rgba(8, 10, 12, 0.28) 45%,
    rgba(8, 10, 12, 0.55) 100%
  );
  pointer-events: none;
}

.chart1-inner {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  color: #f2f2f2;
  font-family: "Tajawal", sans-serif;
}

.chart1-bars {
  position: relative;
  width: 100%;
  height: min(62vh, 540px);
  min-height: 380px;
}

.chart1-bars canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.chart1-note {
  margin-top: 18px !important;
  text-align: right !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  color: var(--chart1-muted) !important;
}

.scroll-section .chart1 h3,
.scroll-section .chart1 p {
  color: inherit;
  margin: 0;
  text-align: inherit;
  font-size: inherit;
  line-height: inherit;
  width: auto;
  font-family: inherit;
}

.chart1-title,
.scroll-section .chart1 .chart1-title {
  text-align: center;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.55;
  font-size: 23px;
  margin: 0 0 30px;
  color: #fff;
  width: 100%;
}

.chart1-table {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.chart1-row {
  display: grid;
  grid-template-columns: minmax(150px, 1.15fr) repeat(4, minmax(0, 1fr)) minmax(140px, 1.25fr);
  align-items: center;
  column-gap: 8px;
  padding: 18px 0;
  /* border-bottom: 1px solid rgba(255, 255, 255, 0.18); */
}

.chart1-row-head {
  padding-bottom: 12px;
  /* border-bottom: 1px solid rgba(255, 255, 255, 0.28); */
}

.chart1-row-head .chart1-cell {
  font-size: 20px;
  font-weight: bold;
  color: #FFF8EE;
  text-align: center;
}

.chart1-total-head {
  color: var(--chart1-gold) !important;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
  font-size: 22px !important;
  font-weight: 700;
}

.chart1-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: #f2f2f2;
}

.chart1-icon {
  display: inline-flex;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  color: #fff;
}

.chart1-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.chart1-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
}

.chart1-num {
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.chart1-unit {
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
  font-size: 18px;
  color: #fff;
}

.chart1-sub {
  display: block;
  font-size: 12px;
  line-height: 1.55;
  color: var(--chart1-muted);
  max-width: 16em;
}

.chart1-total .chart1-num {
  font-size: clamp(26px, 3vw, 38px);
}

.chart1-empty {
  color: var(--chart1-muted);
  font-size: 22px;
}

.chart1-total {
  position: relative;
  padding-inline-end: 8px;
}

/* .chart1-total::before {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline-start: -10px;
  transform: translateY(-50%);
  width: 1px;
  height: 70%;
  min-height: 42px;
  background: rgba(255, 255, 255, 0.28);
} */

.chart1-row-head .chart1-total-head::before {
  display: none;
}

.chart1-row-martyrs .chart1-label,
.chart1-row-martyrs .chart1-icon,
.chart1-row-martyrs .chart1-total .chart1-num,
.chart1-row-martyrs .chart1-total .chart1-unit {
  color: var(--chart1-orange);
}

.chart1-row-martyrs .chart1-total .chart1-num {
  font-size: clamp(28px, 3.4vw, 42px);
}

.chart1-source {
  margin-top: 28px !important;
  text-align: left !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  color: var(--chart1-muted) !important;
  opacity: 1;
  position: absolute;
  left: 30px;
  bottom: 30px;
}

@media (max-width: 991px) {
  .chart1 {
    width: 100vw;
    margin-right: calc(50% - 50vw);
    min-height: auto;
    padding: 56px 18px 40px;
  }

  .chart1-title,
  .scroll-section .chart1 .chart1-title {
    margin-bottom: 32px;
    font-size: 20px;
  }

  .chart1-bars {
    height: 420px;
    min-height: 360px;
  }

  .chart1-note {
    margin-bottom: 36px !important;
  }

  .chart1-row {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "label label"
      "c1 c2"
      "c3 c4"
      "total total";
    row-gap: 14px;
    column-gap: 12px;
    padding: 20px 0;
  }

  .chart1-row-head {
    display: none;
  }

  .chart1-label {
    grid-area: label;
    font-size: 17px;
  }

  .chart1-row > .chart1-cell:nth-child(2) { grid-area: c1; }
  .chart1-row > .chart1-cell:nth-child(3) { grid-area: c2; }
  .chart1-row > .chart1-cell:nth-child(4) { grid-area: c3; }
  .chart1-row > .chart1-cell:nth-child(5) { grid-area: c4; }
  .chart1-row > .chart1-total,
  .chart1-row > .chart1-cell:nth-child(6) { grid-area: total; }

  .chart1-row > .chart1-cell:nth-child(2)::after,
  .chart1-row > .chart1-cell:nth-child(3)::after,
  .chart1-row > .chart1-cell:nth-child(4)::after,
  .chart1-row > .chart1-cell:nth-child(5)::after {
    content: attr(data-org);
    font-size: 12px;
    color: var(--chart1-muted);
    margin-top: 2px;
  }

  .chart1-total::before {
    display: none;
  }

  .chart1-total {
    padding: 10px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .chart1-source {
    text-align: right !important;
  }
}

/* ============================================================
   Map SVG comparison — UEFA regional conflicts
   ============================================================ */
.mapsvg-container {
  --mapsvg-gold: #e0c36a;
  --mapsvg-green: #1c3329;
  --mapsvg-orange: #e3563d;
  --mapsvg-line: rgba(168, 150, 210, 0.38);
  --mapsvg-line-accent: rgba(208, 77, 54, 0.55);
  width: min(1180px, 94%);
  margin: 48px auto 72px;
  padding: 28px 18px 36px;
  box-sizing: border-box;
  color: #f2f2f2;
  font-family: "Tajawal", sans-serif;
}

.scroll-section .mapsvg-container h3,
.scroll-section .mapsvg-container p {
  color: inherit;
  margin: 0;
  text-align: inherit;
  font-size: inherit;
  line-height: inherit;
  width: auto;
  font-family: inherit;
}

.mapsvg-title {
  text-align: center;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
  font-size: clamp(20px, 2.3vw, 30px);
  font-weight: 700;
  line-height: 1.55;
  color: var(--mapsvg-gold);
  margin-bottom: 14px;
  text-align: center !important;
  margin-bottom: 30px !important;
  font-size: 26px !important;

}

.mapsvg-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px !important;
  font-size: 15px;
  font-weight: 600;
  color: #f2f2f2;
}
#mapsvg-comparison{
  margin-top: -100vh;
}
.mapsvg-hint img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.mapsvg-table-wrap {
  width: 100%;
  max-width: 100%;
  padding-bottom: 8px;
}

.mapsvg-table {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mapsvg-head,
.mapsvg-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(120px, 0.78fr);
  column-gap: 12px;
  align-items: stretch;
  direction: ltr;
}

.mapsvg-map {
  font-family: inherit;
  background: transparent;
  border: unset;
  border-radius: 6px;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 8px 6px 12px;
  text-align: center;
  min-width: 0;
}

.mapsvg-map-figure {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 128px;
  width: 100%;
}

.mapsvg-map-figure img {
  display: block;
  max-height: 128px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.mapsvg-map-name {
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: #f2f2f2;
  direction: rtl;
  max-width: 16em;
}

.mapsvg-label-slot {
  min-height: 1px;
}

.mapsvg-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 6px 10px;
  border-radius: 4px;
  background: var(--mapsvg-green);
  color: #f7f7f7;
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
  direction: rtl;
}

.mapsvg-cell--accent {
  background: var(--mapsvg-orange);
}

.mapsvg-label {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: #f2f2f2;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
  font-size: 14px;
  line-height: 1.4;
  text-align: right;
  direction: rtl;
  padding-inline-end: 4px;
}

@media (max-width: 991px) {
  #mapsvg-comparison {
    margin-top: 0;
  }

  .mapsvg-hint {
    display: none;
  }
}

@media (max-width: 1100px) {
  .mapsvg-container {
    width: min(100%, 94%);
    padding: 20px 12px 28px;
  }

  .mapsvg-title {
    font-size: 22px !important;
  }

  .mapsvg-head,
  .mapsvg-row {
    grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(96px, 0.7fr);
    column-gap: 8px;
  }

  .mapsvg-map-figure {
    height: 104px;
  }

  .mapsvg-map-figure img {
    max-height: 104px;
  }

  .mapsvg-map-name,
  .mapsvg-cell,
  .mapsvg-label {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .mapsvg-container {
    width: 100%;
    margin: 0 auto 32px;
    padding: 16px 12px 28px;
  }

  .mapsvg-title {
    font-size: 18px !important;
    line-height: 1.5;
    margin-bottom: 16px !important;
    padding: 0 8px;
  }

  .mapsvg-hint {
    font-size: 13px;
    margin-bottom: 18px !important;
    padding: 0 8px;
    text-align: center;
    flex-wrap: wrap;
  }

  .mapsvg-table {
    gap: 14px;
  }

  .mapsvg-head {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 8px;
  }

  .mapsvg-label-slot {
    display: none;
  }

  .mapsvg-map {
    padding: 10px 8px;
    gap: 8px;
    min-height: 44px;
  }

  .mapsvg-map-figure {
    height: 72px;
  }

  .mapsvg-map-figure img {
    max-height: 72px;
  }

  .mapsvg-map-name {
    font-size: 12px;
    max-width: none;
  }

  .mapsvg-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    direction: rtl;
  }

  .mapsvg-label {
    order: -1;
    justify-content: center;
    text-align: center;
    font-size: 13px;
    color: var(--mapsvg-gold);
    padding: 4px 0 0;
  }

  .mapsvg-cell {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 0;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.65;
  }

  .mapsvg-cell::before {
    font-family: "Tajawal-Bold", "Tajawal", sans-serif;
    font-size: 11px;
    opacity: 0.85;
  }

  .mapsvg-cell[data-region="westbank"]::before {
    content: "الضفة الغربية";
  }

  .mapsvg-cell[data-region="gibraltar"]::before {
    content: "جبل طارق";
  }

  .mapsvg-cell[data-region="kosovo"]::before {
    content: "كوسوفو";
  }

  .mapsvg-cell[data-region="crimea"]::before {
    content: "القرم";
  }

  .scroll-section-06 .scroll-container {
    width: 92%;
    padding: 36px 12px 56px;
  }
}

@media (max-width: 480px) {
  .mapsvg-title {
    font-size: 16px !important;
  }

  .mapsvg-map-figure {
    height: 60px;
  }

  .mapsvg-map-figure img {
    max-height: 60px;
  }

  .mapsvg-map-name {
    font-size: 11px;
  }
}

/* ============================================================
   Chart 2 — settlement clubs map
   ============================================================ */
.chart2-map {
  --chart2-orange: #e85c32;
  --chart2-label: #b24d3e;
  --chart2-ink: #2b2b2b;
  --chart2-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background-color: #050505;
  background-image: url("../images/chart2-map/chart2-map-bk.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  font-family: "Tajawal", sans-serif;
  isolation: isolate;
}

.chart2-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 10, 0.58);
  pointer-events: none;
  z-index: 0;
}

.scroll-section .chart2-map p,
.scroll-section .chart2-map span,
.scroll-section .chart2-map a {
  color: inherit;
  margin: 0;
  text-align: inherit;
  font-size: inherit;
  line-height: inherit;
  width: auto;
  font-family: inherit;
}

.chart2-map-title,
.scroll-section .chart2-map-title {
  width: 100%;
  margin: 0;
  padding: 18px 16px 0;
  text-align: center;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.55;
  color: #fff;
}

.chart2-map-hint,
.scroll-section .chart2-map-hint {
  z-index: 3;
  top: clamp(16px, 3vh, 36px);
  left: clamp(16px, 3vw, 40px);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px !important;
  font-weight: 700;
  line-height: 1.4 !important;
  direction: rtl;
  pointer-events: none;
  width: 100%;
  margin: 8px 0 12px;
  text-align: center !important;
  justify-content: center;
  color: #e3563d !important;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
}

.chart2-map-hint img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  /* mix-blend-mode: screen; */
  flex-shrink: 0;
}

.chart2-map-stage,
.chart2-map-hint {
  transition: filter 0.55s var(--chart2-ease), transform 0.55s var(--chart2-ease);
}

.chart2-map.is-open .chart2-map-stage,
.chart2-map.is-open .chart2-map-hint {
  filter: blur(7px);
  transform: scale(1.02);
  pointer-events: none;
}

.chart2-map-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.chart2-map-canvas {
  position: absolute;
  height: 100%;
  width: max-content;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.chart2-map-canvas > img {
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
  mix-blend-mode: lighten;
  pointer-events: none;
  user-select: none;
}

.chart2-map-hotspot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: max(44px, 3.4%);
  aspect-ratio: 1;
  transform: translate(-50%, -58%);
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  z-index: 2;
}

.chart2-map-hotspot::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  border: 2px solid transparent;
  margin-top: 5px;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.chart2-map-hotspot:hover::after,
.chart2-map-hotspot:focus-visible::after {
  /* border-color: rgba(232, 92, 50, 0.95); */
  background: rgba(232, 92, 50, 0.18);
  transform: scale(1.12);
}

.chart2-map-hotspot:focus-visible {
  outline: none;
}

.chart2-map-hotspot.is-extra {
  width: 0.763%;
  height: 2.612%;
  min-width: 0;
  min-height: 0;
  aspect-ratio: auto;
  transform: translate(-50%, -92%);
  background: url("../images/chart2-map/pin.png") center / 100% 100% no-repeat;
  border-radius: 0;
}

.chart2-map-hotspot.is-extra::after {
  inset: -70% -90% -20%;
}

.chart2-map-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 18px;
  box-sizing: border-box;
  background: rgba(6, 8, 10, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s var(--chart2-ease), visibility 0.5s var(--chart2-ease);
}

.chart2-map.is-open .chart2-map-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.chart2-map-dialog {
  position: relative;
  width: min(1040px, 90vw);
  transform: translateY(28px) scale(0.94);
  opacity: 0;
  transition: transform 0.6s var(--chart2-ease), opacity 0.45s ease;
}

.chart2-map.is-open .chart2-map-dialog {
  transform: none;
  opacity: 1;
}

.chart2-card-close {
  position: absolute;
  top: -16px;
  left: -16px;
  z-index: 5;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: #2a2a2a;
  color: #f2f2f2;
  cursor: pointer;
  display: grid;
  place-items: center;
  transform: scale(0.7);
  opacity: 0;
  transition: background 0.2s ease, transform 0.45s 0.12s var(--chart2-ease), opacity 0.35s 0.12s ease;
}

.chart2-map.is-open .chart2-card-close {
  transform: none;
  opacity: 1;
}

.chart2-card-close svg {
  width: 16px;
  height: 16px;
}

.chart2-card-close:hover,
.chart2-card-close:focus-visible {
  background: var(--chart2-orange);
  outline: none;
}

.chart2-card {
  position: relative;
  width: 100%;
  max-height: min(82vh, 760px);
  overflow-y: auto;
  background: #141414;
  border: 1px solid rgba(227, 86, 61, 0.28);
  border-radius: 22px;
  direction: rtl;
  color: #f3f1ec;
}

.chart2-card-data {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: clamp(22px, 2.6vw, 32px) clamp(24px, 3vw, 36px) clamp(18px, 2.2vw, 26px);
  box-sizing: border-box;
  text-align: right;
  direction: rtl;
}

.chart2-card-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding-bottom: 16px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(227, 86, 61, 0.32);
  background-color: #ffffff00; 
}

.chart2-card-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 0;
  align-items: start;
}

.chart2-card-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 0;
}

.chart2-card-col-main {
  padding-inline-end: clamp(18px, 2.4vw, 32px);
  border-inline-end: 1px solid rgba(255, 255, 255, 0.1);
}

.chart2-card-col-side {
  padding-inline-start: clamp(18px, 2.4vw, 32px);
}

.chart2-card-field {
  display: grid;
  grid-template-columns: minmax(8.8rem, 38%) minmax(0, 1fr);
  column-gap: 14px;
  align-items: start;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateX(18px);
}

.chart2-card-col .chart2-card-field:last-child {
  border-bottom: 0;
  padding-bottom: 2px;
}

.chart2-card-field[hidden] {
  display: none;
}

.chart2-card[data-state="data"] .chart2-card-head,
.chart2-card[data-state="data"] .chart2-card-field {
  animation: chart2FieldIn 0.55s var(--chart2-ease) both;
}

.chart2-card[data-state="data"] .chart2-card-head {
  animation-delay: 0.08s;
}

.chart2-card[data-state="data"] .chart2-card-field {
  animation-delay: calc(0.12s + var(--i, 1) * 0.045s);
}

@keyframes chart2FieldIn {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.scroll-section .chart2-map .chart2-card-label {
  color: #e3563d;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
  white-space: normal;
}

.chart2-card-label::after {
  content: ":";
}

.scroll-section .chart2-map .chart2-card-value,
.scroll-section .chart2-map .chart2-card-type,
.scroll-section .chart2-map .chart2-card-source {
  color: #f3f1ec;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
  word-break: break-word;
}

.scroll-section .chart2-map .chart2-card-name {
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.scroll-section .chart2-map a.chart2-card-name:not(.is-plain) {
  text-decoration: underline;
  text-decoration-color: #e3563d;
  text-underline-offset: 4px;
}

.scroll-section .chart2-map .chart2-card-type {
  font-size: 14px;
  color: #c9c4bb;
}

.scroll-section .chart2-map a.chart2-card-type:not(.is-plain) {
  text-decoration: underline;
  text-decoration-color: #e3563d;
  text-underline-offset: 3px;
}

.scroll-section .chart2-map a.chart2-card-source {
  font-size: 14px;
  line-height: 1.65;
  color: #f3f1ec;
}

.scroll-section .chart2-map a.chart2-card-source:not(.is-plain) {
  text-decoration: underline;
  text-decoration-color: #e3563d;
  text-underline-offset: 3px;
}

.scroll-section .chart2-map a.chart2-card-name.is-plain,
.scroll-section .chart2-map a.chart2-card-type.is-plain,
.scroll-section .chart2-map a.chart2-card-source.is-plain,
.scroll-section .chart2-map a.is-plain {
  text-decoration: none;
  pointer-events: none;
  cursor: default;
}

.scroll-section .chart2-map a.chart2-card-location:not(.is-plain) {
  color: #e3563d;
  text-decoration-color: #e3563d;
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .chart2-map-hotspot::after,
  .chart2-map-overlay,
  .chart2-map-dialog,
  .chart2-card-close,
  .chart2-map-stage,
  .chart2-map-hint {
    transition: none;
  }

  .chart2-card[data-state="data"] .chart2-card-head,
  .chart2-card[data-state="data"] .chart2-card-field {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .chart2-map.is-open .chart2-map-stage,
  .chart2-map.is-open .chart2-map-hint {
    transform: none;
  }
}

@media (max-width: 1100px) {
  .chart2-map-canvas {
    transform: translateX(-34%);
  }
}

@media (max-width: 767px) {
  .chart2-map {
    height: 100svh;
    min-height: 520px;
  }

  .chart2-map-title,
  .scroll-section .chart2-map-title {
    font-size: 18px;
    padding: 12px 16px 0;
  }

  .chart2-map-hint,
  .scroll-section .chart2-map-hint {
    top: 12px;
    left: 12px;
    right: 12px;
    font-size: 13px !important;
    max-width: calc(100% - 24px);
    margin: 6px 0 10px;
  }

  .chart2-map-hint img {
    width: 22px;
    height: 22px;
  }

  .chart2-map-canvas {
    transform: translateX(-33%);
  }

  .chart2-map-hotspot {
    width: 44px;
  }

  .chart2-map-hotspot.is-extra {
    width: 0.763%;
    height: 2.612%;
  }

  .chart2-map-dialog {
    width: min(100%, 94vw);
  }

  .chart2-card-close {
    top: -10px;
    left: -8px;
  }

  .chart2-card {
    max-height: min(86svh, 720px);
    overflow-y: auto;
  }

  .chart2-card-data {
    padding: 18px 16px 20px;
    gap: 8px;
  }

  .chart2-card-head {
    padding-bottom: 12px;
  }

  .chart2-card-cols {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .chart2-card-col-main {
    padding-inline-end: 0;
    border-inline-end: 0;
  }

  .chart2-card-col-side {
    padding-inline-start: 0;
  }

  .chart2-card-col .chart2-card-field:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 10px;
  }

  .chart2-card-col-side .chart2-card-field:last-child {
    border-bottom: 0;
    padding-bottom: 2px;
  }

  .chart2-card-field {
    grid-template-columns: minmax(7.5rem, 36%) minmax(0, 1fr);
    column-gap: 10px;
    padding: 10px 0;
  }

  .chart2-card-source {
    font-size: 12px;
    word-break: break-word;
  }
}

@media (max-width: 480px) {
  .chart2-map-canvas {
    height: 118%;
    top: -8%;
    transform: translateX(-32.5%);
  }
}

/* ============================================================
   Map + distance heatmap
   ============================================================ */
.map-and-chart-container {
  --map-heat-accent: #e3563d;
  --map-heat-teal: #5bab9c;
  --map-heat-ink: #fff8ee;
  --map-pin-ease: cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  position: relative;
  z-index: 2;
  width: 80%;
  margin: 0 auto;
  padding: 18px 0 28px;
  box-sizing: border-box;
  background: transparent;
}

.map-and-chart-title,
.scroll-section .map-and-chart-title {
  width: 100%;
  margin: 0;
  text-align: center;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.55;
  color: #fff;
}

.map-and-chart-hint,
.scroll-section .map-and-chart-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: -6px 0 0;
  color: #e3563d !important;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
  font-size: 15px !important;
  font-weight: 700;
  line-height: 1.4 !important;
  text-align: center !important;
  direction: rtl;
}

.map-and-chart-hint img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.map-and-chart-map {
  width: min(240px, 42%);
  margin: 0 auto;
}

.map-and-chart-map-stage {
  position: relative;
  width: 100%;
  margin: 0 auto;
  line-height: 0;
  overflow: visible;
}

.map-and-chart-map-stage img {
  display: block;
  width: 100%;
  height: auto !important;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.38;
  pointer-events: none;
}

.map-pin-hotspot {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  width: 9.4%;
  aspect-ratio: 0.78;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translate(-50%, -14%) scale(1);
  transform-origin: 50% 88%;
  cursor: pointer;
  z-index: 2;
  color: #fff;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
  font-size: clamp(8px, 0.7vw, 11px);
  font-weight: 700;
  line-height: 1;
  opacity: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.28));
  transition:
    transform 0.42s var(--map-pin-ease),
    filter 0.35s ease,
    z-index 0s linear 0.05s;
}

.map-pin-glyph {
  position: absolute;
  left: 50%;
  top: 6%;
  width: 84%;
  aspect-ratio: 1;
  background: var(--pin-color);
  border-radius: 50% 50% 50% 0;
  transform: translateX(-50%) rotate(-45deg);
  box-sizing: border-box;
  transition: box-shadow 0.35s ease;
}

.map-pin-label {
  position: absolute;
  left: 50%;
  top: 32%;
  transform: translate(-50%, -50%);
  z-index: 1;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  padding-top: 10px;
}

.map-pin-hotspot:hover,
.map-pin-hotspot:focus-visible {
  transform: translate(-50%, -18%) scale(1.22);
  z-index: 4;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.38));
  transition-delay: 0s;
}

.map-pin-hotspot.is-active {
  transform: translate(-50%, -22%) scale(1.55);
  z-index: 5;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.45));
  transition-delay: 0s;
}

.map-pin-hotspot.is-active .map-pin-glyph {
  box-shadow: 0 0 0 3px rgba(255, 248, 238, 0.28);
}

.map-pin-hotspot:focus-visible {
  outline: none;
}

.map-and-chart-chart {
  width: 100%;
  height: auto;
  padding: 0;
  background: transparent;
  scroll-margin-top: 24px;
}

.map-heatmap {
  width: 100%;
  background: transparent;
  color: var(--map-heat-ink);
  font-family: "Tajawal", sans-serif;
}

.map-heatmap-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 10px;
}

.map-heatmap-search {
  position: relative;
  width: min(260px, 100%);
}

.map-heatmap-search input {
  width: 100%;
  height: 36px;
  padding: 0 34px 0 12px;
  border: 1px solid rgba(255, 248, 238, 0.28);
  border-radius: 6px;
  background: transparent;
  color: var(--map-heat-ink);
  font-family: "Tajawal", sans-serif;
  font-size: 14px;
  outline: none;
}

.map-heatmap-search input::placeholder {
  color: rgba(255, 248, 238, 0.55);
}

.map-heatmap-search input:focus {
  border-color: var(--map-heat-accent);
}

.map-heatmap-search::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  width: 12px;
  height: 12px;
  border: 1.5px solid rgba(255, 248, 238, 0.7);
  border-radius: 50%;
  transform: translateY(-60%);
  pointer-events: none;
}

.map-heatmap-search::after {
  content: "";
  position: absolute;
  top: 62%;
  right: 10px;
  width: 6px;
  height: 1.5px;
  background: rgba(255, 248, 238, 0.7);
  transform: rotate(-45deg);
  pointer-events: none;
}

.scroll-section .map-heatmap-caption,
.map-heatmap-caption {
  flex: 1 1 220px;
  margin: 0;
  color: rgba(255, 248, 238, 0.78);
  font-size: 13px;
  line-height: 1.45;
  min-height: 1.45em;
  text-align: right;
}

.map-heatmap-caption strong {
  color: var(--map-heat-ink);
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
}

.map-heatmap-scroll {
  width: 100%;
  overflow-x: auto;
  background: transparent;
}

.map-heatmap-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: transparent;
}

.map-heatmap-table thead {
  background: transparent;
  color: var(--map-heat-ink);
}

.map-heatmap-table th,
.map-heatmap-table td {
  border: 1px solid rgba(255, 248, 238, 0.08);
  text-align: center;
  vertical-align: middle;
}

.map-heatmap-table thead th {
  padding: 8px 4px;
  font-size: 11px;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
  font-weight: 700;
  line-height: 1.35;
  color: var(--map-heat-ink);
  background: transparent;
  cursor: pointer;
  user-select: none;
}

.map-heatmap-table thead th:first-child {
  cursor: default;
}

.map-heatmap-table thead th.is-sorted {
  color: var(--map-heat-accent);
}

.map-heatmap-table thead th.is-related {
  color: var(--map-heat-ink);
  box-shadow: inset 0 -3px 0 var(--map-heat-teal);
  background: rgba(255, 248, 238, 0.08);
}

.map-heatmap-table tbody tr,
.map-heatmap-table tbody tr:nth-child(even),
.map-heatmap-table tbody tr:nth-child(odd) {
  background-color: transparent;
  transition: opacity 0.35s ease;
}

.map-heatmap-table tbody td {
  padding: 6px 4px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  background: transparent;
  cursor: pointer;
  transition: box-shadow 0.35s ease;
}

.map-heatmap-table th:first-child,
.map-heatmap-table td:first-child {
  position: sticky;
  right: 0;
  left: auto;
  z-index: 1;
  width: 176px;
  min-width: 148px;
  max-width: 220px;
  text-align: right;
  padding-left: 8px;
  padding-right: 8px;
  font-family: "Tajawal-Bold", "Tajawal", sans-serif;
  font-size: 12px;
  line-height: 1.3;
  background: rgba(10, 16, 15, 0.55);
}

.map-heatmap-club {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  text-align: right;
}

.map-heatmap-num {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  line-height: 1;
  background: var(--pin-color, var(--map-heat-accent));
}

.map-heatmap-name {
  min-width: 0;
}

.map-heatmap-table td.is-empty {
  color: transparent;
  background: transparent;
}

.map-heatmap-table td.is-related {
  box-shadow: inset 0 0 0 2px rgba(255, 248, 238, 0.92);
}

.map-heatmap-table tbody tr.is-hidden {
  display: none;
}

.map-heatmap-table tbody tr.is-dimmed {
  opacity: 0.32;
}

.map-heatmap-table tbody tr.is-active {
  opacity: 1;
}

.map-heatmap-table tbody tr.is-active th:first-child {
  box-shadow: inset -3px 0 0 var(--pin-color, var(--map-heat-teal));
  background: rgba(255, 248, 238, 0.08);
}

.map-heatmap-table tbody th {
  color: var(--map-heat-ink) !important;
  font-weight: 700;
  background-color: rgba(10, 16, 15, 0.55) !important;
  cursor: pointer;
}

.map-heatmap-table tbody tr:hover th:first-child {
  color: var(--map-heat-accent);
}

@media (max-width: 991px) {
  .map-and-chart-container {
    width: 92%;
    padding: 12px 0 20px;
    gap: 14px;
  }

  .map-and-chart-title,
  .scroll-section .map-and-chart-title {
    font-size: 18px;
  }

  .map-and-chart-hint,
  .scroll-section .map-and-chart-hint {
    font-size: 13px !important;
  }

  .map-and-chart-map {
    width: min(200px, 58%);
  }

  .map-and-chart-chart {
    width: 100%;
    height: auto;
    padding: 0;
  }

  .map-heatmap-table {
    table-layout: auto;
  }

  .map-heatmap-table thead th {
    font-size: 10px;
    min-width: 72px;
  }

  .map-heatmap-table th:first-child,
  .map-heatmap-table td:first-child {
    min-width: 132px;
    font-size: 11px;
  }
}

/* ============================================================
   Facilities after 2023 — settlement sports projects
   ============================================================ */
.scroll-container:has(+ .fac-container) {
  padding-bottom: 0;
}

.scroll-container:has(+ .fac-container) > p:last-of-type {
  margin-bottom: 0;
}

.scroll-section h2.fac-section-title {
  margin-top: 20px !important;
  margin-bottom: 8px !important;
}

.fac-container {
  --fac-bg: #141414;
  --fac-card: #16382f;
  --fac-gold: #f8e9b0;
  --fac-orange: #e3563d;
  --fac-teal: #e07030;
  --fac-muted: #cfd3d3;
  --fac-ink: #fff8ee;
  --fac-ink-dim: rgba(255, 248, 238, 0.82);
  --fac-ink-soft: rgba(255, 248, 238, 0.7);
  --fac-ink-faint: rgba(255, 248, 238, 0.55);
  --fac-line: rgba(248, 233, 176, 0.22);
  --fac-line-strong: rgba(248, 233, 176, 0.4);
  position: relative;
  z-index: 2;
  width: min(1180px, 94%);
  margin: 24px auto 64px;
  padding: 8px 4vw 64px;
  box-sizing: border-box;
  color: var(--fac-ink);
  font-family: "Tajawal", sans-serif;
  margin-top: 0 !important;
}

.fac-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.scroll-section .fac-container h3,
.scroll-section .fac-container h4,
.scroll-section .fac-container p,
.scroll-section .fac-container span,
.scroll-section .fac-container strong,
.scroll-section .fac-container dt,
.scroll-section .fac-container dd,
.scroll-section .fac-container li,
.scroll-section .fac-container label,
.scroll-section .fac-container ul {
  color: inherit;
  margin: 0;
  text-align: inherit;
  font-size: inherit;
  line-height: inherit;
  width: auto;
  font-family: inherit;
  font-weight: inherit;
}

.fac-header {
  display: flex;
  flex-direction: column;
  gap: 22px;
  /* border-bottom: 1px solid var(--fac-line-strong); */
  padding-bottom: 34px;
  background: transparent !important;
  background-color: transparent !important;
  width: auto;
  height: auto;
}

.fac-lead,
.scroll-section .fac-container .fac-lead {
  margin: 0 !important;
  font-size: 19px !important;
  line-height: 1.9 !important;
  color: var(--fac-ink-dim) !important;
  text-align: start !important;
  text-wrap: pretty;
}

.fac-cats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.fac-cats li,
.scroll-section .fac-container .fac-cats li {
  margin: 0 !important;
  padding: 12px 14px;
  background: var(--fac-card);
  border: 1px solid var(--fac-line);
  font-size: 15px !important;
  line-height: 1.6 !important;
  font-weight: 700;
  color: var(--fac-ink) !important;
  text-align: start !important;
}

.fac-cats li[data-status="done"] {
  border-top: 3px solid var(--fac-gold);
}

.fac-cats li[data-status="build"] {
  border-top: 3px solid var(--fac-teal);
}

.fac-cats li[data-status="grant"] {
  border-top: 3px solid var(--fac-orange);
}

.fac-ministry,
.scroll-section .fac-container .fac-ministry {
  margin: 0 !important;
  padding: 18px 20px;
  background: var(--fac-card);
  border: 1px solid var(--fac-line);
  border-right: 3px solid var(--fac-gold);
  font-size: 16px !important;
  line-height: 1.9 !important;
  color: var(--fac-ink-dim) !important;
  text-align: start !important;
  text-wrap: pretty;
}

.fac-filters {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.fac-filter-row,
.fac-place-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.fac-filter-label,
.scroll-section .fac-container .fac-filter-label {
  font-size: 14px !important;
  color: var(--fac-ink-faint) !important;
  margin-left: 6px;
}

.fac-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fac-chip {
  font-family: "Tajawal", sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  padding: 9px 16px;
  border-radius: 999px;
  transition: background 0.28s ease, color 0.28s ease, border-color 0.28s ease, transform 0.22s ease, box-shadow 0.22s ease;
  background: transparent;
  color: var(--fac-ink-dim);
  border: 1px solid rgba(248, 233, 176, 0.3);
}

.fac-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(248, 233, 176, 0.55);
}

.fac-chip.is-active {
  color: var(--fac-bg);
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.fac-chip[data-status="all"].is-active {
  background: var(--fac-gold);
}

.fac-chip[data-status="done"].is-active {
  background: var(--fac-gold);
}

.fac-chip[data-status="build"].is-active {
  background: var(--fac-teal);
}

.fac-chip[data-status="grant"].is-active {
  background: var(--fac-orange);
}

.fac-chip[data-status="plan"].is-active {
  background: var(--fac-muted);
}

.fac-place {
  font-family: "Tajawal", sans-serif;
  font-size: 15px;
  padding: 9px 14px;
  background: var(--fac-card);
  color: var(--fac-ink);
  border: 1px solid var(--fac-line-strong);
  border-radius: 2px;
  max-width: 100%;
}

.fac-count,
.scroll-section .fac-container .fac-count {
  font-size: 14px !important;
  color: rgba(255, 248, 238, 0.5) !important;
  margin-inline-start: auto;
}

.fac-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  align-items: stretch;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.fac-grid.is-leaving {
  opacity: 0;
  transform: translateY(10px);
}

.fac-extra {
  grid-column: 1 / -1;
  margin-top: 4px;
  padding: 18px 20px;
  background: var(--fac-card);
  border: 1px solid rgba(227, 86, 61, 0.35);
  border-right: 3px solid var(--fac-orange);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fac-extra-title,
.scroll-section .fac-container .fac-extra-title {
  margin: 0 !important;
  font-size: 18px !important;
  font-weight: 800;
  line-height: 1.4 !important;
  color: var(--fac-orange) !important;
  text-align: start !important;
}

.fac-extra-lead,
.scroll-section .fac-container .fac-extra-lead {
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
  color: var(--fac-ink-dim) !important;
  text-align: start !important;
}

.fac-extra-toggle {
  align-self: start;
  font-family: "Tajawal", sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  padding: 8px 14px;
  background: var(--fac-orange);
  color: #fff8ee;
  border: 0;
  transition: transform 0.22s ease, filter 0.22s ease;
}

.fac-extra-toggle:hover,
.fac-extra-toggle:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.fac-empty,
.scroll-section .fac-container .fac-empty {
  grid-column: 1 / -1;
  font-size: 16px !important;
  color: var(--fac-ink-faint) !important;
  margin: 0 !important;
}

.fac-card {
  background: var(--fac-card);
  border: 1px solid rgba(248, 233, 176, 0.2);
  border-top: 3px solid var(--fac-gold);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  animation: fac-rise 0.42s ease both;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.fac-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.fac-card[data-status="done"] {
  border-top-color: var(--fac-gold);
}

.fac-card[data-status="build"] {
  border-top-color: var(--fac-teal);
}

.fac-card[data-status="grant"] {
  border-top-color: var(--fac-orange);
}

.fac-card[data-status="plan"] {
  border-top-color: var(--fac-muted);
}

.fac-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 16px 12px;
  flex: 1;
}

.fac-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.fac-badge {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid;
  padding: 4px 10px;
  border-radius: 6px;
  padding-top: 10px;

}

.fac-badge[data-status="done"] {
  color: var(--fac-gold);
  border-color: rgba(248, 233, 176, 0.33);
}

.fac-badge[data-status="build"] {
  color: var(--fac-teal);
  border-color: rgba(224, 112, 48, 0.4);
}

.fac-badge[data-status="grant"] {
  color: var(--fac-orange);
  border-color: rgba(227, 86, 61, 0.33);
}

.fac-badge[data-status="plan"] {
  color: var(--fac-muted);
  border-color: rgba(207, 211, 211, 0.4);
}

.fac-place-name,
.scroll-section .fac-container .fac-place-name {
  font-size: 14px !important;
  color: rgba(255, 248, 238, 0.6) !important;
}

.fac-card-title,
.scroll-section .fac-container .fac-card-title {
  margin: 0 !important;
  font-size: 18px !important;
  font-weight: 700;
  line-height: 1.4 !important;
  text-wrap: pretty;
  color: var(--fac-ink) !important;
  text-align: start !important;
}

.fac-details {
  display: none;
  flex-direction: column;
  gap: 14px;
}

.fac-card.is-open .fac-details,
.fac-reader .fac-details,
.fac-details.is-open {
  display: flex;
}

.fac-toggle {
  width: 100%;
  margin-top: auto;
  font-family: "Tajawal", sans-serif;
  text-align: left;
  padding: 12px 16px;
  background: rgba(248, 234, 176, 0);
  color: var(--fac-gold);
  border: 0;
  /* border-top: 1px solid rgba(248, 234, 176, 0); */
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease;
}

.fac-toggle:hover,
.fac-toggle:focus-visible {
  background: rgba(248, 233, 176, 0.16);
}

.fac-reader {
  --fac-card: #16382f;
  --fac-gold: #f8e9b0;
  --fac-orange: #e3563d;
  --fac-teal: #e07030;
  --fac-muted: #cfd3d3;
  --fac-ink: #fff8ee;
  --fac-ink-dim: rgba(255, 248, 238, 0.82);
  --fac-ink-faint: rgba(255, 248, 238, 0.55);
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: rgba(10, 16, 12, 0.72);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.fac-reader.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.fac-reader-panel {
  width: min(720px, 100%);
  max-height: 86vh;
  overflow: auto;
  background: var(--fac-card, #16382f);
  color: var(--fac-ink, #fff8ee);
  border: 1px solid rgba(248, 233, 176, 0.28);
  border-top: 4px solid var(--fac-gold, #f8e9b0);
  padding: 22px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: "Tajawal", sans-serif;
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}

.fac-reader.is-open .fac-reader-panel {
  opacity: 1;
  transform: none;
}

.fac-reader-panel[data-status="build"] {
  border-top-color: var(--fac-teal, #e07030);
}

.fac-reader-panel[data-status="grant"] {
  border-top-color: var(--fac-orange, #e3563d);
}

.fac-reader-panel[data-status="plan"] {
  border-top-color: var(--fac-muted, #cfd3d3);
}

.fac-reader-close {
  align-self: start;
  font-family: "Tajawal", sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 12px;
  background: rgba(248, 233, 176, 0.12);
  color: var(--fac-gold, #f8e9b0);
  border: 1px solid rgba(248, 233, 176, 0.28);
  transition: background 0.22s ease, transform 0.22s ease;
}

.fac-reader-close:hover,
.fac-reader-close:focus-visible {
  background: rgba(248, 233, 176, 0.22);
}

.fac-reader-title,
.fac-reader .fac-reader-title {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--fac-ink, #fff8ee);
}

.fac-toggle-close {
  display: none;
}

.fac-card.is-open .fac-toggle-open {
  display: none;
}

.fac-card.is-open .fac-toggle-close {
  display: inline;
}

.fac-detail,
.scroll-section .fac-container .fac-detail {
  margin: 0 !important;
  font-size: 16px !important;
  line-height: 1.85 !important;
  text-wrap: pretty;
  text-align: start !important;
  color: rgba(255, 248, 238, 0.82) !important;
}

.fac-spec {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 0;
  border-top: 1px solid rgba(248, 233, 176, 0.16);
  border-bottom: 1px solid rgba(248, 233, 176, 0.16);
}

.fac-spec p,
.scroll-section .fac-container .fac-spec p {
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  color: var(--fac-gold) !important;
  text-align: start !important;
}

.fac-closing,
.scroll-section .fac-container .fac-closing {
  margin: 0 !important;
  padding: 12px 14px;
  background: rgba(248, 233, 176, 0.08);
  border-right: 3px solid var(--fac-gold);
  font-size: 16px !important;
  line-height: 1.8 !important;
  color: var(--fac-ink) !important;
  text-align: start !important;
}

.fac-list {
  margin: 0;
  padding: 0 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fac-list li,
.scroll-section .fac-container .fac-list li {
  font-size: 16px !important;
  line-height: 1.7 !important;
  color: rgba(255, 248, 238, 0.78) !important;
}

.fac-sources {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--fac-ink-faint);
}

.fac-link,
.scroll-section .fac-container .fac-link,
.fac-reader .fac-link {
  color: var(--fac-gold) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.fac-link:hover,
.scroll-section .fac-container .fac-link:hover,
.fac-reader .fac-link:hover {
  color: var(--fac-ink) !important;
}

@keyframes fac-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fac-chip,
  .fac-card,
  .fac-grid,
  .fac-toggle,
  .fac-extra-toggle,
  .fac-reader,
  .fac-reader-panel {
    transition: none !important;
    animation: none !important;
  }

  .fac-grid.is-leaving,
  .fac-card:hover,
  .fac-chip:hover,
  .fac-chip.is-active {
    transform: none;
  }
}

@media (max-width: 720px) {
  .fac-container {
    width: 100%;
    padding: 8px 16px 48px;
    margin: 0 0 40px;
  }

  .fac-inner {
    gap: 28px;
  }

  .fac-cats {
    grid-template-columns: 1fr;
  }

  .fac-grid {
    grid-template-columns: 1fr;
  }

  .fac-count,
  .scroll-section .fac-container .fac-count {
    margin-inline-start: 0;
    width: 100%;
  }

  .fac-card-title,
  .scroll-section .fac-container .fac-card-title {
    font-size: 19px !important;
  }
}
