@charset "utf-8";
/**
 * [G5/YC5] 더 프레스 (The Press) - 모던 뉴스 & 미디어 매거진 반응형 테마 스타일
 */

:root {
    --press-red: #dc2626;
    --press-dark-red: #991b1b;
    --press-black: #0f172a;
    --press-gray-bg: #f8fafc;
    --press-border: #e2e8f0;
    --press-text: #1e293b;
    --press-muted: #64748b;
    --press-blue: #0284c7;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body.theme-the-press {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff;
    color: var(--press-text);
    line-height: 1.6;
}

a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--press-red); }
ul, ol { list-style: none; }

.press-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.press-top-bar {
    background: #0f172a;
    color: #94a3b8;
    font-size: 12px;
    border-bottom: 1px solid #1e293b;
}
.press-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 38px;
}
.press-top-links {
    display: flex;
    gap: 16px;
    align-items: center;
}
.press-top-links a:hover { color: #fff; }
.btn-sub-badge {
    background: var(--press-red);
    color: #fff !important;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
}

/* Header Masthead */
#press_hd {
    background: #ffffff;
    border-bottom: 2px solid var(--press-black);
}
.press-hd-inner {
    padding: 30px 20px 20px;
    text-align: center;
}
.masthead-badge {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--press-red);
    display: block;
    margin-bottom: 4px;
}
.press-logo {
    font-size: 42px;
    font-weight: 900;
    letter-spacing: -1.5px;
    color: var(--press-black);
}
.press-logo span {
    font-size: 24px;
    font-weight: 600;
    color: var(--press-red);
    margin-left: 6px;
}
.press-slogan {
    font-size: 13px;
    color: var(--press-muted);
    margin-top: 6px;
    letter-spacing: 0.5px;
}

/* Navigation */
#press_gnb {
    background: #ffffff;
    border-top: 1px solid var(--press-border);
    border-bottom: 1px solid var(--press-border);
}
.press-nav-list {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}
.press-nav-list a {
    display: block;
    padding: 14px 4px;
    font-size: 16px;
    font-weight: 700;
    color: var(--press-black);
    position: relative;
}
.press-nav-list a.active, .press-nav-list a:hover {
    color: var(--press-red);
}
.nav-highlight {
    color: var(--press-blue) !important;
}

/* Ticker */
.press-ticker-wrap {
    background: #f1f5f9;
    border-bottom: 1px solid var(--press-border);
    padding: 8px 0;
}
.press-ticker-inner {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
}
.ticker-badge {
    background: var(--press-red);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
}
.ticker-content {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
}
.ticker-time {
    color: var(--press-muted);
    font-size: 12px;
}

/* Main Top Grid */
.press-main-layout {
    padding-top: 35px;
    padding-bottom: 60px;
}
.press-top-grid {
    display: grid;
    grid-template-columns: 2fr 1.3fr 1.2fr;
    gap: 25px;
    margin-bottom: 45px;
}

/* Lead Story */
.lead-story-card {
    background: #fff;
    border-right: 1px solid var(--press-border);
    padding-right: 25px;
}
.lead-thumb {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 18px;
}
.lead-thumb img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
}
.lead-cat-tag {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--press-red);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
}
.news-cat {
    color: var(--press-red);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}
.lead-title {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 12px;
}
.lead-title a:hover { color: var(--press-red); }
.lead-excerpt {
    color: var(--press-muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}
.lead-meta {
    font-size: 12px;
    color: #94a3b8;
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Sub Stories */
.sub-stories-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-right: 1px solid var(--press-border);
    padding-right: 25px;
}
.sub-story-card {
    display: flex;
    gap: 15px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
}
.sub-thumb {
    width: 100px;
    height: 75px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #eee;
}
.sub-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.sub-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 6px;
}
.sub-meta {
    font-size: 12px;
    color: #94a3b8;
}

/* Sidebar Column */
.sidebar-box {
    background: var(--press-gray-bg);
    border: 1px solid var(--press-border);
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 20px;
}
.box-head h3 {
    font-size: 15px;
    font-weight: 800;
    color: var(--press-black);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--press-black);
    margin-bottom: 12px;
}
.text-red { color: var(--press-red); }
.ranking-list li {
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 13px;
    display: flex;
    gap: 10px;
    align-items: center;
}
.ranking-list li:last-child { border-bottom: none; }
.rank-num {
    font-weight: 800;
    font-size: 14px;
    color: var(--press-muted);
    width: 18px;
}
.rank-num.num-1 { color: var(--press-red); }
.rank-num.num-2 { color: #f97316; }
.rank-num.num-3 { color: #eab308; }
.ranking-list a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
}

.opinion-item {
    display: flex;
    gap: 12px;
    align-items: center;
}
.editor-pic {
    width: 48px; height: 48px;
    border-radius: 50%;
    object-fit: cover;
}
.editor-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--press-red);
}
.opinion-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    display: block;
    margin-top: 4px;
}

/* 4-Column Grid Section */
.press-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--press-black);
}
.section-banner-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}
.sec-title {
    font-size: 20px;
    font-weight: 800;
}
.sec-more {
    font-size: 13px;
    color: var(--press-muted);
    font-weight: 600;
}
.news-four-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.grid-news-card {
    background: #fff;
    border: 1px solid var(--press-border);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}
.grid-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.06);
}
.card-thumb {
    width: 100%;
    padding-top: 56.25%;
    position: relative;
    background: #000;
}
.card-thumb img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
}
.card-desc {
    padding: 16px;
}
.card-desc .cat {
    font-size: 11px;
    font-weight: 700;
    color: var(--press-red);
    display: block;
    margin-bottom: 4px;
}
.card-desc h4 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
}
.card-desc p {
    font-size: 13px;
    color: var(--press-muted);
    line-height: 1.5;
}

/* Footer */
#press_ft {
    background: #0f172a;
    color: #94a3b8;
    padding: 45px 0 35px;
    border-top: 4px solid var(--press-red);
}
.press-ft-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}
.ft-logo {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}
.ft-logo span { color: var(--press-red); }
.ft-meta {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 12px;
}
.ft-copy { font-size: 12px; color: #64748b; }
.ft-service-links {
    display: flex;
    gap: 18px;
    font-size: 13px;
}
.ft-service-links a { color: #cbd5e1; }
.ft-service-links a:hover { color: #fff; }

@media (max-width: 992px) {
    .press-top-grid { grid-template-columns: 1fr; }
    .lead-story-card, .sub-stories-col { border-right: none; padding-right: 0; }
}
