/*
Theme Name: Herbal Digest Guide
Version: 1.0.0
*/
:root{--ink:#17352d;--muted:#61736d;--green:#176b52;--green2:#0d4d3c;--sage:#eaf3ef;--cream:#fbfaf6;--line:#dce7e2;--white:#fff;--r:20px;--shadow:0 18px 60px rgba(20,60,48,.10);--max:1180px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:Pretendard,"Noto Sans KR",sans-serif;line-height:1.75;letter-spacing:-.015em}a{color:inherit;text-decoration:none}img{display:block;max-width:100%;height:auto}.wrap{width:min(calc(100% - 40px),var(--max));margin:auto}.site-header{position:sticky;top:0;z-index:40;background:rgba(251,250,246,.92);backdrop-filter:blur(18px);border-bottom:1px solid rgba(220,231,226,.85)}.head-in{height:80px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:12px;font-weight:800}.brand img{width:42px;height:42px;border-radius:12px}.nav{display:flex;gap:26px;color:#34574d;font-size:15px}.nav a,.btn{min-height:44px;display:inline-flex;align-items:center}.nav a:hover{color:var(--green)}.menu-btn{display:none;border:0;background:none;font-size:26px}.hero{padding:96px 0 88px}.hero-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:70px;align-items:center}.eyebrow{color:var(--green);font-size:14px;font-weight:800;letter-spacing:.12em}.hero h1{font-family:"Noto Serif KR",serif;font-size:clamp(48px,6vw,78px);line-height:1.13;letter-spacing:-.055em;margin:16px 0 24px}.lead{font-size:19px;color:var(--muted);max-width:620px}.hero-photo{border-radius:32px;overflow:hidden;box-shadow:var(--shadow);aspect-ratio:4/3}.hero-photo img{width:100%;height:100%;object-fit:cover}.btn{padding:0 22px;border-radius:999px;background:var(--green);color:white;font-weight:700;border:0;cursor:pointer;transition:.2s}.btn:hover{background:var(--green2);transform:translateY(-2px)}.btn.alt{background:var(--sage);color:var(--green2)}.actions{display:flex;gap:12px;margin-top:32px}.section{padding:96px 0}.section.white{background:white}.section-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:36px}.section h2{font-family:"Noto Serif KR",serif;font-size:clamp(32px,4vw,48px);line-height:1.25;margin:0}.section-intro{color:var(--muted);max-width:620px}.search-panel{background:var(--ink);color:white;border-radius:28px;padding:38px;box-shadow:var(--shadow)}.search-grid{display:grid;grid-template-columns:1fr 1fr 1fr 1.2fr auto;gap:12px}.field label{display:block;font-size:13px;color:#c7dad3;margin-bottom:7px}.field select,.field input{width:100%;height:48px;border:1px solid #567068;border-radius:12px;background:#fff;color:#17352d;padding:0 13px;font:inherit}.results{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:24px}.hospital{background:#284a40;border:1px solid #3c5c53;border-radius:16px;padding:20px}.hospital h3{margin:0 0 6px}.hospital p{margin:4px 0;color:#d9e6e1;font-size:14px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.card{background:white;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;transition:.25s}.card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}.card img{width:100%;aspect-ratio:16/10;object-fit:cover}.card-body{padding:22px}.card .meta{font-size:13px;color:var(--green);font-weight:700}.card h3{margin:8px 0;font-size:21px;line-height:1.4}.card p{color:var(--muted);font-size:15px}.notice{background:#fff7e8;border:1px solid #eed8a8;border-radius:16px;padding:20px;color:#624d27}.site-footer{background:#102d25;color:#d6e2de;padding:64px 0 30px}.foot-grid{display:grid;grid-template-columns:1.3fr .7fr .7fr;gap:50px}.site-footer h2{color:white;font-family:"Noto Serif KR"}.site-footer a{color:#d6e2de}.legal-foot{margin-top:42px;padding-top:24px;border-top:1px solid #345048;font-size:12px;color:#9fb4ad}.article-hero{padding:72px 0 40px}.article-hero h1,.page-title{font-family:"Noto Serif KR";font-size:clamp(38px,5vw,62px);line-height:1.25}.featured{border-radius:28px;width:100%;max-height:620px;object-fit:cover}.article{width:min(calc(100% - 40px),790px);margin:55px auto 100px;font-size:17px}.article h2{font-family:"Noto Serif KR";font-size:30px;line-height:1.4;margin:72px 0 20px}.article h3{font-size:21px}.article p{margin:0 0 20px}.article ul,.article ol{background:var(--sage);border-radius:16px;padding:22px 26px 22px 46px}.article blockquote{margin:30px 0;padding:22px;border-left:4px solid var(--green);background:white;border-radius:0 14px 14px 0}.article figure{margin:42px 0}.article figure img{border-radius:20px;width:100%}.article figcaption{font-size:13px;color:var(--muted);margin-top:9px}.table-wrap{overflow-x:auto;margin:28px 0}.article table{width:100%;border-collapse:collapse;background:white;border-radius:14px;overflow:hidden}.article th,.article td{padding:14px;border-bottom:1px solid var(--line);text-align:left}.article th{background:var(--sage)}.toc{background:white;border:1px solid var(--line);border-radius:18px;padding:24px;margin:28px 0}.toc strong{display:block;margin-bottom:10px}.related{margin-top:64px}.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.related a{background:white;border:1px solid var(--line);border-radius:14px;padding:15px;font-weight:700}.ai-notice,.legal-notice{font-size:.85em}.page-shell{padding:80px 0 110px}.page-content{max-width:800px;background:white;border:1px solid var(--line);border-radius:24px;padding:42px}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px)}:focus-visible{outline:3px solid #58aa8f;outline-offset:3px}
@media(max-width:900px){.nav{display:none;position:absolute;top:80px;left:0;right:0;padding:20px;background:var(--cream);flex-direction:column}.nav.open{display:flex}.menu-btn{display:block}.hero{padding:60px 0}.hero-grid{grid-template-columns:1fr;gap:36px}.search-grid{grid-template-columns:1fr 1fr}.search-grid .btn{grid-column:1/-1;justify-content:center}.cards{grid-template-columns:1fr 1fr}.foot-grid{grid-template-columns:1fr}.section{padding:72px 0}}
@media(max-width:620px){.wrap{width:min(calc(100% - 28px),var(--max))}.head-in{height:70px}.brand span{font-size:14px}.hero h1{font-size:44px}.hero-photo{border-radius:22px}.search-panel{padding:22px}.search-grid,.results,.cards{grid-template-columns:1fr}.section-head{align-items:start;flex-direction:column}.article{width:calc(100% - 30px);font-size:16px}.article h2{font-size:25px;margin-top:56px}.related-grid{grid-template-columns:1fr}.page-content{padding:24px}.actions{flex-direction:column}.actions .btn{justify-content:center}}
