.home-carousel-section { background: #fff; }
.home-carousel {
max-width: 980px;
margin: 0 auto;
border-radius: var(--radius);
overflow: hidden;
box-shadow: var(--shadow);
background: #111;
} .hc-viewport {
position: relative;
overflow: hidden;
background: #111;
outline: none;
}
.hc-track {
display: flex;
transition: transform .5s ease;
will-change: transform;
}
.hc-slide {
position: relative;
flex: 0 0 100%;
height: clamp(240px, 42vw, 470px);
background: #111;
}
.hc-slide img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
-webkit-user-drag: none;
user-select: none;
} .hc-year {
position: absolute;
top: 16px;
left: 16px;
background: var(--red);
color: #fff;
font-size: 1.4rem;
font-weight: 800;
letter-spacing: 1px;
padding: 6px 20px;
border-radius: 999px;
box-shadow: 0 3px 12px rgba(0,0,0,.35);
} .hc-more {
position: absolute;
bottom: 16px;
left: 16px;
background: rgba(0,0,0,.72);
color: #fff !important;
font-size: 1rem;
font-weight: 600;
padding: 10px 18px;
border-radius: 8px;
}
.hc-more:hover { background: var(--red); } .hc-bar {
display: flex;
align-items: center;
justify-content: center;
gap: 14px;
flex-wrap: wrap;
padding: 14px 16px;
background: #fff;
border-top: 1px solid #eee;
}
.hc-btn {
min-width: 56px;
height: 52px;
padding: 0 18px;
border: 2px solid #ddd;
border-radius: 10px;
background: #fff;
color: var(--ink);
font-size: 1.1rem;
font-weight: 700;
cursor: pointer;
transition: all .15s;
}
.hc-btn:hover { border-color: var(--red); color: var(--red); }
.hc-btn:active { transform: scale(.96); } .hc-pause {
height: 52px;
padding: 0 18px;
border: 2px solid var(--red);
border-radius: 10px;
background: #fff;
color: var(--red);
font-size: 1.05rem;
font-weight: 700;
cursor: pointer;
transition: all .15s;
}
.hc-pause:active { transform: scale(.96); } .hc-counter {
font-size: 1.15rem;
font-weight: 700;
color: var(--ink);
min-width: 76px;
text-align: center;
} .hc-dots {
display: flex;
align-items: center;
gap: 10px;
}
.hc-dot {
width: 16px;
height: 16px;
padding: 0;
border: none;
border-radius: 50%;
background: #ccc;
cursor: pointer;
transition: all .15s;
}
.hc-dot:hover { background: #999; }
.hc-dot.active {
background: var(--red);
transform: scale(1.25);
} @media (max-width: 600px) {
.home-carousel { max-width: 100%; }
.hc-slide { height: clamp(200px, 58vw, 300px); }
.hc-year { font-size: 1.15rem; padding: 5px 14px; top: 12px; left: 12px; }
.hc-more { font-size: .92rem; padding: 9px 14px; bottom: 12px; left: 12px; }
.hc-bar { gap: 10px; padding: 12px 10px; }
.hc-dots { order: -1; width: 100%; justify-content: center; }
.hc-next { order: 1; }
.hc-pause { order: 2; } .hc-btn, .hc-pause {
width: 50px !important;
min-width: 50px !important;
height: 50px !important;
aspect-ratio: 1 / 1 !important;
padding: 0 !important;
border-radius: 50% !important;
flex: 0 0 auto !important;
font-size: 1.3rem;
display: inline-flex;
align-items: center;
justify-content: center;
}
.hc-counter { font-size: 1.05rem; min-width: 64px; }
.hc-dot { width: 14px; height: 14px; }
}