:root {
  --cd-color-1: hsl(206, 21%, 24%);
  --cd-color-2: hsl(205, 38%, 89%);
  --cd-color-3: hsl(207, 10%, 55%);
  --cd-color-4: hsl(111, 51%, 60%);
  --cd-color-5: hsl(356, 53%, 49%);
  --cd-color-6: hsl(47, 85%, 61%);
  --cd-header-height: 200px;
}

@supports (--css: variables) {
  @media (min-width: 64rem) {
    :root {
      --cd-header-height: 300px;
    }
  }
}

.cd-main-header {
  height: var(--cd-header-height);
  background: var(--cd-color-1);
  color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.cd-main-header h1 {
  font-family: var(--font-secondary);
  color: inherit;
}

.cd-timeline {
  overflow: hidden;
  padding: var(--space-lg) 0;
  background-color: hsl(
    var(--cd-color-2-h),
    var(--cd-color-2-s),
    calc(var(--cd-color-2-l) * 1.05)
  );
  font-family: var(--font-primary);
}

.cd-timeline h2 {
  font-family: var(--font-secondary);
  font-weight: 700;
}

.cd-timeline__container {
  position: relative;
  padding: var(--space-md) 0;
}

.cd-timeline__container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  height: 100%;
  width: 4px;
  background: var(--cd-color-2);
}

@media (min-width: 64rem) {
  .cd-timeline__container::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

.cd-timeline__block {
  display: flex;
  position: relative;
  z-index: 1;
  margin-bottom: var(--space-lg);
}

.cd-timeline__block:last-child {
  margin-bottom: 0;
}

@media (min-width: 64rem) {
  .cd-timeline__block:nth-child(even) {
    flex-direction: row-reverse;
  }
}

.cd-timeline__img {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow:
    0 0 0 4px var(--color-white),
    inset 0 2px 0 rgba(0, 0, 0, 0.08),
    0 3px 0 4px rgba(0, 0, 0, 0.05);
}

.cd-timeline__img img {
  width: 24px;
  height: 24px;
}

@media (min-width: 64rem) {
  .cd-timeline__img {
    width: 60px;
    height: 60px;
    order: 1;
    margin-left: calc(5% - 30px);
    will-change: transform;
  }

  html[dir="rtl"] .cd-timeline__img {
    margin-right: calc(5% - 40px);
    margin-left: unset;
  }

  .cd-timeline__block:nth-child(even) .cd-timeline__img {
    margin-right: calc(5% - 40px);
  }

  html[dir="rtl"] .cd-timeline__block:nth-child(even) .cd-timeline__img {
    margin-left: calc(5% - 40px);
    margin-right: unset;
  }
}

.cd-timeline__img--picture {
  background-color: var(--cd-color-4);
}
.cd-timeline__img--movie {
  background-color: var(--cd-color-5);
}
.cd-timeline__img--location {
  background-color: var(--cd-color-6);
}

.cd-timeline__content {
  flex-grow: 1;
  position: relative;
  margin-left: var(--space-md);
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: 0 3px 0 var(--cd-color-2);
}

html[dir="rtl"] .cd-timeline__content {
  margin-right: var(--space-md);
  margin-left: unset;
}

.cd-timeline__content::before {
  content: "";
  position: absolute;
  top: 16px;
  right: 100%;
  border: 7px solid transparent;
  border-right-color: var(--color-white);
}

.cd-timeline__content h2 {
  color: var(--cd-color-1);
}

@media (min-width: 64rem) {
  .cd-timeline__content {
    width: 45%;
    flex-grow: 0;
    will-change: transform;
    margin: 0;
    font-size: 0.8em;
    --line-height-multiplier: 1.2;
  }

  .cd-timeline__content::before {
    top: 24px;
  }

  .cd-timeline__block:nth-child(odd) .cd-timeline__content::before {
    right: auto;
    left: 100%;
    border-left-color: var(--color-white);
  }
}

.cd-timeline__date {
  color: hsla(
    var(--cd-color-3-h),
    var(--cd-color-3-s),
    var(--cd-color-3-l),
    0.7
  );
}

@media (min-width: 64rem) {
  .cd-timeline__date {
    position: absolute;
    width: 100%;
    left: 120%;
    top: 20px;
  }

  .cd-timeline__block:nth-child(even) .cd-timeline__date {
    left: auto;
    right: 120%;
    text-align: right;
  }

  html[dir="rtl"] .cd-timeline__block:nth-child(even) .cd-timeline__date {
    text-align: left;
  }

  .cd-timeline__img--hidden,
  .cd-timeline__content--hidden {
    visibility: hidden;
  }

  .cd-timeline__img--bounce-in {
    animation: cd-bounce-1 0.6s;
  }

  .cd-timeline__content--bounce-in {
    animation: cd-bounce-2 0.6s;
  }

  .cd-timeline__block:nth-child(even) .cd-timeline__content--bounce-in {
    animation-name: cd-bounce-2-inverse;
  }
}

@keyframes cd-bounce-1 {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  60% {
    opacity: 1;
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes cd-bounce-2 {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }
  60% {
    opacity: 1;
    transform: translateX(20px);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes cd-bounce-2-inverse {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }
  60% {
    opacity: 1;
    transform: translateX(-20px);
  }
  100% {
    transform: translateX(0);
  }
}

/*Additional Styles*/
.cd-timeline__block {
  align-items: center;
  padding-bottom: 70px;
}
.cd-timeline .cd-timeline__content ul {
  width: 65%;
  display: flex;
  text-align: left;
  flex-direction: column;
}
html[dir="rtl"] .cd-timeline .cd-timeline__content ul {
  text-align: right;
}
.cd-timeline .cd-timeline__content ul li {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgb(0 0 0 / 10%);
}
.cd-timeline .cd-timeline__content ul li img {
  padding: 15px;
}
.cd-timeline .cd-timeline__content ul li span {
  font-weight: 600;
  display: contents;
}
.cd-timeline__container::before {
  top: -90px;
  height: 120%;
}
div.cd-timeline.js-cd-timeline {
  background-color: #fff;
  padding: 150px 0 100px;
}
.cd-timeline__img.cd-timeline__img {
  border-bottom: 2px solid #f7ca01;
  border-radius: 0;
  height: 80px;
  padding-top: 40px;
  background-color: #fff;
  box-shadow: none;
  width: 80px;
  margin-bottom: 40px;
  margin-left: calc(5% - 40px);
}
html[dir="rtl"] .cd-timeline__img.cd-timeline__img {
  margin-left: unset;
  margin-right: calc(5% - 40px);
}
.cd-timeline__content.text-component {
  box-shadow: none;
}
.cd-timeline__block:nth-child(odd) .cd-timeline__content::before,
.cd-timeline__content::before {
  display: none;
}
.cd-timeline__content.text-component.row-reverse,
.cd-timeline__content.text-component.row-reverse ul li {
  display: flex;
  flex-direction: row-reverse;
}
.cd-timeline__content.text-component.row-reverse ul {
  text-align: right;
  padding-right: 40px;
  padding-left: 0;
}
html[dir="rtl"] .cd-timeline__content.text-component.row-reverse ul {
  text-align: left;
  padding-right: 0;
  padding-left: 40px;
}

@media (max-width: 1024px) {
  .cd-timeline__content.text-component.row-reverse,
  .cd-timeline__content.text-component.row-reverse ul li {
    flex-direction: row;
    padding-left: 20px;
  }
  html[dir="rtl"] .cd-timeline__content.text-component.row-reverse,
  html[dir="rtl"] .cd-timeline__content.text-component.row-reverse ul li {
    padding-right: 20px;
    padding-left: 0;
  }
  .cd-timeline__content.text-component.row-reverse ul {
    text-align: left;
  }
  .cd-timeline .cd-timeline__content ul li {
    text-align: left;
  }
  html[dir="rtl"] .cd-timeline__content.text-component.row-reverse ul,
  html[dir="rtl"] .cd-timeline .cd-timeline__content ul li {
    text-align: right;
  }
  .cd-timeline__content.text-component {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .cd-timeline__content.text-component ul,
  .cd-timeline__content.text-component ul li {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .cd-timeline .cd-timeline__content ul {
    width: 100%;
  }
  .cd-timeline__container::before {
    top: -90px;
    left: 35px;
  }
  html[dir="rtl"] .cd-timeline__container::before {
    left: unset;
    right: 35px;
  }
  .cd-timeline__img.cd-timeline__img {
    margin-left: 0;
  }
  html[dir="rtl"] .cd-timeline__img.cd-timeline__img {
    margin-left: unset;
    margin-right: 0;
  }
}

.latest-news {
  background: linear-gradient(
    to bottom,
    rgba(0, 22, 51, 0.03) 3%,
    rgba(0, 22, 51, 0.03) 15%,
    rgba(38, 38, 38, 0.15) 100%
  );
}
