/* ==========================================================================
   News page — blog-style timeline cards
   ========================================================================== */

.news-wrap {
  max-width: 100%;
  margin: 0 auto;
}

.news-card {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
  padding: 1.5rem 2rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  background: #fff;
  transition: box-shadow 0.2s ease;
}

.news-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
}

/* Date column (left) */
.news-date {
  flex-shrink: 0;
  width: 70px;
  text-align: center;
  padding-top: 0.2rem;
}

.news-date-day {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  color: #2c3e50;
}

.news-date-month {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #888;
  margin-top: 4px;
}

/* Content column (center) */
.news-content {
  flex: 1;
  min-width: 0;
}

.news-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 0.5rem 0;
  line-height: 1.4;
}

.news-title a {
  color: #222;
  text-decoration: none;
}

.news-title a:hover {
  color: #0085A1;
  text-decoration: underline;
}

/* Tags */
.news-tags {
  margin-bottom: 0.6rem;
}

.news-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 999px;
  background: #eaf4f8;
  color: #2c3e50;
  margin-right: 6px;
}

/* Description */
.news-description {
  margin: 0 0 0.6rem 0;
  color: #444;
  line-height: 1.7;
  font-size: 0.98rem;
}

/* Read more link */
.news-read-more {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0085A1;
  text-decoration: none;
}

.news-read-more:hover {
  text-decoration: underline;
}

.news-read-more i {
  font-size: 0.75rem;
  margin-left: 4px;
}

/* Image column (right) */
.news-image {
  flex-shrink: 0;
  width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  object-fit: cover;
}

/* Hide the empty image column when no image is provided */
.news-image:empty {
  display: none;
}

/* Mobile */
@media (max-width: 600px) {
  .news-card {
    flex-direction: column;
    gap: 0.8rem;
    padding: 1rem 1.2rem;
  }

  .news-date {
    width: auto;
    text-align: left;
    display: flex;
    align-items: baseline;
    gap: 8px;
  }

  .news-date-day {
    font-size: 1.4rem;
  }

  .news-date-month {
    margin-top: 0;
  }

  .news-image {
    width: 100%;
    max-width: 250px;
  }
}
