/* ============================================================
   SPO — ARTICLE EXPERIENCE V3.1
   Mission: SPO-ARTICLE-EXPERIENCE-V3.1-MOCKUP-20260922
   Owner-approved visual direction: institutional media + premium
   security-sector jobboard. Native WordPress posts only.
   ============================================================ */

body.single-post {
  --spo-a-950: #08182c;
  --spo-a-900: #0b2442;
  --spo-a-850: #10345f;
  --spo-a-800: #123e71;
  --spo-a-700: #1558a6;
  --spo-a-650: #1767c0;
  --spo-a-100: #eaf3ff;
  --spo-a-075: #f1f7fd;
  --spo-a-050: #f7fafc;
  --spo-a-paper: #ffffff;
  --spo-a-canvas: #f4f7fa;
  --spo-a-ink: #10213d;
  --spo-a-text: #2f4057;
  --spo-a-muted: #718096;
  --spo-a-line: #dce5ee;
  --spo-a-line-strong: #c8d7e5;
  --spo-a-red: #d81949;
  --spo-a-red-soft: #fff1f4;
  --spo-a-gold: #e8bd4f;
  --spo-a-green: #18765d;
  --spo-a-green-soft: #edf8f3;
  --spo-a-purple: #7452a8;
  --spo-a-purple-soft: #f5f0fb;
  --spo-a-shadow: 0 16px 44px rgba(13, 42, 72, .08);
  --spo-a-shadow-soft: 0 8px 24px rgba(13, 42, 72, .055);
}

body.single-post .site-content {
  padding: 0 0 4rem;
  background: var(--spo-a-paper);
}

body.single-post .spo-articleV31,
body.single-post .spo-articleV31 *,
body.single-post .spo-articleV31 *::before,
body.single-post .spo-articleV31 *::after {
  box-sizing: border-box;
}

body.single-post .spo-articleV31 {
  display: block;
  margin: 0;
  color: var(--spo-a-text);
  background: #fff;
}

body.single-post .spo-skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  padding: .65rem .9rem;
  border-radius: 8px;
  background: #fff;
  color: var(--spo-a-900);
  font-weight: 800;
  box-shadow: var(--spo-a-shadow-soft);
}

body.single-post .spo-skip-link:focus {
  transform: translateY(0);
}

/* ============================================================
   1. HERO — white editorial front page treatment
   ============================================================ */

body.single-post .spo-articleHero {
  padding: 1.1rem 0 0;
  color: var(--spo-a-ink);
  background:
    linear-gradient(180deg, #fff 0%, #fff 86%, #fbfcfe 100%);
}

body.single-post .spo-breadcrumbs {
  margin-bottom: 1rem;
}

body.single-post .spo-breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .52rem;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #8795a5;
  font-size: .69rem;
  line-height: 1.4;
}

body.single-post .spo-breadcrumbs__item:not(:last-child)::after {
  content: "/";
  margin-left: .52rem;
  color: #b4bec8;
}

body.single-post .spo-breadcrumbs__link {
  color: #63778d;
  font-weight: 720;
  text-decoration: none;
}

body.single-post .spo-breadcrumbs__link:hover {
  color: var(--spo-a-700);
}

body.single-post .spo-articleHero__metaRow {
  display: flex;
  justify-content: space-between;
  gap: 1rem 1.6rem;
  align-items: center;
  margin-bottom: 1.05rem;
}

body.single-post .spo-articleHero__topics {
  display: flex;
  flex-wrap: wrap;
  gap: .42rem;
  align-items: center;
  min-width: 0;
}

body.single-post .spo-articleHero__context,
body.single-post .spo-articleHero__topics a {
  display: inline-flex;
  min-height: 29px;
  align-items: center;
  padding: .34rem .62rem;
  border-radius: 5px;
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .045em;
  line-height: 1.15;
  text-transform: uppercase;
  text-decoration: none;
}

body.single-post .spo-articleHero__context {
  border: 1px solid #0f55a7;
  background: linear-gradient(180deg, #1767c0, #1254a0);
  color: #fff;
  box-shadow: 0 5px 12px rgba(21, 88, 166, .14);
}

body.single-post .spo-articleHero__topics a {
  border: 1px solid #d7e3ee;
  background: #f8fafc;
  color: #36546f;
}

body.single-post .spo-articleHero__topics a:hover {
  border-color: #b8cce0;
  color: var(--spo-a-700);
}

body.single-post .spo-context-emploi .spo-articleHero__context {
  border-color: #17644f;
  background: #18765d;
}

body.single-post .spo-context-formation .spo-articleHero__context {
  border-color: #5f4389;
  background: #7452a8;
}

body.single-post .spo-context-reglementation .spo-articleHero__context {
  border-color: #0f55a7;
  background: #1558a6;
}

body.single-post .spo-context-incendie .spo-articleHero__context {
  border-color: #a9412c;
  background: #c24f37;
}

body.single-post .spo-articleMeta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .62rem 1rem;
  align-items: center;
  color: #64758a;
  font-size: .73rem;
  line-height: 1.35;
}

body.single-post .spo-articleMeta__item {
  display: inline-flex;
  gap: .42rem;
  align-items: center;
  white-space: nowrap;
}

body.single-post .spo-articleMeta__item i {
  color: #42648b;
  font-size: .76rem;
}

body.single-post .spo-articleMeta__item--updated {
  color: #596d83;
}

body.single-post .spo-articleHero h1 {
  max-width: 27ch;
  margin: 0;
  color: var(--spo-a-ink);
  font-size: clamp(2.25rem, 4.7vw, 4.55rem);
  font-weight: 860;
  line-height: 1.01;
  letter-spacing: -.047em;
  text-wrap: balance;
}

body.single-post .spo-articleHero__lead {
  max-width: 78ch;
  margin: .9rem 0 0;
  color: #7a8aa0;
  font-size: clamp(1.04rem, .96rem + .3vw, 1.26rem);
  line-height: 1.55;
  text-wrap: pretty;
}

body.single-post .spo-articleHero__media {
  position: relative;
  overflow: hidden;
  margin: 1.35rem 0 0;
  border: 1px solid #d9e2ea;
  border-radius: 4px;
  background: #eaf0f5;
  box-shadow: var(--spo-a-shadow-soft);
}

body.single-post .spo-articleHero__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  height: auto;
  object-fit: cover;
  object-position: center;
}

body.single-post .spo-articleHero__media figcaption {
  padding: .66rem .85rem;
  border-top: 1px solid #e3e9ef;
  background: #fff;
  color: #76879a;
  font-size: .69rem;
  line-height: 1.45;
}

/* ============================================================
   2. MOCKUP-INSPIRED OVERVIEW: TOC + KEY POINTS
   ============================================================ */

body.single-post .spo-articleOverview {
  padding: 1.05rem 0 0;
  background: #fff;
}

body.single-post .spo-overviewCard {
  min-width: 0;
  padding: 1rem 1.05rem 1.08rem;
  border: 1px solid #dce8f2;
  border-radius: 5px;
  background:
    linear-gradient(135deg, #f5f9fd 0%, #edf5fc 100%);
  box-shadow: 0 5px 15px rgba(20, 68, 112, .035);
}

body.single-post .spo-overviewCard--keypoints {
  background:
    linear-gradient(135deg, #f6faff 0%, #eaf4fd 100%);
}

body.single-post .spo-overviewCard__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: .72rem;
}

body.single-post .spo-overviewCard__eyebrow,
body.single-post .spo-sideCard__eyebrow {
  margin: 0 0 .22rem;
  color: #51779f;
  font-size: .56rem;
  font-weight: 900;
  letter-spacing: .13em;
  line-height: 1.2;
}

body.single-post .spo-overviewCard h2,
body.single-post .spo-sideCard h2 {
  margin: 0;
  color: #133a6d;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: -.015em;
}

body.single-post .spo-overviewCard__count {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: #dceafa;
  color: #145aa7;
  font-size: .68rem;
  font-weight: 900;
}

body.single-post .spo-keyPoints {
  display: grid;
  gap: .62rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.single-post .spo-keyPoints li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: .65rem;
  align-items: start;
  margin: 0;
  color: #2f4b68;
  font-size: .76rem;
  line-height: 1.45;
}

body.single-post .spo-keyPoints__icon {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 7px;
  background: #1767c0;
  color: #fff;
  font-size: .65rem;
  font-weight: 900;
  box-shadow: 0 5px 12px rgba(21, 88, 166, .14);
}

/* ============================================================
   3. READING SYSTEM
   ============================================================ */

body.single-post .spo-articleLayout {
  padding-block: 1.1rem clamp(1.45rem, 2.6vw, 2.15rem);
}

body.single-post .spo-articleBody {
  min-width: 0;
  color: #334155;
  font-size: clamp(.98rem, .95rem + .12vw, 1.055rem);
  line-height: 1.67;
  overflow-wrap: anywhere;
}

body.single-post .spo-articleBody > :first-child {
  margin-top: 0;
}

body.single-post .spo-articleBody .spo-prose {
  margin: 0;
}

body.single-post .spo-articleBody p {
  margin: 0 0 1.05em;
}

body.single-post .spo-articleBody .spo-lead,
body.single-post .spo-articleBody > p:first-child {
  color: #253f58;
  font-size: clamp(1.02rem, .97rem + .16vw, 1.13rem);
  line-height: 1.66;
}

body.single-post .spo-articleBody .spo-article__kicker {
  display: inline-flex;
  margin: 0 0 .9rem;
  color: #1558a6;
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.35;
  text-transform: uppercase;
}

body.single-post .spo-articleBody h2.spo-articleUtilityHeading {
  margin: 1.7rem 0 .75rem;
  padding: 0 0 .55rem;
  border-bottom: 1px solid #d7e3ed;
  color: #123b70;
  font-size: clamp(1.18rem, 1.08rem + .28vw, 1.38rem);
  font-weight: 850;
  line-height: 1.22;
  letter-spacing: -.018em;
  scroll-margin-top: 90px;
}

body.single-post .spo-articleBody h2.spo-sectionHeading {
  position: relative;
  min-height: 43px;
  margin: 2.25rem 0 .85rem;
  padding: .1rem 0 .68rem 50px;
  border-bottom: 1px solid #a9bfd4;
  color: #123b70;
  font-size: clamp(1.35rem, 1.16rem + .55vw, 1.82rem);
  font-weight: 850;
  line-height: 1.18;
  letter-spacing: -.026em;
  scroll-margin-top: 90px;
  text-wrap: balance;
}

body.single-post .spo-articleBody h2.spo-sectionHeading::before {
  content: attr(data-spo-section);
  position: absolute;
  top: -.12rem;
  left: 0;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(180deg, #123f77, #0d2e58);
  color: #fff;
  font-size: .95rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 7px 16px rgba(13, 46, 88, .13);
}

body.single-post .spo-articleBody h3 {
  margin: 1.55em 0 .52em;
  color: #184c7d;
  font-size: clamp(1.12rem, 1.04rem + .22vw, 1.33rem);
  font-weight: 800;
  line-height: 1.25;
  scroll-margin-top: 90px;
}

body.single-post .spo-articleBody h4 {
  margin: 1.35em 0 .48em;
  color: var(--spo-a-900);
  font-size: 1rem;
  font-weight: 820;
}

body.single-post .spo-articleBody :is(ul, ol) {
  margin: .4rem 0 1.2rem;
  padding-left: 1.28rem;
}

body.single-post .spo-articleBody li {
  margin: .34rem 0;
  padding-left: .1rem;
}

body.single-post .spo-articleBody li::marker {
  color: var(--spo-a-700);
  font-weight: 900;
}

body.single-post .spo-articleBody a:not(.spo-articleAction__button) {
  color: #155ba7;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body.single-post .spo-articleBody a:not(.spo-articleAction__button):hover {
  color: #0c3d72;
}

body.single-post .spo-articleBody strong {
  color: #183b5e;
}

body.single-post .spo-articleBody hr {
  height: 1px;
  margin: 1.8rem 0;
  border: 0;
  background: var(--spo-a-line);
}

body.single-post .spo-articleBody blockquote {
  margin: 1.45rem 0;
  padding: 1rem 1.15rem;
  border: 1px solid #d7e3ed;
  border-left: 4px solid #1558a6;
  border-radius: 6px;
  background: #f8fbfe;
  color: #324c66;
}

body.single-post .spo-articleBody blockquote p:last-child {
  margin-bottom: 0;
}

body.single-post .spo-articleBody figure,
body.single-post .spo-articleBody img {
  max-width: 100%;
}

body.single-post .spo-articleBody figure {
  margin: 1.45rem 0;
}

body.single-post .spo-articleBody figcaption {
  margin-top: .5rem;
  color: #74869a;
  font-size: .72rem;
  line-height: 1.5;
}

body.single-post .spo-articleBody code {
  padding: .1rem .28rem;
  border-radius: 4px;
  background: #edf2f6;
  color: #173a58;
  font-size: .9em;
}

/* Structured content */
body.single-post .spo-articleBody :is(.spo-article__callout, .spo-callout, .spo-note) {
  margin: 1.3rem 0;
  padding: 1rem 1.08rem;
  border: 1px solid #d5e1eb;
  border-radius: 7px;
  background: #f7fbfe;
  box-shadow: 0 4px 14px rgba(13, 42, 72, .035);
}

body.single-post .spo-articleBody :is(.spo-article__callout--key, .spo-callout--key) {
  border-color: #c5daee;
  background: linear-gradient(135deg, #eff7ff 0%, #f8fbfe 100%);
}

body.single-post .spo-articleBody :is(.spo-article__callout--warn, .spo-callout--warn) {
  border-color: #ead7a6;
  background: #fffaf0;
}

body.single-post .spo-articleBody :is(.spo-article__callout, .spo-callout) > :last-child {
  margin-bottom: 0;
}

body.single-post .spo-articleBody .spo-muted {
  color: #74869a;
  font-size: .8rem;
}

/* Tables */
body.single-post .spo-articleBody table {
  width: 100%;
  margin: 1.35rem 0 1.6rem;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid #d8e2eb;
  border-radius: 6px;
  background: #fff;
  font-size: .88rem;
  line-height: 1.42;
}

body.single-post .spo-articleBody :is(th, td) {
  padding: .7rem .74rem;
  border-right: 1px solid #e1e7ed;
  border-bottom: 1px solid #e1e7ed;
  vertical-align: top;
  text-align: left;
}

body.single-post .spo-articleBody th {
  background: #10345f;
  color: #fff;
  font-weight: 820;
}

body.single-post .spo-articleBody tr:nth-child(even) td {
  background: #f8fafc;
}

body.single-post .spo-articleBody tr:last-child > * {
  border-bottom: 0;
}

body.single-post .spo-articleBody tr > *:last-child {
  border-right: 0;
}

/* FAQ */
body.single-post .spo-articleBody details {
  margin: .65rem 0;
  overflow: hidden;
  border: 1px solid #d8e2eb;
  border-radius: 7px;
  background: #fff;
}

body.single-post .spo-articleBody details > summary {
  padding: .8rem .92rem;
  color: #163f69;
  font-weight: 820;
  cursor: pointer;
}

body.single-post .spo-articleBody details > :not(summary) {
  margin-right: .92rem;
  margin-left: .92rem;
}

body.single-post .spo-articleBody details > :last-child {
  margin-bottom: .92rem;
}

/* ============================================================
   4. RIGHT RAIL — mockup key figures / institutional info
   ============================================================ */

body.single-post .spo-articleRail {
  min-width: 0;
}

body.single-post .spo-sideCard {
  margin: 0 0 .9rem;
  padding: 1rem 1.05rem;
  border: 1px solid #dce5ee;
  border-radius: 6px;
  background: #f8fbfe;
  box-shadow: 0 6px 18px rgba(13, 42, 72, .04);
}

body.single-post .spo-sideCard--figures {
  border-color: #f1d5dc;
  background: linear-gradient(135deg, #fff5f7 0%, #fff0f3 100%);
}

body.single-post .spo-sideCard--figures .spo-sideCard__eyebrow,
body.single-post .spo-sideCard--figures h2 {
  color: #c91848;
}

body.single-post .spo-keyFigures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: .82rem;
}

body.single-post .spo-keyFigure {
  min-width: 0;
  padding: .72rem .72rem .72rem 0;
}

body.single-post .spo-keyFigure:nth-child(odd) {
  border-right: 1px solid rgba(210, 90, 118, .18);
}

body.single-post .spo-keyFigure:nth-child(even) {
  padding-left: .78rem;
}

body.single-post .spo-keyFigure:nth-child(n+3) {
  border-top: 1px solid rgba(210, 90, 118, .16);
}

body.single-post .spo-keyFigure strong {
  display: block;
  color: #d11a4b;
  font-size: clamp(1.18rem, 1.06rem + .3vw, 1.48rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.025em;
}

body.single-post .spo-keyFigure span {
  display: block;
  margin-top: .32rem;
  color: #59687b;
  font-size: .68rem;
  line-height: 1.38;
}

body.single-post .spo-sideCard--repere {
  border-color: #d7e7f5;
  background: linear-gradient(135deg, #f4f9fe 0%, #ebf5fd 100%);
}

body.single-post .spo-readingFacts {
  display: grid;
  gap: .55rem;
  margin: .8rem 0 0;
}

body.single-post .spo-readingFacts > div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: .55rem;
  align-items: baseline;
  padding-bottom: .48rem;
  border-bottom: 1px solid rgba(84, 126, 166, .15);
}

body.single-post .spo-readingFacts > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

body.single-post .spo-readingFacts dt {
  color: #70859a;
  font-size: .65rem;
  font-weight: 760;
}

body.single-post .spo-readingFacts dd {
  margin: 0;
  color: #244766;
  font-size: .7rem;
  font-weight: 780;
  text-align: right;
}

body.single-post .spo-sideCard--method {
  background: #fff;
}

body.single-post .spo-sideCard--method p:not(.spo-sideCard__eyebrow),
body.single-post .spo-sideCard--safety p:not(.spo-sideCard__eyebrow) {
  margin: .62rem 0 0;
  color: #66788b;
  font-size: .73rem;
  line-height: 1.52;
}

body.single-post .spo-sideCard a {
  display: inline-flex;
  gap: .36rem;
  margin-top: .7rem;
  color: #1558a6;
  font-size: .7rem;
  font-weight: 850;
  text-decoration: none;
}

body.single-post .spo-sideCard--safety {
  border-color: #ead8a9;
  background: #fffaf0;
}

body.single-post .spo-sideCard--safety .spo-sideCard__eyebrow,
body.single-post .spo-sideCard--safety h2 {
  color: #8f6218;
}

/* ============================================================
   5. CONTEXTUAL ACTION + SOURCES
   ============================================================ */

body.single-post .spo-articleBody .spo-articleAction {
  position: relative;
  overflow: hidden;
  margin: 1.85rem 0 1.25rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid #123e71;
  border-radius: 7px;
  background: linear-gradient(135deg, #0d2e58, #123f77);
  color: #fff;
  box-shadow: 0 12px 30px rgba(13, 46, 88, .12);
}

body.single-post .spo-articleBody .spo-articleAction.spo-article__cta {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-areas:
    "kicker actions"
    "title actions"
    "text actions" !important;
  gap: .28rem 1.35rem !important;
  align-items: center !important;
  padding: 1.3rem 1.4rem !important;
}

body.single-post .spo-articleBody .spo-articleAction.spo-article__cta > p {
  position: static !important;
  float: none !important;
  width: auto !important;
  max-width: none;
  transform: none !important;
}

body.single-post .spo-articleBody .spo-articleAction.spo-article__cta .spo-articleAction__kicker {
  grid-area: kicker;
  color: #c6ddf8 !important;
  -webkit-text-fill-color: #c6ddf8 !important;
}

body.single-post .spo-articleBody .spo-articleAction.spo-article__cta .spo-articleAction__title {
  grid-area: title;
  max-width: 34ch;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

body.single-post .spo-articleBody .spo-articleAction.spo-article__cta .spo-articleAction__title strong {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

body.single-post .spo-articleBody .spo-articleAction.spo-article__cta .spo-articleAction__text {
  grid-area: text;
  max-width: 58ch;
  color: rgba(255,255,255,.82) !important;
  -webkit-text-fill-color: rgba(255,255,255,.82) !important;
}

body.single-post .spo-articleBody .spo-articleAction.spo-article__cta .spo-articleAction__actions {
  grid-area: actions;
  margin: 0 !important;
  align-self: center;
}

body.single-post .spo-articleBody .spo-articleAction.spo-article__cta .spo-articleAction__button {
  white-space: nowrap;
}

@media (max-width: 720px) {
  body.single-post .spo-articleBody .spo-articleAction.spo-article__cta {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "kicker"
      "title"
      "text"
      "actions" !important;
    gap: .34rem !important;
    padding: 1.15rem !important;
  }

  body.single-post .spo-articleBody .spo-articleAction.spo-article__cta .spo-articleAction__actions {
    margin-top: .55rem !important;
  }

  body.single-post .spo-articleBody .spo-articleAction.spo-article__cta .spo-articleAction__button {
    white-space: normal;
  }
}

body.single-post .spo-articleBody .spo-articleAction::after {
  content: "";
  position: absolute;
  width: 10rem;
  height: 10rem;
  right: -4.5rem;
  bottom: -6.2rem;
  border-radius: 50%;
  background: rgba(255,255,255,.045);
  pointer-events: none;
}

body.single-post .spo-articleAction__kicker {
  margin: 0 0 .48rem !important;
  color: #a8cfff;
  font-size: .59rem !important;
  font-weight: 900;
  letter-spacing: .12em;
}

body.single-post .spo-articleAction__title {
  max-width: 35ch;
  margin: 0 !important;
  color: #fff !important;
  font-size: clamp(1.15rem, 1.03rem + .38vw, 1.45rem) !important;
  line-height: 1.2 !important;
}

body.single-post .spo-articleAction__title strong {
  color: #fff;
}

body.single-post .spo-articleAction__text {
  max-width: 65ch;
  margin: .62rem 0 0 !important;
  color: rgba(255,255,255,.72);
  font-size: .82rem;
  line-height: 1.55;
}

body.single-post .spo-articleAction__actions {
  margin: .9rem 0 0 !important;
}

body.single-post .spo-articleAction__button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  gap: .55rem;
  align-items: center;
  min-height: 42px;
  padding: .62rem .88rem;
  border: 1px solid #fff;
  border-radius: 5px;
  background: #fff;
  color: #10345f;
  font-size: .74rem;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
}

body.single-post .spo-articleAction__button:hover {
  background: #eef6ff;
  color: #0d2e58;
}

body.single-post .spo-articleBody :is(.spo-sources, .spo-article__sources) {
  margin: 1.25rem 0 0;
  padding: 1rem 1.08rem;
  border: 1px solid #d8e2eb;
  border-radius: 6px;
  background: #f9fbfd;
}

body.single-post .spo-articleBody :is(.spo-sources, .spo-article__sources) h2,
body.single-post .spo-articleBody :is(.spo-sources, .spo-article__sources) h3 {
  margin-top: 0;
  color: #153f69;
  font-size: .95rem;
  letter-spacing: -.01em;
}

body.single-post .spo-articleBody :is(.spo-sources, .spo-article__sources) :is(ul, ol) {
  margin-bottom: 0;
}

body.single-post .spo-articleBody :is(.spo-sources, .spo-article__sources) li {
  font-size: .78rem;
  line-height: 1.5;
}

/* ============================================================
   6. RELATED CONTENT / FOOTER
   ============================================================ */

body.single-post .spo-articleRelated {
  padding-block: clamp(1.85rem, 3.2vw, 2.6rem);
  border-top: 1px solid #dce5ee;
  background: #f6f8fa;
}

body.single-post .spo-articleRelated__head {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 1.15rem;
  padding-bottom: .85rem;
  border-bottom: 2px solid #123b70;
}

body.single-post .spo-articleRelated__head p {
  margin: 0 0 .28rem;
  color: #1558a6;
  font-size: .59rem;
  font-weight: 900;
  letter-spacing: .13em;
}

body.single-post .spo-articleRelated__head h2 {
  margin: 0;
  color: #102e56;
  font-size: clamp(1.5rem, 2.45vw, 2.18rem);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -.035em;
}

body.single-post .spo-articleRelated__head > a {
  flex: 0 0 auto;
  color: #123b70;
  font-size: .73rem;
  font-weight: 850;
  text-decoration: none;
}

body.single-post .spo-articleRelated__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .95rem;
}

body.single-post .spo-relatedCard {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #dbe3ea;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(13, 42, 72, .045);
}

body.single-post .spo-relatedCard__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #edf2f6;
}

body.single-post .spo-relatedCard__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .2s ease;
}

body.single-post .spo-relatedCard:hover .spo-relatedCard__media img {
  transform: scale(1.012);
}

body.single-post .spo-relatedCard__placeholder {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(23,103,192,.16), transparent 34%),
    linear-gradient(135deg, #f4f8fc 0%, #e9f1f8 55%, #dfeaf4 100%);
  color: #315d87;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

body.single-post .spo-relatedCard__placeholder::before {
  content: "";
  position: absolute;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(21,88,166,.15);
  border-radius: 50%;
  box-shadow:
    0 0 0 20px rgba(21,88,166,.035),
    0 0 0 42px rgba(21,88,166,.02);
}

body.single-post .spo-relatedCard__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: .9rem;
}

body.single-post .spo-relatedCard__meta {
  margin: 0 0 .46rem;
  color: #78889a;
  font-size: .63rem;
  font-weight: 720;
}

body.single-post .spo-relatedCard h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 820;
  line-height: 1.23;
  letter-spacing: -.018em;
}

body.single-post .spo-relatedCard h3 a {
  color: #102e56;
  text-decoration: none;
}

body.single-post .spo-relatedCard__body > p:not(.spo-relatedCard__meta) {
  margin: .58rem 0 0;
  color: #6f7f91;
  font-size: .73rem;
  line-height: 1.5;
}

body.single-post .spo-relatedCard__read {
  display: inline-flex;
  gap: .32rem;
  margin-top: auto;
  padding-top: .76rem;
  color: #1558a6;
  font-size: .7rem;
  font-weight: 900;
  text-decoration: none;
}

body.single-post .spo-articleFooter {
  padding-block: 1.55rem 0;
}

body.single-post .spo-articleTags {
  max-width: 780px;
  margin: 0 auto 1.35rem;
  padding-top: .9rem;
  border-top: 1px solid #dce5ee;
}

body.single-post .spo-articleTags__label {
  margin: 0 0 .58rem;
  color: #7c8c9c;
  font-size: .59rem;
  font-weight: 900;
  letter-spacing: .13em;
}

body.single-post .spo-articleTags .tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: .38rem;
}

body.single-post .spo-articleTags .tagcloud a {
  display: inline-flex;
  min-height: 29px;
  align-items: center;
  padding: .28rem .55rem;
  border: 1px solid #d7e1e9;
  border-radius: 999px;
  background: #f8fafc;
  color: #456074;
  font-size: .67rem !important;
  font-weight: 760;
  text-decoration: none;
}

body.single-post .spo-articleFooter .post-navigation {
  max-width: 780px;
  margin: 0 auto;
}

body.single-post .spo-articleFooter .post-navigation .nav-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
}

body.single-post .spo-articleFooter .post-navigation a {
  display: block;
  min-height: 100%;
  padding: .9rem;
  border: 1px solid #d9e2e9;
  border-radius: 6px;
  background: #fff;
  color: #123b70;
  font-size: .76rem;
  font-weight: 780;
  line-height: 1.42;
  text-decoration: none;
}

/* ============================================================
   7. ACCESSIBILITY / MOTION
   ============================================================ */

body.single-post .spo-articleV31 :is(a, button, summary):focus-visible {
  outline: 3px solid rgba(21, 88, 166, .35);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  body.single-post .spo-articleV31 *,
  body.single-post .spo-articleV31 *::before,
  body.single-post .spo-articleV31 *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
