/* —— Lista trenerów (ACF repeater trenerzy_repeater) —— */
.bb-kongres-trenerzy {
    --bb-kongres-accent: #c4cd26;
    --bb-kongres-text: #505050;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    padding: 0;
    list-style: none;
    color: var(--bb-kongres-text);
}

.bb-kongres-trenerzy__title {
    text-align: left;
    font-size: 30px;
    margin-top: 20px;
}
.bb-kongres-trenerzy__item {
    margin: 0;
}

.bb-kongres-trenerzy__trigger {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    color: inherit;
    text-align: center;
    cursor: pointer;
    max-width: 300px;
     margin: 0 auto;
}

.bb-kongres-trenerzy__trigger:focus-visible {
    outline: 2px solid var(--bb-kongres-accent);
    outline-offset: 4px;
}

.bb-kongres-trenerzy__photo {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 100%;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.bb-kongres-trenerzy__trigger:hover .bb-kongres-trenerzy__photo {
    transform: scale(1.02);
}

.bb-kongres-trenerzy__name {
    display: block;
    font-size: 18px;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: var(--bb-kongres-accent);
    text-underline-offset: 3px;
}

.bb-kongres-trenerzy__role {
    display: block;
    margin-top: 0.25rem;
    font-size: 14px;
    color: #555;
}

/* —— Popup trenera (natywny <dialog>) —— */
.bb-trener-modal {
    width: min(640px, calc(100vw - 2rem));
    max-height: min(85vh, 100% - 2rem);
    padding: 0;
    border: 0;
    border-radius: 10px;
    color: #505050;
    background: #fff;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.bb-trener-modal::backdrop {
    background: rgba(0, 0, 0, 0.55);
}

.bb-trener-modal__inner {
    position: relative;
    padding: 2rem;
}

.bb-trener-modal__close {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    padding: 0.25rem 0.5rem;
    border: 0;
    background: none;
    font-size: 32px;
    line-height: 1;
    color: #777;
    cursor: pointer;
}

.bb-trener-modal__close:hover {
    color: #222;
}

.bb-trener-modal__photo {
    display: block;
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 1.25rem;
    min-width: 160px;
}

.bb-trener-modal__name {
    margin: 0 0 1rem;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    background-color: #c4cd26;
    padding: 0.25rem 0.5rem;
    display: inline-block;
    border-radius: 15px;
}

.bb-trener-modal__role {
    margin: 0 0 1.5rem;
    font-size: 14px;
    color: #555;
    text-align: left;
}

.bb-trener-modal__bio {
    font-size: 14px;
    line-height: 1.6;
}

.bb-trener-modal__bio > :last-child {
    margin-bottom: 0;
}

.bb-trener-modal__link {
    margin: 1.5rem 0 0;
}

.bb-trener-modal__link a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: var(--bb-kongres-accent, #c4cd26);
    text-underline-offset: 3px;
}


.bb-trener-modal__content__desc{
    display: flex;
    flex-direction: row;
     
    gap: 50px
}
@media (max-width: 768px) {
 .bb-trener-modal__content__desc{
    flex-direction: column;
    gap: 20px;
  }
}







.bb-kongres .data-bb-btn {
  cursor: pointer;
  text-decoration: underline;
}
.bb-kongres h1 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 35px;
}
.bb-kongres__btn .button-all {
  justify-content: center;
}
.bb-kongres__content {
  margin-bottom: 30px;
  margin-top: 30px;
}
.bb-kongres__content__bg {
  width: 100%;
  height: auto;
}
.bb-kongres__content__bg img {
  width: 100%;
  height: auto;
}
.bb-kongres__content__wrap {
  display: flex;
  flex-direction: row;
  gap: 30px;
}
@media (max-width: 768px) {
  .bb-kongres__content__wrap {
    flex-direction: column;
  }
}
.bb-kongres__content__wrap__text__img {
  min-width: 40%;
  width: 40%;
  margin: 0 auto;
}
.bb-kongres__content__wrap__text__img img {
  width: auto;
  height: auto;
  max-width: 100%;
  margin-left: auto;
}
.bb-kongres__content__stat {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 16px;
  padding: 0 30px;
  margin: 30px 0px;
}
.bb-kongres__date {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 30px 20px;
  border-radius: 8px;
  background: #66655c;
  color: #fff;
  text-align: center;
}
.bb-kongres__date-day {
  font-size: 46px;
  font-weight: 700;
  line-height: 1.1;
}
.bb-kongres__date-month {
  font-size: 20px;
  font-weight: 700;
}
.bb-kongres__date-place {
  margin-top: 16px;
  font-size: 17px;
  letter-spacing: 0.02em;
}
.bb-kongres__box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 22px 16px;
  border: 3px solid #dcdcdc;
  border-radius: 8px;
  color: #55554e;
  text-align: center;
}
.bb-kongres__box-value {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
}
.bb-kongres__box-label {
  font-size: 17px;
  line-height: 1.3;
}
.bb-kongres__table {
  overflow-x: auto;
  margin-top: 30px;
}
.bb-kongres__table h2 {
  font-size: 20px;
  font-weight: 700;
  color: #55554e;
  margin-bottom: 10px;
  text-align: center;
}
.bb-kongres__table .custom-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15px;
  color: #55554e;
}
.bb-kongres__table .custom-table th {
  padding: 14px 16px;
  background: #66655c;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: left;
  line-height: 1.3;
}
.bb-kongres__table .custom-table td {
  padding: 14px 16px;
  border-right: 1px solid #dcdcdc;
  border-bottom: 1px solid #dcdcdc;
  background: #fff;
  line-height: 1.45;
  vertical-align: middle;
}
.bb-kongres__table .custom-table td:first-child {
  border-left: 1px solid #dcdcdc;
}
.bb-kongres__table .custom-table td b {
  display: inline-block;
  margin-top: 2px;
  color: #55554e;
  font-weight: 700;
}
.bb-kongres__table .custom-table td[onclick] {
  color: #82795e;
  transition: background 0.15s ease;
}
.bb-kongres__table .custom-table td[onclick]:hover {
  background: #faf9f6;
}
.bb-kongres__table .custom-table td[colspan="4"] {
  color: #82795e;
  font-weight: 500;
}
.bb-kongres__table .custom-table .sticky {
  position: sticky;
  left: 0;
  z-index: 1;
}
.bb-kongres__table .custom-table th.sticky {
  z-index: 2;
}
@media (max-width: 768px) {
  .bb-kongres__table .custom-table {
    font-size: 14px;
  }
  .bb-kongres__table .custom-table th,
  .bb-kongres__table .custom-table td {
    padding: 10px 12px;
  }
}
.bb-kongres__meet {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: stretch;
  color: #55554e;
  margin-top: 30px;
  margin-bottom: 30px;
}
.bb-kongres__meet-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bb-kongres__meet-info, .bb-kongres__meet-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 40px;
}
.bb-kongres__meet-info {
  background: #dededf;
  font-size: 16px;
  line-height: 1.5;
}
.bb-kongres__meet-info p {
  margin: 0;
}
.bb-kongres__meet-info span {
  color: #82795e;
}
.bb-kongres__meet-cta {
  background: #c7d321;
  font-size: 19px;
  line-height: 1.6;
  text-align: center;
}
.bb-kongres__meet-cta p {
  margin: 0;
}
@media (max-width: 768px) {
  .bb-kongres__meet {
    grid-template-columns: 1fr;
  }
  .bb-kongres__meet-img img {
    height: 240px;
  }
  .bb-kongres__meet-info, .bb-kongres__meet-cta {
    padding: 28px 24px;
  }
}
@media (max-width: 768px) {
  .bb-kongres__content__stat {
    grid-template-columns: 1fr 1fr;
  }
  .bb-kongres__date {
    grid-row: auto;
    grid-column: span 2;
