/*
 * 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 {
  padding-top: clamp(3.4375rem, 4.2253521127vw + 2.4471830986rem, 6.25rem);
  padding-bottom: clamp(3.4375rem, 4.2253521127vw + 2.4471830986rem, 6.25rem);
}
.block-cards .block-row {
  display: grid;
  gap: clamp(0.9375rem, 0.4694835681vw + 0.8274647887rem, 1.25rem);
  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;
  background-position: top right;
  background-repeat: no-repeat;
  background-size: cover;
}
.block-cards.type-1 .theme-card {
  /* center a lone last card when count is odd */
}
.block-cards.type-1 .theme-card img {
  max-width: 40px;
  margin-bottom: 35px !important;
}
.block-cards.type-1 .theme-card .item-main {
  padding-top: clamp(1.5625rem, 0.9389671362vw + 1.3424295775rem, 2.1875rem);
  padding-bottom: clamp(1.5625rem, 0.9389671362vw + 1.3424295775rem, 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-1 .theme-card .item-main > * {
  margin-bottom: 20px;
}
.block-cards.type-1 * + .block-row {
  margin-top: clamp(0rem, 4.2253521127vw + -0.9903169014rem, 2.8125rem);
  margin-bottom: clamp(1.875rem, 1.8779342723vw + 1.4348591549rem, 3.125rem);
}
@media (min-width: 576px) {
  .block-cards.type-1 .block-row {
    grid-template-columns: repeat(auto-fit, minmax(33.33%, 1fr));
  }
}
@media (min-width: 1200px) {
  .block-cards.type-1 .block-row {
    grid-template-columns: repeat(auto-fit, minmax(15%, 1fr));
  }
}
.block-cards.type-2 * + .block-slider {
  margin-top: clamp(0rem, 4.2253521127vw + -0.9903169014rem, 2.8125rem);
  margin-bottom: 40px;
}
@media (min-width: 576px) {
  .block-cards.type-2 * + .block-slider {
    margin-bottom: 30px;
  }
}
@media (min-width: 1200px) {
  .block-cards.type-2 * + .block-slider {
    margin-bottom: 15px;
  }
}
.block-cards.type-2 .theme-card .item-main {
  padding-top: 20px;
  padding-bottom: clamp(1.25rem, 1.4084507042vw + 0.9198943662rem, 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-2 .theme-card .item-main > * {
  margin-bottom: 10px;
}