/************
 *
 * 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: var(--bs-font-size-lg);
}
.cards__text *:first-child {
  margin-top: 0;
}
.cards--custom .cards__col.single {
  max-width: 28% !important;
  min-width: 28% !important;
}
.cards--custom .cards__col.double {
  max-width: 44% !important;
  min-width: 44% !important;
}
.cards--custom .cards__col.double .card-body {
  padding: 1.5rem 2.5rem 2rem !important;
}
.cards--custom .card {
  min-height: 440px;
}
.cards--custom .card.white, .cards--custom .card.latte {
  background-color: var(--bs-light) !important;
}
.cards--custom .card.white .card-body *, .cards--custom .card.latte .card-body * {
  color: black;
}
.cards--custom .card.white .card-body h1,
.cards--custom .card.white .card-body h2,
.cards--custom .card.white .card-body h3,
.cards--custom .card.white .card-body h4, .cards--custom .card.latte .card-body h1,
.cards--custom .card.latte .card-body h2,
.cards--custom .card.latte .card-body h3,
.cards--custom .card.latte .card-body h4 {
  color: var(--bs-primary) !important;
}
.cards--custom .card.white .card-body h1 *,
.cards--custom .card.white .card-body h2 *,
.cards--custom .card.white .card-body h3 *,
.cards--custom .card.white .card-body h4 *, .cards--custom .card.latte .card-body h1 *,
.cards--custom .card.latte .card-body h2 *,
.cards--custom .card.latte .card-body h3 *,
.cards--custom .card.latte .card-body h4 * {
  color: var(--bs-primary) !important;
}
.cards--custom .card.latte {
  background-color: #e1d8bb !important;
}
.cards--custom .card.purple {
  background-color: var(--bs-primary) !important;
}
.cards--custom .card.purple .card-body * {
  color: white !important;
}
.cards--custom .card-body {
  height: 100%;
  padding: 1.5rem 1.5rem 2rem;
}
.cards--custom .card-body h1,
.cards--custom .card-body h2,
.cards--custom .card-body h3,
.cards--custom .card-body h4 {
  margin: 0;
}
.cards--custom .card-img {
  margin: auto;
}
.cards--custom .card:has(.card-txt) .card-img {
  margin-top: auto;
  margin-bottom: 0;
  margin-left: 0;
  width: 160px;
}
.cards--custom .card-image {
  -o-object-fit: none;
     object-fit: none;
  height: auto;
}
.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-img-wrapper {
  margin-top: auto;
  margin-bottom: 0;
}
.cards--5 .card-body {
  text-align: center;
}
.cards--5 .card-title {
  background: linear-gradient(308deg, rgb(202, 182, 110) 0%, rgb(79, 46, 199) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cards--5 .card-text {
  color: var(--bs-quaternary) !important;
}
.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%;
}
