@charset "utf-8";

/**
 * [구역] 메인 배너 — #sec-visual 만 사용
 * 상단헤더(#header.syou-site-header) CSS 와 분리 (syou-site-header.css)
 */
#sec-visual.syou-sec--visual {
    padding: 0;
    border-bottom: 0;
}

#sec-visual .syou-visual {
    position: relative;
    display: block;
    width: 100%;
    background: #e8e4df;
}

#sec-visual .syou-visual__slider {
    overflow: hidden;
    width: 100%;
    aspect-ratio: var(--syou-hero-aspect, 887 / 1774);
    background: #e8e4df;
}

#sec-visual .syou-visual__slider .swiper-wrapper,
#sec-visual .syou-visual__slider .swiper-slide {
    height: 100% !important;
}

#sec-visual .syou-visual__slider .swiper-slide {
    overflow: hidden;
    line-height: 0;
}

#sec-visual .syou-visual__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    vertical-align: top;
}

/* 하단 검정 바: 롤링 타이머 게이지 + N/M 표시 */
#sec-visual .syou-visual__pager {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    height: 32px;
    min-height: 32px;
    max-height: 32px;
    margin: 0;
    padding: 0 14px 0 16px;
    background: rgba(0, 0, 0, 0.92);
    color: #fff;
    box-sizing: border-box;
    pointer-events: none;
}

#sec-visual .syou-visual__pager-track {
    flex: 1 1 auto;
    min-width: 0;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    overflow: hidden;
}

#sec-visual .syou-visual__pager-fill {
    display: block;
    height: 100%;
    width: 0%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--syou-primary, #c49a6b) 0%, #f0dcc4 100%);
    box-shadow: 0 0 10px rgba(196, 154, 107, 0.55);
    will-change: width;
}

#sec-visual .syou-visual__pager-count {
    flex: 0 0 auto;
    margin: 0;
    font-size: 12px;
    line-height: 1;
    text-align: right;
    white-space: nowrap;
}

html.syou-root body.syou-layout .mobile-frame__inner #sec-visual .syou-visual__pager {
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    padding: 0 14px 0 16px !important;
}

html.syou-root body.syou-layout .mobile-frame__inner #sec-visual .syou-visual__pager-count {
    font-size: 12px !important;
    line-height: 1 !important;
}
