/*
================================================================================
CONTENT WIDTH
================================================================================
*/
:root {
  --cd-content-width: calc(100% - 48px);
}
@media (min-width: 768px) {
  :root {
    --cd-content-width: 720px;
  }
}
@media (min-width: 992px) {
  :root {
    --cd-content-width: 944px;
  }
}
@media (min-width: 1440px) {
  :root {
    --cd-content-width: 1320px;
  }
}
@media (min-width: 1680px) {
  :root {
    --cd-content-width: 1600px;
  }
}

/*
================================================================================
COLORS
================================================================================
*/
/*
================================================================================
LAYOUT
================================================================================
*/
/*
================================================================================
FONTFACE
================================================================================
*/
@font-face {
  font-family: "Noto Sans";
  src: local("Noto Sans"), local("NotoSans"), url("/wp-content/themes/bb-theme-child/assets/fonts/NotoSans/NotoSans-VariableFont_wdth,wght.woff2") format("woff2"), url("/wp-content/themes/bb-theme-child/assets/fonts/NotoSans/NotoSans-VariableFont_wdth,wght.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
/*
================================================================================
FONT FAMILIES
================================================================================
*/
/*
================================================================================
MIXINS
================================================================================
*/
/*
================================================================================
FONTS
================================================================================
*/
h1,
.cd-h1 {
  font-size: 1.8125rem;
  font-weight: 650;
  line-height: 1.25;
  font-family: "Noto Sans", sans-serif;
}
@media (min-width: 992px) {
  h1,
  .cd-h1 {
    font-size: 2.25rem;
  }
}

h2,
.cd-h2 {
  font-size: 1.5rem;
  font-weight: 650;
  line-height: 1.25;
  font-family: "Noto Sans", sans-serif;
}
@media (min-width: 992px) {
  h2,
  .cd-h2 {
    font-size: 1.875rem;
  }
}

h3,
.cd-h3 {
  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1.25;
  font-family: "Noto Sans", sans-serif;
}
@media (min-width: 992px) {
  h3,
  .cd-h3 {
    font-size: 1.5rem;
  }
}

h4,
.cd-h4 {
  font-size: 1.0625rem;
  font-weight: 650;
  line-height: 1.3;
  font-family: "Noto Sans", sans-serif;
}
@media (min-width: 992px) {
  h4,
  .cd-h4 {
    font-size: 1.375rem;
  }
}

p,
.cd-p {
  font-size: 0.875rem;
  font-weight: 350;
  line-height: 1.5;
  font-family: "Noto Sans", sans-serif;
}
@media (min-width: 992px) {
  p,
  .cd-p {
    font-size: 1rem;
  }
}
@media (min-width: 1400px) {
  p,
  .cd-p {
    font-size: 1.125rem;
  }
}
@media (min-width: 1680px) {
  p,
  .cd-p {
    font-size: 1.25rem;
  }
}

.cd-small {
  font-size: 0.75rem;
  font-weight: 350;
  line-height: 1.4;
  font-family: "Noto Sans", sans-serif;
}
@media (min-width: 992px) {
  .cd-small {
    font-size: 0.8125rem;
  }
}
@media (min-width: 1680px) {
  .cd-small {
    font-size: 0.875rem;
  }
}

.cd-extra-small {
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1.25;
  font-family: "Noto Sans", sans-serif;
}
@media (min-width: 992px) {
  .cd-extra-small {
    line-height: 1.3;
    font-size: 0.625rem;
  }
}

/*
================================================================================
GENERAL
================================================================================
*/
.cd-section-intro .cd-border-title {
  margin-bottom: 0.625rem;
}
@media (min-width: 992px) {
  .cd-section-intro .cd-border-title {
    margin-bottom: 1.5rem;
  }
}
.cd-section-intro p {
  font-size: 0.875rem;
  font-weight: 350;
  line-height: 1.5;
  font-family: "Noto Sans", sans-serif;
  color: #262626;
}
@media (min-width: 992px) {
  .cd-section-intro p {
    font-size: 1rem;
  }
}
@media (min-width: 1400px) {
  .cd-section-intro p {
    font-size: 1.125rem;
  }
}
@media (min-width: 1680px) {
  .cd-section-intro p {
    font-size: 1.25rem;
  }
}
.cd-section-intro p:last-of-type {
  margin-bottom: 0;
}

/*
================================================================================
TIMELINE
================================================================================
*/
.cd-timeline-entries {
  --padding-top: calc(2.8125rem + .5rem);
  position: relative;
  padding-top: var(--padding-top);
}
@media (min-width: 768px) {
  .cd-timeline-entries {
    --padding-top: calc(2.8125rem + 1rem);
  }
}
.cd-timeline-entries::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  top: var(--padding-top);
  bottom: 0;
  background-color: #B7B4B5;
  width: 0.125rem;
  border-radius: 0.0625rem;
}
@media (min-width: 768px) {
  .cd-timeline-entries::before {
    left: 50%;
    transform: translateX(-50%);
  }
}
.cd-timeline-entries::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  transform: translate(calc(-50% + 0.0625rem), 50%);
  background-color: #EA002A;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
}
@media (min-width: 768px) {
  .cd-timeline-entries::after {
    left: 50%;
    transform: translate(-50%, 50%);
  }
}

.cd-timeline-entry {
  position: relative;
  z-index: 0;
  display: grid;
  margin-bottom: 3.25rem;
  padding-left: 2.5rem;
}
@media (min-width: 768px) {
  .cd-timeline-entry {
    grid-template-columns: 1fr 8rem 1fr;
    margin-bottom: 7rem;
    padding-left: 0;
  }
}
@media (min-width: 992px) {
  .cd-timeline-entry {
    grid-template-columns: 1fr 10rem 1fr;
  }
}
@media (min-width: 1200px) {
  .cd-timeline-entry {
    grid-template-columns: 1fr 12rem 1fr;
  }
}
@media (min-width: 1440px) {
  .cd-timeline-entry {
    grid-template-columns: 1fr 15.5rem 1fr;
  }
}
.cd-timeline-entry::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  transform: translateX(calc(-50% + 0.0625rem));
  background-color: #EA002A;
  width: 0.5rem;
  height: 1.5rem;
}
@media (min-width: 768px) {
  .cd-timeline-entry::after {
    left: 50%;
    top: 0.6875rem;
    transform: translateX(-50%);
  }
}
.cd-timeline-entry:first-of-type .cd-timeline-year {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, calc(-100% - 0.5rem));
  color: #262626;
}
@media (min-width: 768px) {
  .cd-timeline-entry:first-of-type .cd-timeline-year {
    transform: translate(-50%, calc(-100% - 1rem));
  }
}
@media (min-width: 768px) {
  .cd-timeline-entry:first-of-type .cd-timeline-image {
    grid-column: 3;
    aspect-ratio: 4/3;
  }
}
.cd-timeline-entry:last-of-type {
  margin-bottom: 0;
  padding-bottom: 2.375rem;
}
@media (min-width: 768px) {
  .cd-timeline-entry:last-of-type {
    padding-bottom: 3.375rem;
  }
}
@media (min-width: 768px) {
  .cd-timeline-entry:last-of-type:nth-of-type(even) .cd-timeline-image {
    grid-column: 1;
  }
}
@media (min-width: 768px) {
  .cd-timeline-entry:last-of-type .cd-timeline-image {
    grid-column: 3;
    aspect-ratio: 4/3;
  }
}
@media (min-width: 768px) {
  .cd-timeline-entry:nth-of-type(even) .cd-timeline-image {
    grid-column: 1;
  }
}
@media (min-width: 768px) {
  .cd-timeline-entry:nth-of-type(even) .cd-timeline-text {
    grid-column: 3;
    text-align: start;
  }
}
.cd-timeline-entry .cd-timeline-year {
  margin: 0 0 0.5rem;
  font-size: 2.25rem;
  font-weight: 700;
  color: #EA002A;
}
.cd-timeline-entry .cd-timeline-text {
  grid-row: 3;
}
@media (min-width: 768px) {
  .cd-timeline-entry .cd-timeline-text {
    grid-row: 1;
    grid-column: 1;
    text-align: end;
  }
}
.cd-timeline-entry .cd-timeline-text .cd-timeline-title {
  font-size: 1.0625rem;
  font-weight: 650;
  line-height: 1.3;
  font-family: "Noto Sans", sans-serif;
  margin: 0 0 0.5rem;
}
@media (min-width: 992px) {
  .cd-timeline-entry .cd-timeline-text .cd-timeline-title {
    font-size: 1.375rem;
  }
}
.cd-timeline-entry .cd-timeline-text .cd-timeline-title:empty {
  display: none;
}
.cd-timeline-entry .cd-timeline-text .cd-timeline-description {
  font-size: 0.875rem;
  font-weight: 350;
  line-height: 1.5;
  font-family: "Noto Sans", sans-serif;
  color: #262626;
}
@media (min-width: 992px) {
  .cd-timeline-entry .cd-timeline-text .cd-timeline-description {
    font-size: 1rem;
  }
}
@media (min-width: 1400px) {
  .cd-timeline-entry .cd-timeline-text .cd-timeline-description {
    font-size: 1.125rem;
  }
}
@media (min-width: 1680px) {
  .cd-timeline-entry .cd-timeline-text .cd-timeline-description {
    font-size: 1.25rem;
  }
}
.cd-timeline-entry .cd-timeline-text .cd-timeline-description:empty {
  display: none;
}
.cd-timeline-entry .cd-timeline-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  margin-bottom: 0.75rem;
}
@media (min-width: 768px) {
  .cd-timeline-entry .cd-timeline-image {
    grid-row: 1;
    grid-column: 3;
    aspect-ratio: 12/5;
    margin-bottom: 0;
  }
}
