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

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

.embed-credit {
  font-size: 12px;
  margin: 14px 0;
  color: #6b6b6b;
  text-align: center;
}
.embed-credit a {
  color: #cb130b;
  text-decoration: unset;
}
body {
  font-family: "Tajawal";
}

h1 {
  font-family: "Tajawal-Bold";
  color: white;
}

/* ── Infographic 1: Meltwater-style yearly metrics ── */
.ig-metrics {
  --ig-overlay-rgb: 9, 9, 28;
  --ig-overlay-opacity: 0.72;
  isolation: isolate;
  position: relative;
  width: 100%;
  margin: 50px auto;
  padding: 0;
  background: #09091c url(../images/chart-bk.jpg) center / cover no-repeat;
  border-radius: 10px;
  overflow: hidden;
  max-width: 70%;
}
.ig-metrics .layar-chart {
  z-index: 0;
  pointer-events: none;
  background-color: rgb(9 9 28 / 90%);
  opacity: 1;
  border-radius: 10px;
}
.ig-metrics__head,
.ig-metrics__grid,
.ig-metrics figcaption {
  position: relative;
  z-index: 1;
}
.ig-metrics__head {
  padding: 22px 22px 6px;
  text-align: center;
}
.ig-metrics__head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  line-height: 1.4;
}
.ig-metrics__head p {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 400;
  color: rgb(255, 255, 255);
  text-align: center;
}
.ig-metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.ig-metric {
  padding: 22px 12px 26px;
  text-align: center;
}
.ig-metric:last-child {
  border-left: none;
}
.ig-metric__num {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.ig-metric__value {
  font-size: clamp(28px, 4.2vw, 40px);
  font-weight: 800;
  color: #cb130b;
  line-height: 1;
}
.ig-metric__unit {
  font-size: 14px;
  font-weight: 700;
  color: rgb(255 255 255 / 0.78);
}
.ig-metric__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
}
.ig-metric__delta {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #d8efe0;
  letter-spacing: 0.02em;
}
.ig-metrics figcaption {
  margin: 0;
  padding: 14px 18px 16px;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  text-align: center;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  color: rgb(255, 255, 255);
}

@media (max-width: 768px) {
  .ig-metrics__grid {
    grid-template-columns: 1fr 1fr;
  }
  .ig-metric {
    border-bottom: 1px solid rgb(255 255 255 / 0.08);
  }
  .ig-metric:nth-child(2n) {
    border-left: none;
  }
  .ig-metric:nth-child(n + 3) {
    border-bottom: none;
  }
  .ig-metric:last-child {
    border-left: none;
  }
}
