/* Lista lokali w województwie (/restauracje-w-{slug}) – styl jak sekcja "Polecamy" (home.css .bjb-*).
   Motyw strony wymusza kolory h1/h2/a/span przez !important, stąd mocniejsze selektory (.bjr-section …). */
.bjr-section { padding: 110px 0 50px; background: #0b0b0b; min-height: 60vh; }
.bjr-section .bjr-head { margin: 0 0 26px; text-align: center; }
.bjr-section .bjr-title {
    margin: 0 !important; color: #fff !important; font-family: 'Montserrat', sans-serif; font-weight: 900 !important;
    font-size: 38px !important; line-height: 1.05 !important; text-transform: uppercase; letter-spacing: -.5px;
}
.bjr-section .bjr-title .bjr-woj {
    display: block; margin-top: 6px; color: #e8b923 !important; font-size: 20px; font-weight: 800;
    letter-spacing: .2px; text-transform: none;
}
.bjr-stroke { display: block; width: 150px; height: 6px; margin: 12px auto 16px; border-radius: 6px;
    background: linear-gradient(90deg, #e31e24, rgba(227,30,36,.55)); transform: rotate(-3deg); }
.bjr-section .bjr-lead { margin: 0 !important; color: #d6d6d6 !important; font-size: 16px; line-height: 1.45; }

.bjr-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 22px; }
.bjr-section .bjr-chip {
    padding: 8px 16px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.35); background: transparent;
    color: #fff !important; font-size: 13px; font-weight: 700; cursor: pointer; transition: background .2s ease, border-color .2s ease;
}
.bjr-section .bjr-chip:hover { border-color: #fff; }
.bjr-section .bjr-chip.is-active { background: #e31e24; border-color: #e31e24; }

.bjr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.bjr-card {
    position: relative; display: flex; flex-direction: column; min-width: 0;
    background: #161616; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; overflow: hidden; color: #fff;
    transition: transform .25s cubic-bezier(.34,1.56,.64,1), border-color .2s ease, box-shadow .25s ease;
}
.bjr-card[hidden] { display: none; }
.bjr-card:hover, .bjr-card:focus-within { transform: translateY(-4px); border-color: rgba(227,30,36,.6); box-shadow: 0 14px 30px rgba(0,0,0,.55); }
.bjr-card:active { transform: scale(.98); }
.bjr-card-top {
    padding: 18px 18px 16px; overflow: hidden; /* bez position – inaczej .bjr-link::after obejmie tylko nagłówek, nie całą kartę */
    background: radial-gradient(120% 140% at 100% 0%, rgba(227,30,36,.38) 0%, rgba(227,30,36,0) 60%), #1d1d1d;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.bjr-section .bjr-name { margin: 0 !important; font-family: 'Montserrat', sans-serif; font-size: 21px !important; font-weight: 900 !important; line-height: 1.15 !important; }
.bjr-section .bjr-name a.bjr-link, .bjr-section .bjr-name a.bjr-link:visited { color: #fff !important; text-decoration: none !important; }
/* cała karta klikalna (link rozciągnięty na kartę), telefony nad nim */
.bjr-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.bjr-section .bjr-link:focus-visible { outline: none; }
.bjr-card:has(.bjr-link:focus-visible) { outline: 3px solid #e8b923; outline-offset: 2px; }

.bjr-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 16px 18px 18px; }
.bjr-section .bjr-addr { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 14px !important; color: #d6d6d6 !important; font-size: 14px; line-height: 1.4; }
.bjr-addr svg { flex: 0 0 auto; margin-top: 1px; color: #e8b923; }
.bjr-addr span { color: #d6d6d6 !important; }
.bjr-phones { position: relative; z-index: 2; margin-bottom: 16px; }
.bjr-tel-list { display: flex; flex-wrap: wrap; gap: 6px; }
.bjr-section .bjr-tel-list[hidden], .bjr-section .bjr-tel-btn[hidden] { display: none; }
.bjr-section .bjr-tel-btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 8px;
    background: rgba(255,255,255,.06); border: 1.5px solid rgba(232,185,35,.55); color: #fff !important;
    font-size: 14px; font-weight: 800; cursor: pointer; transition: background .2s ease, border-color .2s ease;
}
.bjr-section .bjr-tel-btn:hover { background: rgba(232,185,35,.14); border-color: #e8b923; }
.bjr-tel-btn svg { color: #e8b923; }
.bjr-section .bjr-phones-label { flex-basis: 100%; color: #8f8f8f !important; font-size: 11px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; }
.bjr-section .bjr-phones a.bjr-tel, .bjr-section .bjr-phones a.bjr-tel:visited {
    position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #fff !important;
    font-size: 14px; font-weight: 700; text-decoration: none !important; white-space: nowrap; transition: background .2s ease, border-color .2s ease;
}
.bjr-section .bjr-phones a.bjr-tel:hover { background: rgba(232,185,35,.14); border-color: #e8b923; }
.bjr-tel svg { color: #e8b923; }
.bjr-section .bjr-cta {
    margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 10px;
    background: #e31e24; color: #fff !important; font-size: 13px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase;
    transition: background .2s ease;
}
.bjr-cta svg { transition: transform .2s ease; }
.bjr-card:hover .bjr-cta { background: #ff2d33; }
.bjr-card:hover .bjr-cta svg { transform: translateX(3px); }
.bjr-section .bjr-empty { grid-column: 1 / -1; text-align: center; padding: 24px 16px 40px; color: #d6d6d6 !important; font-size: 17px; }
.bjr-section .bjr-empty p { margin: 0 0 8px; color: #d6d6d6 !important; }
.bjr-section .bjr-empty p.bjr-empty-q { color: #e8b923 !important; font-weight: 700; font-size: 20px; margin-bottom: 20px; }
.bjr-section .bjr-empty a.bjr-empty-btn { display: inline-block; padding: 12px 28px; border-radius: 999px; background: #e8b923; color: #0b0b0b !important; font-weight: 700; text-decoration: none; transition: background .2s, transform .2s; }
.bjr-section .bjr-empty a.bjr-empty-btn:hover { background: #ffd34d; transform: translateY(-2px); }

@media (max-width: 991px) {
    .bjr-section { padding-top: 28px; }
    .bjr-section > .container { padding-left: 16px !important; padding-right: 16px !important; }
    .bjr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .bjr-section .bjr-title { font-size: 32px !important; }
}
@media (max-width: 600px) {
    .bjr-section { padding-bottom: 30px; }
    .bjr-grid { grid-template-columns: 1fr; gap: 12px; }
    .bjr-section .bjr-title { font-size: 28px !important; }
    .bjr-section .bjr-title .bjr-woj { font-size: 17px; }
    .bjr-section .bjr-lead { font-size: 14px; }
    .bjr-filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 -16px 18px; padding: 0 16px 4px; scrollbar-width: none; }
    .bjr-filters::-webkit-scrollbar { display: none; }
    .bjr-section .bjr-chip { flex: 0 0 auto; }
    .bjr-section .bjr-cta { align-self: stretch; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .bjr-card, .bjr-cta svg { transition: none; } }
