* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  font-family: "Tajawal", "Helvetica Neue", "Segoe UI", "Helvetica", "Arial",
    sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  font-size: 16px;
  line-height: 1.45;
}

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: hsla(0, 0%, 0%, 0.9);
  font-family: "Tajawal", Georgia, serif;
  font-weight: 400;
  word-wrap: break-word;
  font-kerning: normal;
  -ms-font-feature-settings: "kern", "liga", "clig", "calt";
  font-feature-settings: "kern", "liga", "clig", "calt", "kern";
}

/* Scroll margin for anchored elements */
[id] {
  scroll-margin-top: 8.7rem; /* rhythm(6) equivalent */
}

/* Video responsive */
video {
  max-width: 100%;
  height: auto;
}

/* Typography overrides from your config */
h1 {
  font-family: "Tajawal", sans-serif;
  margin-top: 2.9rem;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.1;
}

h2 {
  font-weight: 800;
  font-size: 2rem;
  line-height: 1.1;
  margin-top: 2.9rem; /* rhythm(2) */
}

h3,
h4,
h5,
h6 {
  margin-top: 2.9rem; /* rhythm(2) */
}

h4 {
  text-transform: uppercase;
}

h6 {
  font-style: italic;
}

small {
  font-size: 85%;
}

/* Links */
a {
  color: #000;
  text-decoration: none;
}

a:hover,
a:active {
  box-shadow: none;
}

/* Blockquotes */
blockquote {
  font-size: 1.2rem;
  line-height: 1.45;
  font-style: italic;
  padding-left: 1.1875rem; /* rhythm(13/16) */
  margin-left: -1.45rem; /* rhythm(-1) */
  border-left: 0.2725rem solid black;
}

blockquote > :last-of-type {
  margin-bottom: 0;
}

blockquote cite {
  font-size: 1rem;
  line-height: 1.45;
  color: hsla(0, 0%, 0%, 0.9);
  font-weight: 400;
}

blockquote cite:before {
  content: "— ";
}

/* Lists */
ul {
  list-style: disc;
  margin-left: 0;
}

ol {
  margin-left: 0;
}

/* Mark and ins */
mark,
ins {
  background: #007acc;
  color: white;
  padding: 0.09rem 0.18rem; /* rhythm(1/16) rhythm(1/8) */
  text-decoration: none;
}

/* Mobile styles */
@media only screen and (max-width: 480px) {
  ul,
  ol {
    margin-left: 1.45rem; /* rhythm(1) */
  }

  blockquote {
    margin-left: -1.09rem; /* rhythm(-3/4) */
    margin-right: 0;
    padding-left: 0.815rem; /* rhythm(9/16) */
  }
}

figure {
  margin-bottom: 1.5rem;
}

html[lang="en"] .article ul {
  margin-left: 1.4rem;
}

html[lang="ar"] .article ul {
  margin-right: 1.4rem;
}

/**
 * Scrollytelling CSS
 * @module styles/scrollytelling.css
 */
:root {
  --color-camo-dark: #3c5f7a;
  --color-camo-mid: #88a8b7;
  --color-camo-light: #c1d0d3;
  --color-orange: #ff5400;
  --color-accent-red: #892603;
}

/**
 * Parallax scrolling
 */
html.parallax {
  background: #333;
}

@media (orientation: landscape) {
  html.parallax {
    overscroll-behavior: contain;
    /*scroll-snap-type: y proximity;*/
    scroll-snap-type: y mandatory;
  }
}

/**
 * Investigations icon
 */
.investigation-icon .marker-body {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
}

.investigation-icon .marker-body.marker-align-left {
  border-left: 1px solid var(--color-orange);
}
.investigation-icon .marker-body.marker-align-right {
  border-right: 1px solid var(--color-orange);
}

.investigation-icon .marker-location {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.075rem;
  text-transform: uppercase;
  color: var(--color-camo-dark);
  background-color: var(--color-camo-mid);
}
.investigation-icon .marker-location span {
  padding-top: 0.5rem;
}

.investigation-icon .marker-name {
  width: 100%;
  color: var(--color-camo-dark);
  background-color: var(--color-camo-light);
  line-height: 1;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  text-align: center;
  padding: 0.75rem;
  padding-bottom: 0.5rem;
}

.investigation-icon .marker-square-container {
  width: 100%;
  flex: 1 1;
  display: flex;
  align-items: flex-end;
}
.marker-align-left .marker-square-container {
  justify-content: flex-start;
}
.marker-align-right .marker-square-container {
  justify-content: flex-end;
}
.investigation-icon .marker-square {
  width: 16px;
  height: 16px;
  background-color: var(--color-accent-red);
}

/**
 * Shipments icon
 */

.shipment-body {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 0.5rem;
}
.shipment-body.marker-align-right {
  flex-direction: row-reverse;
}
.shipment-body .marker-label {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
}
.shipment-body .marker-city,
.shipment-body .marker-count {
  background-color: var(--color-camo-light);
  color: black;
  font-weight: 600;
  padding: 0.25rem;
  padding-bottom: 0rem;
  white-space: nowrap;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.25);
}
.shipment-body .marker-count {
  font-weight: 900;
}

