/* OFERTA – GLOBAL RULES */

.oferta-single .oferta-content{}

.oferta-single .wysiwyg{
  font: normal normal 300 18px/27px Poppins;
  color: inherit;
}

.oferta-single .wysiwyg p,
.oferta-single .wysiwyg span,
.oferta-single .wysiwyg li{
  font: inherit;
  line-height: inherit;
}

/* HEADINGS */

.oferta-single .wysiwyg h2{
  font: normal normal 300 60px/80px Poppins;
  margin: 0 0 40px;
}

.oferta-single .wysiwyg h3{
  font: normal normal 500 30px/46px Poppins;
  margin: 0 0 40px;
}

/* FORMATY WYSIWYG */

.oferta-single .wysiwyg .is-lead{
  font: normal normal 300 22px/33px Poppins;
  display: block;
  margin: 0 0 40px;
}

.oferta-single .wysiwyg .is-small{
  font: inherit;
  line-height: inherit;
}

/* VERTICAL RHYTHM / SPACING */

.oferta-single .wysiwyg p,
.oferta-single .wysiwyg ul,
.oferta-single .wysiwyg ol{
  margin: 0 0 40px;
}

.oferta-single .wysiwyg ul,
.oferta-single .wysiwyg ol{
  padding-left: 0px;
}

.oferta-single .wysiwyg p.is-lead{
  margin: 0 0 40px;
}

.oferta-single .wysiwyg > *:last-child{
  margin-bottom: 0;
}

/* LAYOUT: CONTAINER + SEKCJE */

.oferta-single .of-container{
  width: min(1640px, calc(100% - 120px));
  margin: 0 auto;
}

.oferta-single .of-section{
  padding: 100px 0 0;
}

.oferta-single .of-2col{
  padding: 40px 0 0;
}

.oferta-single .of-center__inner{
  margin: 0 auto;
  text-align: center;
  max-width: 1080px;
}

.oferta-single .of-2col__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 140px;
}

/* LISTA Z CHECKIEM – OFERTA */

.oferta-single .wysiwyg ul{
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}

.oferta-single .wysiwyg ul li{
  position: relative;
  padding-left: 40px;
  margin-bottom: 16px;
  font: inherit;
  line-height: inherit;
}

.oferta-single .wysiwyg ul li::before{
  content: "";
  position: absolute;
  top: 0.2em;
  left: 0;
  width: 24px;
  height: 24px;
  background-image: url("/wp-content/themes/prenatalmed/assets/img/list-check.svg");
  background-repeat: no-repeat;
  background-size: contain;
}

.oferta-single .wysiwyg ul.list-default{
  list-style: disc;
	padding-left: 20px;
}

.oferta-single .wysiwyg ul.list-default li {
	padding-left: 10px;
}

.oferta-single .wysiwyg ul.list-default li::before{
  content: none;
}

.oferta-single .wysiwyg ul li:last-child{
  margin-bottom: 0;
}

/* BANNER (full width bg) */

.oferta-single .of-banner{
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 0;
  margin-top: 100px;
}

.oferta-single .of-text--light{ color: #fff; }
.oferta-single .of-text--dark{ color: #111; }

/* BANNER BLOCKS */

.oferta-single .of-banner__blocks{
  display: grid;
  gap: 48px;
}

.oferta-single .of-banner__block--center{
  text-align: center;
  max-width: 1080px;
  margin: 0 auto;
}

.oferta-single .of-banner__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 140px;
}

/* TEXT + IMAGE (50 / 50) */

.oferta-single .of-banner__block--text-image .of-banner__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 140px;
  align-items: stretch;
  width: min(1640px, calc(100% - 120px));
  padding: 40px 0 0;
  margin: 0 auto;
}

.oferta-single .of-banner__col--image{
  position: relative;
  height: min(100%, 570px);
  align-self: center;
  overflow: hidden;
}

.oferta-single .of-banner__col--image img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  border-radius: 8px;
}

/* STEPS (KROKI) */

.oferta-single .of-steps__num{
  width: 72px;
  height: 72px;
  border-radius: 999px;
  border: 1px solid #BFDCC6;
  display: flex;
  align-items: center;
  justify-content: center;
  font: normal normal 500 18px/1 Poppins;
  color: #2C8A3A;
  flex: 0 0 auto;
  box-shadow: 10px 10px 20px #33A64126;
}

.oferta-single .of-steps__grid--columns{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px 120px;
}

.oferta-single .of-steps__item{
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 28px;
  align-items: start;
}

.oferta-single .of-steps__stack{
  display: grid;
  gap: 120px;
}

.oferta-single .of-steps__section-head{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  margin: 0 0 40px;
  width: 100%;
}

.oferta-single .of-steps__heading{
  margin: 0;
  text-align: left;
  font: normal normal 500 24px/34px Poppins;
}

.oferta-single .of-steps__grid--two{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

/* GRAY SECTION */

.oferta-single .of-gray{
  background: #f5f5f5;
  padding: 80px 0;
  margin-top: 100px;
}

.oferta-single .of-gray__blocks{
  display: grid;
  gap: 80px;
}

.oferta-single .of-gray__block--center{
  text-align: center;
  max-width: 1080px;
  margin: 0 auto;
}

.oferta-single .of-gray__block--2col .of-2col__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.oferta-single .of-gray__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: stretch;
}

.oferta-single .of-gray__image{
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.oferta-single .of-gray__image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* STACKED SECTIONS – REMOVE DOUBLE MARGIN */

.oferta-single .of-banner + .of-banner,
.oferta-single .of-banner + .of-gray,
.oferta-single .of-banner + .of-cta,

.oferta-single .of-gray + .of-banner,
.oferta-single .of-gray + .of-gray,
.oferta-single .of-gray + .of-cta,

.oferta-single .of-cta + .of-banner,
.oferta-single .of-cta + .of-gray,
.oferta-single .of-cta + .of-cta{
  margin-top: 0;
}

/* CTA BOTTOM */

.oferta-single .of-cta{
  background:
    url("https://prenatal-med.pl/wp-content/webp-express/webp-images/doc-root/wp-content/uploads/2025/07/Group-171.jpg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 0;
  margin-top: 100px;
}

.oferta-single .of-cta__inner{
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.oferta-single .of-cta__title{
  font: normal normal 300 60px/80px Poppins;
  margin: 0 0 32px;
}

.oferta-single .of-cta__lead{
  font: normal normal 300 18px/27px Poppins;
  margin: 0 0 40px;
}

.oferta-single .of-cta__sub{
  font: normal normal 500 18px/27px Poppins;
  margin: 0 0 28px;
}

.oferta-single .of-cta__phone{
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 40px;
}

.oferta-single .of-cta__tel{
  font: normal normal 300 45px/60px Poppins;
  color: inherit;
  text-decoration: none;
}

.oferta-single .of-cta__tel:hover{
  text-decoration: none;
}

.oferta-single .of-cta__icon{
  width: 34px;
  height: 52px;

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

  background-image: url("/wp-content/themes/prenatalmed/dist/img/offer-mobile.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 34px 52px; /* kontrola wielkości ikony */

}

.oferta-single .of-cta__online{
  font: normal normal 500 22px/33px Poppins;
  margin: 0 0 28px;
}

.oferta-single .of-cta__foot{
  font: normal normal 300 18px/27px Poppins;
  margin: 0;
}

.oferta-single .of-cta__contacts{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}

.oferta-single .of-cta__phone--mail{
  margin-bottom: 40px;
}

.oferta-single .of-cta__tel--mail{
  font: normal normal 500 24px/34px Poppins;
}

.oferta-single .of-cta,
.oferta-single .of-cta a{
  color: #fff;
}

/* CTA CONTACTS */

.oferta-single .of-cta__contacts{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}

/* link */

.oferta-single .of-cta__phone{
  display: inline-flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: inherit;
}

/* telefon */

.oferta-single .of-cta__tel{
  font: normal normal 500 27px Poppins;
}

/* mail */

.oferta-single .of-cta__tel--mail{
  font: normal normal 500 20px Poppins;
}

/* ikony */

.oferta-single .of-cta__icon{
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* telefon */

.oferta-single .of-cta__icon--phone{
    max-width: 100%;
    height: 35px;
  background-image: url("https://prenatal-med.pl/wp-content/uploads/2025/07/Group-47.svg");
}

/* mail */

.oferta-single .of-cta__icon--mail{
    max-width: 100%;
    height: 25px;
  background-image: url("https://prenatal-med.pl/wp-content/uploads/2025/07/Group-48.svg");
}

/* hover */

.oferta-single .of-cta__phone:hover{
  color: #33a641;
}

.oferta-single .of-steps__num--empty{
  border-color: transparent;
  box-shadow: none;
  color: transparent;
}

.oferta-single .of-steps__stack--rows{
  display: grid;
  gap: 80px;
	  max-width: 1080px;
	margin: 0 auto;
}

.oferta-single .of-steps__item--row{
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 40px;
  align-items: start;
  width: 100%;
}


/* MEDIA QUERIES */

@media (max-width: 1200px){
  .oferta-single .of-container{
    width: min(1640px, calc(100% - 80px));
  }

  .oferta-single .wysiwyg h2{
    font-size: 48px;
    line-height: 64px;
  }

  .oferta-single .wysiwyg h3{
    font-size: 26px;
    line-height: 40px;
  }

  .oferta-single .of-2col__grid,
  .oferta-single .of-banner__grid,
  .oferta-single .of-banner__block--text-image .of-banner__grid{
    gap: 80px;
  }

  .oferta-single .of-steps__grid--columns{
    gap: 64px 80px;
  }

  .oferta-single .of-steps__grid--two{
    gap: 64px;
  }
}

@media (max-width: 992px){
  .oferta-single .of-section{
    padding-top: 80px;
  }

  .oferta-single .of-banner{
    padding: 80px 0;
    margin-top: 80px;
  }

  .oferta-single .of-gray{
    padding: 64px 0;
    margin-top: 80px;
  }

  .oferta-single .of-2col__grid,
  .oferta-single .of-banner__grid,
  .oferta-single .of-banner__block--text-image .of-banner__grid,
  .oferta-single .of-gray__block--2col .of-2col__grid,
  .oferta-single .of-gray__grid{
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .oferta-single .of-steps__grid--columns{
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .oferta-single .of-steps__grid--two{
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .oferta-single .of-steps__stack{
    gap: 80px;
  }

  .oferta-single .of-banner__col--image{
    height: 420px;
  }
}

@media (max-width: 768px){
  .oferta-single .of-container{
    width: min(1640px, calc(100% - 40px));
  }

  .oferta-single .wysiwyg h2{
    font-size: 36px;
    line-height: 48px;
    margin-bottom: 28px;
  }

  .oferta-single .wysiwyg h3{
    font-size: 22px;
    line-height: 34px;
    margin-bottom: 28px;
  }

  .oferta-single .wysiwyg p,
  .oferta-single .wysiwyg ul,
  .oferta-single .wysiwyg ol{
    margin-bottom: 28px;
  }

  .oferta-single .wysiwyg .is-lead{
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 28px;
  }

  .oferta-single .of-banner{
    padding: 64px 0;
  }

  .oferta-single .of-gray{
    padding: 56px 0;
  }

  .oferta-single .of-steps__num{
    width: 64px;
    height: 64px;
  }

  .oferta-single .of-steps__section-head{
    gap: 20px;
  }

  .oferta-single .of-steps__heading{
    font-size: 22px;
    line-height: 32px;
  }

  .oferta-single .of-banner__col--image{
    height: 360px;
  }
}