/*
Theme Name: Info Korea 365
Author: Info Korea 365
Description: 정보코리아365 종합 실용정보 블로그 전용 테마
Version: 1.0.11
Text Domain: infokorea365
*/
:root{--navy:#102a43;--blue:#176b87;--mint:#1f9d88;--ink:#17212b;--muted:#657786;--line:#e6ebef;--bg:#f6f8fa;--white:#fff;--radius:18px;--shadow:0 10px 30px rgba(16,42,67,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--bg);font-family:-apple-system,BlinkMacSystemFont,"Pretendard","Noto Sans KR","Segoe UI",sans-serif;line-height:1.75}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}img{max-width:100%;height:auto;border-radius:14px}.wrap{width:min(1180px,calc(100% - 40px));margin:auto}.site-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}.header-inner{min-height:74px;display:flex;align-items:center;gap:28px}.brand{font-weight:900;font-size:1.45rem;color:var(--navy);white-space:nowrap}.brand span{color:var(--mint)}.main-nav{display:flex;gap:18px;flex:1;overflow:auto}.main-nav a{color:var(--ink);font-weight:700;font-size:.94rem;white-space:nowrap}.search-link{padding:10px 15px;border:1px solid var(--line);border-radius:999px}.hero{padding:72px 0 54px;background:linear-gradient(135deg,#eff8f6,#edf4f8)}.hero-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:44px;align-items:center}.eyebrow{color:var(--mint);font-weight:900;letter-spacing:.08em}.hero h1{margin:.25rem 0 1rem;color:var(--navy);font-size:clamp(2.15rem,5vw,4rem);line-height:1.13}.hero p{font-size:1.1rem;color:var(--muted)}.search-form{display:flex;gap:10px;margin-top:24px}.search-form input{min-width:0;flex:1;padding:15px 18px;border:1px solid #ccd8df;border-radius:12px;font:inherit}.btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 18px;border:0;border-radius:12px;background:var(--navy);color:white;font-weight:800;cursor:pointer}.hero-card{background:white;border:1px solid var(--line);border-radius:24px;padding:28px;box-shadow:var(--shadow)}.hero-card strong{display:block;font-size:1.2rem;color:var(--navy)}.section{padding:52px 0}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}.section h2{margin:0;color:var(--navy);font-size:1.75rem}.category-grid,.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.category-card,.post-card{display:block;background:white;border:1px solid var(--line);border-radius:var(--radius);padding:24px;box-shadow:0 4px 16px rgba(16,42,67,.04);transition:.2s}.category-card:hover,.post-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);text-decoration:none}.category-card h3,.post-card h2,.post-card h3{color:var(--navy);margin:.25rem 0}.category-card p,.post-card p{color:var(--muted);margin:.5rem 0 0}.meta{font-size:.85rem;color:var(--muted)}.post-card img{aspect-ratio:3/2;object-fit:cover;margin-bottom:15px}.content-layout{display:grid;grid-template-columns:minmax(0,780px) 280px;gap:42px;align-items:start;padding:50px 0}.article{background:white;border:1px solid var(--line);border-radius:22px;padding:clamp(24px,5vw,50px)}.article h1{font-size:clamp(2rem,4vw,3rem);line-height:1.22;color:var(--navy)}.article h2{margin-top:2.2em;color:var(--navy);border-left:5px solid var(--mint);padding-left:14px}.article .featured{width:100%;aspect-ratio:3/2;object-fit:cover;margin:26px 0}.summary{background:#eff8f6;border-radius:14px;padding:20px;margin:24px 0}.official-link{display:inline-flex;margin:18px 0;padding:14px 18px;border:2px solid var(--mint);border-radius:12px;color:#116c5d;font-weight:900}.sidebar{position:sticky;top:98px}.side-box{background:white;border:1px solid var(--line);border-radius:16px;padding:20px;margin-bottom:18px}.site-footer{background:var(--navy);color:#d9e5ec;padding:48px 0}.site-footer a{color:white}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:36px}.notice{font-size:.88rem;color:#a9becb}.pagination{margin-top:28px}.nav-links{display:flex;gap:8px}.page-numbers{padding:8px 12px;background:#fff;border:1px solid var(--line);border-radius:8px}.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}:focus-visible{outline:3px solid #f4b942;outline-offset:3px}
.post-card{position:relative;cursor:pointer}.post-card-link{position:absolute;inset:0;z-index:1;border-radius:inherit}
.home-latest-section{padding-top:38px}.home-post-grid .post-card{min-height:320px;height:auto;padding:16px;overflow:hidden}.home-post-grid .post-card img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;margin:0 0 8px}.home-post-grid .meta{font-size:.74rem;line-height:1.35}.home-post-grid .post-card h2{margin:.2rem 0 0;font-size:1.05rem;line-height:1.28;letter-spacing:-.02em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.latest-text-list{list-style:none;margin:22px 0 0;padding:0;border-top:1px solid var(--line)}.latest-text-list li{border-bottom:1px solid var(--line)}.latest-text-list a{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:11px 4px;color:var(--ink);font-weight:700}.latest-text-list span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.latest-text-list time{flex:0 0 auto;color:var(--muted);font-size:.82rem;font-weight:400}
@media(max-width:900px){.hero-grid,.content-layout{grid-template-columns:1fr}.category-grid,.post-grid{grid-template-columns:repeat(2,1fr)}.sidebar{position:static}.main-nav{display:none}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.wrap{width:min(100% - 28px,1180px)}.hero{padding:50px 0}.category-grid,.post-grid,.footer-grid{grid-template-columns:1fr}.search-form{flex-direction:column}.article{border-radius:14px}.header-inner{min-height:64px}.home-post-grid .post-card{min-height:0}.latest-text-list a{gap:12px}.latest-text-list time{font-size:.76rem}}
.article table{width:100%;margin:1.5rem 0;border:1px solid #cbd7de;border-collapse:collapse;background:#fff}.article th,.article td{padding:.75rem 1rem;border:1px solid #cbd7de;text-align:left;vertical-align:top;line-height:1.6}.article th{background:#eef5f7;color:var(--navy);font-weight:800}.article tbody tr:nth-child(even){background:#f8fbfc}
.editor-byline{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin:16px 0 24px;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:#f8fbfc;font-size:.9rem}.editor-byline strong{color:var(--navy)}.editor-byline span{color:var(--muted);margin-right:auto}.editor-byline a{font-weight:700}
