@charset "UTF-8"; 

/* =========================================
   모비고 리뉴얼 메인 페이지 스타일
   Figma: node-id=1599-68295
   접두사: main- (CSS 충돌 방지)
   ========================================= */

/* 문서 스크롤 허용 (공통 main.css 등 overflow:hidden 오버라이드) */
/* html {
    min-height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    font-size: 12px;
} */

/* Base */
/* body {
    
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    background: #fff;
    color: #292929;
    min-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
} */
/* a {
    text-decoration: none;
    color: inherit;
} */
button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}
ul,
ol {
    list-style: none;
    margin: 0;
    padding: 0;
}
table {
    border-collapse: collapse;
    width: 100%;
}
/* *,
*::before,
*::after {
    box-sizing: border-box;
} */


/* 회원 컨텍스트 메뉴 (boardCommon.js 주입): common.css 미로드 시에도 모든 페이지에서 초기 비노출 */
.context-menu,
.content-menu-bg,
#context_menu,
#content_menu_bg,
#content_name {
    display: none;
}

/* Header: css/main-header.css에서 단일 정의 (header.html에서 로드) */

/* Footer */
.main-footer {
    width: 100%;
    display: flex;
    justify-content: center;
}
.main-footer-inner {
    width: 1200px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 80px;
}
.main-footer-links {
    display: flex;
    align-items: center;
    gap: 24px;
}
.main-footer-link {
    font-size: 14px;
    font-weight: var(--fw-bold, 600);
    color: #292929;
    line-height: 1.6;
}
.main-footer-divider {
    width: 1px;
    height: 16px;
    background: #000;
}
.main-footer-info {
    font-size: 13px;
    font-weight: var(--fw-light, 300);
    color: #969696;
    line-height: 1.6;
}
.main-footer-info p {
    margin: 0;
}

/* Main Content */
.main-content {
    width: 100%;
    display: flex;
    justify-content: center;
}
.main-content-inner {
    width: 1200px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
    padding: 80px 0 120px;
}

/* Top Group (Search + Services) */
.main-top-group {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.main-search-bar {
    width: 100%;
    height: 62px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 24px;
    border: 1px solid #1780ff;
    border-radius: 999px;
    background: #fff;
}
.main-search-input {
    flex: 1;
    font-size: 18px;
    font-weight: var(--fw-light, 300);
    color: #292929;
    line-height: 1.6;
    border: none;
    outline: none;
    background: transparent;
}

/* 추가 */
.search-input:-webkit-autofill,
.search-input:-webkit-autofill:hover,
.search-input:-webkit-autofill:focus,
.main-search-input:-webkit-autofill,
.main-search-input:-webkit-autofill:hover,
.main-search-input:-webkit-autofill:focus,
.rn-search-input--unified:-webkit-autofill,        /* ← 추가 */
.rn-search-input--unified:-webkit-autofill:hover,  /* ← 추가 */
.rn-search-input--unified:-webkit-autofill:focus { /* ← 추가 */
    -webkit-box-shadow: 0 0 0px 1000px transparent inset;
    box-shadow: 0 0 0px 1000px transparent inset;
    transition: background-color 5000s ease-in-out 0s;
    -webkit-text-fill-color: #000;
}


.main-search-input::placeholder {
    color: #2F8BFF;
}
.main-search-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* Services */
.main-services {
    display: flex;
    align-items: center;
    gap: 80px;
}
.main-service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    border-radius: 16px;
}
.main-service-img {
    width: 160px;
    height: 160px;
    border-radius: 16px;
    transition: transform 0.3s ease;
}
.main-service-item:hover .main-service-img {
    transform: translateY(-8px) scale(1.05);
}
.main-service-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    line-height: 1.6;
}
.main-service-desc {
    font-size: 14px;
    font-weight: var(--fw-light, 300);
    color: #969696;
}
.main-service-name {
    font-size: 20px;
    font-weight: var(--fw-bold, 600);
    color: #292929;
}

/* Community Section */
.main-community {
    width: 100%;
    display: flex;
    align-items: stretch;
    background: #eaf3ff;
    border-radius: 24px;
    overflow: hidden;
}
.main-community-banner {
    width: 340px;
    min-height: 621px;
    border-radius: 24px;
    background: #1780ff;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    padding: 40px;
}
.main-community-banner-logo {
    position: relative;
    z-index: 1;
    width: 172px;
}
.main-community-banner-text {
    position: relative;
    z-index: 1;
    margin-top: 23px;
    font-size: 28px;
    font-weight: var(--fw-bold, 600);
    color: #fff;
    line-height: 1.6;
}
.main-community-banner-text p {
    margin: 0;
}
.main-community-banner-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 24px;
}
.main-community-posts {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 40px;
    border-radius: 24px;
}
.main-community-posts-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-width: 0;
}
.main-community-posts-title {
    font-size: 24px;
    font-weight: var(--fw-bold, 600);
    color: #292929;
    line-height: 1.6;
    margin: 0;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.main-community-posts-title-blue {
    color: #2F8BFF;
}
.main-community-posts-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    background: #1780ff;
    border-radius: 8px;
    font-size: 15px;
    font-weight: var(--fw-bold, 600);
    color: #fff;
    flex-shrink: 0;
}
.main-community-posts-list {
    display: flex;
    gap: 24px;
    min-width: 0;
}
.main-community-empty {
    padding: 40px 24px;
    text-align: center;
    color: #969696;
    font-size: 14px;
}
.main-community-posts-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.main-community-post-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: #fff;
    border-radius: 16px;
    min-width: 0;
}
.main-community-post-rank {
    font-size: 16px;
    font-weight: var(--fw-bold, 600);
    color: #292929;
    line-height: 1.6;
    text-align: center;
    width: 20px;
    flex-shrink: 0;
}
.main-community-post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.main-community-post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.main-community-post-category {
    font-size: 13px;
    font-weight: var(--fw-light, 300);
    color: #2F8BFF;
    line-height: 1.6;
}
.main-community-post-stats {
    display: flex;
    align-items: center;
    gap: 16px;
}
.main-community-post-stat {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: var(--fw-light, 300);
    color: #969696;
    line-height: 1.6;
}
.main-community-post-stat svg {
    flex-shrink: 0;
}
.main-community-post-title-text {
    font-size: 15px;
    font-weight: var(--fw-bold, 600);
    color: #292929;
    line-height: 1.6;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.main-community-post-title-text a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Quick Links */
.main-quicklinks {
    width: 100%;
    display: flex;
    gap: 40px;
    position: relative;
}
.main-quicklinks-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.main-quicklinks-title {
    font-size: 18px;
    font-weight: var(--fw-bold, 600);
    color: #292929;
    line-height: 1.6;
    margin: 0;
}
.main-quicklinks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.main-quicklinks-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    /*padding: 12px 14px;*/
    background: #f5f5f5;
    border-radius: 8px;
    font-size: 13px;
    font-weight: var(--fw-light, 300);
    color: #292929;
    text-align: center;
    width:120px;
    height :44px
}

/* Floating Sidebar */
.main-floating-sidebar {
    position: absolute;
    right: calc(100% + 40px);
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.main-floating-card {
    width: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 0;
    background: #f5f5f5;
    border-radius: 8px;
}
.main-floating-text {
    font-size: 14px;
    font-weight: var(--fw-bold, 600);
    color: #292929;
    line-height: 1.6;
    text-align: center;
}
.main-floating-text p {
    margin: 0;
}
.main-floating-btn {
    cursor:pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 120px;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: var(--fw-bold, 600);
    color: #fff;
    text-align: center;
}
.main-floating-btn-black {
    background: #000;
}
.main-floating-btn-gray {
    background: #6b6b6b;
}

/* =========================================
   커뮤니티 홈 페이지 스타일
   접두사: cmty-home-
   ========================================= */
/* =========================================
   Header
   ========================================= */
.cmty-home-header {
    width: 100%;
    height: 64px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.cmty-home-header-inner {
    width: 1200px;
    max-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.cmty-home-header-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.cmty-home-logo {
    display: flex;
    align-items: center;
}

.cmty-home-logo-text {
    font-size: 24px;
    font-weight: var(--fw-bold, 600);
    color: #292929;
    letter-spacing: -0.5px;
}

.cmty-home-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.cmty-home-nav-link {
    font-size: 16px;
    font-weight: var(--fw-light, 300);
    color: #292929;
    transition: color 0.2s ease;
}

.cmty-home-nav-link:hover {
    color: #2F8BFF;
}

.cmty-home-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cmty-home-subscription {
    font-size: 14px;
    font-weight: var(--fw-light, 300);
    color: #292929;
}

.cmty-home-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.cmty-home-shop-dropdown {
    position: relative;
}

.cmty-home-shop-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    font-weight: var(--fw-light, 300);
    color: #292929;
}

.cmty-home-shop-btn:hover {
    border-color: #bbb;
}

/* =========================================
   Main Content
   ========================================= */
.cmty-home-main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* =========================================
   Title & Search Section
   ========================================= */
.cmty-home-title-section {
    width: 100%;
    padding: 80px 20px 0;
    display: flex;
    justify-content: center;
}

.cmty-home-title-container {
    width: 1200px;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cmty-home-title-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cmty-home-search-box {
    display: flex;
    align-items: center;
    width: 400px;
    max-width: 100%;
    height: 53px;
    padding: 0 24px;
    background: #fff;
    border: 1px solid #1780ff;
    border-radius: 999px;
}

.cmty-home-search-form {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    height: 100%;
    gap: 12px;
}

.cmty-home-search-input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    font-size: 18px;
    font-weight: var(--fw-light, 300);
    color: #292929;
    background: transparent;
    line-height: 1.5;
}

.cmty-home-search-input::placeholder {
    color: #2F8BFF;
}

.cmty-home-search-btn {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

/* =========================================
   Category Cards Section
   ========================================= */
.cmty-home-category-section {
    width: 100%;
    padding: 80px 20px;
    display: flex;
    justify-content: center;
}

.cmty-home-category-container {
    width: 1200px;
    max-width: 100%;
    display: flex;
    gap: 24px;
}

.cmty-home-category-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 32px;
    background: #f5f5f5;
    border-radius: 16px;
    transition: all 0.2s ease;
}

.cmty-home-category-card:hover {
    background: #e8f4ff;
}

.cmty-home-category-name {
    font-size: 20px;
    font-weight: var(--fw-bold, 600);
    color: #292929;
    margin-bottom: 32px;
}

.cmty-home-category-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    align-self: flex-end;
}

/* =========================================
   Content Section
   ========================================= */
.cmty-home-content-section {
    width: 100%;
    padding: 0 20px 80px;
    display: flex;
    justify-content: center;
}

.cmty-home-content-container {
    width: 1200px;
    max-width: 100%;
    display: flex;
    gap: 80px;
}

/* =========================================
   Main Content Area
   ========================================= */
.cmty-home-main-content {
    flex: 1;
    min-width: 0;
}

/* Popular Posts Section — 조회/댓글 수가 항상 같은 세로 라인에 오도록 폭 고정 */
.cmty-home-popular-section {
    margin-bottom: 80px;
    width: 100%;
}

.cmty-home-section-title {
    font-size: 20px;
    font-weight: var(--fw-bold, 600);
    color: #292929;
    margin: 0 0 24px 0;
}

.cmty-home-popular-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

/* Grid로 열 고정: [썸네일 32px][제목 1fr][메타 128px] → Figma·renewal 간격 반영 */
.cmty-home-popular-item {
    display: grid;
    grid-template-columns: 32px 1fr 128px;
    align-items: center;
    gap: 12px;
    padding: 5px 0;
    transition: background 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.cmty-home-popular-item:hover {
    background: #f9f9f9;
}

.cmty-home-popular-thumb {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
    grid-column: 1;
}

.cmty-home-popular-info {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    grid-column: 2;
}

.cmty-home-popular-category {
    font-size: 16px;
    font-weight: var(--fw-light, 300);
    color: #969696;
    flex-shrink: 0;
    width: 80px;
}

/* 제목: 가용 공간만 사용, 넘치면 말줄임 → 메타 열 위치 고정 */
.cmty-home-popular-title {
    font-size: 16px;
    /* font-weight: var(--fw-bold, 600); */
    font-weight: var(--fw-light, 300);
    color: #292929;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    min-width: 0;
    flex: 1;
}

.cmty-home-popular-badge {
    font-size: 10px;
    font-weight: var(--fw-light, 300);
    color: #77b4ff;
    flex-shrink: 0;
}

/* 메타: Grid 3열 고정. 조회/댓글 간격 8px (Figma·renewal 참조) */
.cmty-home-main .cmty-home-popular-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    grid-column: 3;
    box-sizing: border-box;
}

.cmty-home-main .cmty-home-popular-views,
.cmty-home-main .cmty-home-popular-comments {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: var(--fw-light, 300);
    color: #969696;
    line-height: 20px;
    height: 20px;
    white-space: nowrap;
    box-sizing: border-box;
}

/* 조회수 영역 고정 폭(아이콘+6자리 수) → 눈 아이콘 시작 위치 고정 */
.cmty-home-main .cmty-home-popular-views {
    width: 66px;
    min-width: 66px;
}

/* 댓글 수 영역 고정 폭(아이콘+3자리 수) → 1자리/2자리 구분 없이 말풍선 아이콘 위치 고정 */
.cmty-home-main .cmty-home-popular-comments {
    width: 54px;
    min-width: 54px;
}

.cmty-home-main .cmty-home-popular-views img,
.cmty-home-main .cmty-home-popular-comments img {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    flex-shrink: 0;
    display: block;
    object-fit: contain;
}

/* =========================================
   Category Boards Grid
   ========================================= */
.cmty-home-boards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px 80px;
}

.cmty-home-board-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

/* 헤더: 플렉스, 더보기는 margin-left: auto로 우측 정렬 */
.cmty-home-board-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.cmty-home-board-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.cmty-home-board-title {
    flex: 1;
    font-size: 20px;
    font-weight: var(--fw-bold, 600);
    color: #292929;
    margin: 0;
    min-width: 0;
}

.cmty-home-board-more {
    font-size: 10px;
    font-weight: var(--fw-light, 300);
    color: #fff;
    padding: 6px 12px;
    background: #6b6b6b;
    border-radius: 6px;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-left: auto;
}

.cmty-home-board-more:hover {
    background: #555;
    color: #fff;
}

.cmty-home-board-list {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.cmty-home-board-item {
    border-bottom: 1px solid #f5f5f5;
    overflow: hidden;
}

.cmty-home-board-item:last-child {
    border-bottom: none;
}

.cmty-home-board-item a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    transition: background 0.2s ease;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.cmty-home-board-item a:hover {
    background: #f9f9f9;
}

.cmty-home-item-num {
    width: 24px;
    height: 24px;
    font-size: 15px;
    font-weight: var(--fw-bold, 600);
    color: #fff;
    background: #1780ff;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cmty-home-item-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.cmty-home-item-title {
    flex: 1;
    min-width: 0;
    font-size: 16px;
    /* font-weight: var(--fw-bold, 600); */
    font-weight: var(--fw-light, 300);
    color: #292929;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cmty-home-item-badge {
    font-size: 10px;
    font-weight: var(--fw-light, 300);
    color: #77b4ff;
    flex-shrink: 0;
}

.cmty-home-item-num--normal {
    display: none;
}

/* 조회수: margin-left: auto로 우측 정렬(더보기와 같은 오른쪽 끝) */
.cmty-home-item-views {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: var(--fw-light, 300);
    color: #969696;
    flex-shrink: 0;
    margin-left: auto;
    box-sizing: border-box;
    white-space: nowrap;
}

.cmty-home-item-views img {
    width: 20px;
    height: 20px;
    min-width: 20px;
    flex-shrink: 0;
    display: block;
}

/* =========================================
   Sidebar
   ========================================= */
.cmty-home-sidebar {
    width: 320px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.cmty-home-sidebar-card {
    display: flex;
    flex-direction: column;
}

/* Sidebar Header */
.cmty-home-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.cmty-home-sidebar-title {
    font-size: 20px;
    font-weight: var(--fw-bold, 600);
    color: #292929;
    margin: 0;
}

.cmty-home-sidebar-tabs {
    display: flex;
    align-items: center;
    gap: 4px;
}

.cmty-home-sidebar-tab {
    font-size: 16px;
    font-weight: var(--fw-light, 300);
    color: #969696;
    padding: 0;
}

.cmty-home-sidebar-tab.active {
    color: #292929;
    font-weight: var(--fw-light, 300);
}

.cmty-home-sidebar-divider {
    font-size: 16px;
    font-weight: var(--fw-light, 300);
    color: #969696;
}

/* Fame Tabs */
.cmty-home-fame-tabs {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cmty-home-fame-tab {
    font-size: 16px;
    font-weight: var(--fw-light, 300);
    color: #969696;
    padding: 0;
}

.cmty-home-fame-tab.active {
    color: #292929;
    font-weight: var(--fw-bold, 600);
}

/* Fame List */
.cmty-home-fame-list {
    display: flex;
    flex-direction: column;
    padding-top: 16px;
}

.cmty-home-fame-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 0;
}

.cmty-home-fame-rank {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 8px;
    font-size: 15px;
    font-weight: var(--fw-light, 300);
    color: #969696;
}

.cmty-home-fame-name {
    flex: 1;
    font-size: 16px;
    font-weight: var(--fw-light, 300);
    color: #969696;
}

.cmty-home-fame-count {
    font-size: 15px;
    font-weight: var(--fw-light, 300);
    color: #969696;
}

/* Profile Header */
.cmty-home-profile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.cmty-home-profile-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cmty-home-profile-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.cmty-home-profile-name {
    font-size: 20px;
    font-weight: var(--fw-bold, 600);
    color: #292929;
}

.cmty-home-profile-grade {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: var(--fw-light, 300);
    color: #2F8BFF;
}

.cmty-home-profile-btn {
    font-size: 12px;
    font-weight: var(--fw-bold, 600);
    color: #292929;
    padding: 10px 16px;
    background: #f5f5f5;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.cmty-home-profile-btn:hover {
    background: #e8e8e8;
}

/* My Post Tabs */
.cmty-home-mypost-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cmty-home-mypost-tabs {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cmty-home-mypost-tab {
    font-size: 16px;
    font-weight: var(--fw-light, 300);
    color: #969696;
}

.cmty-home-mypost-tab.active {
    color: #292929;
    font-weight: var(--fw-bold, 600);
}

/* My Post Paging */
.cmty-home-mypost-paging {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cmty-home-mypost-page {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 16px;
    font-weight: var(--fw-light, 300);
}

.cmty-home-mypost-page-current {
    color: #292929;
}

.cmty-home-mypost-page-slash,
.cmty-home-mypost-page-total {
    color: #969696;
}

.cmty-home-mypost-arrows {
    display: flex;
    align-items: center;
}

.cmty-home-mypost-arrow {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cmty-home-mypost-arrow img {
    width: 20px;
    height: 20px;
    display: block;
}

.cmty-home-mypost-arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* My Post List */
.cmty-home-mypost-list {
    display: flex;
    flex-direction: column;
    padding-top: 16px;
}

.cmty-home-mypost-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 0;
}

.cmty-home-mypost-item.empty{
    text-align: center;
    font-size: 14px;
    padding-top: 15px;
}

.cmty-home-mypost-title {
    flex: 1;
    font-size: 16px;
    font-weight: var(--fw-light, 300);
    color: #969696;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cmty-home-mypost-date {
    font-size: 16px;
    font-weight: var(--fw-light, 300);
    color: #969696;
    flex-shrink: 0;
}

/* =========================================
   Footer
   ========================================= */
.cmty-home-footer {
    width: 100%;
    padding: 40px 20px;
    background: #fff;
    border-top: 1px solid #eee;
}

.cmty-home-footer-inner {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cmty-home-footer-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.cmty-home-footer-link {
    font-size: 14px;
    font-weight: var(--fw-bold, 600);
    color: #292929;
    transition: color 0.2s ease;
}

.cmty-home-footer-link:hover {
    color: #292929;
}

.cmty-home-footer-link--privacy {
    font-weight: var(--fw-bold, 600);
    color: #292929;
}

.cmty-home-footer-divider {
    font-size: 12px;
    color: #ddd;
}

.cmty-home-footer-info {
    font-size: 13px;
    font-weight: var(--fw-light, 300);
    color: #969696;
    line-height: 1.6;
    margin: 0;
}

.hidden { display: none !important; }
.cmty-home-empty { color: #666; padding: 1em; text-align: center; }

.cmty-home-footer-copyright {
    font-size: 13px;
    font-weight: var(--fw-light, 300);
    color: #bbb;
    margin: 0;
}

/* =========================================
   Responsive
   ========================================= */
@media screen and (max-width: 1240px) {
    .cmty-home-header-inner,
    .cmty-home-title-container,
    .cmty-home-category-container,
    .cmty-home-content-container,
    .cmty-home-footer-inner {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .cmty-home-content-container {
        flex-direction: column;
        gap: 40px;
    }

    .cmty-home-sidebar {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 24px;
    }

    .cmty-home-sidebar-card {
        flex: 1;
        min-width: 300px;
    }
}

@media screen and (max-width: 768px) {
    .cmty-home-nav {
        display: none;
    }

    .cmty-home-subscription {
        display: none;
    }

    .cmty-home-title-section {
        padding: 40px 20px 0;
    }

    .cmty-home-title-container {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }

    .cmty-home-search-box {
        width: 100%;
    }

    .cmty-home-category-section {
        padding: 40px 20px;
    }

    .cmty-home-category-container {
        flex-wrap: wrap;
        gap: 12px;
    }

    .cmty-home-category-card {
        flex: 1 1 calc(50% - 6px);
        min-width: calc(50% - 6px);
        padding: 20px;
    }

    .cmty-home-category-name {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .cmty-home-category-icon {
        width: 40px;
        height: 40px;
    }

    .cmty-home-boards-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cmty-home-sidebar {
        flex-direction: column;
    }

    .cmty-home-sidebar-card {
        min-width: 100%;
    }
}

/* =========================================
   Renewal 공통 스타일
   접두사: rn- (CSS 충돌 방지)
   8개 게시판 페이지 공통
   ========================================= */

/* ---- Sub Navigation ---- */
.rn-subnav {
    width: 100%;
}
.rn-subnav-inner {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.rn-subnav-left {
    display: flex;
    align-items: center;
}
.rn-profile-badge {
    display: flex;
    align-items: center;
    gap: 8px;
}
.rn-profile-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}
.rn-profile-name {
    font-size: 15px;
    font-weight: var(--fw-bold, 600);
    color: #292929;
    line-height: 1.6;
}
.rn-profile-grade {
    font-size: 15px;
    font-weight: var(--fw-bold, 600);
    color: #2F8BFF;
    line-height: 1.6;
}
.rn-profile-grade strong {
    color: #2F8BFF;
}

/* SubNav Type B: 커뮤니티 (background 방식) */
/* 메인 헤더와 함께 상단 고정: --main-header-height 변수로 헤더 높이 변경에 자동 추종 */
.rn-subnav--community {
    background: #FAFAFA;
    position: fixed;
    top: var(--main-header-height);
    left: 0;
    width: 100%;
    height: var(--rn-subnav-height);
    z-index: 999;
}
.rn-subnav--community .rn-subnav-inner {
    padding: 12px 0;
    height: 48px;
}
.rn-subnav--community .rn-subnav-left {
    gap: 40px;
}
.rn-subnav--community .rn-subnav-link {
    font-size: 17px;
    font-weight: var(--fw-bold, 600);
    color: #A3A3A3;
    line-height: normal;
    transition: color 0.2s ease;
    font-style: normal;
    letter-spacing: 0.34px;
}
.rn-subnav--community .rn-subnav-link:hover {
    color: #292929;
}
.rn-subnav--community .rn-subnav-link.active {
    color: #292929;
}
/* 서브네비 내 프로필: reference(community-story.html)·Figma와 동일 레이아웃 — 이미지 | 사용자 아이디 | 그레 한 줄 */
.rn-subnav-right .wrap-profile {
    overflow: visible;
    padding-bottom: 0;
    border-bottom: none;
}
.rn-subnav-right .wrap-profile .profile-area {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 0;
    float: none;
    font-size: 14px;
}
.rn-subnav-right .wrap-profile .profile-area figure {
    position: relative;
    left: auto;
    top: auto;
    flex-shrink: 0;
    order: -1;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    overflow: visible;
}
.rn-subnav-right .wrap-profile .profile-area figure .imgs,
.rn-subnav-right .wrap-profile .profile-area figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}
.rn-subnav-right .wrap-profile .profile-area .btn-profile-edit {
    top: 100%;
    left: 50%;
    margin-top: 0;
    margin-left: -28px;
    width: 56px;
    min-height: 24px;
    padding: 3px 4px;
    line-height: 1.35;
    font-size: 11px;
    white-space: nowrap;
    z-index: 1;
    border-radius: 4px;
    box-sizing: border-box;
}
.rn-subnav-right .wrap-profile .profile-area .account {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 0;
    padding: 0;
    flex-wrap: nowrap;
    /* font-size:14px; */
}
.rn-subnav-right .wrap-profile .profile-area .account .nick-name,
.rn-subnav-right .wrap-profile .profile-area .account .gre-point {
    margin: 0;
    padding: 0;
}
.rn-subnav-right .wrap-profile .profile-area .account .nick-name {
    /* font-size: 14px; */
    font-weight: var(--fw-bold, 600);
    color: #292929;
    font-style: normal;
    line-height: normal;
    letter-spacing: 0.28px;
}
.rn-subnav-right .wrap-profile .profile-area .account .gre-point {
    /* font-size: 14px; */
    font-weight: var(--fw-bold, 600);
    color: #2F8BFF;
}
.rn-subnav-right .wrap-profile .profile-area .account .gre-point a {
    color: inherit;
    text-decoration: none;
}
.rn-subnav-right .wrap-profile .profile-area .account .gre-point .gre-point-total,
.rn-subnav-right .wrap-profile .profile-area .account .gre-point strong {
    color: #2F8BFF;
}
.rn-subnav-right .wrap-profile .profile-area .account .gre-point .gre-point-total {
    margin-left: 8px;
}

/* ---- Main / Container ---- */
.rn-main {
    width: 100%;
    min-height: calc(100vh - 120px);
    display: flex;
    justify-content: center;
    padding: 40px 0;
}
.rn-container {
    width: 1200px;
    max-width: 100%;
    display: flex;
    gap: 32px;

    /* display: flex; */
    /* width: 1200px; */
    /* padding: 40px 0 120px 0; */
    /* flex-direction: column; */
    /* align-items: flex-start; */
    /* gap: 24px; */
}

/* ---- Left Sidebar ---- */
.rn-sidebar-left {
    margin-top: 8px;
    width: 88px;
    flex-shrink: 0;
}
.rn-sidebar-title {
    font-size: 18px;
    font-weight: var(--fw-bold, 600);
    color: #292929;
    line-height: 1.6;
}
.rn-filter-title {
    font-size: 18px;
    font-weight: var(--fw-c, 600);
    color: #292929;
    line-height: 1.8;
    /* line-height: 180%; 32.4px */
    font-style: normal;
    letter-spacing: 0.36px;
}
.rn-filter-list {
    display: flex;
    flex-direction: column;
    /* gap: 12px; */
}

.rn-filter-item {
    padding: 8px 0;
}

.rn-filter-item a {
    display: block;
    font-size: 14px;
    font-weight: var(--fw-bold, 600);
    color: #292929;
    line-height: 1.6;
    transition: color 0.2s ease;
}
.rn-filter-item a:hover {
    color: #2F8BFF;
}
.rn-filter-item.active a {
    color: #2F8BFF;
}

/* Sidebar Type B: 종사자이야기/중고장터 (border + flex) */
.rn-sidebar-left--list .rn-sidebar-title {
    margin: 0 0 40px 0;
}
.rn-sidebar-left--list .rn-filter-title {
    margin: 0 0 12px 0;
    padding-bottom: 12px;
    /* border-bottom: 1px solid #eee; */
}

/* Sidebar Type C: 부동산/파트너/자료실/고객센터/상세 (section + divider) */
.rn-sidebar-left--section {
    display: flex;
    flex-direction: column;
    gap: 48px;
}
.rn-sidebar-left--section .rn-sidebar-title {
    margin: 0;
}
.rn-filter-section {
    display: flex;
    flex-direction: column;
    /* gap: 12px; */
}
.rn-filter-section .rn-filter-title {
    margin: 0 0 12px 0;
    padding-bottom: 12px;
    /* height: 22px; */
    /* margin-bottom: 24px; */
}
.rn-filter-divider {
    width: 100%;
    height: 1px;
    background: #eee;
}

/* ---- Content ---- */
.rn-content {
    flex: 1;
    min-width: 0;
    /* width: 780px; */
    /* max-width:828px; */
}
/* 공지사항(b=36) 등 우측 사이드바가 없는 게시판 main 영역 폭 명시 */
.rn-content--narrow {
    max-width: 1080px;
}

.rn-content div.community-button {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    /* width: 828px; */
}

.rn-content div.community-button a span, .rn-content div.community-button span{
    display: flex;
    width: 80px;
    padding: 12px 16px;
    justify-content: center;
    align-items: center;
    gap: 8px; 
    border-radius: 8px;
    background: #F5F5F5;
    color: #292929;
    text-align: center;
    font-size: 13px;
    font-style: normal;
    font-weight: var(--fw-light, 300);
    line-height: normal;
    cursor:pointer;
}
.rn-content div.community-button a span:hover, .rn-content div.community-button span:hover {
    background: #eee !important;
}
.rn-content div.community-button .btn_article_show,
.rn-content div.community-button .btn_article_blind {
    width: auto;
    white-space: nowrap;
}

.rn-content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* margin-bottom: 16px; */
}
.rn-content-title {
    font-size: 24px;
    font-weight: var(--fw-bold, 600);
    color: #292929;
    line-height: 1.8;
}

.rn-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* margin-bottom: 24px; */
    /* width:414px; */
    width: 50%;
}

.rn-filter-options {
    display: flex;
    align-items: center;
    gap: 24px;
}
.rn-checkbox {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: var(--fw-light, 300);
    color: #292929;
    cursor: pointer;
}
.rn-checkbox input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border: none;
    border-radius: 4px;
    background: #1780ff;
    cursor: pointer;
    position: relative;
}
.rn-checkbox input::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%) rotate(-45deg);
    width: 8px;
    height: 5px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

/* ---- Search Area ---- */

/* Search Type B: 커뮤니티 (wrapper 통합 border) */
.rn-search-area--unified {
    display: flex;
    gap: 16px;
    align-items: center;
}
.rn-search-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0 16px;
    position: relative;
    height: 46px;
}
.rn-search-select-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* 커스텀 드롭다운 트리거 */
.rn-custom-select {
    display: flex;
    align-items: center;
    gap: 4px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    font-weight: var(--fw-light, 300);
    color: #292929;
}
.rn-custom-select__caret {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: transform 0.2s;
}
.rn-custom-select.open .rn-custom-select__caret {
    transform: rotate(180deg);
}

/* 드롭다운 목록 */
.rn-select-dropdown {
    display: none;
    position: absolute;
    top: calc(100% - 45px);
    left: -1px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    z-index: 200;
    min-width: 114px;
    list-style: none;
    margin: 0;
    padding: 4px 0;
    overflow: hidden;
}
.rn-select-dropdown.open {
    display: block;
}
.rn-select-dropdown__item {
    padding: 7px 16px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    white-space: nowrap;
}
.rn-select-dropdown__item:hover {
    background: #f5f5f5;
}
.rn-select-dropdown__item.selected {
    font-weight: 600;
    color: #292929;
}

.rn-search-divider {
    width: 1px;
    align-self: stretch;
    background: #e0e0e0;
    flex-shrink: 0;
}
.rn-search-box--unified {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* .rn-search-box--unified > input::placeholder {
    font-family: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #969696;
} */

/* .rn-search-box--unified > input {
    font-family: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #292929;
} */

.rn-search-input--unified {
    flex: 1;
    border: none !important;
    outline: none !important;
    font-size: 14px;
    font-weight: var(--fw-light, 300);
    color: #292929;
    background: transparent;
    font-style: normal;
    line-height: normal;
    letter-spacing: 0.28px;
}

.rn-search-input--unified:focus {
    border: none !important;
    outline: none !important;
}

.rn-search-input--unified::placeholder {
    color: #969696;
    font-style: normal;
    font-weight: var(--fw-light, 300);
    line-height: 160%;
}
.rn-search-btn--unified {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
}
.rn-search-btn--unified img{
    width: 24px;
    height: 24px;
}
.rn-write-btn--unified {
    /* display: inline-block;
    width: 108px;
    padding: 12px 16px;
    background: #1780ff;
    border-radius: 8px;
    font-size: 15px;
    font-weight: var(--fw-bold, 600);
    color: #fff;
    flex-shrink: 0;
    text-align: center; */
    width: 108px;
    border-radius: 8px;
    background: #1780ff;
    color: #fff;
    display: flex;
    height: 42px;
    padding: 0 20px;
    justify-content: center;
    align-items: center;
    gap: 6px;

    color: #fff;
    text-align: center;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.3px;
}
.rn-write-btn--unified:hover {
    background: #1266cc;
}

/* ---- Filter Area ---- */
.rn-filter-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.rn-total {
    font-size: 13px;
    font-weight: var(--fw-light, 300);
    color: #292929;
}
.rn-filter-options {
    display: flex;
    align-items: center;
    gap: 24px;
}
.rn-checkbox {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: var(--fw-light, 300);
    color: #292929;
    cursor: pointer;
}
.rn-checkbox input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border: 1.5px solid #ccc;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    position: relative;
}
.rn-checkbox input:checked {
    background: #1780ff;
    border-color: #1780ff;
}
.rn-checkbox input:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%) rotate(-45deg);
    width: 8px;
    height: 5px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

/* ---- Table ---- */
.rn-table-wrap {
    border-top: 1px solid #e0e0e0;
}
.rn-table {
    width: 100%;
}
.rn-table thead {
    border-bottom: 1px solid #e0e0e0;
}
.rn-table tbody tr {
    border-bottom: 1px solid #eee;
}
.rn-table tbody tr:hover {
    background: #fafafa;
}
/* 일반 행 */

/* div.rn-table-wrap > table > tbody > tr > td.rn-col-td-title > a:visited {
  color: rgb(187, 187, 187);
} */

/* 방문한 글 흐리게 처리 */
.rn-col-td-title a:visited, .rn-market-td-title a:visited, .rn-loc-td-title a:visited {
    color: #969696;
}

/* 공지/고정 행은 제외하고 싶다면 */
/* .rn-table tbody tr:not(.rn-row-alert) .rn-col-td-title a:visited {
  color: rgb(187, 187, 187);
} */
.rn-table td {
    padding: 12px 0;
    font-size: 15px;
    font-weight: var(--fw-light, 300);
    color: #292929;
    line-height: 1.6;
    vertical-align: middle;
}

/* Table Type B: 게시판 */
.rn-table--board {
    table-layout: fixed;
}
.rn-table--board th {
    padding: 12px 0;
    font-size: 14px;
    font-weight: var(--fw-light, 300);
    color: #292929;
    line-height: 1.6;
}

.rn-row {

}

a.rn-row:visited {
  color: #969696 !important;
}


/* ============================================
   스켈레톤 로딩
   ============================================ */
@keyframes rn-skeleton-pulse {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.rn-skeleton {
    display: inline-block;
    height: 14px;
    width: 60%;
    border-radius: 4px;
    background: linear-gradient(90deg, #f5f5f5 25%, #efefef 50%, #f5f5f5 75%);
    background-size: 200% 100%;
    animation: rn-skeleton-pulse 2.5s ease-in-out infinite;
}
.rn-skeleton--title { width: 70%; }
.rn-skeleton--author { width: 50px; }
.rn-skeleton--date { width: 55px; }
.rn-skeleton--sm { width: 30px; }
.rn-skeleton--popular { width: 100%; }
/* 인기 게시글 스켈레톤 행 — 실제 데이터 행(34.39px = a line-height 22.4 + padding 12)과 정합
   border-box 환경이라 min-height는 박스 전체 기준 */
.rn-popular-item.rn-popular-skeleton { min-height: 34px; }

/* 인기 게시글 순위 변경 slot-machine 애니메이션 — 이전 행은 위로 사라지고 새 행은 아래에서 올라옴 */
.rn-popular-item.is-swapping {
    position: relative;
    overflow: hidden;
    /* 자식 .rn-popular-row-content가 모두 absolute라 부모 li가 collapse(height 0)되는 것 방지.
       스켈레톤·실제 데이터 행과 동일 높이로 시각적 점프 없음 */
    min-height: 34px;
}
.rn-popular-item.is-swapping .rn-popular-row-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}
.rn-popular-row-content.rn-popular-swap-out {
    animation: rn-popular-slide-out 0.45s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.rn-popular-row-content.rn-popular-swap-in {
    animation: rn-popular-slide-in 0.45s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes rn-popular-slide-out {
    0%   { transform: translateY(0);     opacity: 1; }
    100% { transform: translateY(-100%); opacity: 0; }
}
@keyframes rn-popular-slide-in {
    0%   { transform: translateY(100%);  opacity: 0; }
    100% { transform: translateY(0);     opacity: 1; }
}
/* 스켈레톤 행 cell 정렬 — th 헤더 정렬과 맞춤 (대부분 center).
   제목 컬럼만 예외로 left 유지 — th-title도 text-align:left이므로 일관성. */
.rn-skeleton-row td { padding: 14px 0; text-align: center; }
.rn-skeleton-row td:has(.rn-skeleton--title) { text-align: left; }

.rn-row--current {
    /* background-color: #EEE; */
    /* border-bottom: 1px solid #EEE; */
    background: #F1F1F1;
}

.rn-row--current , .rn-row--read {
    color: #969696 !important;
}

/* ============================================
   MgModal - 모비고 모달 컴포넌트
   ============================================ */
.mg-modal-overlay {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}
.mg-modal-overlay.is-active {
    opacity: 1;
    pointer-events: auto;
}
.mg-modal {
    position: relative;
    display: flex;
    width: 400px;
    padding: 40px;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(8px);
    transition: transform 0.2s ease;
}
.mg-modal-overlay.is-active .mg-modal {
    transform: translateY(0);
}
.mg-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 24px;
    height: 24px;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mg-modal__close:hover { opacity: 0.6; }
.mg-modal__icon {
    display: flex;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
}
.mg-modal__message {
    align-self: stretch;
    color: #292929;
    text-align: center;
    font-size: 18px;
    font-weight: var(--fw-bold, 600);
    line-height: 160%;
}
.mg-modal__actions {
    display: flex;
    gap: 8px;
    justify-content: center;
}
.mg-modal__btn {
    display: flex;
    width: 120px;
    padding: 13px 24px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border: none;
    border-radius: 8px;
    background: #1780FF;
    color: #fff;
    font-size: 14px;
    font-weight: var(--fw-bold, 600);
    cursor: pointer;
    line-height: 1;
}
.mg-modal__btn:hover { background: #0b6de0; }
.mg-modal__btn--cancel {
    background: #fff;
    color: #292929;
    border: 1px solid #e0e0e0;
}
.mg-modal__btn--cancel:hover { background: #f5f5f5; }

/* 행 상태 */
.rn-row-alert {
    background: #ffeff2;
}
.rn-row-alert:hover {
    background: #ffeff2 !important;
}
.rn-td-alert {
    color: #e0375e !important;
}
.rn-row-premium {
    background: #fffae9;
}
.rn-row-premium:hover {
    background: #fffae9 !important;
}
/* 상단 노출(상위 고정) 행: 노란색 배경 */
.rn-row-topfix {
    background: #fffae9;
}
.rn-row-topfix:hover {
    background: #fffae9 !important;
}
.rn-row-admin {
    background: #f5faff;
}
.rn-row-admin:hover {
    background: #f5faff !important;
}

/* 테이블 공통 td 스타일 */
.rn-td-read a {
    color: #969696;
}
.rn-td-read a:hover {
    color: #969696;
}
.rn-comment-count {
    font-size: 14px;
    font-weight: var(--fw-light, 300);
    color: #2F8BFF;
    line-height: 1.6;
    flex-shrink: 0;
    white-space: nowrap;
}
.rn-new-badge {
    font-size: 10px;
    font-weight: var(--fw-light, 300);
    color: #77b4ff;
    flex-shrink: 0;
}
/* 게시판 목록 제목 옆 아이콘 간격 (이미지/파일/설문 순서) */
.rn-icon-ml {
    margin-left: 4px;
}
.rn-icon-img {
    display: inline-block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    vertical-align: middle;
    background: url('../images/image.svg') no-repeat center center;
    background-size: contain;
}
.rn-icon-clip {
    display: inline-block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    vertical-align: middle;
    background: url('../images/clip.svg') no-repeat center center;
    background-size: contain;
}
.rn-icon-survey {
    display: inline-block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    vertical-align: middle;
    background: url('../images/survey.svg') no-repeat center center;
    background-size: contain;
}
.rn-question-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: var(--fw-bold, 600);
    color: #fff;
    flex-shrink: 0;
    margin-right: 4px;
    padding: 1px 1px 0 0;
}

.rn-author-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.rn-author-avatar {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
}
.rn-grade-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 10px;
    font-weight: var(--fw-bold, 600);
    color: #fff;
}
.rn-grade-badge.user-grade-premium {
    background: #1780FF;
}
.rn-grade-badge.user-grade-gold {
    background: #F0990A;
}
.rn-grade-badge.user-grade-silver {
    background: #6B6B6B;
}
.rn-grade-badge.user-grade-bronze {
    background: #9E6C24;
}
.rn-grade-badge.user-grade-green {
    background: #00a26c;
}
/* ---- Pagination ---- */

/* Pagination Type B: 게시판 */
.rn-pagination--board {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}
.rn-pagination--board .rn-page-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 8px;
}
.rn-pagination--board .rn-page-btn svg {
    width: 16px;
    height: 16px;
}
.rn-pagination--board .rn-page-btn:hover {
    background: #f5f5f5;
}
.rn-page-numbers {
    display: flex;
    align-items: center;
    gap: 16px;
}
.rn-pagination--board .rn-page-num {
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: var(--fw-light, 300);
    color: #969696;
}
.rn-pagination--board .rn-page-num:hover {
    color: #292929;
}
.rn-pagination--board .rn-page-num.active {
    color: #292929;
}

/* getPaginationHtml() 기존 마크업(<ul.pagination>/<li>) 호환 */
.rn-pagination--board ul.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.rn-pagination--board ul.pagination li {
    display: flex;
    align-items: center;
    justify-content: center;
}
.rn-pagination--board ul.pagination li a,
.rn-pagination--board ul.pagination li strong {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 4px;
    font-size: 14px;
    font-weight: var(--fw-light, 300);
    color: #969696;
    text-decoration: none;
    border-radius: 6px;
}
.rn-pagination--board ul.pagination li a:hover {
    color: #292929;
    background: #f5f5f5;
}
.rn-pagination--board ul.pagination li.active strong {
    color: #292929;
    font-weight: var(--fw-bold, 600);
}
.rn-pagination--board ul.pagination li.prev a,
.rn-pagination--board ul.pagination li.next a {
    font-size: 0;
    width: 28px;
    height: 28px;
    position: relative;
}
.rn-pagination--board ul.pagination li.prev a::before,
.rn-pagination--board ul.pagination li.next a::before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-top: 2px solid #a3a3a3;
    border-right: 2px solid #a3a3a3;
}
.rn-pagination--board ul.pagination li.prev a::before {
    transform: rotate(-135deg);
}
.rn-pagination--board ul.pagination li.next a::before {
    transform: rotate(45deg);
}
.rn-pagination--board ul.pagination li.prev a:hover::before,
.rn-pagination--board ul.pagination li.next a:hover::before {
    border-color: #000;
}
.rn-pagination--board ul.pagination li.disabled a {
    pointer-events: none;
    opacity: 0.3;
}

/* ---- Right Sidebar ---- */
.rn-sidebar-right {
    width: 220px;
    flex-shrink: 0;
}

/* Right Sidebar Type B: 게시판 (popular-item 구조) */
.rn-sidebar-right--board .rn-popular-title {
    font-size: 18px;
    /* font-weight: var(--fw-bold, 600); */
    font-weight: var(--fw-bold, 600);
    color: #292929;
    margin: 0 0 8px 0;
    line-height: 1.6;
}
.rn-sidebar-right--board .rn-popular-list {
    display: flex;
    flex-direction: column;
}
.rn-sidebar-right--board .rn-popular-item {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 0;
}
.rn-popular-num {
    /* font-size: 14px;
    font-weight: var(--fw-light, 300);
    color: #292929;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
    line-height: 1.6; */

    flex: 0 0 auto;     /* grow:0, shrink:0, basis:auto — 절대 줄지 않음 */
    width: 20px;        /* 또는 원하는 고정 폭 */
    /* 또는 flex-basis: 20px; */
    text-align: left;   /* 필요시 */

    border-radius: 4px;
    background: #FAFAFA;
    display: flex;
    width: 20px;
    height: 20px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;

    color: #292929;
    text-align: center;
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    
}
.rn-sidebar-right--board .rn-popular-item a {
    /* flex: 1; */
    font-size: 14px;
    font-weight: var(--fw-light, 300);
    color: #292929;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.6;
    transition: color 0.2s ease;
    /* margin-right: 6px; */
}
.rn-sidebar-right--board .rn-popular-item a:hover {
    color: #2F8BFF;
}
.rn-sidebar-right--board .rn-popular-badge {
    font-size: 10px;
    font-weight: var(--fw-light, 300);
    color: #77b4ff;
    flex-shrink: 0;
}
.rn-sidebar-right--board .rn-popular-date {
    font-size: 11px;
    color: #888;
    flex-shrink: 0;
    margin-left: 4px;
}

/* ---- Responsive ---- */
@media screen and (max-width: 1240px) {
    .rn-subnav-inner,
    .rn-container {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
    .rn-sidebar-right {
        display: none;
    }
}
@media screen and (max-width: 768px) {
    .rn-container {
        flex-direction: column;
        gap: 24px;
    }
    .rn-sidebar-left {
        width: 100%;
    }
    .rn-filter-list {
        flex-direction: row;
        flex-wrap: wrap;
        /* gap: 8px; */
    }
    .rn-search-area--unified {
        flex-wrap: wrap;
    }
    .rn-write-btn--unified {
        width: 100%;
    }
    .rn-table-wrap {
        overflow-x: auto;
    }
    .rn-table {
        min-width: 600px;
    }
}

/* ---- 테이블 th 공통 ---- */
/* 번호 컬럼 (게시글 고유 DB ID) */
.rn-col-th-num,
.rn-market-th-num,
.rn-loc-th-num { width: 80px; text-align: center; }

.rn-col-th-subject,
.rn-market-th-subject,
.rn-loc-th-subject { width: 100px; text-align: center; }

.rn-col-th-title,
.rn-market-th-title,
.rn-loc-th-title { width: auto; text-align: left; }

.rn-col-th-author,
.rn-market-th-author,
.rn-loc-th-author { width: 100px; text-align: center; }

.rn-col-th-views,
.rn-col-th-likes,
.rn-market-th-grade,
.rn-loc-th-grade { width: 40px; text-align: center; }

.rn-col-th-date,
.rn-market-th-date,
.rn-market-th-report,
.rn-loc-th-date,
.rn-loc-th-report { 
    width: 72px; 
    text-align: center; 
}


.rn-loc-th-region {
    width: 60px;
    text-align: center;
}

/* ---- 번호 td: 게시글 고유 DB ID ---- */
td.rn-col-td-num,
td.rn-market-td-num,
td.rn-loc-td-num {
    width: 80px;
    text-align: center;
    font-size: 14px;
    font-weight: var(--fw-light, 300);
    color: #969696;
}

/* ---- 테이블 td 공통: width 100px (subject, author) ---- */
td.rn-col-td-subject,
td.rn-market-td-subject,
td.rn-loc-td-subject,
td.rn-col-td-author,
td.rn-market-td-author,
td.rn-loc-td-author {
    width: 100px;
    text-align: center;
    font-size: 14px;
    font-weight: var(--fw-light, 300);
    color: #969696;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---- 테이블 td 공통: width 64px (date, report, region) ---- */
td.rn-col-td-date,
td.rn-market-td-date,
td.rn-market-td-report,
td.rn-loc-td-date,
td.rn-loc-td-report {
    width: 72px;
    text-align: center;
    font-size: 14px;
    font-weight: var(--fw-light, 300);
    white-space: nowrap;
    color: #969696;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

td.rn-loc-td-region {
    width: 60px;
    text-align: center;
    font-size: 14px;
    font-weight: var(--fw-light, 300);
    white-space: nowrap;
    color: #969696;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---- 테이블 td 공통: width 40px (views, likes, grade) ---- */
td.rn-col-td-views,
td.rn-col-td-likes,
.rn-market-td-grade,
.rn-loc-td-grade {
    width: 40px;
    text-align: center;
    font-size: 14px;
    font-weight: var(--fw-light, 300);
    color: #969696;
}

/* ---- 테이블 td title 공통 ---- */
.rn-col-td-title,
.rn-market-td-title,
.rn-loc-td-title {
    padding-right: 10px;
    max-width: 420px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


.rn-col-td-title a,
.rn-loc-td-title a {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    overflow: hidden;
    vertical-align: middle;
    transition: color 0.2s ease;
}
.rn-col-td-title a > span,
.rn-loc-td-title a > span {
    vertical-align: middle;
    margin-left: 4px;
}
.rn-col-td-title a:hover,
.rn-loc-td-title a:hover { color: inherit; }
.rn-title-text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* =========================================
   게시글 상세 고유 스타일
   접두사: rn-view-
   ========================================= */
/* Post Header */
.rn-view-post-header {
    padding-bottom: 16px;
    border-bottom: 1px solid #e0e0e0;
    /* max-width: 828px; */
}
.rn-view-post-category {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    height: 22px;
}
.rn-view-category-item {
    font-size: 14px;
    font-weight: var(--fw-bold, 600);
    color: #2F8BFF;
    line-height: 1.6;
}
.rn-view-post-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}
.rn-view-question-badge {
    display: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #1780ff;
    font-size: 16px;
    font-weight: var(--fw-bold, 600);
    color: #fff;
    flex-shrink: 0;
}
.rn-view-post-header.is-question .rn-view-question-badge {
    display: inline-flex;
}
.rn-view-post-header.is-question-expired .rn-view-question-badge {
    display: inline-flex;
    background: #a3a3a3;
}
.rn-view-post-title {
    font-size: 18px;
    font-weight: var(--fw-bold, 600);
    color: #292929;
    line-height: 1.6;
    margin: 0;
}
.rn-view-post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.rn-view-meta-left {
    display: flex;
    align-items: center;
    gap: 16px;
}
.rn-view-author-info {
    display: flex;
    align-items: center;
    gap: 8px;
}
.rn-view-author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
}
.rn-view-author-detail {
    display: flex;
    align-items: center;
    gap: 4px;
}
.rn-view-author-grade {
    width: 14px;
    height: 14px;
    border-radius: 2px;
    flex-shrink: 0;
}
.rn-view-author-name {
    font-size: 14px;
    font-weight: var(--fw-bold, 600);
    color: #969696;
    line-height: 1.6;
}
.rn-view-author-id {
    font-size: 14px;
    font-weight: var(--fw-bold, 600);
    color: #969696;
    line-height: 1.6;
}
.rn-view-meta-date {
    font-size: 14px;
    font-weight: var(--fw-light, 300);
    color: #969696;
    line-height: 1.6;
}
.rn-view-meta-stats {
    display: flex;
    align-items: center;
    gap: 8px;
}
.rn-view-stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: var(--fw-light, 300);
    color: #969696;
    line-height: 1.6;
}
.rn-view-icon-eye {
    display: inline-block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background: url("../images/eye.svg") no-repeat center center;
    background-size: contain;
}
.rn-view-icon-chat {
    display: inline-block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background: url("../images/chat.svg") no-repeat center center;
    background-size: contain;
}
.rn-view-icon-thumbs-up {
    display: inline-block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background: url("../images/thumbs-up.svg") no-repeat center center;
    background-size: contain;
}
.rn-view-meta-attach {
    font-size: 14px;
    font-weight: var(--fw-light, 300);
    color: #969696;
    line-height: 1.6;
    cursor:pointer;
}

/* Post Body */
.rn-view-post-body {
    padding: 40px 0;
    border-bottom: 1px solid #e0e0e0;
    /* width: 828px; */
}
.rn-view-post-text {
    margin-bottom: 40px;
}
.rn-view-post-text p {
    font-size: 15px;
    font-weight: var(--fw-light, 300);
    color: #292929;
    line-height: 2;
    margin: 0;
}
.rn-view-post-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.rn-view-btn-recommend {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border: 1px solid #1780ff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: var(--fw-bold, 600);
    color: #2F8BFF;
}
.rn-view-icon-thumbs-up-blue {
    display: inline-block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    -webkit-mask: url("../images/thumbs-up.svg") no-repeat center center;
    mask: url("../images/thumbs-up.svg") no-repeat center center;
    -webkit-mask-size: contain;
    mask-size: contain;
    background-color: #1780ff;
}
.rn-view-btn-recommend:hover {
    background: #f0f7ff;
}
.rn-view-btn-recommend.is-recommended {
    border: none;
    background: #1780ff;
    color: #fff;
    padding: 13px 24px;
    gap: 8px;
}
.rn-view-btn-recommend.is-recommended:hover {
    background: #1264cc;
}
.rn-view-btn-recommend.is-recommended .rn-view-icon-thumbs-up-blue {
    background-color: #fff;
}
.rn-view-btn-report {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border: 1px solid #bdbdbd;
    border-radius: 8px;
    font-size: 13px;
    font-weight: var(--fw-bold, 600);
    color: #969696;
}
.rn-view-btn-report:hover {
    background: #f5f5f5;
}

/* =========================================
   댓글 영역
   ========================================= */

.rn-view-comments {
    /* padding-top: 40px; */
    border-bottom: 1px solid #e0e0e0;
    overflow: hidden;
    width:828px;
}

/* Comments Header */
.rn-view-comments-header {
    display: flex;
    align-items: center;
    gap: 10px;
    /* margin-bottom: 24px; */
    padding-top: 24px;
    padding-bottom: 24px;
}
.rn-view-comments-count {
    font-size: 16px;
    font-weight: var(--fw-bold, 600);
    color: #292929;
    line-height: 1.6;
    flex: 1;
}
.rn-view-comments-info {
    font-size: 13px;
    font-weight: var(--fw-light, 300);
    color: #969696;
    text-align: right;
    flex: 1;
    line-height: 1.6;
}
.rn-view-comments-info-blue {
    color: #2F8BFF;
}

/* Comment Write - Renewal 스타일 (레거시 community.css 오버라이드 포함) */
.rn-view-comment-write,
#comment_form.rn-view-comment-write,
#comment_form_bottom.rn-view-comment-write {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    /* margin-bottom: 24px !important; */
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    clear: none !important;
    border-bottom: none !important;
    padding: 40px 0 !important;
}
.rn-view-comment-write-top,
#comment_form.rn-view-comment-write .rn-view-comment-write-top,
#comment_form_bottom.rn-view-comment-write .rn-view-comment-write-top {
    display: flex !important;
    align-items: flex-start !important;
    gap: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.rn-view-comment-avatar,
#comment_form.rn-view-comment-write .rn-view-comment-avatar,
#comment_form_bottom.rn-view-comment-write .rn-view-comment-avatar {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
    background-size: cover !important;
    background-position: center !important;
}
/* textarea + 이미지 미리보기를 감싸는 래퍼: 테두리를 래퍼에 적용 */
.rn-view-comment-write-input {
    flex: 1;
    min-width: 0;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    box-sizing: border-box;
    overflow: hidden;
}
.rn-view-comment-write-input .image-view-sel {
    display: inline-block;
    width: auto;
    min-height: auto;
    max-height: none;
    /* padding: 0; */
    overflow: visible;
}
.rn-view-comment-write-input .emoticon-remove {
    top: -10px;
    right: -10px;
}
.rn-view-comment-textarea,
/* 레거시 CSS 오버라이드 - community.css의 #comment_form textarea 스타일보다 우선 적용 */
#comment_form.rn-view-comment-write textarea.rn-view-comment-textarea,
#comment_form_bottom.rn-view-comment-write textarea.rn-view-comment-textarea,
.rn-view-comment-write textarea.rn-view-comment-textarea {
    flex: 1;
    min-width: 0;
    width: 100%;
    /* height: 120px; */
    padding: 16px;
    border: none;
    border-radius: 0;
    box-sizing: border-box;
    resize: none;
    
    font-size: 15px;
    line-height: 1.6;
    outline: none;
    background: #fff;
    color: #292929;
}
.rn-view-comment-textarea.reply_textarea_reply {
    width: 100% !important;
}
.rn-view-comment-reply-write-inner .rn-view-comment-textarea-wrap {
    flex: 1 1 0;
    min-width: 0;
    width:100% !important;
}
.rn-view-comment-placeholder {
    font-size: 15px;
    font-weight: var(--fw-light, 300);
    color: #969696;
    line-height: 2;
}
.rn-view-comment-write-btns,
#comment_form.rn-view-comment-write .rn-view-comment-write-btns,
#comment_form_bottom.rn-view-comment-write .rn-view-comment-write-btns {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    clear: both;
    width: 100%;
}
.rn-view-comment-btn-gray,
#comment_form.rn-view-comment-write .rn-view-comment-btn-gray,
#comment_form_bottom.rn-view-comment-write .rn-view-comment-btn-gray {
    width: 80px !important;
    height: auto !important;
    padding: 10px 16px !important;
    margin: 0 !important;
    /* background: #f5f5f5 !important; */
    background: #f5f5f5;
    border: none !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: var(--fw-bold, 600) !important;
    color: #292929 !important;
    text-align: center !important;
    cursor: pointer !important;
}
.rn-view-comment-btn-gray:hover {
    background: #eee !important;
}
.rn-view-comment-btn-black,
#comment_form.rn-view-comment-write .rn-view-comment-btn-black,
#comment_form_bottom.rn-view-comment-write .rn-view-comment-btn-black {
    width: 80px !important;
    height: auto !important;
    padding: 10px 16px !important;
    margin: 0 !important;
    background: #000 !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: var(--fw-bold, 600) !important;
    color: #fff !important;
    text-align: center !important;
    cursor: pointer !important;
}
.rn-view-comment-btn-black:hover {
    background: #333 !important;
}

/* Comment List */
.rn-view-comment-list {
    /* padding: 24px 0; */
}
.rn-view-comment-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
}
.rn-view-comment-item-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
}
.rn-view-comment-item-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.rn-view-comment-item-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.rn-view-comment-item-meta-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.rn-view-comment-author-grade {
    width: 14px;
    height: 14px;
    border-radius: 2px;
    flex-shrink: 0;
}
.rn-view-comment-author-name {
    font-size: 14px;
    font-weight: var(--fw-bold, 600);
    color: #969696;
    line-height: 1.6;
}
.rn-view-comment-date {
    font-size: 14px;
    font-weight: var(--fw-light, 300);
    color: #969696;
    line-height: 1.6;
}
.rn-view-comment-action {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: var(--fw-light, 300);
    color: #969696;
    line-height: 1.6;
    cursor: pointer;
}
.rn-view-comment-action:hover {
    color: #2F8BFF;
}
.rn-view-comment-report {
    font-size: 14px;
    font-weight: var(--fw-light, 300);
    color: #969696;
    line-height: 1.6;
    cursor: pointer;
}
.rn-view-comment-report:hover {
    color: #2F8BFF;
}
.rn-view-comment-text {
    font-size: 15px;
    font-weight: var(--fw-light, 300);
    color: #292929;
    line-height: 2;
    margin: 0;

    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-right: 30px;
}

.rn-view-comment-text > p:first-child {
  flex: 1 !important;
  text-align: left !important;
  margin: 0 !important;
}
/* .rn-view-comment-text > p:last-child { */
.rn-view-comment-text > p:not(:first-child) {
  flex-shrink: 0 !important;
  text-align: right !important;
  margin: 0 !important;
}

div.rn-view-comment-emoticon > a > img.attach-img {
  padding-bottom: 8px;
}

/* 버튼 원래 크기 명시적 복원 */
.rn-view-comment-text .rn-view-adopt-btn {
    width: 100px !important;
    padding: 12px 24px !important;
    height: auto !important;
}

.rn-view-comment-count {
    color: #2F8BFF;    
}

/* 채택 버튼 */
.rn-view-adopt-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 100px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: var(--fw-bold, 600);
    text-align: center;
    flex-shrink: 0;
    cursor: pointer;
    border: 1px solid #1780ff;
    background: transparent;
    color: #2F8BFF;
    padding: 12px 24px;
}
.rn-view-adopt-btn-cancel {
    display: none;
}
.rn-view-comment-list.is-author .rn-view-adopt-btn {
    display: flex;
}
.rn-view-comment-item.is-adopted .rn-view-adopt-btn {
    border: none;
    background: #6b6b6b;
    color: #fff;
    padding: 13px 24px;
}
.rn-view-comment-item.is-adopted .rn-view-adopt-btn-accept {
    display: none;
}
.rn-view-comment-item.is-adopted .rn-view-adopt-btn-cancel {
    display: inline;
}

/* 대댓글 (depth 1) */
.rn-view-comment-reply {
    padding-left: 56px;
    padding-right: 0;
    background: #fafafa;
}
.rn-view-comment-reply .rn-view-comment-reply-inner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 0 16px;
    width: 100%;
}

/* 대대댓글 (depth 2) */
.rn-view-comment-reply-deep {
    padding-left: 112px;
    padding-right: 0;
    background: #fafafa;
}
.rn-view-comment-reply-deep .rn-view-comment-reply-inner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 0 16px;
    width: 100%;
}

/* 이모티콘 팝업: flex 컨테이너 안에서 width 확보 */
.rn-view-comment-write .CommentLineSticker {
    /* width: 100%; */
    margin-left: calc(56px);
    width: calc(100% - 56px);
}

/* 대댓글 작성란 */
.rn-view-comment-reply-write {
    padding-left: 64px !important;
    padding-right: 0 !important;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
}
.rn-view-comment-reply-write-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 16px;
    width: 100%;
}

/* ---- 상세페이지 하단 목록 고유 ---- */
.rn-view-post-list {
    padding-top: 40px;
    /* width: 828px; */
}
.rn-view-list-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    cursor: pointer;
}
.rn-view-list-header > a {
    display: flex;
    align-items: center;
}
.rn-view-list-title {
    font-size: 20px;
    font-weight: var(--fw-bold, 600);
    color: #292929;
    line-height: 1.45;
}

/* 게시글상세 하단 테이블 전용 */
.rn-view-author-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.rn-view-author-avatar-sm {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
}

.ViewCntUpdate {
    cursor:pointer;
}

/* 관리자 댓글 스타일 */
.rn-view-comment-item.is-admin {
    background: #eff6ff;
}

.rn-view-comment-item.is-admin .rn-view-comment-author-name {
    color: #2f8bff;
    font-weight: 600;
}

/* ── 글쓰기 페이지: rn-content 안에서 기존 board-write 너비 오버라이드 ── */
.rn-content .board-write {
    width: 100%;
    margin: 0;
    padding: 0 0 100px 0;
}

#rn-view-post-content-body {
    overflow-wrap: anywhere;
    word-break: break-word;
}
#rn-view-post-content-body img {
    max-width: 100%; height: auto;
}

/* ── 게시글 상세 본문 스켈레톤 로더 ── */
.rn-view-post-content-body--loading {
    position: relative;
    user-select: none;
    pointer-events: none;
    max-width: 828px;
}
.rn-view-post-dummy {
    max-width: 828px;
    /* 서버 응답이 빠를 때 스켈레톤이 깜빡이듯 보여 어색함 → 사용자 화면에서는 숨김.
       (DOM에는 그대로 남아있어 외부 크롤러에는 더미 텍스트가 노출됨) */
    display: none;
}
/* 텍스트 노드: 투명 처리 (배경만 보이게) */
.rn-view-post-dummy,
.rn-view-post-dummy * {
    color: transparent !important;
    text-shadow: none !important;
}
/* 블록 요소(단락/리스트) — 줄 단위 스켈레톤 */
.rn-view-post-dummy p,
.rn-view-post-dummy div,
.rn-view-post-dummy li,
.rn-view-post-dummy h1,
.rn-view-post-dummy h2,
.rn-view-post-dummy h3,
.rn-view-post-dummy h4 {
    display: block;
    background: linear-gradient(90deg, #f0f0f0 25%, #e4e4e4 37%, #f0f0f0 63%);
    background-size: 400% 100%;
    border-radius: 3px;
    animation: rn-view-skeleton-loading 1.4s ease infinite;
    height: 18px;
    line-height: 18px;
    margin-bottom: 10px;
    max-width: 828px;
    overflow: hidden;
}
/* 줄마다 폭을 다르게 — 다양한 nth-child 패턴 조합 */
.rn-view-post-dummy > *:nth-child(7n+1) { width: 92%; }
.rn-view-post-dummy > *:nth-child(7n+2) { width: 65%; }
.rn-view-post-dummy > *:nth-child(7n+3) { width: 88%; }
.rn-view-post-dummy > *:nth-child(7n+4) { width: 45%; }
.rn-view-post-dummy > *:nth-child(7n+5) { width: 78%; }
.rn-view-post-dummy > *:nth-child(7n+6) { width: 35%; }
.rn-view-post-dummy > *:nth-child(7n+7) { width: 96%; }
.rn-view-post-dummy > *:nth-child(11n+3) { width: 50%; }
.rn-view-post-dummy > *:nth-child(13n+5) { width: 25%; }

/* 빈 줄 (gap) — 랜덤하게 빈 공간 추가 */
.rn-view-post-dummy > *:nth-child(5n+3)::after,
.rn-view-post-dummy > *:nth-child(8n+6)::after,
.rn-view-post-dummy > *:nth-child(13n+9)::after {
    content: '';
    display: block;
    height: 16px;
    margin-top: 8px;
    width: 100%;
}

/* 인라인 요소(span/a/strong 등)는 줄 중간의 일부만 강조 */
.rn-view-post-dummy span,
.rn-view-post-dummy a,
.rn-view-post-dummy strong,
.rn-view-post-dummy em,
.rn-view-post-dummy b,
.rn-view-post-dummy i {
    background: transparent;
}

/* 이미지는 크기 고정 블록 스켈레톤 */
.rn-view-post-dummy img {
    background: linear-gradient(90deg, #f0f0f0 25%, #e4e4e4 37%, #f0f0f0 63%);
    background-size: 400% 100%;
    animation: rn-view-skeleton-loading 1.4s ease infinite;
    opacity: 0.9;
    border-radius: 4px;
    max-width: 828px;
}
@keyframes rn-view-skeleton-loading {
    0%   { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
}


/* ============================================
   게시판 리스트 컨트롤 영역 (Figma 262:23059)
   좌: 게시글 탭 (전체글 / 질문글 / 내가 쓴 글)
   우: 통합 검색바 (모듈식, 향후 활용)
   ============================================ */
.rn-list-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    margin: 12px 0;
}

/* --- 좌측: 게시글 탭 --- */
.rn-list-tabs {
    height: 46px;
    display: inline-flex;
    align-items: center;
    padding: 6px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}
.rn-list-tabs__group {
    position: relative;
    display: flex;
    align-items: center;
}
/* active 탭 위치로 좌우 sliding 하는 indicator — JS가 CSS 변수로 위치/너비 동기화 */
.rn-list-tabs__group::before {
    content: '';
    position: absolute;
    top: 0;
    left: var(--rn-tab-indicator-left, 0px);
    width: var(--rn-tab-indicator-width, 0px);
    height: 100%;
    background: #292929;
    border-radius: 6px;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    pointer-events: none;
}
.rn-list-tab {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100px;
    height: 34px;
    padding: 0 20px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #292929;
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.28px;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.rn-list-tab:not(.is-active):hover {
    background: #f5f5f5;
}
.rn-list-tab.is-active,
.rn-list-tab.is-active:hover {
    background: transparent;
    color: #fff;
}
/* 보조 탭(질문글·내가 쓴 글)이 모두 없어 '전체글' 하나만 있을 때는 탭 노출 의미가 없으므로 숨김 (b=36 공지사항 등)
   탭 자체뿐 아니라 .rn-list-tabs 캡슐(border·padding·배경)도 함께 숨겨야 빈 박스가 남지 않음 */
.rn-list-tabs:has(.rn-list-tabs__group > .rn-list-tab:only-child),
.rn-list-tabs__group > .rn-list-tab:only-child {
    display: none;
}
/* 탭이 숨겨졌을 때 .rn-controls(width:50%)가 좌측에 머무는 현상 방지 — 검색·글쓰기 영역을 우측으로 고정 */
.rn-list-controls:has(.rn-list-tabs__group > .rn-list-tab:only-child) .rn-controls {
    margin-left: auto;
}

/* AJAX 진행 중 시각 피드백 — 탭 영역 dim/pointer 차단만 유지 (cursor:wait은 디자이너 결정으로 제거) */
body.is-list-fetching .rn-list-tabs {
    pointer-events: none;
    opacity: 0.6;
    transition: opacity 0.15s ease;
}


/* ---- 우측 사이드 ---- */
.rn-sidebar-right {
    width: 220px;
    flex: 0 0 220px;
}
.rn-side-card {
    margin-bottom: 40px; 
}
.rn-side-title {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 700;
    color: #292929;
    display: flex;
    align-items: center;
    gap: 6px;
}
.rn-popular-list {
    list-style: none;
    margin: 0 0 48px 0;
    padding: 0;
    /* 10행 × 34.39px ≈ 343px — 데이터 길이가 변해도 아래 질문글 현황 위치 고정 */
    height: 343px;
}
.rn-popular-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
    font-size: 14px;
}
.rn-popular-rank {
    width: 20px;
    text-align: center;
    color: #292929;
    font-weight: 700;
}
.rn-popular-title {
    flex: 1 0 0;
    min-width: 0;
    color: #292929;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rn-question-status {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.rn-question-status-row {
    display: flex;
    gap: 8px;
}
.rn-question-status-cell {
    /* flex: 1;
    padding: 12px 0;
    text-align: center; */
    display: flex;
    padding: 8px 0 14px 0;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    flex: 1 0 0;
    border-radius: 8px;
    background: #FAFAFA;
    height: 72px;
}
.rn-question-status-count {
    /* font-size: 24px;
    font-weight: 700;
    color: #292929;
    line-height: 1.2; */
    color: #2F8BFF;
    text-align: center;
    /* Title/M */
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 180%; /* 32.4px */
    letter-spacing: 0.36px;
}
/* 단위 "건"은 CSS로 부여 — 마크업의 텍스트는 숫자만 (예: "5"). 폰트·색상은 부모 inherit. */
.rn-question-status-count::after {
    content: '건';
}
/* 숫자 부분(.rn-question-status-count__num)을 inline-block + 고정 슬롯으로 잡아
   count-up 애니메이션 중 매 프레임 자릿수·글리프 폭이 달라도 "건"이 흔들리지 않게 함.
   2자리(예: 99)까지 안정. 더 큰 값이 들어오면 자연 확장. */
.rn-question-status-count {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
}
.rn-question-status-count__num {
    display: inline-block;
    min-width: 2ch;
    text-align: right;
    font-variant-numeric: tabular-nums;
    margin-left: -10px;
}
.rn-question-status-label {
    /* margin-top: 6px;
    font-size: 13px;
    color: #969696; */
    color: #292929;
    /* Caption/S */
    font-size: 13px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    letter-spacing: 0.26px;
}
.rn-question-status-btn {
    /* height: 34px;
    border-radius: 6px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    font-size: 14px;
    font-weight: 600;
    color: #292929;
    cursor: pointer; */
    display: flex;
    height: 34px;
    padding: 0 14px;
    justify-content: center;
    align-items: center;
    gap: 6px;
    align-self: stretch;

    border-radius: 6px;
    background:  #ECF4FF;

    color:  #2F8BFF;
    text-align: center;

    /* Label/M */
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.28px;

    cursor: pointer;
    transition: background-color 0.15s ease;
}
/* Hover: 기본 #ECF4FF보다 약간 진한 톤으로 변경 (cursor pointer 포함) */
.rn-question-status-btn:hover {
    background: #D6E8FF;
}

/* ---- 푸터 ---- */
.rn-footer {
    border-top: 1px solid #eee;
    padding: 40px 0 80px;
}
.rn-footer-inner {
    width: 1200px;
    margin: 0 auto;
}
.rn-footer-links {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 600;
}
.rn-footer-divider {
    width: 1px;
    height: 16px;
    background: #e0e0e0;
}
.rn-footer-info {
    font-size: 13px;
    color: #969696;
    line-height: 1.6;
}