/* Merged: custom.css + custom-2.css (exact duplicates removed) */

:root {
  --bs-info-rgb-cust: 23, 162, 184;
}

.form-check-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  text-transform: none;
  letter-spacing: 1px;
  color: #555;
  margin-bottom: 10px;
  cursor: pointer;
}

.fbox-content-cust h3 {
  font-size: 1rem;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  text-transform: none;
  margin-bottom: 0;
  color: #333;
}

.fbox-content-cust h3 span.subtitle {
  display: block;
  margin-top: 5px;
  color: #444;
  font-weight: 500;
  text-transform: none;
}

.text-white-50-cust {
  --bs-text-opacity: 1;
  color: rgba(255, 255, 255, 0.9) !important;
}

.op-05-cust,
.h-op-05-cust:hover {
  opacity: 0.9 !important;
}

.fw-normal-cust {
  font-weight: 500;
  color: rgba(255, 255, 255, 900) !important;
}

.btn-success-cust {
  color: #fff;
  background-color: #BED3F3;
  border-color: #BED3F3;
}

.bg-info-cust {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-info-rgb-cust), var(--bs-bg-opacity)) !important;
}

.bg-info-cust2 {
  --bs-bg-opacity: 1;
  background-color: rgba(254, 157, 134, 0.7); /* Jura Pn. */
}

.bg-info-cust3 {
  --bs-bg-opacity: 1;
  background-color: rgba(240, 219, 129, 0.7); /* Dolinki Podkrakowskie */
}

.bg-info-cust4 {
  --bs-bg-opacity: 1;
  background-color: rgba(121, 134, 203, 0.6); /* Sokoliki */
}

.bg-info-cust5 {
  --bs-bg-opacity: 1;
  background-color: rgba(0, 128, 0, 0.5);
}

.bg-info-cust6 {
  background-color: #ffc107;
}

.4msc {
  color: rgba(0, 135, 68, 0.8) !important;
}

#page-title-cust h1 {
  padding: 0;
  margin: 0;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 1px;
  color: #FFFFFF;
  font-size: 2rem;
  text-transform: uppercase;
}

#page-title-cust span {
  display: block;
  margin-top: 10px;
  font-weight: 300;
  color: #FFFFFF;
  font-size: 1.125rem;
}

.svg-underline,
.svg-underline span {
  display: inline-block;
  position: relative;
  z-index: 1;
}

.svg-underline.not-animated,
.svg-underline[data-animate]:not(.animated) {
  opacity: 1;
}

.svg-underline::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 13px;
  background-image: url("../images/underline.svg");
  background-size: 100% 13px;
  background-position: bottom center;
  opacity: 0.7;
}

.svg-underline[data-animate]::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 13px;
  background: #FFF;
  right: 0;
  bottom: 0;
  -webkit-transition: width 1s cubic-bezier(0.215, 0.61, 0.355, 1);
  -moz-transition: width 1s cubic-bezier(0.215, 0.61, 0.355, 1);
  -o-transition: width 1s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition: width 1s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.dark .svg-underline::before {
  opacity: 0.7;
  background-image: url("../images/underline_dark.svg");
}

.custom-bg,
.custom-bg .svg-underline::after {
  background-color: var(--custom-bg);
}

.svg-underline.svg-underline-animated::after {
  width: 0;
}

.font-secondary {
  font-family: "Roboto";
  font-weight: 400 !important;
} 

.menu-carousel .heading-block h3 {
  font-size: 34px;
}

.menu-carousel .heading-block p {
  margin-top: 15px;
  color: #888;
}

.menu-carousel .heading-block .food-info {
  font-family: "Poppins";
  color: #BBB;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 400;
  letter-spacing: 2px;
}

@media screen and (max-width: 600px) {
  .hide-on-mobile {
    background: none !important;
  }
}

.content-wrap-cust1 {
  position: relative;
  padding: 40px 0;
  overflow: hidden;
}

.content-wrap-cust2{
  position: relative;
  padding: 20px 0;
  overflow: hidden;
}

/* Mobile: mniejszy padding */
@media (max-width: 576px){
  .content-wrap-cust2{
    padding: 10px 0;
  }
}


@media screen and (max-width: 600px) {
  .col-mb-80-cust1 {
    --col-mb: 10px;
  }
}

@media screen and (max-width: 576px) {
  .col-mb-80-cust1 {
    --col-mb: 5px;
  }
}

@media screen and (max-width: 600px) {
  .entry-cust1::after {
    content: "";
    position: relative;
    height: 2px;
    margin-top: 10px;
    background-color: #F5F5F5;
  }
}

.entry-title-cust1 h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.heading-block-cust1 h1 {
  margin-bottom: 0;
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #333;
}

.heading-block-cust1 {
  margin-bottom: 50px;
}

.heading-block-cust1 h1 + span {
  font-size: 17px;
}


@media (min-width: 768px) {
  .menu-carousel .heading-block h3 {
    font-size: 48px;
  }
  .heading-block-cust1 h1 {
    font-size: 1.75rem;
  }
  .heading-block-cust1 h1 + span {
    font-size: 1.25rem;
  }
}

.heading-block-cust1 > span:not(.before-heading) {
  display: block;
  margin-top: 10px;
  font-weight: 300;
  color: #777;
}

.heading-block-cust1 .before-heading {
  margin-bottom: 7px;
}

.text-center .heading-block-cust1 > span {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.heading-block-cust1.center > span,
.heading-block-cust1.text-center > span,
.center .heading-block-cust1 > span,
.text-center .heading-block-cust1 > span {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.heading-block-cust1::after {
  content: "";
  display: block;
  margin-top: 30px;
  width: 40px;
  border-top: 2px solid #444;
}

.entry-title-cust2 h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.page-title-cust h1 {
  padding: 0;
  margin: 0;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 1px;
  color: #FFFFFF;
  font-size: 2rem;
  text-transform: uppercase;
}

.page-title-cust span {
  display: block;
  margin-top: 10px;
  font-weight: 300;
  color: #FFFFFF;
  font-size: 1.125rem;
}

.button-mini-cust {
  padding: 4px 10px;
  font-size: 11px;
  line-height: 13px;
}

.promo-cust h4 {
  font-weight: bold;
  margin-bottom: 0;
}

.promo-cust h4 + span {
  display: block;
  color: #444;
  font-weight: 300;
  font-size: 1.125rem;
  margin-top: 6px;
}

.promo-dark-cust {
  border: 0 !important;
  background-color: #333;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
  border-radius: 3px;
}

.promo-dark-cust h4 {
  color: #FFF;
}

.promo-dark-cust h4 + span {
  color: #EEE;
  font-weight: 800;
}
/* stara klasa z szarym tłem */
/*
.toggle-bg-cust .toggle-header {
  background-color: #eeefee;
  margin: 0;
  padding: 0.75rem;
  border-radius: 2px;
}
*/
/* nowa klasa tła dla toggle */
/* Toggle – wersja techniczna / wyróżniona */
.toggle-bg-cust .toggle-header {
  background-color: #f3f5f3; /* jaśniejsze, czystsze niż szare */
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 4px;
  border-left: 4px solid rgba(60, 80, 65, 0.35); /* subtelny akcent */
  transition: background-color 0.2s ease;
}

/* Hover – lekki feedback */
.toggle-bg-cust .toggle-header:hover {
  background-color: #eef1ee;
}

.p-md-5-cust {
  padding: 2rem !important;
}

.mb-5-cust {
  margin-bottom: 2rem !important;
}

@media (max-width: 576px) {
  .p-md-5-cust {
    padding: 1rem !important;
  }

  .mb-5-cust {
    margin-bottom: 1rem !important;
  }
}

/* ---- from custom-2.css ---- */

.link-3:hover::after,.link-3:hover::before {
  transition-timing-function: cubic-bezier(0.7,0,0.2,1);
}

.d-grid {
  grid-template-columns: repeat(auto-fill,minmax(280px,1fr));
  grid-auto-rows: 200px;
  grid-gap: 2rem;
  list-style: none;
}

.d-grid-item {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: left;
  position: relative;
}

.link {
  position: relative;
  cursor: pointer;
  white-space: nowrap;
  color: #333;
  font-size: 1.125rem;
  font-family: Roboto,sans-serif;
}

.link::after,.link::before {
  position: absolute;
  width: 100%;
  height: 1px;
  background: currentColor;
  top: 100%;
  left: 0;
  pointer-events: none;
}

.link::before {
  content: "";
}

.link-3::before {
  transform-origin: 100% 50%;
  transform: scale3d(0,1,1);
  transition: transform .3s cubic-bezier(.2, 1, .8, 1);
}

.link-3:hover::before {
  transform-origin: 0% 50%;
  transform: scale3d(1,2,1);
}

.link-3::after {
  content: "";
  top: calc(100% + 4px);
  transform-origin: 100% 50%;
  transform: scale3d(0,1,1);
  transition: transform .4s cubic-bezier(.2, 1, .8, 1) .1s;
}

.link-3:hover::after {
  transform-origin: 0% 50%;
  transform: scale3d(1,1,1);
}

.block-misc-tooltip h1,.block-misc-tooltip h2,.block-misc-tooltip h3,.block-misc-tooltip h4,.block-misc-tooltip h5,.block-misc-tooltip h6 {
  font-family: "Arima Madurai",cursive;
}

.block-misc-tooltip .tooltip-highlighted {
  padding: 0 5px;
  background-color: #f0f3bd;
  cursor: pointer;
}

.tooltip-inner {
  width: auto;
  max-width: 350px;
  padding: 8px;
}

@media (min-width:768px) {
  .feature-box-border-horizontal .feature-box {
    position: relative;
  }
  .feature-box-border-horizontal .feature-box:not(.noborder) .fbox-icon::before,.feature-box-border-horizontal.border-hover-animate .feature-box:not(.noborder) .fbox-icon::after {
    content: "";
    position: absolute;
    top: 31px;
    left: calc(50% + 32px);
    width: calc(100% - 64px);
    height: 2px;
    border: 1px solid #eee;
    z-index: 0;
  }
  .feature-box-border-horizontal.border-dashed .feature-box:not(.noborder) .fbox-icon::before,.feature-box-border-horizontal.border-dashed.border-hover-animate .feature-box:not(.noborder) .fbox-icon::after {
    border-style: dashed;
  }
  .feature-box-border-horizontal.border-hover-animate .feature-box:not(.noborder) .fbox-icon::after {
    display: block;
    border-color: #222;
    width: 0;
    transform-origin: top left;
    transition: width .3s ease-in-out;
  }
  .feature-box-border-horizontal.border-hover-animate .feature-box:not(.noborder):hover .fbox-icon::after {
    width: calc(100% - 64px);
  }
  .feature-box-border-horizontal .fbox-border.fbox-light .fbox-icon i,.feature-box-border-horizontal .fbox-icon i {
    line-height: 60px;
    font-size: 24px;
    z-index: 1;
    text-align: center;
    box-shadow: 0 0 0 10px #fff;
  }
  .feature-box-border-horizontal .feature-box.flex-column:not(.noborder) .fbox-icon::before,.feature-box-border-horizontal.border-hover-animate .feature-box.flex-column:not(.noborder) .fbox-icon::after {
    left: calc(0% + 100px);
  }
}

.feature-box-border-vertical .feature-box {
  position: relative;
}

.feature-box-border-vertical .feature-box:not(.noborder)::before,.feature-box-border-vertical.border-hover-animate .feature-box:not(.noborder)::after {
  content: "";
  position: absolute;
  top: calc(64px + 13px);
  left: 59px;
  width: 2px;
  height: calc(100% - 90px);
  background-color: #eee;
  z-index: 0;
}

.feature-box-border-vertical.border-hover-animate .feature-box:not(.noborder)::after {
  background-color: #0f6458;
  height: 0;
  transition: height .3s ease-in-out;
}

.feature-box-border-vertical .feature-box:first-child:not(.noborder)::before {
  background-color: #0f6458;
}

.feature-box-border-vertical.border-hover-animate .feature-box:hover:not(.noborder)::after {
  height: calc(100% - 90px);
}

.feature-box-border-vertical .fbox-border.fbox-light .fbox-icon i,.feature-box-border-vertical .fbox-icon i {
  line-height: 60px;
  font-size: 24px;
  z-index: 1;
  text-align: center;
}

.form-group>label.error {
  display: block !important;
  text-transform: none;
}

.form-group input.valid~label.error,.form-group input[type=email]~label.error,.form-group input[type=number]~label.error,.form-group input[type=text]~label.error,.form-group select~label.error {
  display: none !important;
}

.calories-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}

/* =========================================
   A11Y/SEO: lepszy kontrast linków w treści
   ========================================= */

/* Linki w treści (bez przycisków i menu) */
.entry-content a:not(.button):not(.menu-link) {
  color: #0474C4;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

/* Hover/focus – nadal czytelne + widoczny fokus klawiaturą */
.entry-content a:not(.button):not(.menu-link):hover,
.entry-content a:not(.button):not(.menu-link):focus-visible {
  color: #035FA3; /* minimalnie ciemniej niż #0474C4 */
  text-decoration-thickness: 3px;
}

.entry-content a:not(.button):not(.menu-link):focus-visible {
  outline: 2px solid #0474C4;
  outline-offset: 2px;
  border-radius: 2px;
}

/* =========================================
   Naprawa kontrastu przycisku "button-dark button-border"
   (u Ciebie na hover robi się ciemny i tekst znika)
   ========================================= */

a.button.button-dark.button-border {
  color: #0474C4 !important;
}

@media (hover: hover) and (pointer: fine) {
  a.button.button-dark.button-border:hover {
    background-color: #333 !important;
    border-color: #333 !important;
    color: #fff !important;
  }
}

/* focus zostaw bez media query, bo dotyczy klawiatury */
a.button.button-dark.button-border:focus,
a.button.button-dark.button-border:focus-visible,
a.button.button-dark.button-border:active {
  background-color: #333 !important;
  border-color: #333 !important;
  color: #fff !important;
}
a.button.button-dark.button-border:focus-visible {
  outline: 2px solid #0474C4;
  outline-offset: 3px;
}

a.button.button-dark.button-border i {
  color: inherit !important;
}

/* Linki w treści (p, li) – bardziej widoczne i czytelne */
#content p a:not(.button):not(.more-link),
#content li a:not(.button):not(.more-link) {
  color: #0474C4;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

/* Kafelki kursów – link "więcej" ma wyglądać jak reszta tekstu (główna czcionka) */
.course-card a.more-link {
  font-family: inherit;          /* dziedziczy Istock Web z rodzica */
  font-style: italic;            /* jeśli chcesz bez kursywy */
  font-weight: 400;
  color: #0474C4;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}


/* Hover/focus */
#content p a:not(.button):hover,
#content li a:not(.button):hover,
#content p a:not(.button):focus,
#content li a:not(.button):focus {
  color: #035a98;
  text-decoration-thickness: 3px;
}

/* =========================
   MENU – dopasowanie do index
   Accent: #0474C4
   Dropdown bg (index): #2D3134
   ========================= */

:root{
  --trecime-accent: #0474C4;
  --trecime-dropdown-bg: rgba(45, 49, 52, 0.98); /* ~#2D3134 */
  --trecime-mobile-bg: #373A3D; /* zbliżone do index mobile */
}

/* 1) Desktop: dropdown ciemny + biały tekst (jak na stronie głównej) */
@media (min-width: 992px){
  /* aktywny/hover top-level: tylko kolor (bez jasnych teł) */
  #primary-menu .menu-container > .menu-item > .menu-link{
    background: transparent;
  }

  #primary-menu .menu-container > .menu-item:hover > .menu-link,
  #primary-menu .menu-container > .menu-item.current > .menu-link,
  #primary-menu .menu-container > .menu-item.active > .menu-link{
    background: transparent;
    color: var(--trecime-accent);
  }

  /* dropdown */
  #primary-menu .sub-menu-container{
    background: var(--trecime-dropdown-bg);
    border-top: 0 !important;          /* usuń kolorową kreskę */
    padding: 8px 0;
  }

  #primary-menu .sub-menu-container .menu-item > .menu-link{
    color: #fff;
    font-weight: 700;
  }

  #primary-menu .sub-menu-container .menu-item.current > .menu-link{
    color: var(--trecime-accent);
  }

  #primary-menu .sub-menu-container .menu-item:not(:first-child){
    border-top: 1px solid rgba(255,255,255,0.12);
  }

  #primary-menu .sub-menu-container .menu-item:hover > .menu-link{
    background: rgba(255,255,255,0.06);
    color: #fff;
  }
}

/* 2) Mobile: submenu NIE może dziedziczyć color:#666 ze style.css */
@media (max-width: 991.98px){
  /* tło off-canvas jak na index mobile */
  #header .mobile-menu-off-canvas .menu-container{
    background: var(--trecime-mobile-bg) !important;
  }

  /* kluczowy fix: style.css ustawia submenu linkom color:#666 (stąd "wyszarzenie") */
  #header .sub-menu-container .menu-item > .menu-link{
    color: rgba(255,255,255,0.95) !important;
  }

  #header .sub-menu-container .menu-item > .menu-link:hover,
  #header .sub-menu-container .menu-item.current > .menu-link{
    color: var(--trecime-accent) !important;
  }

  /* separatory w submenu na ciemnym tle */
  #header .sub-menu-container,
  #header .mega-menu-content{
    border-top-color: rgba(255,255,255,0.15) !important;
  }
}

@media (min-width: 992px) {
  /* tylko stan nad sliderem (nie sticky) */
  #header.dark:not(.sticky-header) .primary-menu .sub-menu-container{
    background-color:#333;
    border-top-color:#0474C4;
  }

  #header.dark:not(.sticky-header) .primary-menu .sub-menu-container .menu-item > .menu-link{
    color:#e5e5e5; /* lepszy kontrast */
    font-weight:600;
  }

  #header.dark:not(.sticky-header) .primary-menu .sub-menu-container .menu-item:hover > .menu-link{
    color:#0474C4;
  }
}

/* ============================
   TYPOGRAFIA NAGŁÓWKÓW (mobile-first)
   ============================ */

/* 1) H2 pod sliderem (żeby nie dominował treści) */
.entry-title-cust1 h2 {
  font-size: clamp(1.4rem, 1.2rem + 0.7vw, 1.85rem); /* ~22px -> ~30px */
  line-height: 1.2;
  margin: 0 0 .75rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: .2px;
}

/* 2) Spójna skala nagłówków w treści (dotyczy też toggle/promo) */
.entry-content h3 {
  font-size: clamp(1.25rem, 1.12rem + 0.45vw, 1.55rem); /* ~20px -> ~25px */
  line-height: 1.25;
  margin: 1.25rem 0 .75rem;
  font-weight: 700;
}

.entry-content h4 {
  font-size: clamp(1.10rem, 1.02rem + 0.35vw, 1.35rem); /* ~18px -> ~22px */
  line-height: 1.3;
  margin: 1.10rem 0 .60rem;
  font-weight: 700;
}

.entry-content h5 {
  font-size: 1rem; /* ~16px */
  line-height: 1.35;
  margin: 1rem 0 .5rem;
  font-weight: 700;
}

/* 3) Ujednolicenie różnic: .promo vs .promo-cust (nagłówki mają wyglądać tak samo) */
.promo h3, .promo h4, .promo h5,
.promo-cust h3, .promo-cust h4, .promo-cust h5 {
  color: #333;
  text-align: left;
}

/* .promo-cust miał margin-bottom:0 – to powoduje „inny” wygląd nagłówka */
.promo-cust h4 {
  margin-bottom: .60rem; /* było 0 */
}

/* 4) Gdy masz wrappery z inline style="text-align: justify" – niech nie psują nagłówków */
.entry-content [style*="text-align: justify"] h3,
.entry-content [style*="text-align: justify"] h4,
.entry-content [style*="text-align: justify"] h5 {
  text-align: left !important;
}

/* (opcjonalnie, ale polecam) justuj tylko tekst, nie cały kontener:
   dodaj klasę .text-justify zamiast inline style */h2
.text-justify { text-align: left; }
.text-justify p,
.text-justify li {
  text-align: justify;
  text-justify: inter-word;
}

/* modyfikaja h2 kpdst */
.entry-title-cust-small h2 {
  font-size: 1.25rem; /* zmniejszony rozmiar */
  font-weight: 550;
  text-transform: none;
  margin-bottom: 1rem;
  color: #333;
}

.entry-title-cust-small h3 {
  font-size: 1.25rem; /* zmniejszony rozmiar */
  font-weight: 600;
  text-transform: none;
  margin-bottom: 1rem;
  color: #333;
}

.toggle-title-simple h2 {
  font-size: 1rem !important; /* = h4 */
  font-weight: 550 !important;
  color: #444 !important;
  margin: 0 !important;
  line-height: 1.4 !important;
  padding: 0 !important;
}

.toggle-title-simple h3 {
  font-size: 1rem !important; /* = h4 */
  font-weight: 550 !important;
  color: #444 !important;
  margin: 0 !important;
  line-height: 1.4 !important;
  padding: 0 !important;
}

.toggle-title-simple-h4 h4 {
  font-size: 1rem !important; /* = h3 */
  font-weight: 550 !important;
  color: #444 !important;
  margin-top: 0px !important;
  margin-bottom: 10px !important;
  line-height: 1.4 !important;
  padding: 0 !important;
}

.toggle-content-cust h4 {
  font-size: 1rem !important; /* = h4 */
  font-weight: 600 !important;
  color: #444 !important;
  margin: 0 !important;
  line-height: 1.4 !important;
  margin-top: 5px !important;
  padding: 5px !important;
}

.toggle-content-cust h5 {
  font-size: 0.88rem !important; /* = h4 */
  font-weight: 600 !important;
  color: #444 !important;
  margin: 0 !important;
  line-height: 1.4 !important;
  margin-top: 10px !important;
  padding: 5px !important;
}

.promo-cust-h3-sm h3 {
  font-size: 1.1rem; /* zbliżone do h4 */
  font-weight: 600;
  color: #444;
  margin-bottom: 1rem;
}

.promo-cust-h3-h4-sm h4 {
  font-size: 1.1rem; /* taki sam jak h3 */
  font-weight: 600;
  color: #444;
  margin-bottom: 1rem;
}

.promo-cust-h4-sm h4 {
  font-size: 1rem; /* mniejsze od h3 */
  font-weight: 600;
  color: #444;
  margin-bottom: 1rem;
}

.toggle-title-simple h3 {
  font-size: 1.125rem;
  font-weight: 500;
  margin: 0;
  color: #444;
}

.section-highlight {
  background-color: #f9f9f9;
  padding: 1.5rem;
  border-left: 4px solid #ccc;
  border-radius: 4px;
  margin-bottom: 2rem;
}

.anchor-offset {
  scroll-margin-top: 110px; /* dopasuj: 80–140px */
}

.entry-title-cust1 h2 {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

@media screen and (max-width: 576px) {
  .entry-title-cust1 h2 {
    font-size: 1.25rem;
    display: block;
    line-height: 1.5;
  }
}

/* =========================================
   KURS PODSTAWOWY – nagłówki + CTA (mobile-first)
   ========================================= */

/* 1) Główny tytuł strony w treści (masz tam H2, a styl był dla H1) */
.entry-title-cust1 h2,
.entry-title-cust1 h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 3.8vw, 2.05rem); /* mniejsze, nie dominuje */
  line-height: 1.12;
  font-weight: 750; /* mocniej, żeby się nie zlewało */
  letter-spacing: 0.3px;
}

/* Na mobile – lekko czytelniej jako blok tytułowy */
@media (max-width: 576px) {
  .entry-title-cust1 h2,
  .entry-title-cust1 h1 {
    text-align: center;
  }
}

/* 2) Drugi tytuł/sekcja typu: "Kurs wspinaczki skałkowej – program, terminy i cena" */
.h2-section-cust {
  margin: 0.75rem 0 1.25rem;
  font-size: clamp(1.20rem, 3.6vw, 1.85rem);
  line-height: 1.15;
  font-weight: 800;            /* odcina od treści */
  text-align: center;
}

.h2-section-cust::after {
  content: "";
  display: block;
  width: 64px;
  margin: 0.65rem auto 0;
  border-top: 2px solid #0474C4; /* kolor, który u Ciebie przechodzi Lighthouse */
  opacity: 0.35;
}

/* „Kontrolowany” łamacz linii tylko na mobile */
.h2-section-cust .title-break { display: none; }
@media (max-width: 576px) {
  .h2-section-cust .title-break { display: block; height: 0; }
}

.h3-section-cust .title-break { display: none; }
@media (max-width: 576px) {
  .h3-section-cust .title-break { display: block; height: 0; }
}

.h4-section-cust .title-break { display: none; }
@media (max-width: 576px) {
  .h4-section-cust .title-break { display: block; height: 0; }
}

/* 3) Spójność nagłówków w boxach .promo i .promo-cust (u Ciebie promo-cust ma inne h4) */
.entry-content .promo h4,
.entry-content .promo-cust h4 {
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  line-height: 1.2;
  font-weight: 800;
  margin: 0 0 0.75rem;
}

/* 4) CTA: sekcja z przyciskiem "Zapisz się..." ma być biała + mniejszy odstęp */
.section.m-0.cta-enroll {
  background: #fff !important;
  padding-top: 10px !important;
  padding-bottom: 20px !important;
}

/* Nadpisanie mt-3 tylko dla tego CTA (żeby nie rozwalić innych miejsc) */
.section.m-0.cta-enroll a.button {
  margin-top: 10px !important;
}

/* 5) CTA button – responsywnie, żeby nie wychodził poza ekran */
.section.m-0.cta-enroll a.button.button-medium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  max-width: 100%;
  white-space: normal;      /* pozwala zawinąć tekst */
  text-align: center;
}

/* Najmniejsze ekrany: przycisk jako 100% szerokości */
@media (max-width: 420px) {
  .section.m-0.cta-enroll a.button.button-medium {
    width: 100%;
    padding-left: 16px !important;
    padding-right: 16px !important;
    font-size: 0.90rem !important;
    letter-spacing: 0.5px !important;
  }
}

/* FAQ: H3 ma mieć taki sam styl tekstu jak w promo-cust-h3-sm */
.section [itemscope][itemtype="https://schema.org/FAQPage"]
  [itemtype="https://schema.org/Question"] > h3[itemprop="name"] {

/*  font-size: clamp(1.05rem, 2.6vw, 1.35rem); */
  font-size: 1.1rem;
  line-height: 1.2;
  font-weight: 600;
  margin: 0 0 .75rem;
  letter-spacing: 0;
  text-transform: none;
}
/* FAQ: ciaśniej na telefonie */
@media (max-width: 576px){
  .section [itemscope][itemtype="https://schema.org/FAQPage"]
    [itemtype="https://schema.org/Question"] > h3[itemprop="name"] {

    font-size: 1.05rem;  /* było większe przez clamp */
	font-weight: 600;
    line-height: 1.15;
    margin-bottom: .55rem;
  }
}

@media (max-width: 576px) {
  .row {
    --bs-gutter-x: 2rem !important;
  }
}

/* === Kurs wspinaczki skałkowej (oliwkowe odcienie) === */
.bg-group-kurs-1 {
  background-color: #f0f3e2;
}

.bg-group-kurs-1-1 {
  background-color: #f0f3e9;
}

.bg-group-kurs-2 {
  background-color: #e9eedc;
}

.bg-group-kurs-3 {
  background-color: #e3e7d0;
}

/* === Neutralna sekcja (szaro-kremowe tony) === */
.bg-group-neutral-1 {
  background-color: #f8f8f8;
}

.bg-group-neutral-2 {
  background-color: #f2f2f2;
}

.bg-group-neutral-3 {
  background-color: #ececec;
}

/* === Kurs tradowy / zaawansowane szkolenie (chłodne oliwkowo-stalowe tony) === */
.bg-group-adv-1 {
  background-color: #eef1ee; /* bardzo jasny, chłodny */
}

.bg-group-adv-1-1 {
  background-color: #e8ece8; /* lekko ciemniejszy wariant */
}

.bg-group-adv-2 {
  background-color: #e1e6e1; /* środek grupy */
}

.bg-group-adv-3 {
  background-color: #d9ded9; /* najciemniejszy, ale nadal miękki */
}

/* bardzo subtelnie dodać cienki akcent */
/*
.bg-group-adv-1,
.bg-group-adv-1-1,
.bg-group-adv-2,
.bg-group-adv-3 {
  border-left: 3px solid rgba(60, 80, 65, 0.25);
}
*/

/* --- Porównanie ścieżek PZA: tabela --- */
.compare-table {
  width: 100%;
  border-collapse: collapse;
}

/* Mobile-first: komórki czytelniejsze (działa na każdej szerokości) */
.compare-table tbody td,
.compare-table thead th {
  padding: 14px 12px;
  vertical-align: middle;
}

/* Czytelniejsze nagłówki */
.compare-table thead th {
  text-align: center;
  font-weight: 700;
}

/* Pierwsza kolumna (opis) wyrównana do lewej */
.compare-table tbody td:first-child,
.compare-table thead th:first-child {
  text-align: left;
  width: 44%;
}

/* Kolumny porównania: równe, wyśrodkowane */
.compare-table tbody td:nth-child(2),
.compare-table tbody td:nth-child(3),
.compare-table thead th:nth-child(2),
.compare-table thead th:nth-child(3) {
  text-align: center;
  width: 28%;
}

/* Subtelne tło dla lepszej czytelności */
.compare-table tbody tr:nth-child(even) {
  background: rgba(0,0,0,0.03);
}

/* ✅ NOWE: wyraźniejsze odcięcie wierszy (czytelność) */
.compare-table tbody tr {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.compare-table tbody tr:last-child {
  border-bottom: none;
}

/* ✅ NOWE: delikatny hover (na desktopach) */
.compare-table tbody tr:hover {
  background: rgba(0,0,0,0.035);
}

/* Ikony TAK/NIE – stonowane kolory */
.compare-table .yes,
.compare-table .no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
  border: 1px solid transparent;
}

/* Stonowana zieleń */
.compare-table .yes {
  color: #2f6f44;               /* ciemna, niekrzykliwa zieleń */
  background: rgba(47,111,68,0.12);
  border-color: rgba(47,111,68,0.25);
}
.compare-table .yes::before {
  content: "✓";
  font-size: 1rem;
}

/* Stonowana czerwień */
.compare-table .no {
  color: #8a2d2d;               /* ciemna, niekrzykliwa czerwień */
  background: rgba(138,45,45,0.10);
  border-color: rgba(138,45,45,0.22);
}
.compare-table .no::before {
  content: "✕";
  font-size: 1rem;
}

/* Mobile-first: poprawki na mniejsze ekrany */
@media (max-width: 680px) {
  /* Na mobile pierwsza kolumna trochę węższa, żeby zmieścić odpowiedzi */
  .compare-table tbody td:first-child,
  .compare-table thead th:first-child {
    width: 42%;
  }

  /* Czytelność tekstu na małych ekranach */
  .compare-table tbody td:first-child {
    font-size: 0.95rem;
  }

  /* Ikony minimalnie mniejsze */
  .compare-table .yes,
  .compare-table .no {
    width: 1.4rem;
    height: 1.4rem;
  }

  /* Trochę mniejszy padding, żeby tabela była bardziej „zwarta” na mobile */
  .compare-table tbody td,
  .compare-table thead th {
    padding: 12px 10px;
  }
}

/* Widoczne tylko na telefonach */
.mobile-only {
  display: none;
}

@media (max-width: 680px) {
  .mobile-only {
    display: block;
  }
}

/* Mobile-only: szybkie linki w 3 rzędach */
@media (max-width: 680px) {
  .mobile-quicklinks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    justify-items: stretch;
    align-items: stretch;
    margin-left: auto;
    margin-right: auto;
  }

  /* Wszystkie przyciski na pełną szerokość kolumny */
  .mobile-quicklinks > a.button {
    width: 100%;
    margin: 0 !important;
    padding-left: 10px;
    padding-right: 10px;
    white-space: nowrap;
  }

  /* 2. rząd: "Gdzie i jak szkolimy" na całą szerokość */
  .mobile-quicklinks > a:nth-child(3) {
    grid-column: 1 / -1;
  }
}

/* Go to Top – widoczny również na mobile */
@media (max-width: 680px) {
  #gotoTop {
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
  }
}

/* Offset dla anchorów przy sticky header (desktop) */
@media (min-width: 681px) {
  #start-kursu,
  #terminy,
  #dla-kogo,
  #wymagania,
  #umiejetnosci,
  #program,
  #lokalizacja,
  #sprzet,
  #roznice,
  #faq,
  #eeat,
  #dlaczego-trecime,
  #opinie,
  #porownanie-sciezek,
  #co-zabrac-ze-soba  {
    scroll-margin-top: 90px;
  }
}

