.article-body .story-visual {
  margin: 1.7rem 0 2rem;
  overflow: hidden;
  border: 1px solid #e7ebf0;
  border-radius: 13px;
  background: #f8fafc;
}

.article-body .story-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 530px;
  object-fit: cover;
  background: #edf1f5;
}

.article-body .story-visual.story-screen img {
  max-height: none;
  object-fit: contain;
}

.article-body .story-visual.story-phone {
  max-width: 430px;
  margin-inline: auto;
}

.article-body .story-visual figcaption {
  padding: 12px 15px 14px;
  color: #46576d;
  font-size: .82rem;
  line-height: 1.55;
}

.article-body .story-visual figcaption strong {
  color: #142b47;
}

.article-body .story-visual figcaption .story-credit {
  display: block;
  margin-top: 5px;
  color: #5c6b7c;
  font-size: .75rem;
}

.article-body .story-visual a,
.article-body .story-source-card a {
  color: #17446d;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-body .story-source-card {
  margin: 1.35rem 0 1.8rem;
  padding: 16px 18px;
  border: 1px solid #dce4ed;
  border-left: 3px solid #173b61;
  border-radius: 10px;
  background: #f8fafc;
  color: #354862;
}

.article-body .story-source-card strong {
  display: block;
  margin-bottom: 5px;
  color: #142b47;
}

.article-body .story-source-card p {
  margin: 0 0 8px;
  font-size: .92rem;
  line-height: 1.5;
}

.article-body .story-source-card a {
  font-weight: 700;
}

@media (max-width: 600px) {
  .article-body .story-visual {
    margin: 1.35rem 0 1.6rem;
    border-radius: 10px;
  }

  .article-body .story-visual figcaption {
    padding: 11px 13px 13px;
  }
}

/* Data-led visual guides used inside the editorial articles. */
.article-body .sp-visual {
  margin: 1.6rem 0 1.9rem;
  padding: clamp(1rem, 2.5vw, 1.45rem);
  border: 1px solid #dbe4ec;
  border-radius: 14px;
  background: #f7f9fc;
  color: #192c44;
}

.article-body .sp-visual figcaption {
  margin: 0 0 1rem;
  padding: 0;
  color: #142b47;
  font-size: clamp(1.06rem, 2.3vw, 1.28rem);
  font-weight: 750;
  line-height: 1.28;
}

.article-body .sp-visual p {
  margin: .4rem 0 0;
  line-height: 1.5;
}

.article-body .sp-visual .sp-visual-note {
  margin-top: 1rem;
  color: #53657a;
  font-size: .84rem;
}

.article-body .sp-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-body .sp-visual-grid > li,
.article-body .sp-budget-grid > div {
  min-width: 0;
  padding: .85rem .95rem;
  border: 1px solid #e2e8ef;
  border-radius: 10px;
  background: #fff;
}

.article-body .sp-visual-grid strong,
.article-body .sp-budget-grid strong {
  display: block;
  color: #142b47;
  line-height: 1.35;
}

.article-body .sp-visual-grid p,
.article-body .sp-budget-grid p {
  color: #52647a;
  font-size: .88rem;
}

.article-body .sp-visual-step {
  display: inline-block;
  margin-bottom: .42rem;
  color: #315b83;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.article-body .sp-visual-place {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  align-items: center;
  gap: .8rem;
  padding: 1rem;
  border: 1px solid #dbe4ec;
  border-radius: 11px;
  background: #fff;
}

.article-body .sp-visual-pin {
  display: grid;
  width: 3.2rem;
  height: 3.2rem;
  place-items: center;
  border-radius: 50%;
  background: #183d62;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
}

.article-body .sp-visual-place strong,
.article-body .sp-visual-place span {
  display: block;
  line-height: 1.45;
}

.article-body .sp-visual-place span {
  color: #52647a;
  font-size: .9rem;
}

.article-body .sp-visual-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
  margin-top: .8rem;
}

.article-body .sp-visual-links a {
  padding: .68rem .8rem;
  border: 1px solid #dbe4ec;
  border-radius: 8px;
  background: #fff;
  color: #17446d;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}

.article-body .sp-visual-links a:hover,
.article-body .sp-visual-links a:focus-visible {
  border-color: #2c658e;
  background: #edf4f9;
  text-decoration: underline;
}

.article-body .sp-budget-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .7rem;
}

.article-body .sp-chart-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem .95rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-body .sp-chart-list li {
  display: grid;
  grid-template-columns: 5.6rem minmax(0, 1fr) 2.25rem;
  align-items: center;
  gap: .45rem;
  font-size: .79rem;
  line-height: 1.25;
}

.article-body .sp-chart-list strong {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.article-body .sp-chart-track {
  height: .62rem;
  overflow: hidden;
  border-radius: 99px;
  background: #e1e8ef;
}

.article-body .sp-chart-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #2f6389;
}

.article-body .sp-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-body .sp-timeline li {
  padding: .8rem;
  border-top: 3px solid #28577d;
  background: #fff;
  box-shadow: inset 0 0 0 1px #e3e9ef;
  border-radius: 0 0 8px 8px;
}

.article-body .sp-timeline time,
.article-body .sp-timeline .sp-timeline-date {
  display: block;
  margin-bottom: .36rem;
  color: #315b83;
  font-size: .76rem;
  font-weight: 800;
  line-height: 1.3;
}

.article-body .sp-timeline strong {
  display: block;
  font-size: .85rem;
  line-height: 1.35;
}

@media (max-width: 700px) {
  .article-body .sp-budget-grid,
  .article-body .sp-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .article-body .sp-chart-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .article-body .sp-visual-grid,
  .article-body .sp-budget-grid,
  .article-body .sp-visual-links,
  .article-body .sp-timeline {
    grid-template-columns: 1fr;
  }
}


/* An editorial next step, visually quieter than the article headline. */
.article-body .sp-course-prompt {
  margin: 2.1rem 0 1.9rem;
  padding: clamp(1.15rem, 2.8vw, 1.7rem);
  border: 1px solid #dce5ec;
  border-radius: 13px;
  background: #f7f9fb;
  color: #263a50;
}
.article-body .sp-course-prompt-kicker {
  margin: 0 0 .35rem;
  color: #49657d;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
}
.article-body .sp-course-prompt h2 {
  margin: 0 0 .55rem;
  color: #142b47;
  font-size: clamp(1.23rem, 2.5vw, 1.55rem);
  line-height: 1.22;
}
.article-body .sp-course-prompt > p:not(.sp-course-prompt-kicker) {
  margin: 0 0 1rem;
  font-size: .97rem;
  line-height: 1.55;
}
.article-body .sp-course-prompt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.article-body .sp-course-prompt-actions a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 44px;
  padding: .55rem .85rem;
  border: 1px solid #b7c9d8;
  border-radius: 8px;
  background: #fff;
  color: #173b61;
  font-size: .88rem;
  font-weight: 750;
  text-decoration: none;
}
.article-body .sp-course-prompt-actions a:hover,
.article-body .sp-course-prompt-actions a:focus-visible {
  border-color: #173b61;
  background: #edf3f8;
  text-decoration: underline;
}
.article-body .sp-course-prompt small {
  display: block;
  margin-top: .85rem;
  color: #617185;
  font-size: .75rem;
  line-height: 1.45;
}


/* Primary-source visual evidence for the current UAM story. */
.article-body .sp-document-report iframe {
  display: block;
  width: 100%;
  height: min(76vw, 650px);
  min-height: 420px;
  border: 0;
  background: #fff;
}
.article-body .sp-video-report-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #101927;
}
.article-body .sp-video-report-frame iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.article-body .sp-news-photo-link {
  border-left-color: #173b61;
  background: #f5f8fb;
}
@media (max-width: 600px) {
  .article-body .sp-document-report iframe { min-height: 360px; }
}

/* Original editorial covers for cross-institution guides: no event photo implied. */
.article-cover.sp-editorial-figure,
.blog-card-image.sp-editorial-card {
  background: #12243f;
}
.sp-editorial-cover {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(1.15rem, 5vw, 4rem);
  color: #fff;
  background: #12243f;
}
.sp-editorial-cover--documents {
  color: #162b45;
  background: #f8f7f3;
}
.sp-editorial-cover--pase {
  background: linear-gradient(135deg, #142b47 0%, #233a55 55%, #3a2948 100%);
}
.sp-editorial-cover--pase .sp-cover-kicker { color: #e4c6aa; }
.sp-editorial-cover--pase .sp-cover-steps > span {
  border-color: rgba(255,255,255,.3);
  color: #fff;
  background: rgba(255,255,255,.08);
}
.sp-editorial-cover--pase .sp-cover-steps b { color: #f7d3a5; }
.sp-cover-kicker,
.sp-cover-headline,
.sp-cover-subtitle,
.sp-cover-tags,
.sp-cover-steps {
  display: block;
}
.sp-cover-kicker {
  margin-bottom: clamp(.6rem, 2vw, 1.6rem);
  color: #d6dfe8;
  font-size: clamp(.65rem, 1.45vw, 1rem);
  font-weight: 800;
  letter-spacing: .035em;
}
.sp-editorial-cover--documents .sp-cover-kicker { color: #52657a; }
.sp-cover-headline {
  font-size: clamp(1.65rem, 5.2vw, 4.5rem);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -.04em;
}
.sp-cover-subtitle {
  margin-top: clamp(.55rem, 1.6vw, 1.35rem);
  color: #d6dfe8;
  font-size: clamp(.78rem, 1.8vw, 1.35rem);
  line-height: 1.35;
}
.sp-editorial-cover--documents .sp-cover-subtitle { color: #52657a; }
.sp-cover-tags,
.sp-cover-steps {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(.35rem, .9vw, .8rem);
  margin-top: clamp(.8rem, 3vw, 2.6rem);
}
.sp-cover-tags > span {
  padding: clamp(.4rem, .8vw, .8rem) clamp(.55rem, 1.5vw, 1.2rem);
  border-radius: 7px;
  color: #162b45;
  background: #f8f7f3;
  font-size: clamp(.66rem, 1.25vw, 1.02rem);
  font-weight: 800;
}
.sp-cover-steps > span {
  display: flex;
  min-width: 0;
  flex: 1 1 0;
  flex-direction: column;
  gap: .2rem;
  padding: clamp(.45rem, 1.2vw, 1rem);
  border: 1px solid #d7dee6;
  border-radius: 8px;
  color: #162b45;
  background: #fff;
  font-size: clamp(.72rem, 1.45vw, 1.2rem);
  font-weight: 800;
}
.sp-cover-steps b {
  color: #8a5e23;
  font-size: .72em;
}
.blog-card-image.sp-editorial-card .sp-editorial-cover {
  padding: clamp(.95rem, 2vw, 1.45rem);
}
.blog-card-image.sp-editorial-card .sp-cover-kicker {
  margin-bottom: .55rem;
  font-size: clamp(.5rem, .75vw, .66rem);
}
.blog-card-image.sp-editorial-card .sp-cover-headline {
  font-size: clamp(1.15rem, 2.25vw, 1.85rem);
}
.blog-card-image.sp-editorial-card .sp-cover-subtitle {
  margin-top: .45rem;
  font-size: clamp(.6rem, .95vw, .8rem);
}
.blog-card-image.sp-editorial-card .sp-cover-tags,
.blog-card-image.sp-editorial-card .sp-cover-steps {
  gap: .28rem;
  margin-top: .8rem;
}
.blog-card-image.sp-editorial-card .sp-cover-tags > span {
  padding: .3rem .42rem;
  font-size: .57rem;
}
.blog-card-image.sp-editorial-card .sp-cover-steps > span {
  padding: .42rem;
  font-size: .64rem;
}
@media (max-width: 600px) {
  .article-cover.sp-editorial-figure .sp-editorial-cover { padding: 1rem 1.15rem; }
  .article-cover.sp-editorial-figure .sp-cover-kicker { margin-bottom: .4rem; font-size: .5rem; }
  .article-cover.sp-editorial-figure .sp-cover-headline { font-size: clamp(1.3rem, 5.8vw, 2rem); }
  .article-cover.sp-editorial-figure .sp-cover-subtitle { margin-top: .35rem; font-size: .65rem; }
  .article-cover.sp-editorial-figure .sp-cover-tags,
  .article-cover.sp-editorial-figure .sp-cover-steps { margin-top: .65rem; }
  .article-cover.sp-editorial-figure .sp-cover-tags > span { padding: .27rem .36rem; font-size: .54rem; }
  .article-cover.sp-editorial-figure .sp-cover-steps > span { padding: .38rem; font-size: .59rem; }
}

/* Campus guides with no reusable photograph of the named plantel. */
.article-cover.sp-campus-cover,
.blog-card-image.sp-text-card .sp-campus-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  box-sizing: border-box;
  overflow: hidden;
  background: #122c4a;
  color: #fff;
  text-align: left;
}
.article-cover.sp-campus-cover {
  min-height: 300px;
  padding: clamp(1.4rem, 4vw, 3rem);
  border-radius: 12px;
  aspect-ratio: 1.65;
}
.sp-campus-cover-kicker,
.sp-campus-cover-title,
.sp-campus-cover-foot {
  display: block;
}
.sp-campus-cover-kicker {
  color: #d2deec;
  font-size: clamp(.74rem, 1.5vw, .9rem);
  font-weight: 750;
  letter-spacing: .055em;
  line-height: 1.4;
  text-transform: uppercase;
}
.sp-campus-cover-title {
  color: #fff;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: .98;
}
.sp-campus-cover-title strong {
  display: block;
  font-weight: 800;
}
.sp-campus-cover-foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #e1e9f2;
  font-size: clamp(.75rem, 1.45vw, .9rem);
  font-weight: 550;
  line-height: 1.35;
}
.sp-campus-cover-foot > span {
  color: #c4d4e7;
  text-align: right;
}
.blog-card-image.sp-text-card .sp-campus-card {
  width: 100%;
  height: 100%;
  padding: clamp(1rem, 2.6vw, 1.6rem);
}
.blog-card-image.sp-text-card .sp-campus-cover-kicker {
  font-size: .66rem;
}
.blog-card-image.sp-text-card .sp-campus-cover-title {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
}
.blog-card-image.sp-text-card .sp-campus-cover-foot {
  font-size: .68rem;
}
.blog-card-image.sp-text-card .sp-suayed-card {
  background: #7e1230;
}
.article-body .sp-campus-media-grid {
  display: grid;
  gap: 1.25rem;
  margin: 1.55rem 0 1.75rem;
}
.article-body .sp-campus-map {
  border: 1px solid #dce4ed;
  border-radius: 12px;
  background: #f8fafc;
}
.article-body .sp-campus-map summary {
  padding: .85rem 1rem;
  color: #173b61;
  font-weight: 750;
  cursor: pointer;
}
.article-body .sp-campus-map[open] summary {
  border-bottom: 1px solid #dce4ed;
}
.article-body .sp-campus-map .sp-campus-media {
  border: 0;
  border-radius: 0 0 12px 12px;
}
.article-body .sp-campus-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid #dce4ed;
  border-radius: 12px;
  background: #f8fafc;
}
.article-body .sp-campus-media iframe {
  display: block;
  width: 100%;
  height: clamp(260px, 43vw, 430px);
  border: 0;
}
.article-body .sp-campus-media figcaption {
  padding: .85rem 1rem;
  color: #475c73;
  font-size: .84rem;
  line-height: 1.5;
}
.article-body .sp-campus-media a {
  color: #17446d;
  font-weight: 700;
  text-underline-offset: 3px;
}
@media (max-width: 600px) {
  .article-cover.sp-campus-cover {
    min-height: 250px;
    padding: 1.25rem;
    aspect-ratio: 1.28;
  }
  .sp-campus-cover-foot { flex-wrap: wrap; }
  .blog-card-image.sp-text-card .sp-campus-cover-title { font-size: 1.95rem; }
}


/* Useful activities and media navigation follow the existing editorial palette. */
.article-body .sp-reading-checklist,.article-body .sp-mini-quiz{margin:2rem 0;padding:clamp(18px,3vw,30px);border:1px solid #d9dce1;border-radius:18px;background:#f7f7f8;color:#24344a}
.sp-reading-checklist fieldset,.sp-mini-quiz fieldset{border:0;padding:0;margin:1rem 0 1.5rem;min-width:0}
.sp-reading-checklist legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.sp-mini-quiz legend{font-weight:700;margin-bottom:.7rem;line-height:1.45}
.sp-reading-checklist label,.sp-mini-quiz label{display:flex;align-items:flex-start;gap:12px;line-height:1.5;margin:.6rem 0;padding:.45rem 0;cursor:pointer}
.sp-reading-checklist input,.sp-mini-quiz input{flex:0 0 auto;width:20px;height:20px;accent-color:#24344a;margin:3px 0 0}
.sp-checklist-status{font-weight:650;font-size:.95rem!important;color:#43536b}
.sp-quiz-feedback{margin-top:1.4rem;border-top:1px solid #d9dce1;padding-top:1rem}
.sp-skill-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:1.5rem 0}
.sp-skill-grid section{padding:20px;border:1px solid #dedfe2;border-radius:16px;background:#fafafa}
.sp-skill-grid h3{margin:0 0 .7rem;font-size:1.15rem}
.article-cover.sp-language-cover{background:#eeedef;max-height:520px;display:flex;justify-content:center}
.article-cover.sp-language-cover img{width:auto;max-width:100%;height:520px;object-fit:contain}
.sp-media-nav{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 28px}
.sp-media-nav a{display:inline-flex;align-items:center;padding:10px 15px;border:1px solid #cdd2db;border-radius:999px;color:#24344a;font-size:14px;font-weight:650;text-decoration:none;background:#fff}
.sp-media-nav a:hover{background:#eef0f4}
.sp-media-nav a:focus-visible,.sp-reading-checklist input:focus-visible,.sp-mini-quiz input:focus-visible{outline:3px solid #24344a;outline-offset:3px}
.blog-card-media{font-size:12px!important;color:#46566c!important;font-weight:650;letter-spacing:.02em;margin:8px 0!important}
.article-body .sp-video-report-frame{min-height:200px}
.sp-latest-reading{margin:2rem 0;padding:24px;border:1px solid #dedfe2;border-radius:18px;background:#fafafa}
.sp-latest-reading a{display:block;padding:12px 0;border-bottom:1px solid #e1e3e8;text-decoration:none;font-weight:600;color:#24344a}
.sp-latest-reading a:last-child{border-bottom:0}
@media(max-width:600px){.sp-skill-grid{grid-template-columns:1fr}.article-cover.sp-language-cover img{height:380px}.sp-media-nav a{font-size:13px;padding:9px 12px}.sp-mini-quiz button{width:100%}}

.sp-video-report[id]{scroll-margin-top:135px}

.sp-media-nav a{column-gap:6px}

/* Contextual video and resource notes: SOYPUMA editorial extension. */
.sp-context-media{margin:2.5rem 0;padding:1.6rem 0;border-top:1px solid #d8dce2;border-bottom:1px solid #d8dce2}.sp-context-media .sp-resource-kicker{font-size:.72rem;font-weight:700;letter-spacing:.13em;color:#56585e;margin:0 0 .7rem}.sp-context-media h2{margin-top:0}.sp-context-media .sp-video-report{margin:1.4rem 0}.sp-resource-notes{background:#f5f6f8;border:1px solid #dce0e5;border-radius:12px;padding:1rem 1.2rem;margin-top:1rem}.sp-resource-notes summary{font-weight:700;color:#141e30;cursor:pointer}.sp-resource-notes li{margin:.6rem 0}.sp-resource-links{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:1rem}.sp-resource-links a{border:1px solid #cdd3dc;border-radius:8px;padding:.7rem .9rem;line-height:1.5;overflow-wrap:anywhere}.sp-context-media iframe{width:100%;height:100%;aspect-ratio:16/9;border:0}.sp-context-media figcaption{overflow-wrap:anywhere}.sp-resource-notes summary:focus-visible,.sp-resource-links a:focus-visible{outline:3px solid #141e30;outline-offset:3px}@media(max-width:620px){.sp-context-media{margin:1.7rem 0;padding:1.2rem 0}.sp-resource-links{display:grid}.sp-resource-notes{padding:.9rem}.sp-context-media .sp-video-report{margin:1rem 0}}

/* Expand original photographs without a script or modal dependency. */
.sp-image-zoom{display:block;position:relative;color:inherit}.sp-image-zoom img{display:block;width:100%}.sp-image-zoom-label{position:absolute;right:.7rem;bottom:.7rem;padding:.4rem .65rem;border-radius:6px;background:#141e30;color:#fff;font-family:inherit;font-size:.72rem;font-weight:600;line-height:1.35;box-shadow:0 1px 5px #0002}.sp-image-zoom:focus-visible{outline:3px solid #141e30;outline-offset:4px}.sp-media-updated{font-size:.78rem;color:#626872;line-height:1.55;margin:.6rem 0 1.4rem}.article-cover:has(.sp-image-zoom){height:auto}.article-cover .sp-image-zoom{height:100%}.article-cover .sp-image-zoom img{height:100%;object-fit:cover}@media(max-width:620px){.sp-image-zoom-label{font-size:.65rem}.sp-media-updated{font-size:.73rem}}
