/*
Theme Name: IssueFM News
Theme URI: https://issuefm.com/
Author: IssueFM
Description: IssueFM AI 뉴스 포털 전용 독립 테마. 메인, 카테고리, 기사, 검색, 404를 하나의 공통 디자인 시스템으로 제공합니다.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: issuefm-news
*/
:root{--ifm-navy:#031945;--ifm-navy2:#071f4f;--ifm-blue:#0865e1;--ifm-orange:#ff7900;--ifm-bg:#f3f6fb;--ifm-line:#dce3ee;--ifm-text:#111827;--ifm-muted:#687386;--ifm-max:1440px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--ifm-bg);color:var(--ifm-text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans KR",Arial,sans-serif;line-height:1.65}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.screen-reader-text{position:absolute;left:-9999px}.ifm-shell{width:min(var(--ifm-max),calc(100% - 40px));margin:auto}.ifm-top{background:#fff;border-bottom:1px solid var(--ifm-line)}.ifm-top-inner{min-height:112px;display:flex;align-items:center;gap:28px}.ifm-brand{display:flex;align-items:flex-end;gap:16px;flex:0 0 auto}.ifm-logo{font-size:48px;font-weight:900;letter-spacing:-3px;line-height:.9;color:#071a46}.ifm-logo span{color:#0967e6}.ifm-tagline{font-weight:700;white-space:nowrap}.ifm-search{display:flex;flex:1;max-width:360px;border:1px solid #ccd5e3;border-radius:28px;overflow:hidden;background:#fff}.ifm-search input{border:0;outline:0;padding:13px 18px;min-width:0;flex:1}.ifm-search button{border:0;background:#fff;padding:0 17px;font-size:20px;cursor:pointer}.ifm-live{display:flex;align-items:center;gap:10px;min-width:0;flex:1}.ifm-live-badge{background:#e60012;color:#fff;border-radius:7px;padding:8px 10px;font-weight:900}.ifm-live-title{font-weight:900;white-space:nowrap}.ifm-live-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ifm-actions{display:flex;align-items:center;gap:18px;white-space:nowrap}.ifm-subscribe{background:var(--ifm-blue);color:#fff;border-radius:8px;padding:13px 18px;font-weight:900}.ifm-nav{background:linear-gradient(90deg,#06183d,#021231);box-shadow:0 2px 8px rgba(0,0,0,.12)}.ifm-nav-inner{display:flex;align-items:stretch;overflow-x:auto}.ifm-nav a{min-width:95px;padding:18px 25px;text-align:center;color:#fff;font-size:18px;font-weight:900;position:relative;white-space:nowrap}.ifm-nav a:hover,.ifm-nav a.is-active{background:#0d5ed6}.ifm-nav a.is-active:after{content:"";position:absolute;height:4px;left:20px;right:20px;bottom:0;background:var(--ifm-orange)}.ifm-main{padding:28px 0 60px}.ifm-card{background:#fff;border:1px solid var(--ifm-line);border-radius:14px}.ifm-home-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,.85fr) minmax(320px,1fr);gap:18px}.ifm-hero{min-height:380px;padding:34px;display:flex;flex-direction:column;justify-content:flex-end;color:#fff;background:linear-gradient(135deg,#183f7a,#001036);border-radius:14px}.ifm-kicker{display:inline-flex;align-self:flex-start;background:#0865e1;padding:7px 11px;border-radius:6px;font-weight:800}.ifm-hero h1{font-size:38px;line-height:1.24;letter-spacing:-1.5px;margin:18px 0 12px}.ifm-hero p{font-size:18px}.ifm-meta{display:flex;gap:16px;flex-wrap:wrap;font-size:13px;font-weight:700}.ifm-summary,.ifm-ranking{padding:22px}.ifm-summary h2,.ifm-ranking h2,.ifm-section-title{margin:0 0 16px;font-size:23px}.ifm-ranking ol{list-style:none;padding:0;margin:0}.ifm-ranking li{display:grid;grid-template-columns:25px 1fr auto;gap:10px;padding:12px 0;border-bottom:1px solid var(--ifm-line)}.ifm-rank{background:#667386;color:#fff;text-align:center;border-radius:5px;font-weight:800}.ifm-section{margin-top:26px}.ifm-section-title{border-left:5px solid var(--ifm-blue);padding-left:12px}.ifm-news-list{background:#fff;border-top:2px solid var(--ifm-navy)}.ifm-news-row{padding:16px 4px;border-bottom:1px solid var(--ifm-line);font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ifm-news-row:hover{color:var(--ifm-blue);padding-left:10px}.ifm-archive-head{display:flex;align-items:flex-end;justify-content:space-between;padding:12px 0 20px;border-bottom:3px solid var(--ifm-navy)}.ifm-archive-head h1{margin:0;font-size:36px}.ifm-archive-list{background:#fff;border-top:1px solid var(--ifm-line)}.ifm-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:center;padding:19px 22px;border-bottom:1px solid var(--ifm-line)}.ifm-row-title{font-size:18px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ifm-row time{font-size:13px;color:var(--ifm-muted);white-space:nowrap}.navigation.pagination{margin-top:25px}.nav-links{display:flex;gap:8px;justify-content:center}.page-numbers{background:#fff;border:1px solid var(--ifm-line);padding:8px 13px;border-radius:7px}.page-numbers.current{background:var(--ifm-blue);color:#fff}.ifm-article{max-width:940px;margin:auto;background:#fff;padding:42px;border-radius:14px;border:1px solid var(--ifm-line)}.ifm-article h1{font-size:42px;line-height:1.28;letter-spacing:-1.4px;margin:0 0 18px}.ifm-article .entry-content{font-size:18px}.ifm-article .entry-content p{margin:0 0 1.35em}.ifm-article .post-thumbnail{margin:28px -8px;border-radius:12px;overflow:hidden}.ifm-footer{background:#07152f;color:#dce5f7;padding:38px 0;margin-top:40px}.ifm-footer-inner{display:flex;justify-content:space-between;gap:25px;flex-wrap:wrap}.ifm-empty{padding:60px;text-align:center}.ifm-404{display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:center;min-height:460px}.ifm-404-code{font-size:150px;font-weight:900;color:#dbe4f2}.ifm-mobile-toggle{display:none;background:none;border:0;color:#fff;font-size:25px;padding:12px 18px}@media(max-width:1050px){.ifm-top-inner{flex-wrap:wrap;padding:20px 0}.ifm-search{order:3;max-width:none;flex-basis:100%}.ifm-live{display:none}.ifm-home-grid{grid-template-columns:1fr 1fr}.ifm-hero{grid-column:1/-1}}@media(max-width:720px){.ifm-shell{width:min(100% - 24px,var(--ifm-max))}.ifm-logo{font-size:37px}.ifm-tagline,.ifm-actions .ifm-login{display:none}.ifm-top-inner{min-height:auto}.ifm-nav-inner{display:flex}.ifm-nav a{min-width:78px;padding:14px 16px;font-size:15px}.ifm-home-grid,.ifm-404{grid-template-columns:1fr}.ifm-news-row{white-space:normal}.ifm-hero{min-height:330px;padding:24px}.ifm-hero h1{font-size:30px}.ifm-row{grid-template-columns:1fr}.ifm-row-title{white-space:normal}.ifm-article{padding:24px}.ifm-article h1{font-size:32px}.ifm-archive-head h1{font-size:30px}}

/* 13.0.2 Category Intelligence Form */
.ifm-category-page{background:#fff}.ifm-category-heading{padding:18px 0 22px;border-bottom:1px solid var(--ifm-line)}.ifm-category-heading h1{font-size:42px;line-height:1.2;margin:5px 0 12px;letter-spacing:-1.5px}.ifm-category-heading p{margin:0;color:var(--ifm-muted);font-weight:700}.ifm-breadcrumb{display:flex;justify-content:flex-end;gap:12px;color:#7a8598;font-size:14px}.ifm-category-intelligence{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.85fr);gap:18px;padding:24px 0 18px}.ifm-ai-brief,.ifm-flow-card{padding:25px 28px}.ifm-ai-brief{background:linear-gradient(135deg,#f5f9ff,#fff);border-color:#cfdcf1}.ifm-insight-label{font-size:14px;font-weight:900;color:#173c73;margin-bottom:12px}.ifm-insight-label span{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:8px;margin-right:8px;background:var(--ifm-blue);color:#fff}.ifm-ai-brief h2{font-size:25px;margin:0 0 10px}.ifm-ai-brief p{font-size:17px;line-height:1.75;margin:0}.ifm-brief-source{font-size:12px;color:var(--ifm-muted);margin-top:15px}.ifm-flow-groups{display:grid;gap:10px}.ifm-flow-group{display:grid;grid-template-columns:90px 1fr;gap:12px;padding:11px 12px;border-radius:9px;background:#f6f8fb;font-size:14px}.ifm-flow-group strong{white-space:nowrap}.ifm-flow-group.is-up strong{color:#087b43}.ifm-flow-group.is-down strong{color:#c33a32}.ifm-flow-group.is-watch strong{color:#9a6500}.ifm-keyword-bar{display:flex;align-items:center;gap:18px;padding:15px 18px;border:1px solid var(--ifm-line);border-radius:10px;background:#fafcff}.ifm-keyword-list{display:flex;gap:8px;flex-wrap:wrap}.ifm-keyword-list a{padding:7px 12px;border-radius:999px;background:#edf4ff;color:#185fbf;font-size:13px;font-weight:800}.ifm-category-list-head{display:flex;align-items:end;justify-content:space-between;margin-top:26px;border-bottom:2px solid #111}.ifm-category-list-head h2{font-size:23px;margin:0;padding:0 0 13px}.ifm-sort-tabs{display:flex}.ifm-sort-tabs a{padding:13px 19px;color:#7a8598;font-weight:800;border-bottom:3px solid transparent}.ifm-sort-tabs a.is-active{color:#111;border-color:#111}.ifm-category-page .ifm-archive-list{border-top:0}.ifm-category-page .ifm-row{padding:18px 12px;background:#fff}.ifm-row-main{min-width:0}.ifm-row-main p{margin:5px 0 0;color:var(--ifm-muted);font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:850px){.ifm-category-intelligence{grid-template-columns:1fr}.ifm-breadcrumb{justify-content:flex-start}.ifm-category-heading h1{font-size:34px}.ifm-keyword-bar{align-items:flex-start;flex-direction:column;gap:9px}.ifm-flow-group{grid-template-columns:80px 1fr}}
@media(max-width:560px){.ifm-ai-brief,.ifm-flow-card{padding:20px}.ifm-category-list-head{align-items:center}.ifm-sort-tabs a{padding:12px 11px}.ifm-row-main p{white-space:normal}.ifm-category-heading h1{font-size:30px}}


/* IssueFM 13.0.8 article presentation */
.ifm-article-header{margin-bottom:0}
.ifm-article-header h1{margin-bottom:0}
.ifm-article .entry-content>.issuefm-key-summary{margin-top:46px!important}
.issuefm-summary-body-divider{margin:56px 0 40px!important;border-top:1px solid #dfe5ee;height:1px;padding:0!important}
.issuefm-article-sources{margin-top:64px;padding-top:22px;border-top:1px solid #e4e7ec;color:#667085;font-size:14px}
.issuefm-article-sources strong{display:block;margin-bottom:8px;color:#344054}
.issuefm-article-sources p{margin:0;line-height:1.7}
