/* STREAMING_CHUNK:Base & Reset */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700;900&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Noto Sans KR', sans-serif; color: #333; line-height: 1.5; background-color: #f8f9fa; }
a { text-decoration: none; color: inherit; }
a:hover { text-decoration: underline; }
ul, ol, li { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
em { font-style: normal; }

/* STREAMING_CHUNK:Layout Components */
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.content-wrapper { display: flex; gap: 30px; padding: 20px 0; margin-top: 20px; flex-wrap: wrap; }
.main-content { flex: 1; min-width: 0; background-color: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.aside.view-sidebar { width: 320px; flex-shrink: 0; display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 992px) {
    .main-content {
        padding: 20px;
    }
    .aside.view-sidebar {
        width: 100%;
    }
}

/* STREAMING_CHUNK:Header Styles */
.site-header { background: #fff; border-bottom: 1px solid #e2e4e8; position: sticky; top: 0; z-index: 1000; }
.header-top { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid #f1f1f1; }
.site-logo { font-size: 28px; font-weight: 900; color: #1a365d; letter-spacing: -1px; }
.site-logo span { color: #e53e3e; }
.header-search { display: flex; align-items: center; border: 2px solid #1a365d; border-radius: 20px; overflow: hidden; padding: 2px 10px; }
.header-search input { border: none; outline: none; padding: 5px; font-size: 14px; width: 150px; }
.header-search button { color: #1a365d; font-weight: bold; padding: 0 5px; }

.main-nav { padding: 10px 0; }
.main-nav-list { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.main-nav-list a { font-size: 16px; font-weight: 700; color: #2d3748; padding: 5px 0; transition: color 0.2s; }
.main-nav-list a:hover { color: #e53e3e; text-decoration: none; }

/* STREAMING_CHUNK:Footer Styles */
.site-footer { background: #1a202c; color: #a0aec0; padding: 40px 0 60px; font-size: 14px; margin-top: 40px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 20px; border-bottom: 1px solid #2d3748; padding-bottom: 20px; }
.footer-nav a { color: #e2e8f0; font-weight: 500; }
.footer-nav a:hover { color: #fff; }
.footer-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3px; line-height: 1.8; }
.footer-info strong { color: #cbd5e0; }

/* STREAMING_CHUNK:Main Page - Slider */
.main-slider-wrap { position: relative; margin-top: 20px; overflow: hidden; border-radius: 8px; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.slider-container { display: flex; transition: transform 0.4s ease-in-out; }
.slider-item { min-width: 100%; position: relative; }
.slider-item img { width: 100%; height: 400px; object-fit: cover; }
.slider-content { position: absolute; bottom: 0; left: 0; width: 100%; padding: 40px 20px 20px; background: linear-gradient(transparent, rgba(0,0,0,0.8)); color: #fff; }
.slider-category { background: #e53e3e; color: #fff; font-size: 12px; font-weight: bold; padding: 3px 8px; border-radius: 3px; display: inline-block; margin-bottom: 10px; }
.slider-title { font-size: 24px; font-weight: 700; line-height: 1.3; margin-bottom: 10px; }
.slider-controls { position: absolute; top: 50%; width: 100%; display: flex; justify-content: space-between; transform: translateY(-50%); padding: 0 10px; pointer-events: none; }
.slider-btn { background: rgba(255,255,255,0.7); width: 40px; height: 40px; border-radius: 50%; pointer-events: auto; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: bold; transition: background 0.2s; }
.slider-btn:hover { background: #fff; }

/* STREAMING_CHUNK:Main Page - Sections */
.section-title { font-size: 20px; font-weight: 900; margin: 40px 0 20px; padding-left: 10px; border-left: 4px solid #1a365d; color: #1a365d; }

.latest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.news-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 4px rgba(0,0,0,0.05); transition: transform 0.2s; }
.news-card:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.news-card-thumb { height: 160px; overflow: hidden; }
.news-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.news-card:hover .news-card-thumb img { transform: scale(1.05); }
.news-card-info { padding: 15px; }
.news-card-cat { font-size: 12px; color: #e53e3e; font-weight: bold; margin-bottom: 5px; display: block; }
.news-card-title { font-size: 16px; font-weight: 700; line-height: 1.4; margin-bottom: 8px; color: #1a202c; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; }
.news-card-date { font-size: 12px; color: #718096; }

/* STREAMING_CHUNK:Main Page - Category 3 Columns */
.category-columns-section { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.category-col-header { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 2px solid #1a202c; padding-bottom: 10px; margin-bottom: 15px; }
.category-col-title { font-size: 18px; font-weight: 800; color: #1a202c; }
.category-col-more { font-size: 13px; color: #718096; transition: color 0.2s; }
.category-col-more:hover { color: #e53e3e; text-decoration: none; }

.category-lead-article { margin-bottom: 15px; }
.category-lead-article .thumb { height: 180px; overflow: hidden; margin-bottom: 15px; border-radius: 4px; }
.category-lead-article .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.category-lead-article:hover .thumb img { transform: scale(1.05); }
.category-lead-article .title { font-size: 17px; font-weight: 700; line-height: 1.4; margin-bottom: 8px; color: #2d3748; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.category-lead-article .desc { font-size: 14px; color: #718096; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.category-list-article { padding: 15px 0; border-top: 1px solid #e2e4e8; }
.category-list-article .title { font-size: 15px; font-weight: 500; color: #2d3748; line-height: 1.4; }
.category-list-article:hover .title { color: #1a365d; text-decoration: underline; }

/* STREAMING_CHUNK:Main Page - Exclusive & Features */
.exclusive-section { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 30px; margin-top: 20px; border-top: 2px solid #1a202c; padding-top: 30px; }
@media (max-width: 992px) {
.exclusive-section { display: flex; flex-direction: column; }
.exclusive-center-col { order: -1; margin-bottom: 20px; }
}

.exclusive-lead-article .thumb { height: 260px; overflow: hidden; margin-bottom: 15px; border-radius: 4px; }
.exclusive-lead-article .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.exclusive-lead-article:hover .thumb img { transform: scale(1.05); }
.exclusive-lead-article .title { font-size: 22px; font-weight: 800; line-height: 1.4; margin-bottom: 12px; color: #1a202c; }
.exclusive-lead-article .desc { font-size: 15px; color: #718096; line-height: 1.6; }

.exclusive-list-item { padding: 15px 0; border-bottom: 1px solid #e2e4e8; }
.exclusive-list-item:first-child { padding-top: 0; }
.exclusive-list-item:last-child { border-bottom: none; }
.exclusive-list-item a { display: flex; gap: 15px; align-items: center; }
.exclusive-list-item .thumb { width: 110px; height: 75px; flex-shrink: 0; border-radius: 4px; overflow: hidden; }
.exclusive-list-item .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.exclusive-list-item:hover .thumb img { transform: scale(1.05); }
.exclusive-list-item .info { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.exclusive-list-item .cat { font-size: 12px; color: #718096; margin-bottom: 4px; }
.exclusive-list-item .title { font-size: 15px; font-weight: 600; line-height: 1.4; color: #2d3748; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.exclusive-list-item:hover .title { color: #1a365d; text-decoration: underline; }
.exclusive-side-col.right-align-thumb .exclusive-list-item a { flex-direction: row-reverse; }

/* STREAMING_CHUNK:Main Page - Youtube */
.youtube-section { background: #1a202c; padding: 40px 20px; margin-top: 40px; border-radius: 8px; }
.youtube-section .section-title { color: #fff; border-left-color: #e53e3e; margin-top: 0; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.video-card { position: relative; }
.video-thumb { position: relative; padding-top: 56.25%; background: #000; border-radius: 8px; overflow: hidden; }
.video-thumb img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.play-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 50px; height: 50px; background: rgba(229, 62, 62, 0.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; padding-left: 4px; }
.video-title { color: #fff; margin-top: 10px; font-weight: 500; font-size: 15px; }

/* STREAMING_CHUNK:View Page */
.article-view-header { border-bottom: 2px solid #2d3748; padding-bottom: 20px; margin-bottom: 30px; }
.article-view-title { font-size: 28px; font-weight: 900; color: #1a202c; line-height: 1.4; margin-bottom: 15px; }
.article-view-meta { display: flex; gap: 15px; font-size: 14px; color: #718096; }

.article-view-body { font-size: 16px; line-height: 1.8; color: #333; }
.article-view-body img { margin: 20px auto; max-width: 100%; height: auto; border-radius: 4px; }
.article-tools { display: flex; gap: 10px; margin: 40px auto; padding-top: 20px; border-top: 1px solid #e2e4e8; justify-content: center; }
.tool-btn { padding: 8px 20px; border: 1px solid #cbd5e0; border-radius: 20px; font-size: 14px; color: #4a5568; transition: all 0.2s; }
.tool-btn:hover { background: #f7fafc; color: #1a365d; border-color: #1a365d; text-decoration: none; }

/* STREAMING_CHUNK:List Page */
.list-header { margin-bottom: 30px; border-bottom: 2px solid #1a365d; padding-bottom: 10px; }
.list-title { font-size: 24px; font-weight: 800; color: #1a365d; }
.list-item { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid #e2e4e8; }
.list-item-thumb { width: 200px; height: 130px; flex-shrink: 0; border-radius: 6px; overflow: hidden; }
.list-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.list-item-content { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.list-item-title { font-size: 20px; font-weight: 700; margin-bottom: 10px; color: #2d3748; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.list-item-desc { font-size: 15px; color: #4a5568; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.list-item-meta { font-size: 13px; color: #a0aec0; }
@media (max-width: 600px) {
.list-item { flex-direction: column; }
.list-item-thumb { width: 100%; height: 200px; }
}

.pagination { display: flex; justify-content: center; gap: 5px; margin-top: 40px; }
.page-num { padding: 8px 12px; border: 1px solid #e2e4e8; border-radius: 4px; color: #4a5568; font-size: 14px; }
.page-num.active { background: #1a365d; color: #fff; border-color: #1a365d; }
.page-num:hover:not(.active) { background: #f7fafc; text-decoration: none; }



.section_09 { background: #fff; border: 1px solid #e2e4e8; border-radius: 8px; padding: 20px; }
.section_09 h3 { font-size: 16px; font-weight: 800; border-bottom: 2px solid #1a365d; padding-bottom: 10px; margin-bottom: 15px; color: #1a365d; }

.section_09 li:last-child { margin-bottom: 0; }
.section_09 a { display: flex; gap: 10px; align-items: center; }
.section_09 .thumb { width: 80px; height: 60px; flex-shrink: 0; border-radius: 4px; overflow: hidden; }
.section_09 .thumb img { width: 100%; height: 100%; object-fit: cover; }
.section_09 .info { flex: 1; }
.section_09 .tit { font-size: 14px; font-weight: 500; color: #2d3748; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.3; }
.section_09 .press { font-size: 11px; color: #a0aec0; display: block; margin-top: 4px; }

.ad_text_pic_B { margin-top: 40px; background: #f8f9fa; padding: 20px; border-radius: 8px; }
.ad_text_pic_B h4 { font-size: 16px; font-weight: 700; margin-bottom: 15px; color: #4a5568; }
.ad_text_pic_B h4 em { color: #e53e3e; font-weight: 800; }
.ad_text_pic_B ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 15px; }
.ad_text_pic_B .thumb { width: 100%; height: 100px; border-radius: 4px; overflow: hidden; margin-bottom: 8px; }
.ad_text_pic_B .thumb img { width: 100%; height: 100%; object-fit: cover; }
.ad_text_pic_B .tit { font-size: 13px; color: #2d3748; display: block; line-height: 1.4; }

/* STREAMING_CHUNK:About Page */
.about-header { text-align: center; padding: 40px 0; background: #fff; margin-bottom: 30px; border-radius: 8px; }
.about-header h2 { font-size: 32px; font-weight: 900; color: #1a365d; }

.tab-nav { display: flex; flex-wrap: wrap; border-bottom: 2px solid #e2e4e8; margin-bottom: 30px; }
.tab-btn {flex: 1;/* min-width: 150px; */padding: 15px;text-align: center;font-size: 14px;/* font-weight: 700; */color: #718096;background: #f7fafc;border: 1px solid #e2e4e8;border-bottom: none;/* border-radius: 8px 8px 0 0; */margin-right: 2px;transition: all 0.2s;line-height: 1.3;}
.tab-btn:last-child { margin-right: 0; }
.tab-btn.active { background: #fff; color: #1a365d; border-color: #2d3748; border-top: 3px solid #1a365d; padding-bottom: 16px; margin-bottom: -2px; }
.tab-btn:hover:not(.active) { background: #edf2f7; color: #4a5568; }

.tab-content-panel {display: none;background: #fff;/* padding: 40px; */border-radius: 0 0 8px 8px;box-shadow: 0 2px 10px rgba(0,0,0,0.02);/* min-height: 400px; */max-width: 600px;margin: auto;}
.tab-content-panel.active { display: block; }

.about-content-inner h3 { font-size: 24px; font-weight: 800; margin-bottom: 20px; color: #2d3748; }
.about-content-inner p { font-size: 16px; line-height: 1.8; color: #4a5568; margin-bottom: 15px; }
.about-content-inner img { margin: 0 auto 30px; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.policy-list { margin: 20px 0; padding-left: 20px; }
.policy-list li {font-size: 16px;color: #4a5568;line-height: 1.8;margin-bottom: 15px;/* list-style-type: decimal; */}
.policy-list strong { color: #2d3748; display: block; margin-bottom: 5px; }
.contact-box {background: #f7fafc;padding: 20px;/* border-radius: 8px; */margin-top: 20px;border-left: 4px solid #1a365d;}
.contact-box p { margin-bottom: 0; font-weight: 500; color: #1a365d; }

/* Alert 대체 커스텀 팝업 */
.custom-msg-box { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background-color: #1a365d; color: #fff; padding: 15px 30px; border-radius: 30px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); z-index: 9999; transition: opacity 0.3s; opacity: 0; pointer-events: none; }


@media (max-width: 600px) {

    .container {
        letter-spacing: -0.06rem;
    }
    .content-wrapper { padding: 0; margin-top: 0}
    .main-nav-list {
        display: flex;
        justify-content: space-evenly;
        gap: 5px 10px;
    }

    .main-nav-list a {
        font-size: 15px;
    }

    .article-view-title {font-size: 22px;}

}


/* 기본 광고 배너 */
.ad-banner { width: 100%;  display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; cursor: pointer; margin: 2rem 0; padding:0; border-radius: 0;  }
@media (min-width: 768px) { .ad-banner {  } }
.ad-bg { position: absolute; inset: 0; background: linear-gradient(to right, rgba(30,58,138,0.1), transparent, rgba(30,58,138,0.1)); opacity: 0.5; }
.ad-content { position: relative; z-index: 10; text-align: center; }
.ad-label { font-size: 10px; color: #64748b; text-transform: uppercase; letter-spacing: 0.1em; font-weight: bold; display: block; margin-bottom: 0.25rem; }
.ad-text { color: #94a3b8; font-weight: 500; }
@media (min-width: 768px) { .ad-text { font-size: 1.125rem; } }
.ad-badge {position: absolute;top: 3px;right: 3px;font-weight: bold;margin: auto;display: flex;align-items: center;font-size: 10px;background: rgba(0, 0, 0, 0.1);color: #cecdcd;padding: 2px 6px;border-radius: 3px;}

/* 우측 광고배너 */
.banner_ad{position:absolute;top:2px; right:2px; width: auto !important; height: 16px; z-index:1;cursor:pointer}

