/* 기사 본문: index.php 뉴스 메인과 동일 그리드·우측 사이드바 스타일 */

.news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    padding-top: 70px;
    background: white;
    box-sizing: border-box;
}

/* 기사 페이지: .news-container가 헤더 아래 여백을 이미 주므로 .news-header 중복 패딩 제거 (index.php와 동일) */
.article-magazine-news-page .news-header {
    padding: 5px 0 0 0;
    margin-bottom: 10px;
    width: 100%;
}

.news-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0;
    margin-top: 10px;
}

.index-main-content {
    min-width: 0;
    overflow: hidden;
}

@media (min-width: 1025px) {
    .index-main-content {
        min-width: 800px;
    }
}

.sidebar {
    position: relative;
    background: #ffffff;
    border-radius: 8px;
    padding: 0 0 20px 0;
    height: fit-content;
    min-width: 0;
}

.sidebar-dashboard-card {
    position: relative;
    margin: 0 0 16px 25px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.38);
    background: linear-gradient(165deg, #ffffff 0%, #f8fafc 52%, #f1f5f9 100%);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 8px 28px rgba(15, 23, 42, 0.07);
    box-sizing: border-box;
    overflow: visible;
}

.sidebar-dash-divider {
    height: 1px;
    margin: 0 14px;
    background: linear-gradient(90deg, transparent 0%, rgba(203, 213, 225, 0.95) 12%, rgba(203, 213, 225, 0.95) 88%, transparent 100%);
    border: 0;
    flex-shrink: 0;
}

.sidebar-dash-market {
    padding: 6px 12px;
    box-sizing: border-box;
}

.sidebar-dashboard-card .sidebar-unified-box.sidebar-unified-box--dashboard {
    margin: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    padding: 14px 16px 12px;
    z-index: 2;
}

.sidebar-dashboard-card .sidebar-login-box {
    z-index: 10050;
}

.sidebar-dashboard-card .sidebar-weather-banner.sidebar-weather-banner--dashboard {
    margin: 0;
    border: none;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.5);
    padding: 12px 16px;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.sidebar-weather-banner--dashboard .sidebar-weather-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1;
}

.sidebar-weather-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.sidebar-weather-temp {
    font-size: 1rem;
    font-weight: 700;
}

.sidebar-weather-desc {
    font-size: 0.75rem;
    color: #6b7280;
}

.sidebar-weather-location {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    flex-shrink: 0;
}

.sidebar-unified-box {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 16px;
    margin: 40px 0 10px 25px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: #fff;
    box-sizing: border-box;
}

.sidebar-unified-row1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.sidebar-unified-spacer { flex: 1; min-width: 12px; }

.sidebar-unified-row2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px 5px;
    width: 100%;
    margin-left: 10px;
}

.sidebar-unified-row2-right {
    display: flex;
    align-items: center;
    gap: 6px 8px;
}

.sidebar-unified-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #64748b;
    text-decoration: none;
    position: relative;
    transition: all 0.2s;
    background: #eeeeee;
}

.sidebar-unified-icon:hover { background: #f1f5f9; color: #334155; }

.sidebar-stat-today {
    font-size: 13px;
    color: #64748b;
    line-height: 1.35;
}

.sidebar-stat-today .sidebar-stat-num { font-weight: 700; color: #334155; }

.sidebar-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100px;
    padding: 8px;
    background: #55b0f2;
    color: #fff;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    flex-shrink: 0;
}

.sidebar-login-btn:hover { background: #02b351; color: #fff; }

.sidebar-profile-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    background: #f1f5f9;
    border-radius: 20px;
    cursor: pointer;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
}

.sidebar-profile-trigger:hover { background: #e2e8f0; }

.sidebar-trigger-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.sidebar-trigger-name {
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-inquiry-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: #fff;
    color: #334155;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar-inquiry-chip:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.sidebar-trigger-arrow { font-size: 10px; color: #64748b; transition: transform 0.2s; }

.sidebar-profile-trigger.open .sidebar-trigger-arrow { transform: rotate(180deg); }

.sidebar-login-box {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    border: 1px solid #e2e8f0;
    padding: 16px;
    z-index: 1000;
    display: none;
}

.sidebar-login-box.visible { display: block; }

.sidebar-login-box-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 12px;
}

.sidebar-login-box-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.sidebar-login-box-name { font-size: 16px; font-weight: 600; color: #111827; }

.sidebar-login-box-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.sidebar-login-box-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    color: #334155;
    text-decoration: none;
    font-size: 14px;
}

.sidebar-login-box-links a:hover { background: #f1f5f9; color: #1e40af; }

.sidebar-login-box-agent {
    background: #f8fafc;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
    font-size: 13px;
}

.sidebar-login-box-agent-title { font-weight: 600; color: #334155; margin-bottom: 8px; }

.sidebar-login-box-agent-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 4px 0;
}

.sidebar-login-box-agent-row span:first-child { color: #64748b; }

.sidebar-login-box-agent-row span:last-child { font-weight: 500; }

.sidebar-login-box-footer {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.sidebar-login-box-btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    color: #334155;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

.sidebar-login-box-btn:hover { background: #e2e8f0; color: #111827; }

.sidebar-login-box-btn.logout { color: #dc2626; }

.sidebar-login-box-btn.logout:hover { background: #fef2f2; color: #b91c1c; }

.sidebar-login-box-footer--stacked {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

.sidebar-login-box-btn--block {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    justify-content: center;
}

.sidebar-login-box-admin-stats {
    font-size: 12px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 12px;
}

.sidebar-login-box-admin-stats-title {
    font-weight: 700;
    color: #475569;
    margin-bottom: 8px;
    font-size: 11px;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sidebar-login-box-admin-stats-title i { color: #64748b; }

.sidebar-login-box-admin-stats-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 4px 0;
    border-bottom: 1px solid #e2e8f0;
}

.sidebar-login-box-admin-stats-row:last-child { border-bottom: none; }

.sidebar-login-box-admin-stats-row span:first-child { color: #64748b; }

.sidebar-login-box-admin-stats-row strong { color: #0f172a; font-weight: 600; }

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    border: 2px solid white;
    padding: 0 4px;
    box-sizing: border-box;
    white-space: nowrap;
}

.market-banner-section { display: block; }

.market-banner-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 0;
    background: transparent;
    border: none;
}

.market-banner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.market-banner-label {
    font-size: 0.7rem;
    color: #333;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1;
}

.market-banner-value {
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
    line-height: 1.1;
}

.market-banner-change {
    font-size: 0.65rem;
    font-weight: 600;
    line-height: 1;
}

.market-banner-item.up .market-banner-value,
.market-banner-item.up .market-banner-change {
    color: #ef4444 !important;
}

.market-banner-item.down .market-banner-value,
.market-banner-item.down .market-banner-change {
    color: #3b82f6 !important;
}

.sidebar-section {
    padding-top: 5px !important;
    padding-left: 25px !important;
    padding-right: 0 !important;
    padding-bottom: 10px !important;
}

.sidebar-section-box {
    padding: 5px 16px !important;
    margin: 0 0 10px 25px !important;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: #fff;
    box-sizing: border-box;
}

.sidebar-section-box:last-of-type {
    margin-bottom: 20px !important;
}

/* 토크·타임라인 (index 사이드바와 동일, home_fc_talk_timeline_sidebar.php) */
.sidebar-section-box.home-fc-notice-box {
    overflow: visible;
    padding-bottom: 12px !important;
}

.home-fc-notice-sidebar-title {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 2px;
}

.home-fc-notice-sidebar-badge {
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    letter-spacing: -0.02em;
}

.home-fc-notice-empty {
    padding: 12px 0;
    color: #9ca3af;
    font-size: 0.85rem;
    text-align: center;
    margin: 0;
}

.home-fc-notice-timeline {
    border-left: 2px solid #e2e8f0;
    margin-left: 6px;
    padding-left: 14px;
    margin-top: 4px;
    padding-bottom: 4px;
}

.home-fc-notice-item {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0 14px 0;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f1f5f9;
}

.home-fc-notice-item:last-child {
    padding-bottom: 2px;
}

.home-fc-notice-item::before {
    content: '';
    position: absolute;
    left: -21px;
    top: 18px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #94a3b8;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #cbd5e1;
    flex-shrink: 0;
}

.home-fc-notice-item:hover .home-fc-notice-title {
    color: #065f46;
}

.home-fc-notice-thumb-wrap {
    width: 88px;
    min-width: 88px;
    height: 58px;
    border-radius: 6px;
    overflow: hidden;
    background: #f1f5f9;
    flex-shrink: 0;
}

.home-fc-notice-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-fc-notice-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 4px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.home-fc-notice-thumb-label {
    display: block;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.2;
    text-align: center;
    color: #064e3b;
    word-break: keep-all;
}

.home-fc-notice-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.home-fc-notice-date {
    font-size: 0.7rem;
    font-weight: 700;
    color: #047857;
    letter-spacing: 0.02em;
}

.home-fc-notice-title {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.35;
    color: #111827;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-fc-notice-meta {
    font-size: 0.72rem;
    color: #94a3b8;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

.home-fc-notice-cat {
    font-weight: 600;
    color: #64748b;
    flex-shrink: 0;
}

.home-fc-notice-more {
    margin-top: 10px;
    padding-top: 10px;
    text-align: center;
    border-top: 1px solid #e2e8f0;
}

.home-fc-notice-more a {
    font-size: 0.85rem;
    font-weight: 500;
    color: #047857;
    text-decoration: none;
}

.home-fc-notice-more a:hover {
    color: #065f46;
    text-decoration: underline;
}

/* 인카금융서비스 FC 리쿠르팅 (index.php 사이드바와 동일) */
.sidebar-section-box.home-recruit-incar-banner-wrap {
    padding: 0 !important;
    margin-top: 12px !important;
    margin-bottom: 16px !important;
    overflow: visible;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.home-recruit-incar-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    padding: 11px 14px;
    min-height: 44px;
    box-sizing: border-box;
    text-decoration: none;
    color: #0f172a;
    background: linear-gradient(90deg, #eef2ff 0%, #f8fafc 55%, #f1f5f9 100%);
    border: 1px solid #c7d2fe;
    border-radius: 10px;
    line-height: 1.35;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.home-recruit-incar-banner:hover {
    background: linear-gradient(90deg, #e0e7ff 0%, #f1f5f9 100%);
    border-color: #a5b4fc;
    box-shadow: 0 1px 4px rgba(79, 70, 229, 0.12);
    color: #0f172a;
}

.home-recruit-incar-banner-badge {
    flex-shrink: 0;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 4px 8px;
    border-radius: 5px;
    background: #4f46e5;
    color: #fff;
    line-height: 1.15;
}

.home-recruit-incar-banner-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    overflow: hidden;
}

.home-recruit-incar-banner-text strong {
    flex: 1;
    min-width: 0;
    font-size: 0.81rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.4;
    word-break: keep-all;
}

.home-recruit-incar-banner-chev {
    flex-shrink: 0;
    font-size: 0.7rem;
    color: #6366f1;
    opacity: 0.85;
    align-self: center;
}

.sidebar-section-box.home-popular-articles-box {
    overflow: visible;
    padding-bottom: 12px !important;
}

.home-popular-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.home-popular-title-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0 !important;
    margin-bottom: 2px;
}

.home-popular-title-icon {
    font-size: 1rem;
    color: #ea580c;
    flex-shrink: 0;
}

.home-popular-title-badge {
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    letter-spacing: -0.02em;
}

.home-popular-filter {
    padding: 6px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.82rem;
    background: #fff;
    cursor: pointer;
    color: #334155;
    max-width: 140px;
}

.home-popular-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    border-left: 2px solid #e2e8f0;
    margin-left: 6px;
    padding-left: 14px;
    margin-top: 4px;
    padding-bottom: 4px;
}

.home-popular-row { margin: 0; padding: 0; }

.home-popular-item {
    position: relative;
    display: block;
    padding: 10px 0 14px 0;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f1f5f9;
}

.home-popular-row:last-child .home-popular-item {
    padding-bottom: 2px;
    border-bottom: none;
}

.home-popular-item::before {
    content: '';
    position: absolute;
    left: -21px;
    top: 14px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #94a3b8;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #cbd5e1;
    flex-shrink: 0;
}

.home-popular-item:hover .home-popular-article-title {
    color: #1d4ed8;
}

.home-popular-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.home-popular-date {
    font-size: 0.7rem;
    font-weight: 700;
    color: #2563eb;
    letter-spacing: 0.02em;
}

.home-popular-article-title {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.35;
    color: #111827;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-popular-meta {
    font-size: 0.72rem;
    color: #94a3b8;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.home-popular-cat {
    font-weight: 600;
    color: #64748b;
    flex-shrink: 0;
}

.home-popular-views { flex-shrink: 0; }

.home-popular-empty {
    list-style: none;
    padding: 16px 0;
    margin: 0;
    text-align: center;
    font-size: 0.85rem;
    color: #94a3b8;
}

@media (max-width: 1024px) {
    .news-container {
        padding-top: 40px !important;
        padding-bottom: 15px;
        padding-left: calc(15px + env(safe-area-inset-left, 0px));
        padding-right: calc(15px + env(safe-area-inset-right, 0px));
    }

    /* index.php @media (max-width: 1024px) .news-header / .news-header-top 과 동일 (인라인 article.php 보정) */
    .article-magazine-news-page .news-header {
        padding: 40px 0 0 0;
        margin-bottom: 0;
    }

    .article-magazine-news-page .news-header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding-bottom: 0;
        margin-top: 0;
        margin-bottom: 8px;
        border-bottom: none;
    }

    .article-magazine-news-page .news-title-section {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
        width: 100%;
    }

    .article-magazine-news-page .news-title {
        align-items: center;
        gap: 4px 6px;
        row-gap: 4px;
        column-gap: 6px;
    }

    .article-magazine-news-page .news-title-brand {
        gap: 0;
    }

    .article-magazine-news-page .news-title-brand-sub {
        display: none !important;
    }

    .article-magazine-news-page .news-title-brand-head {
        font-size: 1.22rem;
        line-height: 1.15;
    }

    .article-magazine-news-page .rss-badge {
        margin: 0 !important;
        flex-shrink: 0;
    }

    .article-magazine-news-page .mbti-link-title {
        margin: 0 !important;
        flex-shrink: 0;
    }

    /* 모바일: 사이드바 대시보드 카드 숨김 — 하단 바(index형)로 대체 */
    .article-magazine-news-page .sidebar .sidebar-dashboard-card {
        display: none !important;
    }

    .news-layout {
        display: block !important;
        grid-template-columns: none !important;
        gap: 25px;
        margin-top: -5px;
    }

    .index-main-content {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        padding: 0;
        margin: 0;
        overflow-x: hidden;
    }

    .sidebar {
        width: 100%;
        max-width: 100%;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .pc-only-notification {
        display: none !important;
    }

    .sidebar-dashboard-card {
        margin: 28px 0 14px 0 !important;
    }

    .sidebar-dashboard-card .sidebar-unified-box--dashboard {
        margin: 0 !important;
        padding: 12px 14px 10px !important;
    }

    .sidebar-dashboard-card .sidebar-dash-divider {
        display: none !important;
    }

    .sidebar-dashboard-card .sidebar-weather-banner--dashboard {
        padding: 10px 14px !important;
    }

    .sidebar-dash-market {
        padding: 4px 10px 12px !important;
    }

    .market-banner-section {
        display: none !important;
    }

    .sidebar-section {
        padding: 12px 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin: 0 !important;
    }

    .sidebar-section-box {
        margin: 0 0 12px 0 !important;
        padding: 8px 16px !important;
        margin-top: 10px !important;
    }

    .sidebar-section-box.home-popular-articles-box {
        padding-bottom: 14px !important;
    }

    .sidebar-section-box.home-fc-notice-box {
        padding-bottom: 14px !important;
    }

    .home-fc-notice-thumb-wrap {
        width: 72px;
        min-width: 72px;
        height: 48px;
    }

    .home-fc-notice-item::before {
        left: -19px;
        top: 14px;
        width: 8px;
        height: 8px;
    }

    .home-fc-notice-thumb-label {
        font-size: 0.56rem;
    }

    .home-popular-item::before {
        left: -19px;
        top: 12px;
        width: 8px;
        height: 8px;
    }

    .notification-badge {
        width: 16px;
        height: 16px;
        font-size: 9px;
        top: -3px;
        right: -3px;
        min-width: 16px;
    }
}

/* index.php 초소형 모바일 (≤412px) .news-container 보정 — 기사 페이지에도 동일 적용 */
@media (max-width: 412px) {
    .news-container.article-magazine-news-page {
        padding-top: 5px !important;
        padding-bottom: 5px !important;
        padding-left: calc(10px + env(safe-area-inset-left, 0px)) !important;
        padding-right: calc(10px + env(safe-area-inset-right, 0px)) !important;
    }

    .article-magazine-news-page .index-main-content {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
}
