/* MediaBUZZ.press — Single Post page */

.mb-post-page {
  --sp-pink: #fff1f1;
  --sp-pink-soft: #fff6f6;
  --sp-card-border: #ececec;
  --sp-radius: 14px;
  --sp-radius-sm: 10px;
  --sp-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
  background: #ffffff;
}

.mb-post-page .mb-header--light .mb-nav a.is-active {
  color: var(--mb-red);
}

.mb-post {
  padding: calc(var(--mb-header-h) + 36px) 0 0;
}

.mb-post__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 40px 48px;
  align-items: start;
}

.mb-post__main {
  min-width: 0;
}

/* Category + title */
.mb-post__badge-row {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px;
  margin: 0 0 18px;
}

.mb-post__badge-meta {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.mb-post__badge-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mb-gray-500, #6b7280);
}

.mb-post__badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}

.mb-post__badge--main {
  background: var(--mb-red);
  color: #fff;
}

.mb-post__badge--sub {
  background: #2f9e44;
  transition: background-color 0.35s ease;
}

.mb-post__badge[hidden],
.mb-post__badge-sep[hidden],
.mb-post__badge-row:empty {
  display: none !important;
}

.mb-post__badge-sep {
  color: #b0b0b0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.mb-post__title {
  margin: 0 0 16px;
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--mb-page-text);
  max-width: 18ch;
}

.mb-post__deck {
  margin: 0 0 28px;
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--mb-muted);
  max-width: 52ch;
}

/* Author meta */
.mb-post__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-bottom: 28px;
}

.mb-post__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mb-post__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
}

.mb-post__author-name {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--mb-page-text);
}

.mb-post__author-role {
  display: block;
  font-size: 0.82rem;
  color: var(--mb-muted);
}

.mb-post__meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  width: 100%;
  font-size: 0.88rem;
  color: var(--mb-muted);
}

.mb-post__meta-row .mb-post__dot {
  opacity: 0.5;
}

.mb-post__action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--mb-muted);
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  transition: color var(--mb-transition);
}

.mb-post__action:hover,
.mb-post__action.is-active {
  color: var(--mb-red);
}

.mb-post__action svg {
  width: 16px;
  height: 16px;
}

/* Featured image */
.mb-post__featured {
  margin: 0 0 28px;
  border-radius: var(--sp-radius);
  overflow: hidden;
  background: var(--mb-gray-100);
}

.mb-post__featured img {
  width: 100%;
  height: auto;
  max-height: 520px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

/* Share rail */
.mb-post__body-wrap {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.mb-post__share {
  position: sticky;
  top: calc(var(--mb-header-h) + 24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 48px;
}

.mb-post__share-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #111;
}

.mb-post__share-head > svg {
  width: 18px;
  height: 18px;
}

.mb-post__share-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #111;
  line-height: 1;
}

.mb-post__share-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  padding: 12px 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.mb-post__share-rail a,
.mb-post__share-rail button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #111;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.mb-post__share-rail a:hover,
.mb-post__share-rail button:hover {
  color: var(--mb-red);
  background: #f7f7f7;
}

.mb-post__share-rail svg {
  width: 17px;
  height: 17px;
}

/* Contents */
.mb-post__toc {
  margin: 0 0 28px;
  border: 1px solid var(--sp-card-border);
  border-radius: var(--sp-radius);
  background: #fff;
  box-shadow: var(--sp-shadow);
  overflow: hidden;
}

.mb-post__toc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 18px;
  border: 0;
  background: #fff;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.mb-post__toc-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--mb-page-text);
}

.mb-post__toc-title svg {
  width: 18px;
  height: 18px;
  color: var(--mb-red);
  flex-shrink: 0;
}

.mb-post__toc-chevron {
  width: 18px;
  height: 18px;
  color: var(--mb-muted);
  transition: transform var(--mb-transition);
}

.mb-post__toc.is-collapsed .mb-post__toc-chevron {
  transform: rotate(180deg);
}

.mb-post__toc-panel {
  padding: 0 18px 18px;
}

.mb-post__toc.is-collapsed .mb-post__toc-panel {
  display: none;
}

.mb-post__toc-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.mb-post__toc-list a {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--mb-page-text);
  transition: color var(--mb-transition);
}

.mb-post__toc-list a:hover {
  color: var(--mb-red);
}

.mb-post__toc-list a::before {
  counter-increment: toc;
  content: counter(toc);
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: #111;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Article body */
.mb-post__content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #222;
}

.mb-post__content > p {
  margin: 0 0 1.25em;
}

.mb-post__content a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--mb-red);
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

.mb-post__content a:hover {
  color: var(--mb-red);
}

.mb-post__content h2 {
  margin: 1.75em 0 0.75em;
  font-size: 1.45rem;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--mb-page-text);
  scroll-margin-top: calc(var(--mb-header-h) + 20px);
}

.mb-post__content strong {
  font-weight: 700;
}

/* Author bio */
.mb-post__bio {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  margin-top: 48px;
  margin-bottom: 8px;
  padding: 22px;
  border: 1px solid var(--sp-card-border);
  border-radius: var(--sp-radius);
  background: #fafafa;
}

.mb-post__bio-cta {
  margin: 14px 0 0;
  padding-top: 4px;
  font-size: 0.88rem;
}

.mb-post__bio-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.mb-post__bio-name {
  margin: 0 0 2px;
  font-size: 1.05rem;
  font-weight: 800;
}

.mb-post__bio-role {
  margin: 0 0 10px;
  font-size: 0.88rem;
  color: var(--mb-muted);
}

.mb-post__bio-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #444;
}

.mb-post__bio-cta a {
  color: var(--mb-red);
  font-weight: 600;
  text-decoration: none;
}

.mb-post__bio-cta a:hover {
  text-decoration: underline;
}

.mb-post__bio.is-guest {
  border-style: dashed;
}

.mb-post__bio.is-guest .mb-post__bio-text {
  color: var(--mb-muted);
}

.mb-post__avatar--initials,
.mb-post__bio-avatar--initials {
  display: grid;
  place-items: center;
  background: #111;
  color: #fff;
  font-weight: 700;
  object-fit: none;
  object-position: center;
}

/* Latest Insights (below article) */
.mb-post__insights {
  margin-top: 36px;
  padding-block: 2.25rem;
}

.mb-post__insights .mb-section__title {
  margin: 0;
}

/* Related (legacy) */
.mb-post__related {
  margin-top: 56px;
  padding-top: 8px;
}

.mb-post__related-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.mb-post__related-head h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
}

.mb-post__related-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--mb-red);
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
}

.mb-post__related-all:hover {
  text-decoration: underline;
}

.mb-post__related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.mb-post__related-card {
  display: grid;
  grid-template-columns: minmax(140px, 42%) 1fr;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--sp-card-border);
  border-radius: var(--sp-radius);
  background: #fff;
  transition: box-shadow var(--mb-transition), border-color var(--mb-transition);
}

.mb-post__related-card:hover {
  border-color: #ddd;
  box-shadow: var(--sp-shadow);
}

.mb-post__related-card img {
  width: 100%;
  height: 100%;
  min-height: 140px;
  object-fit: cover;
  border-radius: var(--sp-radius-sm);
}

.mb-post__related-card__tag {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sp-pink);
  color: var(--mb-red);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mb-post__related-card h3 {
  margin: 8px 0 6px;
  font-size: 1.05rem;
  line-height: 1.3;
  font-weight: 800;
}

.mb-post__related-card p {
  margin: 0 0 10px;
  font-size: 0.9rem;
  color: var(--mb-muted);
  line-height: 1.45;
}

.mb-post__related-card__meta {
  font-size: 0.82rem;
  color: var(--mb-gray-400);
}

.mb-post__promo {
  position: relative;
  overflow: hidden;
  display: block;
  min-height: 260px;
  padding: 22px 20px 36px;
  border-radius: var(--sp-radius);
  background: #070b12;
  color: #fff;
}

.mb-post__promo--sidebar {
  min-height: 280px;
}

.mb-post__promo-bg {
  position: absolute;
  inset: 0;
  background-image: var(--mb-img-visibility, none);
  background-size: cover;
  background-position: 62% center;
  background-repeat: no-repeat;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

.mb-post__promo-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(7, 11, 18, 0.88) 0%,
    rgba(7, 11, 18, 0.72) 38%,
    rgba(7, 11, 18, 0.35) 68%,
    rgba(7, 11, 18, 0.18) 100%
  );
}

.mb-post__promo-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.mb-post__promo-copy {
  min-width: 0;
}

.mb-post__promo-brand {
  margin: 0 0 2px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}

.mb-post__promo-brand span {
  color: var(--mb-red);
}

.mb-post__promo-sub {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.62);
}

.mb-post__promo-title {
  margin: 0 0 8px;
  font-size: 1.22rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.mb-post__promo-text {
  margin: 0 0 16px;
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  max-width: 26ch;
}

.mb-post__promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.84rem;
  white-space: nowrap;
}

.mb-post__promo-score {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: conic-gradient(#e8eef5 0 87%, rgba(255, 255, 255, 0.14) 0);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 4px;
}

.mb-post__promo-score__ring {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #0a0f17;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 2px;
}

.mb-post__promo-score__ring strong {
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

.mb-post__promo-score__ring small {
  display: block;
  max-width: 8.5ch;
  margin: 0 auto;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.mb-post__promo-graph {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 48px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.95;
}

/* legacy selectors cleared */
.mb-post__promo::before,
.mb-post__promo::after {
  content: none;
  display: none;
}

.mb-post__list-placeholder {
  font-size: 0.88rem;
  color: var(--mb-muted);
  list-style: none;
}

.mb-post__list-placeholder a {
  color: var(--mb-red);
  font-weight: 600;
}

.mb-post__list-thumb {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ececec, #d8d8d8);
}

/* Sidebar */
.mb-post__sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: calc(var(--mb-header-h) + 20px);
}

.mb-post__search {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--sp-card-border);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.mb-post__search input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 12px 16px;
  font: inherit;
  font-size: 0.92rem;
  background: transparent;
  color: var(--mb-page-text);
  outline: none;
}

.mb-post__search button {
  width: 46px;
  border: 0;
  background: var(--mb-red);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background var(--mb-transition);
}

.mb-post__search button:hover {
  background: var(--mb-red-dark);
}

.mb-post__search svg {
  width: 18px;
  height: 18px;
}

.mb-post__widget {
  border: 1px solid var(--sp-card-border);
  border-radius: var(--sp-radius);
  background: #fff;
  padding: 20px;
}

.mb-post__widget--newsletter {
  background: var(--sp-pink-soft);
  border-color: #f3dede;
}

.mb-post__widget-brand {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 700;
}

.mb-post__widget-brand span {
  color: var(--mb-red);
}

.mb-post__widget-title {
  margin: 0 0 8px;
  font-size: 1.2rem;
  line-height: 1.25;
  font-weight: 800;
}

.mb-post__widget-text {
  margin: 0 0 16px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--mb-muted);
}

.mb-post__newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mb-post__newsletter-form input {
  width: 100%;
  border: 1px solid #e7d4d4;
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  font-size: 0.92rem;
  background: #fff;
  outline: none;
}

.mb-post__newsletter-form input:focus {
  border-color: var(--mb-red);
}

.mb-post__newsletter-form .mb-btn {
  width: 100%;
  justify-content: center;
}

.mb-post__newsletter-note {
  margin: 10px 0 0;
  font-size: 0.78rem;
  color: var(--mb-muted);
  text-align: center;
}

.mb-post__widget-heading {
  margin: 0 0 16px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mb-post__cats {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mb-post__widget--cats {
  overflow: visible;
}

.mb-post__cats-viewport {
  position: relative;
  height: 280px;
  overflow: hidden;
  border-radius: 8px;
}

.mb-post__cats--ticker {
  margin: 0;
  padding: 0;
  list-style: none;
  display: block;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.mb-post__cats--ticker li {
  display: block;
  min-height: 40px;
  padding: 8px 2px;
  box-sizing: border-box;
  opacity: 1;
  visibility: visible;
}

.mb-post__cats a {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 12px;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--mb-page-text);
  transition: color var(--mb-transition);
}

.mb-post__cats a:hover,
.mb-post__cats a.is-active {
  color: var(--mb-red);
}

.mb-post__cat-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mb-post__cats .mb-post__cat-count {
  min-width: 1.25rem;
  text-align: right;
  color: var(--mb-muted);
  font-weight: 500;
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
  transition: color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.mb-post__cats .mb-post__cat-count.is-empty {
  opacity: 0;
  visibility: hidden;
}

.mb-post__cats .mb-post__cat-count.is-bump {
  color: var(--mb-red);
  transform: scale(1.18);
  opacity: 1;
  visibility: visible;
}

@media (prefers-reduced-motion: reduce) {
  .mb-post__cats-viewport {
    height: auto;
    max-height: 360px;
    overflow: auto;
  }
}

.mb-post__widget--strategy {
  padding: 22px 18px;
  background: #fef6f5;
  border-color: #f3dede;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
}

.mb-post__strategy-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--mb-red);
  color: #fff;
  flex-shrink: 0;
}

.mb-post__strategy-ico svg,
.mb-post__strategy-ico img {
  width: 24px;
  height: 24px;
  display: block;
}

.mb-post__strategy-ico img {
  filter: brightness(0) invert(1);
}

.mb-post__strategy-ico--sm {
  width: 26px;
  height: 26px;
}

.mb-post__strategy-ico--sm svg,
.mb-post__strategy-ico--sm img {
  width: 13px;
  height: 13px;
}

.mb-post__strategy-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--mb-red);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mb-post__strategy-title {
  margin: 0 0 10px;
  font-size: 1.45rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--mb-page-text);
}

.mb-post__strategy-title__accent {
  display: block;
  width: fit-content;
  color: var(--mb-red);
  border-bottom: 3px solid var(--mb-red);
  padding-bottom: 2px;
  margin-top: 2px;
}

.mb-post__strategy-lead {
  margin: 0 0 18px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--mb-muted);
}

.mb-post__strategy-features {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.mb-post__strategy-features li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #ececec;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--mb-page-text);
}

.mb-post__strategy-features li:first-child {
  padding-top: 0;
}

.mb-post__strategy-features li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.mb-post__strategy-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.mb-post__strategy-field label {
  display: block;
  margin: 0 0 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--mb-page-text);
}

.mb-post__strategy-field label span {
  color: var(--mb-red);
}

.mb-post__strategy-input {
  position: relative;
}

.mb-post__strategy-input svg {
  position: absolute;
  left: 12px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  color: #9a9a9a;
  pointer-events: none;
}

.mb-post__strategy-input--area svg {
  top: 14px;
  transform: none;
}

.mb-post__strategy-input input,
.mb-post__strategy-input textarea {
  width: 100%;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 11px 12px 11px 38px;
  font: inherit;
  font-size: 0.86rem;
  color: var(--mb-page-text);
  background: #fff;
  outline: none;
  resize: vertical;
  min-height: 44px;
}

.mb-post__strategy-input textarea {
  min-height: 88px;
  line-height: 1.45;
}

.mb-post__strategy-input input:focus,
.mb-post__strategy-input textarea:focus {
  border-color: var(--mb-red);
  box-shadow: 0 0 0 3px rgba(230, 0, 0, 0.08);
}

.mb-post__strategy-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin-top: 2px;
  padding: 13px 16px;
  border: 0;
  border-radius: 10px;
  background: var(--mb-red);
  color: #fff;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.mb-post__strategy-submit:hover {
  background: #c40000;
}

.mb-post__strategy-submit:active {
  transform: translateY(1px);
}

.mb-post__strategy-submit svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.mb-post__strategy-note {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin: 14px 0 0;
  font-size: 0.76rem;
  line-height: 1.4;
  color: var(--mb-muted);
}

html[data-mb-theme="dark"] .mb-post__widget--strategy {
  background: #2a1515;
  border-color: #3a2020;
}

html[data-mb-theme="dark"] .mb-post__strategy-ico {
  background: var(--mb-red);
  color: #fff;
}

html[data-mb-theme="dark"] .mb-post__strategy-features li {
  border-color: #2a2a2a;
}

html[data-mb-theme="dark"] .mb-post__strategy-input input,
html[data-mb-theme="dark"] .mb-post__strategy-input textarea {
  background: var(--mb-surface);
  border-color: #2a2a2a;
  color: #eee;
}

/* —— Strategy session booking modal —— */
.mb-strategy-modal[hidden] {
  display: none !important;
}

.mb-strategy-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.mb-strategy-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 18, 0.55);
  backdrop-filter: blur(2px);
}

.mb-strategy-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(92vh, 860px);
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  padding: 28px 24px 24px;
}

.mb-strategy-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f4f4f5;
  color: #333;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.mb-strategy-modal__close svg {
  width: 16px;
  height: 16px;
}

.mb-strategy-modal__close:hover {
  background: #ebebeb;
}

.mb-strategy-modal__steps {
  display: flex;
  gap: 8px;
  margin: 0 0 18px;
}

.mb-strategy-modal__steps span {
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background: #e8e8e8;
}

.mb-strategy-modal__steps span.is-active {
  background: var(--mb-red);
}

.mb-strategy-modal__steps span.is-done {
  background: #f5b0b0;
}

.mb-strategy-panel[hidden] {
  display: none !important;
}

.mb-strategy-panel__eyebrow {
  margin: 0 0 8px;
  color: var(--mb-red);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mb-strategy-panel__title {
  margin: 0 0 8px;
  font-size: 1.45rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--mb-page-text);
}

.mb-strategy-panel__lead {
  margin: 0 0 20px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--mb-muted);
}

.mb-strategy-qualify__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 12px;
  margin-bottom: 16px;
}

.mb-strategy-field--full {
  grid-column: 1 / -1;
}

.mb-strategy-field label,
.mb-strategy-field__label {
  display: block;
  margin: 0 0 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--mb-page-text);
}

.mb-strategy-field label span,
.mb-strategy-field__label span {
  color: var(--mb-red);
}

.mb-strategy-field label .is-optional,
.mb-strategy-field__label .is-optional {
  color: var(--mb-muted);
  font-weight: 500;
}

.mb-strategy-field input,
.mb-strategy-field select,
.mb-strategy-field textarea {
  width: 100%;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  font-size: 0.88rem;
  background: #fff;
  color: var(--mb-page-text);
  outline: none;
}

.mb-strategy-field textarea {
  resize: vertical;
  min-height: 84px;
  line-height: 1.45;
}

.mb-strategy-field input:focus,
.mb-strategy-field select:focus,
.mb-strategy-field textarea:focus {
  border-color: var(--mb-red);
  box-shadow: 0 0 0 3px rgba(230, 0, 0, 0.08);
}

.mb-strategy-topics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mb-strategy-topic {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  background: #fff;
}

.mb-strategy-topic input {
  width: 16px;
  height: 16px;
  accent-color: var(--mb-red);
  flex-shrink: 0;
}

.mb-strategy-topic:has(input:checked) {
  border-color: var(--mb-red);
  background: #fff5f5;
}

.mb-strategy-error {
  margin: 8px 0 0;
  color: var(--mb-red);
  font-size: 0.78rem;
  font-weight: 600;
}

.mb-strategy-dates,
.mb-strategy-times,
.mb-strategy-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mb-strategy-chip {
  position: relative;
  margin: 0;
  cursor: pointer;
}

.mb-strategy-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mb-strategy-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 10px 14px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  background: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--mb-page-text);
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.mb-strategy-chip--wide span {
  min-width: 140px;
}

.mb-strategy-chip input:checked + span {
  border-color: var(--mb-red);
  background: var(--mb-red);
  color: #fff;
}

.mb-strategy-chip .mb-strategy-chip__sub {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.8;
  margin-top: 2px;
}

.mb-strategy-chip input:checked + span .mb-strategy-chip__sub {
  opacity: 0.95;
}

.mb-strategy-dates .mb-strategy-chip span {
  flex-direction: column;
  min-width: 86px;
  padding: 10px 12px;
  line-height: 1.2;
}

.mb-strategy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}

.mb-strategy-btn svg {
  width: 18px;
  height: 18px;
}

.mb-strategy-btn--primary {
  width: 100%;
  background: var(--mb-red);
  color: #fff;
}

.mb-strategy-btn--primary:hover {
  background: #c40000;
}

.mb-strategy-btn--ghost {
  background: #f4f4f5;
  color: var(--mb-page-text);
}

.mb-strategy-btn--ghost:hover {
  background: #ebebeb;
}

.mb-strategy-actions {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 10px;
  margin-top: 8px;
}

.mb-strategy-actions--stack {
  grid-template-columns: 1fr;
  margin-top: 20px;
}

.mb-strategy-actions .mb-strategy-btn--primary {
  width: 100%;
}

.mb-strategy-success {
  text-align: center;
  padding: 8px 4px 0;
}

.mb-strategy-success__check {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--mb-red);
  color: #fff;
  display: grid;
  place-items: center;
}

.mb-strategy-success__check svg {
  width: 28px;
  height: 28px;
}

.mb-strategy-success .mb-strategy-panel__title {
  margin-bottom: 12px;
}

.mb-strategy-success__when {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--mb-page-text);
}

.mb-strategy-success__platform {
  margin: 0 0 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--mb-red);
}

.mb-strategy-success__email {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--mb-muted);
}

.mb-strategy-success__email strong {
  color: var(--mb-page-text);
}

body.is-strategy-modal-open {
  overflow: hidden;
}

@media (max-width: 560px) {
  .mb-strategy-qualify__grid,
  .mb-strategy-topics {
    grid-template-columns: 1fr;
  }

  .mb-strategy-actions {
    grid-template-columns: 1fr;
  }

  .mb-strategy-modal__dialog {
    padding: 24px 16px 18px;
  }
}

html[data-mb-theme="dark"] .mb-strategy-modal__dialog {
  background: var(--mb-surface, #161616);
}

html[data-mb-theme="dark"] .mb-strategy-modal__close,
html[data-mb-theme="dark"] .mb-strategy-btn--ghost {
  background: #222;
  color: #eee;
}

html[data-mb-theme="dark"] .mb-strategy-field input,
html[data-mb-theme="dark"] .mb-strategy-field select,
html[data-mb-theme="dark"] .mb-strategy-field textarea,
html[data-mb-theme="dark"] .mb-strategy-topic,
html[data-mb-theme="dark"] .mb-strategy-chip span {
  background: #1a1a1a;
  border-color: #333;
  color: #eee;
}

html[data-mb-theme="dark"] .mb-strategy-topic:has(input:checked) {
  background: #2a1515;
}
.mb-post__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mb-post__list a {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
}

.mb-post__list img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  background: var(--mb-gray-100);
}

.mb-post__list h4 {
  margin: 0 0 4px;
  font-size: 0.9rem;
  line-height: 1.35;
  font-weight: 700;
  color: var(--mb-page-text);
}

.mb-post__list a:hover h4 {
  color: var(--mb-red);
}

.mb-post__list time {
  font-size: 0.78rem;
  color: var(--mb-muted);
}

.mb-post__iq {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: var(--sp-radius);
  background: linear-gradient(160deg, #0c1017, #171e2a 60%, #10151e);
  color: #fff;
  min-height: 180px;
}

.mb-post__iq-brand {
  margin: 0 0 4px;
  font-size: 0.95rem;
  font-weight: 700;
}

.mb-post__iq-brand span {
  color: var(--mb-red);
}

.mb-post__iq-sub {
  margin: 0 0 12px;
  font-size: 0.82rem;
  color: #7fdad0;
  font-weight: 600;
}

.mb-post__iq h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  max-width: 12ch;
  line-height: 1.2;
}

.mb-post__iq-gauge {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: conic-gradient(#3dd6c6 0 87%, rgba(255, 255, 255, 0.1) 0);
  display: grid;
  place-items: center;
}

.mb-post__iq-gauge > div {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #121820;
  display: grid;
  place-items: center;
  text-align: center;
}

.mb-post__iq-gauge strong {
  font-size: 1.45rem;
  line-height: 1;
}

.mb-post__iq-gauge small {
  display: block;
  margin-top: 2px;
  font-size: 8px;
  color: #9aa3b2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  max-width: 9ch;
  line-height: 1.2;
}

.mb-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mb-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  padding: 10px 16px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 0.88rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 2000;
}

.mb-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 1100px) {
  .mb-post__layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 32px;
  }

  .mb-post__title {
    max-width: none;
  }
}

@media (max-width: 900px) {
  .mb-post__layout {
    grid-template-columns: 1fr;
  }

  .mb-post__sidebar {
    position: static;
    order: 2;
  }

  .mb-post__body-wrap {
    grid-template-columns: 1fr;
  }

  .mb-post__share {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 0 0 20px;
  }

  .mb-post__share-head {
    flex-direction: row;
    gap: 6px;
  }

  .mb-post__share-rail {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    padding: 8px 10px;
    border-radius: 999px;
  }

  .mb-post__toc-list {
    grid-template-columns: 1fr;
  }

  .mb-post__related-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .mb-post {
    padding-top: calc(var(--mb-header-h) + 24px);
  }

  .mb-post__bio {
    grid-template-columns: 56px 1fr;
    gap: 14px;
    padding: 16px;
  }

  .mb-post__bio-avatar {
    width: 56px;
    height: 56px;
  }
}

html[data-mb-theme="dark"] .mb-post-page {
  --sp-pink: #2a1515;
  --sp-pink-soft: #1a1212;
  --sp-card-border: #2a2a2a;
}

html[data-mb-theme="dark"] .mb-post__toc,
html[data-mb-theme="dark"] .mb-post__widget,
html[data-mb-theme="dark"] .mb-post__share-rail,
html[data-mb-theme="dark"] .mb-post__related-card,
html[data-mb-theme="dark"] .mb-post__search {
  background: var(--mb-surface);
}

html[data-mb-theme="dark"] .mb-post__share-head,
html[data-mb-theme="dark"] .mb-post__share-label,
html[data-mb-theme="dark"] .mb-post__share-rail button {
  color: #eee;
}

html[data-mb-theme="dark"] .mb-post__bio {
  background: var(--mb-surface-muted);
}

html[data-mb-theme="dark"] .mb-post__toc-list a::before {
  background: #f2f2f2;
  color: #111;
}

html[data-mb-theme="dark"] .mb-post__content {
  color: #e8e8e8;
}
