/* Homepage — compact Latest News (1 large + 3 small) */
.rnc-mc-news {
  padding: 3.5rem 0 3.75rem;
  background: #f5f7fb;
}
.rnc-mc-news .container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

.rnc-mc-news__title {
  margin: 0 0 1.5rem;
  font-family: var(--secFont, "Merriweather", Georgia, serif);
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  color: #0b2860;
  position: relative;
  padding-bottom: 0.55rem;
}
.rnc-mc-news__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.75rem;
  height: 3px;
  background: #f6b100;
}

.rnc-mc-news__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(250px, 0.9fr);
  gap: 1.15rem 1.35rem;
  align-items: stretch;
}

.rnc-mc-news__lead {
  display: grid;
  grid-template-rows: auto 1fr;
  background: #fff;
  border: 1px solid #dce3ee;
  min-height: 100%;
  height: 100%;
}
.rnc-mc-news__lead-media {
  display: block;
  overflow: hidden;
  background: #0b2860;
  aspect-ratio: 16 / 10;
  text-decoration: none;
}
.rnc-mc-news__lead-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
  transition: transform 0.5s ease;
}
.rnc-mc-news__lead:hover .rnc-mc-news__lead-media img {
  transform: scale(1.03);
}
.rnc-mc-news__lead-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.15rem 1.25rem 1.25rem;
}
.rnc-mc-news__cat {
  align-self: flex-start;
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background: #0942a2;
  color: #fff;
  font-family: var(--priFont, "Figtree", sans-serif);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1;
}
.rnc-mc-news__cat--sm {
  padding: 0.18rem 0.4rem;
  font-size: 0.6rem;
}
.rnc-mc-news__lead-title {
  margin: 0;
  font-family: var(--priFont, "Figtree", sans-serif);
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.015em;
  color: #142033;
}
.rnc-mc-news__lead-title a,
.rnc-mc-news__item-title a {
  color: inherit;
  text-decoration: none;
}
.rnc-mc-news__lead-title a:hover,
.rnc-mc-news__item-title a:hover {
  color: #0942a2;
}
.rnc-mc-news__excerpt {
  margin: 0;
  font-family: var(--bodyFont, "Open Sans", "Figtree", sans-serif);
  font-size: 0.95rem;
  line-height: 1.55;
  color: #5a6577;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rnc-mc-news__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.75rem;
  font-family: var(--priFont, "Figtree", sans-serif);
  font-size: 0.84rem;
  color: #6b7385;
}
.rnc-mc-news__by {
  font-weight: 700;
  color: #0b2860;
}
.rnc-mc-news__more {
  margin-top: auto;
  align-self: flex-start;
  padding-top: 0.7rem;
  font-family: var(--priFont, "Figtree", sans-serif);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0942a2;
  text-decoration: none;
  border-top: 1px solid #e6ebf2;
  width: 100%;
}

.rnc-mc-news__rail-wrap {
  min-width: 0;
  display: flex;
  height: 100%;
  min-height: 100%;
}
.rnc-mc-news__rail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 100%;
}
.rnc-mc-news__rail > li {
  flex: 1 1 0;
  display: flex;
  min-height: 0;
}
.rnc-mc-news__item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  padding: 0.95rem 1rem;
  background: #fff;
  border: 1px solid #dce3ee;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}
.rnc-mc-news__thumb {
  display: block;
  overflow: hidden;
  width: 120px;
  height: 100%;
  min-height: 96px;
  max-height: 140px;
  align-self: stretch;
  background: #0b2860;
  text-decoration: none;
}
.rnc-mc-news__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
  transition: transform 0.4s ease;
}
.rnc-mc-news__item:hover .rnc-mc-news__thumb img {
  transform: scale(1.04);
}
.rnc-mc-news__item-copy {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  min-width: 0;
}
.rnc-mc-news__item-title {
  margin: 0;
  font-family: var(--priFont, "Figtree", sans-serif);
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.32;
  color: #142033;
}
.rnc-mc-news__item-title a {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rnc-mc-news__item-copy time {
  font-family: var(--priFont, "Figtree", sans-serif);
  font-size: 0.75rem;
  color: #6b7385;
}

.rnc-mc-news__empty {
  margin: 0;
  color: #5a6577;
}
.rnc-mc-news__footer {
  margin-top: 1.5rem;
  text-align: left;
}
.rnc-mc-news__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  background: #0942a2;
  color: #fff !important;
  font-family: var(--priFont, "Figtree", sans-serif);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease;
}
.rnc-mc-news__cta:hover {
  background: #f6b100;
  color: #441d04 !important;
}

@media (prefers-reduced-motion: reduce) {
  .rnc-mc-news__lead-media img,
  .rnc-mc-news__thumb img {
    transition: none;
  }
  .rnc-mc-news__lead:hover .rnc-mc-news__lead-media img,
  .rnc-mc-news__item:hover .rnc-mc-news__thumb img {
    transform: none;
  }
}

/* Tablet: stack lead, keep 3 small in a swipe row */
@media (max-width: 980px) {
  .rnc-mc-news__layout {
    grid-template-columns: 1fr;
  }
  .rnc-mc-news__rail-wrap {
    margin: 0 -20px;
    padding: 0 20px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    height: auto;
    display: block;
  }
  .rnc-mc-news__rail-wrap::-webkit-scrollbar {
    display: none;
  }
  .rnc-mc-news__rail {
    flex-direction: row;
    gap: 0.75rem;
    width: max-content;
    min-width: 100%;
    height: auto;
    padding-bottom: 0.15rem;
  }
  .rnc-mc-news__rail > li {
    flex: 0 0 min(78vw, 280px);
    max-width: 280px;
    display: block;
  }
  .rnc-mc-news__item {
    grid-template-columns: 1fr;
    height: auto;
    align-items: start;
  }
  .rnc-mc-news__thumb {
    width: 100%;
    height: auto;
    max-height: none;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 640px) {
  .rnc-mc-news {
    padding: 2.5rem 0 2.75rem;
  }
  .rnc-mc-news__rail > li {
    flex-basis: min(84vw, 260px);
  }
  .rnc-mc-news__excerpt {
    -webkit-line-clamp: 2;
  }
}
