/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/



.ean-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.ean-post-card img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 15px;
}

.ean-post-title {
  margin: 0 0 10px;
}

.ean-post-title a {
  text-decoration: none;
  color: inherit;
}

.ean-post-cats {
  margin: 0 0 10px;
}

.ean-cat-badge {
  display: inline-block;
  background: #22292f;    /* ciemny grafit */
  color: #fff;
  padding: 4px 10px;
  margin: 0 5px 5px 0;
  font-size: 13px;
  text-transform: lowercase;
}

.ean-post-excerpt {
  margin: 0;
}

/* 💻 DESKTOP – 3 kolumny */
@media (min-width: 1024px) {
  .ean-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}



.cat-choroby {
  background: #d32f2f; /* czerwony */
}

.cat-zabiegi {
  background: #0077cc; /* niebieski */
}

.cat-porady {
  background: #388e3c; /* zielony */
}
.cat-ciekawostki {
  background: #bf7d2a; /* fiolet / ciekawostki */
}


.ean-post-views {
  font-size: 13px;
  color: #777;
  margin-bottom: 8px;
}

/* Rząd: kategorie + licznik wyświetleń */
.ean-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin: 10px 0 12px;
}

/* licznik wyświetleń obok kategorii */
.ean-post-views {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #555;
}

.ean-post-views-icon {
  font-size: 15px;
  line-height: 1;
}

.ean-post-views-label {
  white-space: nowrap;
}

/* === KONTENER PAGINACJI – WYŚRODKOWANY === */
.bricks-pagination.bricks-pagination--numbers {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  gap: 14px !important;           /* odstępy między numerami */
  margin-top: 20px !important;    /* odstęp od góry */
  margin-bottom: 20px !important; /* odstęp od dołu */
}

/* === WSPÓLNY STYL NUMERÓW STRON === */
.bricks-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  border-radius: 999px;
  color: #333;
  border: 1px solid transparent;
  transition: all 0.15s ease-in-out;
}

/* === AKTYWNA STRONA (CURRENT) === */
.bricks-pagination .page-numbers.current {
  background: #333;
  color: #fff;
  font-weight: 600;
  border-color: #111;
}

/* === HOVER NA NIEAKTYWNYCH === */
.bricks-pagination .page-numbers:not(.current):hover {
  background: #f2f2f2;
  border-color: #ddd;
}

/* === STRZAŁKI POPRZEDNIA / NASTĘPNA === */
.bricks-pagination .prev.page-numbers,
.bricks-pagination .next.page-numbers {
  font-size: 14px;
  padding: 0 8px;
}

/* === „…” – DOTS === */
.bricks-pagination .page-numbers.dots {
  min-width: auto;
  padding: 0 4px;
  border: none;
}