/*
Theme Name: Blog Factory Apple Signals
Text Domain: blog-factory-aapl
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 7.4
Description: A focused WordPress theme for Apple information and source-checking sites.
Author: Mogmo
*/

:root {
  --bfl-ink: #18181b;
  --bfl-ink-soft: #2f3338;
  --bfl-muted: #666d76;
  --bfl-paper: #f7f8fa;
  --bfl-panel: #ffffff;
  --bfl-soft: #eef3f2;
  --bfl-line: #dce2e7;
  --bfl-line-strong: #bac4cc;
  --bfl-teal: #0f766e;
  --bfl-blue: #2459d6;
  --bfl-rust: #b45309;
  --bfl-plum: #9d2f6f;
  --bfl-shadow: 0 18px 44px rgba(24, 24, 27, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--bfl-ink);
  background:
    linear-gradient(90deg, rgba(24, 24, 27, 0.035) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(180deg, #fbfcfd 0%, var(--bfl-paper) 48%, #f4f7f7 100%);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", "Yu Gothic Medium", "Yu Gothic", Meiryo, "Noto Sans JP", sans-serif;
  line-height: 1.78;
  letter-spacing: 0;
}

body,
button,
input,
select,
textarea {
  letter-spacing: 0;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

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

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

.bfl-skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--bfl-ink);
  color: #fff;
}

.bfl-skip-link:focus {
  left: 8px;
}

.bfl-container {
  width: min(1120px, calc(100vw - 40px));
  margin: 0 auto;
}

.bfl-site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(24, 24, 27, 0.1);
  background: rgba(247, 248, 250, 0.94);
  backdrop-filter: blur(16px);
}

.admin-bar .bfl-site-header {
  top: 32px;
}

.bfl-header-inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(190px, 0.5fr) minmax(0, 2.45fr) minmax(160px, 0.45fr);
  gap: 14px;
  align-items: center;
}

.bfl-brand {
  display: grid;
  gap: 2px;
  text-decoration: none;
}

.bfl-brand-name {
  font-size: 1.08rem;
  font-weight: 950;
  line-height: 1.18;
}

.bfl-brand-tagline {
  color: var(--bfl-muted);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.36;
}

.bfl-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bfl-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--bfl-muted);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.25;
  text-decoration: none;
}

.bfl-menu a:hover,
.bfl-menu .current-menu-item > a,
.bfl-menu .current_page_item > a {
  border-color: var(--bfl-line);
  color: var(--bfl-ink);
  background: #fff;
}

.bfl-search {
  display: flex;
  justify-content: flex-end;
}

.bfl-search input {
  width: min(100%, 220px);
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid var(--bfl-line);
  border-radius: 8px;
  background: #fff;
  color: var(--bfl-ink);
  font: inherit;
}

.bfl-main {
  min-height: 60vh;
}

.bfl-hero {
  padding: 50px 0 28px;
  border-bottom: 1px solid rgba(24, 24, 27, 0.06);
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.08), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0));
}

.bfl-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
  gap: 34px;
  align-items: center;
}

.bfl-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--bfl-teal);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.bfl-kicker::before {
  width: 30px;
  height: 3px;
  border-radius: 999px;
  background: var(--bfl-rust);
  content: "";
}

.bfl-hero-title {
  margin: 0;
  max-width: 760px;
  font-size: 3.2rem;
  line-height: 1.08;
  font-weight: 950;
}

.bfl-hero-copy {
  max-width: 720px;
  margin: 17px 0 0;
  color: var(--bfl-ink-soft);
  font-size: 1.02rem;
}

.bfl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.bfl-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--bfl-line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--bfl-ink);
  font-weight: 950;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.bfl-button:hover {
  border-color: var(--bfl-ink);
}

.bfl-button[data-variant="solid"] {
  border-color: var(--bfl-ink);
  background: var(--bfl-ink);
  color: #fff;
}

.bfl-hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.bfl-hero-note span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--bfl-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--bfl-muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.bfl-spotlight-panel {
  padding: 24px;
  border: 1px solid rgba(24, 24, 27, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 247, 247, 0.92)),
    var(--bfl-panel);
  box-shadow: var(--bfl-shadow);
}

.bfl-spotlight-kicker {
  color: var(--bfl-plum);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.bfl-spotlight-panel h2 {
  margin: 8px 0 0;
  font-size: 1.42rem;
  line-height: 1.28;
}

.bfl-spotlight-panel p {
  margin: 10px 0 0;
  color: var(--bfl-muted);
  font-size: 0.94rem;
}

.bfl-watch-lanes,
.bfl-spotlight-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.bfl-watch-lanes a,
.bfl-spotlight-links a {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 5px;
  min-height: 128px;
  padding: 13px;
  border: 1px solid var(--bfl-line);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
}

.bfl-watch-lanes a:hover,
.bfl-spotlight-links a:hover {
  border-color: rgba(15, 118, 110, 0.55);
  box-shadow: 0 12px 28px rgba(24, 24, 27, 0.07);
}

.bfl-watch-lanes span,
.bfl-spotlight-links span,
.bfl-info-tile span {
  color: var(--bfl-teal);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.bfl-watch-lanes strong,
.bfl-spotlight-links strong {
  color: var(--bfl-ink);
  font-size: 1rem;
  line-height: 1.34;
}

.bfl-watch-lanes em {
  color: var(--bfl-muted);
  font-size: 0.82rem;
  font-style: normal;
  line-height: 1.5;
}

.bfl-section {
  padding: 42px 0;
}

.bfl-section-compact {
  padding: 26px 0 20px;
}

.bfl-section[data-tone="soft"] {
  background: rgba(238, 243, 242, 0.86);
}

.bfl-signal-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--bfl-line);
  border-radius: 8px;
  background: var(--bfl-line);
}

.bfl-signal-strip div {
  min-height: 132px;
  padding: 17px;
  background: rgba(255, 255, 255, 0.92);
}

.bfl-signal-strip span {
  color: var(--bfl-rust);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.bfl-signal-strip strong {
  display: block;
  margin-top: 6px;
  font-size: 1.02rem;
  line-height: 1.35;
}

.bfl-signal-strip p {
  margin: 8px 0 0;
  color: var(--bfl-muted);
  font-size: 0.9rem;
}

.bfl-section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  margin-bottom: 22px;
}

.bfl-section-title {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.25;
}

.bfl-section-copy {
  max-width: 760px;
  margin: 7px 0 0;
  color: var(--bfl-muted);
}

.bfl-text-link {
  color: var(--bfl-teal);
  font-weight: 950;
  white-space: nowrap;
}

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

.bfl-card,
.bfl-category-card,
.bfl-empty,
.bfl-policy-box {
  border: 1px solid var(--bfl-line);
  border-radius: 8px;
  background: var(--bfl-panel);
}

.bfl-card {
  overflow: hidden;
  min-height: 100%;
}

.bfl-card-media,
.bfl-entry-hero {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.16), rgba(157, 47, 111, 0.12)),
    #e7ecef;
}

.bfl-card-media img,
.bfl-entry-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bfl-card-media-placeholder {
  display: grid;
  height: 100%;
  min-height: 172px;
  align-content: end;
  gap: 8px;
  padding: 18px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.8) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(135deg, #e6f1ef, #f3edf3);
}

.bfl-card-media-placeholder em {
  width: fit-content;
  padding: 3px 8px;
  border-radius: 8px;
  background: var(--bfl-ink);
  color: #fff;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 950;
}

.bfl-card-media-placeholder strong {
  color: var(--bfl-ink);
  font-size: 1.05rem;
  line-height: 1.35;
}

.bfl-card-body {
  padding: 16px;
}

.bfl-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-bottom: 8px;
  color: var(--bfl-muted);
  font-size: 0.76rem;
  font-weight: 900;
}

.bfl-card-cat {
  color: var(--bfl-rust);
}

.bfl-card-title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.42;
}

.bfl-card-title a,
.bfl-category-title a {
  text-decoration: none;
}

.bfl-card-title a:hover,
.bfl-category-title a:hover {
  text-decoration: underline;
}

.bfl-card-excerpt {
  margin: 10px 0 0;
  color: var(--bfl-muted);
  font-size: 0.9rem;
}

.bfl-category-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-height: 214px;
  padding: 18px;
}

.bfl-category-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 8px 0 0 8px;
  background: var(--bfl-teal);
  content: "";
}

.bfl-category-card:nth-child(3n + 2)::before {
  background: var(--bfl-blue);
}

.bfl-category-card:nth-child(3n)::before {
  background: var(--bfl-rust);
}

.bfl-category-index {
  color: var(--bfl-line-strong);
  font-size: 0.72rem;
  font-weight: 950;
}

.bfl-category-title {
  margin: 4px 0 0;
  font-size: 1.04rem;
  line-height: 1.35;
}

.bfl-category-description {
  margin: 10px 0 0;
  color: var(--bfl-muted);
  font-size: 0.9rem;
}

.bfl-category-count {
  margin-top: 14px;
  color: var(--bfl-rust);
  font-size: 0.78rem;
  font-weight: 950;
}

.bfl-policy-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 22px;
  border-left: 5px solid var(--bfl-teal);
}

.bfl-policy-box span {
  color: var(--bfl-plum);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.bfl-policy-box h2 {
  margin: 4px 0 0;
  font-size: 1.28rem;
  line-height: 1.35;
}

.bfl-policy-box p {
  margin: 8px 0 0;
  color: var(--bfl-muted);
}

.bfl-empty {
  padding: 22px;
  color: var(--bfl-muted);
}

.bfl-empty-action {
  display: grid;
  gap: 8px;
}

.bfl-empty-action strong {
  color: var(--bfl-ink);
  font-size: 1.06rem;
}

.bfl-empty-action p {
  margin: 0;
}

.bfl-content-wrap {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(230px, 300px);
  gap: 42px;
  align-items: start;
  padding: 42px 0 58px;
}

.bfl-page-wrap {
  width: min(920px, calc(100vw - 40px));
  padding: 54px 0 68px;
}

.bfl-article,
.bfl-page {
  min-width: 0;
}

.bfl-read-meter {
  position: sticky;
  top: 72px;
  z-index: 5;
  height: 4px;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(24, 24, 27, 0.08);
}

.admin-bar .bfl-read-meter {
  top: 104px;
}

.bfl-read-meter span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--bfl-teal), var(--bfl-plum));
}

.bfl-entry-header {
  margin-bottom: 24px;
}

.bfl-entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--bfl-muted);
  font-size: 0.84rem;
  font-weight: 900;
}

.bfl-entry-meta a {
  color: var(--bfl-rust);
}

.bfl-entry-title {
  margin: 0;
  font-size: 2.45rem;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.bfl-entry-hero {
  margin-bottom: 26px;
  border-radius: 8px;
}

.bfl-entry-content {
  max-width: 100%;
  color: #23272c;
  font-size: 1rem;
  overflow-wrap: anywhere;
  word-break: normal;
}

.bfl-page .bfl-entry-content {
  max-width: 760px;
  font-size: 1.04rem;
}

.bfl-entry-content h2,
.bfl-entry-content h3 {
  margin-top: 2.1em;
  line-height: 1.35;
}

.bfl-entry-content h2 {
  padding-top: 0.2em;
  border-top: 1px solid var(--bfl-line);
  font-size: 1.45rem;
}

.bfl-entry-content h3 {
  font-size: 1.16rem;
}

.bfl-entry-content p {
  margin: 1em 0;
}

.bfl-entry-content a {
  color: #125f80;
  font-weight: 800;
}

.bfl-entry-content table {
  width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
  display: block;
}

.bfl-entry-content figure,
.bfl-entry-content img,
.bfl-entry-content pre,
.bfl-entry-content table {
  max-width: 100%;
}

.bfl-entry-content th,
.bfl-entry-content td {
  padding: 10px;
  border: 1px solid var(--bfl-line);
  text-align: left;
  vertical-align: top;
}

.bfl-entry-content pre {
  overflow-x: auto;
  padding: 16px;
  border-radius: 8px;
  background: #11171d;
  color: #f6fafb;
}

.bfl-entry-content blockquote {
  margin: 1.4em 0;
  padding: 2px 0 2px 18px;
  border-left: 4px solid var(--bfl-teal);
  color: var(--bfl-ink-soft);
}

.bfl-entry-content .mogmo-visual {
  box-sizing: border-box;
  margin: 28px 0;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fbff 0%, #eef7f4 100%);
  box-shadow: 0 16px 34px rgba(24, 24, 27, 0.08);
}

.bfl-entry-content .mogmo-visual-head {
  display: grid;
  gap: 5px;
  margin: 0 0 14px;
  color: #1d2a31;
}

.bfl-entry-content .mogmo-visual-head span {
  width: fit-content;
  padding: 3px 8px;
  border-radius: 8px;
  background: #10333a;
  color: #d8fffa;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.bfl-entry-content .mogmo-visual-head strong {
  font-size: 1.02rem;
  line-height: 1.35;
}

.bfl-entry-content .mogmo-visual-head small,
.bfl-entry-content .mogmo-visual-caption {
  color: #566a70;
  font-size: 0.86rem;
  line-height: 1.6;
}

.bfl-entry-content .mogmo-visual-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.bfl-entry-content .mogmo-visual-cards article {
  box-sizing: border-box;
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
}

.bfl-entry-content .mogmo-visual-cards article span {
  color: #0f766e;
  font-size: 0.86rem;
  font-weight: 950;
  line-height: 1.35;
}

.bfl-entry-content .mogmo-visual-cards article strong:empty {
  display: none;
}

.bfl-entry-content .mogmo-visual-cards article p,
.bfl-entry-content .mogmo-visual-flow p,
.bfl-entry-content .mogmo-visual-timeline p {
  margin: 0;
  color: #263238;
  font-size: 0.9rem;
  line-height: 1.65;
}

.bfl-entry-content .mogmo-visual-flow,
.bfl-entry-content .mogmo-visual-timeline {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bfl-entry-content .mogmo-visual-flow li,
.bfl-entry-content .mogmo-visual-timeline li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 12px;
  align-items: start;
  padding: 13px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
}

.bfl-entry-content .mogmo-visual-flow li span,
.bfl-entry-content .mogmo-visual-timeline li span {
  display: inline-grid;
  min-width: 30px;
  height: 30px;
  place-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: #0f766e;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 950;
}

.bfl-entry-content .mogmo-visual-flow li strong,
.bfl-entry-content .mogmo-visual-timeline li strong {
  padding-top: 3px;
  color: #1d2a31;
  line-height: 1.4;
}

.bfl-entry-content .mogmo-visual-flow li p,
.bfl-entry-content .mogmo-visual-timeline li p {
  grid-column: 2;
}

.bfl-entry-content .mogmo-visual-table-scroll {
  overflow-x: auto;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: #fff;
}

.bfl-entry-content .mogmo-visual-table-scroll table {
  display: table;
  min-width: 560px;
  margin: 0;
}

.bfl-entry-content .mogmo-visual-caption {
  margin: 12px 0 0;
}

.bfl-page-section {
  margin-top: 34px;
}

.bfl-tile-grid,
.bfl-score-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.bfl-score-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bfl-info-tile {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 8px;
  min-height: 164px;
  padding: 18px;
  border: 1px solid var(--bfl-line);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
}

a.bfl-info-tile:hover {
  border-color: rgba(36, 89, 214, 0.45);
  box-shadow: 0 14px 34px rgba(24, 24, 27, 0.08);
}

.bfl-info-tile strong {
  font-size: 1.06rem;
  line-height: 1.35;
}

.bfl-info-tile em {
  color: var(--bfl-muted);
  font-size: 0.9rem;
  font-style: normal;
  line-height: 1.7;
}

.bfl-sidebar {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 14px;
}

.bfl-side-box {
  padding: 16px;
  border: 1px solid var(--bfl-line);
  border-radius: 8px;
  background: #fff;
}

.bfl-side-box h2 {
  margin: 0 0 10px;
  font-size: 0.98rem;
  line-height: 1.35;
}

.bfl-side-box ul,
.bfl-side-box ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.1em;
}

.bfl-side-box li {
  color: var(--bfl-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.bfl-side-box a {
  color: var(--bfl-ink);
  font-weight: 850;
}

.bfl-side-toc ol {
  list-style: decimal;
}

.bfl-side-toc li.is-sub {
  margin-left: 0.7em;
  font-size: 0.82rem;
}

.bfl-side-source {
  background: #fbfcfd;
}

.bfl-pagination {
  margin-top: 28px;
}

.bfl-site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--bfl-line);
  background: #18181b;
  color: rgba(255, 255, 255, 0.82);
}

.bfl-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}

.bfl-footer-inner a {
  color: #fff;
}

@media (max-width: 920px) {
  .bfl-header-inner,
  .bfl-hero-grid,
  .bfl-content-wrap,
  .bfl-policy-box {
    grid-template-columns: 1fr;
  }

  .bfl-search {
    justify-content: flex-start;
  }

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

  .bfl-tile-grid,
  .bfl-score-grid,
  .bfl-signal-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bfl-sidebar {
    position: static;
  }

  .bfl-hero-title {
    font-size: 2.7rem;
  }

  .bfl-entry-title {
    font-size: 2.1rem;
  }
}

@media (max-width: 640px) {
  .admin-bar .bfl-site-header {
    top: 0;
  }

  .bfl-site-header {
    position: static;
  }

  .bfl-container {
    width: min(100% - 28px, 1120px);
  }

  .bfl-page-wrap {
    width: min(100% - 28px, 920px);
    padding: 38px 0 52px;
  }

  .bfl-header-inner {
    min-height: 0;
    padding: 14px 0;
  }

  .bfl-primary-nav {
    overflow-x: auto;
    margin-inline: -14px;
    padding-inline: 14px;
    scrollbar-width: none;
  }

  .bfl-primary-nav::-webkit-scrollbar {
    display: none;
  }

  .bfl-primary-nav .bfl-menu {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .bfl-primary-nav .bfl-menu a {
    min-height: 34px;
    padding: 0 9px;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .bfl-site-footer .bfl-menu {
    justify-content: flex-start;
  }

  .bfl-site-footer .bfl-menu a {
    color: #fff;
    background: transparent;
    white-space: normal;
  }

  .bfl-search input {
    width: 100%;
  }

  .bfl-hero {
    padding-top: 34px;
  }

  .bfl-hero-title {
    font-size: 2.06rem;
  }

  .bfl-entry-title {
    font-size: 1.78rem;
  }

  .bfl-grid,
  .bfl-tile-grid,
  .bfl-score-grid,
  .bfl-watch-lanes,
  .bfl-spotlight-links,
  .bfl-signal-strip {
    grid-template-columns: 1fr;
  }

  .bfl-section-head,
  .bfl-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .bfl-spotlight-panel,
  .bfl-policy-box,
  .bfl-side-box,
  .bfl-info-tile,
  .bfl-category-card {
    padding: 16px;
  }

  .bfl-card-media-placeholder {
    min-height: 162px;
  }

  .bfl-read-meter {
    top: 0;
  }

  .bfl-entry-content .mogmo-visual {
    margin: 22px 0;
    padding: 14px;
  }

  .bfl-entry-content .mogmo-visual-cards {
    grid-template-columns: 1fr;
  }

  .bfl-entry-content .mogmo-visual-flow li,
  .bfl-entry-content .mogmo-visual-timeline li {
    grid-template-columns: 1fr;
  }

  .bfl-entry-content .mogmo-visual-flow li span,
  .bfl-entry-content .mogmo-visual-timeline li span {
    width: fit-content;
  }

  .bfl-entry-content .mogmo-visual-flow li p,
  .bfl-entry-content .mogmo-visual-timeline li p {
    grid-column: 1;
  }
}

/* Simple presentation for Apple Signals Japan. */
body {
  background: #fafafa;
  color: #1f2328;
  line-height: 1.75;
}

.bfl-container {
  width: min(960px, calc(100vw - 40px));
}

.bfl-site-header {
  background: rgba(250, 250, 250, 0.96);
  border-bottom-color: #e5e7eb;
  backdrop-filter: blur(12px);
}

.bfl-header-inner {
  min-height: 64px;
  grid-template-columns: minmax(160px, 0.55fr) minmax(0, 1.7fr) minmax(140px, 0.42fr);
}

.bfl-brand-name {
  font-size: 0.96rem;
  white-space: nowrap;
}

.bfl-brand-tagline {
  display: none;
}

.bfl-menu {
  gap: 2px 8px;
}

.bfl-menu a {
  min-height: 32px;
  padding: 0 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #5f6670;
  font-size: 0.78rem;
}

.bfl-menu a:hover,
.bfl-menu .current-menu-item > a,
.bfl-menu .current_page_item > a {
  background: transparent;
  color: #111827;
  text-decoration: underline;
}

.bfl-search input {
  min-height: 36px;
  border-radius: 6px;
  background: #fff;
}

.bfl-hero {
  padding: 54px 0 24px;
  border-bottom: 0;
  background: #fafafa;
}

.bfl-simple-hero .bfl-container {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.bfl-kicker {
  margin-bottom: 10px;
  color: #6b7280;
  font-size: 0.74rem;
}

.bfl-kicker::before {
  width: 20px;
  height: 2px;
  background: #9ca3af;
}

.bfl-hero-title {
  max-width: 620px;
  font-size: 2.55rem;
  line-height: 1.08;
}

.bfl-hero-copy {
  max-width: 640px;
  margin-top: 14px;
  color: #4b5563;
  font-size: 1rem;
}

.bfl-actions {
  gap: 8px;
  margin-top: 22px;
}

.bfl-button {
  min-height: 38px;
  padding: 0 13px;
  border-color: #d1d5db;
  border-radius: 6px;
  font-size: 0.9rem;
}

.bfl-button[data-variant="solid"] {
  border-color: #111827;
  background: #111827;
}

.bfl-section {
  padding: 30px 0;
}

.bfl-section[data-tone="soft"] {
  background: #f4f5f6;
}

.bfl-section-head {
  margin-bottom: 16px;
}

.bfl-section-title {
  font-size: 1.24rem;
}

.bfl-section-copy {
  max-width: 640px;
  color: #6b7280;
  font-size: 0.92rem;
}

.bfl-simple-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.bfl-simple-links a {
  display: grid;
  gap: 4px;
  min-height: 86px;
  padding: 16px 18px;
  border-right: 1px solid #e5e7eb;
  color: inherit;
  text-decoration: none;
}

.bfl-simple-links a:last-child {
  border-right: 0;
}

.bfl-simple-links a:hover strong {
  text-decoration: underline;
}

.bfl-simple-links strong {
  font-size: 1rem;
  line-height: 1.35;
}

.bfl-simple-links span {
  color: #6b7280;
  font-size: 0.86rem;
}

.bfl-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.bfl-card,
.bfl-category-card,
.bfl-empty,
.bfl-policy-box,
.bfl-info-tile,
.bfl-side-box {
  border-color: #e5e7eb;
  border-radius: 6px;
  box-shadow: none;
}

.bfl-card-body,
.bfl-category-card,
.bfl-info-tile,
.bfl-side-box {
  padding: 14px;
}

.bfl-card-media-placeholder {
  min-height: 140px;
  background: #eef1f3;
}

.bfl-card-meta,
.bfl-card-excerpt,
.bfl-category-description,
.bfl-category-count {
  font-size: 0.84rem;
}

.bfl-card-title,
.bfl-category-title,
.bfl-info-tile strong {
  font-size: 0.98rem;
}

.bfl-category-card {
  min-height: 150px;
}

.bfl-category-card::before {
  width: 2px;
  background: #9ca3af;
}

.bfl-category-card:nth-child(3n + 2)::before,
.bfl-category-card:nth-child(3n)::before {
  background: #9ca3af;
}

.bfl-category-index,
.bfl-card-cat,
.bfl-category-count,
.bfl-text-link,
.bfl-info-tile span {
  color: #6b7280;
}

.bfl-policy-box {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 18px;
  border-left: 2px solid #9ca3af;
}

.bfl-policy-box span {
  display: none;
}

.bfl-policy-box h2 {
  margin-top: 0;
  font-size: 1.05rem;
}

.bfl-policy-box p {
  color: #6b7280;
  font-size: 0.92rem;
}

.bfl-content-wrap {
  grid-template-columns: minmax(0, 680px) minmax(220px, 260px);
  gap: 34px;
}

.bfl-entry-title {
  font-size: 2rem;
}

.bfl-entry-content h2 {
  font-size: 1.28rem;
}

.bfl-site-footer {
  padding: 28px 0;
  background: #171717;
}

.bfl-site-footer .bfl-menu a {
  color: rgba(255, 255, 255, 0.86);
}

.bfl-site-footer .bfl-menu a:hover,
.bfl-site-footer .bfl-menu .current-menu-item > a,
.bfl-site-footer .bfl-menu .current_page_item > a {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 920px) {
  .bfl-header-inner {
    grid-template-columns: 1fr;
  }

  .bfl-simple-links,
  .bfl-grid {
    grid-template-columns: 1fr;
  }

  .bfl-simple-links a {
    border-right: 0;
    border-bottom: 1px solid #e5e7eb;
  }

  .bfl-simple-links a:last-child {
    border-bottom: 0;
  }

  .bfl-policy-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .bfl-container,
  .bfl-page-wrap {
    width: min(100% - 28px, 960px);
  }

  .bfl-hero {
    padding: 34px 0 18px;
  }

  .bfl-hero-title {
    font-size: 1.82rem;
  }

  .bfl-hero-copy {
    font-size: 0.94rem;
  }

  .bfl-section {
    padding: 24px 0;
  }
}

/* Article pages: make reading the product. */
.single-post .bfl-content-wrap {
  width: min(1040px, calc(100vw - 40px));
  grid-template-columns: minmax(0, 700px) minmax(220px, 260px);
  gap: 44px;
  padding-top: 34px;
}

.single-post .bfl-entry-header {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e5e7eb;
}

.single-post .bfl-entry-meta {
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.78rem;
}

.single-post .bfl-entry-meta a,
.single-post .bfl-entry-meta time,
.single-post .bfl-entry-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  color: #4b5563;
  text-decoration: none;
}

.single-post .bfl-entry-title {
  max-width: 680px;
  font-size: 2.22rem;
  line-height: 1.23;
}

.bfl-entry-brief {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid #d8dee5;
  border-left: 3px solid #6b7280;
  border-radius: 6px;
  background: #fff;
}

.bfl-entry-brief strong {
  font-size: 0.86rem;
}

.bfl-entry-brief p {
  margin: 0;
  color: #4b5563;
  font-size: 0.94rem;
  line-height: 1.75;
}

.single-post .bfl-entry-hero {
  margin-bottom: 30px;
  border-radius: 6px;
}

.single-post .bfl-entry-content {
  color: #20252b;
  font-size: 1.06rem;
  line-height: 1.95;
}

.single-post .bfl-entry-content > p:first-of-type {
  margin-top: 0;
  color: #343b44;
  font-size: 1.1rem;
}

.single-post .bfl-entry-content p,
.single-post .bfl-entry-content ul,
.single-post .bfl-entry-content ol {
  margin-top: 1.05em;
  margin-bottom: 1.05em;
}

.single-post .bfl-entry-content li + li {
  margin-top: 0.35em;
}

.single-post .bfl-entry-content h2 {
  margin-top: 2.5em;
  padding-top: 1.1em;
  border-top: 1px solid #e5e7eb;
  color: #111827;
  font-size: 1.36rem;
  line-height: 1.42;
  scroll-margin-top: 92px;
}

.single-post .bfl-entry-content h3 {
  margin-top: 2em;
  color: #1f2937;
  font-size: 1.08rem;
  scroll-margin-top: 92px;
}

.single-post .bfl-entry-content blockquote {
  border-left-color: #9ca3af;
  background: #f7f7f8;
  padding: 12px 16px;
}

.single-post .bfl-entry-content table {
  margin: 1.4em 0;
  background: #fff;
}

.single-post .bfl-sidebar {
  top: 88px;
  gap: 12px;
}

.single-post .bfl-side-box {
  padding: 14px;
  border-radius: 6px;
  background: #fff;
}

.single-post .bfl-side-box h2 {
  font-size: 0.92rem;
}

.single-post .bfl-side-toc ol {
  gap: 4px;
  padding-left: 0;
  list-style: none;
}

.single-post .bfl-side-toc li {
  font-size: 0.84rem;
}

.single-post .bfl-side-toc a {
  display: block;
  padding: 7px 0 7px 10px;
  border-left: 2px solid #e5e7eb;
  color: #4b5563;
  text-decoration: none;
}

.single-post .bfl-side-toc a:hover,
.single-post .bfl-side-toc a[aria-current="true"] {
  border-left-color: #111827;
  color: #111827;
}

.single-post .bfl-side-note {
  background: #f7f7f8;
}

.single-post .bfl-side-note ul {
  padding-left: 1em;
}

.single-post .bfl-entry-footer {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid #e5e7eb;
}

.single-post .bfl-entry-footer h2 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.bfl-entry-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bfl-entry-footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  color: #111827;
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: none;
}

.bfl-entry-footer-links a:hover {
  border-color: #111827;
}

@media (max-width: 920px) {
  .single-post .bfl-content-wrap {
    width: min(100% - 28px, 700px);
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .single-post .bfl-entry-title {
    font-size: 1.74rem;
  }

  .single-post .bfl-entry-content {
    font-size: 1rem;
    line-height: 1.9;
  }

  .single-post .bfl-sidebar {
    position: static;
  }

  .single-post .bfl-side-toc {
    display: none;
  }
}
