/* Home Title */
.home-text-title{
    margin: 120px auto 20px;
}

.home-text-title h2 {
  font-size: 52px;
  font-size: 5.2rem;
  color: #2e536e;
}

/* Container Styling */
.widget--list-items {
  margin: 60px auto;
  max-width: 1640px;
  padding: 0 20px;
  text-align: center;
}

/* Responsive Flex Layout */
.list-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 40px 20px;
}

/* Card Style for Each Item */
.list-items__item {
  flex: 1 1 250px;
  max-width: 300px;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.list-items__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}


/* Headline */
.widget--list-items h4 {
  font-size: 20px;
  font-weight: 600;
  color: #472c24;
    margin: 15px auto;
}

/* Paragraph */
.widget--list-items p {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  margin: 0 auto;
}

/* Default: 3 items per row on screens ≥1440px */
.list-items__item {
    flex: 1 1 calc(33.33% - 20px);
    max-width: calc(33.33% - 20px);
}


.widget--list-items.more--items .list-items__item {
    flex: 1 1 calc(20% - 20px);
    max-width: calc(20% - 20px);
}

/* 1025px to 1439px: 3 items per row */
@media (max-width: 1439px) {
  .list-items__item {
    flex: 1 1 calc(33.33% - 20px);
    max-width: calc(33.33% - 20px);
  }
}

/* 769px to 1024px: 2 items per row */
@media (max-width: 1024px) {
  .list-items__item,
   .widget--list-items.more--items .list-items__item {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}


/* ≤768px: 1 item per row (stacked) */
@media (max-width: 768px) {
  .list-items__item,
    .widget--list-items.more--items .list-items__item {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

@media (max-width: 1439px) and (min-width: 1025px) {
  .list-items {
    justify-content: center;
  }
}




.custom-code .widget.image-heading4-text .main-content .widget:after {
    clear: none;
}

@media (max-width: 1399px) {
  .widget.opt-wrap-image-removed .main-content {
    padding: 50px!important;
  }
}



@media (max-width: 767px) {
  .widget.opt-wrap-image-removed .main-content {
    padding: 0px!important;
  }
}