/* CS 팝업 공지 캐러셀 (GF_User / _Layout과 동일) */
.cs-popup-carousel-viewport {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    padding: 10px 4px 6px;
    box-sizing: border-box;
    scrollbar-width: thin;
}
.cs-popup-carousel-viewport::-webkit-scrollbar { height: 6px; }
.cs-popup-carousel-viewport::-webkit-scrollbar-thumb { background: #444; border-radius: 3px; }
.cs-popup-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    min-width: 0;
    box-sizing: border-box;
}
@media (min-width: 768px) {
    .cs-popup-slide { flex: 0 0 calc((100% - 12px) / 2); }
}
@media (min-width: 1200px) {
    .cs-popup-slide { flex: 0 0 calc((100% - 24px) / 3); }
}
.cs-popup-carousel-nav {
    background: #333 !important;
    color: #eee !important;
    border: 1px solid #444 !important;
}
.cs-popup-carousel-nav:disabled { opacity: 0.35; cursor: default; }
.cs-popup-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #444; border: none; padding: 0; cursor: pointer;
}
.cs-popup-dot.is-active { background: #f0ad4e; }
.cs-agent-popup-inner.cs-popup-multi {
    background: transparent !important;
    box-shadow: none !important;
}
/* IMAGE: 카드( div ) 크기 고정 → 이미지가 가로·세로 모두 div에 맞춤(원본 비율로 영역이 커지지 않음) */
.cs-popup-slide-card--image {
    width: 100%;
    max-width: 100%;
    height: min(520px, 72vh);
    max-height: min(520px, 72vh);
    min-height: min(360px, 55vh);
}
.cs-popup-slide-body--image {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column;
    padding: 0 !important;
    min-height: 0 !important;
    width: 100%;
    overflow: hidden !important;
    align-self: stretch;
}
.cs-popup-img-width-fit {
    flex: 1 1 auto;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    background: #000;
    box-sizing: border-box;
}
.cs-popup-img-width-fit__img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0;
    border: 0;
    object-fit: fill;
    object-position: center center;
}
