/* =========================================================
   News Page Styles — FULL UPDATED
   Refinements applied to FIRST section (News & Events) only
   - fixes grid conflict (no more horizontal auto-flow)
   - cleaner typography + spacing
========================================================= */

/* --------------------------
   Breadcrumb (kept as-is)
--------------------------- */
.breadcrumb {
  width: 100%;
  max-width: 1200px;
  margin: 20px 0px 10px;
  padding-left: 40px;
  /* keeps it aligned left with header text */
  font-size: 16px;
  color: #5a6675;
  letter-spacing: 0.2px;
}

.breadcrumb a {
  text-decoration: none;
  color: #5a6675;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: #c62828;
  /* red hover accent */
}

.breadcrumb span {
  margin: 0 6px;
  color: #9aa3af;
}

.breadcrumb .current {
  color: #0c1a2a;
  font-weight: 500;
}

/* =========================================================
   FIRST SECTION ONLY — News & Events (refined)
========================================================= */

/* Container + header */
.news.wrap {
  max-width: 1280px;
  margin: 80px auto;
  padding: 0 28px;
}

.news__head {
  text-align: center;
}

.news__head h2 {
  margin: 0;
  /* premium */
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: clamp(28px, 4vw, 42px);
  color: #0c1a2a;
}

.news__head .underline {
  display: inline-block;
  width: 64px;
  height: 3px;
  background: rgba(12, 26, 42, .85);
  border-radius: 999px;
  margin: 12px auto 0;
}

.news__head p {
  margin: 12px auto 0;
  color: rgba(12, 26, 42, .72);
  max-width: 820px;
  line-height: 1.7;
}

/* thin divider between header and items */
.news__divider {
  height: 1px;
  background: rgba(12, 26, 42, .12);
  margin: 22px 0 30px;
  border-radius: 1px;
}

/* CLEAN grid (normal grid, no horizontal scroll) */
.news__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

@media (max-width: 920px) {
  .news__grid {
    grid-template-columns: 1fr;
  }
}

/* Item (frameless but structured) */
.news-item {
  background: transparent;
}

/* Media */
.news-item__media {
  display: block;
  aspect-ratio: 16 / 7;
  /* 👈 slimmer, more editorial */
  overflow: hidden;
  border-radius: 12px;
  background: #eef2f7;
  border: 1px solid rgba(12, 26, 42, .08);
}


.news-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}

.news-item__media img.logo{
  object-fit:contain;  
  background: #fff;
  padding: 30px;
  height: 270px;;
}

.news-item:hover .news-item__media img {
  transform: scale(1.06);
}

/* Title */
.news-item h3 {
  margin: 14px 0 6px;
  font-weight: 600;
  font-size: 1.10rem;
  line-height: 1.28;
  letter-spacing: -0.01em;
}

.news-item h3 a {
  color: #0c1a2a;
  text-decoration: none;
}

.news-item h3 a:hover {
  color: #c62828;
}

/* Excerpt */
.news-item .excerpt {
  color: rgba(12, 26, 42, .72);
  margin: 0 0 12px;
  line-height: 1.65;
}

/* animated underline link */
.read {
  position: relative;
  display: inline-block;
  font-weight: 800;
  color: #0c1a2a;
  text-decoration: none;
  padding-bottom: 2px;
}

.read::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: #c62828;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.news-item:hover .read::after,
.read:focus-visible::after {
  transform: scaleX(1);
}

.read:hover {
  color: #c62828;
}

.read:focus-visible {
  outline: 2px solid rgba(198, 40, 40, .35);
  outline-offset: 3px;
}

/* =========================================================
   Reveal (kept as-is)
========================================================= */

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: none;
}