/* ===============================================
   낭만드라이브 - 연수후기 페이지 스타일 (style-review.css)
   =============================================== */

/* 게시판 헤더 */
.board-header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--pink-light), var(--purple-light));
    border-radius: 25px;
    margin-bottom: 30px;
}
.board-header h1 {
    color: var(--accent-color);
    margin-bottom: 10px;
}
.board-header p {
    color: #666;
}

/* 후기 통계 */
.review-stats-inline {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 15px;
    font-size: 1em;
    color: #666;
}
.review-stats-inline span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 후기 그리드 */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

/* 후기 카드 */
.review-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(252, 116, 166, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
    border: 2px solid transparent;
}
.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(252, 116, 166, 0.2);
    border-color: var(--primary-color);
}
.review-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.reviewer-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.1em;
    margin-right: 12px;
}
.reviewer-info {
    flex: 1;
}
.reviewer-name {
    font-weight: bold;
    color: var(--text-dark);
}
.review-date {
    color: #999;
    font-size: 0.85em;
}
.review-rating {
    color: #ffc107;
}
.review-card-title {
    font-weight: bold;
    color: var(--text-dark);
    font-size: 1.1em;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.review-card-content {
    color: #666;
    line-height: 1.6;
    font-size: 0.95em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.review-card-footer {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--pink-light);
    color: #999;
    font-size: 0.85em;
}

/* 후기 상세 */
.board-view {
    background: white;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(252, 116, 166, 0.1);
    overflow: hidden;
    border: 2px solid var(--pink-light);
}
.view-header {
    background: linear-gradient(135deg, var(--pink-light), var(--purple-light));
    padding: 40px;
    border-bottom: 1px solid var(--pink-light);
}
.view-title {
    font-size: 1.8em;
    margin: 0 0 15px 0;
    color: var(--accent-color);
}
.view-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    color: #666;
}
.view-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}
.view-meta i {
    color: var(--primary-color);
}
.view-meta .rating {
    color: #ffc107;
}
.view-content {
    padding: 40px;
    line-height: 1.8;
    color: var(--text-dark);
    min-height: 200px;
}
.view-footer {
    padding: 20px 40px 40px;
    text-align: center;
}
.btn-list {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}
.btn-list:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(252, 116, 166, 0.3);
    color: white;
}

/* 빈 메시지 */
.empty-message {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 25px;
    color: #666;
    border: 2px solid var(--pink-light);
}
.empty-message i {
    font-size: 4em;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

/* 페이지네이션 */
.pg_wrap {
    display: flex;
    justify-content: center;
}
.pg {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}
.pg_page, .pg_current {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
}
.pg_page {
    background: white;
    color: var(--text-dark);
    border: 1px solid var(--pink-light);
}
.pg_page:hover {
    background: var(--pink-light);
    color: var(--primary-color);
}
.pg_current {
    background: var(--primary-color);
    color: white;
}

/* 반응형 */
@media (max-width: 768px) {
    .review-grid {
        grid-template-columns: 1fr;
    }
}
