/**
 * fp-news-hub.css
 * Part of SouthKorea theme — extracted from fp-news-hub.php
 * @package SouthKorea
 */

/* ════ NEWS HUB ════════════════════════════════════════════ */
.sk-news-hub { padding: 80px 48px; }

/* Header + Tabs */
.sk-news-hub-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; gap: 24px; flex-wrap: wrap; }
.sk-news-hub-tabs { display: flex; gap: 4px; background: rgba(255,255,255,.04); padding: 4px; border-radius: 10px; border: 1px solid rgba(255,255,255,.07); }
.sk-tab { padding: 8px 18px; font-size: 12px; font-weight: 600; font-family: 'DM Sans', sans-serif; letter-spacing: .5px; color: rgba(255,255,255,.4); background: transparent; border: none; border-radius: 7px; cursor: pointer; transition: color .2s, background .2s; white-space: nowrap; }
.sk-tab:hover { color: rgba(255,255,255,.7); }
.sk-tab.active { color: #fff; background: rgba(0,200,255,.12); box-shadow: 0 0 0 1px rgba(0,200,255,.2); }
.sk-tab-panel { display: none; }
.sk-tab-panel.active { display: block; }

/* Guides grid */
.sk-guides-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.sk-guide-featured { display: flex; flex-direction: column; text-decoration: none; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.02); transition: border-color .25s, transform .25s; height: 100%; }
.sk-guide-featured:hover { border-color: rgba(0,200,255,.3); transform: translateY(-3px); }
.sk-gf-img { height: 300px; background-size: cover; background-position: center; position: relative; flex-shrink: 0; }
.sk-gf-img-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 30%, rgba(8,10,14,.85)); }
.sk-gf-type-badge { position: absolute; top: 16px; left: 16px; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; background: rgba(0,200,255,.15); border: 1px solid rgba(0,200,255,.3); color: #00c8ff; font-family: 'DM Sans', sans-serif; }
.sk-gf-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.sk-gf-meta { display: flex; align-items: center; gap: 10px; }
.sk-gf-date { font-size: 11px; color: rgba(255,255,255,.3); font-family: 'DM Sans', sans-serif; }
.sk-gf-title { font-size: 1.2rem; font-weight: 600; color: rgba(255,255,255,.92); line-height: 1.4; margin: 0; font-family: 'DM Sans', sans-serif; }
.sk-gf-excerpt { font-size: .875rem; color: rgba(255,255,255,.45); line-height: 1.65; margin: 0; font-family: 'DM Sans', sans-serif; }
.sk-gf-read { font-size: .8rem; font-weight: 700; color: #00c8ff; font-family: 'DM Sans', sans-serif; margin-top: 4px; }

/* Mini stack */
.sk-guide-stack { display: flex; flex-direction: column; gap: 2px; }
.sk-guide-mini { display: flex; align-items: center; gap: 14px; padding: 13px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.05); text-decoration: none; transition: background .2s, border-color .2s; background: rgba(255,255,255,.02); }
.sk-guide-mini:hover { background: rgba(0,200,255,.05); border-color: rgba(0,200,255,.15); }
.sk-gm-img { width: 64px; height: 52px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: rgba(255,255,255,.05); }
.sk-gm-img img { width: 100%; height: 100%; object-fit: cover; }
.sk-gm-no-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-family: 'Noto Serif KR', serif; font-size: 18px; color: rgba(255,255,255,.15); }
.sk-gm-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.sk-gm-type { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: rgba(123,95,255,.8); font-family: 'DM Sans', sans-serif; }
.sk-gm-title { font-size: .83rem; font-weight: 500; color: rgba(255,255,255,.82); line-height: 1.4; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-family: 'DM Sans', sans-serif; }
.sk-gm-date { font-size: 10px; color: rgba(255,255,255,.25); font-family: 'DM Sans', sans-serif; }
.sk-gm-arrow { font-size: 14px; color: rgba(255,255,255,.2); flex-shrink: 0; transition: color .2s, transform .2s; }
.sk-guide-mini:hover .sk-gm-arrow { color: rgba(0,200,255,.6); transform: translateX(3px); }
.sk-guide-stack-footer { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px 0; margin-top: 8px; border-top: 1px solid rgba(255,255,255,.05); }
.sk-view-all { font-size: .8rem; font-weight: 600; color: rgba(0,200,255,.7); text-decoration: none; font-family: 'DM Sans', sans-serif; transition: color .2s; }
.sk-view-all:hover { color: #00c8ff; }

/* Korea / World layout */
.sk-korea-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.sk-korea-hero { display: flex; flex-direction: column; text-decoration: none; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.02); transition: border-color .25s, transform .25s; }
.sk-korea-hero:hover { border-color: rgba(0,200,255,.25); transform: translateY(-2px); }
.sk-kh-img { height: 280px; overflow: hidden; flex-shrink: 0; }
.sk-kh-img--placeholder { background: linear-gradient(135deg, #0d1830, #1a3060); }
.sk-kh-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .4s; display: block; }
.sk-korea-hero:hover .sk-kh-img img { transform: scale(1.04); }
.sk-kh-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; }
.sk-kh-source-row { display: flex; align-items: center; gap: 8px; font-family: 'DM Sans', sans-serif; }
.sk-kh-source { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: #00c8ff; }
.sk-kh-sep { color: rgba(255,255,255,.2); font-size: 11px; }
.sk-kh-time { font-size: 11px; color: rgba(255,255,255,.3); }
.sk-ext-icon { margin-left: auto; font-size: 14px; color: rgba(255,255,255,.2); }
.sk-kh-title { font-size: 1.05rem; font-weight: 600; color: rgba(255,255,255,.9); line-height: 1.45; margin: 0; font-family: 'DM Sans', sans-serif; }
.sk-kh-desc { font-size: .85rem; color: rgba(255,255,255,.42); line-height: 1.65; margin: 0; font-family: 'DM Sans', sans-serif; }

.sk-korea-grid { display: flex; flex-direction: column; gap: 8px; }
.sk-korea-card { display: flex; gap: 12px; padding: 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.05); background: rgba(255,255,255,.02); text-decoration: none; align-items: center; transition: border-color .2s, background .2s; }
.sk-korea-card:hover { border-color: rgba(0,200,255,.15); background: rgba(0,200,255,.03); }
.sk-kc-img { width: 68px; height: 52px; border-radius: 7px; overflow: hidden; flex-shrink: 0; }
.sk-kc-img img { width: 100%; height: 100%; object-fit: cover; }
.sk-kc-body { flex: 1; min-width: 0; }
.sk-kc-meta { display: flex; gap: 8px; align-items: center; margin-bottom: 4px; }
.sk-kc-source { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .7px; color: rgba(0,200,255,.7); font-family: 'DM Sans', sans-serif; }
.sk-kc-time { font-size: 10px; color: rgba(255,255,255,.25); font-family: 'DM Sans', sans-serif; }
.sk-kc-title { font-size: .82rem; font-weight: 500; color: rgba(255,255,255,.78); line-height: 1.4; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-family: 'DM Sans', sans-serif; }

/* Empty state */
.sk-empty-state { text-align: center; padding: 64px 24px; border: 1px dashed rgba(255,255,255,.08); border-radius: 14px; }
.sk-empty-icon { font-size: 40px; margin-bottom: 16px; }
.sk-empty-state h3 { font-size: 1.1rem; font-weight: 600; color: rgba(255,255,255,.7); margin-bottom: 10px; }
.sk-empty-state p { font-size: .875rem; color: rgba(255,255,255,.35); line-height: 1.6; }
.sk-empty-state code { background: rgba(255,255,255,.07); padding: 2px 6px; border-radius: 4px; font-size: .8em; }
.sk-empty-btn { display: inline-block; margin-top: 16px; padding: 10px 24px; background: rgba(0,200,255,.1); border: 1px solid rgba(0,200,255,.3); color: #00c8ff; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; border-radius: 6px; font-family: 'DM Sans', sans-serif; transition: background .2s; }
.sk-empty-btn:hover { background: rgba(0,200,255,.2); }

/* Responsive */
@media (max-width: 900px) {
    .sk-news-hub { padding: 60px 24px; }
    .sk-guides-grid { grid-template-columns: 1fr; }
    .sk-korea-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .sk-news-hub { padding: 48px 16px; }
    .sk-news-hub-header { flex-direction: column; align-items: flex-start; gap: 16px; }
    .sk-news-hub-tabs { width: 100%; }
    .sk-tab { flex: 1; font-size: 11px; padding: 8px 6px; }
    .sk-gf-img { height: 200px; }
    .sk-kh-img { height: 200px; }
}