/*
Theme Name: Signalbrief Studio
Theme URI: https://signalbrief.top
Author: Blog Writer
Description: 한국 여성향 트렌드 라이프스타일 매거진 스타일의 Signal Brief 전용 테마
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.2
Text Domain: signalbrief-studio
*/

:root {
  --sb-bg: #fff8f7;
  --sb-surface: rgba(255, 255, 255, 0.88);
  --sb-surface-strong: rgba(255, 255, 255, 0.95);
  --sb-ink: #35252e;
  --sb-muted: #7f6872;
  --sb-line: rgba(124, 87, 101, 0.12);
  --sb-line-strong: rgba(124, 87, 101, 0.22);
  --sb-accent: #ff7f90;
  --sb-accent-soft: #ffe6ea;
  --sb-accent-alt: #f5c7d1;
  --sb-accent-deep: #7f4b61;
  --sb-shadow: 0 28px 90px rgba(160, 108, 131, 0.16);
  --sb-shadow-soft: 0 16px 42px rgba(160, 108, 131, 0.1);
  --sb-radius-xl: 36px;
  --sb-radius-lg: 24px;
  --sb-radius-md: 18px;
  --sb-radius-sm: 14px;
  --sb-max: 1220px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--sb-ink);
  background:
    radial-gradient(circle at top left, rgba(255, 214, 222, 0.7), transparent 28%),
    radial-gradient(circle at top right, rgba(248, 211, 189, 0.55), transparent 26%),
    radial-gradient(circle at 20% 80%, rgba(255, 231, 236, 0.64), transparent 24%),
    linear-gradient(180deg, #fffaf9 0%, #fff3f5 46%, #fff7f2 100%);
  font-family: "Pretendard", "Pretendard Variable", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  line-break: strict;
  letter-spacing: -0.01em;
  min-height: 100vh;
  word-break: keep-all;
}

body.has-admin-bar .sb-site-header {
  top: 32px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

.sb-site-shell {
  min-height: 100vh;
}

.sb-mobile-dock {
  display: none;
}

.sb-mobile-dock__link {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 62px;
  padding: 10px 12px;
  border-radius: 22px;
  color: var(--sb-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.sb-mobile-dock__link::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: rgba(127, 104, 114, 0.18);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.sb-mobile-dock__link:nth-child(1)::before {
  border-radius: 999px;
}

.sb-mobile-dock__link:nth-child(2)::before {
  box-shadow:
    0 -7px 0 rgba(127, 104, 114, 0.18),
    0 7px 0 rgba(127, 104, 114, 0.18);
}

.sb-mobile-dock__link:nth-child(3)::before {
  border-radius: 999px;
  background: transparent;
  box-shadow: inset 0 0 0 2px rgba(127, 104, 114, 0.26);
}

.sb-mobile-dock__link.is-active,
.sb-mobile-dock__link[aria-current="page"] {
  color: var(--sb-accent-deep);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 237, 241, 0.94));
  box-shadow: 0 16px 30px rgba(160, 108, 131, 0.12);
}

.sb-mobile-dock__link.is-active::before,
.sb-mobile-dock__link[aria-current="page"]::before {
  background: linear-gradient(135deg, #ff92a2, #c07a95);
  box-shadow: 0 10px 20px rgba(189, 116, 139, 0.24);
  transform: translateY(-1px);
}

.sb-site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(22px);
  background: rgba(255, 247, 246, 0.76);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, background 180ms ease;
}

.sb-site-header.is-scrolled {
  background: rgba(255, 247, 246, 0.96);
  border-color: var(--sb-line);
}

.sb-header__inner,
.sb-main,
.sb-site-footer__inner {
  width: min(calc(100% - 32px), var(--sb-max));
  margin: 0 auto;
}

.sb-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}

.sb-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.sb-brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(173, 117, 139, 0.22);
}

.sb-brand__meta {
  display: grid;
  gap: 2px;
}

.sb-brand__title {
  font-family: "Pretendard", "Pretendard Variable", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.sb-brand__tagline {
  color: var(--sb-muted);
  font-size: 0.82rem;
}

.sb-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sb-nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(124, 87, 101, 0.1);
  box-shadow: var(--sb-shadow-soft);
}

.sb-nav__link {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--sb-muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.sb-nav__link:hover,
.sb-nav__link.is-active {
  color: var(--sb-accent-deep);
  background: rgba(255, 127, 144, 0.14);
}

.sb-nav__cta,
.sb-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.sb-nav__cta,
.sb-button--primary {
  color: #fff;
  background: linear-gradient(135deg, #ff8ea0 0%, #bb708b 100%);
  box-shadow: 0 16px 30px rgba(189, 116, 139, 0.24);
}

.sb-nav__cta:hover,
.sb-button--primary:hover {
  transform: translateY(-1px);
}

.sb-button--ghost {
  color: var(--sb-ink);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(124, 87, 101, 0.1);
  box-shadow: var(--sb-shadow-soft);
}

.sb-mobile-nav {
  display: none;
}

.sb-mobile-nav summary {
  list-style: none;
}

.sb-mobile-nav summary::-webkit-details-marker {
  display: none;
}

.sb-mobile-nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(124, 87, 101, 0.1);
  box-shadow: var(--sb-shadow-soft);
}

.sb-mobile-nav__panel {
  margin-top: 12px;
  padding: 16px;
  border-radius: 24px;
  background: rgba(255, 250, 249, 0.98);
  border: 1px solid rgba(124, 87, 101, 0.1);
  box-shadow: var(--sb-shadow);
}

.sb-mobile-nav__panel nav {
  display: grid;
  gap: 10px;
}

.sb-mobile-nav__panel a {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(16, 20, 24, 0.04);
  font-weight: 700;
}

.sb-main {
  padding: 22px 0 64px;
}

.sb-stack {
  display: grid;
  gap: 28px;
}

.sb-hero {
  position: relative;
  overflow: clip;
  border-radius: 40px;
  padding: clamp(22px, 3.5vw, 34px);
  background: linear-gradient(145deg, rgba(255, 251, 250, 0.96), rgba(255, 239, 243, 0.92));
  color: var(--sb-ink);
  box-shadow: 0 34px 100px rgba(189, 116, 139, 0.18);
}

.sb-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 251, 250, 0.92) 0%, rgba(255, 248, 247, 0.68) 44%, rgba(255, 248, 247, 0.22) 100%),
    radial-gradient(circle at 78% 18%, rgba(255, 196, 206, 0.42), transparent 22%),
    radial-gradient(circle at 70% 76%, rgba(247, 220, 195, 0.38), transparent 24%);
  z-index: 1;
}

.sb-hero__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.48;
}

.sb-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(280px, 0.88fr);
  gap: clamp(18px, 3vw, 28px);
  align-items: end;
}

.sb-kicker,
.sb-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: var(--sb-accent-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: none;
}

.sb-kicker::before,
.sb-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sb-accent), var(--sb-accent-alt));
}

.sb-hero h1,
.sb-page-hero h1,
.sb-singular__title {
  margin: 14px 0 0;
  font-family: "Pretendard", "Pretendard Variable", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.24;
  letter-spacing: -0.05em;
  word-break: keep-all;
}

.sb-hero p {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--sb-muted);
  font-size: clamp(0.98rem, 1.3vw, 1.04rem);
  line-height: 1.76;
}

.sb-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.sb-hero__side {
  display: grid;
  gap: 14px;
}

.sb-glass-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(18px);
}

.sb-glass-card__eyebrow {
  color: var(--sb-accent-deep);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: none;
}

.sb-glass-card strong {
  display: block;
  margin-top: 10px;
  font-size: 1.18rem;
  line-height: 1.34;
  letter-spacing: -0.03em;
}

.sb-glass-card p {
  margin: 8px 0 0;
  font-size: 0.94rem;
  color: var(--sb-muted);
  line-height: 1.65;
}

.sb-signal-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.sb-section {
  display: grid;
  gap: 18px;
}

.sb-section__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.sb-section__header h2,
.sb-archive-head h1,
.sb-page-hero h1,
.sb-singular__title {
  font-family: "Pretendard", "Pretendard Variable", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: clamp(1.48rem, 2.4vw, 2.2rem);
  line-height: 1.3;
  letter-spacing: -0.04em;
  margin: 0;
}

.sb-section__header p,
.sb-archive-head p,
.sb-page-hero p,
.sb-singular__lede {
  margin: 0;
  color: var(--sb-muted);
}

.sb-story-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
}

.sb-story-card {
  display: grid;
  grid-column: span 4;
  overflow: hidden;
  border-radius: 28px;
  background: var(--sb-surface);
  border: 1px solid var(--sb-line);
  box-shadow: var(--sb-shadow-soft);
  backdrop-filter: blur(16px);
}

.sb-story-card--featured {
  grid-column: span 7;
  grid-row: span 2;
}

.sb-story-card--compact {
  grid-column: span 5;
}

.sb-story-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(135deg, #ffe7ed 0%, #f9d8dd 100%);
}

.sb-story-card--featured .sb-story-card__media {
  aspect-ratio: 4 / 4.5;
}

.sb-story-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.sb-story-card:hover .sb-story-card__media img {
  transform: scale(1.03);
}

.sb-story-card__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 198, 207, 0.38), transparent 24%),
    radial-gradient(circle at 82% 72%, rgba(247, 220, 195, 0.34), transparent 26%),
    linear-gradient(135deg, #fff0f3 0%, #ffe3e9 100%);
}

.sb-story-card__fallback::before,
.sb-story-card__fallback::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.sb-story-card__fallback::before {
  width: 72%;
  height: 12px;
  top: 22%;
  left: 14%;
}

.sb-story-card__fallback::after {
  width: 54%;
  height: 12px;
  top: 34%;
  left: 14%;
}

.sb-story-card__fallback span {
  width: 38%;
  height: 38%;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: linear-gradient(135deg, rgba(255, 127, 144, 0.24), rgba(247, 220, 195, 0.32));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.sb-story-card__body {
  display: grid;
  gap: 12px;
  padding: 18px 18px 20px;
}

.sb-story-card__meta,
.sb-singular__meta,
.sb-archive-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--sb-muted);
  font-size: 0.84rem;
}

.sb-story-card__meta strong,
.sb-singular__meta strong {
  color: var(--sb-ink);
  font-weight: 800;
}

.sb-story-card__title {
  margin: 0;
  font-family: "Pretendard", "Pretendard Variable", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: clamp(1.08rem, 1.4vw, 1.3rem);
  line-height: 1.46;
  letter-spacing: -0.03em;
  word-break: keep-all;
}

.sb-story-card__excerpt {
  margin: 0;
  color: var(--sb-muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.sb-story-card__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.sb-lanes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.sb-lane-card,
.sb-cta-card,
.sb-page-shell,
.sb-empty-state {
  border-radius: 28px;
  background: var(--sb-surface);
  border: 1px solid var(--sb-line);
  box-shadow: var(--sb-shadow-soft);
  backdrop-filter: blur(18px);
}

.sb-lane-card {
  padding: 24px;
  display: grid;
  gap: 14px;
}

.sb-lane-card__label {
  color: var(--sb-accent-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: none;
}

.sb-lane-card h3 {
  margin: 0;
  font-family: "Pretendard", "Pretendard Variable", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 1.02rem;
  line-height: 1.42;
  letter-spacing: -0.03em;
}

.sb-lane-card p {
  margin: 0;
  color: var(--sb-muted);
}

.sb-cta-card {
  padding: clamp(24px, 4vw, 36px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  background:
    radial-gradient(circle at left top, rgba(255, 214, 222, 0.46), transparent 26%),
    radial-gradient(circle at right bottom, rgba(247, 220, 195, 0.42), transparent 22%),
    rgba(255, 255, 255, 0.9);
}

.sb-cta-card h2 {
  margin: 0;
  font-family: "Pretendard", "Pretendard Variable", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.sb-cta-card p {
  margin: 12px 0 0;
  color: var(--sb-muted);
}

.sb-page-hero,
.sb-singular,
.sb-archive-head,
.sb-empty-state {
  padding: clamp(24px, 4vw, 36px);
}

.sb-page-shell {
  overflow: hidden;
}

.sb-page-shell .entry-content,
.sb-singular__content {
  padding: clamp(24px, 4vw, 40px);
}

.sb-page-shell .entry-content > *:first-child,
.sb-singular__content > *:first-child {
  margin-top: 0;
}

.sb-page-shell .entry-content > *:last-child,
.sb-singular__content > *:last-child {
  margin-bottom: 0;
}

.sb-page-shell .entry-content h2,
.sb-page-shell .entry-content h3,
.sb-singular__content h2,
.sb-singular__content h3 {
  font-family: "Pretendard", "Pretendard Variable", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  line-height: 1.36;
  letter-spacing: -0.03em;
}

.sb-page-shell .entry-content p,
.sb-singular__content p,
.sb-page-shell .entry-content li,
.sb-singular__content li {
  color: #20262b;
  font-size: 1rem;
  line-height: 1.82;
}

.sb-singular {
  overflow: hidden;
  border-radius: 34px;
  background: var(--sb-surface-strong);
  border: 1px solid var(--sb-line);
  box-shadow: var(--sb-shadow);
}

.sb-singular__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.9fr);
  gap: 24px;
  align-items: stretch;
  padding: clamp(24px, 4vw, 40px);
  background:
    linear-gradient(135deg, rgba(255, 248, 247, 0.98), rgba(255, 234, 239, 0.96)),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
  color: var(--sb-ink);
}

.sb-singular__hero .sb-singular__title,
.sb-singular__hero .sb-singular__lede,
.sb-singular__hero .sb-singular__meta {
  color: inherit;
}

.sb-singular__hero .sb-singular__lede {
  color: var(--sb-muted);
}

.sb-singular__visual {
  min-height: 360px;
  border-radius: 28px;
  overflow: hidden;
  background: #fff0f3;
}

.sb-singular__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sb-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sb-pagination {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.sb-pagination .nav-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sb-pagination a,
.sb-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--sb-line);
  box-shadow: var(--sb-shadow-soft);
}

.sb-pagination .current {
  color: #fff;
  background: linear-gradient(135deg, #ff8ea0, #bb708b);
}

.sb-site-footer {
  padding: 0 0 34px;
}

.sb-site-footer__inner {
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(92, 58, 72, 0.96), rgba(67, 40, 54, 0.96));
  color: rgba(244, 246, 248, 0.8);
}

.sb-site-footer__top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.sb-site-footer__top h2 {
  margin: 0;
  color: #fff;
  font-family: "Pretendard", "Pretendard Variable", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  line-height: 1.34;
  letter-spacing: -0.03em;
}

.sb-site-footer__top p,
.sb-site-footer__bottom {
  margin: 0;
  color: rgba(244, 246, 248, 0.62);
}

.sb-site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sb-site-footer__links a {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 700;
}

.sb-empty-state {
  display: grid;
  gap: 12px;
}

.sb-empty-state h2 {
  margin: 0;
  font-family: "Pretendard", "Pretendard Variable", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  line-height: 1.34;
  letter-spacing: -0.03em;
}

.sb-empty-state p {
  margin: 0;
  color: var(--sb-muted);
}

.sb-prose a {
  color: var(--sb-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.sb-prose figure {
  margin: 24px 0 28px;
}

.sb-prose figure img {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: var(--sb-shadow-soft);
}

.sb-prose figcaption {
  margin-top: 10px;
  color: var(--sb-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  text-align: center;
}

.sb-prose ul,
.sb-prose ol {
  padding-left: 1.25rem;
}

.sb-prose blockquote {
  margin: 28px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--sb-accent);
  background: rgba(255, 106, 61, 0.08);
  border-radius: 0 18px 18px 0;
}

.sb-prose code {
  padding: 0.18em 0.45em;
  border-radius: 8px;
  background: rgba(16, 20, 24, 0.08);
  font-size: 0.92em;
}

.sb-prose pre {
  overflow: auto;
  padding: 18px;
  border-radius: 20px;
  background: #12171c;
  color: #f4f6f8;
}

.sb-prose table {
  width: 100%;
  border-collapse: collapse;
}

.sb-prose th,
.sb-prose td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--sb-line);
  text-align: left;
}

.sb-feed-status {
  min-height: 20px;
  color: var(--sb-muted);
  font-size: 0.92rem;
  text-align: center;
}

.sb-feed-sentinel {
  width: 100%;
  height: 1px;
}

.sb-story-grid.is-loading {
  opacity: 0.92;
}

@media (max-width: 1100px) {
  .sb-hero__grid,
  .sb-singular__hero {
    grid-template-columns: 1fr;
  }

  .sb-lanes,
  .sb-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sb-story-card,
  .sb-story-card--featured,
  .sb-story-card--compact {
    grid-column: span 6;
  }
}

@media (max-width: 820px) {
  body.has-admin-bar .sb-site-header {
    top: 46px;
  }

  .sb-main {
    padding-bottom: calc(110px + env(safe-area-inset-bottom));
  }

  .sb-header__inner {
    min-height: 74px;
  }

  .sb-nav {
    display: none;
  }

  .sb-mobile-nav {
    display: block;
  }

  .sb-lanes,
  .sb-related-grid,
  .sb-cta-card {
    grid-template-columns: 1fr;
  }

  .sb-hero {
    border-radius: 32px;
  }

  .sb-hero__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .sb-hero__actions .sb-button {
    width: 100%;
  }

  .sb-signal-strip {
    grid-auto-flow: column;
    grid-auto-columns: minmax(212px, 78%);
    grid-template-columns: none;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .sb-signal-strip::-webkit-scrollbar {
    display: none;
  }

  .sb-signal-strip > * {
    scroll-snap-align: start;
  }

  .sb-section__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .sb-story-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .sb-story-card,
  .sb-story-card--featured,
  .sb-story-card--compact {
    grid-column: auto;
  }

  .sb-cta-card {
    align-items: start;
  }

  .sb-story-card__body {
    padding: 18px 18px 22px;
  }

  .sb-site-footer {
    padding-bottom: calc(104px + env(safe-area-inset-bottom));
  }

  .sb-site-footer__top {
    flex-direction: column;
  }

  .sb-mobile-dock {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 45;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
    border-radius: 28px;
    background: rgba(255, 250, 249, 0.9);
    border: 1px solid rgba(124, 87, 101, 0.12);
    box-shadow: 0 24px 54px rgba(126, 81, 100, 0.18);
    backdrop-filter: blur(22px);
  }
}

@media (max-width: 560px) {
  .sb-header__inner,
  .sb-main,
  .sb-site-footer__inner {
    width: min(calc(100% - 20px), var(--sb-max));
  }

  .sb-main {
    padding-top: 22px;
  }

  .sb-brand__mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .sb-brand__title {
    font-size: 1rem;
  }

  .sb-hero,
  .sb-page-hero,
  .sb-singular,
  .sb-empty-state,
  .sb-site-footer__inner {
    border-radius: 28px;
  }

  .sb-hero {
    padding: 22px 18px 20px;
  }

  .sb-hero h1,
  .sb-page-hero h1,
  .sb-singular__title {
    font-size: clamp(1.72rem, 8vw, 2.24rem);
    line-height: 1.3;
  }

  .sb-story-card__body,
  .sb-lane-card,
  .sb-empty-state {
    padding-inline: 18px;
  }

  .sb-story-card__title {
    font-size: 1.1rem;
    line-height: 1.42;
  }

  .sb-story-card__excerpt {
    font-size: 0.95rem;
    line-height: 1.72;
  }

  .sb-story-card__media,
  .sb-story-card--featured .sb-story-card__media {
    aspect-ratio: 1 / 1;
  }

  .sb-singular__visual {
    min-height: 260px;
  }

  .sb-page-shell .entry-content p,
  .sb-singular__content p,
  .sb-page-shell .entry-content li,
  .sb-singular__content li {
    font-size: 1.02rem;
    line-height: 1.88;
  }

  .sb-mobile-dock__link {
    min-height: 60px;
    font-size: 0.76rem;
  }

  .sb-brand__tagline {
    display: none;
  }
}
