/*
 * This controls theme colors
 * Bootstrap will generate classes like btn-color-1, btn-black, text-color-1, bg-color-1, etc.
 * The classes can then be used across the site without repeating code
 */
/*
 * Do a sitewide search (CTRL + SHIFT + F if you're using Sublime Text or whatever your coding GUI has for a search in all files)
 * to see where these variables are used in the SASS code. They're all Bootstrap variables that control certain aspects of elements
 */
/**
 * Bootstrap removes the margin-left/right over the sm breakpoint and if we set it customly afterwards, it breaks the centered modal since it's no longer margin: auto.
 * We also can't remove this one because the value is used in a min-height calculation and removing causes the modal to go haywire on mobile
 * So set it at 15px and then after the sm breakpoint when it gets set to auto, add extra padding as need on .modal-dialog
 *
 * LE: messing with custom margins / paddings and modal-dialog is too much fuss. Simply ignore
 */
.block-cards .block-row {
  display: grid;
  gap: 10px;
  margin-left: 0;
  margin-right: 0;
}
.block-cards .block-row > * {
  padding-left: 0;
  padding-right: 0;
}
.block-cards .theme-card {
  margin: 0;
  word-break: break-word;
}
.block-cards .theme-card .wp-block-heading {
  padding: 0;
  border: 0;
}
@media (max-width: 575.98px) {
  .block-cards.type-1, .block-cards.type-3 {
    padding-right: 0 !important;
  }
  .block-cards.type-1 .container, .block-cards.type-3 .container {
    padding-right: 0;
  }
}
.block-cards.type-1, .block-cards.type-2 {
  padding-top: clamp(1.875rem, 4.2253521127vw + 0.8846830986rem, 4.6875rem);
  padding-bottom: clamp(1.875rem, 4.2253521127vw + 0.8846830986rem, 4.6875rem);
}
.block-cards.type-1 .theme-card, .block-cards.type-2 .theme-card {
  border: 1px solid var(--bs-color-4);
}
.block-cards.type-1 .theme-card img, .block-cards.type-2 .theme-card img {
  max-width: 76px;
}
.block-cards.type-1 .theme-card .item-main, .block-cards.type-2 .theme-card .item-main {
  padding-top: clamp(1.5625rem, 2.8169014085vw + 0.9022887324rem, 3.4375rem);
  padding-bottom: clamp(1.5625rem, 2.8169014085vw + 0.9022887324rem, 3.4375rem);
  padding-left: clamp(1.25rem, 1.8779342723vw + 0.8098591549rem, 2.5rem);
  padding-right: clamp(1.25rem, 1.8779342723vw + 0.8098591549rem, 2.5rem);
}
.block-cards.type-1 .theme-card .item-main > *, .block-cards.type-2 .theme-card .item-main > * {
  margin-bottom: clamp(1.25rem, 0.9389671362vw + 1.0299295775rem, 1.875rem);
}
.block-cards.type-1 .splide__pagination {
  margin-top: 20px;
}
@media (min-width: 768px) {
  .block-cards.type-2 .block-row {
    grid-template-columns: repeat(auto-fit, minmax(25%, 1fr));
  }
}
@media (min-width: 1200px) {
  .block-cards.type-2 .block-row {
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(20%, 1fr));
  }
}
.block-cards.type-3 {
  padding-top: clamp(2.5rem, 4.6948356808vw + 1.3996478873rem, 5.625rem);
  padding-bottom: clamp(2.5rem, 7.9812206573vw + 0.6294014085rem, 7.8125rem);
}
.block-cards.type-3 .wp-block-heading {
  padding: 0;
  border: 0;
}
.block-cards.type-3 .block-slider {
  margin-top: clamp(0rem, 7.0422535211vw + -1.650528169rem, 4.6875rem);
  counter-reset: card-step;
}
.block-cards.type-3 .splide__pagination {
  margin-top: 40px;
}
.block-cards.type-3 .theme-card {
  border: 1px solid var(--bs-color-4);
  counter-increment: card-step;
}
.block-cards.type-3 .theme-card .image-wrap {
  position: relative;
}
.block-cards.type-3 .theme-card .circle-num {
  position: absolute;
  top: 20px;
  left: 15px;
  width: 75px;
  border: 6px solid;
  font-size: 31px;
}
.block-cards.type-3 .theme-card .circle-num.circle-num::after {
  content: counter(card-step);
}
.block-cards.type-3 .theme-card .item-main {
  padding-top: 25px;
  padding-bottom: clamp(1.875rem, 0.4694835681vw + 1.7649647887rem, 2.1875rem);
  padding-left: clamp(1.5625rem, 0.9389671362vw + 1.3424295775rem, 2.1875rem);
  padding-right: clamp(1.5625rem, 0.9389671362vw + 1.3424295775rem, 2.1875rem);
}
.block-cards.type-3 .theme-card .item-main > * {
  margin-bottom: clamp(1.25rem, 0.4694835681vw + 1.1399647887rem, 1.5625rem);
}
.block-cards.type-4 {
  padding-top: clamp(2.5rem, 4.6948356808vw + 1.3996478873rem, 5.625rem);
  padding-bottom: clamp(4.0625rem, 5.6338028169vw + 2.7420774648rem, 7.8125rem);
}
.block-cards.type-4 .wp-block-heading {
  padding: 0;
  border: 0;
}
.block-cards.type-4 .block-row {
  margin-top: clamp(2.1875rem, 3.7558685446vw + 1.3072183099rem, 4.6875rem);
  grid-template-columns: repeat(auto-fit, minmax(33.33%, 1fr));
}
@media (min-width: 992px) {
  .block-cards.type-4 .block-row {
    grid-template-columns: repeat(auto-fit, minmax(25%, 1fr));
  }
}
@media (min-width: 1200px) {
  .block-cards.type-4 .block-row {
    grid-template-columns: repeat(auto-fit, minmax(25%, 1fr));
  }
}
.block-cards.type-4 .theme-card {
  border: 1px solid var(--bs-color-4);
}
.block-cards.type-4 .theme-card .item-main {
  padding-top: 25px;
  padding-bottom: clamp(1.875rem, 0.4694835681vw + 1.7649647887rem, 2.1875rem);
  padding-left: clamp(1.5625rem, 0.9389671362vw + 1.3424295775rem, 2.1875rem);
  padding-right: clamp(1.5625rem, 0.9389671362vw + 1.3424295775rem, 2.1875rem);
}
@media (max-width: 575.98px) {
  .block-cards.type-4 .theme-card .item-main {
    display: none;
  }
}
.block-cards.type-4 .theme-card .item-main > * {
  margin-bottom: clamp(1.25rem, 0.4694835681vw + 1.1399647887rem, 1.5625rem);
}