/* ==========================================================================
   Starfish Coaching: blog page (hero, topic pills, card grid, page numbers)
   Scoped under .sfb. Brand tokens mirror the live site (Poppins / Rubik, teal #2E5B73, green #338854).
   Colours are written at a specificity the theme's link and heading colours cannot beat (lesson from Starfish Events).
   ========================================================================== */

.sfb {
  --sfb-navy:   #0F2436;
  --sfb-teal:   #2E5B73;
  --sfb-green:  #338854;
  --sfb-ink:    #14303F;
  --sfb-soft:   #5C5C5C;
  --sfb-line:   #D5DEE4;
  --sfb-on-dark:#C9DCE5;
  --sfb-radius: 16px;
  --sfb-gap:    clamp(16px, 2vw, 32px);
  --sfb-ease:   cubic-bezier(0.22, 1, 0.36, 1);
  font-family: 'Rubik', system-ui, sans-serif;
  color: var(--sfb-ink);
  text-align: left;
}
.sfb *, .sfb *::before, .sfb *::after { box-sizing: border-box; }
.sfb p, .sfb h2, .sfb h3 { margin: 0; }

.sfb .sfb-sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---- shared bits ---------------------------------------------------------- */

.sfb a.sfb-link,
.sfb a.sfb-link:hover,
.sfb a.sfb-link:focus-visible { text-decoration: none; color: inherit; }

/* The whole card is the link: the anchor's box is stretched over the card, so there is one tab stop per article. */
.sfb a.sfb-link::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: var(--sfb-radius); }
.sfb a.sfb-link:focus-visible { outline: none; }
.sfb a.sfb-link:focus-visible::after { outline: 3px solid #57DA89; outline-offset: 4px; }

.sfb p.sfb-kicker {
  font: 500 0.74rem/1.2 'Rubik', sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sfb .sfb-none {
  display: grid; place-items: center; width: 100%; height: 100%;
  background: linear-gradient(135deg, #2E5B73 0%, #183242 100%);
}
.sfb .sfb-none--v1 { background: linear-gradient(135deg, #2A7046 0%, #183242 100%); }
.sfb .sfb-none--v2 { background: linear-gradient(135deg, #183242 0%, #2E5B73 100%); }
.sfb .sfb-none svg { width: 26%; max-width: 96px; height: auto; fill: rgba(255, 255, 255, 0.2); }

.sfb img { display: block; max-width: 100%; }

/* ---- hero: one big article, three small -------------------------------- */

.sfb .sfb-feat {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: var(--sfb-gap);
  align-items: stretch;
}

.sfb .sfb-lead {
  position: relative;
  min-height: clamp(380px, 37vw, 540px);
  border-radius: var(--sfb-radius);
  overflow: hidden;
  background: #183242;
  isolation: isolate;
}
.sfb .sfb-lead__img { position: absolute; inset: 0; display: block; }
.sfb .sfb-lead__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--sfb-ease); }
.sfb .sfb-lead::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(15, 36, 54, 0) 28%, rgba(15, 36, 54, 0.9) 100%);
}
.sfb .sfb-lead__body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: clamp(20px, 2.6vw, 40px);
  max-width: 62ch;
}
.sfb .sfb-lead p.sfb-kicker { color: var(--sfb-on-dark); margin: 0 0 0.7rem; }
.sfb h3.sfb-lead__title {
  font: 600 clamp(1.5rem, 2.5vw, 2.3rem)/1.15 'Poppins', sans-serif;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 0 0 0.8rem;
}
.sfb p.sfb-lead__ex {
  font: 400 1.02rem/1.55 'Rubik', sans-serif;
  color: var(--sfb-on-dark);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.sfb .sfb-lead:hover .sfb-lead__img img { transform: scale(1.04); }

.sfb .sfb-side {
  display: grid;
  gap: clamp(18px, 2vw, 28px);
  align-content: space-between;
}
.sfb .sfb-sideitem {
  position: relative;
  display: grid;
  grid-template-columns: clamp(96px, 10vw, 150px) minmax(0, 1fr);
  gap: clamp(14px, 1.4vw, 20px);
  align-items: start;
}
.sfb .sfb-thumb {
  display: block; position: relative; aspect-ratio: 4 / 3;
  border-radius: 12px; overflow: hidden; background: #183242;
}
.sfb .sfb-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--sfb-ease); }
.sfb .sfb-sideitem:hover .sfb-thumb img { transform: scale(1.06); }
.sfb .sfb-sideitem p.sfb-kicker { color: var(--sfb-on-dark); margin: 0 0 0.4rem; }
.sfb h3.sfb-sideitem__title {
  font: 600 clamp(1rem, 1.25vw, 1.15rem)/1.3 'Poppins', sans-serif;
  color: #fff;
  margin: 0 0 0.4rem;
}
.sfb p.sfb-sideitem__ex {
  font: 400 0.92rem/1.5 'Rubik', sans-serif;
  color: var(--sfb-on-dark);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sfb .sfb-sideitem a.sfb-link::after { border-radius: 12px; }

/* ---- topic pills -------------------------------------------------------- */

.sfb .sfb-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 clamp(28px, 3.5vw, 52px); }
.sfb a.sfb-pill {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0.55rem 1.2rem;
  border: 1px solid var(--sfb-line); border-radius: 999px; background: #fff;
  font: 500 0.95rem/1 'Rubik', sans-serif; color: var(--sfb-ink); text-decoration: none;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.sfb a.sfb-pill:hover { border-color: var(--sfb-teal); color: var(--sfb-teal); }
.sfb a.sfb-pill[aria-current="true"],
.sfb a.sfb-pill[aria-current="true"]:hover { background: var(--sfb-navy); border-color: var(--sfb-navy); color: #fff; }
.sfb a.sfb-pill:focus-visible { outline: 3px solid #57DA89; outline-offset: 2px; }

/* ---- card grid ---------------------------------------------------------- */

.sfb .sfb-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(36px, 4.5vw, 64px) var(--sfb-gap);
}
.sfb .sfb-card { position: relative; }
.sfb .sfb-card__img {
  display: block; position: relative; aspect-ratio: 16 / 10;
  border-radius: var(--sfb-radius); overflow: hidden; background: #E8EFF3;
}
.sfb .sfb-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--sfb-ease); }
.sfb .sfb-card:hover .sfb-card__img img { transform: scale(1.04); }
.sfb .sfb-card p.sfb-kicker { color: var(--sfb-soft); margin: 1rem 0 0.45rem; }
.sfb h3.sfb-card__title {
  font: 600 clamp(1.08rem, 1.3vw, 1.22rem)/1.3 'Poppins', sans-serif;
  color: var(--sfb-ink);
  margin: 0 0 0.5rem;
}
.sfb .sfb-card:hover h3.sfb-card__title { color: var(--sfb-teal); }
.sfb p.sfb-card__ex {
  font: 400 1rem/1.55 'Rubik', sans-serif;
  color: var(--sfb-soft);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sfb .sfb-none-msg { font: 400 1.05rem/1.6 'Rubik', sans-serif; color: var(--sfb-soft); }

/* ---- page numbers ------------------------------------------------------- */

.sfb .sfb-pager {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px;
  margin-top: clamp(44px, 5.5vw, 80px);
}
.sfb .sfb-pg, .sfb a.sfb-pg {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 0.9rem;
  border: 1px solid var(--sfb-line); border-radius: 999px; background: #fff;
  font: 500 0.95rem/1 'Rubik', sans-serif; color: var(--sfb-ink); text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.sfb a.sfb-pg:hover { border-color: var(--sfb-teal); color: var(--sfb-teal); }
.sfb .sfb-pg.is-current { background: var(--sfb-navy); border-color: var(--sfb-navy); color: #fff; }
.sfb a.sfb-pg:focus-visible { outline: 3px solid #57DA89; outline-offset: 2px; }
.sfb .sfb-gap { color: var(--sfb-soft); padding: 0 2px; }

/* ---- smaller screens ---------------------------------------------------- */

@media (max-width: 1024px) {
  .sfb .sfb-feat { grid-template-columns: 1fr; }
  .sfb .sfb-lead { min-height: clamp(340px, 62vw, 520px); }
  .sfb .sfb-side { gap: 22px; }
  .sfb .sfb-sideitem { grid-template-columns: clamp(110px, 22vw, 170px) minmax(0, 1fr); }
  .sfb .sfb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .sfb .sfb-grid { grid-template-columns: 1fr; }
  .sfb .sfb-lead { min-height: 420px; }
  .sfb .sfb-pills { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(var(--sfb-gap) * -1); padding-right: var(--sfb-gap); scrollbar-width: none; }
  .sfb .sfb-pills::-webkit-scrollbar { display: none; }
  .sfb a.sfb-pill { flex: 0 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
  .sfb *, .sfb *::before, .sfb *::after { transition: none !important; }
}


/* ==========================================================================
   1.1.0  Single articles, topic archives, promo tiles.
   The Elementor sections around the shortcodes carry these classes: sfb-band, sfb-main, sfb-promos (archives, the blog),
   sfb-arthead, sfb-artbody, sfb-related (articles).
   ========================================================================== */

.sfb-band, .sfb-main, .sfb-promos, .sfb-arthead, .sfb-artbody, .sfb-related {
  --g: clamp(20px, 1.9vw, 48px);
  --ar: 0.5625;   /* the article photo's height as a share of its width: 16 by 9 */
}
.sfb-band > .elementor-container,
.sfb-main > .elementor-container,
.sfb-promos > .elementor-container,
.sfb-related > .elementor-container { max-width: 1520px; margin: 0 auto; padding: 0 var(--g); width: 100%; }

.sfb-band   { background: #0F2436; padding: clamp(44px, 5.5vw, 88px) 0 clamp(56px, 7vw, 104px); }
.sfb-main   { padding: clamp(48px, 6vw, 88px) 0 clamp(56px, 7vw, 104px); }
.sfb-promos { padding: 0 0 clamp(56px, 7vw, 112px); }
.sfb-related{ padding: clamp(8px, 2vw, 24px) 0 clamp(56px, 7vw, 96px); }
#posts { scroll-margin-top: 110px; }

/* ---- topic archive heading ---------------------------------------------- */

.sfb p.sfb-hd__kicker { font: 500 0.78rem/1.2 'Rubik', sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: #A8E6C1; margin: 0 0 1rem; }
.sfb h1.sfb-hd__title { font: 500 clamp(2.4rem, 5.4vw, 4.8rem)/1.04 'Poppins', sans-serif; letter-spacing: -0.03em; color: #fff; margin: 0; max-width: 18ch; text-wrap: balance; }
.sfb p.sfb-hd__desc   { font: 400 1.1rem/1.6 'Rubik', sans-serif; color: var(--sfb-on-dark); margin: 1.3rem 0 0; max-width: 56ch; }

/* ---- the article header: label, title, date, share icons, and the photo overlapping the band ---------------- */

.sfb-arthead { background: #0F2436; padding: clamp(40px, 5vw, 76px) 0 0; }
.sfb-arthead > .elementor-container { max-width: none; width: 100%; padding: 0; }
body.sfb-noimg .sfb-arthead { padding-bottom: clamp(40px, 5vw, 72px); }

.sfb .sfb-ah__in { max-width: 960px; margin: 0 auto; padding: 0 var(--g, 24px); }
.sfb .sfb-ah__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.sfb p.sfb-ah__kicker {
  display: flex; align-items: center; gap: 10px;
  font: 500 0.78rem/1.2 'Rubik', sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: #A8E6C1; margin: 0 0 1.1rem;
}
.sfb p.sfb-ah__kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #57DA89; }
.sfb h1.sfb-ah__title { font: 500 clamp(1.9rem, 3.7vw, 3.05rem)/1.1 'Poppins', sans-serif; letter-spacing: -0.02em; color: #fff; margin: 0 0 1rem; text-wrap: balance; }
.sfb p.sfb-ah__meta { font: 400 0.95rem/1.4 'Rubik', sans-serif; color: var(--sfb-on-dark); }

.sfb ul.sfb-share { display: flex; gap: 10px; flex: none; list-style: none; margin: 0.2rem 0 0; padding: 0; }
.sfb ul.sfb-share li { margin: 0; padding: 0; }
.sfb ul.sfb-share a {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3); background: transparent; text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s;
}
.sfb ul.sfb-share svg { width: 20px; height: 20px; fill: #fff; transition: fill 0.2s; }
.sfb ul.sfb-share a:hover, .sfb ul.sfb-share a:focus-visible { background: #fff; border-color: #fff; }
.sfb ul.sfb-share a:hover svg, .sfb ul.sfb-share a:focus-visible svg { fill: #0F2436; }
.sfb ul.sfb-share a:focus-visible { outline: 3px solid #57DA89; outline-offset: 2px; }

.sfb div.sfb-ah__fig {
  position: relative; z-index: 2;
  margin: clamp(28px, 3.5vw, 48px) 0 calc(var(--ar) * -50%) !important;   /* a percentage is of the photo's own width, so half its height spills out */
  aspect-ratio: 1 / var(--ar); border-radius: var(--sfb-radius); overflow: hidden; background: #183242;
}
.sfb div.sfb-ah__fig img { width: 100%; height: 100%; object-fit: cover; }

/* ---- the reading column ----------------------------------------------- */

.sfb-artbody { --artw: min(calc(960px - 2 * var(--g)), calc(100vw - 2 * var(--g))); padding: calc(var(--artw) * var(--ar) * 0.5 + clamp(36px, 4.5vw, 64px)) 0 clamp(40px, 5vw, 72px); }
body.sfb-noimg .sfb-artbody { padding-top: clamp(40px, 5vw, 64px); }
.sfb-artbody > .elementor-container { max-width: 760px; margin: 0 auto; padding: 0 var(--g); width: 100%; }

:is(.sfb-artbody .elementor-widget-theme-post-content .elementor-widget-container, .sfb-art-content) {
  font: 400 1.1875rem/1.75 'Rubik', system-ui, sans-serif; color: #2B3A45;
}
:is(.sfb-artbody .elementor-widget-theme-post-content .elementor-widget-container, .sfb-art-content) :is(p, li, span, div, td, th, dd, dt, em, strong, b, i) { color: #2B3A45 !important; }
:is(.sfb-artbody .elementor-widget-theme-post-content .elementor-widget-container, .sfb-art-content) p { margin: 0 0 1.35em; font-size: inherit; line-height: inherit; }
:is(.sfb-artbody .elementor-widget-theme-post-content .elementor-widget-container, .sfb-art-content) :is(h2, h3, h4, h5) {
  font-family: 'Poppins', sans-serif; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; color: #14303F !important; margin: 2em 0 0.6em;
}
:is(.sfb-artbody .elementor-widget-theme-post-content .elementor-widget-container, .sfb-art-content) h2 { font-size: clamp(1.5rem, 2.4vw, 1.85rem); }
:is(.sfb-artbody .elementor-widget-theme-post-content .elementor-widget-container, .sfb-art-content) h3 { font-size: clamp(1.25rem, 1.9vw, 1.45rem); }
:is(.sfb-artbody .elementor-widget-theme-post-content .elementor-widget-container, .sfb-art-content) :is(h4, h5) { font-size: 1.15rem; }
:is(.sfb-artbody .elementor-widget-theme-post-content .elementor-widget-container, .sfb-art-content) a { color: #2E5B73 !important; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
:is(.sfb-artbody .elementor-widget-theme-post-content .elementor-widget-container, .sfb-art-content) a:hover { color: #2A7046 !important; }
:is(.sfb-artbody .elementor-widget-theme-post-content .elementor-widget-container, .sfb-art-content) :is(ul, ol) { margin: 0 0 1.35em; padding-left: 1.4em; }
:is(.sfb-artbody .elementor-widget-theme-post-content .elementor-widget-container, .sfb-art-content) li { margin: 0.45em 0; }
:is(.sfb-artbody .elementor-widget-theme-post-content .elementor-widget-container, .sfb-art-content) blockquote {
  margin: 2em 0; padding: 0 0 0 1.4rem; border-left: 3px solid #338854; font: 500 clamp(1.25rem, 2.1vw, 1.6rem)/1.45 'Poppins', sans-serif; color: #14303F;
}
:is(.sfb-artbody .elementor-widget-theme-post-content .elementor-widget-container, .sfb-art-content) blockquote :is(p, span, cite) { font: inherit; color: inherit !important; margin: 0; }
:is(.sfb-artbody .elementor-widget-theme-post-content .elementor-widget-container, .sfb-art-content) :is(img, video, iframe) { max-width: 100%; }
:is(.sfb-artbody .elementor-widget-theme-post-content .elementor-widget-container, .sfb-art-content) img { height: auto; border-radius: 12px; }
:is(.sfb-artbody .elementor-widget-theme-post-content .elementor-widget-container, .sfb-art-content) iframe { border-radius: 12px; }
:is(.sfb-artbody .elementor-widget-theme-post-content .elementor-widget-container, .sfb-art-content) :is(figure, .wp-caption) { margin: 2em 0; max-width: 100%; }
:is(.sfb-artbody .elementor-widget-theme-post-content .elementor-widget-container, .sfb-art-content) :is(figcaption, .wp-caption-text) { font: 400 0.9rem/1.5 'Rubik', sans-serif; color: #5C5C5C !important; margin-top: 0.6rem; font-style: normal; }
:is(.sfb-artbody .elementor-widget-theme-post-content .elementor-widget-container, .sfb-art-content) table { display: block; overflow-x: auto; max-width: 100%; border-collapse: collapse; }

/* ---- the offer under every article --------------------------------------- */

.sfb aside.sfb-callout {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: #2E5B73; border-radius: var(--sfb-radius); padding: clamp(24px, 3vw, 40px); margin: clamp(32px, 4vw, 56px) 0 0;
}
.sfb p.sfb-callout__k { font: 500 0.78rem/1.2 'Rubik', sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: #A8E6C1; margin: 0 0 0.6rem; }
.sfb p.sfb-callout__t { font: 600 clamp(1.1rem, 1.6vw, 1.3rem)/1.45 'Poppins', sans-serif; color: #fff; margin: 0; max-width: 34rem; }
.sfb p.sfb-callout__t strong { font-weight: 700; color: #fff; }
.sfb a.sfb-callout__btn {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0.7rem 1.5rem; border-radius: 999px; background: #fff; color: #0F2436;
  font: 600 1rem/1 'Rubik', sans-serif; text-decoration: none; white-space: nowrap; transition: background-color 0.25s;
}
.sfb a.sfb-callout__btn:hover, .sfb a.sfb-callout__btn:focus-visible { background: #57DA89; color: #0F2436; }
.sfb a.sfb-callout__btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* ---- related articles --------------------------------------------------- */

.sfb .sfb-rel__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 clamp(24px, 3vw, 40px); }
.sfb h2#sfb-rel-h { font: 600 clamp(1.5rem, 2.4vw, 2rem)/1.2 'Poppins', sans-serif; letter-spacing: -0.015em; color: var(--sfb-ink); }
.sfb a.sfb-rel__all { font: 500 0.95rem/1.2 'Rubik', sans-serif; color: var(--sfb-teal); text-decoration: none; }
.sfb a.sfb-rel__all::after { content: "\2192"; margin-left: 0.5em; display: inline-block; transition: transform 0.3s; }
.sfb a.sfb-rel__all:hover::after { transform: translateX(4px); }
.sfb a.sfb-rel__all:hover { color: #2A7046; }

/* ---- the two promotional tiles -------------------------------------------- */

.sfb .sfb-promoset { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sfb-gap); }
.sfb a.sfb-promo {
  position: relative; display: block; min-height: clamp(320px, 30vw, 440px); border-radius: var(--sfb-radius); overflow: hidden;
  background: #183242; color: #fff; text-decoration: none; isolation: isolate;
}
.sfb a.sfb-promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--sfb-ease); }
.sfb a.sfb-promo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(15, 36, 54, 0.92) 0%, rgba(15, 36, 54, 0.72) 48%, rgba(15, 36, 54, 0.2) 100%); }
.sfb a.sfb-promo:hover img, .sfb a.sfb-promo:focus-visible img { transform: scale(1.05); }
.sfb a.sfb-promo:focus-visible { outline: 3px solid #57DA89; outline-offset: 4px; }
.sfb .sfb-promo__b { position: absolute; left: 0; bottom: 0; z-index: 2; padding: clamp(22px, 3vw, 48px); max-width: 30rem; }
.sfb .sfb-promo__h { display: block; font: 600 clamp(1.6rem, 2.8vw, 2.5rem)/1.1 'Poppins', sans-serif; letter-spacing: -0.02em; color: #fff; margin: 0 0 0.7rem; }
.sfb .sfb-promo__p { display: block; font: 400 1.05rem/1.55 'Rubik', sans-serif; color: #DCE7ED; margin: 0 0 1.4rem; }
.sfb .sfb-promo__btn {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0.7rem 1.5rem; border-radius: 999px; background: #fff; color: #0F2436;
  font: 600 1rem/1 'Rubik', sans-serif; transition: background-color 0.25s, color 0.25s;
}
.sfb .sfb-promo__btn::after { content: "\2192"; margin-left: 0.55em; transition: transform 0.3s; }
.sfb a.sfb-promo:hover .sfb-promo__btn, .sfb a.sfb-promo:focus-visible .sfb-promo__btn { background: #57DA89; }
.sfb a.sfb-promo:hover .sfb-promo__btn::after { transform: translateX(4px); }

/* ---- page numbers drawn by WordPress on real archives ---------------------- */

.sfb .sfb-pager .page-numbers {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 0.9rem;
  border: 1px solid var(--sfb-line); border-radius: 999px; background: #fff;
  font: 500 0.95rem/1 'Rubik', sans-serif; color: var(--sfb-ink); text-decoration: none; transition: border-color 0.2s, color 0.2s;
}
.sfb .sfb-pager a.page-numbers:hover { border-color: var(--sfb-teal); color: var(--sfb-teal); }
.sfb .sfb-pager .page-numbers.current { background: var(--sfb-navy); border-color: var(--sfb-navy); color: #fff; }
.sfb .sfb-pager .page-numbers.dots { border-color: transparent; background: transparent; color: var(--sfb-soft); min-width: 0; padding: 0 2px; }
.sfb .sfb-pager a.page-numbers:focus-visible { outline: 3px solid #57DA89; outline-offset: 2px; }

/* ---- smaller screens ------------------------------------------------------ */

@media (max-width: 1024px) {
  .sfb-arthead, .sfb-artbody, .sfb-related { --ar: 0.6667; }   /* 3 by 2 on a phone */
}
@media (max-width: 767px) {
  .sfb .sfb-ah__top { flex-direction: column; gap: 18px; }
  .sfb ul.sfb-share { margin: 0; }
  .sfb .sfb-promoset { grid-template-columns: 1fr; }
  .sfb a.sfb-promo::before { background: linear-gradient(180deg, rgba(15, 36, 54, 0.35) 0%, rgba(15, 36, 54, 0.9) 100%); }
  .sfb aside.sfb-callout { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .sfb a.sfb-promo img, .sfb .sfb-promo__btn::after, .sfb a.sfb-rel__all::after { transition: none; }
}
