.has-light-blue-background-color h2::after {
	border-bottom: 5px solid #0c4c90;
}

.has-light-blue-background-color a:visited {
  color: #0c4c90;
}

.has-light-blue-background-color {
  h2, h3, p {
    color: #fff;
  }
}

.has-background h2 {
  margin-bottom: 0;
  padding-bottom: 0;
}

.has-dark-blue-background-color a {
  color: #a6e0ff;
}

.has-dark-blue-background-color a:hover {
  cursor: pointer;
  color: #f1faff !important;
}

.has-dark-blue-background-color a:visited {
  color: #2295D3;
}

.has-light-blue-background-color a {
  color: #0C4C90;
}

.is-style-force-full-width {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  box-sizing: border-box;
}

.is-style-card {
	display: flex;
	justify-content: center;
}

.is-style-card .wp-block-cover {
  width: 300px;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: cover;
  position: relative;
  min-height: 0;
}

.is-style-card h3 {
  text-transform: uppercase;
  padding: 0 15px;
  text-align: center;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1.7rem;
  filter: drop-shadow(5px 5px 7px #00000094);
  z-index: 2;
}

.is-style-card .has-background-dim {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50px;
  background-color: rgba(0,0,0,0.3);
  z-index: 1;
}

.is-style-card .wp-block-cover__background {
  margin: 0;
  border-radius: 50px;
}

.is-style-card .wp-block-cover__image-background {
  border-radius: 50px;
}

.is-style-card .wp-block-cover__inner-container {
  text-transform: uppercase;
}

.is-style-card .wp-block-cover__inner-container p {
  font-size: 1.75rem !important;
  filter: drop-shadow(5px 5px 7px #00000094);
  line-height: 2rem;
  margin: auto 0;
}

.is-style-full-width-split-row {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  box-sizing: border-box;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

.is-style-full-width-split-row .wp-block-column {
	padding: 5% 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.is-style-full-width-split-row:where(.wp-block-columns.is-layout-flex) {
  gap: 0!important;
}

.is-style-split-row figure {
  margin: 0;
  max-height: 100%;
  overflow: hidden;
}

.is-style-split-row figure img {
	object-fit: cover;
	object-position: center center;
	width: 100%;
	height: revert-layer;
}

.is-style-split-row .wp-block-column.is-vertically-aligned-center {
  justify-content: center;
  height: 100%;
  display: flex;
  flex-direction: column;
}


.wp-block-column.is-style-has-image.is-layout-flow {
    padding: 0;
    margin: -1.25em -2.375em;
}

.wp-block-column.is-style-has-image.is-layout-flow figure {
    margin: 0;
}

/*style.min.css override for above*/

@media (min-width: 968px) {
    .is-style-full-width-split-row .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
      flex-basis: auto;
    }
    .is-style-full-width-split-row .wp-block-column {
        width: 50%;
    }
}

/*end override*/

.is-style-has-image figure {
    position: relative;
    width: 100%;
    height: 100%; /* you can set a specific height if you want */
    overflow: hidden; /* prevent the image from breaking out of the figure's dimensions */
}

.is-style-has-image figure img {
    position: absolute;
    min-width: 100%;
    min-height: 100%;
    max-width: none;
    height: auto;
    width: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%); /* center the image */
    object-fit: cover; /* make the image behave like background-size: cover; */
}

.wp-block-column .is-layout-flow {
    margin: 0 5%!important;
}

.wp-block-column.background-image {
  background-size: cover !important;
  background-position: center center !important;
}

.is-style-full-width-split-row > :not(.wp-block-column.background-image) {
  margin: 0!important;
}

/* timeline */

.is-style-timeline .timeline-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    margin: 5% 0;
    border-radius: 15px;
    box-shadow: 5px 5px 13px #0006;
    height: auto;
}

.is-style-timeline {
    display: flex;
    width: max-content;
    transition: transform 0.3s ease-out;
    padding: 20px;
}

.is-style-timeline .timeline-event {
    flex-shrink: 0;
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 5% 10%;
    padding-bottom: 75px;
}

.is-style-timeline img {
	max-height: 200px;
}

.is-style-timeline h3 {
  text-align: center;
  margin-bottom: 0;
}

.is-style-timeline .timeline-controls {
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: space-between; /* Adjust spacing */
    padding: 2%;
}

.is-style-timeline .timeline-line {
    position: absolute;
    top: 50%;
    width: 100%;
    height: 5px; /* Adjust as needed */
    background-color: #4ea8d9; /* Adjust color as needed */
    z-index: 1; /* Ensures the line is behind the circles and text */
    transform: translateY(-50%); /* Centers the line vertically */
}

.is-style-timeline .timeline-year {
    position: relative;
    flex-grow: 1; /* Allows the .timeline-year divs to grow and shrink as needed */
    text-align: center; /* Centers the text and circle */
    z-index: 2; /* Ensures the text and circles are in front of the line */
}

.is-style-timeline .year-circle {
    width: 20px; /* Adjust as needed */
    height: 20px; /* Adjust as needed */
    border-radius: 50%; /* Makes the div circular */
    background-color: #0c4c90; /* Adjust color as needed */
    margin: 0px auto; /* Centers the circle and provides space above and below */
    transition: transform 0.3s ease; /* Adds a smooth transition for the hover effect */
    margin-top: 56px;
}

.is-style-timeline .year-circle.active {
	width: 30px;
	height: 30px;
	margin-top: 51px;
}

.is-style-timeline .year-circle:hover {
    transform: scale(1.5); /* Increases the size of the circle on hover */
}

.is-style-timeline .year-text {
  margin-top: 15px;
  font-weight: bold;
  color: #0c4c90;
}

.is-style-timeline .timeline-year.active .year-text {
  font-size: 1.5rem;
}

/* Wordpress overrides */

.is-style-rounded img {
  border-radius: 35px!important;
}
.wp-block-cover.ek-linked-block{
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
}
.wp-block-cover.ek-linked-block:hover {
  
  z-index: 1;
  border-radius: 50px;
  transition: background-color 0.3s;
  -webkit-transition: background-color 0.3s;
}

.wp-block-cover.ek-linked-block:hover > a.editorskit-block-link {
  background-color: #2295d3ab;
  z-index: 2;
  border-radius: 50px;
  transition: background-color 0.3s;
  -webkit-transition: background-color 0.3s;
}

.wp-block-cover.ek-linked-block .wp-block-cover__inner-container .ek-link {
    color:inherit;
}


.ek-linked-block .wp-block-cover__inner-container {
  z-index: 3;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
}

a span {
    margin: auto;
}

