/* === Card component copied from your working grid === */

/* Card */
.lg-card {
  position: relative;
  background: #f5f5f5;
  border-radius: 14px;
  overflow: hidden;
  min-height: 190px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.lg-card__head {
  height: 24px;
  background: #676767;
}
.lg-card__body {
  padding: 1rem;
}
.lg-card__title {
  margin: 0 0 0.35rem;
  font-size: 1.125rem;
    color: #676767 !important; 
  font-size: 20px;
  font-weight: 600;
}
.lg-card__excerpt {
  margin: 0;
  color: #676767;
}
.lg-card__link {
  position: absolute;
  inset: 0;
  text-indent: -9999px;
}

/* Round icon badge */
.lg-card__badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #676767;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: 1rem;
  margin-bottom: 1rem;
}
.lg-card__badge-img {
  max-width: 68%;
  max-height: 68%;
  display: block;
  object-fit: contain;
}

/* Families */
.lg-card--initiatives .lg-card__head,
.lg-card--initiatives .lg-card__badge {
  background: #016d89;
}
.lg-card--resources .lg-card__head,
.lg-card--resources .lg-card__badge {
  background: #676767;
}
.lg-card--events .lg-card__head,
.lg-card--events .lg-card__badge {
  background: #bbbf9a;
}

/* Extras your featured layout needs */
.lg-card__media {
  position: relative;
}
.lg-card__img {
  display: block;
  width: 100%;
  height: auto;
}
.lg-card__img--ph {
  width: 100%;
  aspect-ratio: 16/9;
  background: #ececec;
}
.lg-card__badge--over {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
}

.lg-readmore {
  display: inline-block;
  margin-top: 10px;
  padding: 0.6rem 1rem;
  border-radius: 12px;
  background: #016D89;
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  width: 100%;
  text-align: center;

}
.lg-readmore:hover {
  background: #245768;
}

/* Reports box title */
.lg-panel-title {
  font-weight: 600;
  margin: 0 0 8px;
    color: #676767 !important; 
  font-size: 20px ;
}
.lg-report-list {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: 12px !important;
}
.lg-report-item + .lg-report-item {
  margin-top: 10px;
}
.lg-report-link {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  text-decoration: underline !important;
  color: #428DA1 !important;

  
}
.lg-report-ico {
  width: 16px;
  height: 16px;
  margin-top: 3px;
}

/* Event date row */
.lf-event-date {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-weight: 600;
}
.lf-event-date__ico {
  width: 20px;
  height: 20px;
  display: block;
}

/* Featured layout rows */
.lf-row {
  display: grid;
  gap: 1rem;
}
.lf-top {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.lf-mid {
  grid-template-columns: 1fr;
  align-items: start;
  margin-top: 16px;
}
.lf-bottom {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px !important;
}
@media (max-width: 900px) {
  .lf-top,
  .lf-bottom {
    grid-template-columns: repeat(2, 1fr);
  }

}
@media (max-width: 640px) {
  .lf-top,
  .lf-bottom {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 767px) {
      .lf-mid {
    grid-template-columns: 1fr 1fr;
  }
}
