/* =========================================================================
   Section 05 — "Compliance in 60 Seconds" (node 1:1921)
   ========================================================================= */
.s05 {
  height: 660px;
  background: #ffffff;
  padding: 80px 0;
}

/* Inner row: 1056px container, 24px horizontal padding, centered vertically */
.s05-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 24px;
}

/* ---- Left text column (382px) ---- */
.s05-left {
  width: 382px;
  max-width: 382px;
  flex: 0 0 382px;
  padding-top: 32px;
}

.s05-heading {
  width: 382px;
  margin: 0;
  font-weight: 600;
  font-size: 38px;
  line-height: 46px;
  letter-spacing: -0.95px;
  color: #000;
  word-break: break-word;
}

.s05-sub {
  width: 382px;
  margin: 0;
  padding-top: 8px;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  color: #000;
  word-break: break-word;
}

.s05-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 40px;
}

.s05-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.s05-bar {
  width: 4px;
  height: 20px;
  border-radius: 16777200px;
  background: rgba(0, 0, 0, 0.1);
  flex: 0 0 4px;
}

.s05-bar--active {
  background: #000;
}

.s05-item-text {
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
  color: #000;
  white-space: nowrap;
}

/* ---- Right media column (fills remaining width, 500px tall) ---- */
.s05-media {
  flex: 616 0 0;
  min-width: 0;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
}

.s05-video {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 20px;
  pointer-events: none;
}

/* =========================================================================
   Responsive overrides (appended) — desktop rules above remain unchanged
   ========================================================================= */
@media (max-width: 1024px) {
  .s05 {
    height: auto;
    padding: 64px 0;
  }

  .s05-row {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
  }

  .s05-left,
  .s05-right {
    width: 100%;
    max-width: 100%;
    flex: none;
  }

  .s05-heading,
  .s05-sub {
    width: 100%;
    max-width: 100%;
  }

  /* Right media panel: fluid width, auto height, no overflow */
  .s05-media {
    width: 100%;
    max-width: 100%;
    flex: none;
    height: auto;
    aspect-ratio: 616 / 500;
  }

  .s05-video {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

@media (max-width: 600px) {
  .s05 {
    height: auto;
    padding: 64px 0;
  }

  .s05-row {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
  }

  .s05-left,
  .s05-right {
    width: 100%;
    max-width: 100%;
    flex: none;
  }

  .s05-heading {
    width: 100%;
    max-width: 100%;
    font-size: 26px;
    line-height: 32px;
    letter-spacing: -0.65px;
  }

  .s05-sub {
    width: 100%;
    max-width: 100%;
  }

  /* Allow list labels to wrap rather than overflow */
  .s05-item-text {
    white-space: normal;
  }

  .s05-media {
    width: 100%;
    max-width: 100%;
    flex: none;
    height: auto;
    aspect-ratio: 616 / 500;
  }

  .s05-video {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}
