@charset "UTF-8";

/* ========================================
   Review (사례후기) — tongdal
   ======================================== */

/* === Section 1: Hero === */
.review-hero {
    position: relative;
    width: 100%;
    height: 800px;
    overflow: hidden;
}
.review-hero-bg {
    position: absolute;
    inset: 0;
}
.review-hero-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
}
.review-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(34, 30, 31, 0.6);
}
.review-hero-content {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
}
.review-hero-title {
    font-family: 'Noto Serif KR', serif;
    font-weight: 700;
    font-size: 60px;
    color: #fff;
    text-align: center;
    margin: 0;
    line-height: 1;
    position: absolute;
    top: 340px;
    left: 50%;
    transform: translateX(-50%);
}
.review-hero-sub {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
    max-width: 640px;
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
}
.review-hero-subtitle {
    font-family: 'Noto Serif KR', serif;
    font-weight: 700;
    font-size: 32px;
    color: #fff;
    text-align: center;
    margin: 0;
}
.review-hero-desc {
    font-family: 'Noto Serif KR', serif;
    font-weight: 400;
    font-size: 20px;
    color: #fff;
    text-align: center;
    margin: 0;
    line-height: 1.5;
}

/* === Section 2: Board === */
.review-section {
    max-width: 1520px;
    margin: 0 auto;
    padding: 160px 0 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

/* Category Tags */
.review-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}
.review-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    padding: 0 20px;
    border: 1px solid #8c9091;
    border-radius: 10px;
    font-family: 'Pretendard', sans-serif;
    font-size: 18px;
    color: #8c9091;
    text-decoration: none;
    transition: all 0.2s ease;
}
.review-tag:hover {
    border-color: #221e1f;
    color: #221e1f;
}
.review-tag.active {
    border-color: #221e1f;
    color: #221e1f;
}

/* Card Grid */
.review-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 20px;
    width: 100%;
}
.review-card {
    width: calc(25% - 15px);
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-decoration: none;
    color: inherit;
}
.review-card-thumb {
    width: 100%;
    height: 240px;
    border-radius: 30px;
    overflow: hidden;
    background: #5f6369;
}
.review-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.review-card-thumb-empty {
    width: 100%;
    height: 100%;
    background: #5f6369;
}
.review-card-body {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.review-card-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 25px;
    padding: 0 24px;
    border: 1px solid #8c9091;
    border-radius: 100px;
    font-family: 'Pretendard', sans-serif;
    font-size: 14px;
    color: #8c9091;
    white-space: nowrap;
    flex-shrink: 0;
}
.review-card-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    min-width: 0;
}
.review-card-title {
    font-family: 'Noto Serif KR', serif;
    font-weight: 700;
    font-size: 20px;
    color: #221e1f;
    margin: 0;
    line-height: 1.6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    padding: 2px 0;
}
.review-card-author {
    font-family: 'Pretendard', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #5f6369;
    margin: 0;
}

/* Empty State */
.review-empty {
    width: 100%;
    text-align: center;
    padding: 80px 0;
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    color: #8c9091;
}

/* Pagination */
.review-paging {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 40px;
    height: 40px;
}
.review-paging-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    color: #221e1f;
    text-decoration: none;
    transition: opacity 0.2s;
}
.review-paging-arrow.prev {
    margin-right: 24px;
}
.review-paging-arrow.next {
    margin-left: 24px;
}
.review-paging-arrow:hover {
    opacity: 0.6;
}
.review-paging-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-family: 'Pretendard', sans-serif;
    font-size: 20px;
    color: #221e1f;
    text-decoration: none;
    transition: background 0.2s;
}
.review-paging-num + .review-paging-num {
    margin-left: 12px;
}
.review-paging-num.active {
    background: #840028;
    color: #fff;
}
.review-paging-num:hover:not(.active) {
    background: rgba(34, 30, 31, 0.08);
}

/* === View Page === */
.review-view {
    padding: 120px 0 80px;
}
.review-view-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}
.review-view-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(34, 30, 31, 0.1);
}
.review-view-title {
    font-family: 'Noto Serif KR', serif;
    font-weight: 700;
    font-size: 32px;
    color: #221e1f;
    margin: 0;
    line-height: 1.4;
}
.review-view-author {
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    color: #5f6369;
    margin: 0;
}
.review-view-thumb {
    margin-bottom: 40px;
    border-radius: 20px;
    overflow: hidden;
}
.review-view-thumb img {
    width: 100%;
    height: auto;
    display: block;
}
.review-view-content {
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    color: #221e1f;
    line-height: 1.8;
    margin-bottom: 60px;
}
.review-view-content img {
    max-width: 100%;
    height: auto;
}
.review-view-files {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.review-view-file {
    font-family: 'Pretendard', sans-serif;
    font-size: 14px;
    color: #840028;
    text-decoration: underline;
}
.review-view-actions {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}
.review-btn-list {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 40px;
    border: 1px solid #221e1f;
    border-radius: 12px;
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    color: #221e1f;
    text-decoration: none;
}
.review-btn-list:hover {
    background: #221e1f;
    color: #fff;
}
.review-view-nav {
    border-top: 1px solid rgba(34, 30, 31, 0.1);
    display: flex;
    flex-direction: column;
}
.review-view-nav-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(34, 30, 31, 0.05);
    text-decoration: none;
    color: inherit;
}
.review-view-nav-item:hover {
    background: rgba(34, 30, 31, 0.02);
}
.review-view-nav-label {
    font-family: 'Pretendard', sans-serif;
    font-size: 14px;
    color: #8c9091;
    width: 60px;
    flex-shrink: 0;
}
.review-view-nav-title {
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    color: #221e1f;
}

/* ========================================
   반응형
   ======================================== */
@media (max-width: 1199px) {
    .review-section {
        padding: 100px 40px 80px;
    }
    .review-card {
        width: calc(33.333% - 14px);
    }
}
@media (max-width: 767px) {
    .review-hero {
        height: 500px;
    }
    .review-hero-title {
        font-size: 36px;
        top: 200px;
    }
    .review-hero-sub {
        bottom: 40px;
    }
    .review-hero-subtitle {
        font-size: 22px;
    }
    .review-hero-desc {
        font-size: 16px;
    }
    .review-section {
        padding: 60px 16px;
        gap: 24px;
    }
    .review-tag {
        height: 38px;
        padding: 0 16px;
        font-size: 15px;
    }
    .review-card {
        width: calc(50% - 10px);
    }
    .review-card-thumb {
        height: 180px;
        border-radius: 16px;
    }
    .review-card-title {
        font-size: 16px;
    }
    .review-card-author {
        font-size: 14px;
    }
    .review-card-body {
        flex-direction: column;
        gap: 8px;
    }
    .review-paging {
        gap: 24px;
    }
    .review-paging-num {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    .review-view-title {
        font-size: 24px;
    }
}
@media (max-width: 480px) {
    .review-hero {
        height: 400px;
    }
    .review-hero-title {
        font-size: 28px;
        top: 160px;
    }
    .review-hero-sub {
        bottom: 30px;
    }
    .review-hero-subtitle {
        font-size: 18px;
    }
    .review-hero-desc {
        font-size: 14px;
    }
    .review-card {
        width: 100%;
    }
    .review-card-thumb {
        height: 200px;
    }
}
