/* ========================================
   메인 페이지 리뷰 섹션 스타일
   Yellow Theme 기반 디자인
   ======================================== */

/* 기본 리셋 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 외부 래퍼 - 다른 섹션과 구별을 위한 여백 */
.our-team-v-2 {
    padding: 80px 0 !important;
    background: #f8f8f8 !important;
    margin: 0 !important;
}

/* 모바일 여백 조정 */
@media (max-width: 768px) {
    .our-team-v-2 {
        padding: 40px 0 !important;
    }
}

/* 리뷰 섹션 컨테이너 */
.review-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    background: transparent !important;
    font-family: 'Noto Sans KR', Arial, sans-serif;
}

/* ========================================
   섹션 헤더
   ======================================== */

.section-header {
    text-align: center;
    margin-bottom: 60px;
    padding-top: 20px;
}

.section-header h2 {
    font-size: 2em;
    color: #222;
    margin-bottom: 20px;
    font-weight: 700;
}

.section-header p {
    font-size: 1.1em;
    color: #666;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.section-header p strong {
    color: #d4a017;
    font-weight: 700;
}

/* ========================================
   리뷰 컨테이너 (Grid)
   ======================================== */

.reviews-container {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    padding: 20px 0;
    max-width: 1400px;
    margin: 0 auto;
}

/* ========================================
   리뷰 카드
   ======================================== */

.review-card {
    background: #fff !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 12px !important;
    padding: 28px 24px !important;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
    display: block !important;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(212,160,23,0.15);
    border-color: #d4a017;
}

/* 별점 */
.stars {
    color: #ffc107;
    font-size: 1.3em;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

/* 제목 */
.review-title {
    font-size: 1.1em;
    font-weight: 700;
    color: #222;
    margin-bottom: 14px;
    line-height: 1.4;
    min-height: 50px;
}

.review-title a {
    color: #222;
    text-decoration: none;
}

.review-title a:hover {
    color: #d4a017;
}

/* 내용 */
.review-content {
    font-size: 0.95em;
    color: #555;
    line-height: 1.6;
    margin-bottom: 18px;
    min-height: 72px;
}

/* 메타 정보 */
.review-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid #f0f0f0;
    font-size: 0.88em;
}

.reviewer-info {
    color: #999;
}

.service-type {
    color: #d4a017;
    font-weight: 600;
}

/* ========================================
   전체 보기 버튼
   ======================================== */

.view-all-btn {
    text-align: center;
    margin-top: 60px;
    padding-bottom: 20px;
}

.view-all-btn a {
    display: inline-block;
    padding: 16px 48px;
    background: #d4a017;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(212, 160, 23, 0.2);
}

.view-all-btn a:hover {
    background: #b8890f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 160, 23, 0.3);
    color: #fff !important;
}

.view-all-btn a::after {
    content: " →";
    margin-left: 8px;
}

/* ========================================
   빈 메시지
   ======================================== */

.empty-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 1.1em;
}

/* ========================================
   반응형 디자인
   ======================================== */

/* 태블릿 (2열) */
@media (max-width: 1024px) {
    .reviews-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 모바일 (1열) */
@media (max-width: 768px) {
    .section-header {
        margin-bottom: 40px;
        padding-top: 10px;
    }

    .section-header h2 {
        font-size: 1.5em;
        margin-bottom: 16px;
    }

    .section-header p {
        font-size: 1em;
        padding: 0 10px;
    }

    .reviews-container {
        grid-template-columns: 1fr;
    }

    .review-card {
        min-width: 260px;
    }

    .view-all-btn {
        margin-top: 40px;
        padding-bottom: 10px;
    }

    .view-all-btn a {
        font-size: 1em;
        padding: 14px 36px;
    }
}
