#cards_landscape_wrap-2 {
  text-align: center;
  /*background: #F7F7F7;*/
}
#cards_landscape_wrap-2 a {
  text-decoration: none;
  outline: none;
}

#cards_landscape_wrap-2 .row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -12px;
  margin-right: -12px;
}

#cards_landscape_wrap-2 .row > [class*="col-"] {
  display: flex;
  padding-left: 12px;
  padding-right: 12px;
  margin-bottom: 24px;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  #cards_landscape_wrap-2 .row > .col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  #cards_landscape_wrap-2 .row > .col-md-3 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}
@media (min-width: 576px) and (max-width: 767.98px) {
  #cards_landscape_wrap-2 .row > .col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}
@media (max-width: 575.98px) {
  #cards_landscape_wrap-2 .row > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

#cards_landscape_wrap-2 .card-flyer {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 420px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0,0,0,.18);
  transition: box-shadow .2s ease, transform .2s ease;
}
#cards_landscape_wrap-2 .card-flyer:hover {
  box-shadow: 0 16px 28px rgba(0,0,0,.28);
  transform: translateY(-2px);
}

/* ---- IMAGE ---- */
#cards_landscape_wrap-2 .card-flyer .image-box {
  background: #fff;
  overflow: hidden;
}
#cards_landscape_wrap-2 .card-flyer .image-box img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  transition: transform .9s ease, opacity .9s ease;
}
#cards_landscape_wrap-2 .card-flyer:hover .image-box img {
  opacity: .9;
  transform: scale(1.08);
}

/* ---- TEXT ---- */
#cards_landscape_wrap-2 .card-flyer .text-box {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  text-align: center;
  position: relative; /* added: anchor for absolute bottom bar */
}

#cards_landscape_wrap-2 .card-flyer .text-box .text-container {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 16px 16px 8px;
  gap: 6px;
  padding-bottom: 62px; /* added: reserves space for full-width bottom bar */
}

#cards_landscape_wrap-2 .card-flyer .text-box h6 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .5px;
  /*text-transform: uppercase;*/
  color: #ba0c2f;
}
#cards_landscape_wrap-2 .card-flyer .text-box h6 a {
  color: #ba0c2f;
  text-decoration: none;
}
#cards_landscape_wrap-2 .card-flyer .text-box h6 a:hover,
#cards_landscape_wrap-2 .card-flyer .text-box h6 a:focus {
  text-decoration: underline;
}

#cards_landscape_wrap-2 .card-flyer .text-box p {
  margin: 6px 0;
  font-size: 14px;
  line-height: 1.5;
  color: #000;
  overflow-wrap: anywhere;
}
#cards_landscape_wrap-2 .card-flyer .text-box p:last-of-type {
  margin-bottom: 0;
}

#cards_landscape_wrap-2 .card-cta {
  display: inline-block;
  font-weight: 700;
  color: #007a86;
  margin-top: 4px;
}
#cards_landscape_wrap-2 .card-cta .fa {
  margin-left: 6px;
}

@media (max-width: 576px) {
  #cards_landscape_wrap-2 .card-flyer {
    min-height: auto;
  }
  #cards_landscape_wrap-2 .card-flyer .image-box img {
    height: 170px;
  }
}

#cards_landscape_wrap-2 .row.d-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

/* Keep this (it may still be used elsewhere), but remove button look */
.card-cta {
  display: inline-block;
  font-weight: 700;
  color: #007a86;
  background: transparent;
  padding: 0;
  border-radius: 0;
  margin-top: 4px;
  transition: none;
}
.card-cta:hover,
.card-cta:focus {
  color: #007a86;
  background: transparent;
  transform: none;
}
.card-cta i {
  color: #007a86;
}

/* Full-width Explore bar pinned to bottom of the card */
.card-explore-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  background-color: #007a86; /* requested color */
  text-align: center;
  padding: 14px 10px;
  margin: 0;
  width: 100%;
  border-radius: 0 0 10px 10px; /* matches card-flyer radius */
}

/* Explore link styling */
.card-explore-bar a {
  color: #ffffff !important;
  font-weight: 600;
  text-decoration: none;
  display: block;
  width: 100%;
}

/* Ensure icon stays white */
.card-explore-bar i {
  color: #ffffff !important;
}

/* Hover state */
.card-explore-bar:hover,
.card-explore-bar:focus-within {
  background-color: #006b75; /* slightly darker for hover */
}
