html {
  scroll-behavior: smooth;
}

.widget-stc {
  padding: 32px 0;
  font-family: "Nunito Sans", sans-serif;
  background-color: #F4F4F4;
  color: #383838;
  overflow: hidden;
}
.widget-stc section {
  margin: 0;
  padding: 0;
}
.widget-stc a {
  color: #2E3192;
  text-decoration: underline;
  font-weight: 700;
}
.widget-stc .f-domine {
  font-family: "Domine", serif;
}
.widget-stc .f-serif {
  font-family: "PT Serif", serif;
}
.widget-stc .f-sans {
  font-family: "Nunito Sans", sans-serif;
}
.widget-stc .container {
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .widget-stc .container {
    padding: 0 16px;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .widget-stc .container {
    padding: 0 16px;
  }
}
.widget-stc ul.widget-stc__list {
  padding: 0 16px;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 767px) {
  .widget-stc ul.widget-stc__list {
    grid-template-columns: repeat(1, 1fr);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .widget-stc ul.widget-stc__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
.widget-stc ul.widget-stc__list li {
  list-style: none;
  border: 1px solid #DFDFDF;
  border-radius: 8px;
  background-color: #FFF;
  overflow: hidden;
  margin: 0;
  padding: 0;
}
.widget-stc ul.widget-stc__list li a {
  display: block;
  text-decoration: none;
  color: #000;
}
.widget-stc ul.widget-stc__list li a figure {
  position: relative;
  margin: 0;
  padding: 0;
  width: 100%;
  padding-top: 75%;
  height: 0;
  overflow: hidden;
}
.widget-stc ul.widget-stc__list li a figure::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%; /* only cover bottom 20% */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  pointer-events: none; /* so clicks still work */
  z-index: 1;
}
.widget-stc ul.widget-stc__list li a figure img {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  object-position: center;
  object-fit: cover;
  transition: all 0.3s ease;
}
.widget-stc ul.widget-stc__list li a figure figcaption {
  position: absolute;
  padding: 16px;
  color: #FFF;
  font-size: 20px;
  line-height: 22px;
  font-weight: 600;
  z-index: 2;
  text-align: center;
  bottom: 0;
  width: 100%;
}
.widget-stc ul.widget-stc__list li a figure:hover img {
  transform: scale(1.05);
}
.widget-stc ul.widget-stc__list li a .widget-stc__caption {
  padding: 16px;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}
.widget-stc ul.widget-stc__list li a .widget-stc__caption h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  line-height: 1.3;
}
.widget-stc ul.widget-stc__list li a .widget-stc__caption h3 small {
  font-size: 18px;
  font-weight: 400;
}
.widget-stc ul.widget-stc__list li a .widget-stc__caption h3 span {
  font-size: 24px;
  font-weight: 700;
}
.widget-stc ul.widget-stc__list li a .widget-stc__cta {
  margin-bottom: 0;
  font-size: 18px;
  padding: 12px;
  text-align: center;
  background-color: #2E3192;
  color: #FFF;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}
.widget-stc ul.widget-stc__list li a .widget-stc__cta::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transition: transform 0.2s ease;
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
  transition: all 0.3s ease;
}
.widget-stc ul.widget-stc__list li a .widget-stc__cta:hover {
  background-color: rgb(33.78125, 35.984375, 107.21875);
}
.widget-stc ul.widget-stc__list li a .widget-stc__cta:hover::after {
  right: 16px;
}