/**
 * ============================================================
 * kapele-wesele.pl — Full Redesign (Mobile-First)
 * ============================================================
 * Semantic HTML5, CSS Grid/Flexbox, modern UI
 * Depends on: design-tokens.css
 * ============================================================
 */

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-primary, 'Ubuntu', system-ui, -apple-system, sans-serif);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-primary, #333);
  background-color: var(--color-surface-page, #f5f6f8);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-primary, #1c95e5);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-primary-hover, #1a5276);
}

/* Skip nav link */
.skip-nav {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--color-primary, #1c95e5);
  color: #fff;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.skip-nav:focus {
  left: 0;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   SITE WRAPPER
   ============================================================ */
.site-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 0 !important;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: #fff;
  border-bottom: 3px solid var(--color-primary, #1c95e5);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(23,43,66,0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  max-width: 1100px;
  margin: 0 auto;
  gap: 0.75rem;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.2s cubic-bezier(0.32,0.72,0,1);
}

.site-logo:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: scale(0.98);
}

.site-logo:focus-visible {
  outline: 2px solid var(--color-primary, #1c95e5);
  outline-offset: 3px;
  border-radius: 8px;
}

.site-logo__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(135deg, #1c95e5 0%, #0284c7 100%);
  color: #ffffff;
  border: 1px solid rgba(2, 132, 199, 0.4);
  box-shadow: 0 3px 8px rgba(28, 149, 229, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.32,0.72,0,1);
}

.site-logo__icon::after {
  content: '';
  position: absolute;
  top: 5px;
  right: 6px;
  width: 9px;
  height: 9px;
  background: linear-gradient(135deg, #fde68a 0%, #f59e0b 100%);
  clip-path: polygon(50% 0%, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0% 50%, 38% 38%);
  filter: drop-shadow(0 0 3px rgba(245, 158, 11, 0.8));
}

.site-logo:hover .site-logo__icon::after {
  animation: logo-sparkle 0.6s cubic-bezier(0.32,0.72,0,1);
}

@keyframes logo-sparkle {
  50% {
    transform: scale(1.45) rotate(25deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-logo:hover .site-logo__icon::after {
    animation: none;
  }
}

.site-logo:hover .site-logo__icon {
  box-shadow: 0 5px 14px rgba(28, 149, 229, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: scale(1.05) rotate(-4deg);
}

.site-logo__text {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.025em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.site-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  white-space: nowrap;
}

@media (max-width: 380px) {
  .site-logo__text {
    font-size: 1.1rem;
  }
  .site-logo__icon {
    width: 30px;
    height: 30px;
  }
  .site-logo {
    gap: 0.5rem;
  }
}

.site-logo__sep {
  color: #64748b;
  font-weight: 400;
  margin: 0 1px;
}

.site-logo__text strong {
  font-weight: 800;
  color: #1478bd;
  letter-spacing: -0.02em;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .site-logo__text strong {
    background: linear-gradient(115deg, #1c95e5 15%, #0284c7 85%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}

.site-logo__tld {
  align-self: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.62em;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #1c95e5 0%, #0284c7 100%);
  padding: 0.28em 0.55em 0.32em;
  border-radius: 999px;
  margin-left: 6px;
  box-shadow: 0 2px 6px rgba(28, 149, 229, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* User bar */
.user-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.user-bar__greeting {
  color: var(--color-text-secondary, #666);
}

.user-bar__stat {
  color: var(--color-text-secondary, #666);
}

.site-header__right {
  display: none;
}

/* Hamburger toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: none;
  border: 1px solid var(--color-border-light, #ddd);
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text-primary, #333);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   MAIN NAVIGATION
   ============================================================ */
.main-nav {
  background: var(--color-surface-raised, #f8f9fa);
  border-bottom: 1px solid var(--color-border-light, #e8e8e8);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.32,0.72,0,1);
}

.main-nav--open {
  max-height: 400px;
}

/* FIX mobile: nav jest w flow na górze strony, a header jest sticky —
   po przewinięciu otwarte menu było poza viewportem.
   Jako fixed pod headerem jest zawsze widoczne. */
@media (max-width: 767px) {
  .main-nav--open {
    position: fixed;
    top: var(--header-h, 60px);
    left: 0;
    right: 0;
    z-index: 99;
    max-height: calc(100dvh - var(--header-h, 60px));
    max-height: calc(100vh - var(--header-h, 60px));
    overflow-y: auto;
    background: #fff;
    border-bottom: 1px solid var(--color-border-light, #e8e8e8);
    box-shadow: 0 12px 32px rgba(23,43,66,0.15);
  }
}

.main-nav__list {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
}

.main-nav__link {
  display: block;
  padding: 0.625rem 1.25rem;
  color: var(--color-text-primary, #333);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  border-left: 3px solid transparent;
}

.main-nav__link:hover,
.main-nav__link--active {
  background: #fff;
  color: var(--color-primary, #1c95e5);
  border-left-color: var(--color-primary, #1c95e5);
}

/* ============================================================
   MAIN LAYOUT (mobile = stacked)
   ============================================================ */
.site-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.sidebar {
  order: 2;
  background: #fff;
  padding: 1rem;
  min-width: 0;
}

.content-area {
  order: 1;
  background: #fff;
  padding: 1rem;
  min-width: 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  line-height: 1.4;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-primary, #1c95e5);
  color: #fff;
  border-color: var(--color-primary, #1c95e5);
}

.btn--primary:hover {
  background: var(--color-primary-hover, #1a5276);
  border-color: var(--color-primary-hover, #1a5276);
  color: #fff;
}

.btn--accent {
  background: var(--color-success, #27ae60);
  color: #fff;
  border-color: var(--color-success, #27ae60);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text-secondary, #666);
  border-color: var(--color-border-light, #ddd);
}

.btn--ghost:hover {
  background: var(--color-surface-raised, #f8f9fa);
  color: var(--color-text-primary, #333);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary, #1c95e5);
  border-color: var(--color-primary, #1c95e5);
}

.btn--outline:hover {
  background: var(--color-primary, #1c95e5);
  color: #fff;
}

.btn--sm {
  padding: 0.3125rem 0.75rem;
  font-size: 0.75rem;
}

.btn--block {
  width: 100%;
}

.btn--icon {
  padding: 0.5rem;
}

/* ============================================================
   FORM ELEMENTS
   ============================================================ */
.form-input,
.form-select {
  width: 100%;
  padding: 0.55rem 0.8rem;
  font-size: 0.875rem;
  font-family: inherit;
  line-height: 1.45;
  color: var(--color-text-primary, #1e293b);
  background: #ffffff;
  border: 1.5px solid var(--color-border-default, #cbd5e1);
  border-radius: 8px;
  transition: border-color 0.2s cubic-bezier(0.32,0.72,0,1), box-shadow 0.2s cubic-bezier(0.32,0.72,0,1), background-color 0.2s cubic-bezier(0.32,0.72,0,1);
  appearance: auto;
}

.form-input::placeholder {
  color: #94a3b8;
  font-size: 0.8125rem;
}

@media (max-width: 767px) {
  .band-hero__photo {
    margin-inline: auto;
  }
  .hero {
    padding: 1.5rem 1rem;
  }
}



.form-input:hover,
.form-select:hover {
  border-color: #94a3b8;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-primary, #1c95e5);
  box-shadow: 0 0 0 3.5px rgba(28, 149, 229, 0.15);
  background: #ffffff;
}

.form-input--xs {
  width: 3.75rem;
  min-width: 3.75rem;
  text-align: center;
  padding-left: 0.375rem;
  padding-right: 0.375rem;
  border-radius: 6px;
}

.form-input--sm {
  width: 5.5rem;
  min-width: 5.5rem;
  border-radius: 6px;
}

/* ============================================================
   SIDEBAR SECTIONS & HEADINGS
   ============================================================ */
.sidebar-section {
  margin-bottom: 1.5rem;
}

.sidebar-section__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-heading, #1e293b);
  letter-spacing: -0.015em;
  margin: 0 0 0.875rem;
  padding-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  position: relative;
  border-bottom: 1px solid #e2e8f0;
}

.sidebar-section__title::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 40px;
  height: 3px;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--color-primary, #1c95e5) 0%, #06b6d4 100%);
}

.sidebar-section__title--sm {
  font-size: 0.9375rem;
  padding-bottom: 0.5rem;
  margin-bottom: 0.75rem;
}

.sidebar-section__title--sm::after {
  width: 30px;
  height: 2px;
}

.sidebar-section__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(28, 149, 229, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
  color: var(--color-primary, #1c95e5);
  border: 1px solid rgba(28, 149, 229, 0.18);
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(28, 149, 229, 0.08);
}

.sidebar-section__title--sm .sidebar-section__icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 6px;
}

/* Sidebar Map Container Card */
.sidebar-provinces.sidebar-map {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem 0.85rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.sidebar-provinces.sidebar-map #mapa {
  margin: 0 auto;
}

/* Province list */
.province-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
}

.province-list a {
  display: block;
  padding: 0.375rem 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-text-primary, #333);
  border-radius: 4px;
  transition: background 0.15s;
}

.province-list a:hover {
  background: var(--color-surface-raised, #f0f4f8);
  color: var(--color-primary, #1c95e5);
}

/* Quick search (search bar) */
.sidebar-quicksearch {
  margin-bottom: 1.35rem;
}

.search-quick {
  position: relative;
}

.search-quick__row {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 9999px;
  padding: 3px 4px 3px 12px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  gap: 0.35rem;
}

.search-quick__row:hover {
  border-color: #94a3b8;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08);
}

.search-quick__row:focus-within {
  border-color: var(--color-primary, #1c95e5);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(28, 149, 229, 0.15), 0 4px 14px rgba(15, 23, 42, 0.09);
}

.search-quick__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  flex-shrink: 0;
  transition: color 0.2s cubic-bezier(0.32,0.72,0,1), transform 0.2s cubic-bezier(0.32,0.72,0,1);
}

.search-quick__row:focus-within .search-quick__icon {
  color: var(--color-primary, #1c95e5);
  transform: scale(1.08);
}

.search-quick__input,
.search-quick__row .form-input {
  flex: 1;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0.45rem 0.25rem !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: #1e293b !important;
  min-width: 0;
}

.search-quick__input::placeholder,
.search-quick__row .form-input::placeholder {
  color: #94a3b8;
  font-size: 0.8125rem;
  font-weight: 400;
}

.search-quick__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #1c95e5 0%, #0284c7 100%);
  color: #ffffff;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(28, 149, 229, 0.35);
}

.search-quick__btn:hover {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(28, 149, 229, 0.45);
}

.search-quick__btn:active {
  transform: scale(0.95);
}

/* ============================================================
   AUTOCOMPLETE DROPDOWN (#q & #city)
   ============================================================ */
.ac_results {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.16), 0 4px 10px -2px rgba(15, 23, 42, 0.08) !important;
  z-index: 99999 !important;
  overflow: hidden !important;
  padding: 6px 0 !important;
  margin-top: 4px !important;
}

.ac_results ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

.ac_results li {
  padding: 9px 14px !important;
  font-size: 0.875rem !important;
  color: #1e293b !important;
  cursor: pointer !important;
  line-height: 1.4 !important;
  transition: background-color 0.2s cubic-bezier(0.32,0.72,0,1), color 0.2s cubic-bezier(0.32,0.72,0,1) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

.ac_results li:last-child {
  border-bottom: none !important;
}

.ac_results li strong {
  color: #0284c7 !important;
  font-weight: 700 !important;
}

.ac_results li.ac_over {
  background-color: #f0f7ff !important;
  color: #0284c7 !important;
}

.ac_loading {
  background-image: url('../img/loading.gif');
  background-repeat: no-repeat;
  background-position: right 10px center;
}

/* Advanced search card */
.sidebar-search {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.125rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
  margin-bottom: 1.5rem;
}

.sidebar-search .sidebar-section__title {
  margin-top: 0;
}

.search-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.search-form__fieldset {
  border: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.search-form__radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  color: #334155;
  transition: color 0.2s cubic-bezier(0.32,0.72,0,1);
}

.radio-label:hover {
  color: var(--color-primary, #1c95e5);
}

.radio-label input[type="radio"] {
  accent-color: var(--color-primary, #1c95e5);
  margin: 0;
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.search-form__select-wrap {
  padding-left: 1.35rem;
}

.search-form__inline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding-left: 1.35rem;
  margin-top: 0.25rem;
}

.search-form__sep {
  color: #94a3b8;
  font-weight: 400;
}

.search-form__hint {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
}

.search-form__input-wrap {
  padding-left: 1.35rem;
}

.search-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.search-price-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.search-price-input {
  flex: 1;
  min-width: 0;
  text-align: center;
  padding: 0.45rem 0.5rem;
  font-size: 0.875rem;
}

.search-price-sep {
  color: #94a3b8;
  font-weight: 700;
  font-size: 0.875rem;
}

.search-date-wrap,
.search-vocal-wrap {
  width: 100%;
}


.search-form__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.sidebar-search .btn--block {
  background: linear-gradient(135deg, #1c95e5 0%, #0284c7 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(28, 149, 229, 0.28);
  margin-top: 0.35rem;
}

.sidebar-search .btn--block:hover {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  box-shadow: 0 4px 12px rgba(28, 149, 229, 0.4);
  transform: translateY(-1px);
}

/* Popular searches */
.sidebar-popular__list {
  font-size: 0.8125rem;
  line-height: 1.8;
}

.sidebar-popular__list a {
  color: var(--color-text-primary, #333);
}

.sidebar-popular__list a:hover {
  color: var(--color-primary, #1c95e5);
}

/* Sidebar info */
.sidebar-info {
  font-size: 0.8125rem;
  color: var(--color-text-secondary, #666);
  line-height: 1.6;
  background: var(--color-surface-raised, #f8f9fa);
  padding: 0.75rem;
  border-radius: 6px;
}

/* Article list */
.article-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.article-list li {
  border-bottom: 1px solid var(--color-border-light, #eee);
}

.article-list a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.8125rem;
  color: var(--color-text-primary, #333);
  transition: color 0.2s cubic-bezier(0.32,0.72,0,1), padding-left 0.2s cubic-bezier(0.32,0.72,0,1);
}

.article-list__title {
  font-weight: 500;
}

.article-list__date {
  margin-left: 0.5rem;
  font-size: 0.75rem;
  color: var(--color-text-secondary, #64748b);
  white-space: nowrap;
}

.article-list a:hover {
  color: var(--color-primary, #1c95e5);
  padding-left: 0.25rem;
}

.article-list li:last-child {
  border-bottom: none;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: #186d9e;
  color: #fff;
  padding: 2rem 1.25rem;
  text-align: center;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.07;
}

.hero::after {
  content: '';
  position: absolute;
  z-index: 0;
  pointer-events: none;
  right: -48px;
  bottom: -64px;
  width: 230px;
  height: 230px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V5l12-2v13'/%3E%3Ccircle cx='6' cy='18' r='3' fill='white' stroke='none'/%3E%3Ccircle cx='18' cy='16' r='3' fill='white' stroke='none'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0.1;
  transform: rotate(-12deg);
}

.hero__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  line-height: 1.22;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.hero__text {
  font-size: 0.9375rem;
  margin: 0;
  opacity: 0.9;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero — eyebrow, stats, actions (wireframe alignment) */
.hero__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.25rem 0 1.25rem;
  padding: 0;
}

.hero__stat {
  flex: 1 1 0;
  min-width: 0;
  max-width: 180px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 0.75rem 0.5rem;
  margin: 0;
}

.hero__stat-num {
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.1;
  font-family: var(--font-display, Georgia, serif);
}

.hero__stat-label {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  opacity: 0.85;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
}

.btn--ghost-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* Quick-start paths */
.quickstart {
  background: #fff;
  border: 1px solid var(--color-border-light, #e8e8e8);
  border-left: 4px solid var(--color-secondary, #e67e22);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.quickstart__title {
  margin: 0 0 0.625rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-heading, #2c3e50);
}

.quickstart__list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--color-text-secondary, #555);
}

/* Feature highlights grid */
.feature-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 600px) {
  .feature-highlights { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .feature-highlights { grid-template-columns: repeat(4, 1fr); }
}

.feature-highlight {
  background: #fff;
  border: 1px solid var(--color-border-light, #e8e8e8);
  border-radius: 8px;
  padding: 1rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-highlight:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.feature-highlight__title {
  margin: 0 0 0.375rem;
  font-size: 0.9375rem;
  font-weight: 700;
  /* A11Y: przyciemniony primary (#0e6ea3, kontrast 5.56:1 na bieli) zamiast #1c95e5 (3.24:1). */
  color: #0e6ea3;
}

.feature-highlight__text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--color-text-secondary, #555);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  margin-bottom: 1.5rem;
}

.section__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text-heading, #2c3e50);
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-primary, #1c95e5);
  text-wrap: balance;
}

.section__cta {
  text-align: center;
  padding: 1rem 0;
}

.section__links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  padding-top: 0.75rem;
  font-size: 0.875rem;
}

.section__links a {
  font-weight: 500;
}

.section__links--guides {
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.375rem 1rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--color-border-light, #e5e7eb);
  text-align: left;
}

.section__links-label {
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--color-text-heading, #2c3e50);
}

.section__links.section__links--guides a {
  font-size: 0.8125rem;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0.125rem 0;
  transform: none;
  box-shadow: none;
}

.section__links.section__links--guides a::before,
.section__links.section__links--guides a:nth-child(n)::before {
  content: none;
}

.section__links.section__links--guides a:hover {
  background: transparent;
  color: var(--color-primary, #1c95e5);
  text-decoration: underline;
}

/* ============================================================
   BAND CARD GRID
   ============================================================ */
.band-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.band-card {
  display: flex;
  background: #fff;
  border: 1px solid var(--color-border-light, #e8e8e8);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.band-card:hover {
  box-shadow: 0 4px 20px rgba(23,43,66,0.08);
  transform: translateY(-1px);
}

.band-card__img-link {
  flex-shrink: 0;
  width: 100px;
  display: block;
}

.band-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.band-card__body {
  flex: 1;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.375rem;
  min-width: 0;
}

.band-card__name {
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

.band-card__name a {
  color: var(--color-text-heading, #2c3e50);
}

.band-card__name a:hover {
  color: var(--color-primary, #1c95e5);
}

.band-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.8125rem;
}

.band-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.band-card__badge--demo {
  background: #e8f8e8;
  color: #166534;
}

.band-card__price {
  font-weight: 600;
  color: var(--color-text-primary, #333);
}

.band-card__price em {
  font-weight: 400;
  color: var(--color-text-secondary, #999);
}

/* ============================================================
   NEWS CARDS
   ============================================================ */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.news-card {
  background: var(--color-surface-raised, #f8f9fa);
  border-radius: 8px;
  padding: 1rem;
  border-left: 3px solid var(--color-primary, #1c95e5);
}

.news-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.375rem 0.75rem;
  margin-bottom: 0.5rem;
}

.news-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  color: var(--color-text-heading, #2c3e50);
}

.news-card__title a {
  color: inherit;
}

.news-card__title a:hover {
  color: var(--color-primary, #1c95e5);
}

.news-card__cat {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-primary, #1c95e5);
  background: rgba(28, 149, 229, 0.08);
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
}

.news-card__date {
  font-size: 0.75rem;
  color: var(--color-text-secondary, #999);
}

.news-card__body {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text-primary, #333);
}

.news-card__more {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 600;
  font-size: 0.8125rem;
}

/* ============================================================
   CITY TAGS (Most Searched)
   ============================================================ */
.city-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.city-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem 0.75rem;
  background: var(--color-surface-raised, #f0f4f8);
  border-radius: 999px;
  font-size: 0.8125rem;
  color: var(--color-text-primary, #333);
  transition: background 0.2s, color 0.2s;
}

.city-tag:hover {
  background: var(--color-primary, #1c95e5);
  color: #fff;
}

.city-tag__count {
  font-size: 0.6875rem;
  font-weight: 600;
  opacity: 0.9;
  color: #334155;
}

.city-tag:hover .city-tag__count {
  opacity: 1;
  color: rgba(255,255,255,0.8);
}

/* Near cities chips (podstrony miast) */
.near-city-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.near-city-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font-size: 0.8125rem;
  color: #334155;
  text-decoration: none;
  transition: all 0.18s cubic-bezier(0.32,0.72,0,1);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.near-city-chip:hover {
  background: #eff6ff;
  border-color: #3b82f6;
  color: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(59, 130, 246, 0.12);
}

.near-city-chip__name {
  font-weight: 600;
}

.near-city-chip__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  background: #e2e8f0;
  color: #334155;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.near-city-chip:hover .near-city-chip__count {
  background: #bfdbfe;
  color: #1e40af;
}

.near-city-chip__sep {
  color: #cbd5e1;
  font-size: 0.75rem;
}

.near-city-chip__dist {
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 500;
}

.near-city-chip:hover .near-city-chip__dist {
  color: #2563eb;
}


/* ============================================================
   EVENT LIST (Upcoming Events)
   ============================================================ */
.event-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.event-list__item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border-light, #eee);
  font-size: 0.875rem;
}

.event-list__item:last-child {
  border-bottom: none;
}

.event-list__date {
  font-weight: 600;
  color: var(--color-text-heading, #2c3e50);
  flex-shrink: 0;
}

.event-list__detail {
  color: var(--color-text-secondary, #666);
  font-size: 0.8125rem;
}

/* ============================================================
   FEATURED BANDS (readfile content)
   ============================================================ */
.featured-bands {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, #34495e 0%, var(--color-text-heading, #2c3e50) 28%);
  color: rgba(255,255,255,0.8);
  margin-top: auto;
}

.site-footer::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #f59e0b 0%, #e74c3c 50%, #1c95e5 100%);
}

.site-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1rem 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}

.site-footer .site-logo__icon {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
}

.site-footer .site-logo__text {
  color: rgba(255,255,255,0.95);
  font-size: 1.3rem;
}

.site-footer .site-logo__text strong {
  color: rgba(255,255,255,1);
}

.site-footer__tagline {
  margin: 0.75rem auto 0;
  max-width: 320px;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.6);
}

.site-footer__tagline strong {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}

.site-footer__heading {
  margin: 0 0 0.8rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
}

.site-footer__copy {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}

.site-footer__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  justify-items: center;
}

.site-footer__nav a {
  color: rgba(255,255,255,0.72);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
}

.site-footer__nav a::before {
  content: "›";
  color: #f59e0b;
  margin-right: 0.4rem;
}

.site-footer__nav a:hover {
  color: #fff;
  padding-left: 0.25rem;
}

.site-footer__seo {
  font-size: 0.75rem;
  opacity: 0.5;
  max-width: 480px;
}

.site-footer__seo p {
  margin: 0;
}

.site-footer__bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
}

.site-footer__bottom a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}

.site-footer__bottom a:hover {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 767px) {
  .site-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 1rem;
    padding: 1.5rem 1rem 1rem;
    text-align: left;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
    text-align: center;
  }

  .site-footer__heading {
    margin-bottom: 0.5rem;
    color: rgba(255,255,255,0.7);
  }

  .site-footer__nav ul {
    gap: 0;
    justify-items: stretch;
  }

  .site-footer__nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0.35rem 0;
    font-size: 0.8125rem;
    line-height: 1.35;
  }

  .site-footer__nav a::before {
    flex-shrink: 0;
  }

  .site-footer__bottom {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
}

/* ============================================================
   TABLET (>= 768px)
   ============================================================ */
@media (min-width: 768px) {

  .site-header__right {
    display: block;
  }

  .nav-toggle {
    display: none;
  }

  .main-nav {
    max-height: none;
    overflow: visible;
    position: static;
    background: #fff;
    border-bottom: 1px solid var(--color-border-light, #e8e8e8);
    box-shadow: none;
  }

  .main-nav--open {
    position: static;
    max-height: none;
    overflow: visible;
    box-shadow: none;
  }

  .main-nav__list {
    display: flex;
    justify-content: center;
    gap: 0;
    padding: 0;
    max-width: 1100px;
    margin: 0 auto;
  }

  .main-nav__link {
    padding: 0.75rem 1.125rem;
    border-left: none;
    border-bottom: 3px solid transparent;
    font-size: 0.875rem;
  }

  .main-nav__link:hover,
  .main-nav__link--active {
    background: transparent;
    border-left-color: transparent;
    border-bottom-color: var(--color-primary, #1c95e5);
    color: var(--color-primary, #1c95e5);
  }

  /* Main layout — sidebar + content */
  .site-main {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    border-radius: 0;
    box-shadow: 0 2px 16px rgba(23,43,66,0.04);
    min-height: 600px;
  }

  .sidebar {
    order: 0;
    padding: 1.25rem;
    border-right: 1px solid var(--color-border-light, #eee);
  }

  .content-area {
    order: 0;
    padding: 1.25rem 1.5rem;
  }

  .hero__title {
    font-size: 1.625rem;
  }

  .band-grid {
    grid-template-columns: 1fr 1fr;
  }

  .band-card {
    flex-direction: column;
  }

  .band-card__img-link {
    width: 100%;
    height: 140px;
  }

  .site-footer__inner {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2rem;
    text-align: left;
    align-items: start;
  }

  .site-footer__tagline {
    margin-left: 0;
  }

  .site-footer__nav ul {
    justify-items: start;
  }

  .site-footer__bottom {
    justify-content: space-between;
    text-align: left;
  }
}

/* ============================================================
   DESKTOP (>= 1024px)
   ============================================================ */
@media (min-width: 1024px) {

  .site-main {
    grid-template-columns: 280px 1fr;
  }

  .content-area {
    padding: 1.5rem 2rem;
  }

  .hero {
    padding: 3rem 2rem;
  }

  .hero__title {
    font-size: 1.875rem;
  }

  .hero__text {
    font-size: 1.0625rem;
  }

  .band-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .province-list {
    grid-template-columns: 1fr;
    gap: 0.125rem;
  }
}

/* ============================================================
   BAND PROFILE — HERO HEADER
   ============================================================ */
.band-profile {
  margin-bottom: 1rem;
}

.band-profile__inactive {
  background: var(--color-surface-raised, #f8f9fa);
  border: 1px solid var(--color-border-light, #e8e8e8);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
}

.band-profile__inactive-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.band-profile__inactive-header img {
  max-height: 50px;
  border-radius: 6px;
}

.band-profile__inactive-header h1 {
  font-size: 1.25rem;
  margin: 0;
}

.band-profile__inactive-msg {
  font-size: 1rem;
  color: var(--color-text-secondary, #666);
}

.band-hero {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.band-hero__photo {
  flex-shrink: 0;
  width: 100%;
  max-width: 280px;
  padding: 5px;
  border: 1px solid var(--color-border-light, #e8e8e8);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(32, 50, 70, 0.1);
}

.band-hero__photo picture {
  display: block;
}

.band-hero__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
  background: var(--color-surface-raised, #f8fafc);
}

.band-hero__info {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.band-hero__name {
  font-size: 1.625rem;
  font-weight: 700;
  margin: 0;
  color: var(--color-text-heading, #2c3e50);
  line-height: 1.18;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.band-hero__location {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.9375rem;
  color: var(--color-text-secondary, #666);
  margin: 0;
}

.band-hero__location svg {
  color: var(--color-primary, #1c95e5);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .band-hero {
    flex-direction: row;
    align-items: flex-start;
  }

  .band-hero__photo {
    width: 232px;
  }

  .band-hero__name {
    font-size: 1.75rem;
  }
}

/* ============================================================
   BAND FEATURES GRID
   ============================================================ */
.band-features {
  margin-bottom: 1.5rem;
}

.band-features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

.band-features__item {
  background: var(--color-surface-raised, #f8f9fa);
  border-radius: 8px;
  padding: 0.875rem 0.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 76px;
}

.band-features__item dt {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-secondary, #666);
  margin-bottom: 0.375rem;
}

.band-features__value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-heading, #2c3e50);
  display: flex;
  align-items: center;
  justify-content: center;
}

.band-features__value--price {
  color: var(--color-primary, #1c95e5);
  font-size: 1.125rem;
}

.band-features__value--vocal {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-heading, #2c3e50);
  white-space: nowrap;
}

.band-features__value img {
  display: inline-block;
}

.band-features__value em,
.band-card__price em {
  font-weight: 500;
  font-style: normal;
  color: var(--color-text-secondary, #64748b);
  font-size: 0.875rem;
}

.band-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.band-badge--yes {
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.band-badge--no {
  background-color: #f3f4f6;
  color: #6b7280;
  border: 1px solid #e5e7eb;
}

.band-badge__icon {
  flex-shrink: 0;
  display: inline-block;
}

@media (min-width: 640px) {
  .band-features__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .band-features__grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ============================================================
   BAND DESCRIPTION
   ============================================================ */
.band-description__text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-primary, #333);
}

.band-description__text img {
  border-radius: 6px;
  margin: 0.75rem 0;
}

/* ============================================================
   BAND PLAYER (DEMO)
   ============================================================ */
.band-player__wrap {
  background: var(--color-surface-raised, #f8f9fa);
  border-radius: 8px;
  padding: 1rem;
}

.band-player__empty {
  color: var(--color-text-secondary, #64748b);
  font-size: 0.875rem;
}

/* ============================================================
   BAND GALLERY
   ============================================================ */
.band-gallery__empty {
  color: var(--color-text-secondary, #64748b);
  font-size: 0.875rem;
}

.band-gallery__viewer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.band-gallery__nav {
  flex-shrink: 0;
  /* A11Y: cel dotykowy min. 48 px (WCAG target-size). */
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-raised, #f0f4f8);
  border: 1px solid var(--color-border-light, #ddd);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  color: var(--color-text-primary, #333);
  padding: 0;
}

.band-gallery__nav:hover {
  background: var(--color-primary, #1c95e5);
  color: #fff;
  border-color: var(--color-primary, #1c95e5);
}

.band-gallery__slides {
  flex: 1;
  overflow: hidden;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.band-gallery__slides a {
  flex-shrink: 0;
}

.band-gallery__slides img {
  border-radius: 6px;
  max-height: 160px;
  width: auto;
}

.band-gallery__dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  justify-content: center;
  margin-top: 0.75rem;
}

.band-gallery__dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--color-border-default, #ccc);
  background: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  color: var(--color-text-primary, #333);
  padding: 0;
}

.band-gallery__dot:hover,
.band-gallery__dot.active {
  background: var(--color-primary, #1c95e5);
  color: #fff;
  border-color: var(--color-primary, #1c95e5);
}

/* ============================================================
   BAND VIDEOS
   ============================================================ */
.band-videos__player {
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

.band-videos__embed {
  aspect-ratio: 16/9;
  width: 100%;
}

.band-videos__embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.band-videos__list {
  list-style: none;
  margin: 0;
  padding: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  background: var(--color-surface-page, #f5f6f8);
}

.band-videos__list li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--color-border-default, #ccc);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-primary, #333);
  transition: background 0.2s, color 0.2s;
}

.band-videos__list li a:hover,
.band-videos__list li a.active {
  background: var(--color-primary, #1c95e5);
  color: #fff;
  border-color: var(--color-primary, #1c95e5);
}

/* ============================================================
   BAND CONTACT
   ============================================================ */
.band-contact__list {
  margin: 0;
  padding: 0;
}

.band-contact__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border-light, #eee);
}

.band-contact__row:last-child {
  border-bottom: none;
}

.band-contact__row dt {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-text-heading, #2c3e50);
  min-width: 110px;
  flex-shrink: 0;
}

.band-contact__row dt svg {
  color: var(--color-primary, #1c95e5);
  flex-shrink: 0;
}

.band-contact__row dd {
  margin: 0;
  font-size: 0.875rem;
}

.band-contact__row dd img {
  display: inline-block;
  vertical-align: middle;
}

.band-link--email {
  color: var(--color-primary, #1c95e5);
  font-weight: 600;
  text-decoration: underline;
  word-break: break-all;
}

.band-link--email:hover {
  color: var(--color-primary-dark, #0d7bc4);
}

button.big-link {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: var(--color-primary, #1c95e5);
  cursor: pointer;
  text-decoration: none;
  text-align: left;
}

button.big-link:hover {
  color: var(--color-primary-dark, #0d7bc4);
  text-decoration: underline;
}

/* Phone modal */
.band-modal {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  max-width: 400px;
  box-shadow: 0 8px 40px rgba(23,43,66,0.15);
}

.band-modal__phone {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.band-modal__phone a {
  color: var(--color-primary, #1c95e5);
}

.band-modal__hint {
  font-size: 0.8125rem;
  color: var(--color-text-secondary, #666);
  margin: 0;
}

.band-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text-secondary, #999);
  line-height: 1;
}

.band-modal__close:hover {
  color: var(--color-text-primary, #333);
}

/* ============================================================
   BAND CALENDAR
   ============================================================ */
.band-calendar__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.band-calendar__year {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-heading, #2c3e50);
  min-width: 4rem;
  text-align: center;
}

.band-calendar__arrow {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-raised, #f0f4f8);
  border: 1px solid var(--color-border-light, #ddd);
  border-radius: 50%;
  cursor: pointer;
  color: var(--color-text-primary, #333);
  transition: background 0.2s, color 0.2s;
  padding: 0;
}

.band-calendar__arrow:hover {
  background: var(--color-primary, #1c95e5);
  color: #fff;
  border-color: var(--color-primary, #1c95e5);
}

.band-calendar__loading {
  text-align: center;
  padding: 1rem;
  color: var(--color-text-secondary, #64748b);
}

.band-calendar__months {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.band-calendar__month-name {
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--color-text-heading, #2c3e50);
}

@media (min-width: 768px) {
  .band-calendar__months {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   BAND CONTACT FORM
   ============================================================ */
.band-form__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.band-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.band-form__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-heading, #2c3e50);
}

.band-form__form textarea.form-input {
  min-height: 120px;
  resize: vertical;
}

.band-form__actions {
  padding-top: 0.25rem;
}

.band-form__msg {
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

/* ============================================================
   BAND PRICING
   ============================================================ */
.band-pricing__body {
  background: var(--color-surface-raised, #f8f9fa);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.band-pricing__desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-primary, #333);
}

.band-pricing__desc em {
  color: var(--color-text-secondary, #999);
}

.band-pricing__amount {
  text-align: center;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border-light, #e8e8e8);
}

.band-pricing__value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary, #1c95e5);
}

.band-pricing__value--tbd {
  font-size: 1rem;
  color: var(--color-text-secondary, #999);
  font-weight: 500;
}

@media (min-width: 768px) {
  .band-pricing__body {
    flex-direction: row;
    align-items: center;
  }

  .band-pricing__desc {
    flex: 1;
  }

  .band-pricing__amount {
    border-top: none;
    border-left: 1px solid var(--color-border-light, #e8e8e8);
    padding-top: 0;
    padding-left: 1.5rem;
    flex-shrink: 0;
  }
}

/* ============================================================
   BAND FOOTER (Social + Stats)
   ============================================================ */
.band-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 1rem 0;
  margin-top: 0.5rem;
  border-top: 1px solid var(--color-border-light, #eee);
  font-size: 0.8125rem;
  color: var(--color-text-secondary, #999);
}

/* ============================================================
   BAND SEARCH PHRASES
   ============================================================ */
.band-phrases__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.band-phrases__list li {
  background: var(--color-surface-raised, #f0f4f8);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  color: var(--color-text-secondary, #666);
}

/* ============================================================
   BAND GUIDES (Internal Cross-Links)
   ============================================================ */
.band-guides__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.band-guides__link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  background: var(--c-surface, #f8fafc);
  border: 1px solid var(--c-border, #e2e8f0);
  border-radius: 8px;
  /* A11Y: #0e6ea3 ma 5.56:1 (było #1c95e5 — 3.24:1). */
  color: #0e6ea3;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s, border-color 0.2s;
}

.band-guides__link:hover {
  background: var(--c-primary-light, #e8f4fd);
  border-color: #0e6ea3;
}

.band-guides__icon {
  font-style: normal;
  font-size: 1rem;
  flex-shrink: 0;
}

.section__title--sm {
  font-size: 0.9375rem;
}

/* ============================================================
   BAND SHORT LINKS
   ============================================================ */
.band-shortlinks {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-light, #eee);
}

.band-shortlinks .form-input {
  flex: 1;
  font-size: 0.75rem;
  text-align: center;
  background: var(--color-surface-raised, #f8f9fa);
  cursor: text;
}

/* ============================================================
   LISTING PAGE (Province/City)
   ============================================================ */
.listing-header {
  margin-bottom: 1rem;
}

.listing-header__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-heading, #2c3e50);
  margin: 0 0 0.25rem;
}

.listing-header__count {
  font-size: 0.8125rem;
  color: var(--color-text-secondary, #666);
}

/* Sort controls */
.listing-sort {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 1rem;
  font-size: 0.8125rem;
}

.listing-sort__label {
  font-weight: 600;
  color: var(--color-text-secondary, #666);
}

.listing-sort__link {
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  color: var(--color-text-primary, #333);
  transition: background 0.2s, color 0.2s;
}

.listing-sort__link:hover {
  background: var(--color-surface-raised, #f0f4f8);
  color: var(--color-primary, #1c95e5);
}

.listing-sort__link--active {
  background: var(--color-primary, #1c95e5);
  color: #fff;
}

.listing-sort__link--active:hover {
  background: var(--color-primary-hover, #1a5276);
  color: #fff;
}

/* Horizontal band card (listing variant) */
.band-card--horizontal {
  flex-direction: row;
}

.band-card--horizontal .band-card__img-link {
  width: 120px;
  height: auto;
}

.band-card--horizontal .band-card__body {
  gap: 0.5rem;
}

.band-card__location {
  font-size: 0.8125rem;
  color: var(--color-text-secondary, #666);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.band-card__desc {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--color-text-secondary, #666);
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.band-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
}

/* District grid */
.district-grid {
  margin-bottom: 1.5rem;
}

.district-grid__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-heading, #2c3e50);
  margin: 0 0 0.75rem;
}

.district-grid__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* SEO text block */
.seo-text {
  background: var(--color-surface-raised, #f8f9fa);
  border-radius: 8px;
  padding: 1.25rem;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--color-text-secondary, #666);
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--color-text-secondary, #999);
}

.empty-state__icon {
  font-size: 3rem;
  margin-bottom: 0.75rem;
  opacity: 0.4;
}

.empty-state__text {
  font-size: 1rem;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
  padding: 1.5rem 0;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 0.5rem;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  border: 1px solid var(--color-border-light, #ddd);
  transition: background 0.2s, color 0.2s;
}

.pagination a {
  color: var(--color-text-primary, #333);
  background: #fff;
}

.pagination a:hover {
  background: var(--color-primary, #1c95e5);
  color: #fff;
  border-color: var(--color-primary, #1c95e5);
}

.pagination .current {
  background: var(--color-primary, #1c95e5);
  color: #fff;
  border-color: var(--color-primary, #1c95e5);
  font-weight: 700;
}

/* ============================================================
   RIGHT SIDEBAR (Login + CTA)
   ============================================================ */
.sidebar-right {
  order: 3;
  background: #fff;
  padding: 1rem;
  min-width: 0;
}

.sidebar-login {
  margin-bottom: 1.25rem;
}

.sidebar-login .band-form__field {
  margin-bottom: 0.5rem;
}

.sidebar-login .band-form__label {
  font-size: 0.75rem;
}

.sidebar-login__forgot {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  text-align: right;
}

/* Login form */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.login-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.login-form__forgot {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  text-align: right;
  color: var(--color-text-secondary, #666);
}

.login-form__forgot a {
  color: var(--color-primary, #1c95e5);
}

.login-form__forgot a:hover {
  text-decoration: underline;
}

.sidebar-cta {
  background: linear-gradient(135deg, var(--color-primary, #1c95e5) 0%, #2980b9 100%);
  color: #fff;
  border-radius: 8px;
  padding: 1.25rem;
  text-align: center;
  margin-bottom: 1.25rem;
}

.sidebar-cta__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.sidebar-cta__text {
  font-size: 0.8125rem;
  opacity: 0.9;
  margin: 0 0 0.75rem;
}

.sidebar-cta .btn {
  background: #fff;
  color: var(--color-primary, #1c95e5);
  border-color: #fff;
}

.sidebar-cta .btn:hover {
  background: rgba(255,255,255,0.9);
}

/* Sidebar YouTube Widget */
.sidebar-youtube {
  background: #fff;
  border: 1px solid var(--color-border-light, #e9ecef);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.sidebar-youtube__card {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.sidebar-youtube__header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.sidebar-youtube__icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #fff0f0;
  border-radius: 8px;
  flex-shrink: 0;
}

.sidebar-youtube__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text, #222);
  margin: 0;
  line-height: 1.2;
}

.sidebar-youtube__badge {
  font-size: 0.6875rem;
  color: #c00;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  display: block;
}

.sidebar-youtube__desc {
  font-size: 0.8125rem;
  color: var(--color-text-secondary, #666);
  line-height: 1.4;
  margin: 0;
}

.btn--youtube {
  background: #d60000;
  color: #fff !important;
  border: 1px solid #b50000;
  font-weight: 600;
  font-size: 0.8125rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  transition: background-color 0.2s cubic-bezier(0.32,0.72,0,1), transform 0.2s cubic-bezier(0.32,0.72,0,1);
  text-decoration: none;
}

.btn--youtube:hover {
  background: #cc0000;
  color: #fff !important;
  transform: translateY(-1px);
}

.btn--youtube__icon {
  font-size: 0.6875rem;
}

/* Sidebar Exchange / Partner Banner */
.sidebar-exchange {
  background: #fff;
  border: 1px solid var(--color-border-light, #e9ecef);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.25rem;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.sidebar-exchange__item {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0.5rem;
}

.sidebar-exchange__link {
  display: inline-block;
  max-width: 180px;
  padding: 0.5rem 0.75rem;
  background: #fbfcfd;
  border: 1px solid var(--color-border-light, #e9ecef);
  border-radius: 8px;
  overflow: hidden;
  opacity: 0.85;
  transition: transform 0.2s cubic-bezier(0.32,0.72,0,1), opacity 0.2s cubic-bezier(0.32,0.72,0,1), box-shadow 0.2s cubic-bezier(0.32,0.72,0,1);
}

.sidebar-exchange__link:hover {
  transform: translateY(-1px);
  opacity: 1;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08);
}

.sidebar-exchange__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
}

/* Footer YouTube link */
.site-footer__social {
  margin-top: 1rem;
}

.site-footer__social-link--youtube {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.site-footer__social-link--youtube:hover {
  background: #e62117;
  border-color: #e62117;
  color: #fff;
  transform: translateY(-1px);
}

.site-footer__social-link--youtube:hover svg {
  color: #fff;
}

.site-footer__social-link--youtube svg {
  flex-shrink: 0;
  color: #ff5555;
}

.sidebar-info-text {
  font-size: 0.8125rem;
  color: var(--color-text-secondary, #666);
  line-height: 1.7;
}

/* Three-column layout (public.php) */
@media (min-width: 768px) {
  .site-main--three-col {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .sidebar-right {
    grid-column: 2;
    order: 0;
    padding: 1.25rem;
    border-left: none;
    border-top: 1px solid var(--color-border-light, #eee);
  }
}

@media (min-width: 1200px) {
  .site-main--three-col {
    grid-template-columns: 280px minmax(0, 1fr) 240px;
  }

  .sidebar-right {
    grid-column: auto;
    border-top: none;
    border-left: 1px solid var(--color-border-light, #eee);
  }

  .band-card--horizontal .band-card__img-link {
    width: 160px;
  }
}

/* ============================================================
   FEATURED BANDS — .polecane (legacy readfile HTML)
   ============================================================ */
.featured-bands {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .featured-bands {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .featured-bands {
    grid-template-columns: repeat(3, 1fr);
  }
}

.polecane {
  background: #fff;
  border: 1px solid var(--color-border-light, #e8e8e8);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  transition: box-shadow 0.3s, transform 0.25s;
  display: flex;
  flex-direction: column;
  position: relative;
}

.polecane:hover {
  box-shadow: 0 8px 28px rgba(28, 149, 229, 0.13);
  transform: translateY(-3px);
}

.polecane a {
  color: var(--color-text-heading, #2c3e50);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8125rem;
  display: block;
}

.polecane a:first-child {
  padding: 0.625rem 0.5rem 0.25rem;
  font-size: 0.875rem;
  line-height: 1.3;
}

.polecane img.obramowanie {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
  display: block;
  border: none;
  border-radius: 0;
  transition: transform 0.4s cubic-bezier(0.32,0.72,0,1);
}

.polecane:hover img.obramowanie {
  transform: scale(1.06);
}

.polecane a:nth-child(2) {
  overflow: hidden;
  display: block;
}

.polecane br {
  display: none;
}

.polecane .sprawdz_hover {
  display: block;
  padding: 0.5rem;
  background: var(--color-primary, #1c95e5);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: background 0.2s;
  margin-top: auto;
}

.polecane .sprawdz_hover:hover {
  background: var(--color-primary-hover, #1a5276);
  color: #fff;
}

.polecane .sprawdz_hover span {
  color: #fff;
}

/* ============================================================
   BAND CARD — Enhanced Hover Effects (#4)
   ============================================================ */
.band-card {
  display: flex;
  background: #fff;
  border: 1px solid var(--color-border-light, #e8e8e8);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.3s cubic-bezier(0.32,0.72,0,1), transform 0.25s cubic-bezier(0.32,0.72,0,1), border-color 0.3s cubic-bezier(0.32,0.72,0,1);
}

.band-card:hover {
  box-shadow: 0 8px 30px rgba(28, 149, 229, 0.12);
  transform: translateY(-3px);
  border-color: rgba(28, 149, 229, 0.25);
}

.band-card__img-link {
  flex-shrink: 0;
  width: 100px;
  display: block;
  overflow: hidden;
  position: relative;
}

.band-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  transition: transform 0.5s cubic-bezier(0.32,0.72,0,1);
}

.band-card:hover .band-card__img {
  transform: scale(1.08);
}

/* Subtle gradient overlay on hover */
.band-card__img-link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28, 149, 229, 0.15) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.32,0.72,0,1);
  pointer-events: none;
}

.band-card:hover .band-card__img-link::after {
  opacity: 1;
}

/* ============================================================
   BREADCRUMBS — Improved (#6)
   ============================================================ */
.breadcrumb {
  margin-bottom: 1.25rem;
  background: var(--color-surface-raised, #f8f9fa);
  padding: 0.625rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--color-border-light, #eee);
}

.breadcrumb__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 0.25rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.breadcrumb__item,
.breadcrumb__list li {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: var(--color-text-secondary, #666);
}

.breadcrumb__item + .breadcrumb__item::before,
.breadcrumb__list li + li::before {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--color-text-secondary, #999);
  border-top: 1.5px solid var(--color-text-secondary, #999);
  transform: rotate(45deg);
  margin: 0 0.625rem;
}

.breadcrumb__item a,
.breadcrumb__list li a {
  color: #0d68a8;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
  transition: color 0.2s;
}

.breadcrumb__item a:hover,
.breadcrumb__list li a:hover {
  color: #0a4f82;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.breadcrumb__item a:focus-visible,
.breadcrumb__list li a:focus-visible {
  outline: 2px solid #0d68a8;
  outline-offset: 2px;
}

.breadcrumb__item--current,
.breadcrumb__item--current span,
.breadcrumb__list li[aria-current="page"],
.breadcrumb__list li[aria-current="page"] span {
  color: var(--color-text-primary, #333);
  font-weight: 600;
}

@media (max-width: 480px) {
  .breadcrumb {
    padding: 0.5rem 0.75rem;
  }
}

/* ============================================================
   BAND CARD HORIZONTAL — Improved (#7)
   ============================================================ */
.band-card--horizontal {
  flex-direction: row;
  margin-bottom: 0.75rem;
  border-radius: 10px;
}

.band-card--horizontal + .band-card--horizontal {
  margin-top: 0;
}

.band-card--horizontal .band-card__img-link {
  width: 130px;
  min-height: 120px;
}

.band-card--horizontal .band-card__body {
  gap: 0.5rem;
  padding: 0.875rem 1rem;
}

.band-card__location {
  font-size: 0.8125rem;
  color: var(--color-text-secondary, #666);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.band-card__location::before {
  content: '📍';
  font-size: 0.6875rem;
}

.band-card__location a {
  color: var(--color-text-secondary, #666);
  transition: color 0.2s;
}

.band-card__location a:hover {
  color: var(--color-primary, #1c95e5);
}

.band-card__desc {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--color-text-secondary, #555);
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.band-card__badge--video {
  background: #e8f0fe;
  color: #1558b0;
}

.band-card__badge--vocal {
  background: #f1f5f9;
  color: #475569;
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.75rem;
  font-weight: 500;
}

.band-card__vocal {
  display: inline-flex;
  align-items: center;
}

.band-card__vocal img {
  display: inline-block;
  vertical-align: middle;
}

/* ============================================================
   LISTING — Sorting & Page (#10)
   ============================================================ */
.listing-header {
  margin-bottom: 1rem;
}

.listing-header__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-heading, #2c3e50);
  margin: 0 0 0.25rem;
}

.listing-header__count {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--color-text-secondary, #666);
}

.listing-header__page {
  font-size: 0.8125rem;
  color: var(--color-text-secondary, #888);
  background: var(--color-surface-raised, #f0f4f8);
  display: inline-block;
  padding: 0.1875rem 0.75rem;
  border-radius: 999px;
  font-weight: 500;
  margin-top: 0.375rem;
}

/* Sort controls */
.listing-sort {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 1.25rem;
  padding: 0.5rem 0.75rem;
  background: var(--color-surface-raised, #f8f9fa);
  border-radius: 8px;
  border: 1px solid var(--color-border-light, #eee);
  font-size: 0.8125rem;
}

.listing-sort__label {
  font-weight: 600;
  color: var(--color-text-secondary, #666);
  margin-right: 0.25rem;
}

.listing-sort__link {
  padding: 0.3125rem 0.75rem;
  border-radius: 999px;
  color: var(--color-text-primary, #333);
  transition: background 0.2s, color 0.2s;
  font-weight: 500;
  border: 1px solid transparent;
}

.listing-sort__link:hover {
  background: #fff;
  color: var(--color-primary, #1c95e5);
  border-color: var(--color-border-light, #ddd);
}

.listing-sort__link--active {
  background: var(--color-primary, #1c95e5);
  color: #fff;
  border-color: var(--color-primary, #1c95e5);
}

.listing-sort__link--active:hover {
  background: var(--color-primary-hover, #1a5276);
  color: #fff;
  border-color: var(--color-primary-hover, #1a5276);
}

/* ============================================================
   PAGINATION — Modern (#10)
   ============================================================ */
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.375rem;
  padding: 1.5rem 0;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.625rem;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  border: 1px solid var(--color-border-light, #ddd);
  transition: all 0.2s cubic-bezier(0.32,0.72,0,1);
  text-decoration: none;
}

.pagination a {
  color: var(--color-text-primary, #333);
  background: #fff;
  cursor: pointer;
}

.pagination a:hover {
  background: var(--color-primary, #1c95e5);
  color: #fff;
  border-color: var(--color-primary, #1c95e5);
  transform: translateY(-1px);
}

.pagination .current,
.pagination .stronicowanieh {
  background: var(--color-primary, #1c95e5);
  color: #fff;
  border-color: var(--color-primary, #1c95e5);
  font-weight: 700;
  box-shadow: none;
}

/* Legacy pagination classes */
.stronicowanie,
.stronicowanieh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.625rem;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  border: 1px solid var(--color-border-light, #ddd);
  transition: all 0.2s cubic-bezier(0.32,0.72,0,1);
  background: #fff;
  color: var(--color-text-primary, #333);
  cursor: default;
}

/* Remove double border on pagination links */
.pagination a {
  border: none !important;
}

.stronicowanieh {
  background: var(--color-primary, #1c95e5);
  color: #fff;
  border-color: var(--color-primary, #1c95e5);
  font-weight: 700;
}

a .stronicowanie {
  cursor: pointer;
}

a:hover .stronicowanie {
  background: var(--color-primary, #1c95e5);
  color: #fff;
  border-color: var(--color-primary, #1c95e5);
}

.poprzednie,
.nastepne {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: auto;
  min-height: 40px;
  height: 40px;
  padding: 0 0.875rem;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid var(--color-border-light, #ddd);
  background: #fff;
  color: var(--color-text-primary, #333);
  transition: all 0.2s cubic-bezier(0.32,0.72,0,1);
  cursor: pointer;
}

a .poprzednie,
a .nastepne {
  cursor: pointer;
}

a:hover .poprzednie,
a:hover .nastepne {
  background: var(--color-primary, #1c95e5);
  color: #fff;
  border-color: var(--color-primary, #1c95e5);
}

/* ============================================================
   PHONE MODAL — Fix text cutting (#12)
   ============================================================ */
.reveal-modal.band-modal {
  width: 90%;
  max-width: 420px;
  margin-left: 0;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(23,43,66,0.28);
  position: fixed;
  z-index: 200000;
  overflow: visible;
  word-break: break-word;
}

.reveal-modal.band-modal h1 {
  display: none;
}

.reveal-modal.band-modal p {
  width: 100%;
  padding: 0;
  font-family: inherit;
  font-style: normal;
  text-align: center;
  margin: 0 0 0.75rem;
}

.reveal-modal.band-modal p::before {
  display: none;
}

.band-modal__phone {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
  font-weight: 700;
  word-break: break-all;
  overflow-wrap: break-word;
}

.band-modal__phone a {
  color: var(--color-primary, #1c95e5);
  white-space: nowrap;
}

.band-modal__hint {
  font-size: 0.875rem;
  color: var(--color-text-secondary, #666);
  margin: 0;
  line-height: 1.5;
}

.band-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--color-text-secondary, #999);
  line-height: 1;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}

.band-modal__close:hover {
  background: var(--color-surface-raised, #f0f4f8);
  color: var(--color-text-primary, #333);
}

.reveal-modal-bg {
  position: fixed;
  height: 100%;
  width: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(3px);
  z-index: 99999;
  display: none;
  top: 0;
  left: 0;
}

/* ============================================================
   CALENDAR — Full Styling (#13)
   ============================================================ */
.band-calendar__months {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .band-calendar__months {
    grid-template-columns: 1fr 1fr;
  }
}

.band-calendar__month {
  cursor: pointer;
  transition: opacity 0.2s;
}

.band-calendar__month:hover {
  opacity: 0.85;
}

.band-calendar__month-name {
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--color-primary, #1c95e5);
  font-size: 0.9375rem;
  text-transform: capitalize;
}

/* Calendar table styles (loaded via AJAX) */
.band-calendar__months table,
#miesiac_l table,
#miesiac_r table,
.band-calendar__month table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 2px;
  table-layout: fixed;
}

.band-calendar__months th,
#miesiac_l th,
#miesiac_r th,
.band-calendar__month th {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-secondary, #888);
  padding: 0.375rem 0.125rem;
  text-align: center;
}

.band-calendar__months td,
#miesiac_l td,
#miesiac_r td,
.band-calendar__month td {
  text-align: center;
  padding: 0.375rem 0.125rem;
  font-size: 0.8125rem;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  position: relative;
  font-weight: 500;
}

/* Free date (default) */
.band-calendar__months td,
#miesiac_l td,
#miesiac_r td {
  color: var(--color-text-primary, #333);
  background: var(--color-surface-raised, #f8f9fa);
}

/* Occupied/busy date */
.band-calendar__months td.zajety,
#miesiac_l td.zajety,
#miesiac_r td.zajety,
.band-calendar__months td[style*="red"],
#miesiac_l td[style*="red"],
#miesiac_r td[style*="red"] {
  background: #fee2e2 !important;
  color: #dc2626 !important;
  font-weight: 600;
}

/* Free date marked */
.band-calendar__months td.wolny,
#miesiac_l td.wolny,
#miesiac_r td.wolny,
.band-calendar__months td[style*="green"],
#miesiac_l td[style*="green"],
#miesiac_r td[style*="green"] {
  background: #dcfce7 !important;
  color: #16a34a !important;
  font-weight: 600;
}

/* Past dates */
.band-calendar__months td.past,
#miesiac_l td.past,
#miesiac_r td.past {
  color: var(--color-text-secondary, #ccc);
  background: transparent;
}

/* Empty cells */
.band-calendar__months td:empty,
#miesiac_l td:empty,
#miesiac_r td:empty {
  background: transparent;
}

.band-calendar__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.band-calendar__year {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-text-heading, #2c3e50);
  min-width: 5rem;
  text-align: center;
}

.band-calendar__arrow {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--color-border-light, #ddd);
  border-radius: 10px;
  cursor: pointer;
  color: var(--color-text-primary, #333);
  transition: all 0.2s cubic-bezier(0.32,0.72,0,1);
  padding: 0;
}

.band-calendar__arrow:hover {
  background: var(--color-primary, #1c95e5);
  color: #fff;
  border-color: var(--color-primary, #1c95e5);
  transform: scale(1.05);
}

/* ============================================================
   VIDEO GALLERY — Styling (#14)
   ============================================================ */
.band-videos__player {
  background: var(--color-surface-raised, #f8f9fa);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border-light, #e8e8e8);
}

.band-videos__embed {
  aspect-ratio: 16/9;
  width: 100%;
  background: #000;
}

.band-videos__embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.band-videos__list {
  list-style: none;
  margin: 0;
  padding: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  background: #fff;
  border-top: 1px solid var(--color-border-light, #eee);
}

.band-videos__list li a,
ul.vid li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--color-surface-raised, #f0f4f8);
  border: 1px solid var(--color-border-light, #ddd);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-primary, #333);
  transition: all 0.2s cubic-bezier(0.32,0.72,0,1);
  text-decoration: none;
}

.band-videos__list li a:hover,
ul.vid li a:hover,
.band-videos__list li a.active,
ul.vid li.currentvideo a {
  background: var(--color-primary, #1c95e5);
  color: #fff;
  border-color: var(--color-primary, #1c95e5);
  transform: translateY(-1px);
}

ul.vid {
  list-style: none;
  margin: 0;
  padding: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  background: #fff;
  border-top: 1px solid var(--color-border-light, #eee);
}

/* ============================================================
   CATEGORY / ARTICLE LINKS — Improved (#9)
   ============================================================ */
.section__links {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  padding-top: 1rem;
  flex-wrap: wrap;
}

.section__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1.25rem;
  background: var(--color-surface-raised, #f0f4f8);
  border: 1px solid var(--color-border-light, #ddd);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-primary, #333);
  transition: all 0.25s cubic-bezier(0.32,0.72,0,1);
  text-decoration: none;
}

.section__links a::before {
  content: '📖';
  font-size: 0.875rem;
}

.section__links a:nth-child(2)::before {
  content: '⚙️';
}

.section__links a:hover {
  background: var(--color-primary, #1c95e5);
  color: #fff;
  border-color: var(--color-primary, #1c95e5);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(28, 149, 229, 0.25);
}

/* ============================================================
   POLAND MAP — Sidebar inline SVG
   ============================================================ */
.sidebar-map {
  margin-bottom: 1.25rem;
}

.pl-map {
  position: relative;
  margin: 0 auto;
  max-width: 240px;
}

.pl-map__status {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted, #64748b);
  background: var(--color-surface-raised, #f8fafc);
  border: 1px solid var(--color-border-light, #e2e8f0);
  border-radius: 6px;
  padding: 0.35rem 0.5rem;
  margin-bottom: 0.5rem;
  min-height: 1.85rem;
  text-align: center;
  box-sizing: border-box;
  transition: all 0.15s ease-in-out;
}

.pl-map__status.is-active {
  color: #0d68a8;
  background: #f0f9ff;
  border-color: #bae6fd;
}

.pl-map__svg {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 4px;
  box-sizing: border-box;
}

.pl-map a {
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.pl-map__land {
  fill: #cbd5e1;
  stroke: #ffffff;
  stroke-width: 2.2;
  stroke-linejoin: round;
  cursor: pointer;
  transition: fill 0.15s ease-in-out, filter 0.15s ease-in-out;
}

.pl-map a:hover .pl-map__land,
.pl-map a:focus-visible .pl-map__land {
  fill: var(--color-primary, #1c95e5);
  filter: drop-shadow(0 2px 5px rgba(28, 149, 229, 0.4));
}

.pl-map a.is-active .pl-map__land,
.pl-map .pl-map__land.is-active {
  fill: var(--color-primary, #1c95e5) !important;
  stroke: #0c4a6e !important;
  stroke-width: 2.6 !important;
  filter: drop-shadow(0 3px 8px rgba(28, 149, 229, 0.45)) !important;
}

.pl-map a:focus-visible .pl-map__land {
  stroke: #0f172a;
  stroke-width: 2.5;
}

.pl-map__tooltip {
  position: absolute;
  pointer-events: none;
  background: rgba(15, 23, 42, 0.92);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 5px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.12s ease-in-out;
  z-index: 100;
  transform: translate(-50%, -125%);
}

.pl-map__tooltip.is-visible {
  opacity: 1;
  visibility: visible;
}

/* ============================================================
   SEO PHRASES section styling
   ============================================================ */
.seo-phrases {
  background: var(--color-surface-raised, #f8f9fa);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-size: 0.8125rem;
  color: var(--color-text-secondary, #666);
}

.seo-phrases p {
  margin: 0 0 0.5rem;
  font-weight: 500;
}

.seo-phrases ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.seo-phrases li {
  background: #fff;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  border: 1px solid var(--color-border-light, #e8e8e8);
  font-size: 0.75rem;
}

/* ============================================================
   DISTRICT GRID fixes
   ============================================================ */
.district-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.section__title--sub {
  font-size: 0.9375rem;
  margin-top: 0.5rem;
}

/* ============================================================
   FIX #1: Search form — postal code input width
   ============================================================ */
.form-input--xs {
  width: 4.25rem;
  min-width: 4.25rem;
}

#code2 {
  width: 4.75rem;
  min-width: 4.75rem;
}

.search-form__inline {
  gap: 0.375rem;
}

/* ============================================================
   FIX #1: Login form spacing
   ============================================================ */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.login-form .form-input {
  padding: 0.5625rem 0.75rem;
  font-size: 0.875rem;
}

.login-form .btn--block {
  margin-top: 0.25rem;
}

/* ============================================================
   FIX #3: Featured bands (Polecane) — better styling
   ============================================================ */
.featured-bands .polecane {
  box-shadow: 0 2px 8px rgba(23,43,66,0.06);
}

.featured-bands .polecane a:first-child {
  padding: 0.75rem 0.625rem 0.375rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text-heading, #2c3e50);
  line-height: 1.3;
}

.featured-bands .polecane:hover a:first-child {
  color: var(--color-primary, #1c95e5);
}

/* ============================================================
   FIX #4: Recently added — enhanced hover effect
   ============================================================ */
.band-card__img-link {
  position: relative;
  overflow: hidden;
}

.band-card:hover .band-card__name a {
  color: var(--color-primary, #1c95e5);
}

.band-card:hover .band-card__badge--demo {
  background: #166534;
  color: #fff;
}

.band-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--color-primary, #1c95e5);
  transform: scaleY(0);
  transition: transform 0.3s cubic-bezier(0.32,0.72,0,1);
  z-index: 1;
  border-radius: 3px 0 0 3px;
}

.band-card:hover::before {
  transform: scaleY(1);
}

/* ============================================================
   FIX #5: Featured band in province (wyróżniony)
   ============================================================ */
.content-area .polecane,
.content-area--search .polecane,
.content-area .box_promo_center {
  background: linear-gradient(135deg, #fffbe6 0%, #fff8e1 100%);
  border: 2px solid #f0d060;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.25rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(240, 208, 96, 0.15);
}

.content-area .polecane::before,
.content-area .box_promo_center::before {
  content: '★ Wyróżniony';
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: linear-gradient(135deg, #f0d060, #e6b800);
  color: #5a4a00;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  z-index: 1;
}

.content-area .polecane:hover {
  border-color: #e6b800;
  box-shadow: 0 6px 24px rgba(240, 208, 96, 0.25);
  transform: translateY(-2px);
  transition: all 0.3s cubic-bezier(0.32,0.72,0,1);
}

.content-area .polecane a {
  color: var(--color-text-heading, #2c3e50);
  font-weight: 600;
}

.content-area .polecane img {
  border-radius: 8px;
  max-width: 100%;
  height: auto;
}

/* ============================================================
   FIX #10: Pagination disabled state
   ============================================================ */
.poprzednie--disabled,
.nastepne--disabled {
  opacity: 1;
  color: #5b6470;
  background: #f1f5f9;
  border-color: #e2e8f0;
  cursor: default;
  pointer-events: none;
}

/* ============================================================
   FIX #12: Phone modal — ensure full number displays
   ============================================================ */
.reveal-modal.band-modal {
  box-sizing: border-box;
  min-width: 280px;
  visibility: hidden;
}

.band-modal__phone {
  font-size: clamp(1.25rem, 5vw, 1.75rem);
  word-break: normal;
  overflow-wrap: anywhere;
  white-space: normal;
}

.band-modal__phone a {
  white-space: nowrap;
  display: inline-block;
}

/* ============================================================
   FIX #13: Calendar — AJAX loaded table styling
   ============================================================ */
.band-calendar {
  background: var(--color-surface-raised, #f8f9fa);
  border-radius: 12px;
  padding: 1.25rem;
  border: 1px solid var(--color-border-light, #eee);
}

.band-calendar .section__title {
  border-bottom-color: var(--color-primary, #1c95e5);
}

.band-calendar__legend {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--color-text-secondary, #666);
}

.band-calendar__legend-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.band-calendar__legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

.band-calendar__legend-dot--free {
  background: #dcfce7;
  border: 1px solid #16a34a;
}

.band-calendar__legend-dot--busy {
  background: #fee2e2;
  border: 1px solid #dc2626;
}

/* Calendar table override for inline styles from AJAX */
#miesiac_l table,
#miesiac_r table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 3px;
  table-layout: fixed;
}

#miesiac_l th,
#miesiac_r th {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-secondary, #888);
  padding: 0.5rem 0.25rem;
  text-align: center;
  background: transparent;
}

#miesiac_l td,
#miesiac_r td {
  text-align: center;
  padding: 0.5rem 0.25rem;
  font-size: 0.8125rem;
  border-radius: 8px;
  font-weight: 500;
  color: var(--color-text-primary, #333);
  background: #fff;
  border: 1px solid var(--color-border-light, #e8e8e8);
  transition: background 0.15s, transform 0.15s;
}

#miesiac_l td:empty,
#miesiac_r td:empty {
  background: transparent;
  border-color: transparent;
}

/* Busy (red) - override inline style */
#miesiac_l td[style*="red"],
#miesiac_r td[style*="red"],
#miesiac_l td[bgcolor="red"],
#miesiac_r td[bgcolor="red"] {
  background: #fee2e2 !important;
  color: #dc2626 !important;
  border-color: #fca5a5 !important;
  font-weight: 700;
}

/* Free (green) - override inline style */
#miesiac_l td[style*="green"],
#miesiac_r td[style*="green"],
#miesiac_l td[bgcolor="green"],
#miesiac_r td[bgcolor="green"] {
  background: #dcfce7 !important;
  color: #16a34a !important;
  border-color: #86efac !important;
  font-weight: 700;
}

/* ============================================================
   Lightbox overrides for redesign
   ============================================================ */
#jquery-overlay {
  background: rgba(0, 0, 0, 0.85) !important;
  backdrop-filter: blur(4px);
}

#jquery-lightbox {
  font-family: var(--font-primary, 'Ubuntu', sans-serif);
}

#lightbox-container-image-box {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(23,43,66,0.4);
}

#lightbox-container-image {
  background: #000;
}

#lightbox-container-image-data-box {
  background: #fff;
  border-radius: 0 0 12px 12px;
  padding: 0.75rem 1rem;
}

#lightbox-image-details-caption {
  font-size: 0.875rem;
  color: var(--color-text-primary, #333);
}

#lightbox-image-details-currentNumber {
  font-size: 0.75rem;
  color: var(--color-text-secondary, #999);
}

/* ============================================================
   LEGACY PROVINCE PROMO + POPULAR SEARCHES
   ============================================================ */
.box_wyszukiwarka {
  position: relative;
  margin-bottom: 1.15rem;
  background: #ffffff;
  border: 1px solid rgba(16, 42, 67, 0.08);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.32,0.72,0,1), box-shadow 0.2s cubic-bezier(0.32,0.72,0,1), border-color 0.2s cubic-bezier(0.32,0.72,0,1);
}

.box_wyszukiwarka:hover {
  transform: translateY(-2px);
  border-color: rgba(28, 149, 229, 0.3);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

/* Hide legacy float spacers and side columns */
.box_wyszukiwarka .box_promo_l,
.box_wyszukiwarka .box_promo_r,
.box_wyszukiwarka .box_wyszukiwarka_l,
.box_wyszukiwarka .box_wyszukiwarka_r,
.box_wyszukiwarka .clear5px,
.box_wyszukiwarka .clear2px {
  display: none !important;
}

/* Promoted cards only: golden accent and badge */
.box_wyszukiwarka:has(.box_promo_center),
.featured-province .box_wyszukiwarka,
.box_wyszukiwarka--promo {
  background: linear-gradient(135deg, #fffdf2 0%, #fff9e6 100%);
  border: 2px solid #f0d060;
  box-shadow: 0 8px 24px rgba(240, 208, 96, 0.18);
}

.box_wyszukiwarka:has(.box_promo_center)::before,
.featured-province .box_wyszukiwarka::before,
.box_wyszukiwarka--promo::before {
  content: 'Wyróżniony zespół';
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f0d060, #e6b800);
  color: #5a4a00;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 2;
}

.box_wyszukiwarka--regular::before {
  content: none !important;
  display: none !important;
}

.box_wyszukiwarka.box_wyszukiwarka .box_promo_center,
.box_wyszukiwarka .box_wyszukiwarka_center,
.content-area .box_wyszukiwarka .box_promo_center,
.content-area--search .box_wyszukiwarka .box_promo_center {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) repeat(4, auto);
  align-items: start;
  gap: 0.875rem;
  margin: 0;
  padding: 1.15rem 1.25rem;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.box_wyszukiwarka .box_promo_center::before,
.box_wyszukiwarka .box_wyszukiwarka_center::before {
  content: none;
  display: none;
}

.box_wyszukiwarka .box_min {
  flex: 0 0 120px;
  width: 120px;
}

.box_wyszukiwarka .box_min a {
  display: block;
}

.box_wyszukiwarka .box_min img {
  width: 100%;
  aspect-ratio: 145 / 95;
  object-fit: cover;
  border-radius: 10px;
}

.box_wyszukiwarka .box_zespol {
  flex: 1 1 260px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.box_wyszukiwarka .box_zespol_tytul a {
  color: var(--color-text-heading, #2c3e50);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.box_wyszukiwarka .box_zespol_tytul a:hover {
  color: var(--color-primary, #1c95e5);
}

.box_wyszukiwarka .box_promo_zespol_pasek {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--color-text-secondary, #666);
}

.box_wyszukiwarka .box_promo_zespol_pasek a {
  color: var(--color-primary, #1c95e5);
  font-weight: 600;
}

.box_wyszukiwarka .opis {
  color: var(--color-text-secondary, #555);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.box_wyszukiwarka .box_demo,
.box_wyszukiwarka .box_cena {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(240, 208, 96, 0.85);
}

.box_wyszukiwarka .box_demo img {
  width: 20px;
  height: 20px;
}

.box_wyszukiwarka .box_demo {
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  gap: 0.25rem;
}

.box_wyszukiwarka .box_demo--demo {
  background: #e8f8e8;
  border-color: #a7f3d0;
  color: #166534;
}

.box_wyszukiwarka .box_demo--video {
  background: #e8f0fe;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.box_wyszukiwarka .box_demo--vocal {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #334155;
  font-weight: 500;
}

.box_wyszukiwarka .box_cena span {
  color: var(--color-text-heading, #2c3e50);
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
}

.sidebar-popular__items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.sidebar-popular__items li {
  margin: 0;
}

.sidebar-popular__items a {
  display: block;
  padding: 0.375rem 0.5rem;
  border-radius: 6px;
  background: var(--color-surface-raised, #f8f9fa);
  color: var(--color-text-primary, #333);
  font-size: 0.8125rem;
  line-height: 1.5;
  transition: background 0.2s cubic-bezier(0.32,0.72,0,1), color 0.2s cubic-bezier(0.32,0.72,0,1), transform 0.2s cubic-bezier(0.32,0.72,0,1);
}

.sidebar-popular__items a:hover {
  background: #fff;
  color: var(--color-primary, #1c95e5);
  transform: translateX(2px);
}

@media (max-width: 640px) {
  .box_wyszukiwarka .box_min {
    flex-basis: 100px;
    width: 100px;
  }

  .box_wyszukiwarka .box_demo,
  .box_wyszukiwarka .box_cena {
    min-width: 36px;
    min-height: 36px;
    padding: 0 0.625rem;
  }
}

/* ============================================================
   DATEPICKER — jQuery UI Overrides
   ============================================================ */
.ui-datepicker {
  background: #fff !important;
  border: 1px solid var(--color-border-light, #ddd) !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 30px rgba(23,43,66,0.12) !important;
  padding: 0.75rem !important;
  font-family: var(--font-primary, 'Ubuntu', sans-serif) !important;
  z-index: 10000 !important;
  width: auto !important;
}

.ui-datepicker-header {
  background: var(--color-primary, #1c95e5) !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 0.5rem 0.25rem !important;
  color: #fff !important;
  font-weight: 600 !important;
}

.ui-datepicker-title {
  color: #fff !important;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
}

.ui-datepicker-prev,
.ui-datepicker-next {
  cursor: pointer !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  border-radius: 6px !important;
  width: 28px !important;
  height: 28px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #fff !important;
}

.ui-datepicker-prev {
  left: 0.375rem !important;
}

.ui-datepicker-next {
  right: 0.375rem !important;
}

.ui-datepicker-prev span,
.ui-datepicker-next span {
  display: none !important;
}

.ui-datepicker-prev::before,
.ui-datepicker-next::before {
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  color: inherit !important;
}

.ui-datepicker-prev::before {
  content: '\2039';
}

.ui-datepicker-next::before {
  content: '\203A';
}

.ui-datepicker-prev:hover,
.ui-datepicker-next:hover {
  background: rgba(255,255,255,0.2) !important;
  border: none !important;
}

.ui-datepicker th {
  font-size: 0.6875rem !important;
  font-weight: 600 !important;
  color: var(--color-text-secondary, #888) !important;
  text-transform: uppercase !important;
  padding: 0.375rem 0 !important;
}

.ui-datepicker td {
  padding: 2px !important;
}

.ui-datepicker td a,
.ui-datepicker td span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
  color: var(--color-text-primary, #333) !important;
  background: transparent !important;
  border: none !important;
  transition: background 0.15s, color 0.15s !important;
}

.ui-datepicker td a:hover {
  background: var(--color-primary, #1c95e5) !important;
  color: #fff !important;
}

.ui-datepicker .ui-state-active {
  background: var(--color-primary, #1c95e5) !important;
  color: #fff !important;
  font-weight: 700 !important;
}

.ui-datepicker .ui-state-highlight {
  background: #e8f4fd !important;
  color: var(--color-primary, #1c95e5) !important;
}

/* ============================================================
   CALENDAR — AJAX UL Styling (terminarz_ul)
   ============================================================ */
.terminarz_ul,
ul.terminarz_ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  gap: 3px !important;
}

.terminarz_ul li {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  background: var(--color-surface-raised, #f8f9fa);
  color: var(--color-text-primary, #333);
  min-height: 32px;
}

.terminarz_ul li:empty {
  background: transparent;
}

.terminarz_ul li.zajete,
.terminarz_ul li.zajete a {
  background: #fee2e2 !important;
  color: #dc2626 !important;
  font-weight: 600;
  text-decoration: none;
}

.terminarz_ul li.zajete a.tip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
  cursor: help;
}

/* ============================================================
   CALENDAR TOOLTIP — #tooltip budowany przez js/band.js
   (stare reguły żyły tylko w style/global.css, który nie jest
   ładowany na profilu zespołu)
   ============================================================ */
#tooltip {
  position: absolute;
  z-index: 9999;
  width: 220px;
  max-width: 70vw;
  color: #333;
  font-size: 0.8125rem;
  background: #fff;
  border: 2px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

#tooltip .tipBody {
  padding: 6px 10px;
  line-height: 1.45;
}

/* ============================================================
   SIDEBAR CTA — Overflow Fix
   ============================================================ */
.sidebar-cta {
  background: linear-gradient(135deg, var(--color-primary, #1c95e5) 0%, #2980b9 100%);
  color: #fff;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.sidebar-cta .btn:not(.btn--accent):not(.btn--cta-register) {
  background: #fff;
  color: var(--color-primary, #1c95e5);
  border-color: #fff;
  white-space: normal;
  word-wrap: break-word;
  font-size: 0.8125rem;
  padding: 0.625rem 0.75rem;
  line-height: 1.3;
}

/* Eye-catching Registration CTA Button */
.btn--cta-register,
.sidebar-cta .btn.btn--cta-register,
.sidebar-cta .btn.btn--accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 45%, #fbbf24 100%);
  color: #261502 !important;
  font-weight: 700;
  border: 1px solid rgba(245, 158, 11, 0.5);
  border-radius: 999px;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.32), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
  letter-spacing: 0.01em;
  padding: 0.75rem 1.25rem;
  line-height: 1.35;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none !important;
}

.btn--cta-register svg,
.sidebar-cta .btn.btn--cta-register svg,
.sidebar-cta .btn.btn--accent svg {
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.32,0.72,0,1);
}

.btn--cta-register:hover,
.sidebar-cta .btn.btn--cta-register:hover,
.sidebar-cta .btn.btn--accent:hover {
  background: linear-gradient(135deg, #b45309 0%, #d97706 45%, #f59e0b 100%);
  color: #1a0e01 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(217, 119, 6, 0.42), inset 0 1px 1px rgba(255, 255, 255, 0.7);
}

.btn--cta-register:hover svg,
.sidebar-cta .btn.btn--cta-register:hover svg,
.sidebar-cta .btn.btn--accent:hover svg {
  transform: scale(1.1) rotate(5deg);
}

.btn--cta-register:active,
.sidebar-cta .btn.btn--cta-register:active,
.sidebar-cta .btn.btn--accent:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);
}

/* Wąski sidebar: pozwól złamać długi tekst CTA na 2 linie,
   inaczej white-space:nowrap z .btn + overflow:hidden ucina
   napis i ikonę (np. /przypomnij-haslo) */
.sidebar-cta .btn.btn--cta-register,
.sidebar-cta .btn.btn--accent {
  white-space: normal;
  text-align: center;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.sidebar-cta .btn.btn--cta-register span,
.sidebar-cta .btn.btn--accent span {
  min-width: 0;
}

/* ============================================================
   LISTING HEADER — Page + Sort inline
   ============================================================ */
.listing-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.listing-header__page {
  font-size: 0.8125rem;
  background: #f0f4f8;
  padding: 0.1875rem 0.75rem;
  border-radius: 999px;
  color: var(--color-text-secondary, #666);
  white-space: nowrap;
}

/* ============================================================
   RECENTLY ADDED BANDS — Full width thumbs + hover
   ============================================================ */
.band-grid .band-card {
  flex-direction: column;
}

.band-grid .band-card__img-link {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
}

.band-grid .band-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.32,0.72,0,1), filter 0.5s cubic-bezier(0.32,0.72,0,1);
}

.band-grid .band-card:hover .band-card__img {
  transform: scale(1.06);
  filter: brightness(1.05);
}

.band-grid .band-card__img-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0,0,0,0.25), transparent);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.32,0.72,0,1);
  pointer-events: none;
}

.band-grid .band-card:hover .band-card__img-link::after {
  opacity: 1;
}

/* ============================================================
   FORGETPASS + CONTACT — Modern styling
   ============================================================ */
.admin_naglowek {
  margin-bottom: 1rem;
}

.admin_naglowek h1 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-text-heading, #2c3e50);
  margin: 0;
}

.dj_na_wesele {
  background: var(--color-surface-raised, #f8f9fa);
  border: 1px solid var(--color-border-light, #eee);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text-primary, #333);
  margin-bottom: 1rem;
}

#przypomnij2 {
  width: 100% !important;
  max-width: 480px;
  margin: 1.5rem auto !important;
  text-align: center;
}

#przypomnij2 input[type="text"],
#przypomnij2 input[name="input"] {
  width: 100% !important;
  max-width: 360px;
  padding: 0.75rem 1rem !important;
  font-size: 1rem !important;
  border: 1px solid var(--color-border-default, #ccc) !important;
  border-radius: 8px !important;
  font-family: var(--font-primary, 'Ubuntu', sans-serif) !important;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

#przypomnij2 input[type="text"]:focus,
#przypomnij2 input[name="input"]:focus {
  outline: none;
  border-color: var(--color-primary, #1c95e5) !important;
  box-shadow: 0 0 0 3px rgba(28, 149, 229, 0.12);
}

.submit_image_text,
input.submit_image_text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem !important;
  background: var(--color-primary, #1c95e5) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  font-family: var(--font-primary, 'Ubuntu', sans-serif) !important;
  cursor: pointer !important;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s !important;
  margin-top: 0.75rem !important;
}

.submit_image_text:hover,
input.submit_image_text:hover {
  background: var(--color-primary-hover, #1a5276) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(28, 149, 229, 0.3);
}

/* Contact page form */
#formularz {
  width: 100% !important;
  max-width: 560px;
}

#formularz fieldset {
  border: 1px solid var(--color-border-light, #eee) !important;
  border-radius: 10px !important;
  padding: 1.25rem !important;
  background: #fff;
}

#formularz legend {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-heading, #2c3e50);
  padding: 0 0.5rem;
}

#formularz input[type="text"],
#formularz input[type="email"],
#formularz textarea {
  width: 100% !important;
  padding: 0.625rem 0.75rem !important;
  border: 1px solid var(--color-border-default, #ccc) !important;
  border-radius: 6px !important;
  font-size: 0.875rem !important;
  font-family: var(--font-primary, 'Ubuntu', sans-serif) !important;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

#formularz input[type="text"]:focus,
#formularz input[type="email"]:focus,
#formularz textarea:focus {
  outline: none;
  border-color: var(--color-primary, #1c95e5) !important;
  box-shadow: 0 0 0 3px rgba(28, 149, 229, 0.12);
}

/* ============================================================
   SEO PHRASES — Hide URLs
   ============================================================ */
.seo-phrases li a[href*="http"],
.seo-phrases li a[href*="www."] {
  display: none;
}

/* ============================================================
   LIGHTBOX — Styling
   ============================================================ */
#jquery-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  z-index: 199999 !important;
  background: rgba(0,0,0,0.85) !important;
  backdrop-filter: blur(4px) !important;
}

#jquery-lightbox {
  font-family: var(--font-primary, 'Ubuntu', sans-serif);
  z-index: 200000 !important;
}

#lightbox-container-image-box {
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 20px 60px rgba(23,43,66,0.4) !important;
  position: relative !important;
  border: none !important;
}

#lightbox-container-image {
  background: #000;
}

#lightbox-nav {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 10 !important;
}

#lightbox-nav-btnPrev,
#lightbox-nav-btnNext {
  display: block !important;
  width: 50% !important;
  height: 100% !important;
  cursor: pointer !important;
  position: absolute !important;
  top: 0 !important;
}

#lightbox-nav-btnPrev {
  left: 0 !important;
}

#lightbox-nav-btnNext {
  right: 0 !important;
}

#lightbox-container-image-data-box {
  background: #fff !important;
  border-radius: 0 0 12px 12px !important;
  padding: 0.75rem 1rem !important;
}

#lightbox-image-details-caption {
  font-family: var(--font-primary, 'Ubuntu', sans-serif) !important;
  font-size: 0.875rem !important;
}

#lightbox-image-details-currentNumber {
  font-size: 0.75rem !important;
  color: #999 !important;
}

#lightbox-secNav-btnClose {
  cursor: pointer !important;
}

/* ============================================================
   FINAL REFINEMENTS — featured, lightbox, calendar, register
   ============================================================ */
.featured-bands {
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.featured-bands .polecane {
  min-height: 100%;
}

.featured-bands .polecane a:first-child {
  min-height: 3.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 0.875rem 0.625rem;
  text-align: center;
}

.featured-bands .polecane a:nth-child(2) {
  display: block;
  aspect-ratio: 145 / 95;
}

.featured-bands .polecane img.obramowanie {
  height: 100%;
}

.content-area .polecane a:first-child,
.content-area--search .polecane a:first-child,
.box_wyszukiwarka .box_zespol_tytul {
  padding-right: 7.25rem;
  min-height: 2.75rem;
}

.box_wyszukiwarka .box_promo_center,
.content-area .box_wyszukiwarka .box_promo_center,
.content-area--search .box_wyszukiwarka .box_promo_center {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) repeat(4, auto);
  align-items: start;
}

.box_wyszukiwarka .box_demo,
.box_wyszukiwarka .box_cena {
  align-self: start;
}

.band-grid .band-card__img-link::after,
.band-grid .band-card:hover .band-card__img-link::after {
  content: none;
  opacity: 0;
}

#jquery-lightbox {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  width: auto !important;
  max-width: calc(100vw - 2rem) !important;
  max-height: calc(100vh - 2rem) !important;
}

#lightbox-container-image-box,
#lightbox-container-image-data-box {
  max-width: calc(100vw - 2rem) !important;
}

#lightbox-image {
  max-width: calc(100vw - 2rem) !important;
  max-height: calc(100vh - 7rem) !important;
  width: auto !important;
  height: auto !important;
}

.band-calendar__months {
  align-items: start;
}

.band-calendar__month {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
  padding: 1rem;
  background: #fff;
  border: 1px solid #e6edf4;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.band-calendar__month .terminarz_ul {
  gap: 4px !important;
}

.band-calendar__month .terminarz_ul li {
  min-height: 38px;
}

.band-calendar__month .terminarz_ul li.zajete a.tip {
  border-radius: inherit;
}

.register-card {
  max-width: 760px;
  margin: 0 auto;
}

.register-card__header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.register-card__header h1 {
  color: #ffffff !important;
  font-size: 1.35rem;
  margin: 0 0 0.4rem;
}

.register-card__header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.register-form__form {
  display: grid;
  gap: 1rem;
}

.register-field {
  display: grid;
  grid-template-columns: minmax(150px, 180px) minmax(0, 1fr);
  gap: 0.75rem 1rem;
  align-items: start;
}

.register-field > label,
.register-field > span {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-heading, #2c3e50);
  padding-top: 0.75rem;
}

.register-field__control,
.register-field__control--stack {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  min-width: 0;
}

.register-form .form-input,
#form2 input[type="text"],
#form2 input[type="password"] {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--color-border-default, #cfd8e3);
  border-radius: 12px;
  background: #fff;
  font-size: 0.9375rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  box-sizing: border-box;
}

.register-form .form-input:focus,
#form2 input[type="text"]:focus,
#form2 input[type="password"]:focus {
  outline: none;
  border-color: var(--color-primary, #1c95e5);
  box-shadow: 0 0 0 4px rgba(28, 149, 229, 0.14);
}

.register-check,
#checkName {
  align-self: flex-start;
}

.register-result:empty {
  display: none;
}

.register-captcha {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.register-captcha__image {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0.5rem 0.875rem;
  background: #fff;
  border: 1px dashed var(--color-border-default, #cfd8e3);
  border-radius: 12px;
}

.reload_img {
  width: 40px;
  height: 40px;
  padding: 0.5rem;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid rgba(28, 149, 229, 0.18);
  cursor: pointer;
}

.register-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.register-checkbox input {
  margin: 0;
  width: 1.15rem;
  height: 1.15rem;
  transform: none;
}

.register-actions {
  display: flex;
  justify-content: flex-end;
}

.register-submit,
.submitbutton {
  min-width: 180px;
}

.register-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.375rem;
  height: 1.375rem;
  margin-left: 0.375rem;
}

@media (max-width: 640px) {
  .register-field {
    grid-template-columns: 1fr;
  }

  .register-field > label,
  .register-field > span {
    padding-top: 0;
  }

  .register-actions {
    justify-content: stretch;
  }

  .register-submit,
  .submitbutton,
  .register-check,
  #checkName {
    width: 100%;
  }
}

/* ============================================================
   FIXES ROUND 3 — UI refinements (batch)
   ============================================================ */

/* ---- Auth grid: homepage login / register ---- */
.section--auth {
  background: linear-gradient(135deg, #f0f8ff 0%, #e8f4fd 100%);
  border: 1px solid #d0e8f8;
  border-radius: 16px;
  padding: 1.75rem;
}

.auth-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .auth-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 2.5rem;
  }
}

.auth-grid__login,
.auth-grid__cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.auth-grid__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text-heading, #2c3e50);
  margin: 0 0 0.5rem;
}

.auth-grid__text {
  font-size: 0.9rem;
  color: var(--color-text-secondary, #666);
  margin: 0;
  line-height: 1.65;
}

.login-form--inline {
  gap: 0.5rem;
}

.auth-grid__cta .btn + .btn {
  margin-top: 0;
}

/* ---- Gallery dots: pure dots — hide number text ---- */
.band-gallery__dots {
  gap: 0.5rem;
}

.band-gallery__dot {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  border-radius: 50% !important;
  font-size: 0 !important;
  color: transparent !important;
  padding: 6px !important;
  background: var(--color-border-default, #ccc) !important;
  background-clip: content-box !important;
  border: none !important;
}

.band-gallery__dot:hover,
.band-gallery__dot.active {
  background: var(--color-primary, #1c95e5) !important;
  border-color: var(--color-primary, #1c95e5) !important;
  transform: scale(1.2);
}

/* ---- Featured bands: fix title + badge on image ---- */
.featured-bands .polecane a:first-child {
  padding: 0.75rem 0.75rem 0.5rem !important;
  min-height: 2.75rem !important;
  height: 3rem !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-align: center !important;
  align-items: unset !important;
  justify-content: unset !important;
  word-break: break-word;
  hyphens: auto;
}

/* Badge below title, on image (approx at top of image area) */
.featured-bands .polecane::before {
  content: '★' !important;
  position: absolute !important;
  top: 4.6rem !important;
  bottom: auto !important;
  right: 1.35rem !important;
  left: auto !important;
  width: 26px !important;
  height: 26px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #f0d060, #e6b800) !important;
  color: #5a4a00 !important;
  font-size: 0.85rem !important;
  line-height: 1 !important;
  box-shadow: 0 4px 12px rgba(212, 174, 96, 0.35) !important;
  z-index: 2 !important;
}

/* ---- Datepicker: arrows inline with month name ---- */
.ui-datepicker-header {
  position: relative !important;
  padding: 0.5rem 2.75rem !important;
}

.ui-datepicker-prev,
.ui-datepicker-next {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
  background: rgba(255,255,255,0.15) !important;
  border: none !important;
  outline: none !important;
}

.ui-datepicker-prev {
  left: 4px !important;
  right: auto !important;
}

.ui-datepicker-next {
  right: 4px !important;
  left: auto !important;
}

.ui-datepicker-title {
  text-align: center !important;
}

/* ---- Search form: vocal select full width ---- */
.search-form .form-select,
#search_engine .form-select,
.search-form__field .form-select {
  width: 100%;
  box-sizing: border-box;
  display: block;
}

/* ---- Band price: white-space nowrap + larger ---- */
.band-features__value--price {
  font-size: 1.375rem !important;
  font-weight: 700 !important;
  color: var(--color-primary, #1c95e5) !important;
  white-space: nowrap !important;
  line-height: 1.2 !important;
}

/* ---- Province badge: move to left so icons aren't overlapped ---- */
.box_wyszukiwarka::before {
  top: 0 !important;
  left: 0 !important;
  right: auto !important;
  border-radius: 0 0 8px 0 !important;
}

/* ---- Calendar months: strong visual separation ---- */
.band-calendar__months {
  gap: 1.5rem !important;
}

.band-calendar__month {
  background: #fff !important;
  border: 2px solid #d0e8f8 !important;
  border-radius: 14px !important;
  padding: 1.25rem !important;
  box-shadow: 0 4px 16px rgba(28, 149, 229, 0.08) !important;
}

.band-calendar__month-name {
  background: var(--color-primary, #1c95e5) !important;
  color: #fff !important;
  padding: 0.5rem 0.75rem !important;
  border-radius: 8px !important;
  text-align: center !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  margin-bottom: 0.75rem !important;
  text-transform: capitalize !important;
}

/* Calendar day of week header (added by ajax.php) */
.terminarz_header_row {
  display: contents;
}

.terminarz_ul li.th {
  font-size: 0.625rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: var(--color-text-secondary, #888) !important;
  background: transparent !important;
  letter-spacing: 0.04em;
}

/* Legend row */
.band-calendar__legend {
  display: flex;
  gap: 1rem;
  justify-content: center;
  font-size: 0.75rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.band-calendar__legend-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--color-text-secondary, #666);
}

.band-calendar__legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  flex-shrink: 0;
}

.band-calendar__legend-dot--free {
  background: var(--color-surface-raised, #f8f9fa);
  border: 1px solid #ccc;
}

.band-calendar__legend-dot--busy {
  background: #fee2e2;
  border: 1px solid #fca5a5;
}

/* ---- szukaj.php results header ---- */
.wyszukiwanie {
  display: none !important;
}

.lokalizacja_footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.5rem 0 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border-light, #eee);
}

.lokalizacja_footer_padding {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-secondary, #999);
  padding: 0;
  flex-shrink: 0;
}

#szukaj_wg {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.sortowanie {
  display: inline-block;
}

.sortowanie a {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-secondary, #666);
  letter-spacing: 0.04em;
  text-decoration: none;
}

.sortowanie a:hover {
  color: var(--color-primary, #1c95e5);
}

.float_left {
  color: var(--color-border-default, #ddd);
  font-size: 0.75rem;
  user-select: none;
}

.legenda_wyszukiwarka_1,
.legenda_wyszukiwarka_2,
.legenda_wyszukiwarka_3,
.legenda_wyszukiwarka_4 {
  display: none !important;
}

/* ---- dla-zespolow + kontakt: admin_naglowek override ---- */
.admin_naglowek {
  background: linear-gradient(135deg, var(--color-primary, #1c95e5) 0%, #1a5276 100%);
  border-radius: 10px;
  padding: 0.875rem 1.25rem;
  margin: 1.25rem 0 0.75rem;
  color: #fff;
}

.admin_naglowek h1 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.admin_naglowek:first-child {
  margin-top: 0;
}

/* ---- Lightbox: currentNumber visible but small ---- */
#lightbox-image-details-currentNumber {
  font-size: 0.8125rem !important;
  color: #888 !important;
  white-space: nowrap !important;
  display: inline-block !important;
}

#lightbox-container-image-data-box {
  min-height: 44px;
}

/* ---- Footer: ensure hyphen in logo ---- */
.site-footer .site-logo__text::before {
  content: none;
}

/* ---- Lightbox: keep caption and counter separated ---- */
#lightbox-container-image-data {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.75rem !important;
}

#lightbox-image-details {
  display: flex !important;
  align-items: baseline !important;
  gap: 0.5rem !important;
  flex-wrap: wrap !important;
}

#lightbox-secNav {
  margin-left: auto !important;
  flex-shrink: 0;
}

/* ---- Three-column pages: auth block must stack to avoid overflow ---- */
.site-main--three-col .section--auth,
.site-main--three-col .dla-zespolow-hero {
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.site-main--three-col .section--auth .auth-grid {
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

/* ---- Dla-zespolow legacy blocks: keep old inline widths inside container ---- */
.site-main--three-col .content-area [style*="float:left;width:300px"] {
  float: none !important;
  width: auto !important;
  margin-left: 0 !important;
}

/* ---- Calendar: tighten weekday row so it never bleeds into next month ---- */
.band-calendar__month {
  min-width: 0;
  overflow: hidden;
}

.band-calendar__month .terminarz_ul {
  gap: 2px !important;
}

.band-calendar__month .terminarz_ul li {
  min-width: 0;
  min-height: 34px;
  font-size: 0.75rem !important;
}

.band-calendar__month .terminarz_ul li.th {
  font-size: 0.5625rem !important;
  padding: 0.125rem 0 !important;
  letter-spacing: 0 !important;
  white-space: nowrap;
}

.band-calendar__legend-dot--free {
  background: #dcfce7;
  border: 1px solid #86efac;
}

.band-calendar__legend-dot--busy {
  background: #fee2e2;
  border: 1px solid #fca5a5;
}

/* ---- Legacy Google search page ---- */
.legacy-search-page .site-main {
  width: 100%;
}

.legacy-search-page .content-area {
  width: min(1120px, 100%);
  margin: 0 auto;
  box-sizing: border-box;
}

.legacy-search-page__hero {
  background: linear-gradient(135deg, #f0f8ff 0%, #e8f4fd 100%);
  border: 1px solid #d0e8f8;
}

.legacy-search-page__intro {
  max-width: 760px;
  margin: 0 0 1rem;
  color: var(--color-text-secondary, #666);
  line-height: 1.7;
}

.legacy-search-page__form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.legacy-search-page__field {
  flex: 1 1 340px;
  min-width: 0;
}

.legacy-search-page__field .form-input {
  width: 100%;
}

.legacy-search-page__powered {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  color: var(--color-text-secondary, #666);
}

.legacy-search-page__results {
  min-height: 320px;
}

#cse-search-results iframe,
#cse-search-results table,
#cse-search-results div {
  max-width: 100% !important;
}

@media (max-width: 767px) {
  #lightbox-container-image-data {
    align-items: flex-start !important;
  }

  .legacy-search-page__form {
    align-items: stretch;
  }

  .legacy-search-page__form .btn {
    width: 100%;
  }
}

  /* ============================================================
     PREMIUM POLISH — public surfaces and typography
     ============================================================ */
  body {
    background:
      radial-gradient(circle at top left, rgba(212, 174, 96, 0.16), transparent 26%),
      radial-gradient(circle at top right, rgba(28, 149, 229, 0.14), transparent 30%),
      linear-gradient(180deg, #fbfcfe 0%, #f5f7fb 45%, #eef2f7 100%);
  }

  .site-wrapper {
    position: relative;
    padding: 0;
    padding-bottom: 0 !important;
  }

  .site-header {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  }

  .site-header::after {
    display: none;
  }

  .site-logo__icon {
    filter: none;
  }

  .site-logo__text {
    letter-spacing: -0.025em;
  }

  .site-logo__text strong {
    text-shadow: none;
  }

  .user-bar__stat,
  .user-bar__greeting {
    color: #5d6b7d;
  }

  .main-nav {
    background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(246,249,253,0.98) 100%);
  }

  .main-nav__list {
    max-width: 1100px;
    margin: 0 auto;
  }

  .main-nav__link {
    font-weight: 600;
    letter-spacing: 0.01em;
  }

  .btn {
    border-radius: 999px;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
  }

  .btn--primary {
    background: linear-gradient(135deg, #0f71aa 0%, #1c95e5 55%, #45adf0 100%);
    border-color: transparent;
  }

  .btn--primary:hover {
    background: linear-gradient(135deg, #0c5f90 0%, #177dbf 100%);
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(28, 149, 229, 0.22);
  }

  .btn--accent {
    background: linear-gradient(135deg, #c58b28 0%, #e0b14b 52%, #f0d387 100%);
    border-color: transparent;
    color: #352407;
  }

  .btn--accent:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(197, 139, 40, 0.22);
    color: #2f2207;
  }

  .btn--outline {
    border-color: rgba(28, 149, 229, 0.26);
    background: rgba(255,255,255,0.78);
  }

  .btn--ghost {
    background: rgba(255,255,255,0.72);
  }

  .form-input,
  .form-select {
    border-radius: 14px;
    border-color: rgba(16, 42, 67, 0.14);
    background: rgba(255,255,255,0.9);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.75), 0 8px 18px rgba(15, 23, 42, 0.03);
  }

  .form-input:focus,
  .form-select:focus {
    box-shadow: 0 0 0 4px rgba(28, 149, 229, 0.12), 0 16px 30px rgba(15, 23, 42, 0.06);
  }

  .sidebar-section {
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,253,0.98) 100%);
    border: 1px solid rgba(16, 42, 67, 0.08);
    border-radius: 20px;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
    padding: 1.125rem 1rem;
  }

  .sidebar-section.sidebar-quicksearch,
  .sidebar-section.sidebar-cta,
  .sidebar-section.sidebar-promo {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  .sidebar-section__title,
  .section__title,
  .auth-grid__title,
  .band-hero__name,
  .band-features__item dt,
  .news-card__title,
  .event-list__date {
    font-family: var(--font-display, Georgia, serif);
    letter-spacing: 0.02em;
  }

  .hero {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #0f3956;
    box-shadow: 0 30px 60px rgba(13, 60, 92, 0.22);
    padding: 2.5rem 1.5rem;
  }

  .hero::after {
    right: -36px;
    bottom: -48px;
    width: 150px;
    height: 150px;
  }

  .hero__title {
    position: relative;
    z-index: 1;
    font-family: var(--font-display, Georgia, serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.04;
    letter-spacing: 0.02em;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.14);
  }

  .hero__text {
    position: relative;
    z-index: 1;
    font-size: 1rem;
    max-width: 640px;
  }

  .section {
    position: relative;
    overflow: hidden;
    padding: 1.4rem 1.5rem 1.5rem;
    border-radius: 26px;
    border: 1px solid rgba(16, 42, 67, 0.08);
    background: linear-gradient(180deg, rgba(255,255,255,0.97) 0%, rgba(248,251,255,0.98) 100%);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.06);
  }

  .section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 1.5rem;
    right: 1.5rem;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(212, 174, 96, 0.85) 28%, rgba(28, 149, 229, 0.45) 72%, transparent 100%);
  }

  .section__title {
    position: relative;
    margin-bottom: 1.15rem;
    padding-bottom: 0.9rem;
    border-bottom: none;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 600;
    line-height: 1.08;
  }

  .section__title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: clamp(84px, 14vw, 128px);
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #d2ab61 0%, var(--color-primary, #1c95e5) 100%);
  }

  .section__links a,
  .section__cta .btn {
    font-weight: 700;
  }

  .band-card,
  .news-card,
  .featured-bands .polecane,
  .content-area .box_wyszukiwarka,
  .content-area--search .box_wyszukiwarka {
    border-radius: 22px;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
  }

  .band-card,
  .news-card {
    border: 1px solid rgba(16, 42, 67, 0.08);
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,253,0.96) 100%);
  }

  .band-card:hover,
  .news-card:hover,
  .featured-bands .polecane:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 45px rgba(15, 23, 42, 0.12);
  }

  .band-card__name,
  .band-card__price,
  .news-card__title {
    color: #16324a;
  }

  .news-card {
    border-left: none;
    padding: 1.15rem 1.2rem;
  }

  .news-card__cat {
    background: linear-gradient(135deg, rgba(212,174,96,0.16) 0%, rgba(28,149,229,0.12) 100%);
    color: #8e6422;
  }

  .city-tag {
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(16, 42, 67, 0.08);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
  }

  .featured-bands .polecane {
    background: linear-gradient(180deg, #fffdf7 0%, #fff8e8 100%);
    border-color: rgba(212, 174, 96, 0.6);
  }

  .featured-bands .polecane .sprawdz_hover {
    background: linear-gradient(135deg, #1777b5 0%, #1c95e5 100%);
  }

  .featured-bands .polecane::before,
  .box_wyszukiwarka::before,
  .content-area .polecane::before,
  .content-area .box_promo_center::before {
    box-shadow: 0 10px 18px rgba(212, 174, 96, 0.22);
  }

  .auth-grid__cta,
  .auth-grid__login {
    position: relative;
  }

  .auth-grid__cta::before,
  .auth-grid__login::before {
    content: '';
    position: absolute;
    inset: -0.4rem;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(212,174,96,0.08) 0%, rgba(28,149,229,0.08) 100%);
    z-index: 0;
  }

  .auth-grid__cta > *,
  .auth-grid__login > * {
    position: relative;
    z-index: 1;
  }

  .site-footer {
    background: radial-gradient(circle at top right, rgba(212,174,96,0.14), transparent 28%), linear-gradient(180deg, #203246 0%, #172635 100%);
    border-radius: 0;
    margin-top: 0;
  }

  .site-footer__copy,
  .site-footer__nav a,
  .site-footer__seo p {
    color: rgba(255,255,255,0.78);
  }

  @media (min-width: 768px) {
    /* 5. Header: zaokrąglone TYLKO górne rogi. Nav nie zaokrągla od dołu. */
    .site-header {
      margin-top: 1rem;
      border-radius: 24px 24px 0 0;
    }

    .main-nav {
      border-radius: 0;
      box-shadow: 0 16px 30px rgba(15, 23, 42, 0.06);
    }

    .main-nav__list {
      display: flex;
      align-items: center;
      gap: 0.35rem;
      padding: 0.55rem 0.75rem;
    }

    .main-nav__link {
      border-left: none;
      border-bottom: none;
      border-radius: 999px;
      padding: 0.75rem 1rem;
    }

    .main-nav__link:hover,
    .main-nav__link--active {
      background: rgba(28, 149, 229, 0.08);
      color: var(--color-primary, #1c95e5);
      box-shadow: inset 0 0 0 1px rgba(28,149,229,0.12);
    }

    .site-header__inner {
      padding: 1rem 1.25rem 0.9rem;
    }

    .site-logo__text {
      font-size: 1.45rem;
    }

    .hero {
      padding: 3rem 2.5rem;
    }

    .section {
      padding: 1.65rem 1.75rem 1.75rem;
    }
  }

  /* ============================================================
     ARTICLE PAGE — premium article layout
     ============================================================ */
  .article-page,
  .article-panel {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
  }

  .article-page {
    padding: 0;
    overflow: hidden;
  }

  .article-page__header {
    padding: 1.7rem 1.75rem 1.2rem;
    background:
      radial-gradient(circle at top right, rgba(212, 174, 96, 0.18), transparent 28%),
      linear-gradient(135deg, rgba(15, 57, 86, 0.98) 0%, rgba(28, 149, 229, 0.94) 100%);
    color: #fff;
  }

  .article-page__eyebrow {
    margin: 0 0 0.75rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
  }

  .article-page__title {
    margin: 0;
    font-family: var(--font-display, Georgia, serif);
    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 1.02;
    letter-spacing: 0.01em;
    text-wrap: balance;
  }

  .article-page__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
    align-items: center;
    margin-top: 1rem;
  }

  .article-page__cat,
  .article-page__date {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
  }

  .article-page__cat {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    text-decoration: none;
  }

  .article-page__cat:hover {
    background: rgba(255, 255, 255, 0.24);
    color: #fff;
  }

  .article-page__date {
    background: rgba(9, 26, 40, 0.18);
    color: rgba(255, 255, 255, 0.88);
  }

  .article-page__body {
    padding: 1.6rem 1.75rem 1.8rem;
    font-size: 1.02rem;
    line-height: 1.9;
    color: #34485c;
  }

  .article-page__body > :first-child {
    margin-top: 0;
  }

  .article-page__body > :last-child {
    margin-bottom: 0;
  }

  .article-page__body h2,
  .article-page__body h3,
  .article-page__body h4 {
    margin: 1.9rem 0 0.8rem;
    color: #16324a;
    font-family: var(--font-display, Georgia, serif);
    line-height: 1.15;
  }

  .article-page__body h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
  }

  .article-page__body h3 {
    font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  }

  .article-page__body p,
  .article-page__body ul,
  .article-page__body ol,
  .article-page__body blockquote {
    margin: 0 0 1.15rem;
  }

  .article-page__body ul,
  .article-page__body ol {
    padding-left: 1.35rem;
  }

  .article-page__body li + li {
    margin-top: 0.4rem;
  }

  .article-page__body a {
    font-weight: 700;
  }

  .article-page__body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.4rem auto;
    border-radius: 18px;
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.12);
  }

  .article-page__body blockquote {
    padding: 1rem 1.1rem 1rem 1.25rem;
    border-left: 4px solid rgba(28, 149, 229, 0.32);
    border-radius: 0 18px 18px 0;
    background: rgba(28, 149, 229, 0.06);
    color: #23415a;
  }

  .article-panel {
    padding: 1.3rem 1.5rem 1.4rem;
  }

  .article-panel__title {
    margin: 0 0 0.85rem;
    font-family: var(--font-display, Georgia, serif);
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    color: #16324a;
  }

  .article-panel__text {
    margin: 0;
    color: #526171;
    line-height: 1.7;
  }

  .article-comments {
    padding: 0.2rem 0;
  }

  .article-phrases {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
  }

  .article-phrases li {
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(16, 42, 67, 0.08);
    color: #27425a;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.05);
  }

  /* ============================================================
     FEATURED BADGE + CALENDAR MONTH NAV
     ============================================================ */
  .featured-bands .polecane::before {
  content: '★' !important;
  position: absolute !important;
  top: 4.6rem !important;
  bottom: auto !important;
  right: 1.35rem !important;
  left: auto !important;
  width: 26px !important;
  height: 26px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #f0d060, #e6b800) !important;
  color: #5a4a00 !important;
  font-size: 0.85rem !important;
  line-height: 1 !important;
  box-shadow: 0 4px 12px rgba(212, 174, 96, 0.35) !important;
  z-index: 2 !important;
}

  .band-calendar__month-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0 0 1rem;
  }

  .band-calendar__month-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.8rem 1.2rem;
    border: 1px solid rgba(28, 149, 229, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: #0f71aa;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
    transition: transform 0.18s cubic-bezier(0.32,0.72,0,1), box-shadow 0.18s cubic-bezier(0.32,0.72,0,1), border-color 0.18s cubic-bezier(0.32,0.72,0,1), background 0.18s cubic-bezier(0.32,0.72,0,1);
  }

  .band-calendar__month-button:hover {
    transform: translateY(-1px);
    border-color: rgba(28, 149, 229, 0.32);
    background: #fff;
    box-shadow: 0 18px 32px rgba(28, 149, 229, 0.12);
  }

  @media (max-width: 767px) {
    .article-page__header,
    .article-page__body,
    .article-panel {
      padding-left: 1.1rem;
      padding-right: 1.1rem;
    }

    .featured-bands .polecane::before {
  content: '★' !important;
  position: absolute !important;
  top: 4.6rem !important;
  bottom: auto !important;
  right: 1.35rem !important;
  left: auto !important;
  width: 26px !important;
  height: 26px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #f0d060, #e6b800) !important;
  color: #5a4a00 !important;
  font-size: 0.85rem !important;
  line-height: 1 !important;
  box-shadow: 0 4px 12px rgba(212, 174, 96, 0.35) !important;
  z-index: 2 !important;
}

    .band-calendar__month-nav {
      flex-direction: column;
    }

    .band-calendar__month-button {
      width: 100%;
    }
  }

  /* ============================================================
     UTILITY PAGES — forgetpass, badpassword, rules
     ============================================================ */
  .utility-page {
    max-width: 780px;
    margin: 0 auto;
  }

  .utility-page--compact {
    max-width: 720px;
  }

  .utility-page__hero {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1rem;
  }

  .utility-page__eyebrow {
    margin: 0;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #0f5f90;
  }

  .utility-page__hero .section__title {
    margin-bottom: 0;
  }

  .utility-page__hero .section__title::after {
    width: 7rem;
  }

  .utility-page__lede,
  .utility-page__hint {
    margin: 0;
    color: #5a6978;
    line-height: 1.75;
  }

  .utility-page__panel {
    max-width: none;
  }

  .utility-page__notice {
    margin-bottom: 1rem;
  }

  .utility-form {
    display: grid;
    gap: 0.9rem;
  }

  .utility-form__label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-text-heading, #2c3e50);
  }

  .utility-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-top: 0.25rem;
  }

  .legal-page {
    max-width: 920px;
    margin: 0 auto;
  }

  .legal-page__panel {
    max-width: none;
  }

  .legal-page__body {
    color: #405365;
    font-size: 0.98rem;
    line-height: 1.8;
  }

  .legal-page__body p {
    margin: 0 0 1rem;
  }

  .legal-page__body strong {
    color: #17354d;
  }

  .legal-page__body a {
    font-weight: 700;
  }

  .legal-page__sublist {
    margin: 0.2rem 0 1rem 1.15rem;
    padding: 0;
  }

  .legal-page__sublist li {
    margin: 0 0 0.55rem;
  }

  @media (max-width: 767px) {
    .utility-page__actions {
      flex-direction: column;
      align-items: stretch;
    }

    .utility-page__actions .btn {
      width: 100%;
    }

    .legal-page__sublist {
      margin-left: 1rem;
    }
  }



/* ============================================================
   BAND PROFILE — in-page nav + FAQ (wireframe alignment)
   ============================================================ */
.band-nav {
  position: sticky;
  top: var(--header-h, 92px);
  z-index: 20;
  margin: 0 0 1.25rem;
  padding: 0.5rem 0;
  background: #fff;
  border-bottom: 1px solid var(--color-border-light, #e8e8e8);
  box-shadow: 0 5px 10px -8px rgba(32, 50, 70, 0.25);
}

.band-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.band-nav__link {
  display: inline-block;
  white-space: nowrap;
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-secondary, #555);
  background: var(--color-surface-raised, #f8f9fa);
  border: 1px solid var(--color-border-light, #e8e8e8);
  transition: background 0.2s, color 0.2s;
}

.band-nav__link:hover,
.band-nav__link:focus {
  background: var(--color-primary, #1c95e5);
  border-color: var(--color-primary, #1c95e5);
  color: #fff;
}

/* Smooth anchor jumps with offset for the sticky nav */
html {
  scroll-behavior: smooth;
}

.band-profile [id] {
  scroll-margin-top: calc(var(--header-h, 92px) + var(--band-nav-h, 62px) + 16px);
}

/* FAQ */
.band-faq__item {
  border: 1px solid var(--color-border-light, #e8e8e8);
  border-radius: 8px;
  padding: 0.875rem 1rem;
  margin-bottom: 0.625rem;
  background: #fff;
}

.band-faq__q {
  margin: 0 0 0.375rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text-heading, #2c3e50);
}

.band-faq__a {
  margin: 0;
}

.band-faq__a p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text-secondary, #555);
}

/* A11Y: linki w tekście muszą mieć 4.5:1 i nie polegać tylko na kolorze. */
.band-faq__a a {
  color: #0e6ea3;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.band-faq__a a:hover {
  color: #0d7bc4;
}

@media (max-width: 767px) {
  .band-nav {
    top: var(--header-h, 61px);
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .band-nav__list {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-padding-inline: 0.25rem;
    scrollbar-width: thin;
    padding: 0.25rem;
  }

  .band-nav__list > li {
    flex-shrink: 0;
  }

  .band-nav__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

.band-nav__link:focus-visible {
  outline: 2px solid var(--color-text-heading, #2c3e50);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}


/* ============================================================
   BAND PROFILE — two-column layout + sticky contact aside
   ============================================================ */
.band-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .band-layout {
    grid-template-columns: minmax(0, 1fr) 290px;
  }
}

.band-layout__main {
  min-width: 0;
}

.band-layout__aside {
  min-width: 0;
}

@media (min-width: 1024px) {
  .band-aside {
    position: sticky;
    top: calc(var(--header-h, 92px) + var(--band-nav-h, 62px) + 16px);
  }
}

.band-aside__card {
  background: #fff;
  border: 1px solid var(--color-border-light, #e8e8e8);
  border-radius: 10px;
  padding: 1.25rem;
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(23,43,66,0.08));
  margin-bottom: 0.875rem;
}

.band-aside__card--contact {
  box-shadow: none;
}

.band-aside__eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  /* A11Y: #b85c0f ma 4.59:1 na bieli (było #e67e22 — 2.85:1). */
  color: #b85c0f;
}

.band-aside__title {
  margin: 0 0 0.75rem;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text-heading, #2c3e50);
}

.band-aside__price {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
  margin: 0 0 0.875rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--color-border-light, #e8e8e8);
}

.band-aside__price-from {
  font-size: 0.8125rem;
  color: var(--color-text-secondary, #555);
}

.band-aside__price-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-price, #ee4f4f);
}

.band-aside__price-value--tbd {
  font-size: 1.0625rem;
  color: var(--color-text-secondary, #555);
}

.band-aside__facts {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.375rem;
}

.band-aside__facts li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.8125rem;
  color: var(--color-text-secondary, #555);
}

.band-aside__facts li::before {
  content: "♪";
  position: absolute;
  left: 0;
  color: var(--color-primary, #1c95e5);
}

.band-aside__actions {
  display: grid;
  gap: 0.5rem;
}

/* A11Y: przyciemniony outline na jasnej karcie (4.97:1 zamiast ~3.1:1). */
.band-aside__actions .btn--outline {
  color: #0e6ea3;
  border-color: #0e6ea3;
}

.band-aside__actions .btn--outline:hover {
  background: #0e6ea3;
  border-color: #0e6ea3;
  color: #fff;
}

.band-aside__subtitle {
  margin: 0 0 0.625rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-heading, #2c3e50);
}

.band-aside__contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.625rem;
}

.band-aside__contact-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  line-height: 1.35;
}

.band-aside__contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(28, 149, 229, 0.08);
  color: var(--color-primary, #1c95e5);
  flex-shrink: 0;
  transition: all 0.2s cubic-bezier(0.32,0.72,0,1);
}

.band-aside__contact-item:hover .band-aside__contact-icon {
  background: rgba(28, 149, 229, 0.16);
  color: var(--color-primary-dark, #0d7bc4);
}

.band-aside__contact a,
.band-aside__contact button.big-link {
  /* A11Y: #0e6ea3 ma 5.56:1 na bieli (było #1c95e5 — 3.24:1). */
  color: #0e6ea3;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s cubic-bezier(0.32,0.72,0,1);
}

.band-aside__contact a:hover,
.band-aside__contact button.big-link:hover {
  color: var(--color-primary-dark, #0d7bc4);
  text-decoration: underline;
}

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

/* ============================================================
   BAND PROFILE — pricing tiers (3 cards)
   ============================================================ */
.band-pricing__tiers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
}

@media (min-width: 700px) {
  .band-pricing__tiers { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 759px) and (min-width: 480px) {
  .band-pricing__tiers { grid-template-columns: repeat(2, 1fr); }
}

.band-pricing__tier {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-border-light, #e8e8e8);
  border-radius: 10px;
  padding: 1.125rem;
}

.band-pricing__tier--featured {
  border-color: var(--color-secondary, #e67e22);
  box-shadow: 0 4px 18px rgba(230, 126, 34, 0.12);
}

.band-pricing__tag {
  align-self: flex-start;
  margin-bottom: 0.625rem;
  padding: 0.125rem 0.625rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  /* A11Y: bieli na #b85c0f to 4.59:1 (było #e67e22 — 2.85:1). */
  background: #b85c0f;
  color: #fff;
}

.band-pricing__tag--muted {
  background: var(--color-surface-sunken, #e8e8e8);
  color: var(--color-text-secondary, #555);
}

.band-pricing__tier-title {
  margin: 0 0 0.375rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-heading, #2c3e50);
}

.band-pricing__tier-price {
  margin: 0 0 0.625rem;
  font-size: 1.0625rem;
  /* A11Y: #d43d3d ma 4.63:1 na bieli (było #ee4f4f — 3.58:1). */
  color: #d43d3d;
}

.band-pricing__tier-price strong {
  font-weight: 700;
}

.band-pricing__tier-desc {
  flex: 1;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--color-text-secondary, #555);
  margin-bottom: 0.875rem;
}

.band-pricing__tier-desc p,
.band-pricing__tier-desc ul {
  margin: 0 0 0.5rem;
}

.band-pricing__tier-desc :last-child {
  margin-bottom: 0;
}


/* ============================================================
   LISTING — section subheaders (province featured + results)
   ============================================================ */
.listing-subhead {
  margin-bottom: 1rem;
  padding-bottom: 0.625rem;
  border-bottom: 2px solid var(--color-primary, #1c95e5);
}

.listing-subhead__eyebrow {
  margin: 0 0 0.125rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-secondary, #e67e22);
}

.listing-subhead__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text-heading, #2c3e50);
}

.listing-subhead__title .listing-header__count {
  color: var(--color-text-secondary, #555);
  font-weight: 600;
}

.listing-subhead__desc {
  margin: 0.375rem 0 0;
  font-size: 0.8125rem;
  color: var(--color-text-secondary, #555);
}

.featured-province {
  margin-bottom: 1.75rem;
}

/* Wyróżnione zespoły renderują się jako poziome karty (.box_wyszukiwarka),
   więc układamy je w pionowy stos pełnej szerokości, nie w siatkę. */
.featured-province__list {
  display: block;
}

.featured-province__list .box_wyszukiwarka:last-child {
  margin-bottom: 0;
}


/* ============================================================
   FEATURED PROVINCE — refinements (badge over image, clean pills)
   ============================================================ */
/* Badge przeniesiony nad miniaturę, więc tytuł nie potrzebuje rezerwy z prawej */
.featured-province__list .box_wyszukiwarka .box_zespol_tytul {
  padding-right: 0;
  min-height: 0;
}

/* Tytuł wyróżnionego zespołu jako pełny blok */
.featured-province__list .box_wyszukiwarka .box_zespol_tytul a {
  display: inline-block;
  font-size: 1.0625rem;
}

/* Pigułka ceny "do ustalenia" — stonowana, nie krzykliwa */
.box_cena--tbd span {
  font-weight: 600 !important;
  color: var(--color-text-secondary, #555) !important;
}

.box_cena--tbd {
  background: rgba(255, 255, 255, 0.7) !important;
}

/* Opis w wyróżnionej karcie — maks. 2 linie, spójna wysokość */
.featured-province__list .box_wyszukiwarka .opis {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Lekko mocniejszy „złoty” akcent nagłówka sekcji wyróżnionych */
.featured-province .listing-subhead {
  border-bottom-color: #e6b800;
}


/* ============================================================
   FIXES — 5 poprawek (modal, layout, sidebar, header)
   ============================================================ */

/* 4. Sidebar: stara lista #pl juz nie istnieje (zastapiona przez .pl-map inline SVG). */

/* 3. band-top-grid: dwukolumnowy tylko dla "O zespole" + aside */
.band-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
  margin-bottom: 0;
}

@media (min-width: 1024px) {
  .band-top-grid {
    grid-template-columns: minmax(0, 1fr) 290px;
  }
  .band-top-grid .band-aside {
    position: sticky;
    top: 64px;
  }
}

/* Sekcje po band-top-grid: pełna szerokość (reset siatki) */
.band-top-grid + .section,
.band-top-grid ~ .section,
.band-top-grid ~ .band-player,
.band-top-grid ~ .band-gallery,
.band-top-grid ~ .band-videos,
.band-top-grid ~ .band-contact,
.band-top-grid ~ .band-calendar,
.band-top-grid ~ .band-form,
.band-top-grid ~ .band-pricing,
.band-top-grid ~ .band-faq {
  grid-column: unset;
  width: 100%;
}

/* 5. Nav zaokrąglenie — nie duplikuj media query, nadpisz tylko bottom-radius */
@media (min-width: 768px) {
  .main-nav {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }
}

/* ============================================================
   VANILLA LIGHTBOX (.lb-overlay) — replaces jQuery lightBox
   ============================================================ */
.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 300000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem;
  background: rgba(10, 20, 17, 0.88);
  backdrop-filter: blur(4px);
}

.lb-overlay.is-open {
  display: flex;
}

.lb-overlay__figure {
  margin: 0;
  max-width: min(1100px, 92vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.lb-overlay__img {
  max-width: 100%;
  max-height: calc(100vh - 8rem);
  object-fit: contain;
  border-radius: var(--radius-sm, 6px);
  box-shadow: var(--shadow-lg, 0 8px 32px rgba(0, 0, 0, 0.35));
  background: #111;
}

.lb-overlay.is-loading .lb-overlay__img {
  min-width: 220px;
  min-height: 140px;
  background: linear-gradient(110deg, #14201c 30%, #1d2f28 45%, #14201c 60%);
  background-size: 220% 100%;
  animation: lb-shimmer 1.1s linear infinite;
}

@keyframes lb-shimmer {
  to { background-position-x: -120%; }
}

.lb-overlay__caption {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  text-align: center;
  max-width: 70ch;
}

.lb-overlay__close,
.lb-overlay__nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.375rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s cubic-bezier(0.32,0.72,0,1), transform 0.2s cubic-bezier(0.32,0.72,0,1);
}

.lb-overlay__close:hover,
.lb-overlay__nav:hover {
  background: var(--color-accent, #c9a84c);
  border-color: var(--color-accent, #c9a84c);
  color: var(--color-primary, #1a3c34);
}

.lb-overlay__close {
  top: 1rem;
  right: 1rem;
}

.lb-overlay__nav--prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lb-overlay__nav--next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lb-overlay__nav--prev:hover { transform: translateY(-50%) scale(1.06); }
.lb-overlay__nav--next:hover { transform: translateY(-50%) scale(1.06); }

@media (max-width: 640px) {
  .lb-overlay__nav--prev { left: 0.5rem; }
  .lb-overlay__nav--next { right: 0.5rem; }
}

/* ============================================================
   REVEAL MODAL — open state for vanilla JS
   ============================================================ */
.reveal-modal.band-modal {
  opacity: 0;
  transition: opacity 0.25s cubic-bezier(0.32,0.72,0,1), visibility 0s linear 0.25s;
}

.reveal-modal.band-modal.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.25s cubic-bezier(0.32,0.72,0,1);
}

.reveal-modal-bg.is-open {
  display: block;
}

/* ============================================================
   NEWS ARCHIVE LISTING (news.php / newscat.php)
   ============================================================ */
.listing-header--news {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.listing-header__text {
  min-width: 0;
}

.listing-header__subtitle {
  margin: 0.25rem 0 0;
  color: var(--color-text-light, #6b6b6b);
  font-size: 0.9375rem;
}

.listing-header__back {
  white-space: nowrap;
}

.news-archive .pagination {
  margin-top: 1.5rem;
}

/* ============================================================
   AUDIO PLAYER (natywny HTML5) — profil zespołu / panel / admin
   ============================================================ */
.audio-player {
  background: var(--color-surface-raised, #f8f9fa);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-md, 12px);
  padding: 1rem;
}

.audio-player__audio {
  display: block;
  width: 100%;
  border-radius: 8px;
}

.audio-player__playlist {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.audio-player__track {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  width: 100%;
  text-align: left;
  padding: 0.55rem 0.75rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: background 0.2s cubic-bezier(0.32,0.72,0,1), border-color 0.2s cubic-bezier(0.32,0.72,0,1);
}

.audio-player__track:hover {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.07);
}

.audio-player__track.is-current {
  background: #fff;
  border-color: var(--color-accent, #c9a84c);
  color: var(--color-primary, #1a3c34);
  font-weight: 700;
}

.audio-player__index {
  flex: 0 0 auto;
  min-width: 1.4em;
  color: var(--color-text-light, #6b6b6b);
  font-size: 0.8125rem;
}

.audio-player__title {
  overflow-wrap: anywhere;
}

/* ==============================================================
   SEO 2026-09: REPERTUAR WESELNY — moduł /repertuar
   ============================================================== */

/* --- Repertuar Header --- */
.repertuar-header {
  text-align: center;
  padding: 2.5rem 1rem 1.5rem;
}

.repertuar-header__title {
  font-family: var(--font-heading, 'Cormorant Garamond', serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--color-primary, #1a3c34);
  margin: 0 0 0.75rem;
}

.repertuar-header__desc {
  font-size: 1.0625rem;
  color: var(--color-text-light, #6b6b6b);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

.repertuar-header__page {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-light, #6b6b6b);
}

/* --- Song Grid (index) --- */
.repertuar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  padding: 0 0.5rem;
}

.song-card {
  background: var(--color-white, #fff);
  border-radius: var(--radius-card, 16px);
  box-shadow: 0 2px 8px rgba(23,43,66,0.06);
  transition: box-shadow 0.2s, transform 0.2s;
  overflow: hidden;
}

.song-card:hover {
  box-shadow: 0 6px 24px rgba(23,43,66,0.1);
  transform: translateY(-2px);
}

.song-card__link {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: inherit;
}

.song-card__icon {
  flex: 0 0 auto;
  font-size: 1.75rem;
  color: var(--color-accent, #c9a84c);
  line-height: 1;
}

.song-card__body {
  flex: 1;
  min-width: 0;
}

.song-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary, #1a3c34);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.song-card__meta {
  font-size: 0.8125rem;
  color: var(--color-text-light, #6b6b6b);
  margin: 0.15rem 0 0;
}

.song-card__arrow {
  flex: 0 0 auto;
  font-size: 1.25rem;
  color: var(--color-accent, #c9a84c);
  opacity: 0.5;
  transition: opacity 0.2s;
}

.song-card:hover .song-card__arrow {
  opacity: 1;
}

/* --- Song Header (per-song page) --- */
.song-header {
  text-align: center;
  padding: 2.5rem 1rem 1.5rem;
}

.song-header__icon {
  font-size: 3rem;
  color: var(--color-accent, #c9a84c);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.song-header__title {
  font-family: var(--font-heading, 'Cormorant Garamond', serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-primary, #1a3c34);
  margin: 0 0 0.5rem;
}

.song-header__subtitle {
  font-size: 1.0625rem;
  color: var(--color-text-light, #6b6b6b);
}

/* --- Song Band Cards (per-song page) --- */
.song-bands__list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.song-band-card {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 1rem;
  align-items: center;
  background: var(--color-white, #fff);
  border-radius: var(--radius-card, 16px);
  box-shadow: 0 2px 8px rgba(23,43,66,0.06);
  padding: 1.25rem;
  transition: box-shadow 0.2s;
}

.song-band-card:hover {
  box-shadow: 0 6px 24px rgba(23,43,66,0.1);
}

.song-band-card__photo-link {
  display: block;
}

.song-band-card__photo {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius-sm, 10px);
}

.song-band-card__body {
  min-width: 0;
}

.song-band-card__name {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
}

.song-band-card__name a {
  color: var(--color-primary, #1a3c34);
  text-decoration: none;
}

.song-band-card__name a:hover {
  text-decoration: underline;
}

.song-band-card__location {
  font-size: 0.875rem;
  color: var(--color-text-light, #6b6b6b);
  margin-bottom: 0.25rem;
}

.song-band-card__province {
  opacity: 0.7;
}

.song-band-card__province::before {
  content: ', ';
}

.song-band-card__price {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent, #c9a84c);
  margin-bottom: 0.5rem;
}

.song-band-card__player {
  margin-top: 0.25rem;
}

.song-band-card__audio {
  width: 100%;
  max-width: 320px;
  height: 36px;
  border-radius: 18px;
}

.song-band-card__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
}

@media (max-width: 640px) {
  .song-band-card {
    grid-template-columns: 80px 1fr;
    gap: 0.75rem;
  }

  .song-band-card__photo {
    width: 80px;
    height: 80px;
  }

  .song-band-card__actions {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: stretch;
    align-items: stretch;
  }

  .song-band-card__actions .btn {
    flex: 1;
    text-align: center;
  }

  .song-band-card__audio {
    max-width: 100%;
  }
}

/* --- Song FAQ (reuse band-faq styling) --- */
.song-faq {
  max-width: 720px;
  margin: 2rem auto;
}

/* --- Song Back Link --- */
.song-back {
  text-align: center;
  padding: 1.5rem 0 2rem;
}

/* --- Repertuar SEO Text --- */
.repertuar-seo {
  max-width: 720px;
  margin: 1rem auto 2rem;
}

.repertuar-seo__text {
  line-height: 1.7;
  color: var(--color-text, #2d2d2d);
}

.repertuar-seo__text p {
  margin: 0 0 0.875rem;
}

/* --- Band Player Repertoire Section (profile page) --- */
.band-player__repertoire {
  margin-top: 1rem;
  padding: 0.875rem 1.25rem;
  background: var(--color-bg, #faf8f5);
  border-radius: var(--radius-sm, 10px);
  border-left: 3px solid var(--color-accent, #c9a84c);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text, #2d2d2d);
}

.band-player__repertoire a {
  color: var(--color-primary, #1a3c34);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px dotted var(--color-accent, #c9a84c);
}

.band-player__repertoire a:hover {
}

/* --- Song Header (per-song page) --- */
.song-header {
  text-align: center;
  padding: 2.5rem 1rem 1.5rem;
}

.song-header__icon {
  font-size: 3rem;
  color: var(--color-accent, #c9a84c);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.song-header__title {
  font-family: var(--font-heading, 'Cormorant Garamond', serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-primary, #1a3c34);
  margin: 0 0 0.5rem;
}

.song-header__subtitle {
  font-size: 1.0625rem;
  color: var(--color-text-light, #6b6b6b);
}

/* --- Song Band Cards (per-song page) --- */
.song-bands__list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.song-band-card {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 1rem;
  align-items: center;
  background: var(--color-white, #fff);
  border-radius: var(--radius-card, 16px);
  box-shadow: 0 2px 8px rgba(23,43,66,0.06);
  padding: 1.25rem;
  transition: box-shadow 0.2s;
}

.song-band-card:hover {
  box-shadow: 0 6px 24px rgba(23,43,66,0.1);
}

.song-band-card__photo-link {
  display: block;
}

.song-band-card__photo {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius-sm, 10px);
}

.song-band-card__body {
  min-width: 0;
}

.song-band-card__name {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
}

.song-band-card__name a {
  color: var(--color-primary, #1a3c34);
  text-decoration: none;
}

.song-band-card__name a:hover {
  text-decoration: underline;
}

.song-band-card__location {
  font-size: 0.875rem;
  color: var(--color-text-light, #6b6b6b);
  margin-bottom: 0.25rem;
}

.song-band-card__province {
  opacity: 0.7;
}

.song-band-card__province::before {
  content: ', ';
}

.song-band-card__price {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent, #c9a84c);
  margin-bottom: 0.5rem;
}

.song-band-card__player {
  margin-top: 0.25rem;
}

.song-band-card__audio {
  width: 100%;
  max-width: 320px;
  height: 36px;
  border-radius: 18px;
}

.song-band-card__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
}

@media (max-width: 640px) {
  .song-band-card {
    grid-template-columns: 80px 1fr;
    gap: 0.75rem;
  }

  .song-band-card__photo {
    width: 80px;
    height: 80px;
  }

  .song-band-card__actions {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: stretch;
    align-items: stretch;
  }

  .song-band-card__actions .btn {
    flex: 1;
    text-align: center;
  }

  .song-band-card__audio {
    max-width: 100%;
  }
}

/* --- Song FAQ (reuse band-faq styling) --- */
.song-faq {
  max-width: 720px;
  margin: 2rem auto;
}

/* --- Song Back Link --- */
.song-back {
  text-align: center;
  padding: 1.5rem 0 2rem;
}

/* --- Repertuar SEO Text --- */
.repertuar-seo {
  max-width: 720px;
  margin: 1rem auto 2rem;
}

.repertuar-seo__text {
  line-height: 1.7;
  color: var(--color-text, #2d2d2d);
}

.repertuar-seo__text p {
  margin: 0 0 0.875rem;
}

/* --- Band Player Repertoire Section (profile page) --- */
.band-player__repertoire {
  margin-top: 1rem;
  padding: 0.875rem 1.25rem;
  background: var(--color-bg, #faf8f5);
  border-radius: var(--radius-sm, 10px);
  border-left: 3px solid var(--color-accent, #c9a84c);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text, #2d2d2d);
}

.band-player__repertoire a {
  color: var(--color-primary, #1a3c34);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px dotted var(--color-accent, #c9a84c);
}

.band-player__repertoire a:hover {
  color: var(--color-accent, #c9a84c);
  border-bottom-style: solid;
}

.band-player__repertoire-link {
  display: inline-block;
  margin-top: 0.375rem;
}

/* ============================================================
   JQUERY UI / DATEPICKER STYLING
   ============================================================ */
#ui-datepicker-div {
  display: none;
  z-index: 100006 !important;
}


/* ============================================================
   SEO 2026: FAQ, LOCAL MARKET GUIDES, VIDEO HUB & STATS BADGES
   ============================================================ */
.seo-location-guide {
  background: var(--color-bg-card, #ffffff);
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 1px 3px rgba(23,43,66,0.04);
}

.seo-location-guide__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-heading, #1e293b);
  margin-bottom: 0.85rem;
}

.seo-location-guide__text {
  color: var(--color-text-body, #475569);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.stats-badges-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.stats-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #f1f5f9;
  color: #334155;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid #e2e8f0;
}

.stats-badge--price {
  background: #ecfdf5;
  color: #065f46;
  border-color: #a7f3d0;
}

.stats-badge--active {
  background: #eff6ff;
  color: #1e40af;
  border-color: #bfdbfe;
}

/* FAQ Accordion */
.faq-section {
  margin: 2.5rem 0 2rem 0;
}

.faq-section__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text-heading, #1e293b);
  margin-bottom: 1rem;
}

.faq-item {
  background: var(--color-bg-card, #ffffff);
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  transition: all 0.2s cubic-bezier(0.32,0.72,0,1);
}

.faq-item:hover {
  border-color: #cbd5e1;
}

.faq-item summary {
  font-weight: 600;
  cursor: pointer;
  color: var(--color-text-heading, #1e293b);
  font-size: 1rem;
  outline: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "▾";
  font-size: 1.1rem;
  color: #94a3b8;
  transition: transform 0.2s cubic-bezier(0.32,0.72,0,1);
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-item p {
  margin: 0.75rem 0 0 0;
  color: var(--color-text-body, #475569);
  line-height: 1.6;
  font-size: 0.9375rem;
}

.faq-item p a,
.faq-section p a,
.seo-text p a {
  color: #0d68a8;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* Video Hub Grid */
.video-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.video-card {
  background: var(--color-bg-card, #ffffff);
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(23,43,66,0.04);
  transition: transform 0.2s cubic-bezier(0.32,0.72,0,1), box-shadow 0.2s cubic-bezier(0.32,0.72,0,1);
}

.video-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(23,43,66,0.08);
}

.video-card__thumb {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  background: #000;
  overflow: hidden;
}

.video-card__thumb iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card__body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Panel layout width enhancement */
.site-wrapper.site-wrapper--panel {
  max-width: 1440px;
}

@media (min-width: 961px) {
  .site-main.site-main--panel {
    max-width: 1440px;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .site-main.site-main--panel {
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 2rem;
    padding: 1.75rem 2rem;
  }
}


/* ============================================================
   SEARCH RESULT CARDS & PROMOTED CARDS
   ============================================================ */
.box_wyszukiwarka {
  position: relative;
  margin-bottom: 1.15rem;
  background: #ffffff;
  border: 1px solid rgba(16, 42, 67, 0.08);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.32,0.72,0,1), box-shadow 0.2s cubic-bezier(0.32,0.72,0,1), border-color 0.2s cubic-bezier(0.32,0.72,0,1);
}

.box_wyszukiwarka:hover {
  transform: translateY(-2px);
  border-color: rgba(28, 149, 229, 0.3);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.box_wyszukiwarka .box_promo_l,
.box_wyszukiwarka .box_promo_r,
.box_wyszukiwarka .box_wyszukiwarka_l,
.box_wyszukiwarka .box_wyszukiwarka_r,
.box_wyszukiwarka .clear5px,
.box_wyszukiwarka .clear2px {
  display: none !important;
}

/* Promo cards: highlighted border and badge */
.box_wyszukiwarka:has(.box_promo_center),
.featured-province .box_wyszukiwarka,
.box_wyszukiwarka--promo {
  background: linear-gradient(135deg, #fffdf2 0%, #fff9e6 100%);
  border: 2px solid #f0d060;
  box-shadow: 0 8px 24px rgba(240, 208, 96, 0.18);
}

.box_wyszukiwarka:has(.box_promo_center)::before,
.featured-province .box_wyszukiwarka::before,
.box_wyszukiwarka--promo::before {
  content: 'Wyróżniony zespół';
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f0d060, #e6b800);
  color: #5a4a00;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 2;
}

.box_wyszukiwarka--regular::before {
  content: none !important;
  display: none !important;
}

.box_wyszukiwarka .box_promo_center,
.box_wyszukiwarka .box_wyszukiwarka_center,
.content-area .box_wyszukiwarka .box_promo_center,
.content-area--search .box_wyszukiwarka .box_promo_center {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) repeat(4, auto);
  align-items: start;
  gap: 0.875rem;
  margin: 0;
  padding: 1.15rem 1.25rem;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.box_wyszukiwarka .box_promo_center::before,
.box_wyszukiwarka .box_wyszukiwarka_center::before {
  content: none !important;
  display: none !important;
}

.box_wyszukiwarka .box_min {
  flex: 0 0 120px;
  width: 120px;
}

.box_wyszukiwarka .box_min a {
  display: block;
}

.box_wyszukiwarka .box_min img {
  width: 100%;
  aspect-ratio: 145 / 95;
  object-fit: cover;
  border-radius: 10px;
}

.box_wyszukiwarka .box_zespol {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.box_wyszukiwarka .box_zespol_tytul a {
  color: var(--color-text-heading, #2c3e50);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

.box_wyszukiwarka .box_zespol_tytul a:hover {
  color: var(--color-primary, #1c95e5);
}

.box_wyszukiwarka .box_promo_zespol_pasek,
.box_wyszukiwarka .box_zespol_pasek {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--color-text-secondary, #666);
}

.box_wyszukiwarka .box_promo_zespol_pasek a,
.box_wyszukiwarka .box_zespol_pasek a {
  color: var(--color-primary, #1c95e5);
  font-weight: 600;
}

.box_wyszukiwarka .opis {
  color: var(--color-text-secondary, #555);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.box_wyszukiwarka .box_demo,
.box_wyszukiwarka .box_cena {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(240, 208, 96, 0.85);
  align-self: start;
}

.box_wyszukiwarka--regular .box_demo,
.box_wyszukiwarka--regular .box_cena {
  border-color: rgba(16, 42, 67, 0.12);
}

.box_wyszukiwarka .box_demo img {
  width: 20px;
  height: 20px;
}

.box_wyszukiwarka .box_demo {
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  gap: 0.25rem;
}

.box_wyszukiwarka .box_demo--demo {
  background: #e8f8e8;
  border-color: #a7f3d0;
  color: #166534;
}

.box_wyszukiwarka .box_demo--video {
  background: #e8f0fe;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.box_wyszukiwarka .box_demo--vocal {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #334155;
  font-weight: 500;
}

.box_wyszukiwarka .box_cena span {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text-heading, #2c3e50);
}

@media (max-width: 860px) {
  .box_wyszukiwarka .box_promo_center,
  .box_wyszukiwarka .box_wyszukiwarka_center,
  .content-area .box_wyszukiwarka .box_promo_center,
  .content-area--search .box_wyszukiwarka .box_promo_center {
    grid-template-columns: 100px minmax(0, 1fr) !important;
  }

  .box_wyszukiwarka .box_demo,
  .box_wyszukiwarka .box_cena {
    justify-self: start;
  }
}


/* ============================================================
   DLA ZESPOŁÓW — MODERN LANDING STYLES
   ============================================================ */
.dla-zespolow-hero {
  position: relative;
  background: #102a43;
  border-radius: 20px;
  padding: 2.25rem 2rem;
  color: #ffffff;
  margin-bottom: 2rem;
  box-shadow: 0 16px 36px rgba(16, 42, 67, 0.15);
  text-align: left;
  overflow: hidden;
}

.dla-zespolow-hero::after {
  content: none;
}

.dz-hero__badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f7e1b1;
  margin-bottom: 0.85rem;
}

.dz-hero__title {
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.18;
  color: #ffffff;
  margin: 0 0 0.85rem;
}

.dz-hero__lead {
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  max-width: 65ch;
  margin: 0 0 1.5rem;
}

.dz-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.dz-hero__actions .btn--outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.dz-hero__actions .btn--outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  color: #ffffff;
}

/* Stats Section */
.dz-stats-section {
  margin-bottom: 2.25rem;
}

.dz-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.15rem;
  margin-top: 1.25rem;
}

.dz-stat-card {
  background: #ffffff;
  border: 1px solid rgba(16, 42, 67, 0.08);
  border-radius: 16px;
  padding: 1.35rem 1.25rem;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: transform 0.2s cubic-bezier(0.32,0.72,0,1), box-shadow 0.2s cubic-bezier(0.32,0.72,0,1), border-color 0.2s cubic-bezier(0.32,0.72,0,1);
}

.dz-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  border-color: rgba(28, 149, 229, 0.3);
}

.dz-stat-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(28, 149, 229, 0.12), rgba(28, 149, 229, 0.22));
  color: #0284c7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
}

.dz-stat-card__val {
  font-size: 1.85rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.1;
  font-family: var(--font-display, Georgia, serif);
}

.dz-stat-card__label {
  font-size: 0.92rem;
  color: #1e293b;
  font-weight: 700;
  line-height: 1.35;
}

.dz-stat-card__hint {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.35;
}

/* Benefits Section */
.dz-benefits-section {
  margin-bottom: 2.25rem;
}

.dz-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.15rem;
  margin-top: 1.25rem;
}

.dz-benefit-item {
  background: #ffffff;
  border: 1px solid rgba(16, 42, 67, 0.08);
  border-radius: 16px;
  padding: 1.4rem 1.25rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  position: relative;
  transition: transform 0.2s cubic-bezier(0.32,0.72,0,1), border-color 0.2s cubic-bezier(0.32,0.72,0,1);
}

.dz-benefit-item:hover {
  transform: translateY(-2px);
  border-color: rgba(28, 149, 229, 0.28);
}

.dz-benefit-item__num {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1c95e5;
  background: rgba(28, 149, 229, 0.09);
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.dz-benefit-item__title {
  font-size: 1.08rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.dz-benefit-item__text {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #475569;
  margin: 0;
}

/* FAQ Section */
.dz-faq-section {
  margin-bottom: 2.5rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.faq-item {
  border: 1px solid rgba(16, 42, 67, 0.08);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02);
  overflow: hidden;
  transition: border-color 0.2s cubic-bezier(0.32,0.72,0,1), box-shadow 0.2s cubic-bezier(0.32,0.72,0,1);
}

.faq-item[open] {
  border-color: rgba(28, 149, 229, 0.35);
  box-shadow: 0 6px 20px rgba(28, 149, 229, 0.06);
}

.faq-summary {
  padding: 1.1rem 1.35rem;
  font-weight: 700;
  font-size: 0.98rem;
  color: #1e293b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  list-style: none;
  transition: color 0.2s cubic-bezier(0.32,0.72,0,1);
}

.faq-summary:hover {
  color: #0284c7;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: #0284c7;
  line-height: 1;
  margin-left: 0.75rem;
}

.faq-item[open] .faq-summary::after {
  content: '−';
  color: #dc2626;
}

.faq-content {
  padding: 0 1.35rem 1.25rem;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.6;
}

.faq-content p {
  margin: 0 0 0.65rem;
}

.faq-content ul {
  margin: 0.5rem 0;
  padding-left: 1.25rem;
}

.faq-content li {
  margin-bottom: 0.35rem;
}

/* Bottom CTA Banner */
.dz-cta-bottom {
  background: linear-gradient(135deg, #f8fbff 0%, #edf5fd 100%);
  border: 1px solid rgba(28, 149, 229, 0.2);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  text-align: center;
  margin-bottom: 2rem;
  box-shadow: 0 8px 24px rgba(28, 149, 229, 0.08);
}

.dz-cta-bottom__inner {
  max-width: 600px;
  margin: 0 auto;
}

.dz-cta-bottom h2 {
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.65rem;
}

.dz-cta-bottom p {
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.5;
  margin: 0 0 1.35rem;
}

/* ============================================================
   CONTACT PAGE — Modern 2-Column Layout
   ============================================================ */
.contact-page {
  margin-bottom: 2.5rem;
}

.contact-page__header {
  margin-bottom: 2rem;
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-info-card,
.contact-form-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  padding: 1.75rem;
}

.contact-info-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

.contact-notice {
  background: linear-gradient(135deg, rgba(254, 242, 242, 0.95) 0%, rgba(255, 247, 237, 0.9) 100%);
  border: 1px solid rgba(248, 113, 113, 0.35);
  border-radius: 12px;
  padding: 1.125rem;
  margin-bottom: 1.5rem;
}

.contact-notice__badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #b91c1c;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-notice__badge svg {
  flex-shrink: 0;
  color: #dc2626;
}

.contact-notice__text {
  margin: 0;
  font-size: 0.845rem;
  line-height: 1.55;
  color: #7f1d1d;
}

.contact-notice__text strong {
  color: #991b1b;
}

.contact-card__title {
  font-family: var(--font-display, Georgia, serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.4rem;
}

.contact-card__subtitle {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0 0 1.5rem;
  line-height: 1.45;
}

.contact-channel-list {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  margin-top: 1rem;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem 0.875rem;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  transition: all 0.2s cubic-bezier(0.32,0.72,0,1);
}

.contact-channel:hover {
  background: #f1f5f9;
  border-color: #e2e8f0;
}

.contact-channel__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(28, 149, 229, 0.1);
  color: var(--color-primary, #1c95e5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-channel__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.contact-channel__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 0.15rem;
}

.contact-channel__value {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.35;
}

.contact-channel__img {
  display: inline-block;
  vertical-align: middle;
  height: 20px;
  max-width: 100%;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form .form-group {
  margin-bottom: 0;
}

.contact-form .form-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.845rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.35rem;
}

.contact-form .form-required {
  color: #dc2626;
  font-weight: 700;
}

.contact-form .form-input {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  padding: 0.65rem 0.875rem;
  font-size: 0.9rem;
  transition: all 0.2s cubic-bezier(0.32,0.72,0,1);
  background: #ffffff;
}

.contact-form .form-input:focus {
  border-color: var(--color-primary, #1c95e5);
  box-shadow: 0 0 0 3px rgba(28, 149, 229, 0.15);
  outline: none;
}

.form-group--math .form-math-wrap {
  display: flex;
  align-items: center;
}

.form-math-badge {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-right: none;
  border-radius: 10px 0 0 10px;
  padding: 0.65rem 0.875rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: #1e293b;
  letter-spacing: 0.02em;
}

.form-input--math {
  border-radius: 0 10px 10px 0 !important;
  max-width: 130px;
}

.contact-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid #f1f5f9;
}

.contact-form__footer .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.form-hint {
  font-size: 0.785rem;
  color: #64748b;
}

/* Contact Result Alerts */
.contact-alert {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 24px -2px rgba(15, 23, 42, 0.08);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.contact-alert--success {
  border-left: 5px solid #16a34a;
}

.contact-alert--error {
  border-left: 5px solid #dc2626;
}

.contact-alert__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-alert--success .contact-alert__icon {
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
}

.contact-alert--error .contact-alert__icon {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
}

.contact-alert__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.5rem;
}

.contact-alert__text {
  color: #475569;
  font-size: 0.925rem;
  line-height: 1.6;
  margin: 0 0 1.25rem;
}

.contact-alert__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ============================================================
   FIX #12 — wyróżnione (/mazowieckie): nazwa wchodzi na miniaturę (mobile)
   Przyczyna: zdublowane reguły bazowe (.box_min width:120px) nadpisywały
   wcześniejsze media (100px), więc obrazek 120px wylewał się z toru 100px
   i tytuł zachodził na foto. Ten blok jest na końcu pliku, więc wygrywa.
   ============================================================ */
/* Twarde resety — zero sztywnych szerokości/wysokości z legacy */
.box_wyszukiwarka .box_promo_center,
.box_wyszukiwarka .box_wyszukiwarka_center,
.content-area .box_wyszukiwarka .box_promo_center,
.content-area--search .box_wyszukiwarka .box_promo_center,
.featured-province__list .box_wyszukiwarka .box_promo_center {
  min-width: 0;
  width: auto;
  height: auto;
  min-height: 0;
}

.box_wyszukiwarka .box_min,
.box_wyszukiwarka .box_zespol,
.box_wyszukiwarka .box_demo,
.box_wyszukiwarka .box_cena {
  min-width: 0;
  min-height: 0;
  height: auto;
}

.box_wyszukiwarka .box_min {
  width: 120px;
  max-width: 100%;
  flex: none;
  align-self: start;
  overflow: hidden;
}

.box_wyszukiwarka .box_min a {
  display: block;
  min-width: 0;
}

.box_wyszukiwarka .box_min img {
  width: 100%;
  height: auto;
  margin: 0;
  display: block;
}

.box_wyszukiwarka .box_zespol {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

/* Tytuł nigdy nie wychodzi z własnej kolumny */
.box_wyszukiwarka .box_zespol_tytul,
.featured-province__list .box_wyszukiwarka .box_zespol_tytul {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.box_wyszukiwarka .box_zespol_tytul a,
.featured-province__list .box_wyszukiwarka .box_zespol_tytul a {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.box_wyszukiwarka .box_promo_zespol_pasek {
  height: auto;
  min-height: 0;
}

.box_wyszukiwarka .box_demo,
.box_wyszukiwarka .box_cena {
  width: auto;
  max-width: 100%;
  justify-self: start;
}

@media (max-width: 860px) {
  .box_wyszukiwarka .box_promo_center,
  .box_wyszukiwarka .box_wyszukiwarka_center,
  .content-area .box_wyszukiwarka .box_promo_center,
  .content-area--search .box_wyszukiwarka .box_promo_center,
  .featured-province__list .box_wyszukiwarka .box_promo_center {
    grid-template-columns: 96px minmax(0, 1fr) !important;
    gap: 0.75rem !important;
    padding: 0.9rem 1rem !important;
    align-items: start !important;
  }

  .box_wyszukiwarka .box_min {
    width: 96px !important;
    max-width: 96px !important;
    flex: none !important;
  }

  .box_wyszukiwarka .box_zespol {
    grid-column: 2 !important;
    min-width: 0 !important;
  }

  .box_wyszukiwarka .box_min {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  .box_wyszukiwarka .box_zespol_tytul a,
  .featured-province__list .box_wyszukiwarka .box_zespol_tytul a {
    font-size: 0.95rem !important;
    line-height: 1.35 !important;
  }

  .box_wyszukiwarka .opis {
    font-size: 0.8rem !important;
  }

  .box_wyszukiwarka .box_demo,
  .box_wyszukiwarka .box_cena {
    white-space: nowrap !important;
  }
}

@media (max-width: 480px) {
  .box_wyszukiwarka .box_promo_center,
  .box_wyszukiwarka .box_wyszukiwarka_center,
  .content-area .box_wyszukiwarka .box_promo_center,
  .content-area--search .box_wyszukiwarka .box_promo_center,
  .featured-province__list .box_wyszukiwarka .box_promo_center {
    grid-template-columns: 80px minmax(0, 1fr) !important;
    gap: 0.65rem !important;
    padding: 0.85rem !important;
  }

  .box_wyszukiwarka .box_min {
    width: 80px !important;
    max-width: 80px !important;
  }

  .box_wyszukiwarka .box_zespol_tytul a,
  .featured-province__list .box_wyszukiwarka .box_zespol_tytul a {
    font-size: 0.9rem !important;
  }

  /* Odznaka „Wyróżniony zespół” — USUNIĘTA na życzenie (FIX #13 poniżej) */
  .box_wyszukiwarka:has(.box_promo_center)::before,
  .featured-province .box_wyszukiwarka::before,
  .box_wyszukiwarka--promo::before,
  .box_wyszukiwarka::before {
    font-size: 0.6rem !important;
    padding: 0.2rem 0.5rem !important;
  }
}

/* ============================================================
   FIX #13 — całkowite usunięcie badge „Wyróżniony zespół” / „★ Wyróżniony”
   z list (np. /mazowieckie). Sam badge znika, złote obramowanie kart zostaje.
   Celowo nie ruszamy .featured-bands .polecane::before (gwiazdka na homepage).
   ============================================================ */
.content-area .box_promo_center::before,
.box_wyszukiwarka:has(.box_promo_center)::before,
.featured-province .box_wyszukiwarka::before,
.box_wyszukiwarka--promo::before,
.box_wyszukiwarka::before {
  content: none !important;
  display: none !important;
}

/* Skoro nie ma badge, nie rezerwujemy miejsca po prawej stronie tytułu */
.content-area .polecane a:first-child,
.content-area--search .polecane a:first-child,
.box_wyszukiwarka .box_zespol_tytul,
.content-area .box_wyszukiwarka .box_zespol_tytul {
  padding-right: 0 !important;
  min-height: 0 !important;
}

/* ============================================================
   FIX #11 — paginacja na /szukaj wychodziła poza wrapper.
   Przyczyna: <div style="height:45px"> nie rósł razem z zawijaną
   paginacją (sama ma padding 1.5rem góra/dół). Zamienione na
   .pagination-holder bez sztywnej wysokości + twarde zawijanie.
   ============================================================ */
.pagination-holder {
  margin: 0.5rem 0;
  padding: 0;
  min-width: 0;
  max-width: 100%;
}

.pagination-holder .pagination {
  padding: 0.75rem 0;
  max-width: 100%;
  min-width: 0;
}

/* Paginacja nigdy nie rozpycha wrappera — zawija się w wiersze */
.pagination,
nav.pagination .pagination,
.pagination-holder .pagination {
  flex-wrap: wrap !important;
  max-width: 100%;
  min-width: 0;
}

.content-area,
.site-main {
  min-width: 0;
}

@media (max-width: 640px) {
  .pagination,
  nav.pagination .pagination,
  .pagination-holder .pagination {
    gap: 0.3rem !important;
  }

  .pagination .poprzednie,
  .pagination .nastepne {
    flex: 1 1 auto;
    order: -1;
    min-height: 40px;
  }

  .pagination .poprzednie + a,
  .pagination .poprzednie + div {
    margin-left: 0;
  }
}

/* ============================================================
   FIX #20: Polecane zespoły na stronie głównej — redesign
   Zdjęcie na górze karty, badge na zdjęciu (nie na sztywnej
   pozycji), pigułkowy przycisk, wyśrodkowany nagłówek sekcji.
   ============================================================ */
#polecane {
  scroll-margin-top: 76px;
}

#polecane .section__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b8860b;
  text-align: center;
}

#polecane .section__title {
  text-align: center;
}

#polecane .section__title::after {
  left: 50%;
  transform: translateX(-50%);
}

.featured-bands {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.875rem;
  align-items: stretch;
}

@media (min-width: 640px) {
  .featured-bands {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.featured-bands .polecane {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #fff;
  border: 1px solid rgba(16, 42, 67, 0.09);
  border-radius: 18px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s cubic-bezier(0.32,0.72,0,1), box-shadow 0.25s cubic-bezier(0.32,0.72,0,1), border-color 0.25s cubic-bezier(0.32,0.72,0,1);
}

.featured-bands .polecane:hover {
  transform: translateY(-4px);
  border-color: rgba(28, 149, 229, 0.35);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

/* Gasimy legacy-gwiazdke na sztywnej pozycji — badge jest na zdjeciu. */
.featured-bands .polecane::before {
  content: none !important;
  display: none !important;
}

/* Zdjecie jako gora karty. */
.featured-bands .polecane a:nth-child(2) {
  order: -1;
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eef2f7;
}

.featured-bands .polecane img.obramowanie {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none;
  border-radius: 0;
  transition: transform 0.4s cubic-bezier(0.32,0.72,0,1);
}

.featured-bands .polecane:hover img.obramowanie {
  transform: scale(1.06);
}

/* Badge przypiety do zdjecia. */
.featured-bands .polecane a:nth-child(2)::after {
  content: '★ Polecane';
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f0d060, #e6b800);
  color: #5a4a00;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(90, 74, 0, 0.3);
  z-index: 2;
}

.featured-bands .polecane a:first-child {
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
  min-height: 2.7em !important;
  height: auto !important;
  margin: 0;
  padding: 0.8rem 0.8rem 0.55rem !important;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text-heading, #2c3e50);
  text-align: center !important;
  align-items: unset !important;
  justify-content: unset !important;
  word-break: break-word;
}

.featured-bands .polecane:hover a:first-child {
  color: var(--color-primary, #1c95e5);
}

.featured-bands .polecane .sprawdz_hover {
  display: block;
  margin: auto 0.8rem 0.85rem;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f71aa 0%, #1c95e5 55%, #45adf0 100%);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(28, 149, 229, 0.28);
  transition: filter 0.2s cubic-bezier(0.32,0.72,0,1), box-shadow 0.2s cubic-bezier(0.32,0.72,0,1);
}

.featured-bands .polecane .sprawdz_hover:hover {
  filter: brightness(1.07);
  box-shadow: 0 10px 22px rgba(28, 149, 229, 0.35);
  color: #fff;
}

.featured-bands .polecane .sprawdz_hover span {
  color: #fff;
}

/* Karta "Twoja reklama" — zasygnalizuj placeholder. */
.featured-bands .polecane:has(a[href="/kontakt"]) {
  border-style: dashed;
  border-color: rgba(16, 42, 67, 0.2);
  box-shadow: none;
}

.featured-bands .polecane:has(a[href="/kontakt"]) img.obramowanie {
  filter: grayscale(0.4);
  opacity: 0.9;
}

.featured-bands .polecane:has(a[href="/kontakt"]) a:nth-child(2)::after {
  content: 'Reklama';
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
}

@media (max-width: 480px) {
  .featured-bands {
    gap: 0.65rem;
  }

  .featured-bands .polecane {
    border-radius: 14px;
  }

  .featured-bands .polecane a:first-child {
    font-size: 0.83rem;
    padding: 0.65rem 0.55rem 0.5rem !important;
    min-height: 2.7em !important;
  }

  .featured-bands .polecane a:nth-child(2)::after {
    top: 0.45rem;
    left: 0.45rem;
    font-size: 0.58rem;
    padding: 0.22rem 0.5rem;
  }

  .featured-bands .polecane .sprawdz_hover {
    margin: auto 0.55rem 0.65rem;
    padding: 0.45rem 0.5rem;
    font-size: 0.66rem;
  }
}

.site-main--search {
  display: flex;
  flex-direction: column;
}

.site-main--search .sidebar {
  order: 2;
}

.site-main--search .content-area {
  order: 1;
}

@media (min-width: 768px) {
  .site-main--search {
    display: grid;
    grid-template-columns: 260px 1fr;
  }

  .site-main--search .sidebar {
    order: 0;
    grid-column: 1;
    grid-row: 1;
  }

  .site-main--search .content-area {
    order: 0;
    grid-column: 2;
    grid-row: 1;
  }
}

@media (min-width: 1024px) {
  .site-main--search {
    grid-template-columns: 280px 1fr;
  }
}

@media (max-width: 480px) {
  .sortowanie a,
  .listing-sort__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.375rem 0.75rem;
  }

  .city-tag {
    min-height: 44px;
    padding: 0.5rem 0.9rem;
  }

  .pagination a,
  .pagination span,
  .pagination .poprzednie,
  .pagination .nastepne {
    min-width: 44px;
    height: 44px;
  }

  .stronicowanie,
  .stronicowanieh {
    min-width: 44px;
    height: 44px;
  }
}

@media (max-width: 767px) {
  .form-input,
  .form-select,
  textarea.form-input,
  .search-quick__input,
  .search-quick__row .form-input {
    font-size: 16px !important;
  }
}

/* SEO 2026-09: Internal Linking Hub */
.seo-internal-links {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--c-surface-alt, #f8fafc);
  border: 1px solid var(--c-border, #e2e8f0);
  border-radius: var(--radius-lg, 12px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.seo-internal-links__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem 0;
  font-family: var(--font-heading, serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-primary, #0d3b66);
}

.seo-internal-links__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.seo-internal-links__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  background: #ffffff;
  border: 1px solid var(--c-border, #e2e8f0);
  border-radius: 999px;
  font-size: 0.875rem;
  color: var(--c-text, #1e293b);
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.seo-internal-links__link:hover {
  background: #f0f9ff;
  border-color: var(--c-accent, #1c95e5);
  color: var(--c-accent, #1c95e5);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(28, 149, 229, 0.15);
}

/* SEO 2026-09: City SEO Content Card */
.city-seo-content {
  margin-top: 2.5rem;
  padding: 2rem;
  background: #ffffff;
  border: 1px solid var(--c-border, #e2e8f0);
  border-radius: var(--radius-lg, 16px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.city-seo-content__header {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--c-border-light, #f1f5f9);
}

.city-seo-content__title {
  margin: 0 0 0.5rem 0;
  font-family: var(--font-heading, 'Cormorant Garamond', serif);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: var(--c-primary, #0d3b66);
  line-height: 1.25;
}

.city-seo-content__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.city-seo-content__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1e40af;
}

.city-seo-content__body {
  font-size: 0.975rem;
  line-height: 1.7;
  color: var(--c-text-muted, #475569);
}

.city-seo-content__body p {
  margin: 0 0 1rem 0;
}

.city-seo-content__body p:last-child {
  margin-bottom: 0;
}

.city-seo-content__body h2,
.city-seo-content__body h3 {
  font-family: var(--font-heading, serif);
  color: var(--c-primary, #0d3b66);
  margin: 1.5rem 0 0.75rem;
}
/* ============================================================
   PARTNER - odznaka na kafelkach list i w profilu (modul benefity za link)
   ============================================================ */
.band-card__badge--partner {
  background: #fff4d6;
  color: #8a5a00;
}

.band-card:hover .band-card__badge--partner {
  background: #8a5a00;
  color: #fff;
}

.band-hero__partner {
  margin: 0.35rem 0 0.25rem;
}

.band-partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: #fff4d6;
  color: #8a5a00;
  font-size: 0.8125rem;
  font-weight: 600;
}
