/* ===== News & Publications — NewWeb ===== */

.news-jump .about-jump__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-status {
  margin: 1.25rem 0 0;
  color: #6b7a83;
  font-size: 0.95rem;
}

.news-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0.75rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: #eaf6ef;
  color: #1f7a4d;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
}

.news-badge::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #1f7a4d;
}

/* Events accordion */
.evt-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.evt-month {
  border: 1px solid rgba(26, 43, 52, 0.1);
  border-radius: 1.1rem;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(26, 43, 52, 0.06);
}

.evt-month__head {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.evt-month__label {
  font-size: 1.05rem;
  font-weight: 750;
  color: #0f3d2e;
}

.evt-month__count {
  margin-left: 0.55rem;
  color: #6b7a83;
  font-size: 0.85rem;
  font-weight: 600;
}

.evt-month__chevron {
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: #fff4ec;
  color: #f36b21;
  transition: transform 0.2s ease;
}

.evt-month.is-open .evt-month__chevron {
  transform: rotate(180deg);
}

.evt-month__body {
  display: none;
  padding: 0 1rem 1rem;
  border-top: 1px solid rgba(26, 43, 52, 0.06);
}

.evt-month.is-open .evt-month__body { display: grid; gap: 0.65rem; padding-top: 0.85rem; }

.evt-row {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  gap: 0.9rem;
  align-items: center;
  padding: 0.65rem;
  border-radius: 0.9rem;
  border: 1px solid transparent;
  background: #f7f8fa;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  font: inherit;
  color: inherit;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.evt-row:hover,
.evt-row:focus {
  background: #fff;
  border-color: rgba(243, 107, 33, 0.25);
  transform: translateY(-2px);
  text-decoration: none;
}

.evt-row__thumb {
  width: 5.5rem;
  height: 4rem;
  object-fit: cover;
  border-radius: 0.65rem;
  background: #e8eeeb;
}

.evt-row__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f3d2e;
  line-height: 1.35;
}

.evt-row__date {
  margin: 0.3rem 0 0;
  color: #6b7a83;
  font-size: 0.82rem;
}

.evt-row__go {
  color: #f36b21;
}

.evt-row__go svg { width: 1.1rem; height: 1.1rem; }

/* Publications */
.pub-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.75rem 0 1.25rem;
}

.pub-filter {
  min-height: 2.4rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: 1.5px solid rgba(26, 43, 52, 0.12);
  background: #fff;
  color: #3a4a45;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.pub-filter.is-active,
.pub-filter:hover {
  background: #0f3d2e;
  border-color: #0f3d2e;
  color: #fff;
}

.pub-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.pub-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(26, 43, 52, 0.08);
  border-radius: 1.1rem;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(26, 43, 52, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.pub-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(26, 43, 52, 0.12);
}

.pub-card__media {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  aspect-ratio: 3 / 4;
  background: #f4f7f5;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
}

.pub-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.pub-card:hover .pub-card__media img {
  transform: scale(1.04);
}

.pub-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 61, 46, 0.75);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0;
  transition: opacity 0.25s ease;
  backdrop-filter: blur(2px);
}

.pub-card__media:hover .pub-card__overlay,
.pub-card__media:focus-visible .pub-card__overlay {
  opacity: 1;
}

.pub-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 1.05rem 1.15rem;
  flex: 1;
}

.pub-card__type {
  margin: 0;
  color: #f36b21;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pub-card__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f3d2e;
  line-height: 1.4;
  flex: 1;
}

.pub-card__title-btn {
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.pub-card__title-btn:hover {
  color: #f36b21;
  text-decoration: underline;
}

.pub-card__actions {
  display: flex;
  margin-top: auto;
}

.pub-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  min-height: 2.35rem;
  padding: 0 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  font-family: inherit;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.pub-card__btn--primary {
  background: #0f3d2e;
  color: #fff;
}

.pub-card__btn--primary:hover {
  background: #185a44;
  color: #fff;
  text-decoration: none;
}

.pub-card__status {
  font-size: 0.8rem;
  color: #6b7a83;
}

/* Impact stories — carousel */
.story-carousel {
  position: relative;
  margin-top: 1.75rem;
}

.story-grid {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.5rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.story-grid::-webkit-scrollbar { display: none; }

.story-tile {
  flex: 0 0 auto;
  width: 280px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(26, 43, 52, 0.08);
  border-radius: 1.15rem;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(26, 43, 52, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  cursor: pointer;
  text-decoration: none;
}

.story-tile:hover,
.story-tile:focus {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(26, 43, 52, 0.12);
  text-decoration: none;
}

.story-tile__media {
  aspect-ratio: 16 / 11;
  background: #eef2f0;
  overflow: hidden;
}

.story-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}

.story-tile:hover .story-tile__media img { transform: scale(1.05); }

.story-tile__body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.1rem 1.1rem 1.2rem;
  flex: 1;
}

.story-tile__company {
  margin: 0;
  color: #f36b21;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.story-tile__name { margin: 0; font-size: 1.05rem; font-weight: 750; color: #0f3d2e; }

.story-tile__text {
  margin: 0;
  color: #5a6b64;
  font-size: 0.9rem;
  line-height: 1.55;
  flex: 1;
}

.story-tile__btn {
  align-self: start;
  margin-top: 0.35rem;
  padding: 0;
  border: 0;
  background: none;
  color: #f36b21;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.story-tile__btn:hover { text-decoration: underline; }

/* Carousel arrows */
.story-carousel__nav {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(26, 43, 52, 0.1);
  border-radius: 50%;
  background: #fff;
  color: #0f3d2e;
  box-shadow: 0 8px 22px rgba(26, 43, 52, 0.14);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.story-carousel__nav:hover { background: #0f3d2e; color: #fff; }
.story-carousel__nav svg { width: 1.1rem; height: 1.1rem; }
.story-carousel__nav--prev { left: -1.3rem; }
.story-carousel__nav--next { right: -1.3rem; }

.story-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1rem;
}

.story-carousel__dots span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(15, 61, 46, 0.18);
  transition: background 0.2s ease, transform 0.2s ease;
}

.story-carousel__dots span.is-active {
  background: #f36b21;
  transform: scale(1.2);
}

@media (max-width: 640px) {
  .story-carousel__nav { display: none; }
  .story-tile { width: 78%; }
}

/* Modal */
.news-modal[hidden] { display: none !important; }

.news-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(8, 16, 22, 0.65);
  backdrop-filter: blur(6px);
}

.news-modal__dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: min(88vh, 900px);
  overflow: auto;
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.news-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #1a2b34;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.news-modal__close:hover {
  transform: scale(1.08);
  background: #fff;
}

.news-modal__media[hidden] {
  display: none !important;
}

.news-modal__media {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
  background: #0d1b16;
  border-bottom: 1px solid rgba(26, 43, 52, 0.08);
}

.news-modal__body {
  padding: 1.5rem 1.6rem 1.8rem;
}

.news-modal__meta {
  margin: 0 0 0.45rem;
  color: #f36b21;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-modal__title {
  margin: 0 0 0.85rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f3d2e;
  line-height: 1.3;
}

.news-modal__content {
  color: #3d4d46;
  font-size: 0.98rem;
  line-height: 1.75;
}

.news-modal__content p {
  margin: 0 0 1rem;
}

.news-modal__content p:last-child {
  margin-bottom: 0;
}

.news-modal__content strong {
  color: #0f3d2e;
  font-weight: 700;
}

.news-modal__content ul,
.news-modal__content ol {
  margin: 0.5rem 0 1rem 1.25rem;
  padding: 0;
}

.news-modal__content li {
  margin-bottom: 0.35rem;
}

.news-modal__link[hidden] {
  display: none !important;
}

.news-modal__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  background: #f36b21;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.news-modal__link:hover {
  background: #dc5a14;
  transform: translateY(-1px);
  text-decoration: none;
}

@media (max-width: 1100px) {
  .pub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .news-jump .about-jump__grid,
  .pub-grid {
    grid-template-columns: 1fr;
  }

  .evt-row {
    grid-template-columns: 4.5rem 1fr;
  }

  .evt-row__go { display: none; }
}