@charset "utf-8";

/* ==========================================================================
   세친구투어 찐 여행후기 (BOB TOUR 레퍼런스 100% 일치 스타일)
   ========================================================================== */

/* 그누보드 상단 자동 타이틀 숨김 & 컨테이너 */
#container_title {
    display: none !important;
}

#container {
    margin: 99px auto 0px;
    background: #ffffff;
    max-width: none;
}
@media (max-width: 970px) {
    #container {
        margin: 55px auto 0px;
    }
}

/* 1. 전체 메인 컨테이너 (1200px) */
.c3f-mobile-rr-wrap,
.c3f-real-review-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 16px 60px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", Roboto, sans-serif;
    background: #ffffff;
}

/* 2. 2단 지역 카테고리 필터 바 (비오비투어 텍스트/언더라인 스타일) */
.c3f-m-rr-filter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 14px 0 24px;
    flex-wrap: wrap;
}

.c3f-m-rr-category-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    flex: 1;
}
.c3f-m-rr-category-bar::-webkit-scrollbar {
    display: none;
}

.c3f-m-rr-cat-btn {
    display: inline-block;
    padding: 6px 4px 6px;
    font-size: 15px;
    font-weight: 600;
    color: #64748b;
    text-decoration: none !important;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
    cursor: pointer;
}
.c3f-m-rr-cat-btn:hover {
    color: #0f172a;
}
.c3f-m-rr-cat-btn.active,
.c3f-m-rr-cat-btn#bo_cate_on {
    color: #0284c7;
    font-weight: 800;
}
.c3f-m-rr-cat-btn.active::after,
.c3f-m-rr-cat-btn#bo_cate_on::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2.5px;
    background: #0284c7;
    border-radius: 2px;
}

/* 글쓰기 버튼 */
.c3f-m-rr-btn-write {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 13.5px;
    font-weight: 800;
    color: #ffffff !important;
    background: #0284c7;
    border-radius: 8px;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.c3f-m-rr-btn-write:hover {
    background: #0369a1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

/* 3. PC 4열 카드 그리드 (비오비투어 레이아웃 100% 일치) */
.c3f-m-rr-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

@media (max-width: 1024px) {
    .c3f-m-rr-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .c3f-m-rr-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .c3f-m-rr-category-bar {
        gap: 14px;
    }
    .c3f-m-rr-cat-btn {
        font-size: 14px;
    }
    .c3f-m-rr-btn-write {
        padding: 7px 12px;
        font-size: 12.5px;
    }
}

@media (max-width: 480px) {
    .c3f-m-rr-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* 개별 카드 컴포넌트 */
.c3f-m-rr-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.c3f-m-rr-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.c3f-m-rr-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none !important;
    color: inherit;
}

/* 썸네일 (4:3 비율) */
.c3f-m-rr-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #f1f5f9;
    overflow: hidden;
}

.c3f-m-rr-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.c3f-m-rr-card:hover .c3f-m-rr-thumb {
    transform: scale(1.05);
}

/* No-Image 플레이스홀더 */
.c3f-m-rr-no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #94a3b8;
    text-align: center;
    user-select: none;
}

.c3f-m-rr-no-img-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.c3f-m-rr-no-img-inner i {
    font-size: 28px;
    color: #cbd5e1;
    transition: transform 0.3s ease, color 0.3s ease;
}

.c3f-m-rr-card:hover .c3f-m-rr-no-img-inner i {
    transform: scale(1.1);
    color: #0284c7;
}

.c3f-m-rr-no-img-inner span {
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #94a3b8;
}

/* 카드 본문 */
.c3f-m-rr-card-body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
    box-sizing: border-box;
}

.c3f-m-rr-title-wrap {
    margin-bottom: 6px;
    line-height: 1.4;
}

/* 지역 뱃지 (비오비투어 스타일 라운드 뱃지) */
.c3f-m-rr-badge-cate {
    display: inline-block;
    vertical-align: middle;
    padding: 2px 8px;
    background: #0284c7;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    border-radius: 999px;
    margin-right: 5px;
    line-height: 1.3;
}

.c3f-m-rr-card-title {
    display: inline;
    vertical-align: middle;
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    word-break: break-all;
    line-height: 1.4;
}
@media (max-width: 480px) {
    .c3f-m-rr-card-title {
        font-size: 13px;
    }
    .c3f-m-rr-card-body {
        padding: 10px;
    }
}

.c3f-m-rr-card-snippet {
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
    margin: 4px 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}
@media (max-width: 480px) {
    .c3f-m-rr-card-snippet {
        font-size: 11.5px;
        margin: 4px 0 8px;
    }
}

/* 카드 하단 메타 (하트, 조회수) */
.c3f-m-rr-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
    color: #94a3b8;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
}

.c3f-m-rr-meta-likes {
    color: #0284c7;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.c3f-m-rr-meta-views {
    color: #94a3b8;
}

/* Empty State */
.c3f-m-rr-empty {
    text-align: center;
    padding: 80px 20px;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px dashed #cbd5e1;
    margin: 30px 0;
}
.c3f-m-rr-empty-icon {
    font-size: 36px;
    margin-bottom: 12px;
}
.c3f-m-rr-empty-title {
    font-size: 16px;
    font-weight: 800;
    color: #334155;
    margin: 0 0 6px;
}
.c3f-m-rr-empty-desc {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
}

/* 페이지네이션 */
.c3f-m-rr-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 30px 0 20px;
}
.c3f-m-rr-pagination .pg_page,
.c3f-m-rr-pagination .pg_current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 6px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none !important;
}
.c3f-m-rr-pagination .pg_page {
    color: #475569;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}
.c3f-m-rr-pagination .pg_page:hover {
    background: #f1f5f9;
    color: #0f172a;
}
.c3f-m-rr-pagination .pg_current {
    color: #ffffff;
    background: #0284c7;
    border: 1px solid #0284c7;
}

/* 상세보기 본문 스타일 */
.c3f-m-rr-view-body {
    font-size: 16px;
    line-height: 1.85;
    color: #334155;
    margin-bottom: 30px;
    word-break: break-all;
}

.c3f-m-rr-view-body p {
    margin: 0 0 16px 0 !important;
    line-height: 1.85 !important;
}

.c3f-m-rr-view-body p:empty,
.c3f-m-rr-view-body p>br:only-child {
    min-height: 1.6em;
    display: block;
    content: " ";
    margin-bottom: 12px;
}

.c3f-m-rr-view-body .se-text-paragraph {
    margin: 0 0 16px 0 !important;
    line-height: 1.85 !important;
}

.c3f-m-rr-view-body .se-component {
    margin: 18px 0 !important;
}

.c3f-m-rr-view-body img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 12px;
    margin: 18px 0 !important;
    display: block;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
}

/* 네이버 스마트에디터 동영상(se-video) 컴포넌트 검은 박스 완벽 제거 및 정상 뷰어 스타일 */
.c3f-m-rr-view-body .se-video,
.c3f-m-rr-view-body .se-module-video,
.c3f-m-rr-view-body .se-component[data-type="video"] {
    margin: 20px 0 !important;
    max-width: 100% !important;
    background: transparent !important;
}

.c3f-m-rr-view-body .se-video-container {
    position: relative !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: transparent !important;
    box-shadow: none !important;
    max-width: 100% !important;
    padding: 0 !important;
    height: auto !important;
}

/* 검은 빈 박스를 만드는 껍데기 레이어들 무력화 */
.c3f-m-rr-view-body .se-video-cover,
.c3f-m-rr-view-body .se-video-info,
.c3f-m-rr-view-body .se-video-control,
.c3f-m-rr-view-body .se-video-play-btn,
.c3f-m-rr-view-body .se-video-dimmed {
    display: none !important;
    background: transparent !important;
    padding: 0 !important;
    height: 0 !important;
    width: 0 !important;
}

.c3f-m-rr-view-body .se-video-thumbnail-box {
    position: relative !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
    background: transparent !important;
    overflow: visible !important;
}

.c3f-m-rr-view-body .se-video-thumbnail-img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
    border-radius: 12px !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06) !important;
    position: static !important;
}

.c3f-m-rr-view-body .se-video-caption {
    padding: 10px 4px 4px !important;
    background: transparent !important;
    border: none !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    text-align: center !important;
}