:root {
	--gap: 20px;
	--base-color: #252525;
	--blue: #395775;{# Blue Earth #}
	--caramel: #b0946f;{# Caramel Gold #}
}

.mb-none {
  margin-bottom: 0;
}

.flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.gap-xs {
  gap: 8px;
}

@media (max-width: 767px) {
  .flex:not(.flex-row) {
    flex-direction:column
  }
}


.cards__card {
  flex: 1;
  padding: 34px 30px 45px;
}

.cards__card.full {
  padding: 0;
}

.cards__card.rounded {
  border-radius: 10px;
  border: 1px solid #B2B2B2;
  overflow: hidden;
}

.cards__card-content {
  word-break: break-word;
}

.cards__card-content .cards__card-description-clamped {
  position: relative;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cards__card.no-shadow.bg-white {
  padding: 0;
}

.cards__card:not(.no-shadow) {
  box-shadow: 5px 4px 21px -1px rgba(0, 0, 0, 0.12);
}

.cards__card-content > *:last-child {
  margin-bottom: 0;
}

.cards__icon {
  height: 75px;
}

.cards__icon svg {
  max-width: 75px;
  max-height: 75px;
}

.cards.cards__4.masonry .cards__card {
  margin-bottom: var(--gap);
}

@media (min-width: 768px) {
  .cards.cards__4.flex .cards__card {
    flex: 0 1 calc(25% - 15px);
  }

  .cards.cards__4.grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .cards.cards__4.masonry {
    column-count: 4;
    column-gap: var(--gap);
  }

  .cards.cards__4.masonry .cards__card {
    display: inline-block;
    width: 100%;
    break-inside: avoid-column;
  }

  @media (max-width: 1200px) {
    .cards.cards__4.masonry {
      column-count: 3;
    }
  }


  /* disable Flickity for large devices */
  .cards__slider:after {
    content: '';
    display: none;
  }
}

.cards__card-image {
  height: 245px;
}


.cards__card h2 strong {
  display: block;
  margin-top: 4px;
}

@media (max-width: 767px) {
  .cards__card {
    align-items: center;
    text-align: center;
  }

  .cards__card-content{
    flex-direction: column;
    align-items: center;
  }

  /* enable Flickity by default */
  .cards__slider:after {
    content: 'flickity';
    display: none; /* hide :after */
  }

  .cards__slider .cards__card {
    min-height: 100%;
    width: 1056px;
    max-width: 80vw;
    margin-right: 8px;
    transition: none;
  }
}


/* module specific */
.cards__card-image {
  height: auto;
}

.cards__card.full .cards__card-content {
  padding: 0 16px 16px;
}

.cards__card-meta-icon {
  width: 40px;
}

.cards__card-meta {
  flex: 1;
}

.cards__card-meta h3 {
  font-size: 15px;
  color: var(--base-color);
}

.cards__card-date {
  font-size: 12px;
}

.cards__card-content p {
  font-size: 12px;
}

.cards__card-content .show-more-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 20%); /* Fade out text and show button */
  border: none;
  color: #395775;
  cursor: pointer;
  font-weight: bold;
  font-size: 12px;
  line-height: 1.5;
  padding: 0 0 0 20px;
  white-space: nowrap;
}


@media (min-width: 768px) {
  .cards.cards__4.grid {
    padding-top: 50px;
  }

  .cards.cards__4.grid .cards__card:nth-child(odd) {
    transform: translateY(-50px);
  }
}

.facebook-posts-status {
  text-align: center;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 5px solid var(--caramel);
  border-bottom-color: var(--blue);
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
}

.show-for-sr {
  border: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  height: 1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
}

.facebook-posts-wrapper h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #395775;
  font-family: "Verlag A", "Verlag B", sans-serif;
  font-size: 24px;
  font-weight: 700;
  font-style: normal;
  text-decoration: none;
}

.facebook-posts-wrapper a.btn {
  padding:11px 22px;
  border-radius:10px;
  border:3px solid var(--color-dark);
  font-family:"Verlag A","Verlag B",sans-serif;
  font-size:20px;
  line-height:21px;
  transition:all 0.3s ease-out;
}