/* Webinar Banner - standalone section styles */
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.webinar-banner-block {
  /* Zmienne / tokeny - niezależne od reszty projektu */
  --magenta: #e20074;
  --white: #ffffff;
  --brand-black: #060606;

  font-family: 'teleneo_officeregular', 'TeleNeo', sans-serif;
}

.webinar-banner-block h2,
.webinar-banner-block p,
.webinar-banner-block span {
  margin: 0;
  padding: 0;
}

.webinar-banner-block img {
  max-width: 100%;
  height: auto;
  display: block;
}

.webinar-banner-block a {
  text-decoration: none;
}

/* Layout Container (uproszczony) */
.webinar-banner-block .o-container {
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.webinar-banner-block .separator {
  display: block;
  width: 100%;
  height: 100px;
}

.webinar-banner-block.gray-brand-bg {
  background: #f5f6f7;
}

/* ==========================================================================
   Webinar Banner Section
   ========================================================================== */

.webinar-banner-block .webinar-banner-section {
  position: relative;
  padding-top: 90px;
  overflow: hidden;
}

.webinar-banner-block .webinar-banner__polygon-1,
.webinar-banner-block .webinar-banner__polygon-2 {
  position: absolute;
  z-index: 0;
  overflow: hidden;
  border-radius: 40px;
  pointer-events: none;
}

.webinar-banner-block .webinar-banner__polygon-1 {
  top: 0;
  left: 0;
}

.webinar-banner-block .webinar-banner__polygon-2 {
  bottom: -40px;
  left: 0;
  height: 100%;
}

.webinar-banner-block .webinar-banner__polygon-1 img,
.webinar-banner-block .webinar-banner__polygon-2 img {
  border-radius: inherit;
}

.webinar-banner-block .webinar-banner {
  position: relative;
  overflow: hidden;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 37px 60px;
  border-radius: 40px;
  color: var(--white);
  background-image: url('img/webinar-banner.png');
  background-position: 65% center;
  background-size: cover;
  background-repeat: no-repeat, no-repeat;
  box-sizing: border-box;
}

.webinar-banner-block .webinar-banner__date {
  width: 185px;
  flex-shrink: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  border-radius: 24px;
  color: var(--brand-black);
  background: var(--white);
  text-align: center;
  gap: 3px;
}

.webinar-banner-block .webinar-banner__date-month {
  width: 100%;
  padding: 10px 10px;
  color: var(--white);
  background: var(--magenta);
  font-size: 24px;
  font-weight: 700;
  white-space: nowrap;
  margin-bottom: 2px;
}

.webinar-banner-block .webinar-banner__date-day {
  color: var(--magenta);
  font-family: 'teleneobold', 'TeleNeo', sans-serif;
  font-size: 80px;
  line-height: 1;
}

.webinar-banner-block .webinar-banner__date-time {
  padding-bottom: 10px;
  color: var(--brand-black);
  font-size: 20px;
  line-height: 1.3;
  white-space: nowrap;
}

.webinar-banner-block .webinar-banner__date-mobile {
  display: none;
}

.webinar-banner-block .webinar-banner__ai-label {
  position: absolute;
  z-index: 3;
  top: 55%;
  display: flex;
  align-items: center;
  gap: 3px;
  color: var(--white);
  font-size: 7px;
  line-height: 1;
  text-align: right;
  right: 60px;
  top: 80%;
  transform: translateY(50%);
}

.webinar-banner-block .webinar-banner__ai-label img {
  width: 26px;
  height: 26px;
}

.webinar-banner-block .webinar-banner__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  max-width: 630px;
}

.webinar-banner-block .webinar-banner__eyebrow {
  font-size: 25px;
  line-height: 1.24;
  color: var(--white);
}

.webinar-banner-block .webinar-banner__eyebrow > span {
  font-weight: 600;
}

.webinar-banner-block .webinar-banner__title {
  font-family: 'teleneobold', 'TeleNeo', sans-serif;
  font-weight: 700;
  font-size: 49px;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 5px;
}

.webinar-banner-block .webinar-banner__actions {
  display: flex;
  align-items: center;
  margin-top: 8px;
}

.webinar-banner-block .webinar-banner__btn {
  background-color: var(--brand-black);
  color: var(--white);
  padding: 20px 32px;
  border-radius: 40px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.3s ease;
  margin-right: -6px;
}

.webinar-banner-block .webinar-banner__btn:hover {
  background-color: #333333;
  text-decoration: none;
}

.webinar-banner-block .webinar-banner__btn-icon {
  background-color: var(--brand-black);
  width: 64px;
  height: 64px;
  border-radius: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.webinar-banner-block .webinar-banner__btn-icon:hover {
  background-color: #333333;
}

.webinar-banner-block .webinar-banner__btn-icon > span {
  display: flex;
}

/* ==========================================================================
   RESPONSYWNOŚĆ
   ========================================================================== */

@media (max-width: 1280px) {
  .webinar-banner-block .webinar-banner {
    padding: 40px 48px;
  }

  .webinar-banner-block .webinar-banner__title {
    font-size: 38px;
    max-width: 500px;
  }

  .webinar-banner-block .webinar-banner__polygon-1 {
    left: -13%;
    top: 0%;
  }
  .webinar-banner-block .webinar-banner__ai-label {
    right: 48px;
  }
}

@media (max-width: 960px) {
  .webinar-banner-block .webinar-banner {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 40px;
    overflow: hidden;
    background: var(--magenta) url('img/webinar-banner-mobile.png') center 70% /
      cover no-repeat;
    background-color: transparent;
    padding: 20px;
    gap: 10px;
    padding-bottom: 40px;
  }

  .webinar-banner-block .webinar-banner__content {
    display: contents;
    max-width: none;
  }

  .webinar-banner-block .webinar-banner__eyebrow {
    order: 1;

    font-size: 22px;
  }

  .webinar-banner-block .webinar-banner__title {
    order: 2;
    margin-bottom: 0;
    max-width: 55%;
    font-size: 34px;
  }

  .webinar-banner-block .webinar-banner__date {
    order: 3;
    width: fit-content;
    flex-shrink: 0;
    margin-top: 0px;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    align-items: flex-start;
  }

  .webinar-banner-block .webinar-banner__date-month,
  .webinar-banner-block .webinar-banner__date-day,
  .webinar-banner-block .webinar-banner__date-time {
    display: none;
  }

  .webinar-banner-block .webinar-banner__date-mobile {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
  }

  .webinar-banner-block .webinar-banner__date-mobile-value {
    padding: 10px;
    background: var(--white);
    color: var(--magenta);
    font-size: 22px;
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
  }

  .webinar-banner-block .webinar-banner__date-mobile-day {
    padding: 3px 7px;
    background: var(--brand-black);
    color: var(--white);
    font-size: 16px;
    line-height: 1;
    font-weight: 600;
    border: 1px solid var(--white);
    border-top: none;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
  }

  .webinar-banner-block .webinar-banner__actions {
    order: 4;
    margin-top: 20px;
  }

  .webinar-banner-block .webinar-banner__polygon-1,
  .webinar-banner-block .webinar-banner__polygon-2 {
    display: none;
  }

  .webinar-banner-block .webinar-banner__btn {
    padding: 14px 20px;
    font-size: 16px;
    background-color: var(--white);
    color: var(--brand-black);
  }

  .webinar-banner-block .webinar-banner__btn-icon {
    width: 47px;
    height: 47px;
    background-color: var(--white);
  }

  .webinar-banner-block .webinar-banner__btn-icon svg path {
    stroke: var(--brand-black);
  }
  .webinar-banner-block .webinar-banner__ai-label {
    right: 0px;
    top: 49%;
    transform: translateY(50%);
  }
}

@media (max-width: 768px) {
  .webinar-banner-block .webinar-banner {
    background: var(--magenta) url('img/webinar-banner-mobile.png') 100% 100% /
      cover no-repeat;
    background-color: transparent;
    min-height: 450px;
    padding-bottom: 20px;
  }
  .webinar-banner-block .webinar-banner__title {
    max-width: 80%;
  }
}

@media (max-width: 480px) {
  .webinar-banner-block .webinar-banner {
    min-height: 360px;
  }

  .webinar-banner-block .webinar-banner__title {
    font-size: 31px;
    max-width: 100%;
  }

  .webinar-banner-block .webinar-banner__btn-icon {
    width: 44px;
    height: 44px;
  }
}
