:root {
    --jw-coral: #f43f5e;
    --jw-coral-dark: #e11d48;
    --jw-peach: #fff1f2;
    --jw-dark: #0f172a;
    --jw-gray: #64748b;
    --jw-light: #f8fafc;
    --jw-border: #e2e8f0;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Pretendard", "Segoe UI", sans-serif; background: #ffffff; color: var(--jw-dark); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Header */
.jw-site-header { background: #ffffff; border-bottom: 1px solid var(--jw-border); padding: 16px 0; position: sticky; top: 0; z-index: 50; }
.jw-header-inner { max-width: 1100px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; }
.jw-brand-logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.25rem; }
.jw-logo-box { background: var(--jw-coral); color: #fff; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 6px; font-size: 1rem; }
.jw-nav-links { display: flex; gap: 20px; font-size: 0.95rem; font-weight: 600; color: var(--jw-gray); }
.jw-nav-links a:hover { color: var(--jw-coral); }

/* 2-Column Layout */
.jw-layout-wrapper { max-width: 1100px; margin: 40px auto; padding: 0 20px; display: flex; gap: 40px; align-items: flex-start; }
.jw-main-content { flex: 1; min-width: 0; }
.jw-sidebar { width: 320px; flex-shrink: 0; position: sticky; top: 100px; }

/* Main Post Content */
.jw-editorial-post h1 { font-size: 2rem; font-weight: 900; line-height: 1.35; margin-bottom: 15px; letter-spacing: -0.5px; }
.jw-post-meta { font-size: 0.9rem; color: var(--jw-gray); padding-bottom: 20px; border-bottom: 1px solid var(--jw-border); margin-bottom: 30px; }
.jw-post-lead { font-size: 1.05rem; color: #475569; line-height: 1.8; margin-bottom: 40px; }

/* TOP 3 Showcase */
.jw-top3-container { margin-bottom: 45px; }
.jw-top1-showcase { background: var(--jw-peach); border: 2px solid var(--jw-coral); border-radius: 16px; padding: 35px 25px; margin-bottom: 20px; text-align: center; box-shadow: 0 4px 15px rgba(244, 63, 94, 0.1); position: relative; overflow: hidden; }
.jw-top1-showcase::before { content: "TOP 1"; position: absolute; top: -10px; right: -10px; font-size: 4rem; font-weight: 900; color: var(--jw-coral); opacity: 0.1; letter-spacing: -2px; }
.jw-showcase-label { display: inline-block; background: var(--jw-coral); color: #fff; font-size: 0.8rem; font-weight: 800; padding: 5px 14px; border-radius: 20px; margin-bottom: 15px; }
.jw-showcase-logo { height: 65px; margin-bottom: 15px; }
.jw-showcase-logo img { max-height: 100%; max-width: 180px; object-fit: contain; }
.jw-showcase-title { font-size: 1.6rem; font-weight: 900; margin-bottom: 10px; }
.jw-showcase-desc { font-size: 0.95rem; color: #475569; margin-bottom: 20px; line-height: 1.6; }
.jw-showcase-benefit { margin-bottom: 20px; font-weight: 800; color: var(--jw-coral); font-size: 1.1rem; }
.jw-btn-primary { display: inline-block; background: var(--jw-coral); color: #fff; font-size: 1rem; font-weight: 800; padding: 14px 35px; border-radius: 8px; transition: background 0.2s; box-shadow: 0 4px 10px rgba(225, 29, 72, 0.3); }
.jw-btn-primary:hover { background: var(--jw-coral-dark); transform: translateY(-1px); }

.jw-top23-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.jw-top23-card { background: #ffffff; border: 2px solid #cbd5e1; border-radius: 14px; padding: 25px 20px; text-align: center; transition: border-color 0.2s, box-shadow 0.2s; }
.jw-top23-card:hover { border-color: var(--jw-coral); box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.jw-top23-badge { display: inline-block; background: #64748b; color: #fff; font-size: 0.75rem; font-weight: 800; padding: 3px 12px; border-radius: 20px; margin-bottom: 12px; }
.jw-top23-card:nth-child(2) .jw-top23-badge { background: #8b5cf6; }
.jw-top23-logo { height: 45px; margin-bottom: 12px; }
.jw-top23-logo img { max-height: 100%; max-width: 130px; object-fit: contain; }
.jw-top23-name { font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; color: var(--jw-dark); }
.jw-top23-benefit { font-size: 0.95rem; font-weight: 800; color: var(--jw-coral); margin-bottom: 16px; }
.jw-btn-outline { display: block; text-align: center; border: 1px solid var(--jw-dark); color: var(--jw-dark); font-size: 0.9rem; font-weight: 700; padding: 10px; border-radius: 8px; transition: background 0.2s; }
.jw-btn-outline:hover { background: var(--jw-dark); color: #fff; }

/* 🌟 Rank 4~17 Direct Link List (아코디언 대체) 🌟 */
.jw-section-title { font-size: 1.35rem; font-weight: 800; margin-bottom: 20px; border-left: 4px solid var(--jw-coral); padding-left: 10px; }
.jw-rank-list { border-top: 1px solid var(--jw-border); margin-bottom: 50px; display: flex; flex-direction: column; }
.jw-rank-row { display: flex; align-items: center; justify-content: space-between; padding: 18px 12px; border-bottom: 1px solid var(--jw-border); transition: background 0.2s, padding-left 0.2s; text-decoration: none; color: inherit; cursor: pointer; }
.jw-rank-row:hover { background: var(--jw-light); padding-left: 18px; } /* 마우스 오버 시 우측으로 살짝 이동하며 부각 */
.jw-row-left { display: flex; align-items: center; gap: 15px; font-weight: 800; font-size: 1.05rem; }
.jw-row-rank { color: var(--jw-gray); min-width: 24px; font-family: monospace; }
.jw-row-right { font-size: 0.95rem; color: var(--jw-coral); font-weight: 700; display: flex; align-items: center; gap: 8px; }
.jw-row-arrow { font-size: 1.1rem; color: var(--jw-gray); transition: color 0.2s, transform 0.2s; }
.jw-rank-row:hover .jw-row-arrow { color: var(--jw-coral); transform: translateX(3px); } /* 화살표 애니메이션 */

/* SEO Whitepaper Text */
.jw-seo-text { background: var(--jw-light); padding: 30px; border-radius: 12px; margin-bottom: 40px; font-size: 0.95rem; line-height: 1.8; color: #334155; }
.jw-seo-text h2 { font-size: 1.2rem; color: var(--jw-dark); margin-bottom: 15px; font-weight: 800; }
.jw-seo-text h3 { font-size: 1.05rem; margin: 20px 0 10px 0; color: var(--jw-dark); font-weight: 800; }
.jw-seo-text ul { padding-left: 20px; margin-bottom: 15px; }

/* Sidebar */
.jw-widget { background: #ffffff; border: 1px solid var(--jw-border); border-radius: 12px; padding: 24px; margin-bottom: 24px; }
.jw-widget-title { font-size: 1.1rem; font-weight: 800; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.jw-widget-title::before { content: ""; display: inline-block; width: 4px; height: 16px; background: var(--jw-coral); border-radius: 2px; }
.jw-trend-list li { margin-bottom: 12px; font-size: 0.9rem; display: flex; gap: 10px; align-items: flex-start; }
.jw-trend-list .num { font-weight: 800; color: var(--jw-coral); }
.jw-trend-list a { color: #334155; line-height: 1.4; font-weight: 500; }
.jw-trend-list a:hover { color: var(--jw-coral); text-decoration: underline; }

/* Footer */
.jw-footer { background: var(--jw-light); padding: 50px 0; margin-top: 60px; border-top: 1px solid var(--jw-border); }
.jw-footer-wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.jw-footer-flex { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; margin-bottom: 30px; }
.jw-footer-info p { font-size: 0.9rem; color: var(--jw-gray); margin-top: 10px; max-width: 400px; }
.jw-footer-links a { color: var(--jw-gray); font-size: 0.9rem; font-weight: 600; margin-left: 20px; }
.jw-legal-notice { background: #ffffff; border: 1px solid #cbd5e1; border-radius: 8px; padding: 16px; margin-bottom: 24px; font-size: 0.85rem; color: #475569; line-height: 1.6; }
.jw-legal-notice strong { color: var(--jw-coral-dark); }
.jw-footer-meta { font-size: 0.85rem; color: #94a3b8; line-height: 1.6; border-top: 1px solid var(--jw-border); padding-top: 20px; }

/* Mobile Responsive */
@media (max-width: 900px) {
    .jw-layout-wrapper { flex-direction: column; margin-top: 20px; }
    .jw-sidebar { width: 100%; position: static; }
    .jw-nav-links { display: none; }
    .jw-editorial-post h1 { font-size: 1.55rem; margin-bottom: 10px; }
    .jw-post-meta { padding-bottom: 15px; margin-bottom: 20px; }
    .jw-post-lead { font-size: 0.95rem; margin-bottom: 25px; }
    .jw-top23-grid { grid-template-columns: 1fr; }
    .jw-top1-showcase { padding: 25px 15px; margin-bottom: 15px; }
    .jw-showcase-title { font-size: 1.4rem; }
    .jw-showcase-desc { display: none; } 
    .jw-top23-card { padding: 18px 15px; }
}