/* ============================================================
   SPS New Pages — Curriculum, Activities, CSR
   Used only on these three templates (enqueued conditionally).
   ============================================================ */

:root {
  --sps-navy:  #1a2744;
  --sps-orange: #f47c20;
  --sps-muted: #666;
}

/* ── Section wrappers ─────────────────────────────────────── */
.sps-section      { padding: 64px 0; }

/* ── Typography helpers ───────────────────────────────────── */
.sps-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sps-orange);
  margin-bottom: 8px;
}
.sps-section-title {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--sps-navy);
  margin-bottom: 12px;
  line-height: 1.25;
}
.sps-section-title .accent { color: var(--sps-orange); }
.sps-section-lede  { color: var(--sps-muted); font-size: 1rem; margin-bottom: 0; }
.sps-center        { text-align: center; }

/* ── Split two-column layout ──────────────────────────────── */
.sps-split {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.sps-split.reverse { flex-direction: row-reverse; }
.sps-split-text    { flex: 1 1 280px; }
.sps-split-media   { flex: 1 1 280px; }
.sps-split-media iframe {
  width: 100%;
  height: 314px;
  border: 0;
  border-radius: 10px;
  display: block;
}
.sps-split-media img {
    width: 100%;
    display: block;
    position: relative;
    top: -181px;
}
.sps-split-media {
    flex: 1 1 280px;
    height: 301px;
    overflow: hidden;
    border-radius: 20px;
}
.sps-split-text h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--sps-navy);
  margin: 8px 0 14px;
}
.sps-split-text p  { color: var(--sps-muted); line-height: 1.7; }
.sps-split-text p + p { margin-top: 12px; }

/* ── Colored badge cards ──────────────────────────────────── */
.sps-badge-card    { border-radius: 12px; padding: 28px; height: 100%;    text-align: center; }
.sps-badge-card.c-blue  { background: #e8f0fe;
    padding-top: 114px;}
.sps-badge-card.c-mint  { background: #e6f4f0; }
.sps-badge-card.c-lav   { background: #ede8fd; }
.sps-badge-card.c-peach { background: #fdf0e8; }
.sps-badge-icon    { font-size: 2rem; margin-bottom: 10px; }
.sps-badge-icon img { width: 56px; height: 56px; object-fit: contain; display: block;    margin: auto; }
.sps-badge-card h4 { font-size: 1rem; font-weight: 700; color: var(--sps-navy); margin-bottom: 6px; }
.sps-badge-card p  { color: var(--sps-muted); font-size: 0.9rem; margin: 0; }
.sps-learn {
  display: inline-block;
  margin-top: 10px;
  color: var(--sps-orange);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
}
.sps-learn:hover { text-decoration: underline; color: var(--sps-orange); }

/* ── Wide badge card (full-width feature) ─────────────────── */
.sps-wide-card {
  max-width: 100%;
  margin: 0 auto;
  padding: 40px 48px;
  border-radius: 12px;
}
.sps-wide-card h2  { color: var(--sps-navy); font-size: 1.4rem; margin-bottom: 12px; }
.sps-wide-card p   { color: var(--sps-muted); font-size: 0.95rem; line-height: 1.7; }
.sps-wide-card p + p { margin-top: 12px; }

/* ── Navy CTA feature block ───────────────────────────────── */
.sps-navy-feature {
  background: var(--sps-navy);
  border-radius: 14px;
  padding: 48px;
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.sps-navy-feature .nf-text       { flex: 1 1 280px; }
.sps-navy-feature .nf-text .sps-eyebrow { color: #adbcd4; }
.sps-navy-feature .nf-text h3    { font-size: 1.6rem; font-weight: 700; color: #fff; margin: 8px 0 16px; }
.sps-navy-feature .nf-text p     { color: #cdd7e5; line-height: 1.7; margin-bottom: 20px; }
.sps-navy-feature img             { width: 140px; height: auto; flex-shrink: 0; }
.sps-icon-list     { list-style: none; padding: 0; margin: 0 0 20px; }
.sps-icon-list li  { display: flex; align-items: center; gap: 10px; color: #cdd7e5; margin-bottom: 10px; }
.sps-dot-icon      { color: var(--sps-orange); font-weight: 700; }

/* ── Buttons ──────────────────────────────────────────────── */
.sps-btn {
  display: inline-block;
  padding: 10px 26px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: opacity 0.2s;
}
.sps-btn:hover         { opacity: 0.85; text-decoration: none; }
.sps-btn-orange        { background: var(--sps-orange); color: #fff; }
.sps-btn-orange:hover  { color: #fff; }

/* ── News / Activity cards ────────────────────────────────── */
.sps-card      { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 14px rgba(0,0,0,0.08); height: 100%; }
.sps-thumb     { position: relative; }
.sps-thumb img { width: 100%; height: 200px; object-fit: cover; display: block; }
.sps-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--sps-orange);
  color: #fff;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
}
.sps-card-body    { padding: 20px; }
.sps-card-body h3 { font-size: 1rem; font-weight: 700; color: var(--sps-navy); margin-bottom: 8px; }
.sps-card-body p  { color: var(--sps-muted); font-size: 0.9rem; margin: 0; }

/* Card row spacing */
.sps-card-row > [class*="col-"] { margin-bottom: 24px; }
.top-sps-section-alt{
	margin-top:-174px;
}
/* ── Circle gallery ───────────────────────────────────────── */
.sps-circle-gallery { display: flex; grid-template-columns: repeat(3, 1fr); gap:20px; margin-top: 40px; align-items: center;
    justify-content: center; }
.sps-circle-item .sps-frame { 
border-radius: 50%;
    overflow: hidden;
    width: 180px;
    height: 180px;
    margin: 0 auto;
    margin-bottom: 25px;
}
.sps-circle-item .sps-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── SDG Pill tags ────────────────────────────────────────── */
.sps-pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.sps-pill      { padding: 6px 14px; border-radius: 20px; font-size: 0.78rem; font-weight: 600; }
.sps-pill.blue    { background: #e8f0fe; color: #1a2744; }
.sps-pill.mint    { background: #e6f4f0; color: #1a6b5a; }
.sps-pill.lav     { background: #ede8fd; color: #4a2c8a; }
.sps-pill.default { background: #f0f0f0; color: #333; }

/* ── Spacing helpers ──────────────────────────────────────── */
.sps-mt-36 { margin-top: 36px; }
.sps-mt-20 { margin-top: 20px; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .sps-split, .sps-split.reverse { flex-direction: column; }
  .sps-circle-gallery { grid-template-columns: repeat(2, 1fr); }
  .sps-navy-feature   { flex-direction: column; text-align: center; }
  .sps-navy-feature img { width: 100px; }
  .sps-wide-card { padding: 28px 24px; }
  .sps-section-title { font-size: 1.5rem; }
}
@media (max-width: 480px) {
  .sps-circle-gallery { grid-template-columns: 1fr 1fr; }
}
