/* Subpage Hero Block */
.subpage-hero-block {
  background: #071d49;
  background: url(../assets/subpage-hero-bg.png) no-repeat right center / auto 100%, linear-gradient(90deg, #071d49 1%, #13426b);
  border-bottom: 20px solid #84bd00;
  min-height: 250px;
  position: relative;
  color: white;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.subpage-hero-block .inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}
.subpage-hero-block h1, .subpage-hero-block h2, .subpage-hero-block .description {
  color: white;
  margin: 0;
}
.subpage-hero-block h1 {
  color: white;
  margin: 0;
}

@media all and (max-width: 999.99px){
  .subpage-hero-block {
    min-height: 150px
  }
  .subpage-hero-block h1 {
    font-size: 1.7em
  }
  .subpage-hero-block h2 {
    font-size: 1.2em
  }
}


/* CTA Floater */
.block-cta-floater-block {
  position: fixed;
  z-index: 10;
  right: -160px;
  bottom: 80px;
  background: #15214B;
  border: 1px solid white;
  color: white;
  max-width: 155px;
  transition: right .5s ease-in;
}

.block-cta-floater-block.initialized {
  right: -2px;
}

.block-cta-floater-block a {
  display: flex;
  text-decoration: none;
  color: white;
  flex-direction: column;
  padding: 15px;
  text-align: center;
}

.block-cta-floater-block a .title {
  order: 2;
  font-size: 24px;
  font-weight: bold;
  font-family: "rm_pro-bold", sans-serif;
}

.block-cta-floater-block a .subtitle {
  order: 1;
  font-family: "rm_pro-bold", sans-serif;
  text-transform: uppercase;
  color: #87BF40;
  font-size: 16px;
}

/** awards-timeline-block **/
.awards-timeline-block {
  padding: 64px 0;
}

.awards-timeline-block .timeline-wrapper {
  display: flex;
  align-items: center;
}

.awards-timeline-block .timeline-wrapper .left,
.awards-timeline-block .timeline-wrapper .right {
  width: 50px;
}
.awards-timeline-block .timeline-wrapper button {
  background-image: url(../assets/caret-left.svg);
  background-repeat: no-repeat;
  background-color: transparent;
  background-size: auto 30px;
  background-position: left center;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border: 0;
  outline: 0;
  text-indent: -99999px;
}
.awards-timeline-block .timeline-wrapper button.disabled {
  opacity: .5;
  pointer-events: none
}
.awards-timeline-block .timeline-wrapper .right button {
  background-image: url(../assets/caret-right.svg);
  background-position: right center;
}
.awards-timeline-block .timeline-wrapper .center {
  flex: 1;
  overflow: hidden;
  clip-path: inset(0 0 0 0);
}

.awards-timeline-block .timeline-wrapper .timeline {
  width: 100%;
  border-top: 3px solid #87BF40
}

.awards-timeline-block .timeline-wrapper .timeline .inner {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
  margin-bottom: -15px;
}

.awards-timeline-block .timeline-wrapper .timeline .inner::-webkit-scrollbar {
  display: none;
}

.awards-timeline-block .timeline-wrapper .timeline .inner ul {
  margin: 0;
  padding: 20px 0 40px;
  list-style-type: none;
  display: flex;
  gap: 40px;
}

.awards-timeline-block .timeline-wrapper .timeline .inner ul li {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 200px!important;
  min-width: 200px!important;
}

.awards-timeline-block .timeline-wrapper .timeline .inner ul li > * {
  margin: 0;
  font-size: 18px;
  color: #15214B;
  font-weight: 400;
  font-family: "rm_pro-light", serif;
  text-align: center
}

.awards-timeline-block .timeline-wrapper .center h2 {
  margin-top: 0;
  min-height: 70px;
  padding-left: 65px;
  background: url(../assets/trophy.svg) no-repeat left center / auto 70px;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

@media all and (max-width: 639.99px){
  .awards-timeline-block .timeline-wrapper .center h2 {
    font-size: 1.2em
  }
}

@media all and (max-width: 420px){
  .awards-timeline-block .timeline-wrapper .center h2 {
    line-height: 1.2;
    white-space: unset;
    min-height: 50px;
    background-size: auto 50px;
    padding-left: 50px;
    margin-bottom: 20px
  }
  .awards-timeline-block .timeline-wrapper .timeline .inner ul {
    padding-bottom: 20px
  }
}

/** news-events-block **/

.news-events-block {
  background: #E9EDEF;
  padding: 80px 0;
}
.news-events-block .heading {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
  flex-flow: wrap;
}

.news-events-block .heading h2 { margin-top: 0; }

.news-events-block .heading a {
  margin-left: auto;
  margin-top: 10px;
  color: #15214B;
  font-size: 16px;
  display: inline-block;
  position: relative;
  border-bottom: 3px solid #87BF40;
  text-decoration: none;
  font-weight: bold;
  font-family: "rm_pro-bold", sans-serif;
  text-transform: uppercase;
}

.news-events-block .heading a:hover {
  border-color: #15214B;
}

.news-events-block ul.items {
  list-style-type: none;
  display: flex;
  gap: 20px;
}
.news-events-block ul.items > li {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-events-block ul.items > li a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: white;
  color: #15214B;
  border-bottom: 9px solid #87BF40;
  flex: 1;
  transition: transform .3s ease-in-out;
}
.news-events-block ul.items > li a:hover {
  transform: scale(1.05)
}

.news-events-block ul.items > li a:hover h3 {
  color: #87BF40;
}

.news-events-block ul.items > li a .image {
  width: 100%;
  height: 197px;
  background: #071d49;
}

.news-events-block ul.items > li a .image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover
}
.news-events-block ul.items > li a .info {
  padding: 20px;
}
.news-events-block ul.items > li a h3 {
  margin: 0 0 10px
}
.news-events-block ul.items > li a .excerpt {
  font-size: 16px;
  font-weight: bold;
  font-family: "rm_pro-bold", sans-serif;
}

@media all and (min-width: 1240.1px){
  .news-events-block ul.items {
    width: calc(((100vw - 1240px) / 2) + 1240px )
  }
}

@media all and (max-width: 960px){
  .news-events-block ul.items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
  }
}

@media all and (max-width: 470px){
  .news-events-block ul.items {
    grid-template-columns: 1fr;
  }
}
