/* ===== Campaign News Stories ===== */

.campaign-news-container{
	display: grid;
	width: 100%;
	padding: 40px 0;
	border-top: 2px solid #c7dae6;
	border-bottom: 2px solid #c7dae6;
}

/* ── Section heading ── */
.pu-news-heading {
  color: #114d97;
  font-family: 'Roboto Condensed', sans-serif !important;
  font-size: 15px;
  font-weight: 700 !important;
  letter-spacing: .03em;
  text-transform: uppercase;
  margin: 0 0 25px 0;
}

/* ── Container ── */
#pu-priorities-list {
  width: 100%;
  box-sizing: border-box;
}

/* ── Grid (mobile-first: 1 column) ── */
.pu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
  /*align-items: start;*/
  align-items: stretch;   /* Fix for the Read More link to be consitent */
}

/* Tablet: up to 2 columns */
@media (min-width: 561px) {
  .pu-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  /* A lone card shouldn't stretch full-width */
  .pu-grid:has(> .pu-item:only-child) { grid-template-columns: minmax(0, 420px); }
}

/* Desktop: up to 3 columns */
@media (min-width: 901px) {
  .pu-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  /* Exactly 2 cards → 2 columns */
  .pu-grid:has(> .pu-item:nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); }
  /* Exactly 1 card → constrained single column */
  .pu-grid:has(> .pu-item:only-child) { grid-template-columns: minmax(0, 420px); }
}

.pu-item {
  min-width: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* ── Card ── */
.pu-card {
  background: transparent;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  margin: 0;
  box-sizing: border-box;
}

/* ── Image ── */
.campaign-news-container img {
  width: 100%;
  aspect-ratio: 16 / 11;
  height: auto;
  object-fit: cover;
  display: block;
  border: 0;
  max-width: 100%;
  transition: transform 0.45s ease;
object-position: center;
}
.campaign-news-container .pu-card:hover img {
  transform: scale(1.045);
}

/* ── Body ── */
.pu-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-top: 18px;
}

/* ── Title ── */
.pu-card-title {
  margin: 0 0 16px;
}
.pu-card-title-text,
.pu-card-title a {
  color: #00205c;
  font-family: 'EB Garamond', serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.22;
  text-decoration: none;
  display: inline;
}

/* ── Description (optional — collapses when empty) ── */
.pu-card-desc {
  color: #191919;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 18px;
}
.pu-card-desc:empty { display: none; }

/* ── "Read the Story" link ── */
.pu-card-action {
  margin-top: auto;
  padding-top: 4px;
}
.pu-learn-btn {
  display: inline-flex;
  align-items: center;
  color: #c75000;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.2s ease;
}
.pu-learn-btn::after {
  /*content: "\2192";  */            /* Remove → arrow */
  margin-left: 6px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.pu-learn-btn:hover {
  text-decoration: underline;
}
.pu-learn-btn:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* ── No-results (used by render script) ── */ /* @JAMES - is this necessary? There is no script on this component feature */
.pu-no-results {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
  font-size: 16px;
  color: #767676;
}

/* ===== end - Campaign News Stories ===== */