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

/* --------------------------------------
    Reset & Base
-------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', 'Noto Sans KR', sans-serif; background-color: #0A0F1C; color: #e2e8f0; line-height: 1.5; overflow-x: hidden; }
a, button { cursor: pointer; text-decoration: none; color: inherit; background: none; border: none; font-family: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
input, textarea { font-family: inherit; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0f172a; }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #475569; }

/* --------------------------------------
    Typography & Utilities
-------------------------------------- */
.uppercase { text-transform: uppercase; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-tight { letter-spacing: -0.025em; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.text-center { text-align: center; }
.italic { font-style: italic; }

.line-clamp-1 { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hidden { display: none !important; }

/* Transitions */
.view-transition { animation: fadeIn 0.5s ease-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* --------------------------------------
    Layout
-------------------------------------- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* --------------------------------------
    Header Section
-------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background-color: rgba(10, 15, 28, 0.9); backdrop-filter: blur(12px); border-bottom: 1px solid #1e293b; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 5rem; }
.header-logo img { height: 3rem; filter: brightness(0) invert(1); }
@media (min-width: 768px) { .header-logo img { height: 4rem; } }
.header-nav { display: none; }
@media (min-width: 768px) { .header-nav { display: flex; align-items: center; gap: 2rem; } }
.nav-link { font-size: 1rem; font-weight: 700; color: #cbd5e1; text-transform: uppercase; letter-spacing: 0.05em; transition: color 0.3s; }
.nav-link:hover { color: #ffffff; }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.btn-icon { padding: 0.5rem; color: #94a3b8; transition: color 0.3s; display: flex; align-items: center; justify-content: center; }
.btn-icon:hover { color: #ffffff; }
.btn-subscribe { display: none; padding: 0.5rem 1rem; background-color: #2563eb; color: #ffffff; font-size: 0.875rem; font-weight: 600; border-radius: 0.5rem; transition: all 0.3s; box-shadow: 0 10px 15px -3px rgba(30, 58, 138, 0.2); }
.btn-subscribe:hover { background-color: #1d4ed8; }
@media (min-width: 640px) { .btn-subscribe { display: block; } }
.mobile-menu-btn { display: block; color: #cbd5e1; }
@media (min-width: 768px) { .mobile-menu-btn { display: none; } }

/* Mobile Menu */
.mobile-menu { display: none; background-color: #161B2E; border-bottom: 1px solid #1e293b; padding: 1rem; }
.mobile-menu.active { display: block; }
.mobile-nav-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 1rem; }
.mobile-nav-item { text-align: left; padding: 0.75rem; color: #cbd5e1; font-weight: bold; font-size: 1.125rem; border-bottom: 1px solid rgba(30,41,59,0.5); border-radius: 0.375rem; }
.mobile-nav-item:hover { background-color: #1e293b; }
.btn-intro-mobile { width: 100%; padding: 0.75rem; background-color: #1e293b; color: white; border-radius: 0.5rem; font-weight: 500; font-size: 1.125rem; text-align: center; }

/* --------------------------------------
    Search Modal
-------------------------------------- */
.modal-overlay { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-start; justify-content: center; padding: 5rem 1rem; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background-color: rgba(10, 15, 28, 0.9); backdrop-filter: blur(4px); }
.search-modal-preview { position: relative; z-index: 101; width: 100%; max-width: 42rem; background-color: #161B2E; border-radius: 16px; border: 1px solid #1e293b; padding: 1.5rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); }
@media (min-width: 768px) { .search-modal-preview { padding: 2rem; } }
.search-modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.search-modal-title { color: white; font-weight: bold; display: flex; align-items: center; gap: 0.5rem; font-size: 1.125rem; }
.search-modal-title svg { color: #3b82f6; }
.search-form-wrap { position: relative; margin-bottom: 2rem; }
.search-input-lg { width: 100%; background-color: #0A0F1C; border: 1px solid #1e293b; border-radius: 10px; padding: 1rem 1.5rem; color: white; font-size: 1.125rem; outline: none; transition: all 0.3s; }
.search-input-lg:focus { box-shadow: 0 0 0 2px #2563eb; }
.btn-search-submit { position: absolute; right: 0.75rem; top: 0.625rem; padding: 0.5rem 1.5rem; background-color: #2563eb; color: white; font-weight: bold; border-radius: 0.75rem; }
.btn-search-submit:hover { background-color: #1d4ed8; }
.search-tags-label { font-size: 10px; color: #64748b; font-weight: bold; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; display: block; }
.search-tags-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.search-tag { padding: 0.375rem 0.75rem; background-color: rgba(30,41,59,0.5); color: #94a3b8; border-radius: 0.5rem; font-size: 0.875rem; transition: color 0.3s; }
.search-tag:hover { color: white; }

/* --------------------------------------
    App Content Layout
-------------------------------------- */
.app-content { padding: 1rem; min-height: 100vh; }

/* --------------------------------------
    Main View UI Classes
-------------------------------------- */
.hero-section { position: relative; height: 500px; border-radius: 10px; overflow: hidden; cursor: pointer; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); margin-bottom: 4rem; }
.hero-section:hover .hero-image { transform: scale(1.05); }
.hero-image { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, #0A0F1C, rgba(10,15,28,0.4), transparent); padding: 2rem; display: flex; flex-direction: column; justify-content: flex-end; }
@media (min-width: 768px) { .hero-overlay { padding: 3rem; } }
.hero-badge { background-color: #2563eb; color: white; font-size: 14px; font-weight: bold; padding: 0.25rem 0.75rem; border-radius: 9999px; width: fit-content; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.1em; }
.hero-title { font-size: 1.875rem; font-weight: bold; color: white; margin-bottom: 1rem; max-width: 48rem; line-height: 1.25; }
@media (min-width: 768px) { .hero-title { font-size: 3rem; } }
.hero-summary { color: #cbd5e1; font-size: 1.125rem; font-weight: 500; max-width: 42rem; opacity: 0.9; }

.news-grid-layout { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .news-grid-layout { grid-template-columns: repeat(3, 1fr); } .news-main-col { grid-column: span 2 / span 2; } }
.news-main-col { display: flex; flex-direction: column; gap: 2rem; }
.section-header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #1e293b; padding-bottom: 1rem; }
.section-title { font-size: 1.5rem; font-weight: bold; color: white; display: flex; align-items: center; gap: 0.5rem; letter-spacing: -0.025em; }
.section-title-icon { width: 0.375rem; height: 1.5rem; background-color: #2563eb; border-radius: 9999px; }
.section-title-icon.red { background-color: #dc2626; }
.btn-view-all { color: #3b82f6; font-size: 0.875rem; font-weight: bold; }

.news-list { display: flex; flex-direction: column; gap: 2rem; }
.news-card-horizontal { background-color: #161B2E; padding: 1.25rem; border-radius: 16px; display: flex; flex-direction: column; gap: 1.5rem; border: 1px solid #1e293b; transition: all 0.3s; cursor: pointer; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
@media (min-width: 768px) { .news-card-horizontal { flex-direction: row; } }
.news-card-horizontal:hover { border-color: rgba(37,99,235,0.5); background-color: #1c223a; }
.news-card-horizontal:hover .news-image { transform: scale(1.1); }
.news-card-horizontal:hover .news-card-title { color: #60a5fa; }
.news-image-wrap { width: 100%; height: 9rem; border-radius: 10px; overflow: hidden; background-color: #1e293b; flex-shrink: 0; }
@media (min-width: 768px) { .news-image-wrap { width: 14rem; } }
.news-image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.news-info { flex: 1; display: flex; flex-direction: column; gap: 0.75rem; }
.news-meta { display: flex; align-items: center; gap: 0.5rem; }
.meta-cat { color: #60a5fa; text-transform: uppercase; }
.meta-dot { width: 4px; height: 4px; background-color: #334155; border-radius: 50%; }
.meta-date { font-size: 12px; color: #64748b; text-transform: uppercase; }
.news-card-title { font-size: 1.25rem; font-weight: bold; color: white; transition: color 0.3s; }
.news-card-desc { color: #94a3b8; font-size: 0.875rem; opacity: 0.8; line-height: 1.625; }

.sidebar-col { display: flex; flex-direction: column; gap: 2rem; }
.popular-widget { background-color: #161B2E; border-radius: 16px; padding: 2rem; border: 1px solid #1e293b; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }
.popular-title { font-size: 1.25rem; font-weight: bold; color: white; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid #1e293b; }
.popular-list { display: flex; flex-direction: column; gap: 2rem; }
.popular-item { display: flex; gap: 1.25rem; cursor: pointer; align-items: flex-start; }
.popular-item:hover .popular-num { color: #3b82f6; }
.popular-item:hover .popular-item-title { color: white; }
.popular-num { font-size: 1.875rem; font-weight: bold; color: #334155; line-height: 1; transition: color 0.3s; }
.popular-item-info { display: flex; flex-direction: column; gap: 0.25rem; }
.popular-item-title { font-size: 0.875rem; font-weight: bold; color: #e2e8f0; line-height: 1.375; transition: color 0.3s; }
.popular-item-tag { font-size: 9px; color: #64748b; text-transform: uppercase; font-weight: bold; letter-spacing: 0.1em; }

.newsletter-widget { background: linear-gradient(to bottom right, #2563eb, #4338ca); border-radius: 16px; padding: 2rem; text-align: center; color: white; box-shadow: 0 25px 50px -12px rgba(30,58,138,0.4); position: relative; overflow: hidden; }
.newsletter-widget:hover .newsletter-bg { opacity: 1; }
.newsletter-bg { position: absolute; inset: 0; background-color: rgba(255,255,255,0.05); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.newsletter-title { font-size: 1.25rem; font-weight: bold; margin-bottom: 0.5rem; }
.newsletter-desc { font-size: 0.75rem; color: #dbeafe; margin-bottom: 2rem; opacity: 0.9; font-weight: 500; }
.newsletter-form { position: relative; display: flex; align-items: center; }
.newsletter-input { width: 100%; background-color: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 10px; padding: 1rem 1.25rem; font-size: 0.875rem; color: white; outline: none; transition: all 0.3s; }
.newsletter-input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-input:focus { box-shadow: 0 0 0 2px rgba(255,255,255,0.3); }
.newsletter-btn { position: absolute; right: 0.5rem; padding: 0.5rem; background-color: white; color: #2563eb; border-radius: 0.75rem; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.newsletter-btn:hover { background-color: #eff6ff; }

.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: 3rem 0; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.2); }
.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: 0.5rem; right: 1rem; font-size: 9px; color: #475569; font-weight: bold; }

.video-section { margin-top: 2rem; margin-bottom: 2rem; }
.video-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2rem; }
@media (min-width: 768px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .video-grid { grid-template-columns: repeat(4, 1fr); } }
.video-card { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; cursor: pointer; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.3); }
.video-card:hover .video-img { transform: scale(1.1); }
.video-card:hover .video-overlay { background-color: rgba(0,0,0,0.2); }
.video-card:hover .video-play { transform: scale(1.1); background-color: #dc2626; }
.video-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.video-overlay { position: absolute; inset: 0; background-color: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.video-play { width: 3.5rem; height: 3.5rem; background-color: rgba(255,255,255,0.2); backdrop-filter: blur(12px); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.video-title-wrap { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.25rem; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); }
.video-title { color: white; font-weight: bold; font-size: 0.875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; }

.reporter-section { background-color: #161B2E; border-radius: 50px; padding: 2.5rem; border: 1px solid #1e293b; position: relative; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); margin-top: 4rem; }
@media (min-width: 768px) { .reporter-section { padding: 3.5rem; } }
.reporter-bg-glow { position: absolute; top: 0; right: 0; padding: 5rem; background-color: rgba(37,99,235,0.05); filter: blur(120px); border-radius: 50%; margin-right: -5rem; margin-top: -5rem; }
.reporter-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 3rem; }
.reporter-icon-box { padding: 0.75rem; background-color: #2563eb; border-radius: 10px; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.reporter-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .reporter-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .reporter-grid { grid-template-columns: repeat(4, 1fr); } }
.reporter-card { display: flex; flex-direction: column; gap: 1.25rem; cursor: pointer; border-radius: 16px; border: 1px solid transparent; transition: all 0.3s; }
.reporter-card:hover { background-color: rgba(30,41,59,0.4); border-color: #1e293b; }
.reporter-card:hover .reporter-avatar { transform: scale(1.1); }
.reporter-card:hover .reporter-article-title { color: #60a5fa; }
.reporter-profile { display: flex; align-items: center; gap: 1rem; }
.reporter-avatar { width: 3.5rem; height: 3.5rem; border-radius: 10px; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); transition: transform 0.3s; }
.bg-blue { background-color: #2563eb; } .bg-emerald { background-color: #059669; } .bg-orange { background-color: #ea580c; } .bg-purple { background-color: #9333ea; }
.reporter-name { color: white; font-weight: bold; font-size: 1rem; }
.reporter-cat { color: #64748b; font-size: 12px; text-transform: uppercase; }
.reporter-article-title { font-size: 1rem; font-weight: bold; color: #e2e8f0; transition: color 0.3s; line-height: 1.625; }
.reporter-article-desc { color: #64748b; font-size: 0.75rem; line-height: 1.625; font-weight: 500; }

/* --------------------------------------
    List View UI Classes
-------------------------------------- */
.list-header { margin-bottom: 3rem; border-bottom: 1px solid #1e293b; padding-bottom: 2.5rem; }
.list-cat-badge { display: flex; align-items: center; gap: 0.5rem; color: #3b82f6; font-size: 0.75rem; font-weight: bold; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.list-cat-icon { width: 0.25rem; height: 0.75rem; background-color: #3b82f6; border-radius: 9999px; }
.list-title { font-size: 3rem; font-weight: bold; color: white; letter-spacing: -0.05em; }
.list-desc { color: #64748b; margin-top: 1rem; font-size: 1.125rem; font-weight: 500; }
.list-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .list-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .list-grid { grid-template-columns: repeat(3, 1fr); } }
.card-vertical { display: flex; flex-direction: column; gap: 1.25rem; cursor: pointer; }
.card-vertical:hover .card-img { transform: scale(1.1); }
.card-vertical:hover .card-title { color: #60a5fa; }
.card-img-wrap { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background-color: #1e293b; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.3); }
.card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.card-badge { position: absolute; top: 1rem; left: 1rem; background-color: rgba(0,0,0,0.8); backdrop-filter: blur(12px); padding: 0.25rem 0.75rem; border-radius: 0.5rem; font-size: 10px; color: white; font-weight: bold; text-transform: uppercase; letter-spacing: 0.1em; border: 1px solid rgba(255,255,255,0.1); }
.card-info { padding: 0 0.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.card-title { font-size: 1.25rem; font-weight: bold; color: white; line-height: 1.25; transition: color 0.3s; }
.card-desc { color: #94a3b8; font-size: 0.875rem; opacity: 0.8; line-height: 1.625; font-weight: 500; }
.card-meta-wrap { padding-top: 1rem; display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: #64748b; font-weight: bold; text-transform: uppercase; letter-spacing: 0.05em; }
.card-author { display: flex; align-items: center; gap: 0.5rem; }
.pagination { margin-top: 5rem; display: flex; justify-content: center; gap: 0.75rem; }
.page-btn { width: 2rem; height: 2rem; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 0.875rem; transition: all 0.3s; }
.page-btn.active { background-color: #2563eb; color: white; box-shadow: 0 20px 25px -5px rgba(30,58,138,0.5); }
.page-btn:not(.active) { background-color: #161B2E; color: #64748b; border: 1px solid #1e293b; }
.page-btn:not(.active):hover { border-color: #475569; color: white; }

/* --------------------------------------
    Detail View UI Classes
-------------------------------------- */
.detail-container { max-width: 56rem; margin: 0 auto; }
.btn-back { display: flex; align-items: center; gap: 0.5rem; color: #64748b; font-weight: bold; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 2.5rem; transition: color 0.3s; }
.btn-back:hover { color: white; }
.btn-back:hover svg { transform: translateX(-0.25rem); }
.btn-back svg { transition: transform 0.3s; }
.detail-header { display: flex; flex-direction: column; gap: 1.5rem; }
.detail-badges { display: flex; align-items: center; gap: 0.75rem; }
.detail-badge-primary { padding: 0.375rem 1rem; background-color: rgba(30,58,138,0.3); color: #60a5fa; font-size: 10px; font-weight: bold; border-radius: 9999px; text-transform: uppercase; letter-spacing: 0.1em; border: 1px solid rgba(30,58,138,0.2); }
.detail-badge-secondary { font-size: 10px; color: #475569; font-weight: bold; text-transform: uppercase; letter-spacing: 0.1em; }
.detail-title { font-size: 2.25rem; font-weight: bold; color: white; line-height: 1.1; letter-spacing: -0.025em; }
.detail-meta { display: flex; align-items: center; justify-content: space-between; padding: 2.5rem 0; border-top: 1px solid rgba(30,41,59,0.6); border-bottom: 1px solid rgba(30,41,59,0.6); margin-bottom: 2.5rem; }
.detail-author-info { display: flex; align-items: center; gap: 1.25rem; }
.detail-author-avatar { width: 3.5rem; height: 3.5rem; background: linear-gradient(to bottom right, #334155, #1e293b); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: bold; color: white; font-size: 1.5rem; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); border: 1px solid rgba(255,255,255,0.05); }
.detail-author-name { color: white; font-weight: bold; }
.detail-date { color: #64748b; font-size: 0.75rem; font-weight: bold; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.125rem; }
.detail-actions { display: flex; gap: 0.75rem; }
.btn-action { padding: 0.5rem; background-color: #161B2E; color: #94a3b8; border-radius: 10px; border: 1px solid #1e293b; transition: all 0.3s; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.2); display: flex; align-items: center; justify-content: center; }
.btn-action:hover { background-color: #1e293b; color: white; }
.detail-image-wrap { overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,0.05); margin-bottom: 2rem; }
.detail-body { color: #cbd5e1; font-size: 1.125rem; line-height: 1.7; }
.detail-body img { max-width: 100%; width: auto; margin: auto; }
.detail-summary { font-weight: bold; color: white; font-size: 1.5rem; border-left: 8px solid #2563eb; padding-left: 2rem; margin-bottom: 1rem; line-height: 1.375; font-style: italic; }
.detail-text { opacity: 0.95; display: flex; flex-direction: column; gap: 2rem; font-weight: 500; }
.report-box { padding: 1.5rem; background-color: #161B2E; border: 1px solid #1e293b; border-radius: 10px; font-style: italic; color: #94a3b8; display: flex; gap: 1.5rem; align-items: flex-start; box-shadow: inset 0 2px 4px 0 rgba(0,0,0,0.06); margin-top: 5rem; position: relative; overflow: hidden; }
@media (min-width: 768px) { .report-box { padding: 2.5rem; } }

.report-box-bg { position: absolute; top: 0; right: 0; padding: 2.5rem; background-color: rgba(37,99,235,0.05); filter: blur(24px); border-radius: 50%; }
.report-icon { color: #3b82f6; flex-shrink: 0; width: 2rem; height: 2rem; margin-top: 0.25rem; }
.report-text { font-size: 1rem; position: relative; z-index: 10; line-height: 1.625; font-weight: 500; }
.text-highlight { color: #60a5fa; font-weight: bold; }
.comment-section { background-color: #161B2E; padding: 2.5rem; border-radius: 50px; border: 1px solid #1e293b; margin-top: 4rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
@media (min-width: 768px) { .comment-section { padding: 3.5rem; } }
.comment-title { font-size: 1.5rem; font-weight: bold; color: white; display: flex; align-items: center; gap: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 2.5rem; }
.comment-count { color: #2563eb; }
.comment-form-wrap { display: flex; gap: 1.5rem; }
.comment-user-icon { width: 3.5rem; height: 3.5rem; background-color: #1e293b; border-radius: 10px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border: 1px solid #334155; box-shadow: inset 0 2px 4px 0 rgba(0,0,0,0.06); }
.comment-user-icon svg { color: #64748b; width: 2rem; height: 2rem; }
.comment-input-area { flex: 1; display: flex; flex-direction: column; gap: 1.25rem; }
.comment-textarea { width: 100%; background-color: #0A0F1C; border: 1px solid #1e293b; border-radius: 16px; padding: 1.5rem; color: white; font-size: 1rem; min-height: 150px; outline: none; transition: all 0.3s; font-weight: 500; }
.comment-textarea::placeholder { color: #475569; }
.comment-textarea:focus { box-shadow: 0 0 0 2px #2563eb; }
.comment-submit-wrap { display: flex; justify-content: flex-end; }
.btn-submit-comment { padding: 1rem 2.5rem; background-color: #2563eb; color: white; font-weight: bold; font-size: 0.75rem; border-radius: 10px; text-transform: uppercase; letter-spacing: 0.2em; box-shadow: 0 10px 15px -3px rgba(30,58,138,0.4); transition: all 0.3s; }
.btn-submit-comment:hover { background-color: #1d4ed8; }

/* --------------------------------------
    Intro View UI Classes
-------------------------------------- */
.intro-title-main { font-size: 2.25rem; font-weight: bold; color: white; margin-bottom: 3.5rem; display: flex; align-items: center; gap: 1rem; }
.intro-pulse-dot { width: 1rem; height: 1rem; background-color: #2563eb; border-radius: 50%; box-shadow: 0 0 20px rgba(37,99,235,0.6); animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
.tab-list { display: flex; flex-wrap: wrap; margin-bottom: 3.5rem; border-bottom: 1px solid rgba(30,41,59,0.5); }
.tab-btn { display: flex; align-items: center; gap: 0.75rem; padding: 1.25rem 2rem; font-size: 0.875rem; font-weight: bold; text-transform: uppercase; letter-spacing: 0.15em; border-bottom: 4px solid transparent; transition: all 0.3s; color: #64748b; }
.tab-btn.active { border-color: #3b82f6; color: #3b82f6; background-color: rgba(59,130,246,0.05); }
.tab-btn:not(.active):hover { color: #cbd5e1; }
.intro-content-box { background-color: #161B2E; border: 1px solid #1e293b; border-radius: 50px; padding: 2.5rem; margin-bottom: 2.5rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); position: relative; overflow: hidden; }
@media (min-width: 768px) { .intro-content-box { padding: 4rem; } }
.intro-bg-glow { position: absolute; bottom: -5rem; right: -5rem; width: 24rem; height: 24rem; background-color: rgba(37,99,235,0.05); filter: blur(120px); border-radius: 50%; }
.intro-content { position: relative; z-index: 10; }
.intro-title { font-size: 1.875rem; font-weight: bold; color: white; margin-bottom: 1rem; }
.intro-desc { color: #94a3b8; font-size: 1.125rem; line-height: 1.75; font-weight: 500; max-width: 56rem; margin-bottom: 2.5rem; }
.intro-grid-3 { display: grid; gap: 2rem; margin-top: 2.5rem; }
@media (min-width: 768px) { .intro-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.intro-card { background-color: #0A0F1C; padding: 1rem; border-radius: 10px; border: 1px solid #1e293b; text-align: center; transition: all 0.3s; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }
.intro-card:hover { border-color: rgba(59,130,246,0.5); }
.intro-card-title { color: #3b82f6; font-weight: bold; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.1em; font-size: 1.125rem; }
.intro-card-desc { color: #94a3b8; font-size: 0.875rem; font-weight: bold; line-height: 1.625; }
.report-grid-2 { display: grid; gap: 1.5rem; }
.report-contact-item { display: flex; align-items: center; gap: 1.5rem; background-color: #0A0F1C; padding: 2.5rem; border-radius: 10px; border: 1px solid #1e293b; box-shadow: inset 0 2px 4px 0 rgba(0,0,0,0.06); transition: border-color 0.3s; }
.report-contact-item:hover { border-color: #475569; }
.report-contact-icon { width: 4rem; height: 4rem; background-color: rgba(30,58,138,0.3); color: #60a5fa; border-radius: 1.5rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.report-contact-icon.indigo { background-color: rgba(49,46,129,0.3); color: #818cf8; }
.report-contact-label { color: #64748b; font-size: 10px; font-weight: bold; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.375rem; }
.report-contact-value { color: white; font-size: 1.875rem; font-weight: bold; }
.ethics-list { display: flex; flex-direction: column; gap: 2rem; opacity: 0.9; }
.ethics-item { padding: 2rem; background-color: #0A0F1C; border-radius: 16px; border: 1px solid rgba(30,41,59,0.5); display: flex; flex-direction: column; gap: 0.75rem; }
.ethics-title { color: #3b82f6; font-weight: bold; text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.75rem; }
.ethics-desc { color: #cbd5e1; line-height: 1.625; }

/* --- 모바일 반응형 (Intro View 전용) --- */
@media screen and (max-width: 768px) {
    .intro-title-main { font-size: 1rem; margin-bottom: 2rem; }
    .tab-btn { padding: 0.75rem 0.5rem; font-size: 0.75rem; flex-grow: 1; justify-content: center; text-align: center; flex-direction: column; }
    .intro-content-box { padding: 2rem 1.5rem; border-radius: 30px; }
    .intro-title { font-size: 1.2em; }
    .intro-desc { font-size: 0.75rem; margin-bottom: 1.5rem; }
    .report-contact-item { padding: 1.5rem !important; flex-direction: column !important; text-align: center; gap: 1rem !important; }
    .report-contact-icon { margin: 0 auto; }
    .report-contact-value { font-size: 1rem !important; word-break: break-all; }
    .ethics-item { padding: 1.25rem; }
    #tab-4 > div { padding: 1.5rem !important; border-radius: 20px !important; }
    #tab-4 p:first-child { font-size: 0.75rem !important; }
}

/* --------------------------------------
    Search View UI Classes
-------------------------------------- */
.search-view-header { margin-bottom: 3.5rem; border-bottom: 1px solid #1e293b; padding-bottom: 2.5rem; }
.search-icon-badge { display: flex; align-items: center; gap: 0.75rem; color: #3b82f6; font-size: 0.75rem; font-weight: bold; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.search-result-title { font-size: 3rem; font-weight: bold; color: white; }
.search-result-count { color: #64748b; margin-top: 1rem; font-size: 1.125rem; font-weight: 500; }
.search-results-list { display: flex; flex-direction: column; gap: 2rem; }
.search-card-img { width: 100%; height: 11rem; border-radius: 1.5rem; overflow: hidden; background-color: #1e293b; flex-shrink: 0; border: 1px solid rgba(255,255,255,0.05); }
@media (min-width: 768px) { .search-card-img { width: 16rem; } }
.search-card-title { font-size: 1.875rem; font-weight: bold; color: white; transition: color 0.3s; line-height: 1.2; }
.search-card-desc { color: #94a3b8; font-size: 1rem; opacity: 0.85; line-height: 1.625; font-weight: 500; }
.search-card-author { display: flex; align-items: center; gap: 0.625rem; font-size: 0.75rem; color: #64748b; font-weight: bold; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.5rem; }
.search-author-icon { width: 1.5rem; height: 1.5rem; background-color: #1e293b; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid #334155; }
.search-empty { margin-top: 4rem; padding: 6rem 0; text-align: center; background-color: #161B2E; border-radius: 60px; border: 1px dashed #1e293b; }
.search-empty-icon { width: 6rem; height: 6rem; background-color: rgba(30,41,59,0.5); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 2rem auto; }
.search-empty-title { font-size: 1.875rem; font-weight: bold; color: white; margin-bottom: 0.75rem; }
.search-empty-desc { color: #64748b; font-weight: 500; font-size: 1.125rem; margin-bottom: 2rem; }

/* --------------------------------------
    Footer
-------------------------------------- */
.site-footer { background-color: #111827; border-top: 1px solid #1e293b; padding-top: 3rem; margin-top: 5rem; }
.footer-grid { display: grid; gap: 2rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-col { display: flex; flex-direction: column; gap: 0rem; }
.footer-logo { height: 4rem; filter: brightness(0) invert(1); opacity: 0.9; margin-bottom: 1rem; width: auto; align-self: flex-start; }
.footer-text { color: #94a3b8; font-size: 0.8rem; }
.footer-title { color: white; font-weight: 600; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; color: #94a3b8; align-items: flex-start; }
.footer-link-item { transition: color 0.3s; }
.footer-link-item:hover { color: #60a5fa; }
.footer-sns-list { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.sns-icon { width: 2.5rem; height: 2.5rem; border-radius: 50%; background-color: #1e293b; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.sns-icon:hover { transform: scale(1.1); }
.sns-icon img { width: 20px; height: 20px; filter: brightness(0) invert(1); transition: filter 0.3s; }
.sns-facebook:hover { background-color: #2563eb; }
.sns-x:hover { background-color: #e5e7eb; }
.sns-x:hover img { filter: none; }
.sns-instagram:hover { background: linear-gradient(to top right, #facc15, #ef4444, #9333ea); }
.sns-youtube:hover { background-color: #dc2626; }
.sns-kakao:hover { background-color: #FEE500; }
.sns-kakao:hover img { filter: none; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 2rem; padding-bottom: 2rem; color: #64748b; font-size: 11px; line-height: 1.625; }
.footer-bottom-grid { display: grid; gap: 1rem; }
@media (min-width: 768px) { .footer-bottom-grid { grid-template-columns: repeat(2, 1fr); } .text-right-md { text-align: right; } }

/* --------------------------------------
    Banner & Aside Ad
-------------------------------------- */
.aside { width: 320px; flex-shrink: 0; }
.ad_vert_wide { clear: both; position: relative; margin-bottom: 4rem; text-align: center; width: fit-content; margin: 3rem auto; text-align: center; }
.ad_vert_wide a { display: inline-block; position: relative; vertical-align: top; }
.ad_vert_wide a img { max-width: 100%; }
.ad_vert { position: relative; margin: 4rem auto; text-align: center; }
.ad_vert a { display: inline-block; position: relative; vertical-align: top; }
.ad_vert a img { max-width: 100%; }
[class*=list_news] .ad_vert_wide { margin-top: 2rem; margin-bottom: 2rem; }
[class*=list_news] ul .ad_vert_wide { margin-right: 0; margin-left: 0; }
.banner_ad { position: absolute; top: 2px; right: 2px; height: 16px; z-index: 1; cursor: pointer; }

/* ==============================================
    [추가됨] 시사데스크 전용 다크 테마 & 사이즈 보정 CSS
=============================================== */
.view-layout-wrapper { display: flex; flex-wrap: wrap; gap: 2.5rem; max-width: 1200px; margin: 0 auto; }
.view-main-content { flex: 1; min-width: 0; }
.view-sidebar { color: #f1f5f9; }
.view-sidebar [class*=section_] { margin-bottom: 2.5rem !important; }
.view-sidebar [class*=section_] h3 { display: block; width: 100%; font-size: 1.15rem !important; margin-bottom: 0 !important; padding: 0 0 0.6rem 0 !important; background-color: transparent !important; color: #ffffff !important; border: none !important; border-bottom: 2px solid #1e293b !important; }
.view-sidebar [class*=section_] li a, .view-sidebar .tit { font-size: 0.95rem !important; line-height: 1.4 !important; color: #cbd5e1 !important; font-weight: 400 !important; transition: color 0.2s ease; }
.view-sidebar [class*=section_] li a:hover, .view-sidebar .tit:hover { color: #60a5fa !important; text-decoration: none !important; }
.view-sidebar [class*=section_] li { border-bottom: 1px solid #1e293b !important; border-top: 0; padding: 0.8rem 0 !important; }
.view-sidebar .section_02 li a { padding: 0 0 0 2rem !important; display: flex; align-items: center; justify-content: flex-end; }
.view-sidebar .section_02 .rank_num { position: absolute; left: 0; top: 50%; width: 1.5rem; transform: translateY(-50%); font-size: 1.2rem !important; font-weight: 800; color: #ef4444 !important; font-style: italic; }
.view-sidebar .section_01 li { padding: 0.6rem 0 !important; }
.view-sidebar .section_01 li a { position: relative; padding-left: 1rem !important; }
.view-sidebar .section_01 li a::before { content: '·'; position: absolute; left: 0; top: 0; color: #64748b; font-weight: bold; font-size: 1.2rem; line-height: 1.4rem; }
.view-sidebar .section_10 ul { margin: 0 -0.5rem !important; }
.view-sidebar .section_10 li { padding: 0 0.5rem 1rem !important; border: none !important; }
.view-sidebar .section_10 .thumb_wrap { border-radius: 8px; overflow: hidden; }
.view-sidebar .section_10 .info { padding: 0.6rem 0 0 !important; }
.view-sidebar .section_10 .tit { font-size: 0.85rem !important; }
.view-sidebar .section_09 li a { flex-direction: row !important; padding: 0.5rem 0 !important; min-height: auto !important; }
.view-sidebar .section_09 .thumb { width: 100px !important; height: 65px !important; margin-left: 0 !important; margin-right: 1rem !important; border-radius: 6px; flex-shrink: 0; }
.view-sidebar .section_09 .thumb::after { border-color: rgba(255, 255, 255, 0.1) !important; }
.view-sidebar .section_09 .info { padding-left: 0 !important; display: flex; flex-direction: column; justify-content: center; }
.view-sidebar .section_09 .tit { max-height: 2.8rem !important; }
.view-sidebar .section_09 .press { margin-top: 0.4rem !important; font-size: 0.75rem !important; color: #64748b !important; }
@media (max-width: 1024px) { .view-layout-wrapper { flex-direction: column; } .view-sidebar { width: 100% !important; margin-top: 2rem; border-top: 1px solid #334155; padding-top: 2rem; } }