@charset "utf-8";

/* GRID WRAPPER */
.cards-grid {
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    /*padding: 0 20px;*/
    display: grid;
    gap: 28px 34px;
    margin-top: 0px;
}

/* =========================
   DESKTOP
   ========================= */

.cards-grid.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.cards-grid.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards-grid.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

/* =========================
   ≤1200px
   ========================= */

@media (max-width: 1200px) {

  .cards-grid.grid-4 {
    grid-template-columns: repeat(2, 1fr); /* 2x2 */
  }

  .cards-grid.grid-3 {
    grid-template-columns: repeat(3, 1fr); /* stays 3 */
  }

  .cards-grid.grid-2 {
    grid-template-columns: repeat(2, 1fr); /* stays 2 */
  }

}

/* =========================
   ≤700px
   ========================= */

@media (max-width: 750px) {

  .cards-grid.grid-4 {
    grid-template-columns: 1fr;
  }

  .cards-grid.grid-3 {
    grid-template-columns: 1fr;
  }

  .cards-grid.grid-2 {
    grid-template-columns: 1fr;
  }
    
    .cards-grid.image-right .card:first-child {
    order: 2;
  }

  .cards-grid.image-right .card:last-child {
    order: 1;
  }

}

/* =========================
   ≤481px (same as 700 but kept for consistency)
   ========================= */

@media (max-width: 481px) {

  .cards-grid.grid-4,
  .cards-grid.grid-3,
  .cards-grid.grid-2 {
    grid-template-columns: 1fr;
  }

}

/* =========================
   CARD STYLE
   ========================= */

.card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* IMAGE */
.card img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;   
}
    
/* ICON VERSION (keeps natural size) */
.card.icon img {
  height: 95px;        /* control icon size */
  width: auto;
  max-width: 100%;     /* safety */
  display: block;
  margin: 30px auto 0px; 
}    

/* CONTENT */
.card-content {
    padding-top: 40px;
    padding-right: 40px;
    padding-left: 40px;
    padding-bottom: 40px;
}

.card-content h3 {
  margin: 0 0 12px;
}

.card-content p {
  margin: 0;
  font-size: 18px;
  line-height: 26px;
margin-bottom: 10px;    
}

.card-content p strong {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
}

.card-content {
    padding-top: 40px;
    padding-right: 40px;
    padding-left: 40px;
    padding-bottom: 40px;
}

.card.no-shadow {
  box-shadow: none;
}

.card.no-padding .card-content {
  padding-top: 0;
padding-bottom: 0;    
}

.card-content ul {
  list-style: none;
  padding-left: 0;
  margin: 15px 0;
}

.card-content ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}

.card-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  background: #2b353f;
  border-radius: 50%;
}



@media (max-width: 1200px) {
  .card.no-padding .card-content {
    padding: 0 0 40px 0; /* top right bottom left */
  }
}


@media (max-width: 750px) {
  .card.no-padding .card-content {
    padding: 0 0 0 0;
  }
.min400 {
    min-height: 400px;
  }
}


@media (max-width: 481px) {
.min400 {
    min-height: 300px;
  }
}

