/* ============================================= */
/* NEWS — Stylesheet                             */
/* ============================================= */

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

>>>>>>> cf461c7 (Hero restyle: news/in-the-news centered layout, btn-secondary border fix, style.css v8, contact form v2, hero-centered flexbox)
/* --- Section Titles --- */
.section-title {
  font-size: 28px;
  font-weight: 700;
  color: #142D47;
  font-family: 'Poppins', sans-serif;
  text-align: left;
}

/* --- Alternating Section Backgrounds --- */
.news-section-white {
  background: #ffffff;
  padding: 60px 0;
}

.news-section-grey {
  background: #f7f8fa;
  padding: 60px 0;
}

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

.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: 200px;
  overflow: hidden;
  background: #f0f2f5;
}

.exh-card .exh-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Logo Cards - Specific styling */
.exh-card .exh-image.logo-card {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
}

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

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

.exh-card .exh-label {
  font-size: 12px;
  color: #264D77;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.exh-card .exh-title {
  font-size: 16px;
  color: #142D47;
  font-weight: 600;
  margin: 0 0 12px 0;
  line-height: 1.4;
  font-family: 'Poppins', sans-serif;
}

.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-title,
.exh-item-link .exh-card .exh-link,
.exh-item-link .exh-card .exh-description {
  pointer-events: none;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
}

.btn-primary {
  background: #264D77;
  color: #fff;
}

.btn-primary:hover {
  background: #142D47;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(38, 77, 119, 0.3);
}

.btn-light-text {
  color: #fff;
}

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

@media (max-width: 768px) {
  .news-hero {
    min-height: 50vh;
    padding: 60px 0 40px;
    margin-top: 56px;
  }
  
<<<<<<< HEAD
  .news-hero-subtitle {
    max-width: 100%;
    font-size: 16px;
    margin-bottom: 10px;
  }
  
  .news-hero-btn {
    padding: 16px 48px !important;
    min-width: 180px !important;
  }
  
  .news-hero-title {
    font-size: 26px;
    margin-bottom: 2px;
  }
  
  .exh-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .section-title {
    font-size: 24px;
    text-align: center;
  }
  
  .news-section-white,
  .news-section-grey {
    padding: 40px 0;
  }
}

@media (max-width: 480px) {
<<<<<<< HEAD
  .news-hero-title {
    font-size: 22px;
    margin-bottom: 2px;
  }
  
  .news-hero-subtitle {
    font-size: 14px;
    margin-bottom: 8px;
  }
  
  .news-hero-btn {
    padding: 14px 36px !important;
    font-size: 14px !important;
    min-width: 160px !important;
  }
  
=======
>>>>>>> cf461c7 (Hero restyle: news/in-the-news centered layout, btn-secondary border fix, style.css v8, contact form v2, hero-centered flexbox)
  .exh-card .exh-image {
    height: 160px;
  }
  
  .exh-card .exh-image.logo-card {
    padding: 20px 15px;
  }
  
  .exh-card .exh-image.logo-card img {
    max-height: 50px;
  }
}
/* --- News Hero Bigger Button --- */
.news-hero .btn-lg {
  padding: 18px 60px;
  font-size: 18px;
}
