.b2f-index {
  --ink: #f4efe4;
  --muted: #b7ad9a;
  --gold: #d4b56a;
  --gold-2: #f0d48a;
  --stage: #0c0b0a;
  --card: #161412;
  --line: rgba(212, 181, 106, 0.28);
  color: var(--ink);
  background: var(--stage);
  padding: 48px 20px 72px;
  font-family: Georgia, "Times New Roman", serif;
}

.b2f-index * { box-sizing: border-box; }

.b2f-head {
  max-width: 920px;
  margin: 0 auto 36px;
  text-align: center;
}

.b2f-eyebrow {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-family: system-ui, sans-serif;
  font-size: 0.72rem;
  color: var(--gold);
  margin: 0 0 10px;
}

.b2f-head h1 {
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  margin: 0 0 12px;
}

.b2f-sub {
  color: var(--muted);
  font-size: 1.15rem;
  margin: 0 0 28px;
}

.b2f-search {
  display: flex;
  gap: 8px;
  max-width: 520px;
  margin: 0 auto 14px;
}

.b2f-search input {
  flex: 1;
  background: #1c1916;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 14px 16px;
  font-size: 1rem;
  border-radius: 2px;
  font-family: system-ui, sans-serif;
}

.b2f-search input:focus {
  outline: none;
  border-color: var(--gold);
}

.b2f-search button,
.b2f-more {
  background: var(--gold);
  color: #16120a;
  border: 0;
  padding: 14px 20px;
  font-family: system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  cursor: pointer;
  border-radius: 2px;
}

.b2f-search button:hover,
.b2f-more:hover {
  background: var(--gold-2);
}

.b2f-count {
  font-family: system-ui, sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}

.b2f-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
}

.b2f-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.b2f-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}

.b2f-thumb {
  height: 180px;
  background: #241f1a center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.b2f-fallback {
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.7;
}

.b2f-meta {
  padding: 16px 16px 18px;
}

.b2f-meta h2 {
  font-size: 1.25rem;
  margin: 0 0 8px;
  font-weight: 500;
  line-height: 1.25;
}

.b2f-meta p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

.b2f-date {
  font-family: system-ui, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.b2f-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 40px 10px;
}

.b2f-more-wrap {
  text-align: center;
  margin-top: 32px;
}

.b2f-more[disabled] {
  opacity: 0.45;
  cursor: default;
}

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

@media (max-width: 600px) {
  .b2f-search { flex-direction: column; }
  .b2f-thumb { height: 200px; }
}
