/*
Theme Name: My Quantum Finance Theme
Theme URI: https://example.com/
Author: AI Developer
Author URI: https://example.com/
Description: 실시간 글로벌 시장 지표와 퀀트 투자 리포트를 제공하는 경량 매거진 테마입니다.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: my-quantum-theme
*/

/* [1. 전체 공통 구조 및 레이아웃] */
.premium-main-wrapper {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: #f8fafc;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
}
.premium-main-wrapper * { box-sizing: border-box; }

.main-inner-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* [2. 상단 메인 히어로 배너 영역] */
.main-hero-section {
    background-color: #0f172a;
    color: #ffffff;
    border-radius: 20px;
    padding: 60px 40px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}
.hero-badge {
    background-color: #3b82f6;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}
.hero-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 16px 0;
    letter-spacing: -1px;
    word-break: keep-all;
}
.hero-subtitle {
    font-size: 16px;
    color: #94a3b8;
    margin: 0 0 30px 0;
    font-weight: 400;
}
.hero-cta-btn {
    background-color: #ffffff;
    color: #0f172a;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    display: inline-block;
    transition: transform 0.2s ease;
}
.hero-cta-btn:hover { transform: translateY(-2px); }

/* [3. 실시간 증시 전광판 대시보드] */
.market-dashboard {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 40px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
}
.dashboard-title {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.widget-wrapper {
    width: 100%;
    height: 80px;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    background-color: #f8fafc;
    border: 1px solid #f1f5f9;
}
.widget-wrapper iframe {
    width: 100%;
    height: 100px;
    border: none;
    background: transparent;
    position: absolute;
    top: -10px;
    left: 0;
}
.widget-notice {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 8px;
    text-align: right;
}

/* [4. 하단 최신 분석 리포트 매거진 피드] */
.section-header {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.section-header a {
    font-size: 13px;
    color: #64748b;
    text-decoration: none;
}

.article-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.article-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 20px -5px rgba(0,0,0,0.08);
}
.card-body { padding: 24px; }
.card-tag {
    font-size: 11px;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 12px;
    display: block;
}
.card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;
    color: #0f172a;
    margin: 0 0 12px 0;
    word-break: keep-all;
}
.card-excerpt {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-footer {
    padding: 16px 24px;
    border-top: 1px solid #f1f5f9;
    font-size: 12px;
    color: #94a3b8;
    background-color: #fafafa;
}

/* [5. 스마트폰 및 태블릿 완벽 대응 모바일 적응형 브레이크포인트] */
@media (max-width: 960px) {
    .article-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .main-inner-container { padding: 20px 16px; }
    .main-hero-section { padding: 40px 24px; border-radius: 16px; }
    .hero-title { font-size: 26px; }
    .hero-subtitle { font-size: 14px; }
    .widget-wrapper { height: 85px; }
    .article-card-grid { grid-template-columns: 1fr; gap: 16px; }
    .card-body { padding: 20px; }
    .card-title { font-size: 16px; }
}
