.knowledge-hub {
  padding: 10rem 0 5rem 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  position: relative;
}
@media (max-width: 992px) {
  .knowledge-hub {
    padding: 8rem 0 3rem;
  }
}
.knowledge-hub:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 20rem;
  top: 5rem;
  left: 0;
  background: var(--color-secondary);
}
@media (max-width: 992px) {
  .knowledge-hub:before {
    top: 3rem;
    height: 18rem;
  }
}
.knowledge-hub--title .heading {
  margin: 0;
  color: var(--color-light);
}

.kh-loading {
  text-align: center;
  margin-top: 5rem;
}

.kh-card--grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (max-width: 992px) {
  .kh-card--grid {
    grid-template-columns: 1fr;
    gap: 20px 0;
  }
}

.kh-card--item {
  background: var(--color-dark);
  color: var(--color-light);
  border-radius: 20px;
  overflow: hidden;
  -webkit-box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
          box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
  outline: 3px solid transparent;
  -webkit-transition: outline 0.2s ease-in-out;
  transition: outline 0.2s ease-in-out;
}
.kh-card--item:hover {
  outline-color: var(--color-primary);
}
.kh-card--item h3 {
  margin: 0;
  font-size: 18px;
}
.kh-card--item > a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
}
@media (max-width: 992px) {
  .kh-card--item > a {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
  }
}
.kh-card--item .kh-card--image {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  position: relative;
}
.kh-card--item .kh-card--image picture,
.kh-card--item .kh-card--image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.kh-card--text {
  padding: 2rem;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
@media (max-width: 992px) {
  .kh-card--text {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
  }
}

.kh-card--excerpt {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 2rem;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.kh-card--excerpt-inner {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  font-size: 14px;
  width: 100%;
}
.kh-card--excerpt-inner > *:last-child {
  margin-bottom: 0;
}
.kh-card--excerpt-image {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 25%;
          flex: 0 0 25%;
  -webkit-filter: brightness(0) invert(1);
          filter: brightness(0) invert(1);
}
.kh-card--excerpt-image img {
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
}

/* Target the first element */
.kh-card--item:nth-child(1) {
  grid-column: 1/2;
  grid-row: 1/3;
}
@media (max-width: 992px) {
  .kh-card--item:nth-child(1) {
    grid-column: auto;
    grid-row: auto;
  }
}
.kh-card--item:nth-child(1) > a {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
@media (max-width: 992px) {
  .kh-card--item:nth-child(1) > a {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
  }
}
.kh-card--item:nth-child(1) .kh-card--excerpt {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  margin-top: 10px;
}
.kh-card--item:nth-child(1) .kh-card--excerpt-inner > *:first-child {
  margin: 0;
}
.kh-card--item:nth-child(1) .kh-card--excerpt-image img {
  max-height: 70px;
  margin-left: auto;
  max-width: 100%;
  -o-object-position: right center;
     object-position: right center;
}
.kh-card--item:nth-child(1) .kh-card--image {
  padding-top: 70%;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
@media (max-width: 992px) {
  .kh-card--item:nth-child(1) .kh-card--image {
    padding-top: 75%;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
  }
}

/* Target the second and third elements */
.kh-card--item:nth-child(2),
.kh-card--item:nth-child(3) {
  grid-column: 2/3;
}
@media (max-width: 992px) {
  .kh-card--item:nth-child(2),
  .kh-card--item:nth-child(3) {
    grid-column: auto;
    grid-row: auto;
  }
}

/* Regular style for the rest of the elements */
.kh-card--item:nth-child(n+2) .kh-card--image {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 47%;
          flex: 0 0 47%;
  padding-top: 45%;
}
@media (max-width: 992px) {
  .kh-card--item:nth-child(n+2) .kh-card--image {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
    padding-top: 75%;
  }
}
.kh-card--item:nth-child(n+2) .kh-card--text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.kh-card--item:nth-child(n+2) .kh-card--excerpt {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
@media (max-width: 992px) {
  .kh-card--item:nth-child(n+2) .kh-card--excerpt {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
  }
}
.kh-card--item:nth-child(n+2) .kh-card--excerpt-image {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  width: 100%;
}
@media (max-width: 992px) {
  .kh-card--item:nth-child(n+2) .kh-card--excerpt-image {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
            flex: 0 0 100%;
  }
}
.kh-card--item:nth-child(n+2) .kh-card--excerpt-image img {
  max-height: 50px;
  max-width: 35%;
  margin-right: auto;
  -o-object-position: bottom left;
     object-position: bottom left;
}

.kh-card--date {
  color: var(--color-primary);
  font-weight: 700;
  padding: 10px 30px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border: 2px solid var(--color-primary);
  border-radius: 20px;
  display: inline-block;
  margin-right: auto;
  font-size: 14px;
}

.knowledge-hub--actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 2rem 3rem;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-bottom: 3rem;
}
.knowledge-hub--actions .select2.select2-container.select2-container--default {
  min-width: 240px;
  width: auto !important;
}
.knowledge-hub--actions .select2-selection.select2-selection--single {
  background-color: transparent;
  border-color: var(--color-light);
}
.knowledge-hub--actions .select2-container--default .select2-selection--single .select2-selection__arrow {
  /* Your minified and encoded SVG image as a background */
  background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="9.299" height="6.049" viewBox="0 0 9.299 6.049"%3E%3Cpath d="M1.685,9.008l4.364-4.36L1.685.291a.987.987,0,1,0-1.4,1.4L3.254,4.648.29,7.612a.987.987,0,1,0,1.4,1.4" transform="translate(9.299) rotate(90)" fill="%23FFFFFF"/%3E%3C/svg%3E');
}
.knowledge-hub--actions .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--color-light);
  font-size: 14px;
  font-weight: 700;
}
.knowledge-hub--actions .select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: var(--color-light);
}

/*# sourceMappingURL=knowledge-hub.css.map*/