/* ============================================= */
/* IN THE NEWS — Stylesheet                      */
/* ============================================= */

/* --- Hero Section - Centered Layout --- */
.in-the-news-hero {
  min-height: 35vh;
  display: flex;
  align-items: center;
  justify-content: center;
}









/* --- News Cards Section - White Background --- */
.in-the-news-section {
  background: #ffffff;
  padding: 60px 0;
}

/* --- Exhibition & News Cards --- */
.exh-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.exh-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e8eaed;
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.exh-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.exh-card .exh-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #f8f9fa;
}

.exh-card .exh-image.logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
}

.exh-card .exh-image.logo-card img {
  max-height: 100px;
  width: auto;
  object-fit: contain;
}

.exh-card .exh-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.exh-card .exh-description {
  font-size: 15px;
  color: #333;
  line-height: 1.6;
  margin: 0 0 12px 0;
  font-family: 'DM Sans', sans-serif;
  flex: 1;
}

.exh-card .exh-link {
  font-size: 14px;
  color: #264D77;
  font-weight: 600;
  margin-top: auto;
}

/* --- Item Links --- */
.exh-item-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s, box-shadow 0.3s;
}

.exh-item-link:hover {
  transform: translateY(-2px);
}

.exh-item-link:hover .exh-card {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.exh-item-link .exh-card {
  transition: all 0.3s;
  cursor: pointer;
}

.exh-item-link .exh-card .exh-description,
.exh-item-link .exh-card .exh-link {
  pointer-events: none;
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .exh-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .in-the-news-hero {
    min-height: 40vh;
    padding: 60px 0 40px;
    margin-top: 56px;
  }
  
  .in-the-news-section {
    padding: 40px 0;
  }
  
  .exh-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .exh-card .exh-image {
    height: 160px;
  }
  
  .exh-card .exh-image.logo-card {
    padding: 20px 15px;
  }
  
  .exh-card .exh-image.logo-card img {
    max-height: 70px;
  }
}

@media (max-width: 480px) {
  .exh-card .exh-image {
    height: 140px;
  }
  
  .exh-card .exh-image.logo-card {
    padding: 16px 12px;
  }
  
  .exh-card .exh-image.logo-card img {
    max-height: 50px;
  }
}

/* --- Year-grouped news list (archive) --- */
.news-year-group { max-width: 900px; margin: 0 auto 48px; }
.news-year-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #142D47;
  border-bottom: 2px solid #e0e4e8;
  padding-bottom: 12px;
  margin-bottom: 8px;
}
.news-year-list { list-style: none; padding: 0; margin: 0; }
.news-year-list li { border-bottom: 1px solid #eee; }
.news-year-list li:last-child { border-bottom: none; }
.news-year-list a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 4px;
  text-decoration: none;
  color: inherit;
  flex-wrap: wrap;
}
.news-year-list a:hover { background: #f7f8fa; }
.news-year-outlet {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: #264D77;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  min-width: 170px;
  flex-shrink: 0;
}
.news-year-desc { font-size: 15px; color: #333; flex: 1; }
@media (max-width: 600px) {
  .news-year-list a { flex-direction: column; gap: 4px; }
  .news-year-outlet { min-width: 0; }
}

/* --- News Hero: Bigger button to match care-platform feel --- */
.in-the-news-hero .btn-lg {
  padding: 18px 60px;
  font-size: 18px;
}
