/* ===== Blog page: feeling finder + search (v1.3.0) ===== */
.bf-hero { background: var(--bg-section); padding: 80px 24px 70px; }
.bf-hero .container { align-items: center; text-align: center; gap: 0; }
.bf-hero h1 { margin: .1em 0 .3em; }
.bf-hero .lead { margin: 0 auto; }
.bf-search { position: relative; width: 100%; max-width: 620px; margin: 30px auto 0; }
.bf-search label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.bf-search input { width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--bg); border: 1px solid var(--bg-frame); border-radius: 999px; padding: 16px 120px 16px 54px; outline: none; transition: border-color .25s, box-shadow .25s; -webkit-appearance: none; appearance: none; }
.bf-search input::placeholder { color: var(--text-soft); opacity: .85; }
.bf-search input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(140, 154, 171, .18); }
.bf-search input::-webkit-search-cancel-button { display: none; }
.bf-search svg { position: absolute; left: 20px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); fill: none; stroke: var(--text-soft); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.bf-search button { position: absolute; right: 6px; top: 6px; bottom: 6px; border: 0; border-radius: 999px; padding: 0 22px; background: var(--text); color: var(--bg); font: 600 .92rem var(--sans); cursor: pointer; transition: background .25s; }
.bf-search button:hover { background: var(--button-hover); }
.bf-or { margin: 34px 0 16px; font-size: .95rem; color: var(--text-soft); }
.bf-feels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; width: 100%; max-width: 980px; margin: 0 auto; }
.bf-feel { background: var(--bg); border: 1px solid var(--bg-frame); border-radius: 20px; padding: 24px 16px; display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; font: inherit; color: var(--text); transition: transform .25s, background .25s, border-color .25s, box-shadow .25s; }
.bf-feel:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(27, 36, 51, .08); }
.bf-feel:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.bf-feel b { font-weight: 600; font-size: 1.05rem; line-height: 1.3; }
.bf-feel small { color: var(--text-soft); font-size: .85rem; }
.bf-fi { width: 52px; height: 52px; border-radius: 50%; background: var(--accent-light); display: flex; align-items: center; justify-content: center; margin-bottom: 6px; transition: background .25s; }
.bf-fi svg { width: 26px; height: 26px; fill: none; stroke: var(--accent-dark); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.bf-feel[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.bf-feel[aria-pressed="true"] small { color: var(--accent-light); }
.bf-feel[aria-pressed="true"] .bf-fi { background: var(--accent); }
.bf-feel[aria-pressed="true"] .bf-fi svg { stroke: #fff; }

.bf-main { padding: 70px 24px 90px; }
.bf-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; transition: opacity .3s; }
.bf-pick.is-swapping { opacity: 0; }
.bf-pick-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.3; display: block; }
.bf-pick-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s; }
.bf-pick-img:hover img { transform: scale(1.04); }
.bf-pick-body { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.bf-pick-body h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.bf-pick-body h2 a { color: inherit; text-decoration: none; }
.bf-pick-body p { margin: 0; }
.bf-script { font-family: "Caveat", cursive; font-size: 1.75rem; color: var(--accent-dark); line-height: 1.1; }
.bf-meta { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-dark); }
.bf-try { background: var(--accent-light); border-radius: 16px; padding: 14px 18px; font-size: .98rem; color: var(--text); line-height: 1.6; }
.bf-try b { font-weight: 600; }
.bf-pick-body .btn { margin-top: 6px; }

.bf-all { margin-top: 80px; scroll-margin-top: 110px; }
.bf-all-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.bf-all-head h2 { margin: 0; font-size: 1.6rem; }
.bf-count { font-size: .92rem; color: var(--text-soft); }
.bf-clear { background: none; border: 0; padding: 0; margin-left: 10px; font: 600 .92rem var(--sans); color: var(--accent-dark); text-decoration: underline; cursor: pointer; }
.bf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.bf-card { text-decoration: none; display: flex; flex-direction: column; gap: 12px; }
.bf-card[hidden] { display: none; }
.bf-card-img { border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; }
.bf-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s; }
.bf-card:hover .bf-card-img img { transform: scale(1.05); }
.bf-card h3 { margin: 2px 0 0; font-size: 1.18rem; line-height: 1.3; }
.bf-card p { margin: 0; font-size: .95rem; color: var(--text-soft); line-height: 1.55; }
.bf-card:hover h3 { color: var(--accent-dark); }
.bf-empty { background: var(--bg-section); border-radius: var(--radius); padding: 34px; text-align: center; }
.bf-empty[hidden] { display: none; }
.bf-empty h3 { margin: 0 0 6px; font-size: 1.4rem; }
.bf-empty p { margin: 0 auto 18px; max-width: 32em; }
.bf-empty .bf-sugg { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 18px; }
.bf-empty .bf-sugg button { border: 1px solid var(--bg-frame); background: var(--bg); color: var(--text); border-radius: 999px; padding: 6px 14px; font: 500 .9rem var(--sans); cursor: pointer; }
.bf-empty .bf-sugg button:hover { background: var(--text); color: var(--bg); }

@media (max-width: 960px) {
  .bf-feels { grid-template-columns: repeat(2, 1fr); max-width: 560px; }
  .bf-pick { grid-template-columns: 1fr; gap: 26px; }
  .bf-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .bf-hero { padding: 50px 16px 50px; }
  .bf-main { padding: 46px 16px 70px; }
  .bf-search input { padding: 14px 18px 14px 48px; font-size: 16px; }
  .bf-search svg { left: 18px; }
  .bf-search button { display: none; }
  .bf-feels { gap: 12px; }
  .bf-feel { padding: 18px 10px; }
  .bf-feel b { font-size: .98rem; }
  .bf-all { margin-top: 60px; }
  .bf-grid { gap: 22px 14px; }
  .bf-card h3 { font-size: 1.02rem; }
  .bf-card p { display: none; }
}
