/* Newsroom — the section's own stylesheet.
 *
 * Loaded only on Newsroom views (functions.php) and as an editor style, so the
 * block preview matches the front end. It builds on the theme's design tokens
 * (theme.json → CSS custom properties): colours are var(--wp--preset--color--…),
 * the text face is var(--wp--preset--font-family--inter), labels are
 * var(--wp--preset--font-family--mono). No hex is hard-coded here that a token
 * already names.
 *
 * Structure fills in across the section's templates and blocks:
 *   1. Foundations — the Newsroom scope, type, container      (this file)
 *   2. Homepage    — hero, featured, filters, grid, panels    (E4)
 *   3. Article     — header, in-brief, body, related, CTA     (E6)
 *   4. Media Kit   — overview, logos, colours, contact        (E8)
 *   5. States      — hover, focus, empty, loading, toast      (E13)
 */

/* 1. Foundations ---------------------------------------------------------- */

.sb-newsroom {
  /* Inter for text; Outfit stays the site default everywhere else. */
  font-family: var(--wp--preset--font-family--inter);
  color: var(--wp--preset--color--body);
  /* The sticky filter bar sits under the fixed 70px header; anchor jumps and
     the browser's own scroll must clear both it and the header. */
  --sb-news-container: 1180px;
  --sb-news-gutter: 28px;
  --sb-news-focus-ring: 0 0 0 3px rgba(56, 169, 224, 0.55);
}

.sb-newsroom__container {
  max-width: var(--sb-news-container);
  margin-inline: auto;
  padding-inline: var(--sb-news-gutter);
}

/* Small uppercase labels — eyebrows, category · date, file sizes, hex. */
.sb-news-label {
  font-family: var(--wp--preset--font-family--mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 10px;
  font-weight: 600;
}

/* A visible focus ring on every interactive Newsroom element. */
.sb-newsroom :focus-visible {
  outline: none;
  box-shadow: var(--sb-news-focus-ring);
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  .sb-newsroom * {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* Covers ------------------------------------------------------------------ */
/* Every cover is a 16:9 box. A featured image fills it; a programmatic cover
   draws its category's motif inside it. No raster text — these are all CSS. */
.sb-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: inherit;
  background: var(--wp--preset--color--ice);
  isolation: isolate;
}
.sb-cover__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* product-news — dark console with "deal" rows, the third highlighted. */
.sb-cover--product-news {
  background: linear-gradient(135deg, #16212e, #24313f);
}
.sb-cover-ui {
  position: absolute;
  inset: 14% 12%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(6px, 1.6vw, 12px);
}
.sb-cover-deal {
  display: flex;
  align-items: center;
  gap: 8px;
  height: clamp(7px, 1.5vw, 12px);
}
.sb-cover-deal__bar {
  flex: 1;
  height: 100%;
  border-radius: 999px;
  background: rgba(147, 164, 181, 0.28);
}
.sb-cover-deal.is-on .sb-cover-deal__bar {
  background: linear-gradient(90deg, var(--wp--preset--color--brand-bright), var(--wp--preset--color--brand));
  box-shadow: 0 0 18px rgba(56, 169, 224, 0.5);
}
.sb-cover-deal__chip {
  font-family: var(--wp--preset--font-family--mono);
  font-size: clamp(8px, 1.4vw, 11px);
  font-weight: 700;
  color: #16212e;
  background: var(--wp--preset--color--brand-bright);
  border-radius: 5px;
  padding: 1px 6px;
  line-height: 1.4;
}

/* research — a big figure over a mini bar chart. */
.sb-cover--research {
  background: var(--wp--preset--color--tint);
}
.sb-cover-figure {
  position: absolute;
  inset: 16% 12%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.sb-cover-figure__num {
  font-family: var(--wp--preset--font-family--inter);
  font-weight: 700;
  font-size: clamp(30px, 8vw, 60px);
  line-height: 0.9;
  color: var(--wp--preset--color--brand-hover);
  letter-spacing: -0.03em;
}
.sb-cover-figure__num small {
  font-size: 0.42em;
  vertical-align: super;
}
.sb-cover-chart {
  display: flex;
  align-items: flex-end;
  gap: clamp(5px, 1.4vw, 10px);
  height: 34%;
}
.sb-cover-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: var(--wp--preset--color--brand-light);
}
.sb-cover-bar:last-child {
  background: var(--wp--preset--color--brand);
}

/* partnerships — the SalesBond mark wired to a partner tile. */
.sb-cover--partnerships {
  background: var(--wp--preset--color--white);
}
.sb-cover-link {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.sb-cover-tile {
  width: clamp(38px, 9vw, 68px);
  height: clamp(38px, 9vw, 68px);
  border-radius: 16px;
  border: 1px solid var(--wp--preset--color--border-card);
  box-shadow: 0 6px 18px rgba(20, 42, 60, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--wp--preset--font-family--inter);
  font-weight: 800;
  color: var(--wp--preset--color--brand);
  background: #fff;
}
.sb-cover-tile--partner {
  background: var(--wp--preset--color--tint);
  color: transparent;
}
.sb-cover-link__wire {
  width: clamp(22px, 6vw, 46px);
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--wp--preset--color--brand-light) 0 6px,
    transparent 6px 12px
  );
}

/* company-news — a brand shield on a blue gradient. */
.sb-cover--company-news {
  background: linear-gradient(140deg, #1f6c9a, #24313f);
}
.sb-cover-shield {
  position: absolute;
  inset: 0;
  margin: auto;
  width: clamp(40px, 11vw, 78px);
  height: clamp(48px, 13vw, 92px);
  background: rgba(255, 255, 255, 0.92);
  clip-path: polygon(50% 0, 100% 18%, 100% 62%, 50% 100%, 0 62%, 0 18%);
  box-shadow: 0 12px 30px rgba(9, 20, 30, 0.35);
}
.sb-cover-shield::after {
  content: '';
  position: absolute;
  inset: 26% 0;
  margin: auto;
  width: 34%;
  height: 48%;
  background: var(--wp--preset--color--brand);
  clip-path: polygon(50% 0, 100% 18%, 100% 62%, 50% 100%, 0 62%, 0 18%);
}

/* press — a plain editorial sheet. */
.sb-cover--press {
  background: var(--wp--preset--color--ice);
}
.sb-cover-press {
  position: absolute;
  inset: 16% 14%;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.sb-cover-press__kicker {
  color: var(--wp--preset--color--meta);
  font-size: clamp(8px, 1.5vw, 11px);
}
.sb-cover-press__rule {
  height: 2px;
  width: 46px;
  background: var(--wp--preset--color--brand);
}
.sb-cover-press__line {
  height: clamp(5px, 1.2vw, 9px);
  border-radius: 999px;
  background: var(--wp--preset--color--border-strong);
}
.sb-cover-press__line--short {
  width: 58%;
}

/* Newsroom nav item (injected into the shared chrome) active state. */
.sb-newsroom-navlink[aria-current='page'] {
  color: #1f95d2;
  font-weight: 700;
  border-bottom: 2px solid #38a9e0;
}

/* 2. Homepage / feed ------------------------------------------------------ */

.sb-news-index {
  padding-bottom: clamp(40px, 6vw, 72px);
  scroll-padding-top: 132px; /* fixed header + sticky filter bar */
}

/* Buttons and links, shared across the section. */
.sb-news-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  background: var(--wp--preset--color--ink);
  color: #fff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.sb-news-btn:hover {
  transform: translateY(-1px);
}
.sb-news-btn--cta {
  background: var(--wp--preset--color--cta);
  box-shadow: 0 8px 20px rgba(245, 129, 60, 0.34);
}
.sb-news-btn--cta:hover {
  background: var(--wp--preset--color--cta-hover);
}
.sb-news-link {
  color: var(--wp--preset--color--brand-hover);
  font-weight: 600;
  text-decoration: none;
}
.sb-news-link:hover {
  text-decoration: underline;
}
.sb-news-link--on-dark {
  color: var(--wp--preset--color--brand-light);
}

/* Meta line — CATEGORY · DATE. */
.sb-news-meta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  color: var(--wp--preset--color--meta);
}
.sb-news-meta__cat {
  font-weight: 700;
}
.sb-news-meta__dot {
  color: #c4d3df;
}

/* Hero — compact, not a landing hero. */
.sb-news-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding-block: clamp(36px, 5vw, 54px);
}
.sb-news-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--wp--preset--color--meta);
}
.sb-news-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wp--preset--color--brand);
}
.sb-news-hero__title {
  font-family: var(--wp--preset--font-family--inter);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 10px 0 12px;
  color: var(--wp--preset--color--ink);
}
.sb-news-hero__sub {
  font-size: 19px;
  color: var(--wp--preset--color--secondary);
  max-width: 46ch;
  margin: 0;
}
.sb-news-hero__links {
  display: flex;
  gap: 22px;
  margin-top: 18px;
}
.sb-news-hero__links a {
  color: var(--wp--preset--color--brand-hover);
  font-weight: 600;
  text-decoration: none;
}
.sb-news-hero__links a:hover {
  text-decoration: underline;
}
.sb-news-hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  width: 200px;
  height: 200px;
}
.sb-news-hero__halo {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 169, 224, 0.22), transparent 68%);
  border: 1px dashed var(--wp--preset--color--brand-light);
}
.sb-news-hero__visual img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}
@media (max-width: 1000px) {
  .sb-news-hero {
    grid-template-columns: 1fr;
  }
  .sb-news-hero__visual {
    display: none;
  }
}

/* Featured story. */
.sb-news-featured {
  margin-block: clamp(18px, 3vw, 30px);
}
.sb-news-featured__card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--wp--preset--color--border-card);
  background: #fff;
  box-shadow: 0 10px 30px rgba(20, 42, 60, 0.07);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.sb-news-featured__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(20, 42, 60, 0.13);
  border-color: var(--wp--preset--color--border-strong);
}
.sb-news-featured__media {
  display: block;
}
.sb-news-featured__media .sb-cover {
  height: 100%;
  border-radius: 0;
}
.sb-news-featured__body {
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}
.sb-news-featured__title {
  font-family: var(--wp--preset--font-family--inter);
  font-weight: 700;
  font-size: clamp(23px, 2.6vw, 31px);
  letter-spacing: -0.02em;
  line-height: 1.14;
  color: var(--wp--preset--color--ink);
  text-wrap: balance;
}
.sb-news-featured__deck {
  color: var(--wp--preset--color--secondary);
  font-size: 17px;
  line-height: 1.55;
}
.sb-news-featured__more {
  color: var(--wp--preset--color--brand-hover);
  font-weight: 600;
  margin-top: 4px;
}
@media (max-width: 1000px) {
  .sb-news-featured__card {
    grid-template-columns: 1fr;
  }
  .sb-news-featured__media .sb-cover {
    min-height: 232px;
    aspect-ratio: auto;
  }
}

/* Sticky filter bar + search. */
.sb-news-filterbar {
  position: sticky;
  top: 69px;
  z-index: 20;
  margin-top: 22px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--wp--preset--color--divider);
}
.sb-news-filterbar__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-block: 12px;
}
.sb-news-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
}
.sb-news-chips::-webkit-scrollbar {
  display: none;
}
.sb-news-chip {
  white-space: nowrap;
  padding: 7px 15px;
  border-radius: 20px;
  border: 1px solid var(--wp--preset--color--border-card);
  background: #fff;
  color: var(--wp--preset--color--secondary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}
.sb-news-chip:hover {
  border-color: var(--wp--preset--color--border-strong);
}
.sb-news-chip.is-on {
  background: #eaf4fa;
  color: #1f6c9a;
  border-color: #c7e3f4;
}
.sb-news-search {
  position: relative;
  flex: 0 0 auto;
}
.sb-news-search__input {
  width: 220px;
  max-width: 46vw;
  padding: 9px 32px 9px 14px;
  border-radius: 11px;
  border: 1px solid var(--wp--preset--color--border-card);
  background: #fff;
  font-size: 14px;
}
.sb-news-search__clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--wp--preset--color--muted);
  text-decoration: none;
  font-size: 18px;
  line-height: 1;
}
@media (max-width: 640px) {
  .sb-news-filterbar__inner {
    flex-direction: column;
    align-items: stretch;
  }
  .sb-news-search__input {
    width: 100%;
    max-width: none;
  }
}

/* Grid heading + count. */
.sb-news-gridhead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: clamp(24px, 3vw, 36px) auto 16px;
}
.sb-news-gridhead h2 {
  font-family: var(--wp--preset--font-family--inter);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 27px);
  letter-spacing: -0.02em;
  color: var(--wp--preset--color--ink);
  margin: 0;
}
.sb-news-count {
  color: var(--wp--preset--color--meta);
  font-size: 14px;
}

/* Card grid. */
.sb-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 22px;
}
.sb-news-card {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--wp--preset--color--border-card);
  background: #fff;
  box-shadow: 0 6px 18px rgba(20, 42, 60, 0.05);
  text-decoration: none;
  color: inherit;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.sb-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(20, 42, 60, 0.12);
  border-color: #d3e6f2;
}
.sb-news-card__media {
  display: block;
}
.sb-news-card__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.sb-news-card__title {
  font-family: var(--wp--preset--font-family--inter);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--wp--preset--color--ink);
  text-wrap: pretty;
}
.sb-news-card__deck {
  color: var(--wp--preset--color--secondary);
  font-size: 15px;
  line-height: 1.5;
}
.sb-news-card__more {
  margin-top: auto;
  color: var(--wp--preset--color--brand-hover);
  font-weight: 600;
  font-size: 14px;
}

/* Empty state. */
.sb-news-empty {
  text-align: center;
  border: 1px dashed var(--wp--preset--color--border-strong);
  background: #fafcfe;
  border-radius: 20px;
  padding: clamp(32px, 5vw, 56px);
  margin-top: 8px;
}
.sb-news-empty img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}
.sb-news-empty h2 {
  font-family: var(--wp--preset--font-family--inter);
  font-weight: 700;
  margin: 10px 0 6px;
  color: var(--wp--preset--color--ink);
}
.sb-news-empty p {
  color: var(--wp--preset--color--secondary);
  margin: 0 0 18px;
}

/* Pagination. */
.sb-news-index .wp-block-query-pagination,
.sb-news-index .navigation.pagination {
  margin-top: clamp(28px, 4vw, 40px);
  display: flex;
  justify-content: center;
}
.sb-news-index .nav-links {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.sb-news-index .page-numbers {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--wp--preset--color--border-card);
  color: var(--wp--preset--color--secondary);
  text-decoration: none;
  font-weight: 600;
}
.sb-news-index .page-numbers.current {
  background: #1b2430;
  border-color: #1b2430;
  color: #fff;
}
.sb-news-index .page-numbers.dots {
  border-color: transparent;
}

/* Section header (category / search). */
.sb-news-head {
  padding-block: clamp(30px, 4vw, 46px) 8px;
}
.sb-news-head__title {
  font-family: var(--wp--preset--font-family--inter);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--wp--preset--color--ink);
  margin: 8px 0 0;
}
.sb-news-head__desc {
  color: var(--wp--preset--color--secondary);
  font-size: 18px;
  margin: 10px 0 0;
}
.sb-news-head .sb-news-label a {
  color: var(--wp--preset--color--meta);
  text-decoration: none;
}

/* At a glance. */
.sb-news-glance {
  background: var(--wp--preset--color--ice);
  margin-top: clamp(40px, 6vw, 72px);
  padding-block: clamp(36px, 5vw, 60px);
}
.sb-news-glance h2 {
  font-family: var(--wp--preset--font-family--inter);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.02em;
  color: var(--wp--preset--color--ink);
  margin: 8px 0 10px;
}
.sb-news-glance__intro {
  color: var(--wp--preset--color--secondary);
  font-size: 18px;
  max-width: 62ch;
  margin: 0 0 24px;
}
.sb-news-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.sb-news-fact {
  background: #fff;
  border: 1px solid var(--wp--preset--color--border-card);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sb-news-fact .sb-news-label {
  color: var(--wp--preset--color--brand-hover);
}
.sb-news-fact__value {
  color: var(--wp--preset--color--ink);
  font-weight: 600;
}

/* Media resources. */
.sb-news-resources {
  padding-block: clamp(36px, 5vw, 60px);
}
.sb-news-resources__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.sb-news-resources__head h2 {
  font-family: var(--wp--preset--font-family--inter);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 28px);
  letter-spacing: -0.02em;
  color: var(--wp--preset--color--ink);
  margin: 0;
}
.sb-news-resources__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.sb-news-resource {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--wp--preset--color--border-card);
  background: #fff;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.sb-news-resource:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(20, 42, 60, 0.1);
}
.sb-news-resource__title {
  font-weight: 700;
  color: var(--wp--preset--color--ink);
}
.sb-news-resource__text {
  color: var(--wp--preset--color--secondary);
  font-size: 15px;
}

/* Press contact — dark. */
.sb-news-press {
  margin-top: clamp(24px, 4vw, 40px);
  background: linear-gradient(135deg, #16212e, #24313f);
  color: #c9d6e2;
  padding-block: clamp(40px, 5vw, 64px);
}
.sb-news-press__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.sb-news-press .sb-news-label {
  color: var(--wp--preset--color--brand-light);
}
.sb-news-press h2 {
  font-family: var(--wp--preset--font-family--inter);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 33px);
  letter-spacing: -0.02em;
  color: #fff;
  margin: 8px 0 10px;
}
.sb-news-press p {
  margin: 0;
}
.sb-news-press__actions {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 20px;
  flex-wrap: wrap;
}
@media (max-width: 900px) {
  .sb-news-press__inner {
    grid-template-columns: 1fr;
  }
}

/* 3. Article -------------------------------------------------------------- */

.sb-news-article__head,
.sb-news-article__foot {
  max-width: 820px;
  margin-inline: auto;
  padding-inline: var(--sb-news-gutter);
}
.sb-news-article__head {
  padding-top: clamp(20px, 3vw, 34px);
  scroll-padding-top: 96px;
}
.sb-news-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  font-size: 13px;
  color: var(--wp--preset--color--meta);
}
.sb-news-breadcrumbs a {
  color: var(--wp--preset--color--meta);
  text-decoration: none;
}
.sb-news-breadcrumbs a:hover {
  color: var(--wp--preset--color--brand-hover);
}
.sb-news-article__kicker {
  color: var(--wp--preset--color--meta);
  display: flex;
  gap: 8px;
  align-items: center;
}
.sb-news-article__title {
  font-family: var(--wp--preset--font-family--inter);
  font-weight: 700; /* design asks 800; capped by the 400–700 subset */
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.07;
  letter-spacing: -0.033em;
  color: var(--wp--preset--color--ink);
  text-wrap: balance;
  margin: 8px 0 14px;
}
.sb-news-article__deck {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 500;
  line-height: 1.5;
  color: var(--wp--preset--color--secondary);
  margin: 0 0 22px;
}
.sb-news-byline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 14px;
  border-top: 1px solid var(--wp--preset--color--divider);
  border-bottom: 1px solid var(--wp--preset--color--divider);
}
.sb-news-byline__who {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--wp--preset--color--secondary);
  flex-wrap: wrap;
}
.sb-news-byline__who > span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.sb-news-byline__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: contain;
  background: var(--wp--preset--color--ice);
}
.sb-news-byline__name {
  font-weight: 600;
  color: var(--wp--preset--color--ink);
}
.sb-news-share {
  display: flex;
  gap: 8px;
}
.sb-news-share__btn {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--wp--preset--color--border-card);
  background: #fff;
  color: var(--wp--preset--color--secondary);
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.14s ease, color 0.14s ease;
}
.sb-news-share__btn:hover {
  border-color: var(--wp--preset--color--brand-bright);
  color: var(--wp--preset--color--brand-hover);
}
.sb-news-article__hero {
  margin: 24px 0 6px;
}
.sb-news-article__hero .sb-cover {
  border-radius: 20px;
  border: 1px solid var(--wp--preset--color--border-card);
}
.sb-news-article__hero figcaption {
  text-align: center;
  font-size: 14px;
  color: var(--wp--preset--color--meta);
  margin-top: 10px;
}

/* Article body — the editor's blocks flow in the 760px content column set by
   theme.json; Inter at reading size, the section's colours. */
.sb-news-article.sb-article {
  font-family: var(--wp--preset--font-family--inter);
  color: #2e3d4c;
  font-size: 19px;
  line-height: 1.65;
  padding-block: clamp(24px, 3vw, 36px);
}
.sb-news-article.sb-article h2 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 1.6em 0 0.5em;
  color: var(--wp--preset--color--ink);
}
.sb-news-article.sb-article h3 {
  font-size: 21px;
  font-weight: 700;
  margin: 1.4em 0 0.4em;
  color: var(--wp--preset--color--ink);
}
.sb-news-article.sb-article li {
  font-size: 19px;
}

/* Footer panels. */
.sb-news-boilerplate {
  background: var(--wp--preset--color--ice);
  border: 1px solid var(--wp--preset--color--border-card);
  border-radius: 18px;
  padding: 24px 26px;
  margin-top: 28px;
}
.sb-news-boilerplate h2 {
  font-family: var(--wp--preset--font-family--inter);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--wp--preset--color--ink);
}
.sb-news-boilerplate p {
  margin: 0;
  color: var(--wp--preset--color--secondary);
  font-size: 16px;
  line-height: 1.6;
}
.sb-news-mediacontact {
  margin: 16px 0 0;
  color: var(--wp--preset--color--secondary);
}
.sb-news-mediacontact a {
  color: var(--wp--preset--color--brand-hover);
  font-weight: 600;
  text-decoration: none;
}
.sb-news-article__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--wp--preset--color--divider);
}
.sb-news-article__cta p {
  margin: 0;
  font-size: 18px;
  color: var(--wp--preset--color--ink);
  font-weight: 600;
}
.sb-news-btn--outline {
  background: transparent;
  color: var(--wp--preset--color--brand-hover);
  border: 1px solid var(--wp--preset--color--border-strong);
}
.sb-news-btn--outline:hover {
  border-color: var(--wp--preset--color--brand);
  background: var(--wp--preset--color--tint);
}
.sb-news-related {
  margin-top: clamp(40px, 6vw, 64px);
}
.sb-news-related > h2 {
  font-family: var(--wp--preset--font-family--inter);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 28px);
  letter-spacing: -0.02em;
  color: var(--wp--preset--color--ink);
  margin: 0 0 18px;
}

/* Reading progress bar — the one allowed scroll listener. */
.sb-progress {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 30;
  background: transparent;
  pointer-events: none;
}
.sb-progress__bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--wp--preset--color--brand-bright), var(--wp--preset--color--brand));
}

@media (max-width: 640px) {
  .sb-news-article.sb-article {
    font-size: 17.5px;
  }
  .sb-news-article.sb-article h2 {
    font-size: 25px;
  }
  .sb-news-article__title {
    font-size: clamp(32px, 8vw, 40px);
  }
}

/* 4. Article body blocks -------------------------------------------------- */

/* In brief / Key facts. */
.sb-inbrief {
  background: var(--wp--preset--color--ice);
  border: 1px solid #dceaf4;
  border-radius: 18px;
  padding: 22px 24px;
  margin: 28px 0;
}
.sb-inbrief__title {
  color: var(--wp--preset--color--brand-hover);
  margin: 0 0 14px;
}
.sb-inbrief__row {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--wp--preset--color--divider);
}
.sb-inbrief__row:first-of-type {
  border-top: none;
}
.sb-inbrief dt {
  color: #1f6c9a;
  margin: 2px 0 0;
}
.sb-inbrief dd {
  margin: 0;
  color: var(--wp--preset--color--body);
}
@media (max-width: 560px) {
  .sb-inbrief__row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* Data highlight (stats). */
.sb-datahi {
  margin: 28px 0;
}
.sb-datahi__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 22px;
}
.sb-datahi__stat {
  border-left: 3px solid var(--wp--preset--color--brand-bright);
  padding-left: 14px;
}
.sb-datahi__num {
  display: block;
  font-family: var(--wp--preset--font-family--inter);
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #1f6c9a;
}
.sb-datahi__label {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  color: var(--wp--preset--color--secondary);
}
.sb-datahi__source {
  margin-top: 12px;
  font-size: 13px;
  color: var(--wp--preset--color--meta);
}

/* Product screenshot. */
.sb-shot {
  margin: 30px 0;
  max-width: 1160px;
}
.sb-shot img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--wp--preset--color--border-card);
  background: var(--wp--preset--color--ice);
  display: block;
}
.sb-shot.is-zoomable img {
  cursor: zoom-in;
}
.sb-shot figcaption {
  text-align: center;
  font-size: 14px;
  color: var(--wp--preset--color--meta);
  margin-top: 10px;
}

/* Related links. */
.sb-relatedlinks {
  margin: 28px 0;
  border: 1px solid var(--wp--preset--color--border-card);
  border-radius: 16px;
  padding: 18px 20px;
  background: #fff;
}
.sb-relatedlinks .sb-news-label {
  color: var(--wp--preset--color--brand-hover);
  margin: 0 0 8px;
}
.sb-relatedlinks ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sb-relatedlinks li + li {
  border-top: 1px solid var(--wp--preset--color--divider);
}
.sb-relatedlinks a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  color: var(--wp--preset--color--brand-hover);
  font-weight: 600;
  text-decoration: none;
}
.sb-relatedlinks a:hover span:first-child {
  text-decoration: underline;
}

/* 5. Media Kit ------------------------------------------------------------ */

.sb-mediakit__hero {
  padding-block: clamp(30px, 4vw, 48px) 8px;
}
.sb-mediakit__title {
  font-family: var(--wp--preset--font-family--inter);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.03em;
  color: var(--wp--preset--color--ink);
  margin: 8px 0 10px;
}
.sb-mediakit__sub {
  color: var(--wp--preset--color--secondary);
  font-size: 18px;
  margin: 0 0 18px;
}
.sb-mediakit__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.sb-mediakit__layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
  padding-block: clamp(20px, 3vw, 34px) clamp(40px, 6vw, 72px);
}
.sb-mediakit__toc {
  position: sticky;
  top: 96px;
}
.sb-mediakit__toc .sb-news-label {
  color: var(--wp--preset--color--meta);
  margin: 0 0 10px;
}
.sb-mediakit__toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sb-mediakit__toc a {
  color: var(--wp--preset--color--secondary);
  text-decoration: none;
  font-size: 14px;
}
.sb-mediakit__toc a:hover {
  color: var(--wp--preset--color--brand-hover);
}
.sb-mediakit__section {
  padding-block: 18px 26px;
  border-bottom: 1px solid var(--wp--preset--color--divider);
}
.sb-mediakit__section h2 {
  font-family: var(--wp--preset--font-family--inter);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: -0.02em;
  color: var(--wp--preset--color--ink);
  margin: 0 0 16px;
}
.sb-mediakit__boiler {
  background: #fff;
  border: 1px solid var(--wp--preset--color--border-card);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 14px;
}
.sb-mediakit__boiler-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.sb-mediakit__boiler p {
  margin: 0;
  color: var(--wp--preset--color--body);
  line-height: 1.6;
}
.sb-mediakit__copy {
  border: 1px solid var(--wp--preset--color--border-strong);
  background: #fff;
  color: var(--wp--preset--color--brand-hover);
  border-radius: 9px;
  padding: 5px 12px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}
.sb-mediakit__copy.is-copied {
  background: var(--wp--preset--color--success-bg);
  color: var(--wp--preset--color--success-text);
  border-color: var(--wp--preset--color--success-border);
}
.sb-mediakit__logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.sb-mediakit__logo {
  border: 1px solid var(--wp--preset--color--border-card);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.sb-mediakit__logo-preview {
  display: grid;
  place-items: center;
  padding: 28px;
  min-height: 96px;
}
.sb-mediakit__logo.is-dark .sb-mediakit__logo-preview {
  background: #16212e;
}
.sb-mediakit__logo.is-mono .sb-mediakit__logo-preview img {
  filter: grayscale(1) brightness(0.4);
}
.sb-mediakit__logo-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-top: 1px solid var(--wp--preset--color--divider);
  font-size: 14px;
  font-weight: 600;
  color: var(--wp--preset--color--ink);
}
.sb-mediakit__logo-dl {
  display: flex;
  gap: 8px;
}
.sb-mediakit__logo-dl a {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 12px;
  color: var(--wp--preset--color--brand-hover);
  text-decoration: none;
  border: 1px solid var(--wp--preset--color--border-card);
  border-radius: 7px;
  padding: 3px 8px;
}
.sb-mediakit__shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.sb-mediakit__shot {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  color: var(--wp--preset--color--ink);
}
.sb-mediakit__shot img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--wp--preset--color--border-card);
}
.sb-mediakit__shot span:nth-child(2) {
  font-weight: 600;
  margin-top: 6px;
}
.sb-mediakit__shot .sb-news-label {
  color: var(--wp--preset--color--meta);
}
.sb-mediakit__note {
  color: var(--wp--preset--color--meta);
  font-style: italic;
}
.sb-mediakit__leaders {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.sb-mediakit__leader {
  display: flex;
  gap: 14px;
}
.sb-mediakit__leader img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}
.sb-mediakit__leader-name {
  display: block;
  font-weight: 700;
  color: var(--wp--preset--color--ink);
}
.sb-mediakit__leader-role {
  display: block;
  font-size: 14px;
  color: var(--wp--preset--color--meta);
  margin-bottom: 6px;
}
.sb-mediakit__swatches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}
.sb-mediakit__swatch {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sb-mediakit__swatch-chip {
  height: 56px;
  border-radius: 12px;
  border: 1px solid var(--wp--preset--color--border-card);
}
.sb-mediakit__swatch .sb-news-label {
  color: var(--wp--preset--color--meta);
}
.sb-mediakit__rules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.sb-mediakit__rule {
  background: var(--wp--preset--color--ice);
  border: 1px solid var(--wp--preset--color--border-card);
  border-radius: 14px;
  padding: 16px 18px;
}
.sb-mediakit__rule h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--wp--preset--color--ink);
}
.sb-mediakit__rule p {
  margin: 0;
  font-size: 15px;
  color: var(--wp--preset--color--secondary);
}
.sb-mediakit__press {
  background: var(--wp--preset--color--ice);
  border-radius: 16px;
  padding: 24px 26px;
  margin-top: 24px;
}
.sb-mediakit__press p {
  margin: 0 0 6px;
  color: var(--wp--preset--color--secondary);
}
@media (max-width: 1000px) {
  .sb-mediakit__layout {
    grid-template-columns: 1fr;
  }
  .sb-mediakit__toc {
    display: none;
  }
}

/* 6. States & mobile accessibility ---------------------------------------- */

/* Touch hit targets ≥44px (brief §11/§13) without enlarging the mouse UI. */
@media (pointer: coarse) {
  .sb-news-chip,
  .sb-news-search__input,
  .sb-news-share__btn,
  .sb-mediakit__copy,
  .sb-news-index .page-numbers,
  .sb-newsroom-navlink {
    min-height: 44px;
  }
  .sb-news-chip,
  .sb-news-share__btn,
  .sb-mediakit__copy {
    display: inline-flex;
    align-items: center;
  }
}

/* Loading state for the grid during progressive-enhancement filtering. */
.sb-news-grid.is-loading {
  opacity: 0.5;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

/* Disabled pagination (rendered by core as a span, not a link). */
.sb-news-index .page-numbers[aria-disabled='true'] {
  opacity: 0.5;
  cursor: default;
}

/* The lightbox article.js opens for a zoomable screenshot. */
.sb-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(11, 20, 30, 0.9);
  display: grid;
  place-items: center;
  padding: 24px;
}
.sb-lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
}
.sb-lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: #16212e;
  font-size: 20px;
  cursor: pointer;
}
