/* ── Program Overview additions ─────────────────────── */

/* Stats bar */
.po-stats-bar {
  background: linear-gradient(135deg, #17385d 0%, #2e5d28 100%);
}

.po-stats-inner {
  display: flex;
  flex-wrap: wrap;
}

.po-stat {
  flex: 1 1 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.6rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.po-stat:last-child { border-right: none; }

.po-stat strong {
  font-size: 1.9rem;
  font-weight: 800;
  color: #E7DD36;
  line-height: 1;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.po-stat span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.78;
  margin-top: 0.3rem;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Programs grid — 3 cols then wraps to 2 */
.po-programs-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Card tag badge */
.po-card-tag {
  display: inline-flex;
  align-items: center;
  margin: 1.2rem 1.25rem 0;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(72, 127, 195, 0.1);
  color: #2E5D28;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Impact stats inside activity showcase */
.po-impact-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

/* Partners grid — 4 cols */
.po-partners-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.po-partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 8rem;
  padding: 1.5rem;
  filter: grayscale(1);
  transition: filter 0.25s ease, transform 0.25s ease;
}

.po-partner-card:hover {
  filter: grayscale(0);
  transform: translateY(-4px);
}

.po-partner-card img {
  max-height: 56px;
  width: auto;
  object-fit: contain;
}

/* ── News page additions ─────────────────────────────── */

/* Filter bar */
.news-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 2.5rem;
  padding-bottom: 0.5rem;
}

.news-filter__btn {
  padding: 0.45rem 1.1rem;
  border: 2px solid #E5E7EB;
  border-radius: 999px;
  background: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
  cursor: poInter;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.news-filter__btn:hover,
.news-filter__btn.is-active {
  background: #087fff;
  border-color: #087fff;
  color: #ffffff;
}

/* Featured article */
.news-featured-section {
  padding-top: 2rem;
}

.news-featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 1.2rem;
  background: #ffffff;
  border: 1px solid #E5E7EB;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  color: inherit;
}

.news-featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.1);
}

.news-featured-card[hidden] { display: none; }

.news-featured-card__media {
  position: relative;
  min-height: 280px;
}

.news-featured-card__body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}

.news-featured-card__body h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0;
  line-height: 1.3;
}

.news-featured-card__body p {
  color: #475569;
  margin: 0;
}

.news-featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.news-featured-label {
  background: #E7DD36;
  color: #1A1A1A;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
}

/* Page layout: articles + sidebar */
.news-page-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
  padding-top: 3rem;
}

.news-articles-col { min-width: 0; }

/* Sidebar */
.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 80px;
}

.news-widget {
  border-radius: 1.1rem;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
  padding: 1.4rem;
}

.news-widget__title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1A1A1A;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid #E7DD36;
  display: block;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Recent posts */
.news-recent-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.news-recent-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.news-recent-item img {
  width: 54px;
  height: 46px;
  border-radius: 0.6rem;
  object-fit: cover;
  flex-shrink: 0;
}

.news-recent-item div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.news-recent-item a {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1A1A1A;
  text-decoration: none;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.news-recent-item a:hover { color: #087fff; }

.news-recent-item time {
  font-size: 0.75rem;
  color: #94A3B8;
}

/* Categories */
.news-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-cat-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid #F1F5F9;
}

.news-cat-list li:last-child { border-bottom: none; }

.news-cat-list button {
  background: none;
  border: none;
  padding: 0;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: poInter;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  transition: color 0.2s ease;
}

.news-cat-list button:hover { color: #087fff; }

/* Dark newsletter widget */
.news-widget--dark {
  background: linear-gradient(135deg, #087fff 0%, #2e5d28 100%);
  border-color: transparent;
  color: #ffffff;
}

.news-widget--dark .news-widget__title {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.news-widget--dark p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  margin-bottom: 0.9rem;
}

.news-widget--dark .newsletter-form {
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

.news-widget--dark .newsletter-form input {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.news-widget--dark .newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

#nl-success {
  color: #a8f0c6;
  font-size: 0.88rem;
  margin-top: 0.4rem;
}

/* No results */
.news-no-results {
  text-align: center;
  color: #64748B;
  padding: 2rem 0;
  font-size: 1rem;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .po-programs-grid  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .po-partners-grid  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-page-layout  { grid-template-columns: 1fr; }
  .news-sidebar      { position: static; }
  .news-featured-card { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .po-stats-inner    { flex-direction: column; }
  .po-stat           { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .po-stat:last-child { border-bottom: none; }
  .po-programs-grid  { grid-template-columns: 1fr; }
  .po-partners-grid  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-featured-card__media { min-height: 200px; }
}
