/*
 * 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(2.5rem, 0.4694835681vw + 2.3899647887rem, 2.8125rem);
  padding-bottom: clamp(3.125rem, 1.4084507042vw + 2.7948943662rem, 4.0625rem);
}
.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;
  border-radius: 10px;
}
.block-cards.type-1 .theme-card img {
  max-width: 90px;
}
.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(0.3125rem, 0.4694835681vw + 0.2024647887rem, 0.625rem);
  padding-right: clamp(0.3125rem, 0.4694835681vw + 0.2024647887rem, 0.625rem);
}
.block-cards.type-1 .theme-card .item-main > * {
  margin-bottom: 15px;
}
.block-cards.type-1 * + .block-row {
  margin-top: clamp(0rem, 4.2253521127vw + -0.9903169014rem, 2.8125rem);
  margin-bottom: clamp(1.875rem, 2.8169014085vw + 1.2147887324rem, 3.75rem);
}
.block-cards.type-1 .block-row {
  gap: clamp(1rem, 0.7511737089vw + 0.823943662rem, 1.5rem);
  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(20%, 1fr));
  }
}
.block-cards.type-2 * + .block-row {
  margin-top: clamp(0rem, 4.2253521127vw + -0.9903169014rem, 2.8125rem);
  margin-bottom: 40px;
}
@media (min-width: 576px) {
  .block-cards.type-2 * + .block-row {
    margin-bottom: 30px;
  }
}
@media (min-width: 1200px) {
  .block-cards.type-2 * + .block-row {
    margin-bottom: 15px;
  }
}
.block-cards.type-2 .block-row {
  gap: clamp(0.75rem, 0.7511737089vw + 0.573943662rem, 1.25rem);
}
@media (min-width: 576px) {
  .block-cards.type-2 .block-row {
    grid-template-columns: repeat(auto-fit, minmax(33.33%, 1fr));
  }
}
@media (min-width: 1200px) {
  .block-cards.type-2 .block-row {
    grid-template-columns: repeat(auto-fit, minmax(20%, 1fr));
  }
}
.block-cards.type-2 .theme-card img {
  border-radius: 16px;
}
.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: 5px;
}
@media (max-width: 575.98px) {
  .block-cards.type-2 .theme-card .item-main {
    padding: 0 0 0 15px;
    text-align: left;
  }
  .block-cards.type-2 .theme-card img {
    flex: 0 0 140px;
    max-width: 140px;
  }
}
.block-cards .block-cta * + .block-cta-btns {
  margin-top: 20px;
}