/* STREAMING_CHUNK:Reset and Base Styles */
@charset "utf-8";

:root {
--primary-color: #FF7F50;
--primary-hover: #E86A3E;
--secondary-color: #32CD32;
--text-main: #333333;
--text-muted: #777777;
--bg-body: #FAFAFA;
--bg-white: #FFFFFF;
--border-color: #E5E7EB;
--font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
--max-width: 1120px;
}

        * { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-family); color: var(--text-main); background-color: var(--bg-body); line-height: 1.6; }
a { text-decoration: none; color: inherit; cursor: pointer; }
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; }

.hidden { display: none !important; }
.text-primary { color: var(--primary-color) !important; }

/* STREAMING_CHUNK:Layout and Header */
.container {
width: 100%;
max-width: var(--max-width);
margin: 0 auto;
padding: 0 20px;
}

.site-header {
background-color: var(--bg-white);
border-bottom: 2px solid var(--primary-color);
position: sticky;
top: 0;
z-index: 100;
box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.header-top {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 0;
}
.site-logo {
font-size: 28px;
font-weight: 900;
letter-spacing: -1px;
}
.site-logo a { text-decoration: none; display: flex; align-items: center; }
.site-logo img { height: 40px; display: block; }

.header-search {
display: flex;
align-items: center;
border: 1px solid var(--border-color);
border-radius: 20px;
padding: 5px 15px;
background: #f9f9f9;
}
.header-search input {
border: none;
background: transparent;
outline: none;
padding: 5px;
width: 180px;
}
.header-search button {
color: var(--text-muted);
font-weight: bold;
}

.gnb-nav {
background-color: var(--primary-color);
color: white;
}
.gnb-list {
display: flex;
justify-content: center;
flex-wrap: wrap;
}
.gnb-item {
padding: 12px 15px;
font-weight: bold;
font-size: 15px;
}
.gnb-item a { text-decoration: none; transition: opacity 0.2s;}
.gnb-item a:hover { text-decoration: none; opacity: 0.8; }

@media (max-width: 768px) {
.header-top { flex-direction: column; gap: 15px; }
.gnb-list { justify-content: center; overflow-x: auto; white-space: nowrap;}
.gnb-item { padding: 10px 10px 5px; font-size: 14px; }
}

/* STREAMING_CHUNK:Animations and Hover Effects */
.main-lead-article img, .sub-article-item img, .cat-list img, .video-item img, .article-list-thumb img {
transition: transform 0.3s ease;
}
.main-lead-article:hover img, .sub-article-item:hover img, .cat-list a:hover img, .video-item:hover img, .article-list-item:hover .article-list-thumb img {
transform: scale(1.05);
}
.main-lead-title { transition: color 0.2s; }
.main-lead-article:hover .main-lead-title, .sub-article-item:hover .sub-article-title, .cat-list a:hover .tit, .article-list-item:hover .article-list-title {
color: var(--primary-color);
}

/* STREAMING_CHUNK:Main Page Sections */
.site-body { min-height: 600px; }
.page-section { padding: 40px 0; }
.section-title {
font-size: 20px;
font-weight: 800;
margin-bottom: 20px;
padding-bottom: 10px;
border-bottom: 2px solid var(--text-main);
display: flex;
align-items: center;
gap: 8px;
}

.main-top-grid {
display: grid;
grid-template-columns: 2fr 1fr;
gap: 20px;
margin-bottom: 40px;
}
.main-lead-article {
position: relative;
border-radius: 8px;
overflow: hidden;
}
.main-lead-article img { width: 100%; height: 400px; object-fit: cover; }
.main-lead-info {
position: absolute;
bottom: 0; left: 0; right: 0;
background: linear-gradient(transparent, rgba(0,0,0,0.8));
color: white;
padding: 30px 20px 20px;
}
.main-lead-title { font-size: 24px; font-weight: bold; margin-bottom: 10px; }

.main-lead-info p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 16px; margin-bottom: 10px; }

.main-lead-meta {
font-size: 13px;
color: #eee;
margin-bottom: 10px;
display: flex;
gap: 10px;
align-items: center;
}
.main-lead-meta .cat {
background: var(--primary-color);
padding: 3px 8px;
border-radius: 4px;
font-weight: bold;
color: #fff;
}
.main-lead-meta .time { color: #ccc; }

.main-sub-articles {
display: flex;
flex-direction: column;
gap: 20px;
justify-content: space-between;
}
.sub-article-item {
display: flex;
gap: 8px;
background: var(--bg-white);
border-radius: 8px;
overflow: hidden;
box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.sub-article-item img { width: 140px; height: 120px; object-fit: cover; }
.sub-article-info { padding: 10px 15px; display: flex; flex-direction: column; justify-content: center; gap: 6px}
.sub-article-info .cat { background: var(--primary-color);
    padding: 0 8px;
    border-radius: 4px;
    font-weight: bold;
    color: #fff;
    display: inline-flex;
    font-size: 12px;
    align-items: center;
    width: fit-content; }
.sub-article-title { font-size: 15px; font-weight: bold; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

@media (max-width: 768px) {
.main-top-grid { grid-template-columns: 1fr; }
.main-lead-article img { height: 250px; }
}

.category-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 30px;
margin-bottom: 40px;
}

.category-grid4 {grid-template-columns: repeat(4, 1fr);}

.cat-box { background: var(--bg-white); padding: 20px; border-top: 2px solid var(--primary-color); box-shadow: 0 1px 3px rgba(0,0,0,0.05);}
.cat-box-title { font-size: 18px; font-weight: bold; margin-bottom: 15px; color: var(--primary-color);     border-bottom: 1px solid #d3d3d3;}
.cat-list li { margin-bottom: 12px; border-bottom: 1px dashed var(--border-color); padding-bottom: 12px; }
.cat-list li:last-child { margin-bottom: 0; border-bottom: none; padding-bottom: 0;}
.cat-list a { display: flex; gap: 10px; align-items: center;}
.cat-list a div { overflow:hidden; border-radius:4px; width:120px; height:80px; flex-shrink:0; }
.cat-list img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px;}
.cat-list .tit { font-size: 14px; line-height: 1.4; font-weight: 500;}

@media (max-width: 768px) { .category-grid { grid-template-columns: 1fr; } }

.media-section { margin-bottom: 40px; }
.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.video-item { background: #000; height: 200px; border-radius: 8px; overflow: hidden; position: relative;}
.video-item img { width: 100%; height:100%; opacity: 0.8; object-fit: cover;}
.video-title { position: absolute; bottom: 0; background: rgba(0,0,0,0.7); color: #fff; width: 100%; padding: 10px; font-size: 13px; }
.video-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: rgba(255,255,255,0.8); font-size: 30px; }

@media (max-width: 768px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }

/* STREAMING_CHUNK:List Page Styles */
.list-container { max-width: 800px; margin: 0 auto; background: var(--bg-white); padding: 30px; border-radius: 8px; }
.list-header { border-bottom: 2px solid var(--primary-color); padding-bottom: 15px; margin-bottom: 30px; }
.list-header h2 { font-size: 24px; font-weight: 800; }

.article-list-item { display: flex; align-items: center; gap: 20px; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid var(--border-color); }
.article-list-thumb { width: 200px; flex-shrink: 0; }
.article-list-thumb img { width: 100%; height: 130px; object-fit: cover; border-radius: 6px; }
.article-list-info { flex: 1; }
.article-list-title { font-size: 18px; font-weight: bold; margin-bottom: 10px; }
.article-list-desc { font-size: 14px; color: var(--text-muted); line-height: 1.5; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-list-meta { font-size: 12px; color: #999; }

.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.page-btn { padding: 8px 12px; border: 1px solid var(--border-color); background: var(--bg-white); border-radius: 4px; color: var(--text-main); }
.page-btn.active { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }

@media (max-width: 600px) {
.article-list-item { flex-direction: column; }
.article-list-thumb { width: 100%; }
.article-list-thumb img { height: auto; aspect-ratio: 16/9; }
    
    
    .list-container {background: transparent;
    padding: 0;
    border-radius: 0;}
    
    .category-grid4 {grid-template-columns: repeat(2, 1fr); gap: 10px;}

    
}

/* STREAMING_CHUNK:View Page Article Body */
.content-wrapper { display: flex; gap: 30px; padding: 20px 0; }
.main-content { flex: 1; min-width: 0; background-color: var(--bg-white); padding: 30px; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.02); }

.article-view-header { border-bottom: 1px solid var(--border-color); padding-bottom: 20px; margin-bottom: 30px; }
.article-view-title { font-size: 28px; font-weight: 800; line-height: 1.4; margin-bottom: 15px; }
.article-view-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-muted); }

.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; display: block; }

.article-tools { display: flex; justify-content: center; gap: 10px; margin: 40px 0; padding: 20px 0; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.tool-btn { padding: 8px 16px; border: 1px solid #ddd; border-radius: 20px; font-size: 13px; color: #555; background: #fff; transition: 0.2s; }
.tool-btn:hover { background: #f0f0f0; }

@media (max-width: 992px) {
    .main-content { padding: 15px; background-color:transparent; }
.content-wrapper { flex-direction: column; padding: 10px; }
        .article-view-title { font-size: 24px;}
}

/* STREAMING_CHUNK:About Page Styles */
.about-container { background: var(--bg-white); border-radius: 8px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.05); margin-bottom: 40px;}
.about-header-img { max-width: 90%; object-fit: cover; }
.about-tabs { display: flex; border-bottom: 1px solid var(--border-color); background: #f9f9f9; flex-wrap: wrap; }
.tab-btn { flex: 1; min-width: 150px; padding: 15px; font-size: 15px; font-weight: bold; text-align: center; color: #666; border-right: 1px solid var(--border-color); border-bottom: 2px solid transparent; transition: 0.3s; }
.tab-btn.active { background: #fff; color: var(--primary-color); border-bottom: 2px solid var(--primary-color); }
.tab-content { padding: 40px; min-height: 400px; }
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fadeIn 0.3s ease; }

.about-title { font-size: 22px; font-weight: 800; margin-bottom: 20px; color: var(--primary-color); }
.about-desc { font-size: 16px; line-height: 1.8; color: #444; margin-bottom: 20px; }
.about-info-box { background: #f5f7fa; padding: 20px; border-radius: 8px; margin-top: 20px; }
.about-info-box p { margin-bottom: 10px; font-weight: 500; }

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

/* STREAMING_CHUNK:Footer Styles */
.site-footer { background-color: #222; color: #bbb; padding: 50px 0 30px; font-size: 13px; margin-top: auto; }
.footer-menus { display: flex; justify-content: center; gap: 20px; margin-bottom: 30px; flex-wrap: wrap;}
.footer-menus a { color: #ddd; font-weight: bold; text-decoration: none; }
.footer-menus a:hover { color: var(--primary-color); }

.footer-logo { margin-bottom: 20px; text-align: center; }
.footer-logo img { height: 35px; margin: 0 auto; display: block; }

.footer-info { text-align: center; line-height: 1.8; margin-bottom: 20px; }
.footer-info span { display: inline-block; margin: 0 10px; }
.footer-copyright { text-align: center; color: #777; margin-top: 20px; border-top: 1px solid #444; padding-top: 20px; }


/* STREAMING_CHUNK:Sidebar Container */
.aside.view-sidebar {
width: 320px;
flex-shrink: 0;
display: flex;
flex-direction: column;
gap: 20px;
}

@media (max-width: 992px) {
.aside.view-sidebar { width: 100%; }
}

/* STREAMING_CHUNK:Sidebar Ads */
.ad_vert {
position: relative;
}
.ad_vert img {
width: 100%;
border-radius: 8px;
display: block;
}
.banner_ad {
position: absolute;
top: 5px;
right: 5px;
background: rgba(0, 0, 0, 0.5);
color: #fff;
font-size: 10px;
padding: 2px 5px;
z-index: 1;
cursor: pointer;
border-radius: 3px;
}

/* STREAMING_CHUNK:Sidebar Popular News Section */
.section_09 {
background: #fff;
padding: 20px;
border-radius: 8px;
border: 1px solid #E5E7EB;
}
.section_09 h3 {
font-size: 16px;
font-weight: bold;
margin-bottom: 15px;
padding-left: 10px;
border-left: 3px solid #32CD32;
}
.section_09 ul li {
margin-bottom: 15px;
}
.section_09 ul li:last-child {
margin-bottom: 0;
}
.section_09 ul li a {
display: flex;
gap: 10px;
text-decoration: none;
color: inherit;
}
.section_09 ul li a:hover .tit {
color: #FF7F50;
text-decoration: underline;
}
.section_09 .thumb img {
width: 70px;
height: 50px;
object-fit: cover;
border-radius: 4px;
transition: transform 0.3s;
}
.section_09 ul li a:hover .thumb img {
transform: scale(1.05);
}
.section_09 .info {
display: flex;
flex-direction: column;
justify-content: center;
}
.section_09 .info .tit {
font-size: 13px;
line-height: 1.4;
margin-bottom: 4px;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
transition: color 0.2s;
}
.section_09 .info .press {
font-size: 11px;
color: #999;
}

/* STREAMING_CHUNK:Bottom Text Ad Section /
.ad_text_pic_B {
background: #f9fafb;
padding: 20px;
border-radius: 8px;
margin-top: 30px;
}
.ad_text_pic_B h4 {
font-size: 16px;
margin-bottom: 15px;
color: #555;
}
.ad_text_pic_B h4 em {
font-style: normal;
color: #FF7F50; / primary color */
font-weight: bold;
}
.ad_text_pic_B ul {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 15px;
list-style: none;
margin: 0;
padding: 0;
}
.ad_text_pic_B li a {
display: flex;
gap: 10px;
align-items: center;
text-decoration: none;
color: inherit;
}
.ad_text_pic_B li a:hover .tit {
text-decoration: underline;
color: #FF7F50;
}
.ad_text_pic_B .thumb img {
width: 80px;
height: 60px;
object-fit: cover;
border-radius: 4px;
transition: transform 0.3s ease;
}
.ad_text_pic_B li a:hover .thumb img {
transform: scale(1.05);
}
.ad_text_pic_B .info .tit {
font-size: 14px;
line-height: 1.3;
font-weight: 500;
}

@media (max-width: 600px) {
.ad_text_pic_B ul {
grid-template-columns: 1fr;
}
}




/* 기본 광고 배너 */
.ad-banner { width: fit-content; background-color: #fff; /*border: 1px solid #1e293b;*/  display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; cursor: pointer; margin: 2rem auto; 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}


