/* =====================================================
   EHI Parallax Content widget — ehi-parallax-content.css
   ===================================================== */

.ehi-parallax-content {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background: #0d0d0d;
}

.ehi-pc-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ehi-pc-bg-media,
.ehi-pc-bg-overlay {
  position: absolute;
  inset: 0;
}

.ehi-pc-bg-media {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.ehi-pc--parallax .ehi-pc-bg-media {
  inset: -8% 0;
  will-change: transform;
}

.ehi-pc-bg-overlay {
  background: rgba(0, 0, 0, 0.45);
}

.ehi-pc-shell {
  position: relative;
  z-index: 1;
  min-height: inherit;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 96px 24px;
  display: flex;
  align-items: center;
}

.ehi-pc-panel {
  width: 100%;
  max-width: 860px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.ehi-pc--align-left .ehi-pc-shell {
  justify-content: flex-start;
}

.ehi-pc--align-center .ehi-pc-shell {
  justify-content: center;
}

.ehi-pc--align-right .ehi-pc-shell {
  justify-content: flex-end;
}

.ehi-pc--align-left .ehi-pc-panel {
  align-items: flex-start;
  text-align: left;
}

.ehi-pc--align-center .ehi-pc-panel {
  align-items: center;
  text-align: center;
}

.ehi-pc--align-right .ehi-pc-panel {
  align-items: flex-end;
  text-align: right;
}

.ehi-pc-icon-badge {
  width: 90px;
  height: 90px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: #c41e2a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.ehi-pc-icon-badge i {
  color: #ffffff;
  font-size: 38px;
}

.ehi-pc-icon-badge svg {
  width: 38px;
  height: 38px;
  fill: #ffffff;
}

.ehi-pc-icon-badge img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.ehi-pc-title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 4.4vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
}

.ehi-pc-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.7;
}

.ehi-pc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.ehi-pc--align-left .ehi-pc-actions {
  justify-content: flex-start;
}

.ehi-pc--align-center .ehi-pc-actions {
  justify-content: center;
}

.ehi-pc--align-right .ehi-pc-actions {
  justify-content: flex-end;
}

.ehi-pc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 26px;
  border-radius: 3px;
  border: 2px solid transparent;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    background 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s ease;
}

.ehi-pc-btn:hover {
  transform: translateY(-1px);
}

.ehi-pc-btn-primary {
  background: #c41e2a;
  border-color: #c41e2a;
  color: #ffffff;
}

.ehi-pc-btn-primary:hover {
  background: #a8101b;
  border-color: #a8101b;
}

.ehi-pc-btn-secondary {
  background: transparent;
  border-color: #ffffff;
  color: #ffffff;
}

.ehi-pc-btn-secondary:hover {
  background: #ffffff;
  color: #0d0d0d;
}

.ehi-pc-swiper,
.ehi-pc-swiper .swiper-wrapper {
  min-height: inherit;
}

.ehi-pc-swiper .swiper-slide {
  height: auto;
  display: flex;
}

.ehi-pc-nav {
  position: absolute;
  left: 50%;
  bottom: 32px;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
}

.ehi-pc-arrow {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.18);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.ehi-pc-arrow:hover {
  background: rgba(196, 30, 42, 0.82);
  border-color: #c41e2a;
  transform: translateY(-1px);
}

.ehi-pc-arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ehi-pc-pagination {
  position: absolute;
  bottom: 38px !important;
  left: 50% !important;
  z-index: 2;
  transform: translateX(-50%);
  width: auto !important;
  display: inline-flex;
  gap: 8px;
}

.ehi-pc-pagination .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  margin: 0 !important;
  background: rgba(255, 255, 255, 0.45);
  opacity: 1;
}

.ehi-pc-pagination .swiper-pagination-bullet-active {
  background: #ffffff;
}

@media (max-width: 767px) {
  .ehi-parallax-content {
    min-height: 520px;
  }

  .ehi-pc-shell {
    padding: 78px 20px 96px;
  }

  .ehi-pc-title {
    font-size: clamp(1.8rem, 9vw, 2.75rem);
  }

  .ehi-pc-text {
    font-size: 1rem;
  }

  .ehi-pc-icon-badge {
    width: 74px;
    height: 74px;
  }

  .ehi-pc-actions {
    width: 100%;
    flex-direction: column;
  }

  .ehi-pc-btn {
    width: 100%;
    max-width: 320px;
  }

  .ehi-pc--align-left .ehi-pc-actions,
  .ehi-pc--align-center .ehi-pc-actions,
  .ehi-pc--align-right .ehi-pc-actions {
    align-items: stretch;
  }

  .ehi-pc-nav {
    bottom: 22px;
  }

  .ehi-pc-pagination {
    bottom: 28px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ehi-pc-bg-media,
  .ehi-pc-btn,
  .ehi-pc-arrow {
    transition: none !important;
    transform: none !important;
  }
}
