/*
* Global button styling
*/
/*
* Breakpoint debugging
*/
/*
* MEDIA QUERIES
* Breakpoints for responsive sites
*/
/*
* SASS Parent append
* Useful if you want to add an append to the parent without writing it out again
* Usage: @include parent-append(":hover")
* Source: https://codepen.io/imkremen/pen/RMVBvq
*/
/*
* Skew
* Useful mixing to create skewed edges
* Usage: @include angle-edge(bottomright, 3deg, topleft, 3deg, #fff);
* Source: http://www.hongkiat.com/blog/skewed-edges-css/
*/
/* block : History */
.block-history {
  padding-top: 3rem;
}
@media (min-width: 783px) {
  .block-history {
    padding-left: 2rem;
  }
  .block-history .year-block {
    display: flex;
    align-items: stretch;
  }
  .block-history .year-block .year,
  .block-history .year-block .events {
    width: 50%;
  }
}
@media (min-width: 783px) {
  .block-history {
    padding-top: 10rem;
  }
}
.block-history .year-block .year {
  width: 50%;
}
.block-history .year-block .year h3 {
  position: sticky;
  top: 60px;
  font-weight: 300;
  font-family: var(--wp--preset--font-family--primary);
  color: var(--wp--preset--color--primary);
  font-size: clamp(5rem, 6vw, 12rem) !important;
  letter-spacing: -0.75rem;
  display: block;
  margin-bottom: 2rem;
}
@media (max-width: 782px) {
  .block-history .year-block .year h3 {
    margin-bottom: 0;
    margin-top: 0;
    padding-bottom: 1em;
    padding-left: 2rem;
    margin-left: 1rem;
  }
  .block-history .year-block .year h3:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: var(--wp--preset--color--blue-grey);
  }
}
.block-history .year-block .year span {
  display: block;
}
@media (min-width: 783px) {
  .block-history .year-block .year {
    margin: 0 auto;
  }
}
.block-history .year-block .events {
  display: flex;
  flex-direction: column;
  position: relative;
  margin-bottom: 0;
}
.block-history .year-block .events .event-block {
  position: relative;
  text-align: left;
  box-sizing: border-box;
  list-style: none;
  padding-bottom: 4rem;
  min-height: 25rem;
}
.block-history .year-block .events .event-block::before {
  content: "";
  position: absolute;
  left: -2.5em;
  width: 15px;
  height: 15px;
  background-color: var(--wp--preset--color--off-white);
  border: 1px solid var(--wp--preset--color--blue-grey);
  z-index: 10;
}
.block-history .year-block .events .event-block::after {
  content: "";
  position: absolute;
  top: 15px;
  left: -2.15em;
  height: 0%;
  width: 1px;
  background: var(--wp--preset--color--blue-grey);
  z-index: 1;
  transition: 750ms cubic-bezier(0.4, 0, 0.2, 1);
}
.block-history .year-block .events .event-block h4 {
  margin-top: 0;
  line-height: 1;
  opacity: 0;
  transition: 750ms cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--wp--preset--font-family--primary);
  color: var(--wp--preset--color--blue-grey);
}
.block-history .year-block .events .event-block__no-img h4 {
  margin-bottom: 6rem;
}
.block-history .year-block .events .event-block img {
  aspect-ratio: 21/9;
  object-fit: cover;
  margin-bottom: 2rem;
  border-radius: 10px;
}
.block-history .year-block .events .event-block .wp-block-buttons {
  padding-top: 2rem;
}
.block-history .year-block .events .event-block p,
.block-history .year-block .events .event-block li {
  font-family: var(--wp--preset--font-family--serif);
  color: var(--wp--preset--color--biege);
  font-weight: 700;
  line-height: 1.2;
  font-size: var(--wp--preset--font-size--size-36);
  opacity: 0;
  transition: 750ms cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 200ms;
  margin-top: -0.3em;
}
.block-history .year-block .events .event-block ul,
.block-history .year-block .events .event-block ol {
  margin-bottom: 1em;
}
.block-history .year-block .events .event-block .wp-block-buttons {
  opacity: 0;
  transition: 750ms cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 400ms;
}
.block-history .year-block .events .event-block.active::after {
  height: 100%;
}
.block-history .year-block .events .event-block.active h4,
.block-history .year-block .events .event-block.active p,
.block-history .year-block .events .event-block.active li,
.block-history .year-block .events .event-block.active .wp-block-buttons {
  opacity: 1;
}
.block-history .year-block .events .event-block:last-of-type {
  margin-bottom: 0;
}
@media (max-width: 782px) {
  .block-history .year-block .events {
    margin-left: 0;
  }
  .block-history .year-block .events .event-block {
    min-height: auto;
  }
  .block-history .year-block .events .event-block::before {
    left: -24px;
  }
  .block-history .year-block .events .event-block::after {
    left: -17px;
  }
}
.block-history .year-block:last-child .event-block:last-child::after {
  content: none;
}

.editor-styles-wrapper .block-history .event-block::after {
  height: 100% !important;
}
.editor-styles-wrapper .block-history .event-block h3 {
  margin-top: 0 !important;
}
.editor-styles-wrapper .block-history .event-block h4,
.editor-styles-wrapper .block-history .event-block p {
  opacity: 1 !important;
}

@media (max-width: 782px) {
  .iphone .block-history .year-block .year h3:after {
    left: -1px;
  }
}
