/*--------------------------------------------------------------
# Idealle Med – górna sekcja SZKOLENIA (zdjęcie czarno-białe w tle)
--------------------------------------------------------------*/
#hero.hero-szkolenia {
  width: 100%;
  height: auto;        /* <-- dodaj tę linię */
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px 0 60px;
  background: linear-gradient(rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.62)), url("../img/hero-bg.png") center 35% / cover no-repeat;
}

#hero.hero-szkolenia:before { display: none; }
#hero.hero-szkolenia .container { padding-top: 0; }

#hero.hero-szkolenia h1 {
  margin: 0 0 18px;
  font-family: "Playfair Display", serif;
  font-size: clamp(30px, 4.6vw, 58px);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
}

.hs-lead {
  max-width: 760px;
  margin: 0 auto 22px;
  font-size: 18px;
  line-height: 1.7;
  color: #eee;
}

.hs-list {
  max-width: 760px;
  margin: 0 auto 34px;
  padding: 0;
  list-style: none;
  font-size: 16px;
  line-height: 1.6;
  color: #cda45e;
}

.hs-list li { padding: 4px 0; }

.hs-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

.hs-btn {
  display: inline-block;
  padding: 14px 32px;
  border: 2px solid #cda45e;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.6px;
  line-height: 1;
  text-transform: uppercase;
  transition: 0.3s;
}

.hs-btn-primary { background: #cda45e; color: #14110c; }
.hs-btn-primary:hover { background: #e0bb78; border-color: #e0bb78; color: #14110c; }

@media (max-width: 575px) {
  .hs-lead { font-size: 15px; }
  .hs-list { font-size: 14px; }
}

/* Telefony: zdjęcie dopasowane do SZEROKOŚCI ekranu, więc obie twarze zawsze się mieszczą */
@media (max-width: 767px) {
  #hero.hero-szkolenia {
    background:
      linear-gradient(rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.62)),
      linear-gradient(to bottom, rgba(0, 0, 0, 0) calc(100vw * 1.5 - 150px), #000 calc(100vw * 1.5)),
      url("../img/hero-bg.jpg") center top / 100% auto no-repeat #000;
  }
}

/* --- Absolwentki --------------------------------------------------- */
.absolwentki {
  padding: 40px 0 50px;
}

.absolwentki .section-title p {
  display: block;
}

.absolwentki-intro {
  text-align: left;
  max-width: 1920px;
  margin: 8px 0 26px;
  font-size: 16px;
  color: #cfc8b8;
}

.abs-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.abs-grid a {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(205, 164, 94, 0.35);
  background: #1a1814;
}

.abs-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.5s ease;
}

.abs-grid a:hover img {
  transform: scale(1.08);
}

@media (max-width: 991px) {
  .abs-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 575px) {
  .abs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}

/* --- Baner Uniforms przeniesiony niżej ------------------------------ */
.uniforms-teaser {
  padding: 28px 0;
  background: #1a1814;
  border-top: 1px solid #37332a;
  border-bottom: 1px solid #37332a;
  text-align: center;
}

.uniforms-teaser a {
  display: inline-block;
  color: #cda45e;
}

.uniforms-teaser a:hover {
  color: #e0bb78;
}

.uniforms-teaser strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
}

.uniforms-teaser span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: #cfc8b8;
}

.hs-brand {
  display: inline-block;
  margin: 4px 0 10px;
  font-family: "Playfair Display", serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

@media (max-width: 767px) {
  .hs-brand { font-size: 28px; }
}

/* --- Zakładki (Zabiegi, Szkolenia) ----------------------------------
   Przycisk zawsze wygląda tak samo, bez pomarańczowego tła z styles.css
   i niebieskiego tekstu z Bootstrapa. */
.custom-panel-header button,
.custom-panel-header button:hover,
.custom-panel-header button:focus,
.custom-panel-header button:focus-visible,
.custom-panel-header button:active {
  background: transparent !important;
  color: #cda45e !important;
  text-decoration: none !important;
  box-shadow: none !important;
  outline: none !important;
  border: 0 !important;
}
 
/* Podświetlenie całej belki: najechanie myszą i rozwinięta pozycja */
@media (hover: hover) {
  .custom-panel-header:hover { background-color: #e9ecef; }
}
.custom-panel-header.active { background-color: #f8f9fa; }