

/* Sekcja 6  Typ sekcji Home Widok Home Center */

#section6 {
padding-left: 0 !important;
padding-right: 0 !important;

& {
  padding: 0 !important;
  margin-top: 0 !important;
  background: #032673;
}

& #HomeCenter {
  box-sizing: border-box;
  width: 100%;
  height: auto !important;
  min-height: 0;
  aspect-ratio: 16 / 9;
  background-color: #032673;
  background-size: 100% auto !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  background-attachment: scroll !important;
}

& #HomeCenter > div {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: inherit;
  padding: clamp(32px, 4vw, 76px) 24px;
}

& #home-text {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 1000px;
  height: auto !important;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

& #home-text h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(24px, 2.7vw, 48px);
  font-weight: 500;
  line-height: 1.25;
}

& #home-text #title-second-line {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 4.3vw, 72px);
  font-weight: 700;
  line-height: 1.12;
  text-wrap: balance;
}

& #home-text hr {
  width: 100%;
  max-width: 720px;
  margin: clamp(22px, 3vw, 40px) auto;
  border: 0;
  border-top: 1px solid rgb(255 255 255 / 45%);
}

& #home-text > .d-flex {
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 48px;
}

& #home-text .icon-text {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto !important;
  max-width: 460px;
  margin: 0;
  gap: 14px;
}

& #home-text .icon-text i {
  flex: 0 0 auto;
  margin: 0 !important;
  font-size: 30px;
  color: #fff;
}

& #home-text .icon-text p {
  margin: 0;
  color: #fff;
  font-size: clamp(16px, 1.5vw, 23px);
  line-height: 1.5;
  text-align: left;
}

& #home-text .button-wrapper {
  margin-top: clamp(28px, 3vw, 44px);
  text-align: center;
}

& #home-text .button-wrapper a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  min-height: 54px;
  padding: 15px 34px;
  border: 1px solid #fff;
  border-radius: 10px;
  background: #fff;
  color: #032673 !important;
  text-decoration: none;
  box-shadow: 0 8px 24px rgb(0 0 0 / 18%);
  transition: background-color .2s ease, box-shadow .2s ease;
}

& #home-text .button-wrapper a p {
  margin: 0;
  padding: 0;
  color: inherit !important;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

& #home-text .button-wrapper a:hover {
  background: #eaf0f7;
  box-shadow: 0 10px 28px rgb(0 0 0 / 25%);
}

& #home-text .button-wrapper a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 5px;
}

@media (max-width: 767px) {
  & #HomeCenter {
    aspect-ratio: auto;
  }

  & #HomeCenter > div {
    padding: 48px 20px;
    background: rgb(3 38 115 / 35%);
  }

  & #home-text > .d-flex {
    flex-direction: column;
    gap: 18px;
  }

  & #home-text .icon-text {
    width: 100% !important;
    max-width: 360px;
  }

  & #home-text .icon-text p {
    text-align: center;
  }

  & #home-text .icon-text i {
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  & #home-text .button-wrapper a {
    transition: none;
  }
}
}


/* Sekcja 12  Typ sekcji Odliczanie Widok Odliczanie w kołach */

#section12 {
& {
  padding: 36px 16px !important;
  background: #f7f9fc;
}

& #CountdownInCircles {
  margin: 0;
  padding: 0;
  background: transparent;
}

& #CountdownInCircles > .container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
}

/* Dotychczasowy tekst, spójny z nagłówkami strony */
& .timer-title {
  margin: 0 0 28px;
  color: #234879;
  text-align: center;
  line-height: 1.4;
}

& .timer-title,
& .timer-title span {
  font-family: inherit !important;
  font-size: clamp(20px, 2.3vw, 28px) !important;
  font-weight: 600;
}

/* Szerokość niezależna od ustawień wtyczki */
& #DateCountdown {
  width: 100% !important;
  height: auto !important;
  margin: 0 auto;
}

& #DateCountdown .time_circles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 22px);
  width: 100% !important;
  height: auto !important;
}

/* Ukrywamy jedynie rysowane okręgi */
& #DateCountdown canvas {
  display: none !important;
}

/* Liczby nadal aktualizuje skrypt CMS */
& #DateCountdown .time_circles > div {
  box-sizing: border-box;
  position: static !important;
  inset: auto !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: auto !important;
  min-width: 0;
  height: auto !important;
  margin: 0;
  padding: 26px 12px;
  border: 1px solid #dce5ee;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 5px 18px rgb(3 38 115 / 4%);
  text-align: center;
}

& #DateCountdown .time_circles > div > span {
  order: -1;
  display: block;
  width: auto;
  margin: 0;
  color: #032673;
  font-family: inherit;
  font-size: clamp(32px, 4.5vw, 54px) !important;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.1 !important;
}

& #DateCountdown .time_circles > div > h4 {
  margin: 0;
  padding: 0;
  color: #526782;
  font-family: inherit;
  font-size: 12px !important;
  font-weight: 500;
  line-height: 1.4 !important;
  letter-spacing: .1em;
}

@media (max-width: 480px) {
  & {
    padding: 28px 16px !important;
  }

  & #DateCountdown .time_circles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  & #DateCountdown .time_circles > div {
    padding: 22px 12px;
  }
}
}
