.hero-banner {
width: 100%;
aspect-ratio: 1920 / 598;
overflow: hidden;
margin-top: 76px;
}
@media (max-width: 1058px) { .hero-banner { margin-top: 102px; } }
@media (max-width: 991px)  { .hero-banner { margin-top: 59px; } }
@media (max-width: 576px)  { .hero-banner { aspect-ratio: 576 / 384; } }
@media (max-width: 507px)  { .hero-banner { margin-top: 98px; } }
.hero-swiper {
width: 100%;
height: 100%;
position: relative;
}
.hero-slide-img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.hero-slide-btn {
position: absolute;
bottom: 40px;
left: 40px;
padding: 12px 28px;
background: #fff;
color: #000;
text-decoration: none;
border-radius: 4px;
z-index: 5;
}
.hero-banner .swiper-slide { position: relative; }
@media (max-width: 767px) {
.hero-slide-btn { bottom: 20px; left: 20px; padding: 8px 18px; font-size: 14px; }
}
.hero-arrow-prev,
.hero-arrow-next {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 48px;
height: 48px;
background: rgba(255, 255, 255, 0.9);
border-radius: 50%;
cursor: pointer;
z-index: 10;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.3s ease;
}
.hero-arrow-prev:hover,
.hero-arrow-next:hover {
background: #ff7a00;
}
.hero-arrow-prev { left: 24px; }
.hero-arrow-next { right: 24px; }
.hero-arrow-prev::after,
.hero-arrow-next::after {
content: '';
width: 12px;
height: 12px;
border-top: 2px solid #333;
border-right: 2px solid #333;
}
.hero-arrow-prev::after { transform: rotate(-135deg); margin-left: 4px; }
.hero-arrow-next::after { transform: rotate(45deg); margin-right: 4px; }
.hero-arrow-prev:hover::after,
.hero-arrow-next:hover::after {
border-color: #fff;
}
@media (max-width: 991px) {
.hero-arrow-prev, .hero-arrow-next { width: 40px; height: 40px; }
}
@media (max-width: 767px) {
.hero-arrow-prev, .hero-arrow-next { width: 36px; height: 36px; }
.hero-arrow-prev { left: 12px; }
.hero-arrow-next { right: 12px; }
}
@media (max-width: 575px) {
.hero-arrow-prev, .hero-arrow-next { width: 32px; height: 32px; }
}
.hero-swiper .hero-pagination {
position: absolute;
bottom: 20px;
left: 50%;
top: auto;
width: auto;
transform: translateX(-50%);
z-index: 10;
display: flex;
align-items: center;
gap: 8px;
}
.hero-swiper .hero-pagination .swiper-pagination-bullet {
width: 8px;
height: 8px;
background: #fff;
opacity: 0.5;
border-radius: 50%;
margin: 0;
display: inline-block;
position: relative;
cursor: pointer;
transition: all 0.3s ease;
}
.hero-swiper .hero-pagination .swiper-pagination-bullet:hover {
opacity: 0.8;
}
.hero-swiper .hero-pagination .swiper-pagination-bullet-active {
width: 24px;
background: #ff7a00;
opacity: 1;
border-radius: 4px;
}