/*
 * 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
 */
.page-main {
  padding-top: clamp(1.875rem, 1.4084507042vw + 1.5448943662rem, 2.8125rem);
  padding-bottom: clamp(1.875rem, 1.4084507042vw + 1.5448943662rem, 2.8125rem);
}

.post-content .wp-block-heading {
  padding-bottom: 0;
  border-bottom: 0;
}

.block-blog-header {
  padding-top: clamp(0rem, 3.7558685446vw + -0.8802816901rem, 2.5rem);
  padding-bottom: clamp(2.1875rem, 1.4084507042vw + 1.8573943662rem, 3.125rem);
}
.block-blog-header .post-title {
  margin-bottom: clamp(1.25rem, 0.4694835681vw + 1.1399647887rem, 1.5625rem);
  font-size: clamp(1.25rem, 1.25rem + (1vw - 0.36rem) * 1.852, 2.25rem); /* 20px - 36px */
}

.block-cta {
  margin-bottom: 30px;
}
.block-cta .row > .content {
  width: auto;
}
.block-cta .wrap {
  display: block !important;
  padding-top: clamp(1.875rem, 1.4084507042vw + 1.5448943662rem, 2.8125rem);
  padding-bottom: clamp(1.875rem, 1.8779342723vw + 1.4348591549rem, 3.125rem);
  padding-left: clamp(0.9375rem, 1.4084507042vw + 0.6073943662rem, 1.875rem);
  padding-right: clamp(0.9375rem, 1.4084507042vw + 0.6073943662rem, 1.875rem);
}
.block-cta .content > * {
  margin-bottom: clamp(0.9375rem, 1.8779342723vw + 0.4973591549rem, 2.1875rem);
}

.latest-articles .post-item {
  margin-bottom: 20px;
  border: 1px solid var(--bs-color-3);
  color: var(--bs-color-2);
}
.latest-articles .post-item:hover {
  color: var(--bs-color-3);
}
.latest-articles .post-item .post-img {
  width: 160px;
  height: 150px;
  object-fit: cover;
  object-position: center;
}
@media (min-width: 1440px) {
  .latest-articles .post-item .post-img {
    width: 220px;
    height: 165px;
  }
}
.latest-articles .post-item .post-main {
  padding: 15px 15px;
}