/* ═══════════════════════════════════════════════════
   news-conferences.css
   BestDoctorsIn — News & Conferences Section
   <link rel="stylesheet" href="news-conferences.css"/>
═══════════════════════════════════════════════════ */

/* ── Section ── */
.nc-section {
  padding: 72px 0 80px;
  background: #ffffff;
}

/* ── Header ── */
.nc-header {
  text-align: center;
  margin-bottom: 48px;
}

.nc-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

/* Red dot underline — matches screenshot exactly */
.nc-title-underline {
  display: block;
  width: 48px;
  height: 3px;
  background: #e63946;
  border-radius: 2px;
  margin: 0 auto;
  position: relative;
}

.nc-title-underline::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  background: #e63946;
  border-radius: 50%;
}

/* ── 3-column grid ── */
.nc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1060px;
  margin: 0 auto 40px;
}

/* ── Card ── */
.nc-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  border: 1px solid #e9ecef;
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.nc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.13);
}

/* ── Image wrap ── */
.nc-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #d1d5db;
}

.nc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.38s ease;
}

.nc-card:hover .nc-img {
  transform: scale(1.05);
}

/* Subtle dark gradient at bottom of image */
.nc-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 55%,
    rgba(0,0,0,0.25) 100%
  );
  pointer-events: none;
}

/* ── Card body ── */
.nc-card-body {
  padding: 14px 16px 16px;
  border-top: 1px solid #f0f0f0;
}

.nc-card-title {
  font-size: 14.5px;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0;
  line-height: 1.45;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Footer "View All" button ── */
.nc-footer {
  text-align: center;
}

.nc-view-all-btn {
  display: inline-block;
  background: #c0392b;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 36px;
  border-radius: 6px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.22s ease, transform 0.22s ease;
}

.nc-view-all-btn:hover {
  background: #a93226;
  transform: translateY(-2px);
  color: #fff;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 768px) {
  .nc-section {
    padding: 48px 0 56px;
  }

  .nc-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    gap: 18px;
  }

  .nc-img-wrap {
    aspect-ratio: 16 / 9;
  }
}

@media (min-width: 769px) and (max-width: 960px) {
  .nc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
