/* =====================================================
   HERO OVERLAY MAINPAGE
===================================================== */
@media (max-width: 767px){

  .hero-lcp-bg{
    position: absolute;
    inset: 0;
  }

  .hero-lcp-bg::after{
    content: "";
    position: absolute;
    inset: 0;

    background: rgba(0,0,0,0.2); /* 20% czerni */

    pointer-events: none;
  }

  /* obraz pod spodem */
  .hero-lcp-bg picture,
  .hero-lcp-bg img{
    display: block;
    width: 100%;
    height: 100%;
  }

  .hero-lcp-bg img{
    object-fit: cover;
  }

}

/* =====================================================
   WRAPPER / OGÓLNE
===================================================== */

.mc-slider{
  position: relative;
  padding: 20px;
  box-sizing: border-box;
}

/* =====================================================
   UKŁAD SLAJDU: nagłówek 100% + pod nim 70/30 (desktop+tablet)
   Mobile: 1 kolumna
===================================================== */

.mc-slide__header{
  width: 100%;
}

/* pod nagłówkiem */
.mc-slide__body{
  display: grid;
  grid-template-columns: 65% 35%;
  gap: 20px;
  align-items: start;
  margin-top: 10px;
}

.mc-slide__left,
.mc-slide__right{
  min-width: 0;
}

@media (max-width: 767px){
  .mc-slide__body{
    grid-template-columns: 1fr;
    gap: 16px;
  }
}


/* =====================================================
   TYPOGRAFIA (H1/H2, P)
===================================================== */

.mc-slider h1,
.mc-slider h2{
  margin: 10px 0;
  font-family: "Bebas Neue", Sans-serif;
  font-size: 104px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
}

/* <span> w nagłówku = lżejszy font, zawsze w nowej linii */
.mc-slider h1 span,
.mc-slider h2 span{
  font-size: 84px;
  font-weight: 200;
  display: block;
  margin: 10px 0;
}

.mc-slider p{
  margin: 0 0 20px;
  font-family: "Roboto", Sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #fff;
}

.mc-slider p strong{
  font-weight: 600;
  font-size: 22px;
}

/* Mobile typography */
@media (max-width: 767px){
  .mc-slider h1,
  .mc-slider h2{
    font-size: 53px !important;
  }

  .mc-slider h1 span,
  .mc-slider h2 span{
    font-size: 33px !important;
  }

  .mc-slider p{
    font-size: 15px;
	margin-top:15px;
  }
	
.mc-slider p strong{
  font-size: 20px;
  line-height: 20px;
}
}


/* =====================================================
   CTA BUTTONS
===================================================== */

.mc-slider__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.mc-slider__actions .btn{
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 25px;
  text-decoration: none;
  font-family: "Roboto", Sans-serif;
  font-size: 20px;
  font-weight: 300;
  color: #000;
  background: transparent;
  transition: background-color .2s ease, color .2s ease;
}

.mc-slider__actions .btn span{
  display: block;
  margin-top: 0px;
  font-size: 25px;
  font-weight: 600;
  text-transform: uppercase;
}

.mc-slider__actions .btn--special { background-color: #f6af45; }
.mc-slider__actions .btn--primary{ background-color: #72dc1a; }
.mc-slider__actions .btn--secondary{ background-color: #fff; }


.mc-slider__actions .btn:hover{
  background-color: #000;
  color: #fff;
}

.mc-slider__actions .btn:hover span{
  color: #fff;
}

@media (max-width: 767px){
  .mc-slider__actions{
    flex-direction: column;
    gap: 15px;
  }

  .mc-slider__actions .btn{
    width: 100%;
    text-align: center;
	font-size:18px;
  }
	
.mc-slider__actions .btn span{
  margin-top: 0px;
  font-size: 20px;
}
	
}



/* wyłączone przyciski na mobilnym */
@media (max-width: 767px){
  .btn--secondary{
    display: none !important;
  }
}

/* =====================================================
   MOBILE: strzałka PNG w btn--secondary
===================================================== */

@media (max-width: 767px){

  .mc-slider__actions .btn--primary{
    position: relative;
    padding-right: 70px; /* miejsce na ikonę */
  }

  .mc-slider__actions .btn--primary::after{
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);

    width: 40px;
    height: 40px;

    background-image: url("/wp-content/uploads/2026/04/right-arrow.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid #000;
    pointer-events: none;
  }

}

/* =====================================================
   MOBILE: strzałka PNG w btn--special
===================================================== */

@media (max-width: 767px){

  .mc-slider__actions .btn--special{
    position: relative;
    padding-right: 70px; /* miejsce na ikonę */
  }

  .mc-slider__actions .btn--special::after{
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);

    width: 40px;
    height: 40px;

    background-image: url("https://tandemy.pl/wp-content/uploads/2026/04/right-arrow-or.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    border: 1px solid #000;

    pointer-events: none;
  }

}

/* =====================================================
   ARROWS (SVG)
   - Desktop + Tablet: prawy górny róg
   - Mobile: prawy górny róg (10px wyżej)
===================================================== */

.mc-slider__arrows{
  position: absolute;
  right: 20px;
  top: -50px;
  bottom: auto;
  z-index: 999;
  display: flex;
  gap: 10px;
  pointer-events: auto;
}

.mc-slider__arrows.mc-main-arrows {
  right: 20px;
  top: 30px;
}

.mc-slider__arrow{
  width: 56px;
  height: 56px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;

  border: 1px solid #fff;
  border-radius: 0;

  color: #fff !important;

  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;

  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  pointer-events: auto;
}

.mc-slider__arrow svg,
.mc-slider__arrow path{
  pointer-events: none;
}

.mc-slider__ico{
  width: 38px;
  height: 38px;
  display: block;
}

.mc-slider__arrow:hover,
.mc-slider__arrow:active{
  background: #fff !important;
  color: #000 !important;
}

.mc-slider__arrow:focus-visible{
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* ================= MOBILE ================= */

@media (max-width: 767px){
  .mc-slider__arrows{
    top: -20px; /* było 0 → podniesione o 20px */
    right: 0;
    bottom: auto;
  }

  .mc-slider__arrows.mc-main-arrows{
    top: 20px; /* było 30px → podniesione o 10px */
  }

  .mc-slider__arrow{
    width: 48px;
    height: 48px;
  }

  .mc-slider__ico{
    width: 26px;
    height: 26px;
  }

  .mc-slider h1,
  .mc-slider h2{
    margin-top: 58px;
  }
}



/* =====================================================
   ANTI “NEIGHBOR SLIDE” BLEEDING
   - bufor bez zmiany szerokości
===================================================== */

.mc-slider__slide{
  position: relative;
  overflow: hidden;
}

.mc-slider__slide::before{
  content: "";
  position: absolute;
  inset: 0;

  /* bufor 2px, nie zmienia szerokości slajdu */
  padding-left: 2px;
  padding-right: 2px;

  pointer-events: none;
  z-index: 1;
}

.mc-slider__slide > *{
  position: relative;
  z-index: 2;
}

/* FIX: na mobile/tablet nie używaj clip-path, bo może ucinać ~2px */
@media (max-width: 1024px){
  .mc-slider__slide{
    -webkit-clip-path: none !important;
    clip-path: none !important;
    overflow: hidden;
  }
}


/* =====================================================
   DODATKOWE (opcjonalne, ale bezpieczne)
   - jeśli elementy w slajdzie mają “dziwne” marginesy/paddingi z motywu
===================================================== */

.mc-slider,
.mc-slider *{
  box-sizing: border-box;
}

/* =====================================================
   FILM W PRAWEJ KOLUMNIE
   Logika:
   - z klasą mc-movie-yes → zawsze widoczny
   - bez niej → tylko desktop
===================================================== */

/* Domyślnie ukryty */
.mc-slider__movie{
  display: none;
}

/* Jeżeli ma dodatkową klasę → zawsze widoczny */
.mc-slider__movie.mc-movie-yes{
  display: block !important;
}

/* Desktop */
@media (min-width: 981px) {

  /* tylko te BEZ mc-movie-yes */
  .mc-slider__movie:not(.mc-movie-yes){
    display: block;
  }

  .mc-slider__movie .mc-movies{
    display: block;
  }

  .mc-slider__movie .mc-movies__item{
    min-width: 0;
  }

}


