/************
 *
 * Cards Styles
 *
 ***********/
/******* Functions *******/
/******* Mixins *******/
/******* Bootstrap *******/
/**
* Fonts
*/
:root {
  --bs-primary: $blue;
  --bs-secondary: $gray-600;
  --bs-tertiary: $teal;
  --bs-success: $green;
  --bs-info: $cyan;
  --bs-warning: $yellow;
  --bs-danger: $red;
  --bs-light: $gray-100;
  --bs-dark: $gray-900;
}

/******* Variables *******/
.cards .card-add {
  border: 4px dashed black;
  cursor: pointer;
}
.cards__row {
  margin: 0 -1rem;
}
.cards__col {
  margin-top: 0;
  padding: 1rem;
}
.cards__header {
  margin-top: 0;
  margin-bottom: 0;
}
.cards__text *:first-child {
  margin-top: 0;
}
@media (min-width: 768px) {
  .cards--carousel-split .cards__col {
    flex-basis: 67%;
    max-width: 67%;
  }
  .cards--carousel-split .cards__col.component__header {
    flex-basis: 33%;
    max-width: 33%;
  }
}
@media (min-width: 992px) {
  .cards--carousel-split .cards__col {
    flex-basis: 75%;
    max-width: 75%;
  }
  .cards--carousel-split .cards__col.component__header {
    flex-basis: 25%;
    max-width: 25%;
  }
}
@media (min-width: 992px) {
  .cards--1 .swiper-slide {
    opacity: 0 !important;
  }
  .cards--1 .swiper-slide.swiper-slide-visible {
    opacity: 1 !important;
  }
}
@media (max-width: 991.98px) {
  .cards--1 .swiper-slide.swiper-slide-prev {
    opacity: 1 !important;
  }
}
.cards--1 .swiper-navigation--wrapper {
  position: relative;
  padding: 0;
}
.cards--1 .swiper-navigation--wrapper .swiper-navigation {
  position: relative;
  top: auto;
  bottom: auto;
  transform: translateY(0);
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin: 0 -5px;
}
.cards--1 .swiper-navigation--wrapper .swiper-navigation .swiper-button-prev,
.cards--1 .swiper-navigation--wrapper .swiper-navigation .swiper-button-next {
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  transform: translateY(0) !important;
  position: relative;
  margin: 0 5px;
  border: none !important;
}
.cards--1 .swiper-navigation--wrapper .swiper-navigation .swiper-button-prev i,
.cards--1 .swiper-navigation--wrapper .swiper-navigation .swiper-button-next i {
  font-size: 24px !important;
  opacity: 0.5;
}
.cards--1 .swiper-navigation--wrapper .swiper-navigation .swiper-button-prev:hover, .cards--1 .swiper-navigation--wrapper .swiper-navigation .swiper-button-prev:focus, .cards--1 .swiper-navigation--wrapper .swiper-navigation .swiper-button-prev:active,
.cards--1 .swiper-navigation--wrapper .swiper-navigation .swiper-button-next:hover,
.cards--1 .swiper-navigation--wrapper .swiper-navigation .swiper-button-next:focus,
.cards--1 .swiper-navigation--wrapper .swiper-navigation .swiper-button-next:active {
  background-color: transparent !important;
}
.cards--1 .swiper-navigation--wrapper .swiper-navigation .swiper-button-prev:hover i, .cards--1 .swiper-navigation--wrapper .swiper-navigation .swiper-button-prev:focus i, .cards--1 .swiper-navigation--wrapper .swiper-navigation .swiper-button-prev:active i,
.cards--1 .swiper-navigation--wrapper .swiper-navigation .swiper-button-next:hover i,
.cards--1 .swiper-navigation--wrapper .swiper-navigation .swiper-button-next:focus i,
.cards--1 .swiper-navigation--wrapper .swiper-navigation .swiper-button-next:active i {
  opacity: 1 !important;
  color: var(--bs-primary) !important;
}
.cards--1 .card-title {
  transition: 0.3s all ease-in-out;
}
.cards--1 .card:hover .card-title {
  color: var(--bs-secondary);
}
.cards--2 .swiper-slide, .cards--3 .swiper-slide {
  opacity: 1 !important;
}
.cards--3 .swiper {
  overflow: hidden;
}
.cards--4 .swiper-wrapper {
  padding: 0;
}
.cards--4 .swiper-navigation--wrapper {
  margin-top: 2.5rem;
  position: relative;
}
.cards--4 .swiper-navigation--wrapper .swiper-navigation {
  position: relative;
  top: auto;
  transform: translateY(0);
  display: flex;
  width: 100%;
  margin: 0 -5px;
}
.cards--4 .swiper-navigation--wrapper .swiper-navigation .swiper-button-prev,
.cards--4 .swiper-navigation--wrapper .swiper-navigation .swiper-button-next {
  top: auto;
  left: auto;
  right: auto;
  transform: translateY(0);
  position: relative;
  margin: 0 5px;
}
.cards--5 .card .card-title {
  transition: 0.3s all ease-in-out;
}
.cards--5 .card:has(a):hover .card-title {
  color: var(--bs-secondary);
}
.cards--6 .cards__col:nth-child(1), .cards--6 .cards__col:nth-child(2) {
  width: 50% !important;
}
.cards--7 .cards__col:nth-child(4), .cards--7 .cards__col:nth-child(5) {
  width: 50% !important;
}
.cards--8 .cards__col:nth-child(odd):not(.cards__col:nth-child(4n-1)), .cards--8 .cards__col:nth-child(4n):not(.cards__col:nth-child(4n-1)) {
  width: 66.66666% !important;
}
.cards--9 .cards__col:not(:nth-child(odd)):not(:nth-child(4n)), .cards--9 .cards__col.cards__col:nth-child(4n-1) {
  width: 66.66666% !important;
}
.cards--10 .cards__row {
  display: grid;
  grid-template-columns: 2fr 1fr; /* Left element takes 2/3, right elements take 1/3 */
  grid-template-rows: auto auto; /* Rows adjust to content height */
  gap: 10px; /* Space between grid items */
  height: 100%; /* Ensure the container takes full height */
}
.cards--10 .cards__col {
  width: 100%;
}
.cards--10 .cards__col:nth-child(1) {
  grid-row: span 2; /* Span both rows */
}
.cards--10 .cards__col:nth-child(1) .card-img-wrapper {
  flex-grow: 1;
}
.cards--10 .cards__col:nth-child(1) .card-img-wrapper .card-image {
  height: 100%;
}
.cards--11 .cards__row {
  display: grid;
  grid-template-columns: 1fr 2fr; /* Right element takes 2/3, left elements take 1/3 */
  grid-template-rows: auto auto; /* Rows adjust to content height */
  gap: 10px; /* Space between grid items */
  height: 100%; /* Ensure the container takes full height */
}
.cards--11 .cards__col {
  width: 100%;
}
.cards--11 .cards__col:nth-child(2) {
  grid-row: span 2; /* Span both rows */
}
.cards--11 .cards__col:nth-child(2) .card-img-wrapper {
  flex-grow: 1;
}
.cards--11 .cards__col:nth-child(2) .card-img-wrapper .card-image {
  height: 100%;
}
