.swiper { width: 100%; position: relative; }
.swiper-slide { position: relative; text-align: left; font-size: 18px; background: #222; display: flex; justify-content: center; align-items: center; overflow: hidden; min-height: 360px; border-radius: 10px; }
.hd-slide__media { position: absolute; inset: 0; z-index: 1; }
.hd-slide__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.hd-slide__gradient { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.hd-slide__inner { position: relative; z-index: 3; color: #fff; padding: 24px 32px; max-width: 85%; }
.hd-slide__title { margin: 0 0 8px 0; font-size: 28px; line-height: 1.2; }
.hd-slide__sub { margin: 0; opacity: .95; font-size: 16px; }

.autoplay-progress { position: absolute; right: 16px; bottom: 16px; z-index: 10; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--hd-progress-color, var(--swiper-theme-color, #fff)); background: rgba(0,0,0,0.25); border-radius: 999px; backdrop-filter: blur(2px); }
.autoplay-progress svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.autoplay-progress .track { stroke: currentColor; opacity: .25; stroke-width: 4px; fill: none; }
.autoplay-progress .bar   { --progress: 0; stroke: currentColor; stroke-width: 4px; fill: none; stroke-dasharray: 125.6; stroke-dashoffset: calc(125.6px * (1 - var(--progress))); transition: stroke 120ms linear; }

.swiper .swiper-button-next, .swiper .swiper-button-prev, .swiper .swiper-pagination, .swiper .swiper-scrollbar { z-index: 20; }
.hd-hidden { display: none !important; }
