/*
Theme Name: Healthy Food Magazine
Description: 건강한푸드 식단·현장 소식·급식 가이드 블로그
Version: 1.3.2
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: healthyfood-magazine
*/
:root{--bg:#faf8f2;--ink:#243e32;--muted:#687267;--line:#d9ddd1;--green:#294c3c}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--bg);font:15px/1.85 -apple-system,BlinkMacSystemFont,"Malgun Gothic",sans-serif;word-break:keep-all;overflow-wrap:anywhere}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline;text-underline-offset:5px}button,input{font:inherit}button,a,input{touch-action:manipulation}button{cursor:pointer}img{max-width:100%;height:auto;display:block}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.45;letter-spacing:-.045em}h1{font:normal 46px/1.4 Georgia,"Batang",serif;letter-spacing:-.05em}h2{font-size:25px}h3{font-size:21px}p{color:var(--muted)}.wrap{width:min(1180px,calc(100% - 64px));margin:auto}.topbar{border-bottom:1px solid var(--line);background:#fffdf8}.header{display:flex;gap:30px;align-items:center;min-height:91px}.logo{margin-right:auto}.logo img{width:180px;height:54px;object-fit:contain}.top-links{display:flex;gap:25px;font-size:13px}.subtle-link{font-size:12px;color:var(--muted)}.intro{padding:45px 0 28px;display:flex;align-items:flex-end;justify-content:space-between;gap:25px}.eyebrow{font-size:10px;letter-spacing:.18em;font-weight:700;color:#617561;margin-bottom:10px}.intro h1{font-size:40px}.intro p{font-size:13px}.category-nav{display:flex;gap:28px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:15px 0;margin-bottom:34px;flex-wrap:wrap;font-size:14px;align-items:center}.category-nav ul{list-style:none;display:contents}.category-nav li{display:contents}.category-nav button{border:0;background:none;color:inherit;padding:5px 0}.category-nav .active,.category-nav .current-cat a{font-weight:bold;text-decoration:underline;text-underline-offset:9px}.category-nav .caption{margin-left:auto;font-size:11px;color:var(--muted)}.layout{display:grid;grid-template-columns:minmax(0,1fr) 255px;gap:46px;padding-bottom:65px}.feature{display:grid;grid-template-columns:1.18fr 1fr;background:#eeeee4;margin-bottom:40px}.feature img{width:100%;height:100%;min-height:300px;object-fit:cover}.feature-copy{padding:30px;display:flex;flex-direction:column;justify-content:center}.badge{font-size:11px;color:#6c795d;font-weight:bold;margin-bottom:13px}.feature h2{font-family:Georgia,"Batang",serif;font-weight:400;font-size:29px}.feature p{font-size:13px;margin:15px 0}.meta{font-size:11px;color:var(--muted);margin-top:14px}.section-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--ink);padding-bottom:13px;margin-bottom:25px}.section-head h2{font-size:19px}.section-head span{font-size:11px;color:var(--muted)}.posts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 24px}.post-card{min-width:0}.post-card img{width:100%;aspect-ratio:1.7;object-fit:cover;margin-bottom:17px}.post-card .badge{margin-bottom:8px}.post-card p{font-size:13px;margin-top:10px}.cover{aspect-ratio:1.7;display:flex;flex-direction:column;justify-content:space-between;padding:25px;background:#e4e8dc;margin-bottom:17px;position:relative;overflow:hidden}.cover:after{content:'';position:absolute;border:1px solid #83977d;border-radius:50%;width:200px;height:200px;right:-60px;top:45px}.cover span{font-size:10px;letter-spacing:.13em}.cover strong{font-family:Georgia,"Batang",serif;font-size:25px;font-weight:400;position:relative;z-index:1}.cover.onsite{background:#eae3d7;color:#67513c}.sidebox{border-bottom:1px solid var(--line);padding:0 0 26px;margin-bottom:26px}.sidebox h2{font-size:16px;margin-bottom:13px}.about-mark{font-family:Georgia,serif;font-style:italic;font-size:34px;color:var(--green);margin-bottom:12px}.sidebox p{font-size:12px}.sidebox ul{list-style:none;padding:0;margin:0}.sidebox li{padding:9px 0;border-bottom:1px solid #e7e9df;font-size:13px}.sidebox a small{float:right;color:var(--muted)}.search-form{display:flex;gap:6px}.search-form input{width:100%;min-width:0;border:1px solid var(--line);background:#fffef9;padding:9px 11px;font-size:12px}.search-form button{flex-shrink:0;background:var(--green);color:white;border:0;padding:8px 12px;font-size:12px}.consult{background:#eaeee4;padding:23px;border:0}.consult h2{font-size:19px}.consult .phone{display:block;font-family:Georgia,serif;font-size:23px;margin-top:13px}.consult .kakao{display:block;border-bottom:1px solid #9caa90;margin-top:12px;padding-bottom:6px;font-size:12px}.tagcloud{display:flex;gap:7px;flex-wrap:wrap}.tagcloud a,.tagcloud span{font-size:11px;background:#eeefe6;padding:4px 9px}.empty{padding:40px 0}.pagination,.nav-links{margin-top:35px;display:flex;gap:16px;flex-wrap:wrap}.nav-links a,.nav-links span{padding:5px 12px;border:1px solid var(--line)}footer{border-top:1px solid var(--line);padding:30px 0;font-size:11px;color:var(--muted)}.footer-row{display:flex;justify-content:space-between;gap:25px}.sample-note{font-size:11px;color:#7a7260;padding:10px 0}.article{max-width:760px;margin:20px auto 70px}.article h1{font-size:38px}.article .entry{font-size:16px;line-height:2;margin:32px 0}.entry p{margin:0 0 1.5em;color:var(--ink)}.entry h2,.entry h3{margin:1.5em 0 .7em}.entry ul,.entry ol{padding-left:24px}.entry a{text-decoration:underline}.article .hero-image{margin:30px 0}.article .hero-image img{width:100%;max-height:460px;object-fit:cover}.article .entry-footer{border-top:1px solid var(--line);padding-top:22px;font-size:13px}.back{display:inline-block;font-size:12px;margin:15px 0 25px}.post-navigation{border-top:1px solid var(--line);padding-top:22px}.comment-form label{display:block}.comment-form input:not([type=checkbox]),.comment-form textarea{max-width:100%;padding:10px;border:1px solid var(--line)}.comment-form textarea{width:100%}.skip,.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.skip:focus{clip:auto;width:auto;height:auto;background:white;z-index:10;padding:15px}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #a97d35;outline-offset:4px}[hidden]{display:none!important}.alignwide,.alignfull{max-width:100%}.wp-caption{max-width:100%}.wp-caption-text{font-size:12px}.gallery{display:flex;flex-wrap:wrap}
@media(max-width:1000px){.layout{grid-template-columns:minmax(0,1fr) 225px;gap:28px}.feature{grid-template-columns:1fr}.feature img{height:260px;min-height:0}.feature-copy{padding:25px}.intro{display:block}.intro>p{margin-top:12px}.top-links{gap:16px}}
@media(max-width:700px){.wrap{width:calc(100% - 36px)}.header{min-height:76px;flex-wrap:wrap;gap:8px;padding:12px 0}.logo img{width:152px;height:44px}.top-links{font-size:11px;gap:14px}.top-links .desktop-only{display:none}.intro{padding:28px 0 23px}.intro h1{font-size:32px}.category-nav{gap:10px 20px;margin-bottom:24px;font-size:12px;padding:11px 0}.category-nav .caption{display:none}.layout{grid-template-columns:1fr;gap:38px}.feature h2{font-size:27px}.feature img{height:230px}.feature{margin-bottom:30px}.posts{gap:28px 15px}.post-card h3{font-size:17px}.post-card p{font-size:12px}.post-card .meta{font-size:10px}.cover{padding:14px}.cover strong{font-size:19px}.cover span{font-size:8px}.sidebox{margin-bottom:22px}.sidebar{display:grid;grid-template-columns:1fr 1fr;gap:22px}.sidebar .sidebox{margin:0}.sidebar .search-box{grid-column:1/-1}.article h1{font-size:30px}.article .entry{font-size:15px}.footer-row{display:block}.footer-row>div+div{margin-top:12px}}
@media(max-width:380px){.posts,.sidebar{grid-template-columns:1fr}.post-card h3{font-size:21px}.cover strong{font-size:25px}.top-links{gap:10px}.feature-copy{padding:22px}}

/* Concept 02 — Fresh editorial magazine */
:root{--bg:#fff;--ink:#153f36;--muted:#66756e;--line:#e1e9e3;--green:#17694f;--mint:#e5f3df;--orange:#ff704b}
body{background:var(--bg);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Malgun Gothic",sans-serif}
.wrap{width:min(1200px,calc(100% - 72px))}.topbar{background:white}.header{min-height:84px}.top-links a{font-weight:600}.top-links a:last-child{background:#153f36;color:white;padding:8px 16px;border-radius:30px}.logo img{width:172px}
.intro{padding:42px 0 24px;align-items:center}.eyebrow{color:#17694f;letter-spacing:.12em;font-weight:800}.intro .eyebrow:before{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--orange);margin-right:9px}.intro h1{font-family:inherit;font-size:43px;font-weight:800;letter-spacing:-.065em}.intro>p{max-width:250px;font-size:13px}.category-nav{border:0;gap:9px;padding:0;margin-bottom:28px}.category-nav button,.category-nav>a,.category-nav li a{border:1px solid var(--line);padding:9px 19px;border-radius:40px;background:white;font-size:12px;font-weight:600}.category-nav .active,.category-nav .current-cat a{background:var(--green);color:#fff;border-color:var(--green);text-decoration:none}.category-nav button:hover,.category-nav a:hover{border-color:var(--green)}.category-nav .caption{letter-spacing:.13em;font-size:10px}.layout{display:block;padding-bottom:55px}.feature{grid-template-columns:1fr 1.08fr;overflow:hidden;border-radius:24px;background:var(--mint);margin-bottom:47px;min-height:365px}.feature>a{order:2;display:block;min-width:0}.feature img{min-height:365px;height:100%;max-height:440px;object-fit:cover}.feature-copy{order:1;padding:38px 44px;position:relative}.feature-copy:after{display:none}.feature .badge{align-self:flex-start;background:#fff;padding:5px 11px;border-radius:30px;color:var(--green);margin-bottom:17px}.feature h2{font-family:inherit;font-size:34px;font-weight:800;line-height:1.4;letter-spacing:-.065em}.feature p{max-width:360px;font-size:13px;line-height:1.9;margin:17px 0 0}.feature .meta{font-size:10px;margin-top:17px}.section-head{border:0;margin-bottom:21px;padding:0}.section-head h2{font-size:23px;font-weight:800}.section-head h2:before{content:'';width:8px;height:20px;display:inline-block;vertical-align:-2px;background:var(--orange);border-radius:3px;margin-right:10px}.posts{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 24px}.post-card{border:1px solid var(--line);border-radius:17px;padding:0 0 23px;overflow:hidden;background:white;transition:box-shadow .2s,transform .2s}.post-card:hover{box-shadow:0 10px 30px #183f3510;transform:translateY(-3px)}.post-card>a{display:block}.post-card img{aspect-ratio:1.75;margin-bottom:18px}.post-card .badge,.post-card h3,.post-card>p,.post-card>.meta{margin-left:22px;margin-right:22px}.post-card h3{font-size:20px;font-weight:750}.post-card .badge{color:#20805b;font-size:10px}.post-card>p{font-size:12px}.post-card>.meta{font-size:10px;margin-top:18px}.cover{aspect-ratio:1.75;margin-bottom:18px;background:#dcefe1;padding:25px}.cover strong{font-family:inherit;font-weight:800;font-size:32px;letter-spacing:-.05em}.cover:after{width:160px;height:160px;background:#b0d7bb;border:0;right:-22px;top:40px}.cover.onsite{background:#fff0d7;color:#74523a}.cover.onsite:after{background:#f6c967}.sidebar{margin-top:48px;display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:20px;border-top:1px solid var(--line);padding-top:30px}.sidebox{padding:25px;background:#f6f8f4;border:0;border-radius:16px;margin:0}.sidebox.search-box{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 26px;background:#f1f6ed}.search-box h2{margin:0;white-space:nowrap}.search-form{width:min(460px,100%)}.search-form input{border-radius:8px;background:#fff;min-height:44px}.search-form button{border-radius:8px}.about-mark{font-family:inherit;font-weight:800;font-size:27px;line-height:1.25;letter-spacing:-.04em;margin-bottom:18px}.sidebox h2{font-weight:750}.consult{background:#153f36;color:white}.consult p{color:#d3e9dc}.consult .phone{color:#fff;font-family:inherit;font-weight:700;font-size:24px}.consult .kakao{border-color:#6c8c7b}.sidebar .sidebox:last-child{grid-column:1/-1;background:transparent;padding:0;display:flex;align-items:center;gap:22px}.sidebar .sidebox:last-child h2{margin:0;font-size:12px}.tagcloud a,.tagcloud span{border-radius:30px;background:#f0f4ed}.sample-note{margin-top:22px}.article{max-width:780px}.article h1{font-family:inherit;font-weight:800;font-size:40px}.article .hero-image{overflow:hidden;border-radius:20px}.article .entry-footer{background:#edf4e8;border:0;padding:25px;border-radius:14px}.article .posts{grid-template-columns:1fr 1fr}footer{background:#f6f8f4;border:0;padding:32px 0}.footer-row strong{color:var(--ink)}
@media(max-width:1000px){.feature{grid-template-columns:1fr 1fr;min-height:340px}.feature-copy{padding:28px}.feature h2{font-size:29px}.feature img{height:100%;min-height:340px}.intro{display:flex}.intro h1{font-size:35px}.posts{gap:22px 18px}.post-card h3{font-size:18px}.post-card .badge,.post-card h3,.post-card>p,.post-card>.meta{margin-left:17px;margin-right:17px}.sidebar{grid-template-columns:1fr 1fr}.sidebar .consult{grid-column:1/-1}.consult .phone{white-space:nowrap}}
@media(max-width:700px){.wrap{width:calc(100% - 36px)}.header{min-height:74px}.logo img{width:143px}.top-links{gap:11px}.top-links a:last-child{padding:6px 10px}.intro{display:block;padding:30px 0 23px}.intro h1{font-size:31px}.intro>p{max-width:none;font-size:12px;margin-top:10px}.category-nav{gap:7px;margin-bottom:22px}.category-nav button,.category-nav>a,.category-nav li a{padding:8px 12px;font-size:11px}.feature{grid-template-columns:1fr;border-radius:18px;min-height:0;margin-bottom:33px}.feature>a{order:1}.feature img{height:205px;min-height:0;max-height:none}.feature-copy{order:2;padding:25px}.feature h2{font-size:27px}.feature .badge{margin-bottom:12px}.feature p{font-size:12px}.feature-copy:after{margin-top:15px}.section-head h2{font-size:21px}.section-head>span{font-size:9px}.posts{grid-template-columns:1fr 1fr;gap:22px 13px}.post-card{border-radius:13px;padding-bottom:17px}.post-card h3{font-size:17px}.post-card .badge,.post-card h3,.post-card>p,.post-card>.meta{margin-left:14px;margin-right:14px}.post-card>p{font-size:11px}.cover{padding:14px}.cover strong{font-size:23px}.sidebar{grid-template-columns:1fr;gap:15px;margin-top:32px}.sidebox.search-box{display:block;padding:22px}.search-box h2{margin-bottom:12px}.sidebar .sidebox:last-child{flex-wrap:wrap;gap:12px}.about-mark{font-size:28px}.article h1{font-size:30px}}
@media(max-width:380px){.posts,.article .posts{grid-template-columns:1fr}.post-card h3{font-size:22px}.intro h1{font-size:28px}.top-links{gap:8px;font-size:10px}.logo img{width:132px}.cover strong{font-size:30px}}
@media(prefers-reduced-motion:reduce){.post-card{transition:none}.post-card:hover{transform:none}}

/* Installation release: readable content and empty-image fallbacks. */
.category-nav a[aria-current="page"]{background:var(--green);color:white;border-color:var(--green)}
.feature>a>.cover{height:100%;min-height:365px;margin:0;justify-content:center;gap:30px}
.entry pre{overflow:auto;max-width:100%;padding:18px;background:#f1f5ed}
.entry iframe,.entry video{max-width:100%}.entry .wp-block-table{overflow:auto}
.entry table{border-collapse:collapse;max-width:100%;width:100%}.entry td,.entry th{border:1px solid var(--line);padding:10px}
.entry blockquote{border-left:3px solid var(--green);margin:25px 0;padding:12px 22px;background:#f2f7ed}
.entry input[type="password"]{max-width:100%;padding:9px;border:1px solid var(--line)}
.entry input[type="submit"],.comment-form input[type="submit"]{background:var(--green);color:white;border:0;padding:10px 18px}
.comments-area{margin-top:35px}.comments-area ol{padding-left:22px}.comments-area li{margin:20px 0}
.screen-reader-text:focus{clip:auto;width:auto;height:auto;position:relative;white-space:normal}
@media(max-width:700px){.feature>a>.cover{min-height:205px}.entry{overflow-wrap:anywhere}.post-navigation .nav-links{display:block}.post-navigation .nav-links>div{margin:12px 0}}

/* 1.2: Fixed quick links. Reserve space instead of covering article text. */
@media(min-width:701px){body{padding-right:100px}}
.hfm-quick{position:fixed;right:12px;top:50%;transform:translateY(-50%);z-index:90;width:76px;display:grid;gap:8px}
.hfm-quick a{min-height:78px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;border:1px solid #dce6de;border-radius:15px;background:white;color:#153f36;font-size:10px;font-weight:700;line-height:1.5;text-align:center;box-shadow:0 3px 12px #153f3610;padding:10px 3px}
.hfm-quick a:hover{text-decoration:none;filter:brightness(.96)}
.hfm-quick .hfm-quick-phone{background:#153f36;color:white;border-color:#153f36}
.hfm-quick .hfm-quick-kakao{background:#fee500;color:#332d19;border-color:#fee500}
.hfm-quick-symbol{font-size:23px;line-height:1.2}.hfm-quick-kakao .hfm-quick-symbol{font-size:13px;font-weight:800;letter-spacing:-.04em}
@media(max-width:1000px) and (min-width:701px){.header{flex-wrap:wrap;padding:13px 0;gap:10px}.top-links{flex-wrap:wrap;gap:12px;font-size:12px}.header .logo{margin-right:auto}}
@media(max-width:700px){body{padding-right:0;padding-bottom:calc(78px + env(safe-area-inset-bottom,0px))}.header{gap:9px;padding:12px 0}.top-links{width:100%;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:11px}.top-links a{min-height:36px;display:inline-flex;align-items:center}.hfm-quick{top:auto;bottom:0;left:0;right:0;transform:none;width:auto;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:9px 12px calc(9px + env(safe-area-inset-bottom,0px));background:#fffdf8;border-top:1px solid #dce6de}.hfm-quick a{min-height:53px;flex-direction:row;gap:6px;padding:7px 4px;border-radius:10px;font-size:11px;box-shadow:none}.hfm-quick-symbol{font-size:18px}.hfm-quick-kakao .hfm-quick-symbol{font-size:10px}html{scroll-padding-bottom:90px}}

/* Automatic consultation box on individual posts. */
.hfm-post-consultation{max-width:720px;margin:40px auto;padding:30px 22px;background:#f4f8f5;border:1px solid #dce8df;border-radius:16px;text-align:center}
.hfm-post-consultation h2{margin:0 0 10px;color:#183e31;font-size:22px;line-height:1.5}
.hfm-post-consultation .hfm-consultation-intro{margin:0 0 24px;color:#5b7064;font-size:15px;line-height:1.7}
.hfm-consultation-actions{display:grid;gap:10px}
.hfm-consultation-actions a{display:block;padding:15px;border:1px solid transparent;border-radius:9px;font-size:16px;font-weight:700;line-height:1.6;text-decoration:none}
.hfm-consultation-actions a:hover{filter:brightness(.96)}
.hfm-consultation-actions .hfm-consultation-phone{background:#245c46;color:#fff}
.hfm-consultation-actions .hfm-consultation-kakao{background:#fee500;color:#302800}
.hfm-consultation-actions .hfm-consultation-online{background:#fff;color:#245c46;border-color:#245c46}
.hfm-post-consultation .hfm-consultation-note{margin:20px 0 0;color:#748579;font-size:12px;line-height:1.7}
.hfm-post-tags{margin:24px 0;font-size:13px}
@media(max-width:380px){.hfm-post-consultation{padding:24px 15px}.hfm-post-consultation h2{font-size:20px}.hfm-consultation-actions a{font-size:14px;padding:14px 8px}}

/* Compact header with a single blog link, including on mobile. */
.header .top-links-simple{width:auto;flex-wrap:nowrap;flex-shrink:0;justify-content:flex-end}
.top-links-simple a:last-child{background:transparent;color:var(--ink);padding:8px 0;border-radius:0;min-height:44px;display:inline-flex;align-items:center}
