/* =========================================================
   NEWS UI 2.0 — POLISH 05
   ========================================================= */

.newsIndex--ui2,
.newsShow--ui2 {
  width: min(1320px, calc(100% - 40px));
  max-width: none;
  margin: 0 auto;
  padding-bottom: 70px;
}

/* TOP */
.newsTop--ui2 {
  min-height: 168px;
  display: flex;
  align-items: flex-end;
  margin: 24px 0 14px;
  padding: 30px 34px;
  overflow: hidden;
  border-radius: 28px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(2,31,23,.97) 0%, rgba(3,52,39,.90) 48%, rgba(3,52,39,.38) 100%),
    url('/assets/images/heroes/hero-news.jpeg') center 54% / cover no-repeat;
  box-shadow: 0 18px 48px rgba(4,45,33,.10);
}

.newsTop__eyebrow,
.newsExplore__eyebrow,
.newsArticleAside__eyebrow {
  display: block;
  margin-bottom: 6px;
  color: rgba(255,255,255,.66);
  font-size: 8px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.newsTop--ui2 h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(40px,4.2vw,58px);
  line-height: .92;
  letter-spacing: -.055em;
}

.newsTop--ui2 p {
  max-width: 620px;
  margin: 12px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  line-height: 1.5;
}

/* EXPLORE FILTER */
.newsExplore {
  margin-bottom: 22px;
  padding: 14px 16px;
  border: 1px solid rgba(10,63,47,.08);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(20,126,89,.07), transparent 30%),
    #fff;
  box-shadow: 0 12px 34px rgba(4,45,33,.05);
}

.newsExplore > summary {
  list-style: none;
}

.newsExplore > summary::-webkit-details-marker {
  display: none;
}

.newsExplore__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  user-select: none;
}

.newsExplore__eyebrow {
  color: #167054;
  margin-bottom: 4px;
}

.newsExplore__summary strong {
  color: #0a3024;
  font-size: 16px;
  font-weight: 950;
  letter-spacing: -.025em;
}

.newsExplore__toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 9px;
  border-radius: 10px;
  color: #49665c;
  background: #f0f5f2;
  font-size: 9px;
  font-weight: 900;
}

.newsExplore__toggle b {
  font-size: 14px;
  transform: rotate(0deg);
  transition: transform .18s ease;
}

.newsExplore[open] .newsExplore__toggle b {
  transform: rotate(180deg);
}

.newsExplore__close {
  display: none;
}

.newsExplore[open] .newsExplore__open {
  display: none;
}

.newsExplore[open] .newsExplore__close {
  display: inline;
}

.newsExplore__body {
  display: grid;
  gap: 13px;
  padding-top: 13px;
}

.newsExplore__group {
  display: grid;
  gap: 7px;
}

.newsExplore__label {
  color: #68776f;
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.newsExplore__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.newsExploreChip {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  color: #38574b;
  background: #eef4f1;
  font-size: 9px;
  font-weight: 850;
  text-decoration: none;
}

.newsExploreChip.is-active {
  color: #fff;
  background: #0c6549;
}

.newsExploreChip--tag {
  color: #59655f;
  background: #f4f6f5;
}

.newsExplore__clear {
  justify-self: start;
  color: #0d674b;
  font-size: 9px;
  font-weight: 900;
  text-decoration: none;
}

/* LEAD STORY */
.newsLead {
  margin-bottom: 28px;
  overflow: hidden;
  border: 1px solid rgba(9,57,42,.07);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(4,45,33,.07);
}

.newsLead__link {
  display: grid;
  grid-template-columns: minmax(0,1.12fr) minmax(340px,.88fr);
  min-height: 430px;
  color: inherit;
  text-decoration: none;
}

.newsLead__media {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: #073225;
}

.newsLead__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 68%, rgba(0,0,0,.08));
  pointer-events: none;
}

.newsLead__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}

.newsLead:hover .newsLead__media img {
  transform: scale(1.025);
}

.newsLead__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 38px;
}

.newsLead__meta,
.newsCard--ui2 .newsCard__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
}

.newsLead__meta span,
.newsCard__category {
  color: #0e684d;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.newsLead__meta time,
.newsCard--ui2 .newsCard__date {
  color: #7a8680;
  font-size: 10px;
  font-weight: 750;
}

.newsLead h2 {
  margin: 0;
  color: #082c21;
  font-size: clamp(34px,3.7vw,56px);
  line-height: .95;
  letter-spacing: -.055em;
}

.newsLead p {
  margin: 18px 0 0;
  color: #65736d;
  font-size: 14px;
  line-height: 1.6;
}

.newsLead__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: #0c6549;
  font-size: 11px;
  font-weight: 950;
}

.newsLead__cta b {
  font-size: 15px;
}

/* SECTION HEAD */
.newsSectionHead--ui2 {
  margin: 0 0 14px;
}

.newsSectionHead--ui2 span {
  margin-bottom: 3px;
  font-size: 8px;
}

.newsSectionHead--ui2 h2 {
  font-size: 30px;
}

.newsSectionHead--ui2 > strong {
  color: #6b7872;
  font-size: 10px;
  font-weight: 800;
}

/* GRID + CARDS */
.newsGrid.newsGrid--ui2 {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px;
}

.newsCard.newsCard--ui2 {
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(7,51,36,.045);
  transform: none;
}

.newsCard.newsCard--ui2:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(7,51,36,.08);
}

.newsCard--ui2 .newsCard__media {
  aspect-ratio: 16 / 9;
}

.newsCard--ui2 .newsCard__body {
  gap: 10px;
  padding: 19px 20px 20px;
}

.newsCard--ui2 .newsCard__meta {
  justify-content: space-between;
  margin-bottom: 2px;
}

.newsCard--ui2 h3 {
  font-size: clamp(22px,2vw,29px);
  line-height: 1;
}

.newsCard--ui2 p {
  font-size: 12px;
  line-height: 1.55;
}

.newsCard--ui2 .newsCard__cta {
  margin-top: 4px;
  font-size: 10px;
}

.newsPagination--ui2 {
  margin-top: 32px;
}

/* EMPTY */
.newsEmpty--ui2 {
  padding: 60px 24px;
  border: 1px solid rgba(7,51,36,.06);
  border-radius: 22px;
}

.newsEmpty--ui2 > span {
  display: block;
  margin-bottom: 7px;
  color: #167054;
  font-size: 8px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.newsEmpty--ui2 h2 {
  font-size: 30px;
}

.newsEmpty--ui2 a {
  display: inline-flex;
  margin-top: 16px;
  color: #0c6549;
  font-weight: 900;
  text-decoration: none;
}

/* ARTICLE */
.newsBreadcrumbs--ui2 {
  margin: 20px 0 12px;
  padding-inline: 2px;
  font-size: 10px;
}

.newsArticleHero {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border-radius: 28px;
  background: #052d21;
  box-shadow: 0 18px 48px rgba(4,45,33,.10);
}

.newsArticleHero__media {
  position: absolute;
  inset: 0;
}

.newsArticleHero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.newsArticleHero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3,24,18,.94) 0%, rgba(3,24,18,.78) 42%, rgba(3,24,18,.25) 78%),
    linear-gradient(0deg, rgba(0,0,0,.35), transparent 60%);
}

.newsArticleHero__content {
  position: absolute;
  left: 38px;
  right: 38px;
  bottom: 34px;
  z-index: 2;
  max-width: 800px;
  color: #fff;
}

.newsArticleHero__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
}

.newsArticleHero__meta span {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  font-size: 8px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.newsArticleHero__meta time {
  color: rgba(255,255,255,.76);
  font-size: 10px;
  font-weight: 800;
}

.newsArticleHero h1 {
  max-width: 920px;
  margin: 0;
  color: #fff;
  font-size: clamp(42px,5vw,72px);
  line-height: .92;
  letter-spacing: -.055em;
}

.newsArticleHero p {
  max-width: 700px;
  margin: 17px 0 0;
  color: rgba(255,255,255,.80);
  font-size: 14px;
  line-height: 1.55;
}

.newsArticleLayout.newsArticleLayout--ui2 {
  grid-template-columns: minmax(0,1fr) 260px;
  gap: 22px;
  margin-top: 18px;
}

.newsArticleMain--ui2 {
  min-width: 0;
}

.newsArticleBody {
  padding: 38px 42px;
  border: 1px solid rgba(7,51,36,.07);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(7,51,36,.045);
}

.newsProse.newsProse--ui2 {
  max-width: 780px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.85;
}

.newsProse--ui2 p:last-child {
  margin-bottom: 0;
}

.newsArticleSidebar--ui2 {
  top: 88px;
  gap: 12px;
}

.newsArticleAside {
  padding: 17px;
  border: 1px solid rgba(7,51,36,.06);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(7,51,36,.04);
}

.newsArticleAside--dark {
  color: #fff;
  border: 0;
  background: linear-gradient(145deg,#073d2e,#075b42);
}

.newsArticleAside__eyebrow {
  color: #157253;
}

.newsArticleAside--dark .newsArticleAside__eyebrow {
  color: rgba(255,255,255,.58);
}

.newsArticleAside h3 {
  margin: 0 0 9px;
  font-size: 16px;
  line-height: 1;
}

.newsArticleAside p {
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
}

.newsArticleAside .newsTags {
  gap: 6px;
}

.newsArticleAside .newsTag {
  min-height: 30px;
  padding: 0 10px;
  font-size: 9px;
}

.newsArticleAside .newsShareButtons {
  gap: 7px;
}

.newsArticleAside .newsShareBtn {
  height: 36px;
  padding-inline: 12px;
  border-radius: 10px;
  font-size: 10px;
}

.newsShareBtn--secondary {
  color: #16372b;
  background: #edf3f0;
}

.newsGallery--ui2 {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid rgba(7,51,36,.06);
  border-radius: 20px;
  background: #fff;
}

.newsGallery__head span {
  color: #157253;
  font-size: 8px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.newsGallery__head h2 {
  margin: 4px 0 14px;
  font-size: 25px;
}

/* TABLET */
@media (max-width: 980px) {
  .newsIndex--ui2,
  .newsShow--ui2 {
    width: calc(100% - 28px);
  }

  .newsLead__link {
    grid-template-columns: 1fr;
  }

  .newsLead__media {
    min-height: 340px;
  }

  .newsArticleLayout.newsArticleLayout--ui2 {
    grid-template-columns: 1fr;
  }

  .newsArticleSidebar--ui2 {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .newsIndex--ui2,
  .newsShow--ui2 {
    width: calc(100% - 24px);
    padding-bottom: 98px;
  }

  .newsTop--ui2 {
    min-height: auto;
    margin: 12px 0 10px;
    padding: 4px 2px 6px;
    border-radius: 0;
    color: #082c21;
    background: transparent;
    box-shadow: none;
  }

  .newsTop__eyebrow {
    color: #147153;
    font-size: 8px;
  }

  .newsTop--ui2 h1 {
    color: #082c21;
    font-size: 34px;
  }

  .newsTop--ui2 p {
    max-width: 300px;
    margin-top: 7px;
    color: #66736d;
    font-size: 11px;
    line-height: 1.45;
  }

  .newsExplore {
    margin-bottom: 18px;
    padding: 12px 13px;
    border-radius: 18px;
  }

  .newsExplore__summary strong {
    font-size: 14px;
  }

  .newsExplore__toggle {
    min-height: 29px;
  }

  .newsExplore__open,
  .newsExplore__close {
    display: none !important;
  }

  .newsExploreChip {
    min-height: 29px;
    padding-inline: 10px;
    font-size: 8px;
  }

  .newsLead {
    margin-bottom: 22px;
    border-radius: 20px;
  }

  .newsLead__link {
    display: block;
    min-height: 0;
  }

  .newsLead__media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .newsLead__media::after {
    display: none;
  }

  .newsLead__content {
    padding: 18px;
  }

  .newsLead h2 {
    font-size: 28px;
    line-height: .96;
  }

  .newsLead p {
    margin-top: 11px;
    font-size: 11px;
    line-height: 1.5;
  }

  .newsLead__cta {
    margin-top: 15px;
    font-size: 9px;
  }

  .newsSectionHead--ui2 {
    align-items: flex-end;
  }

  .newsSectionHead--ui2 h2 {
    font-size: 27px;
  }

  .newsSectionHead--ui2 > strong {
    font-size: 8px;
  }

  .newsGrid.newsGrid--ui2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .newsCard.newsCard--ui2 {
    border-radius: 16px;
  }

  .newsCard--ui2 .newsCard__link {
    display: grid;
    grid-template-columns: 108px minmax(0,1fr);
    min-height: 120px;
  }

  .newsCard--ui2 .newsCard__media {
    height: 100%;
    aspect-ratio: auto;
  }

  .newsCard--ui2 .newsCard__body {
    min-width: 0;
    gap: 6px;
    padding: 12px 12px 11px;
  }

  .newsCard--ui2 .newsCard__meta {
    align-items: baseline;
    gap: 6px;
  }

  .newsCard__category {
    font-size: 6.5px;
  }

  .newsCard--ui2 .newsCard__date {
    font-size: 7px;
  }

  .newsCard--ui2 h3 {
    font-size: 16px;
    line-height: 1.02;
  }

  .newsCard--ui2 p {
    display: none;
  }

  .newsCard--ui2 .newsCard__cta {
    margin-top: auto;
    font-size: 7.5px;
  }

  .newsPagination--ui2 {
    margin-top: 24px;
  }

  /* ARTICLE MOBILE */
  .newsBreadcrumbs--ui2 {
    margin-top: 10px;
    margin-bottom: 9px;
    font-size: 8px;
  }

  .newsArticleHero {
    min-height: 410px;
    border-radius: 20px;
  }

  .newsArticleHero__overlay {
    background:
      linear-gradient(0deg, rgba(2,23,17,.94) 0%, rgba(2,23,17,.66) 42%, rgba(2,23,17,.08) 78%);
  }

  .newsArticleHero__content {
    left: 17px;
    right: 17px;
    bottom: 17px;
  }

  .newsArticleHero h1 {
    font-size: 34px;
    line-height: .94;
  }

  .newsArticleHero p {
    display: none;
  }

  .newsArticleHero__meta {
    margin-bottom: 9px;
  }

  .newsArticleBody {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .newsProse.newsProse--ui2 {
    max-width: none;
    font-size: 15px;
    line-height: 1.75;
  }

  .newsProse--ui2 p {
    margin-bottom: 20px;
  }

  .newsArticleSidebar--ui2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .newsArticleAside {
    padding: 15px;
  }

  .newsArticleAside p {
    font-size: 10px;
  }

  .newsGallery--ui2 {
    padding: 15px;
  }
}

@media (max-width: 370px) {
  .newsCard--ui2 .newsCard__link {
    grid-template-columns: 98px minmax(0,1fr);
  }

  .newsCard--ui2 h3 {
    font-size: 15px;
  }

  .newsArticleHero h1 {
    font-size: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .newsLead__media img,
  .newsCard--ui2,
  .newsExplore__toggle b {
    transition: none !important;
  }
}



/* =========================================================
   POLISH 05 FIX1 — LIST POLISH
   ========================================================= */

/* Desktop: lower the visual pressure of the lead headline */
@media (min-width: 981px) {
  .newsLead h2 {
    font-size: clamp(32px, 3.25vw, 50px);
    line-height: .97;
    letter-spacing: -.05em;
  }

  .newsLead__content {
    padding: 34px 36px;
  }
}

/* Desktop: if the last row contains a single card, make it intentional */
@media (min-width: 769px) {
  .newsGrid--ui2 > .newsCard--ui2:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .newsGrid--ui2 > .newsCard--ui2:last-child:nth-child(odd) .newsCard__link {
    display: grid;
    grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr);
    min-height: 260px;
  }

  .newsGrid--ui2 > .newsCard--ui2:last-child:nth-child(odd) .newsCard__media {
    height: 100%;
    aspect-ratio: auto;
  }

  .newsGrid--ui2 > .newsCard--ui2:last-child:nth-child(odd) .newsCard__body {
    justify-content: center;
    padding: 28px 30px;
  }

  .newsGrid--ui2 > .newsCard--ui2:last-child:nth-child(odd) h3 {
    max-width: 620px;
    font-size: clamp(27px, 2.3vw, 34px);
  }

  .newsGrid--ui2 > .newsCard--ui2:last-child:nth-child(odd) p {
    max-width: 660px;
  }
}

/* Mobile: recover a little readability without making cards tall again */
@media (max-width: 768px) {
  .newsCard--ui2 .newsCard__link {
    grid-template-columns: 104px minmax(0, 1fr);
    min-height: 126px;
  }

  .newsCard--ui2 .newsCard__body {
    gap: 7px;
    padding: 13px 12px 12px;
  }

  .newsCard__category {
    font-size: 7px;
    letter-spacing: .055em;
  }

  .newsCard--ui2 .newsCard__date {
    font-size: 7.5px;
  }

  .newsCard--ui2 h3 {
    font-size: 17px;
    line-height: 1.03;
    letter-spacing: -.035em;
  }

  .newsCard--ui2 .newsCard__cta {
    font-size: 8px;
  }
}

@media (max-width: 370px) {
  .newsCard--ui2 .newsCard__link {
    grid-template-columns: 98px minmax(0, 1fr);
  }

  .newsCard--ui2 h3 {
    font-size: 16px;
  }
}


/* =========================================================
   POLISH 05 FIX2 — FINAL DETAIL POLISH
   ========================================================= */

@media (min-width: 769px) {
  .newsArticleHero {
    min-height: 440px;
  }

  .newsArticleHero h1 {
    font-size: clamp(40px, 4.55vw, 66px);
  }

  .newsArticleBody {
    padding: 34px 38px;
  }

  .newsProse.newsProse--ui2 {
    max-width: 760px;
    font-size: 15.5px;
    line-height: 1.82;
  }
}

@media (max-width: 768px) {
  .newsArticleHero {
    min-height: 382px;
  }

  .newsArticleHero__content {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .newsArticleHero h1 {
    font-size: 32px;
    line-height: .95;
    letter-spacing: -.045em;
  }

  .newsArticleHero__meta span {
    padding: 5px 8px;
    font-size: 7px;
  }

  .newsArticleHero__meta time {
    font-size: 8px;
  }

  .newsArticleLayout.newsArticleLayout--ui2 {
    margin-top: 12px;
  }

  .newsArticleBody {
    padding: 18px 16px;
    border-radius: 16px;
  }

  .newsProse.newsProse--ui2 {
    font-size: 14px;
    line-height: 1.68;
  }

  .newsProse--ui2 p {
    margin-bottom: 15px;
  }

  .newsProse--ui2 h2 {
    margin-top: 1.45em;
    font-size: 22px;
  }

  .newsProse--ui2 h3 {
    margin-top: 1.35em;
    font-size: 18px;
  }

  .newsProse--ui2 blockquote {
    margin: 18px 0;
    padding: 15px 16px;
    border-radius: 13px;
    font-size: 14px;
    line-height: 1.6;
  }

  .newsArticleSidebar--ui2 {
    gap: 8px;
  }

  .newsArticleAside {
    padding: 13px 14px;
    border-radius: 15px;
  }

  .newsArticleAside__eyebrow {
    margin-bottom: 5px;
    font-size: 7px;
  }

  .newsArticleAside h3 {
    margin-bottom: 7px;
    font-size: 15px;
  }

  .newsArticleAside p {
    font-size: 9px;
    line-height: 1.45;
  }

  .newsArticleAside .newsTags {
    gap: 5px;
  }

  .newsArticleAside .newsTag {
    min-height: 27px;
    padding-inline: 9px;
    font-size: 8px;
  }

  .newsArticleAside .newsShareButtons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .newsArticleAside .newsShareBtn {
    height: 34px;
    padding-inline: 10px;
    font-size: 9px;
  }
}

@media (max-width: 370px) {
  .newsArticleHero {
    min-height: 365px;
  }

  .newsArticleHero h1 {
    font-size: 30px;
  }

  .newsArticleBody {
    padding-inline: 15px;
  }

  .newsProse.newsProse--ui2 {
    font-size: 13.5px;
  }
}
