/* UT-Review-Index.css */

@font-face {
    font-family: 'Protest Riot';
    src: url('fonts/ProtestRiot-Regular.ttf') format('truetype');
    font-weight: normal; /* Or 400 */
    font-style: normal;
}

/* 기본 리셋 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    background-color: #fff;
    line-height: 1.6;
}

/* 컨테이너 */
.clsContainer {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    overflow-x: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05), 0 0 6px rgba(0, 0, 0, 0.03);
    background-color: #ffffff;
    border-radius: 8px;
}

.clsMain {
    width: 100%;
    background-color: #fff;
    margin-top: 75px; /* header가 fixed라 마진 줘야됨 */
}

/* 메인 배너 */
.clsMainBanner {
    width: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 0;
    margin: 0.5rem 0.5rem;
    line-height: 0;
    border-radius: 2rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08), 0 -2px 3px rgba(0,0,0,0.03), inset 0 1px 0 rgba(0,0,0,0.02);
}

.clsBannerImg-PC {
    width: 100%;
    height: auto;
    display: block;
}

.clsBannerImg-Mobile {
    width: 100%;
    height: auto;
    display: none;
}

/* --- 새로운 리뷰 검색 및 표시 영역 --- */
.clsReviewSearchArea {
    background-color: #111; /* 검정 배경 */
    padding: 50px 20px 60px; /* 위아래 여백 추가 */
    color: #fff; /* 기본 텍스트 흰색 */
    margin-bottom: 50px; /* 아래 섹션과의 간격 */
}

.clsSearchAreaTitle {
    color: #01B144; /* Fallback color */
    font-size: 2rem; /* 크기 조정 */
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    /* Gradient Text */
    background: linear-gradient(to right, #59FF00, #FFFF00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    /* Ensure inline display for proper text clipping if needed, but usually works on block */
}

/* 검색창 */
.clsSearchBarContainer {
    max-width: 500px;
    margin: 0 auto 30px; /* 중앙 정렬 및 아래 간격 */
    display: flex;
    background-color: #fff; /* 흰색 배경 */
    border-radius: 50px; /* 매우 둥근 모서리 */
    padding: 5px 5px 5px 20px; /* 내부 여백 */
    border: 1px solid #555; /* 약간의 테두리 */
}

.clsSearchInput {
    flex-grow: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    background-color: transparent;
    color: #333;
}

.clsSearchInput::placeholder {
    color: #888;
}

.clsSearchButton {
    background-color: #fff; /* 흰색 배경 */
    border: none;
    border-radius: 50%; /* 원형 버튼 */
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #555; /* 아이콘 색상 */
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: background-color 0.2s;
}

.clsSearchButton:hover {
    background-color: #f0f0f0;
}

.clsSearchButton svg {
    width: 18px;
    height: 18px;
}

/* 키워드 태그 */
.clsTagAreaContainer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.clsTagGroup {
    display: inline-flex;
    flex-wrap: nowrap;
    border: 1px solid #555;
    border-radius: 8px;
    overflow: hidden;
}

.clsTagGroup .clsTag:last-child {
    border-right: none;
}

.clsTag {
    background-color: #333;
    border: none;
    border-right: 1px solid #555;
    color: #eee;
    padding: 8px 18px;
    border-radius: 0;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.clsTag:hover,
.clsTag.active {
    background-color: #01B144;
    color: #fff;
    border-color: #01B144;
}

/* 후기 표시 영역 */
.clsReviewDisplayArea {
    max-width: 1100px; /* 카드 컨테이너 너비 */
    margin: 0 auto;
    padding: 0 55px; /* Increased further for arrow visibility */
}
/* --- 새로운 리뷰 검색 및 표시 영역 끝 --- */

/* 리뷰 슬라이드 영역 (배경 제거 및 내부 요소 색상 조정) */
.clsReviewSlide {
    /* background-color: #222; */ /* 배경 제거 */
    padding: 0; /* 새 구조에서는 패딩 불필요할 수 있음 */
    border-radius: 0; /* 새 구조에서는 불필요 */
    margin-top: 0;
    position: relative;
    box-shadow: none; /* 새 구조에서는 불필요 */
}

/* 리뷰 카드 (Grid 설정 및 반응형 추가) */
.clsReviewCards {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 기본 4열 */
    gap: 25px; /* Increased gap slightly */
    margin-bottom: 30px; /* 페이지네이션과의 간격 */
    overflow: visible; /* 슬라이드 방식이 아니므로 hidden 제거 */
}

.clsReviewCard {
    background-color: #fff; 
    border-radius: 20px; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.08); /* Softer shadow */
    padding: 18px 15px 15px; /* Base padding */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
    position: relative; 
    overflow: hidden; 
    display: flex; /* Make card a flex container */
    flex-direction: column; /* Stack content vertically */
    justify-content: space-between; /* Pushes button to bottom if card has fixed height */
}

/* Corner Blobs */
.blob {
    position: absolute;
    width: 100px; /* Base size */
    height: 100px; /* Base size */
    border-radius: 50%;
    filter: blur(25px); /* Base blur */
    z-index: 0; 
    opacity: 0.5; /* Base opacity */
}
.blob-top-left { top: -30px; left: -30px; background-color: rgba(200, 255, 100, 0.7); }
.blob-top-right { top: -30px; right: -30px; background-color: rgba(255, 230, 80, 0.7); }
.blob-bottom-left { bottom: -30px; left: -30px; background-color: rgba(100, 230, 255, 0.7); }
.blob-bottom-right { bottom: -30px; right: -30px; background-color: rgba(100, 200, 255, 0.7); }

.clsReviewCard:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.clsReviewContent {
    position: relative; 
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%; 
    flex-grow: 1; /* Allows content to take available space */
    /* padding-bottom: 10px; Removed, handle spacing with last element margin */
    background-color: transparent; /* Explicitly transparent */
    height: auto; /* Let content define height */
    border-radius: 0;
    padding: 0;
    margin-top: 0;
    box-shadow: none;
    overflow: visible;
}

.clsReviewerName {
    font-weight: 500; /* Lighter weight */
    margin-top: 0; 
    margin-bottom: 1px; /* Minimal bottom margin */
    color: #6c757d; /* Figma grey */
    text-align: center;
    font-size: 0.8rem !important; /* Base small font */
    line-height: 1.2;
}

.clsReviewType {
    font-family: "Protest Riot", sans-serif; 
    color: #000000; /* Pure Black */
    font-size: 1.8rem !important; /* Large and distinct base size */
    font-weight: 400; /* Protest Riot is normal weight */
    margin-bottom: 8px; /* Reduced margin */
    text-align: center;
    line-height: 1.1;
    display: block; /* Ensure it takes block space for font to render */
}

.clsReviewImageContainer {
    width: 100%;
    max-width: 130px; /* Base max width */
    height: 90px; /* Base height */
    margin-bottom: 8px; /* Reduced margin */
    display: flex;
    align-items: center;
    justify-content: center;
}

.clsReviewImageContainer img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; 
}

.clsReviewText { /* This is for the <제목> */
    margin-bottom: 12px; 
    color: #1c1c1c; 
    font-size: 0.95rem; /* Base size */
    text-align: center;
    font-weight: 600; 
    line-height: 1.35;
    width: 100%; 
    min-height: 40px; /* Base min-height for approx 2-3 lines */
    /* Removed flex-grow: 1; to let it size more naturally before button */
    /* overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; */ /* For multiline ellipsis if needed */
}

.clsMoreBtn {
    position: static; 
    transform: none; 
    display: inline-flex;
    padding: 8px 28px; /* Base padding */
    background-color: #000000; /* Pure Black background */
    color: #ffffff; /* Pure White text */
    text-decoration: none;
    border-radius: 30px; /* More rounded */
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.2s ease, transform 0.2s ease;
    align-items: center;
    justify-content: center;
    margin-top: auto; /* Pushes to bottom OF FLEX CONTAINER .clsReviewContent */
    flex-shrink: 0; /* Prevent button from shrinking */
}

/* Responsive Overrides - Mobile First Approach (Conceptually, though we are overriding base) */

/* Standard Mobile to Tablet */
@media screen and (min-width: 481px) and (max-width: 768px) { 
    .clsReviewCard {
        padding: 12px 10px 10px;
    }
    .blob { width: 70px; height: 70px; filter: blur(18px); opacity: 0.4; }
    .blob-top-left { top: -20px; left: -20px; }
    .blob-top-right { top: -20px; right: -20px; }
    .blob-bottom-left { bottom: -20px; left: -20px; }
    .blob-bottom-right { bottom: -20px; right: -20px; }

    .clsReviewerName { font-size: 0.75rem !important; }
    .clsReviewType { font-size: 1.4rem; margin-bottom: 7px; }
    .clsReviewImageContainer { max-width: 100px; height: 70px; margin-bottom: 7px; }
    .clsReviewText { 
        font-size: 0.75rem; /* Smaller title font */
        line-height: 1.3;
        margin-bottom: 10px; 
        min-height: 32px; /* Adjust for smaller font, approx 2-3 lines */
    }
    .clsMoreBtn { padding: 6px 20px; font-size: 0.75rem; }
}

/* Tablet (adjusting for 2 or 3 columns) */
@media screen and (min-width: 769px) and (max-width: 1024px) { 
    /* Base styles are for 4 columns, these will apply for 2 or 3 */
    .clsReviewerName { font-size: 0.75rem !important; }
    .clsReviewType { font-size: 1.7rem; }
    .clsReviewImageContainer { max-width: 120px; height: 85px; }
    .clsReviewText { font-size: 0.8rem; }
}

/* Arrow visibility on desktop */
.clsReviewDisplayArea {
    max-width: 1100px; 
    margin: 0 auto;
    padding: 0 55px; /* Increased further for arrow visibility */
}
/* Reduce padding for arrows on smaller screens */
@media screen and (max-width: 1200px) { /* When display area starts to get constrained */
    .clsReviewDisplayArea { padding: 0 35px; }
    .clsPrevSlide { left: -25px; }
    .clsNextSlide { right: -25px; }
}
@media screen and (max-width: 768px) { /* Already have this, check for conflicts */
    .clsReviewDisplayArea { padding: 0 15px; }
    .clsPrevSlide { left: -5px; /* Closer for mobile */ }
    .clsNextSlide { right: -5px; /* Closer for mobile */ }

    /* Re-confirming styles for cards under 768px based on new feedback */
    .clsReviewerName {
        font-size: 0.7rem !important; /* Consistent with 481-768px rule above */
        margin-bottom: 0; /* No margin for p in review content as requested */
    }
    .clsReviewType {
        font-size: 1.3rem; /* Smaller for mobile */
        margin-bottom: 5px; /* Tighter spacing */
    }
    .clsReviewImageContainer {
        max-width: 90px;
        height: 70px;
        margin-bottom: 5px; /* Tighter spacing */
    }
    .clsReviewText {
        font-size: 0.8rem; /* As requested */
        margin-bottom: 8px; /* Tighter spacing before button */
        min-height: 28px; /* approx 2 lines */
    }
    .clsMoreBtn {
        font-size: 0.75rem;
        padding: 6px 16px;
    }
}

/* 페이지네이션 (색상 조정) */
.clsPagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.clsPageNumber {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #333;
    border-radius: 50%;
    cursor: pointer;
    font-weight: 500;
    color: #fff;
}

.clsPageNumber.active {
    background-color: #01B144;
    color: white;
}

/* Ellipsis styling */
.clsPaginationEllipsis {
    padding: 0 5px;
    color: #aaa; /* Adjust color as needed */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 네비게이션 버튼 (색상 조정) */
.clsSlideNav {
    /* position: absolute; */ /* 위치 조정 필요시 */
    /* top: 50%; */
    /* transform: translateY(-50%); */
    width: 35px;
    height: 35px;
    background-color: #01B144; /* Apply green background globally */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff; /* 아이콘 흰색 */
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    box-shadow: none; /* 그림자 제거 또는 조정 */
    transition: background-color 0.2s;
    /* 위치 재조정 */
    position: absolute;
    top: 45%; /* Adjust upwards slightly for better visual centering with pagination */
    transform: translateY(-50%);
}

.clsSlideNav:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.clsPrevSlide {
    left: -45px; /* 위치 조정 */
}

.clsNextSlide {
    right: -45px; /* 위치 조정 */
}

/* CTA 섹션 */
#divSection8 {
    margin: 70px 0;
    /*padding: 0 20px;*/
}

.clsCtaWrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.clsSpeechBubble {
    width: 100%;
    background-color: #111;
    color: white;
    border-radius: 2rem;
    padding: 40px;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.clsCtaContent {
    text-align: center;
    padding: 0 20px;
}

.clsCtaTitle {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.clsCtaDescription {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #eee;
}

.clsCtaButton {
    padding: 12px 30px;
    background-color: #01B144;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.clsCtaButton:hover {
    background-color: #00C853;
}

.clsArrowImage {
    position: absolute;
    bottom: -30px;
    right: 20%;
    width: 80px;
    height: auto;
    z-index: 2;
}

.clsManImage {
    position: absolute;
    bottom: -20px;
    right: 5%;
    height: 180px;
    z-index: 3;
}

/* 반응형 디자인 */
@media screen and (max-width: 1024px) { /* Adjusted breakpoint - Tablet */
    .clsReviewCards {
        grid-template-columns: repeat(3, 1fr); /* Keep 3 columns for tablet */
        gap: 15px;
    }
    .clsReviewText {
        font-size: 0.95rem; /* Tablet font size */
    }
    .clsPrevSlide {
        left: -35px;
        font-size: 1.6rem;
    }
    .clsNextSlide {
        right: -35px;
    }
    .clsReviewCard {
        font-size: 0.8rem;
    }
    /* Adjust card fonts further for very small screens */
    .clsReviewerName {
        margin-bottom: 8px;
    }
    .clsReviewText {
        font-size: 0.8rem; /* Re-apply smallest font size */
        margin-bottom: 35px; /* Ensure enough space for button */
        line-height: 1.35;
    }
    .clsReviewCard {
        padding: 15px;
    }
    .clsReviewDisplayArea {
        padding: 0 40px; /* Adjust padding for tablets */
    }
    .clsReviewType { font-size: 1.7rem; }
    .clsReviewImageContainer { height: 95px; }
}

@media screen and (max-width: 992px) { /* Breakpoint for 2 columns */
    .clsReviewCards {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .clsPrevSlide {
        left: 5px;
    }
    .clsNextSlide {
        right: 5px;
    }
    .clsSlideNav {
        width: 30px;
        height: 30px;
    }
    /* Padding moved to 992px breakpoint */
    /* .clsReviewDisplayArea {
        padding: 0 10px; 
    } */

    /* Readjust tag groups for mobile - ensure wrapping is explicitly enabled */
    .clsTagAreaContainer {
    }
    /* .clsTagGroup {
        margin: 0; 
    } */
    .clsSlideNav {
        /* Maybe even higher on very small screens if needed */
        /* top: 35%; */ 
        width: 30px;
        height: 30px;
    }

    /* More 버튼 모바일 최적화 */
    .clsMoreBtn {
        font-size: 0.85rem;
        padding: 6px 18px;
    }

    /* CTA 섹션 모바일 조정 */
    .clsSpeechBubble {
        padding: 30px 20px;
    }

    .clsCtaTitle {
        font-size: 1.5rem;
    }

    .clsCtaDescription {
        font-size: 1rem;
    }

    .clsManImage {
        height: 150px;
        right: 5%;
    }

    .clsArrowImage {
        width: 70px;
        right: 20%;
    }

    .clsReviewDisplayArea {
        padding: 0 15px; /* Reduce padding further for 2-column layout to bring arrows closer */
    }
    .clsPrevSlide {
        left: -30px; /* Bring arrows closer if padding is reduced */
    }
    .clsNextSlide {
        right: -30px; /* Bring arrows closer if padding is reduced */
    }
    .clsReviewCards {
        /* Styles from 768px might be okay, or can be slightly larger */
        .clsReviewType { font-size: 1.6rem; }
    }
}

@media screen and (max-width: 768px) { /* Existing Mobile Styles - keep general styling */
    .clsSearchAreaTitle {
        font-size: 1.6rem;
    }
    /* Further reduce font sizes for standard mobile */
    .clsReviewText {
        font-size: 0.85rem; 
        line-height: 1.4;
    }
    .clsReviewCard {
        padding: 15px;
    }
    .clsReviewContent {
        min-height: 110px; /* Adjust min height if needed */
    }

    .clsTagAreaContainer {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    .clsTagGroup {
        margin: 0;
    }
    .clsTag {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    /* More 버튼 모바일 최적화 */
    .clsMain {
        margin-top: 60px !important;
    }
    
    .clsBannerImg-PC {
        display: none;
    }
    
    .clsBannerImg-Mobile {
        display: block;
    }
    
    .clsMainBanner {
        margin: 0;
        border-radius: 2rem;
    }
    
    .clsReviewSlide {
        border-radius: 1.5rem;
        padding: 20px 15px;
    }
    
    .clsReviewCards {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    /* More 버튼 모바일 최적화 */
    .clsMoreBtn {
        font-size: 0.8rem; /* Slightly smaller font */
        padding: 6px 18px; /* Adjust padding */
        width: auto; /* Let width be determined by padding */
        min-width: 80px; /* Ensure a minimum width */
    }
    
    /* CTA 섹션 모바일 조정 */
    .clsSpeechBubble {
        padding: 30px 20px;
    }
    
    .clsCtaTitle {
        font-size: 1.5rem;
    }
    
    .clsCtaDescription {
        font-size: 1rem;
    }
    
    .clsManImage {
        height: 150px;
        right: 5%;
    }
    
    .clsArrowImage {
        width: 70px;
        right: 20%;
    }

    .clsReviewContent {
        min-height: 100px; /* Adjust min height */
    }

    .clsReviewDisplayArea {
        padding: 0 10px; /* Minimal padding for arrows on mobile */
    }
    .clsPrevSlide {
        left: -25px; /* Adjust for mobile */
    }
    .clsNextSlide {
        right: -25px; /* Adjust for mobile */
    }
    .clsReviewCards {
        /* Styles from 768px might be okay, or can be slightly larger */
        .clsReviewType { font-size: 1.5rem; margin-bottom: 8px; }
        .clsReviewImageContainer { height: 90px; margin-bottom: 8px; }
        .clsReviewText { font-size: 0.65rem; margin-bottom: 12px; }
        .clsMoreBtn { padding: 7px 20px; font-size: 0.8rem; }
    }
}

@media screen and (max-width: 480px) { /* Keep other small mobile styles */
    .clsSearchAreaTitle {
        font-size: 1.4rem;
    }
    /* Keep column count at 2 based on design */

    /* More 버튼 작은 모바일에서 더 작게 */
    .clsMoreBtn {
        font-size: 0.75rem; /* Further reduce font size */
        padding: 5px 15px; /* Adjust padding */
        min-width: 70px; /* Slightly smaller min-width */
        /* width: 80%; */ /* Avoid percentage width, use padding/min-width */
    }
    
    /* CTA 섹션 작은 모바일 조정 */
    .clsSpeechBubble {
        padding: 25px 15px;
        border-radius: 1.5rem;
    }
    
    .clsCtaTitle {
        font-size: 1.3rem;
        line-height: 1.4;
    }
    
    .clsCtaDescription {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .clsCtaButton {
        padding: 10px 20px;
        font-size: 1rem;
        border-radius: 25px;
    }
    
    .clsManImage {
        height: 120px;
        right: 0;
    }
    
    .clsArrowImage {
        width: 60px;
        right: 15%;
    }
    
    /* 페이지네이션 모바일 조정 */
    .clsPageNumber {
        width: 25px;
        height: 25px;
    }
    
    .clsReviewContent {
        min-height: 100px;
    }
    
    /* 슬라이드 화살표 색상 변경 - 더 잘 보이게 */
    .clsSlideNav {
        /* Maybe even higher on very small screens if needed */
        /* top: 35%; */ 
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .clsReviewCard {
        padding: 15px 10px 10px;
    }
    .blob {
        width: 80px; height: 80px; filter: blur(20px);
    }
    .blob-top-left { top: -25px; left: -25px; }
    .blob-top-right { top: -25px; right: -25px; }
    .blob-bottom-left { bottom: -25px; left: -25px; }
    .blob-bottom-right { bottom: -25px; right: -25px; }

    .clsReviewerName { font-size: 0.75rem !important; margin-bottom: 2px; }
    .clsReviewType { font-size: 1.4rem; margin-bottom: 8px; }
    .clsReviewImageContainer { height: 80px; margin-bottom: 8px; }
    .clsReviewText { font-size: 0.75rem; margin-bottom: 10px; }
    .clsMoreBtn { padding: 6px 18px; font-size: 0.75rem; }

    .clsPrevSlide {
        left: -20px; 
    }
    .clsNextSlide {
        right: -20px; 
    }
    .clsReviewCard {
        padding: 15px 10px 10px;
    }
    .blob {
        width: 80px; height: 80px; filter: blur(20px);
    }
}

/* 매우 작은 모바일 화면을 위한 추가 최적화 */
@media screen and (max-width: 376px) {
    .clsReviewCard {
        padding: 12px 10px;
        height: auto;
    }
    
    .clsReviewContent {
        min-height: 90px;
    }
    
    .clsReviewerName {
        font-size: 0.6rem !important;
        margin-bottom: 6px;
    }
    
    .clsReviewText {
        font-size: 0.65rem;
        margin-bottom: 30px;
        line-height: 1.3;
    }
    
    .clsMoreBtn {
        font-size: 0.7rem;
        padding: 4px 18px;
        border-radius: 12px;
        width: 80%;
    }
    
    .clsSlideNav {
        width: 26px;
        height: 26px;
        font-size: 0.9rem;
    }
    
    .clsPageNumber {
        width: 22px;
        height: 22px;
        font-size: 0.8rem;
    }
    
    .clsReviewSlide {
        padding: 12px 8px;
    }
}

/* --- Video Player Modal Styles --- */
.clsReviewVideoPlayerModal {
    display: none; /* 초기에는 숨김 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1100; /* Ensure it's above other content */
}

    /* 모달이 표시될 때 적용할 스타일 */
.clsReviewVideoPlayerModal.active {
    display: flex !important; 
    align-items: center !important;
    justify-content: center !important;
}

.clsReviewVideoPlayerContainer {
    position: relative;
    width: 90%;
    max-width: 900px;
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
}

.clsReviewCloseVideoPlayer {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
}

.clsReviewCloseVideoPlayer:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.clsReviewCustomVideoPlayer {
    position: relative;
    width: 100%;
}

.clsReviewVideoElement {
    width: 100%;
    display: block;
}

.clsReviewVideoControls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 15px;
    display: flex;
    align-items: center;
    transition: opacity 0.3s ease;
    opacity: 0; /* Initially hidden */
}

.clsReviewPlayPauseBtn {
    width: 36px;
    height: 36px;
    background-color: rgba(1, 177, 68, 0.8); /* Main green color with some transparency */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-right: 15px;
    transition: background-color 0.3s ease;
}

.clsReviewPlayPauseBtn:hover {
    background-color: #01B144; /* Main green color */
}

.clsReviewPauseIcon {
    display: none;
}

.clsReviewProgressBarContainer {
    flex: 1;
    margin: 0 15px;
}

.clsReviewProgressBar {
    height: 6px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}

.clsReviewProgress {
    height: 100%;
    background-color: #01B144; /* Main green color */
    border-radius: 3px;
    width: 0;
}

.clsReviewTimeDisplay {
    color: white;
    font-size: 14px;
    margin: 0 15px;
    min-width: 90px;
    text-align: center;
}

.clsReviewVolumeContainer {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.clsReviewVolumeBtn {
    cursor: pointer;
    margin-right: 10px;
}

.clsReviewVolumeIconMuted {
    display: none; /* JS will toggle this */
}

.clsReviewVolumeSlider {
    width: 60px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}

.clsReviewVolumeProgress {
    height: 100%;
    background-color: #01B144; /* Main green color */
    border-radius: 3px;
    width: 100%; /* Default to full volume, JS will adjust */
}

.clsReviewFullscreenBtn {
    cursor: pointer;
}

/* Responsive styles for Video Player Modal */
@media screen and (max-width: 768px) {
    .clsReviewVideoControls {
        padding: 10px;
    }
    .clsReviewPlayPauseBtn {
        width: 30px;
        height: 30px;
        margin-right: 10px;
    }
    .clsReviewTimeDisplay {
        font-size: 12px;
        min-width: 75px;
        margin: 0 10px;
    }
    .clsReviewVolumeContainer {
        margin-right: 10px;
    }
    .clsReviewVolumeSlider {
        width: 50px;
    }
    .clsReviewProgressBarContainer {
        margin: 0 10px;
    }
}

@media screen and (max-width: 480px) {
    .clsReviewTimeDisplay {
        min-width: 70px;
    }
    /* Hide volume controls on very small screens to save space */
    .clsReviewVolumeContainer {
        display: none;
    }
} 