@charset "UTF-8";

/* STREAMING_CHUNK:기본 설정 변수 및 초기화... */
:root { --primary-color: #ed2bb6; --text-dark: #111827; --text-gray: #4b5563; --text-light: #9ca3af; --bg-light: #f9fafb; --border-color: #e5e7eb; --max-width: 1200px; }
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
body { background-color: #fff; color: var(--text-dark); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
a:hover { text-decoration: none; }
ul, ol, li { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* STREAMING_CHUNK:레이아웃 및 공통 요소... */
/* 컨테이너 */
.container {max-width: var(--max-width);margin: 0 auto;padding: 0 20px;}
.header .container {
    max-width: 100%;
    padding: 0;
}
/* 헤더 */
.header {position: sticky;top: 0;background: #fff;z-index: 100;}
.header-top {display: flex;justify-content: center;align-items: center;padding: 20px 0px;width: 100%;max-width: 1200px;margin: auto;}
.header-center-wrap {display: flex;align-items: center;gap: 15px;width: 100%;flex-direction: row;justify-content: space-between;}
.header-logo { flex-shrink: 0; }
.header-logo img {height: 50px;}
.header-search {/* flex: 1; */display: flex;align-items: center;border: 1px solid #c9c9c9;border-radius: 30px;padding: 6px 20px;background: #fff;width: 300px;max-width: 100%;}
.header-search input { border: none; outline: none; padding: 5px; font-size: 16px; width: 100%; font-weight: 600; }
.header-search button { background: none; border: none; cursor: pointer; color: var(--primary-color); font-size: 20px; font-weight: bold; }

/* 네비게이션 */
.nav {border-top: 2px solid #000;border-bottom: 2px solid #000;}
.nav-list { display: flex; justify-content: center; gap: 30px; overflow-x: auto; white-space: nowrap; }
.nav-list::-webkit-scrollbar { display: none; }
.nav-list li a {display: block;padding: 10px 0;font-weight: 600;font-size: 18px;transition: color 0.2s;}
.nav-list li a:hover { color: var(--primary-color); }

/* 공통 섹션 타이틀 */
.section-title { font-size: 20px; font-weight: 700; margin-bottom: 20px; padding-left: 10px; border-left: 4px solid var(--primary-color); display: flex; justify-content: space-between; align-items: center; }

/* 페이지 레이아웃 제어 */
.page-content { padding: 40px 0; min-height: 60vh; }

/* STREAMING_CHUNK:메인 페이지 (main.html) 스타일... */

/* ==========================================================================
   Top Issue Section (스크린샷 레이아웃 반영)
   ========================================================================== */
.top-issue-section {
    margin-bottom: 30px;
    border-bottom: #ccc solid 1px;
    padding-bottom: 30px;
}
.top-issue-grid {
    display: grid;
    grid-template-columns: 2.3fr 1fr; /* 좌측:우측 비율 설정 */
    gap: 30px;
    
}

/* 좌측 메인 영역 */
.top-issue-left {
    display: flex;
    flex-direction: column;
}
.top-issue-main-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.35;
    letter-spacing: -1px;
}
.top-issue-main-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 25px;
}
.top-issue-main-img {
    width: 100%;
}
.top-issue-main-img img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}
.top-issue-main-text {
    display: flex;
    flex-direction: column;
}
.top-issue-desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 20px;
    word-break: keep-all;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.top-issue-bullet {
    margin-top: auto;
    padding-left: 15px;
}
.top-issue-bullet li {
    list-style-type: square;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.top-issue-bullet li a:hover {
    color: var(--primary-color);
}

/* 좌측 하단 서브 기사 그룹 */
.top-issue-sub-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}
.top-issue-sub-item {
    display: flex;
    gap: 15px;
}
.top-issue-sub-img {
    width: 130px;
    flex-shrink: 0;
}
.top-issue-sub-img img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}
.top-issue-sub-text {
    display: flex;
    flex-direction: column;
}
.top-issue-sub-text h3 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
    word-break: keep-all;
}
.top-issue-sub-text p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 우측 사이드 영역 */
.top-issue-right {
    display: flex;
    flex-direction: column;
    padding-left: 30px;
    border-left: 1px solid var(--border-color);
}
.top-issue-side-item {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}
.top-issue-side-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}
.top-issue-side-img {
    margin-bottom: 15px;
}
.top-issue-side-img img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}
.top-issue-side-text h3 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    word-break: keep-all;
}

/* --------------------------------------------------------------------------
   모바일 반응형 브레이크포인트
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .header .container {/* padding:0 20px; */}
    .top-issue-grid {
        grid-template-columns: 1fr; /* 태블릿 화면에서는 1단으로 쌓임 */
    }
    .top-issue-right {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding-top: 30px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .top-issue-side-item {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .top-issue-main-title {
        font-size: 24px;
    }
    .top-issue-main-content {
        grid-template-columns: 1fr; /* 모바일에서 메인 텍스트와 이미지 세로 정렬 */
    }
    .top-issue-sub-group {
        grid-template-columns: 1fr; /* 하단 2단 기사를 1단으로 분리 */
    }
    .top-issue-right {
        grid-template-columns: 1fr;
    }
    .top-issue-sub-item {
        align-items: center;
    }
}



/* 메인: 히어로 섹션 */
.hero-section { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; margin-bottom: 50px; }
.hero-main { position: relative; cursor: pointer; border-radius: 8px; overflow: hidden; background: #000; }
.hero-main img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/9; transition: transform 0.3s; opacity: 0.9; }
.hero-main:hover img { transform: scale(1.02); opacity: 1; }
.hero-main-info { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.9)); color: #fff; padding: 40px 30px 30px; pointer-events: none; }
.hero-main-category { display: inline-block; background: var(--primary-color); color: #fff; font-size: 13px; font-weight: bold; padding: 4px 10px; border-radius: 4px; margin-bottom: 10px; }
.hero-main-title { font-size: 28px; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.hero-main-desc { font-size: 15px; color: #e5e7eb; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.hero-sub-list { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(4, 1fr); gap: 10px; }
.hero-sub-item {display: flex;gap: 15px;cursor: pointer;padding: 5px;border-radius: 8px;transition: background 0.2s;border: 1px solid transparent;}
.hero-sub-item:hover { background: var(--bg-light); }
.hero-sub-item.active { background: var(--bg-light); border-color: var(--primary-color); }
.hero-sub-item .thumb {width: 120px;height: 90px;flex-shrink: 0;border-radius: 6px;overflow: hidden;}
.hero-sub-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.hero-sub-item .text-wrap { display: flex; flex-direction: column; justify-content: center; }
.hero-sub-item .title { font-size: 15px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* 메인: 카테고리 그리드 */
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 50px; }
.article-card { cursor: pointer; }
.article-card .thumb { width: 100%; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; margin-bottom: 15px; }
.article-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.article-card:hover .thumb img { transform: scale(1.05); }
.article-card .title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.article-meta { font-size: 13px; color: var(--text-light); }

/* 메인: 3단 그리드 (헤드라인, 기자) */
.grid-3col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 50px; }
.card-box { display: flex; flex-direction: column; gap: 12px; cursor: pointer; }
.card-box .thumb {width: 100%;aspect-ratio: 4/3;border-radius: 8px;overflow: hidden;background: var(--bg-light);}
.card-box .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.card-box:hover .thumb img { transform: scale(1.05); }
.card-box .title { font-size: 16px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 기자 프로필 특화 */
.reporter-info { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.reporter-profile { display: flex; align-items: center; gap: 8px; }
.reporter-logo { width: 60px; height: auto; border-radius: 3px; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: bold; }
.reporter-name { font-size: 13px; color: var(--text-gray); }
.subscribe-btn { width: 26px; height: 26px; border: 1px solid var(--border-color); border-radius: 50%; background: #fff; color: var(--text-gray); display: flex; align-items: center; justify-content: center; font-size: 18px; cursor: pointer; transition: all 0.2s; }
.subscribe-btn:hover { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }

/* 리스트형 기사 (지난 이슈, 리스트 페이지) */
.list-wrap {gap: 20px;border-top: 2px solid var(--text-dark);padding-top: 20px;margin-bottom: 50px;display: grid;grid-template-columns: repeat(4, 1fr);}
.list-item {display: flex;gap: 15px;padding-bottom: 15px;border-bottom: 1px solid var(--border-color);cursor: pointer;flex-direction: column;}
.list-item:last-child {/* border-bottom: none; */}
.list-item .thumb {/* width: 200px; */height: 180px;flex-shrink: 0;border-radius: 8px;overflow: hidden;}
.list-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.list-item .info { display: flex; flex-direction: column; justify-content: center; }
.list-item .title { font-size: 18px; font-weight: 600; margin-bottom: 10px; line-height: 1.2; }

/* STREAMING_CHUNK:뷰 페이지 (view.html) 레이아웃 및 스타일... */
/* 뷰 페이지 레이아웃 */
.content-wrapper { display: flex; gap: 30px; }
.main-content { flex: 1; min-width: 0; background-color: #fff; }
.aside.view-sidebar { width: 320px; flex-shrink: 0; display: flex; flex-direction: column; gap: 20px; }

/* 사이드바 요소 스타일 (side_section.css 역할 포함) */
.ad_vert {position: relative; }
.ad_vert img { width: 100%; border-radius: 8px; display: block; }
.section_09 { background: var(--bg-light); padding: 20px; border-radius: 8px; }
.section_09 h3 { font-size: 16px; margin-bottom: 15px; font-weight: 700; border-bottom: 2px solid var(--text-dark); padding-bottom: 10px; }
.section_09 ul { display: flex; flex-direction: column; gap: 15px; }
.section_09 li a { display: flex; gap: 10px; align-items: flex-start; transition: opacity 0.2s; }
.section_09 li a:hover { opacity: 0.8; }
.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 { display: flex; flex-direction: column; gap: 4px; }
.section_09 .tit { font-size: 13px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.section_09 .press { font-size: 11px; color: var(--text-light); }

/* 뷰 페이지 내용 */
.view-header { border-bottom: 1px solid var(--border-color); padding-bottom: 20px; margin-bottom: 30px; }
.view-category { color: var(--primary-color); font-weight: 600; margin-bottom: 10px; display: inline-block; }
.view-title { font-size: 32px; font-weight: 700; margin-bottom: 15px; line-height: 1.4; }
.view-meta { display: flex; gap: 15px; color: var(--text-gray); font-size: 14px; }
.view-content img { width: 100%; border-radius: 8px; margin-bottom: 20px; }
.view-content p { font-size: 17px; line-height: 1.8; letter-spacing: -0.09rem; margin-bottom: 20px; color: #333; }
.share-buttons { display: flex; justify-content: center; gap: 10px; margin: 40px auto; padding-top: 20px; border-top: 1px solid var(--border-color); }
.share-btn { padding: 10px 20px; border: 1px solid var(--border-color); border-radius: 20px; background: #fff; cursor: pointer; font-weight: 600; transition: background 0.2s; }
.share-btn:hover { background: var(--bg-light); }

/* STREAMING_CHUNK:어바웃 페이지 (about.html) 및 푸터... */
/* 어바웃 페이지 */
.about-nav { display: flex; gap: 5px; margin-bottom: 30px; flex-wrap: wrap; }
.about-nav button { padding: 10px 20px; border: 1px solid var(--border-color); background: #fff; border-radius: 20px; cursor: pointer; font-weight: 600; }
.about-nav button.active { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }
.about-section { display: none; background: var(--bg-light); padding: 40px; border-radius: 8px; }
.about-section.active { display: block; }
.about-section h2 { font-size: 24px; margin-bottom: 20px; }
.about-section p { font-size: 16px; line-height: 1.8; margin-bottom: 15px; white-space: pre-line; }

/* 푸터 */
.footer { background: var(--text-dark); color: #a1a1aa; padding: 50px 0; font-size: 14px; }
.footer .container { display: flex; flex-direction: column; align-items: center; }
.footer-logo { margin-bottom: 20px; }
.footer-logo img { height: 60px; opacity: 0.8; }
.footer-links { display: flex; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.footer-links a { color: #fff; font-weight: 500; }
.footer-links a:hover { text-decoration: underline; }
.footer-info {   
    display: flex;
    flex-wrap: wrap;gap: 10px; line-height: 1.8; grid-auto-flow: column; justify-content: center;}
.footer-bottom { margin-top: 30px; padding-top: 20px; border-top: 1px solid #3f3f46; text-align: center; font-size: 12px; }

/* 토스트 메시지 */
#toast { visibility: hidden; min-width: 250px; background-color: #333; color: #fff; text-align: center; border-radius: 20px; padding: 16px; position: fixed; z-index: 1000; left: 50%; bottom: 30px; transform: translateX(-50%); font-size: 15px; opacity: 0; transition: opacity 0.3s, bottom 0.3s; }
#toast.show { visibility: visible; opacity: 1; bottom: 50px; }

/* STREAMING_CHUNK:반응형 미디어 쿼리... */
/* 반응형 */
@media (max-width: 768px) {.nav-list li a {font-size: 14px;}
    .footer-info div { flex-direction: row;}  .page-content { padding: 20px; }
    .header-top {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        }
    .header-search {width: 100%;flex: 1;display: flex;align-items: center;/* border: 2px solid #2e93a3; */border-radius: 10px;padding: 5px 15px;background: #fff;}

    .header-search input { width: 100%; }
    .hero-section { grid-template-columns: 1fr; }
    .hero-sub-list { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
    .hero-sub-item { flex-direction: column; }
    .hero-sub-item .thumb {width: 100%;height: auto;aspect-ratio: 4/3;}
    .category-grid { grid-template-columns: 1fr; }
    .grid-3col { grid-template-columns: 1fr; }
    .list-item { flex-direction: column; gap: 10px; }
    .list-item .thumb { width: 100%; height: auto; aspect-ratio: 16/9; }
    .view-title { font-size: 24px; }
    .content-wrapper { flex-direction: column; }
    .aside.view-sidebar { width: 100%; }

    .header-center-wrap {display: flex;align-items: center; gap: 20px; width: 100%;max-width: 800px;}
    .header-logo { flex-shrink: 0; }
    .header-logo img { height: 36px; }
    .card-box .thumb { width: 100%; aspect-ratio: 2 / 1.2; border-radius: 8px;}
    .nav-list {column-gap: 15px;justify-content: flex-start;padding: 0 20px;}
    .hero-main img {  cover; aspect-ratio: 9/12;}
    .about-nav button { padding: 6px 10px; }
    .footer-links {display: flex;gap: 10px 20px;margin-bottom: 20px;flex-wrap: wrap;}
    .footer-info {line-height: 1;grid-auto-flow: column;display: flex;gap: 10px;flex-wrap: wrap;font-size: 11px;justify-content: flex-start;}
    .footer { padding: 30px 0 20px 0; font-size: 12px;}
    .footer-logo img { height: 40px;}
    

    /* 리스트형 기사 (지난 이슈, 리스트 페이지) */
    .list-wrap {gap: 20px;border-top: 2px solid var(--text-dark);padding-top: 20px;margin-bottom: 50px;display: grid;grid-template-columns: repeat(2, 1fr);}
    .list-item {display: flex;gap: 15px;padding-bottom: 15px;border-bottom: 1px solid var(--border-color);cursor: pointer;flex-direction: column;}
    .list-item .title {font-size: 15px;font-weight: 600;margin-bottom: 10px;letter-spacing: -0.06rem; line-height: 1.3;}
    .article-meta { font-size: 11px;}
    }



/* 기본 광고 배너 */
.ad-banner { width: 100%; background-color: #161B2E; /*border: 1px solid #1e293b;*/  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}
[class*=ad_text] h4 em {
    color: #548bff !important }

.ad_text_D li a:before {
    border-color: #548bff !important }


