/*
Theme Name: Body And Paint
Theme URI: https://bodyandpaint.pl
Author: VW Group Polska
Description: Motyw WordPress dla programu Body and Paint - autoryzowana sieć warsztatów blacharsko-lakierniczych Grupy Volkswagen.
Version: 1.0.0
Text Domain: bodyandpaint
*/

@font-face {
  font-family: 'TheGroup Head Pro';
  src: url('assets/fonts/TheGroupHEADPro-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TheGroup Text Pro';
  src: url('assets/fonts/TheGroupTEXTPro-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TheGroup Text Pro';
  src: url('assets/fonts/TheGroupTEXTPro-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'TheGroup Text Pro', sans-serif !important;
  font-weight: 400;
}

h1, h2, h3, h4 {
  font-family: 'TheGroup Head Pro', sans-serif !important;
  font-weight: 300;
}

.icon-white {
  filter: invert(1) brightness(2);
}

/* Scrollbar for workshop list */
.custom-scrollbar::-webkit-scrollbar { width: 6px; }
.custom-scrollbar::-webkit-scrollbar-track { background: rgba(0,0,0,0.05); }
.custom-scrollbar::-webkit-scrollbar-thumb { background: #000; border-radius: 10px; }
.custom-scrollbar::-webkit-scrollbar-thumb:hover { background: #333; }

.workshop-row.active { background-color: rgba(0,0,0,0.05); }

/* Leaflet grayscale */
.leaflet-tile { filter: grayscale(100%) contrast(1.1) !important; }
.leaflet-control-attribution { display: none !important; }

/* Accordion */
.accordion-content { max-height: 0; overflow: hidden; transition: all 0.5s ease-in-out; }

/* ── Typografia treści (edytor WordPress + akordeony) ── */
/* Użyto specyficzniejszych selektorów niż reset Tailwind (0,0,1), by wygrać bez !important */

.accordion-content p,
.bp-content-area p {
  margin-bottom: 1.25rem;
}

.accordion-content ul,
.bp-content-area ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.accordion-content ol,
.bp-content-area ol {
  list-style: decimal;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.accordion-content li,
.bp-content-area li {
  margin-bottom: 0.25rem;
}

.accordion-content a,
.bp-content-area a {
  color: #8b8b8b;
  text-decoration: underline;
}

/* Rozmiar i interlinia dla obszaru treści stron */
.bp-content-area {
  font-size: 14px;
  line-height: 1.7;
}

/* Nagłówki wewnątrz treści edytora (np. "Dowiedz się więcej") */
.bp-content-area h2 {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.25;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.bp-content-area h3 {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.25;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.bp-content-area strong,
.accordion-content strong {
  font-weight: 700;
}

/* ── Blog pagination ── */
.bp-pagination .nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.bp-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid #e5e7eb;
  color: #111;
  text-decoration: none;
  transition: all .2s;
}

.bp-pagination .page-numbers:hover {
  border-color: #f0a432;
  color: #f0a432;
}

.bp-pagination .page-numbers.current {
  background: #f0a432;
  border-color: #f0a432;
  color: #000;
}

.bp-pagination .page-numbers.dots {
  border: none;
  background: transparent;
  color: #9ca3af;
}
