/* Mobile-only post strip under the masthead (news and blog articles). */
.mobile-post-strip { display: none; }

@media (max-width: 700px) {
  body.live.editorial-public.editorial-page .mobile-post-strip {
    display: flex !important;
    align-items: center;
    gap: 12px;
    width: calc(100% - 32px);
    max-width: 100%;
    margin: 8px auto 16px;
    padding: 0;
    font-family: var(--body-font), Arial, "Noto Sans JP", sans-serif;
  }

  body.live.editorial-public.editorial-page .mobile-post-strip-latest {
    display: flex !important;
    flex: 1 1 auto;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
    min-height: 66px;
    overflow: hidden;
    padding: 9px 10px 9px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #f1f5f9;
    color: #0f172a;
    text-decoration: none !important;
    box-shadow: none;
  }

  body.live.editorial-public.editorial-page .mobile-post-strip-slide {
    display: flex;
    flex: 1 1 100%;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
    width: 100%;
    min-height: 46px;
  }

  body.live.editorial-public.editorial-page .mobile-post-strip-copy {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
  }

  body.live.editorial-public.editorial-page .mobile-post-strip-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0f172a;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .04em;
    line-height: 1.2;
    white-space: nowrap;
  }

  body.live.editorial-public.editorial-page .mobile-post-strip-label::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
  }

  body.live.editorial-public.editorial-page .mobile-post-strip-title {
    display: -webkit-box;
    overflow: hidden;
    color: #0f172a;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  body.live.editorial-public.editorial-page .mobile-post-strip-latest img {
    flex: 0 0 52px;
    width: 52px;
    height: 46px;
    border-radius: 10px;
    object-fit: cover;
  }

  body.live.editorial-public.editorial-page .mobile-post-strip-recent {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }

  body.live.editorial-public.editorial-page .mobile-post-strip-circles {
    display: flex;
    align-items: center;
    padding-left: 12px;
  }

  body.live.editorial-public.editorial-page .mobile-post-strip-circle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-left: -12px;
    overflow: hidden;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: #e2e8f0;
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 1px 4px rgba(15, 23, 42, .16);
  }

  body.live.editorial-public.editorial-page .mobile-post-strip-circle img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
  }

  body.live.editorial-public.editorial-page .mobile-post-strip-recent-label {
    color: #0f172a;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
  }

  body.live.editorial-public.editorial-page .mobile-post-strip-latest:is(:hover, :focus-visible),
  body.live.editorial-public.editorial-page .mobile-post-strip-circle:is(:hover, :focus-visible) {
    border-color: var(--ui-accent, #c91f2d);
  }

  body.live.editorial-public.editorial-page .mobile-post-strip-latest:focus-visible,
  body.live.editorial-public.editorial-page .mobile-post-strip-circle:focus-visible {
    outline: 2px solid var(--ui-accent, #c91f2d);
    outline-offset: 2px;
  }

  /* Selectable dark theme: keep the same neutral card, readable light ink. */
  body.live.editorial-public.editorial-page[data-public-theme="dark"] .mobile-post-strip-latest {
    border-color: #39434f;
    background: #202730;
    color: #edf1f5;
  }
  body.live.editorial-public.editorial-page[data-public-theme="dark"] .mobile-post-strip-label,
  body.live.editorial-public.editorial-page[data-public-theme="dark"] .mobile-post-strip-title,
  body.live.editorial-public.editorial-page[data-public-theme="dark"] .mobile-post-strip-recent-label {
    color: #edf1f5;
  }
  body.live.editorial-public.editorial-page[data-public-theme="dark"] .mobile-post-strip-circle {
    border-color: #191f26;
    background: #39434f;
    color: #edf1f5;
  }

  /* Default beige palette: same card shape on the warm neutral ground. */
  body.live.editorial-public.editorial-page[data-public-theme="beige"] .mobile-post-strip-latest {
    border-color: #ddd6c7;
    background: #f1ede4;
    color: #111417;
  }
  body.live.editorial-public.editorial-page[data-public-theme="beige"] .mobile-post-strip-label,
  body.live.editorial-public.editorial-page[data-public-theme="beige"] .mobile-post-strip-title,
  body.live.editorial-public.editorial-page[data-public-theme="beige"] .mobile-post-strip-recent-label {
    color: #111417;
  }
  body.live.editorial-public.editorial-page[data-public-theme="beige"] .mobile-post-strip-circle {
    border-color: #fbfaf7;
    background: #ddd6c7;
    color: #111417;
  }
}
