/* Only the BeerTengoku database is styled. Existing Penci navigation and footer are untouched. */
.btbd { --btbd-orange:#e85d04; --btbd-orange-dark:#ac4300; --btbd-ink:#20232b; --btbd-muted:#666d77; --btbd-line:#e1e3e6; color:var(--btbd-ink); background:#faf9f7; font-family:inherit; font-size:16px; line-height:1.5; }
.btbd *, .btbd *::before, .btbd *::after { box-sizing:border-box; }
.btbd-archive-main { width:100%; min-width:0; }
.btbd a { text-decoration:none; }
.btbd a:focus-visible, .btbd button:focus-visible, .btbd select:focus-visible, .btbd input:focus-visible { outline:3px solid #e88f50; outline-offset:3px; }
.btbd-hero { position:relative; overflow:hidden; min-height:300px; background:linear-gradient(125deg,#171b23 0%,#3c3430 58%,#a95a25 100%); color:#fff; }
.btbd-hero-image { position:absolute!important; inset:0; width:100%!important; height:100%!important; max-width:none!important; object-fit:cover; object-position:center 46%; }
.btbd-hero-overlay { position:absolute; inset:0; background:linear-gradient(90deg,rgba(16,21,27,.86),rgba(22,25,29,.48) 60%,rgba(26,25,22,.13)); }
.btbd-hero-inner { max-width:1240px; margin:0 auto; padding:52px 28px 92px; position:relative; z-index:1; }
.btbd .btbd-eyebrow { font-size:12px; font-weight:800; letter-spacing:.14em; color:#ffd0a6; margin:0 0 11px; }
.btbd .btbd-hero h1 { color:#fff; font-size:clamp(30px,4.2vw,54px); font-weight:750; line-height:1.13; letter-spacing:-.025em; margin:0 0 14px; text-transform:none; }
.btbd .btbd-hero-inner > p:not(.btbd-eyebrow) { color:#fff; font-size:clamp(17px,2vw,22px); margin:0 0 20px; }
.btbd-accent { display:block; width:88px; height:5px; background:#ff791f; border-radius:2px; }
.btbd-shell { max-width:1240px; padding:0 28px 60px; margin:0 auto; position:relative; }
.btbd-search-panel { position:relative; z-index:2; margin:-60px 0 26px; padding:22px; border:1px solid var(--btbd-line); border-radius:12px; background:#fff; box-shadow:0 8px 24px rgba(23,24,28,.10); }
.btbd-search-row { display:flex; gap:12px; align-items:stretch; margin-bottom:20px; }
.btbd-search-input { flex:1; min-width:0; display:flex; }
.btbd-search-input input { width:100%; min-width:0; height:50px; margin:0; border:1px solid #b9c0c8; background:#fff; border-radius:6px; color:var(--btbd-ink); padding:10px 15px; font:inherit; box-shadow:none; }
.btbd-button { display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:11px 28px; border:0; border-radius:6px; font:inherit; font-weight:750; background:var(--btbd-orange); color:#fff!important; cursor:pointer; line-height:1.2; white-space:nowrap; }
.btbd-button:hover { background:var(--btbd-orange-dark); }
.btbd-filter-grid { display:grid; grid-template-columns:1.2fr 1.2fr 1fr 1fr .95fr 1fr; gap:12px; }
.btbd-filters summary { display:none; }
.btbd-field { display:flex; min-width:0; flex-direction:column; gap:5px; }
.btbd-field > span { color:var(--btbd-muted); font-size:12px; line-height:1.2; font-weight:700; }
.btbd select { width:100%; height:43px; margin:0; min-width:0; color:var(--btbd-ink); padding:8px 9px; border:1px solid #c8ccd1; border-radius:6px; background:#fff; font:inherit; font-size:14px; appearance:auto; text-overflow:ellipsis; box-shadow:none; }
.btbd-sort-row { display:flex; justify-content:space-between; align-items:flex-end; margin-top:15px; gap:16px; }
.btbd-sort-row > a { color:#315b94; text-decoration:underline; font-size:14px; }
.btbd-sort-row .btbd-field { width:180px; }
.btbd-sort-row .btbd-field { margin-left:auto; }
.btbd-apply { font-size:14px; min-height:43px; padding:8px 16px; }
.btbd-results-heading { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin:0 0 22px; }
.btbd-results-heading > strong { font-size:16px; font-weight:750; }
.btbd-chips { display:flex; flex-wrap:wrap; gap:7px; }
.btbd .btbd-chip { display:inline-flex; padding:5px 11px; font-size:13px; line-height:1.3; border-radius:99px; border:1px solid #f5d6bc; background:#fff0e3; color:#9e3d00; font-weight:650; }
.btbd-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.btbd-card { display:flex; flex-direction:column; min-width:0; overflow:hidden; background:#fff; border:1px solid var(--btbd-line); border-radius:10px; box-shadow:0 2px 6px rgba(20,20,20,.03); transition:box-shadow .16s ease, border-color .16s ease; }
.btbd-card:hover { box-shadow:0 7px 22px rgba(22,24,28,.10); border-color:#d2c1b3; }
.btbd-card-image { display:block; width:100%; aspect-ratio:1.65; background:#ede7df; overflow:hidden; }
.btbd-card-image img { display:block; width:100%!important; height:100%!important; object-fit:cover; margin:0!important; }
.btbd-placeholder { width:100%; height:100%; display:flex; align-items:center; justify-content:center; color:#7b6a58; font-size:22px; font-weight:800; background:linear-gradient(135deg,#ece3d3,#f4eee8); }
.btbd-card-body { display:flex; flex-direction:column; align-items:flex-start; flex:1; padding:17px 18px 19px; }
.btbd .btbd-card h2 { font-size:21px; line-height:1.25; margin:0 0 7px; font-weight:750; letter-spacing:-.018em; color:var(--btbd-ink); text-transform:none; overflow-wrap:anywhere; }
.btbd-card h2 a { color:inherit; }
.btbd-card h2 a:hover { color:var(--btbd-orange-dark); }
.btbd .btbd-brewery { color:#335e99; font-weight:650; margin:0 0 4px; font-size:15px; }
.btbd .btbd-style { font-size:15px; color:var(--btbd-ink); margin:0 0 5px; }
.btbd .btbd-meta { min-height:16px; font-size:13px; line-height:1.5; color:var(--btbd-muted); margin:0 0 13px; }
.btbd .btbd-read { display:inline-block; color:var(--btbd-orange-dark); font-weight:750; font-size:15px; margin-top:auto; }
.btbd-read:hover, .btbd-brewery:hover { text-decoration:underline; }
.btbd-pagination { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:14px; margin:34px 0 0; font-size:14px; }
.btbd-pagination a { display:inline-block; background:#fff; padding:10px 16px; border:1px solid var(--btbd-line); border-radius:6px; color:var(--btbd-orange-dark); font-weight:750; }
.btbd-pagination span { color:var(--btbd-muted); }
.btbd-empty { background:#fff; border:1px solid var(--btbd-line); text-align:center; padding:45px 20px; border-radius:10px; }
.btbd .btbd-empty h2 { font-size:24px; margin:0 0 8px; }
.btbd-empty p { color:var(--btbd-muted); }
.btbd-visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media (max-width:1024px) { .btbd-filter-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } .btbd-cards { gap:17px; } .btbd .btbd-card h2 { font-size:19px; } }
@media (max-width:800px) { .btbd-cards { grid-template-columns:repeat(2,minmax(0,1fr)); } .btbd-hero { min-height:260px; } .btbd-hero-inner { padding:40px 22px 80px; } .btbd-shell { padding:0 22px 40px; } .btbd-search-panel { padding:17px; } }
@media (max-width:560px) { .btbd-hero { min-height:235px; } .btbd-hero-inner { padding:32px 17px 76px; } .btbd-shell { padding:0 14px 30px; } .btbd-search-panel { margin-top:-49px; padding:14px; } .btbd-search-row { gap:8px; margin-bottom:16px; } .btbd-search-input input { font-size:16px; padding:10px; height:46px; } .btbd-button { min-height:46px; padding:10px 16px; font-size:14px; } .btbd-filter-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; } .btbd select { font-size:14px; } .btbd-cards { grid-template-columns:1fr; gap:18px; } .btbd-card-image { aspect-ratio:1.75; } .btbd-card-body { padding:15px 16px 18px; } .btbd .btbd-card h2 { font-size:21px; } .btbd-results-heading { margin-bottom:14px; } .btbd-sort-row .btbd-field { width:140px; } }
@media (prefers-reduced-motion:reduce) { .btbd-card { transition:none; } }
@media (max-width:560px) { .btbd-filters summary { display:list-item; cursor:pointer; font-weight:700; padding:8px 0; color:var(--btbd-orange-dark); } .btbd-filters[open] summary { margin-bottom:10px; } .btbd-sort-row { flex-wrap:wrap; gap:10px; } .btbd-sort-row .btbd-field { flex:1; width:auto; min-width:120px; margin-left:0; } .btbd-sort-row > a { flex-basis:100%; } .btbd-apply { min-height:43px; } .btbd-search-row { margin-bottom:4px; } }
