/* ==========================================
   SECURITY MASTERS - ONLINE WEBINAR
   ========================================== */

:root {
  --webinar-blue: #0754d9;
  --webinar-blue-hover: #003eae;
  --webinar-navy: #0b203e;
  --webinar-muted: #8291a6;
  --webinar-border: #e6ebf2;
  --webinar-white: #ffffff;
}

/* BASE */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--webinar-navy);
  background: var(--webinar-white);
}

.webinar-page {
  width: 100%;
  padding: 0 0 64px;
}

.webinar-container {
  width: calc(100% - 40px);
  max-width: 900px;
  margin-inline: auto;
}

.webinar-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================
   HERO BANNER
   ========================================== */

.webinar-hero {
  width: 100%;
  padding-top: 32px;
}

.webinar-hero__banner {
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
  background: #06182e;
}

.webinar-hero__banner img {
  display: block;
  width: 100%;
  height: auto;
}

/* ==========================================
   REGISTRATION PANEL
   ========================================== */

.webinar-registration {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1.25fr)
    auto;
  align-items: center;
  gap: 24px;

  width: 100%;
  margin-top: 18px;
  padding: 20px 26px;

  background: #ffffff;
  border: 1px solid var(--webinar-border);
  border-radius: 12px;

  box-shadow: 0 5px 20px rgba(14, 37, 68, 0.045);
}

/* DATE */

.webinar-registration__date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  min-width: 0;
}

.webinar-registration__label {
  color: var(--webinar-blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  line-height: 1.3;
}

.webinar-registration__date strong {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--webinar-navy);
}

/* SCHEDULE */

.webinar-registration__schedule {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.webinar-registration__hours {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.webinar-registration__hours span {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--webinar-navy);
  white-space: nowrap;
}

.webinar-registration__hours span + span {
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid #ccd5e1;
}

.webinar-registration__schedule p {
  margin: 0;
  color: var(--webinar-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

/* REGISTRATION BUTTON */

.webinar-registration__action {
  display: flex;
  justify-content: flex-end;
}

.webinar-registration__button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;

  min-height: 52px;
  min-width: 178px;
  padding: 0 20px;

  color: #ffffff;
  background: var(--webinar-blue);
  border: 1px solid var(--webinar-blue);
  border-radius: 9px;

  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;

  box-shadow: 0 4px 10px rgba(7, 84, 217, 0.12);
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.webinar-registration__button:hover {
  color: #ffffff;
  background: var(--webinar-blue-hover);
  border-color: var(--webinar-blue-hover);
  box-shadow: 0 6px 16px rgba(7, 84, 217, 0.2);
  transform: translateY(-1px);
}

.webinar-registration__button:focus-visible {
  outline: 3px solid #7ab5ff;
  outline-offset: 3px;
}

.webinar-registration__button span:last-child {
  font-size: 20px;
  line-height: 1;
  font-weight: 400;
}

/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 900px) {
  .webinar-hero {
    padding-top: 24px;
  }

  .webinar-registration {
    gap: 16px;
    padding: 18px;
  }

  .webinar-registration__date strong {
    font-size: 15px;
  }

  .webinar-registration__hours span {
    font-size: 12px;
  }

  .webinar-registration__button {
    min-width: 140px;
    min-height: 46px;
    padding-inline: 16px;
    gap: 16px;
    font-size: 13px;
  }
}

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

@media (max-width: 680px) {
  .webinar-container {
    width: calc(100% - 28px);
  }

  .webinar-page {
    padding-bottom: 40px;
  }

  .webinar-hero {
    padding-top: 18px;
  }

  .webinar-hero__banner {
    border-radius: 10px;
  }

  .webinar-registration {
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
    row-gap: 20px;

    margin-top: 12px;
    padding: 20px;
    border-radius: 10px;
  }

  .webinar-registration__date strong {
    font-size: 14px;
  }

  .webinar-registration__hours {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .webinar-registration__hours span + span {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }

  .webinar-registration__schedule p {
    font-size: 11px;
  }

  .webinar-registration__action {
    grid-column: 1 / -1;
  }

  .webinar-registration__button {
    width: 100%;
    min-height: 48px;
  }
}

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

@media (max-width: 380px) {
  .webinar-registration {
    grid-template-columns: 1fr;
  }

  .webinar-registration__action {
    grid-column: 1;
  }

  .webinar-registration__hours {
    flex-direction: row;
    gap: 10px;
  }

  .webinar-registration__hours span + span {
    padding-left: 10px;
    border-left: 1px solid #ccd5e1;
  }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .webinar-registration__button {
    transition: none;
  }

  .webinar-registration__button:hover {
    transform: none;
  }
}

/* ==========================================
   NAVBAR - WEBINAR PAGE FIX
   ========================================== */

.online-webinar-page .navbar {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  transform: none;

  margin: 12px auto 0;
  z-index: 1000;
}

/* ODSTĘP MIĘDZY NAVBAREM A BANEREM */

.online-webinar-page .webinar-hero {
  padding-top: 24px;
}

/* MOBILE */

@media (max-width: 680px) {
  .online-webinar-page .navbar {
    margin-top: 8px;
  }

  .online-webinar-page .webinar-hero {
    padding-top: 18px;
  }
}

/* ==========================================
   WEBINAR - ABOUT SECTION
   ========================================== */

.webinar-about {
  width: 100%;
  padding: 72px 0 100px;
}

.webinar-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(0, 0.9fr);
  align-items: start;
  gap: clamp(40px, 5vw, 80px);
}

/* LEWA KOLUMNA */

.webinar-about__content {
  min-width: 0;
}

.webinar-about__eyebrow {
  display: block;
  margin-bottom: 14px;

  color: #0754d9;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
}

.webinar-about__title {
  margin: 0 0 28px;

  color: #0b203e;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.7px;
}

.webinar-about__title span {
  color: #0754d9;
}

.webinar-about__text p {
  margin: 0 0 22px;

  color: #40516a;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.85;
}

.webinar-about__text a {
  color: #0754d9;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.webinar-about__text a:hover {
  color: #003eae;
}

.webinar-about__text h3 {
  margin: 36px 0 18px;

  color: #0b203e;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

/* LISTA PYTAŃ */

.webinar-about__questions {
  display: flex;
  flex-direction: column;
  gap: 14px;

  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}

.webinar-about__questions li {
  position: relative;
  padding-left: 24px;

  color: #40516a;
  font-size: 15px;
  line-height: 1.75;
}

.webinar-about__questions li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;

  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #0754d9;
}

/* ==========================================
   PRAWA KOLUMNA
   ========================================== */

.webinar-about__sidebar {
  min-width: 0;
}

.webinar-about__sidebar-inner {
  position: sticky;
  top: 100px;

  padding: 5px 0 5px 28px;
  border-left: 2px solid #e6ebf2;
}

.webinar-about__sidebar-label {
  display: block;
  margin-bottom: 15px;

  color: #0754d9;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.webinar-about__sidebar h3 {
  margin: 0 0 26px;

  color: #0b203e;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.35;
}

/* TEMATY WEBINARU */

/* ==========================================
   WEBINAR - EVENT DETAILS
   ========================================== */

.webinar-details {
  display: flex;
  flex-direction: column;
  gap: 26px;

  margin: 22px 0 18px;
  padding: 0;
}

.webinar-details__item {
  margin: 0;
}

.webinar-details__item dt {
  margin: 0 0 14px;
  padding-bottom: 12px;

  border-bottom: 1px solid #e6ebf2;

  color: #40516a;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.webinar-details__item dd {
  display: flex;
  flex-direction: column;
  gap: 2px;

  margin: 0;

  color: #0b203e;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}

/* CTA */

.webinar-about__sidebar .webinar-registration__action {
  justify-content: flex-end;
  margin-top: 20px;
}

/* MOBILE */

@media (max-width: 680px) {
  .webinar-details {
    gap: 22px;
  }
}

/* CTA */

.webinar-about__sidebar-footer {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid #e6ebf2;
}

.webinar-about__sidebar-footer p {
  margin: 0 0 14px;

  color: #8291a6;
  font-size: 12px;
  font-weight: 600;
}

.webinar-about__sidebar-footer a {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  color: #0754d9;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.webinar-about__sidebar-footer a:hover {
  color: #003eae;
}

/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 900px) {
  .webinar-about {
    padding: 56px 0 76px;
  }

  .webinar-about__grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 32px;
  }

  .webinar-about__sidebar-inner {
    padding-left: 20px;
  }
}

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

@media (max-width: 680px) {
  .webinar-about {
    padding: 42px 0 64px;
  }

  .webinar-about__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .webinar-about__title {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .webinar-about__text p {
    font-size: 14px;
    line-height: 1.8;
  }

  .webinar-about__questions li {
    font-size: 14px;
  }

  .webinar-about__sidebar-inner {
    position: static;
    padding-left: 22px;
  }
}

.webinar-about__sidebar .webinar-registration__action {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
