/* --- Ogólne style, które były w pliku --- */
.auction-list { display: flex; flex-direction: column; gap: 14px; }
.auction-item { padding: 14px 16px; border-radius: 16px; background: var(--bs-body-bg, #fff); box-shadow: 0 6px 18px rgba(0, 0, 0, .06); transition: transform .18s ease, box-shadow .18s ease; }
.auction-item:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .1); }
.thumb { width: 80px; height: 60px; object-fit: cover; border-radius: 10px; display: block; }
.auction-body { min-width: 0; padding-left: .25rem; }
.auction-title { font-weight: 600; margin: 0 0 .1rem; line-height: 1.2; font-size: .875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.auction-meta { opacity: .75; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.actions { display: flex; align-items: center; gap: .35rem; flex-wrap: nowrap; justify-content: flex-end; }
.btn_1.btn-compact-xs { padding: 4px 10px; font-size: .8rem; line-height: 1.1; border-radius: 10px; white-space: nowrap; }
.btn_1.outline.btn-compact-xs { padding: 3px 10px; }
.auction-row { align-items: center; }
@media (max-width: 991.98px) {
  .thumb { width: 120px; height: 90px; }
  .actions { flex-wrap: wrap; justify-content: flex-start; gap: .5rem; margin-top: .25rem; }
}
html, body { height: 100%; }
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
footer { margin-top: auto; }
body .hero_single.inner_pages.subhero--half { position: relative; min-height: 130px !important; display: flex; align-items: center; padding: 0 !important; }
body .hero_single.inner_pages.subhero--half .opacity-mask { width: 100%; padding: 16px 0 !important; }
body .hero_single.inner_pages.subhero--half h1 { margin: 0 !important; line-height: 1.2; font-size: clamp(22px, 2.4vw, 32px); }
@media (max-width: 991.98px) {
  body .hero_single.inner_pages.subhero--half { min-height: 110px !important; }
  body .hero_single.inner_pages.subhero--half .opacity-mask { padding: 14px 0 !important; }
}
.additional_links i.bi { vertical-align: -2px; }
.card--flip .thumb { position: relative; overflow: hidden; }
.card--flip .thumb img { display: block; transition: opacity .25s ease; }
.card--flip .thumb img:nth-child(2) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.card--flip .thumb:hover img:nth-child(2) { opacity: 1; }

/*
==================================================================
OSTATECZNA POPRAWKA:
Precyzyjne nadpisanie globalnych stylów WordPressa
TYLKO na stronie z klasą body.author.
==================================================================
*/
body.author .container {
  max-width: 1140px !important;
}

@media (min-width: 1400px) {
  body.author .container {
    max-width: 1320px !important;
  }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  body.author .container {
    max-width: 960px !important;
  }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  body.author .container {
    max-width: 720px !important;
  }
}
@media (min-width: 576px) and (max-width: 767.98px) {
  body.author .container {
    max-width: 540px !important;
  }
}

/*
====================================================
Style dla siatki artystów na stronie /artysci/ (Wersja z pełnymi danymi)
====================================================
*/
.artist-tile {
    display: block;
    text-decoration: none;
    margin-bottom: 30px;
    transition: all 0.2s ease-in-out;
}

.artist-tile .main_profile {
    margin-top: 0;
    width: 100%;
    height: 100%; /* Sprawia, że kafelki w jednym rzędzie mają tę samą wysokość */
    display: flex;
    flex-direction: column;
}

.artist-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.1);
}

/* Dopasowanie nagłówka w kafelku */
.artist-tile .main_profile h1 {
    font-size: 1.3rem;
    color: var(--heading-color);
    flex-grow: 1; /* Wypełnia przestrzeń, aby przycisk był na dole */
}

/* Poprawki dla listy statystyk */
.artist-tile .main_profile ul {
    margin-bottom: 20px;
}

.artist-tile .main_profile small {
    margin-top: auto; /* Wypycha datę na sam dół kafelka */
}
/* ===========================
   PXS – Search Bar (global)
   =========================== */

:root{
  /* Zmienna z kolorem przycisku (dopasuj, jeśli chcesz) */
  --pxs-brand-pink: #ff2b86;
}

.search_bar{
  position: relative;
  max-width: 100%;
}

/* Pole tekstowe – szerokie, z miejscem na przycisk po prawej */
.search_bar .form-control,
.search_bar input[type="text"],
.search_bar input[type="search"]{
  display: block;
  width: 100%;
  height: 58px;
  line-height: 58px;
  padding: 0 136px 0 16px; /* miejsce na przycisk */
  border-radius: 12px;
  background: #fff;
}

/* Focus – delikatny akcent koloru */
.search_bar .form-control:focus,
.search_bar input[type="text"]:focus,
.search_bar input[type="search"]:focus{
  outline: none;
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--pxs-brand-pink) 20%, transparent);
  border-color: color-mix(in srgb, var(--pxs-brand-pink) 40%, #ccc);
}

/* Przycisk „Szukaj” osadzony na polu */
.search_bar input[type="submit"]{
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  height: 46px;
  line-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  background: var(--pxs-brand-pink);
  color: #fff;
  white-space: nowrap;
}

/* Hover/active */
.search_bar input[type="submit"]:hover{
  filter: brightness(0.95);
}
.search_bar input[type="submit"]:active{
  transform: translateY(-50%) scale(0.98);
}

/* Placeholder lekko przygaszony (szczególnie w hero) */
.hero_single .search_bar .form-control::placeholder{
  opacity: .8;
}

/* Małe ekrany */
@media (max-width: 575.98px){
  .search_bar .form-control,
  .search_bar input[type="text"],
  .search_bar input[type="search"]{
    height: 54px;
    line-height: 54px;
    padding-right: 118px; /* węższy przycisk */
  }
  .search_bar input[type="submit"]{
    height: 42px;
    line-height: 42px;
    padding: 0 14px;
    right: 5px;
  }
}
