/* Wiki Page Styles */
@font-face {
    font-family: 'Cafe24Surround';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2105_2@1.0/Cafe24Ssurround.woff') format('woff');
    font-weight: normal;
    font-display: swap;
}
/* Header with Full Background */
.wiki-header-bg {
    background: #7d65f2;
    padding: 60px 0;
    margin-bottom: 0;
    margin-top: -9px;
}

.wiki-header-content {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    color: #fff;
    position: relative;
}

/* Breadcrumb (detail header 상단) */
/* New breadcrumb structure */
.wiki-nav { margin: 0; height: auto; display: flex; align-items: center; z-index: 1; }
.wiki-navList { display: flex; gap: 10px; align-items: center; list-style: none; padding: 0; margin: 0; font-size: 12px;}
.wiki-navList .item { display: flex; align-items: center; gap: 10px; color: #fff; }
.wiki-navList .item .w-link { color: #fff; text-decoration: none; }
.wiki-navList .item .w-link:hover { text-decoration: underline; }
.wiki-navList .item .r_arrow { color: #fff; }
.wiki-navList .item.cur .w-link { color: #fff; pointer-events: none; font-size: 12px;}

.wiki-main-title {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    margin: 14px 0 8px 0;
    text-align: left;
}

.wiki-main-subtitle {
    font-size: 16px;
    color: #fff;
    margin: 0;
    opacity: 0.9;
    text-align: left;
}

/* Header background text effect */
.wiki-header-content::before {
    font-family: 'Cafe24Surround';
    content: attr(data-subtitle);
    position: absolute;
    top: 87%;
    right: 380px;
    transform: translateY(-50%);
    font-size: 90px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    background: linear-gradient(to bottom, #ffffffed 26%, rgb(255 255 255 / 0%) 134%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 1;
    pointer-events: none;
}

.wiki-header-content::after {
    font-family: 'Cafe24Surround';
    content: attr(data-title);
    position: absolute;
    top: 52%;
    right: 435px;
    transform: translateY(-50%);
    font-size: 90px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    background: linear-gradient(to bottom, #ffffff 26%, rgb(255 255 255 / 68%) 134%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 1;
    pointer-events: none;
}

@media (max-width: 768px) {
    .wiki-header-content::after {
        right: 60px;
        top: 46%;
    }
    .wiki-header-content::before {
        right: 10px;
    }
    
    .wiki-main-subtitle {
        font-size: 14px;
    }
}

/* Search Bar */
.wiki-search-container {
    position: relative;
    max-width: 980px;
    margin: -28px auto 0;
    padding: 0 20px;
}

.wiki-search-box {
    width: 586px;    
    position: relative;
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
}

.wiki-search-input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    background: transparent;
}

.wiki-search-input::placeholder {
    color: #999;
}

.wiki-search-btn {
    padding: 16px 20px;
    border: none;
    background: transparent;
    color: #666;
    cursor: pointer;
    border-radius: 0 12px 12px 0;
    transition: color 0.3s ease;
}

.wiki-search-btn:hover {
    color: #7d65f2;
}

/* Main Container */
.wiki-container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px 40px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Main Content Area (70% width) */
.wiki-main {
    flex: 1;
    min-width: 0;
}

.wiki-text {
    font-size: 14px;
    color: #33333380;
    margin: 0 0 20px 0;
    line-height: 1.69;
    letter-spacing: -0.42px;
    text-align: justify;
    padding-right: 10px;
}

.wiki-text a {
    font-size: 14px;
    color: #33333380;
    margin: 0 0 20px 0;
    line-height: 1.69;
    letter-spacing: -0.42px;
    text-align: justify;
    padding-right: 10px;
    text-decoration: none;
}

/* Section Titles */
.wiki-section-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 40px 0 0 0;
}

/* Frequently Searched Terms */
.wiki-frequent-section {
    margin-bottom: 40px;
}

.wiki-frequent-tags {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    width: 586px;
    margin: 20px 0 60px;

}

.wiki-tag {
    padding: 8px 16px;
    border-radius: 20px;    
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    background: #ededed;
}

/* All Information Section */
.wiki-info-section {
    margin-bottom: 40px;
    padding: 0;
}

.wiki-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wiki-info-item {
    display: flex;
    gap: 40px;
    padding: 24px 10px;
    background: #fff;        
    transition: all 0.3s ease;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
}

.wiki-info-item:hover {
    box-shadow: 0 4px 8px #462cc50f;
    transform: translateY(-2px);
}

.wiki-info-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;   
    overflow: hidden;
}

.wiki-info-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.wiki-info-content {
    flex: 1;
    min-width: 0;
}

.wiki-info-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px 0;
}

.wiki-info-desc {
    font-size: 14px;
    color: #33333380;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Aside Section (30% width) */
.wiki-aside {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Aside Sections */
.wiki-aside-section {
    background: #fff;
    border: 2px solid #f6f5ff;
    border-radius: 12px;
    padding: 20px;
}

.wiki-aside-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

/* IT 뉴스 헤더 (타이틀 + 더보기) */
.wiki-aside-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.wiki-aside-more-link {
    font-size: 13px;
    color: #33333380;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

.wiki-aside-more-link:hover {
    text-decoration: underline;
}

.wiki-aside-more-link i {
    font-size: 11px;
    margin-left: 2px;
}

.wiki-aside-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Search Items */
.wiki-aside-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.wiki-aside-search-rank {
    font-size: 14px;
    font-weight: 700;
    color: #7d65f2;
    min-width: 20px;
}

.wiki-aside-search-term {
    font-size: 14px;
    color: #333;
    flex: 1;
}

/* Recent Items */
.wiki-recent-item {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #f6f5ff;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.wiki-recent-item:hover .wiki-recent-title {
    color: #7d65f2;
}

.wiki-recent-item:last-child {
    border-bottom: none;
}

.wiki-recent-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0 0 4px 0;
    line-height: 1.4;
}

.wiki-recent-desc {
    font-size: 12px;
    color: #33333380;
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wiki-recent-empty {
    padding: 20px;
    text-align: center;
    color: #999;
    font-size: 13px;
}

/* Price Header */
.wiki-price-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.wiki-price-title-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Provider Buttons Container with Date */
.wiki-provider-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.wiki-provider-buttons {
    display: flex;
    gap: 4px;    
}

.wiki-price-base-date {
    font-size: 11px;
    color: #999;
    white-space: nowrap;
}

/* Tooltip */
.wiki-tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: help;
}

.wiki-tooltip i {
    font-size: 14px;
    color: #333;
    transition: color 0.2s ease;
}

.wiki-tooltip:hover i {
    color: #7d65f2;
}

.wiki-tooltip-text {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: 50%;
    top: calc(100% + 8px);
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    font-size: 11px;
    line-height: 1.5;
    padding: 8px 12px;
    border-radius: 6px;
    white-space: nowrap;
    z-index: 100;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.wiki-tooltip-text::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-bottom-color: #333;
}

.wiki-tooltip:hover .wiki-tooltip-text {
    visibility: visible;
    opacity: 1;
}


.wiki-provider-btn {    
    padding: 6px 8px 6px 0;
    font-size: 14px;
    font-weight: 600;
    color: #33333380;
    background: #fff;
    border: none;    
    cursor: pointer;
    transition: all 0.2s ease;
}


.wiki-provider-btn.active {
    color: #333;
    text-decoration: underline;
}

/* Price Items */
.wiki-price-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f6f5ff;
    gap: 8px;
    text-decoration: none;
}

.wiki-price-item:last-child {
    border-bottom: none;
}

.wiki-price-info {
    flex: 1;
    min-width: 0;
}

.wiki-price-model {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wiki-price-change {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    min-width: 90px;
    justify-content: flex-end;

}

.wiki-price-arrow {
    font-size: 14px;
    font-weight: bold;
    width: 14px;
    text-align: center;
    flex-shrink: 0;
}

.wiki-price-diff {
    font-size: 14px;    
    white-space: nowrap;    
    text-align: right;
    width: 80px;
}

.arrow-up { 
    color: #3b82f6; 
}
.arrow-down { 
    color: #ef4444; 
}
.arrow-neutral { 
    color: #999; 
}

/* 가격 차이 텍스트 색상도 화살표에 따라 변경 */
.arrow-up + .wiki-price-diff {
    color: #3b82f6;
}

.arrow-down + .wiki-price-diff {
    color: #ef4444;
    font-weight: 500;
}

.arrow-neutral + .wiki-price-diff {
    color: #999;
}

.wiki-price-loading,
.wiki-price-empty {
    padding: 20px;
    text-align: center;
    color: #999;
    font-size: 13px;
}

/* News Items */
.wiki-news-item {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #f6f5ff;
    text-decoration: none;
    transition: all 0.2s ease;
}

.wiki-news-item:last-child {
    border-bottom: none;
}

.wiki-news-source {
    font-size: 11px;
    color: #7d65f2;
    font-weight: 600;
    margin-bottom: 4px;
}

.wiki-news-title {
    font-size: 14px;
    color: #333;
    margin: 0 0 4px 0;
    line-height: 1.4;
    font-weight: 500;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;    
    overflow: hidden;
    display: -webkit-box;
}

.wiki-news-item:hover .wiki-news-title {
    color: #7d65f2;
}

.wiki-news-date {
    font-size: 11px;
    color: #999;
}

/* detail 페이지 */
.wiki-detail-container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px 40px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 40px;
    touch-action: pan-y;
}

.wiki-sectionContent {
    padding: 0;
}

.wiki-sectionContent img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 16px 0 32px 0;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.detail-section {
    padding: 0;
}

.wiki-tableContents {
    border-radius: 12px;
    padding: 40px;
    margin: 40px 0 10px;
    background: #f6f5ff;
}



.wiki-h2-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 48px 0 16px;
    letter-spacing: -1.44px;
    line-height: 1.25;
}

.wiki-h3-title {
    font-size: 20px;
    font-weight: 600;
    color: #333333dd;
    margin-top: 16px;
    letter-spacing: -1.44px;
    line-height: 1.25;
}

.wiki-detail-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 16px;
}

.wiki-list li {
    margin-bottom: 16px;
}

.wiki-textLink {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

.wiki-wrap boxStyle {
    padding: 20px;
    border-radius: 20px;
    background: #f6f5ff;
}

.wiki-table-default {
    width: 100%;
}

.wiki-table-default table {
    width: 100%;
}

.wiki-table-default thead {
    border: 1px solid #e9ecef;
}

.wiki-table-default tr {
    font-size: 14px;
    color: #33333380;
    text-align: center;

}

.wiki-table-default th {
    padding: 12px 8px;
    background: #f6f5ff;
    border: 1px solid #e9ecef;
    font-weight: 700;
    color: #33333380;
    font-size: 14px;
}
.wiki-table-default td {
    background: #fff;
    border: 1px solid #e9ecef;
    font-size: 14px;
    color: #33333380;
    padding: 10px;
}

.wiki-table-default caption {
    font-size: 14px;
    color: #33333380;
    margin-top: 10px;
    text-align: center;
}



/* Responsive Design */
@media (max-width: 768px) {
    .wiki-header-bg {
        padding: 50px 0;
        touch-action: pan-y;
    }
    .wiki-main-title {
        font-size: 32px;
    }

    
    
    .wiki-search-container {
        padding: 0 20px;
    }
    
    .wiki-search-box {
        width: 100%;
    }
    
    .wiki-container {
        flex-direction: column;
        gap: 30px;
        padding: 30px 20px;
    }
    
    .wiki-aside {
        display: none; /* Hide aside on mobile */
    }
    
    .wiki-main {
        width: 100%;
    }
    
    .wiki-info-item {
        gap: 20px;
    }
    
    .wiki-info-image {
        align-self: center;
    }
    
    .wiki-frequent-tags {
        justify-content: center;
        width: 100%;
        margin: 16px 0 30px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px 12px;
    }

    .wiki-info-title { font-size: 16px; }
    .wiki-info-desc { font-size: 12px; }

    .wiki-h2-title { font-size: 20px; }
    .wiki-h3-title { font-size: 18px; }

    /* 모바일: 첫 줄 3개, 둘째 줄 2개 중앙 정렬 */
    .wiki-frequent-tags .wiki-tag { width: 100%; text-align: center; font-size: 12px; }
}

/* 검색 결과 영역 */
.wiki-search-results {
    background: #f6f5ff;
    padding: 40px 0;
    margin-bottom: 40px;
}

.wiki-search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 16px;
}

.wiki-search-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.wiki-search-count {
    font-size: 18px;
    color: #7d65f2;
    font-weight: 600;
}

.wiki-search-close {
    background: #fff;
    border: 1px solid #ddd;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.wiki-search-close:hover {
    background: #7d65f2;
    color: #fff;
    border-color: #7d65f2;
}

.wiki-search-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wiki-search-item {
    display: flex;
    gap: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.wiki-search-item:hover {
    box-shadow: 0 4px 8px #462cc50f;
    transform: translateY(-2px);    
}

.wiki-search-item-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;    
}

.wiki-search-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wiki-search-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wiki-search-item-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

.wiki-search-item-snippet {
    font-size: 14px;
    color: #33333380;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wiki-search-item-date {
    font-size: 12px;
    color: #999;
    margin-top: auto;
}

.wiki-search-empty {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 16px;
}

/* 태그 클릭 가능 스타일 강화 */
.wiki-tag {
    cursor: pointer;
    transition: all 0.3s ease;
}

.wiki-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px #426cc50f;
}

/* 모바일 검색 결과 */
@media (max-width: 768px) {
    .wiki-search-results {
        padding: 20px 0;
    }

    .wiki-search-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .wiki-search-title {
        font-size: 18px;
    }

    .wiki-search-count {
        font-size: 14px;
    }

    .wiki-search-close {
        width: 100%;
        justify-content: center;
    }

    .wiki-search-item {
        flex-direction: column;
        padding: 16px;
    }

    .wiki-search-item-image {
        width: 100%;
        height: 180px;
    }

    .wiki-search-item-title {
        font-size: 16px;
    }

    .wiki-search-item-snippet {
        font-size: 13px;
    }
    
    /* 모바일 시세 현황 */
    .wiki-price-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .wiki-price-base-date {
        font-size: 10px;
    }
    
    .wiki-provider-btn {
        padding: 5px 6px;
        font-size: 11px;
    }
    
    .wiki-price-model {
        font-size: 12px;
    }
    
    .wiki-price-change {
        min-width: 95px;
    }
    
    .wiki-price-arrow {
        font-size: 12px;
        width: 12px;
    }
    
    .wiki-price-diff {
        font-size: 10px;
        width: 80px;
    }
    
    .wiki-tooltip i {
        font-size: 12px;
    }
    
    .wiki-tooltip-text {
        font-size: 10px;
        padding: 6px 10px;
        max-width: 200px;
        white-space: normal;
    }
}

/*  NEWS 스타일 */
.news-container {
    max-width: 980px;
    margin: 0 auto;
    padding: 70px 20px 40px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Main Content Area (70% width) */
.news-main {
    flex: 1;
    min-width: 0;
}

/* 뉴스 그리드 레이아웃 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

/* 뉴스 카드 */
.news-card {
    display: block;
    background: #fff;
    border: 1px solid #f6f5ff;
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.news-card:hover {    
    box-shadow: 0 4px 12px rgba(125, 101, 242, 0.1);
    transform: translateY(-2px);
}

.news-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.news-card-source {
    font-size: 12px;
    color: #7d65f2;
    font-weight: 700;
    background: #f6f5ff;
    padding: 4px 10px;
    border-radius: 4px;
}

.news-card-date {
    font-size: 12px;
    color: #999;
}

.news-card-title {
    font-size: 16px;
    color: #333;
    font-weight: 600;
    line-height: 1.5;
    margin: 0 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;    
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card:hover .news-card-title {
    color: #7d65f2;
}

.news-card-snippet {
    font-size: 14px;
    color: #33333380;
    line-height: 1.6;
    margin: 0 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;    
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-creator {
    font-size: 12px;
    color: #999;
}

/* Header background text effect */
.wiki-header-content.news::before {
    font-family: 'Cafe24Surround';
    content: attr(data-subtitle);
    position: absolute;
    top: 55%;
    right: 240px;
    transform: translateY(-50%);
    font-size: 90px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    background: linear-gradient(to bottom, #ffffffed 26%, rgb(255 255 255 / 0%) 134%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 1;
    pointer-events: none;
}

.wiki-header-content.news::after {
    font-family: 'Cafe24Surround';
    content: attr(data-title);
    position: absolute;
    top: 55%;
    right: 530px;
    transform: translateY(-50%);
    font-size: 90px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    background: linear-gradient(to bottom, #ffffffed 26%, rgb(255 255 255 / 0%) 134%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 1;
    pointer-events: none;
}

.news-pagination {
    display: flex;    
    gap: 8px;
}

.wiki-pagination-btn {
    font-size: 14px;
    color: #33333380;
    text-decoration: none;    
    border-radius: 8px;
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: #fff;    
    border-radius: 8px;
    transition: all 0.3s ease;
}

.wiki-pagination-btn.active {
    color: #462cc5;
    background: #f0f4ff;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .news-container {
        padding: 30px 20px;
    }
    .news-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .news-card {
        padding: 16px;
    }
    
    .news-card-title {
        font-size: 15px;
    }
    
    .news-card-snippet {
        font-size: 13px;
    }
    .wiki-header-content.news::before {
        right: 10px;
        font-size: 50px;
    }

    .wiki-header-content.news::after {
        right: 175px;
        font-size: 50px;

    }

    .news-pagination {
        justify-content: center;
    }
}

/* FAQ Section */
.wiki-faq-section {
    margin: 0 0 40px;
}

.wiki-faq-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0 0 24px 0;
    text-align: center;
}

.wiki-faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wiki-faq-item {
    background: #fff;
    border: 2px solid #f6f5ff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.wiki-faq-item[open] {
    border-color: #7d65f2;
    box-shadow: 0 4px 12px rgba(125, 101, 242, 0.1);
}

.wiki-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    list-style: none;
    user-select: none;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.wiki-faq-question::-webkit-details-marker {
    display: none;
}

.wiki-faq-question:hover {
    color: #7d65f2;
    background: #f6f5ff;
}

.wiki-faq-icon {
    font-size: 14px;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.wiki-faq-item[open] .wiki-faq-icon {
    transform: rotate(180deg);
    color: #7d65f2;
}

.wiki-faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: #fff;
    font-size: 14px;
    color: #33333380;
    line-height: 1.7;
    margin: 0;
    border-top: 1px solid #f6f5ff;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FAQ 아코디언 기능 */
.wiki-faq-question .wiki-faq-icon {
    transition: transform 0.3s ease;
}

.wiki-faq-item.active .wiki-faq-question .wiki-faq-icon {
    transform: rotate(180deg);
}

.wiki-faq-item.active .wiki-faq-answer {
    padding: 20px;
    max-height: 200px;
}

/* 숨김 처리 */
figcaption.hide {
    display: none;
}

/* 테이블 래퍼 스타일 */
.table-wrapper {
    overflow-x: auto;    
    max-width: 100%;
    margin-bottom: 1.5rem;
    border-radius: 5px;
}

/* FAQ 모바일 반응형 */
@media (max-width: 768px) {
    .wiki-faq-section {
        margin: 40px 0 30px;
    }

    .wiki-faq-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .wiki-faq-list {
        gap: 12px;
    }

    .wiki-faq-question {
        padding: 16px 18px;
        font-size: 14px;
    }

    .wiki-faq-icon {
        font-size: 12px;
        margin-left: 12px;
    }
    .table-wrapper {
        white-space: nowrap;
    }
}