/*
Theme Name: 멀메이드 뷰티 레이어
Description: 화장품 밀림·들뜸·뭉침을 다루는 자료 조사 중심 뷰티 매거진 테마.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: mermaid-beauty-layer
*/
:root{--ink:#153a38;--muted:#667874;--teal:#185e57;--mint:#e6f1eb;--cream:#f6f7f2;--line:#e3e9e4}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;color:var(--ink);font-family:system-ui,-apple-system,"Noto Sans KR",sans-serif;font-size:16px;line-height:1.7;background:white}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a,summary,input{touch-action:manipulation}a:focus-visible,summary:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #b07319;outline-offset:5px}img{max-width:100%;height:auto}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.35;letter-spacing:-.045em}h2{font-size:30px;margin-bottom:0}h3{font-size:22px}.wrap{max-width:1200px;margin:auto;padding:0 28px}.brand-row{min-height:112px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px}.brand{display:flex;gap:12px;align-items:center;font-weight:800;font-size:25px;letter-spacing:-.05em}.brand small{display:block;font-size:10px;letter-spacing:.23em;font-weight:600;margin-top:2px}.brand-mark{display:grid;place-items:center;background:var(--teal);color:#fff;border-radius:15px 15px 5px 15px;width:44px;height:44px;font-size:36px;font-weight:400}.brand-note{font-size:12px;color:var(--muted)}.right{text-align:right}.nav-row{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.nav-inner{display:flex;align-items:center;justify-content:center;gap:40px;min-height:66px}.menu{display:flex;list-style:none;margin:0;padding:0;gap:38px;align-items:center;font-size:15px;font-weight:700}.menu a{display:block;padding:16px 0}.menu a:hover{color:#337f6e}.menu .sub-menu{padding:10px;list-style:none;background:white}.menu li{position:relative}.menu .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:180px;z-index:5}.menu li:focus-within>.sub-menu,.menu li:hover>.sub-menu{display:block}.search-dropdown{position:relative}.search-dropdown summary{cursor:pointer;font-size:14px;list-style:none}.search-dropdown summary::-webkit-details-marker{display:none}.search-dropdown .search-form{position:absolute;right:0;top:35px;background:white;padding:15px;box-shadow:0 8px 30px #153a3820;z-index:10;width:330px}.search-form{display:flex;gap:8px}.search-form label{flex:1;min-width:0}.search-form input{width:100%;padding:10px 12px;border:1px solid #a8bcb4;border-radius:5px}.search-form button{border:0;border-radius:5px;background:var(--teal);color:white;padding:10px 18px}.hero{background:var(--mint);overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;min-height:470px;gap:30px}.eyebrow{display:block;color:var(--teal);font-size:11px;font-weight:800;letter-spacing:.14em;margin-bottom:14px}.hero h1{font-size:44px;margin-bottom:24px}.hero p{font-size:17px;color:#527069;margin-bottom:26px}.button{display:inline-flex;gap:30px;align-items:center;background:var(--teal);color:white;font-weight:700;font-size:14px;border-radius:7px;padding:13px 22px}.hero-art{position:relative;min-height:420px}.orb{position:absolute;width:310px;height:310px;border-radius:50%;background:#d1e3d7;top:50px;left:80px}.bottle{position:absolute;display:flex;align-items:center;justify-content:center;box-shadow:10px 16px 25px #28605514;transform:rotate(13deg);border:1px solid #ffffff70;border-radius:30px 30px 15px 15px}.bottle:before{content:"";position:absolute;top:-27px;width:65%;height:35px;border-radius:7px 7px 0 0;background:#edf3ed}.bottle span{text-align:center;font-size:18px;letter-spacing:.08em}.bottle small{font-size:8px}.tall{width:123px;height:218px;background:linear-gradient(100deg,#8bab98,#c6ddc9);left:200px;top:124px}.short{width:107px;height:145px;background:linear-gradient(100deg,#eae5d9,#fffdf6);left:84px;top:232px;transform:rotate(-10deg)}.art-caption{position:absolute;top:60px;left:0;font-size:19px;letter-spacing:-.04em;line-height:1.5}.art-tag{position:absolute;right:10px;bottom:35px;font-size:9px;letter-spacing:.17em}.section{padding-top:64px;padding-bottom:22px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:28px}.section-heading .eyebrow{margin-bottom:8px}.section-heading p{font-size:13px;color:var(--muted);margin-bottom:3px}.problem-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.problem-card{position:relative;border:1px solid var(--line);border-radius:14px;padding:24px 24px 30px;transition:background .15s}.problem-card:hover{background:#f1f7f2}.problem-number{font-size:11px;color:#709a83;font-weight:800;letter-spacing:.08em}.problem-card h3{margin:24px 0 10px}.problem-card p{font-size:13px;color:var(--muted);max-width:170px;margin-bottom:14px}.arrow{position:absolute;right:22px;bottom:16px;font-size:23px}.guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.guide-card{border:1px solid var(--line);border-radius:15px;overflow:hidden;background:white}.card-link{display:block;height:100%}.card-image{height:200px;background:var(--cream);display:grid;place-items:center;overflow:hidden}.card-image img{width:100%;height:100%;object-fit:cover}.layer-symbol{display:flex;flex-direction:column;gap:8px;transform:rotate(-16deg)}.layer-symbol i{display:block;width:95px;height:23px;border-radius:50%;background:#d3e1d6;box-shadow:0 6px 0 #acc5b5}.card-body{padding:24px}.card-body .eyebrow{font-size:11px;letter-spacing:0}.card-body h3{font-size:20px;margin-bottom:12px}.card-body p{color:var(--muted);font-size:14px;line-height:1.8}.card-more{display:flex;justify-content:space-between;color:var(--teal);font-size:12px;font-weight:700;margin-top:24px}.editorial-strip{background:var(--cream);margin-top:64px;padding:48px 0}.editorial-strip h2{margin-bottom:20px}.editorial-strip p{color:var(--muted);margin:0;font-size:15px}.site-footer{padding:42px 0 30px;margin-top:40px;border-top:1px solid var(--line)}.footer-top{display:flex;justify-content:space-between;gap:30px}.site-footer .brand{font-size:20px}.site-footer p{font-size:12px;color:var(--muted)}.site-footer .menu{font-size:12px;gap:20px;font-weight:500}.copyright{margin-bottom:0}.article-wrap{max-width:820px;margin:auto;padding-left:28px;padding-right:28px}.article-header h1{font-size:38px}.article-meta,.breadcrumb{font-size:13px;color:var(--muted)}.breadcrumb{margin-bottom:24px}.article-feature{border-radius:12px}.entry-content{font-size:17px;line-height:1.95}.entry-content h2{font-size:27px;margin:44px 0 18px}.entry-content h3{font-size:22px;margin-top:30px}.entry-content p{margin-bottom:24px}.entry-content a,.breadcrumb a,.article-nav a{text-decoration:underline;text-underline-offset:4px;color:var(--teal)}.entry-content iframe{max-width:100%}.entry-content table{display:block;overflow:auto}.article-nav{margin:45px 0;display:flex;justify-content:space-between;gap:22px;font-size:14px}.pagination{margin:36px 0}.page-numbers{padding:6px 12px}.empty-state{grid-column:1/-1;padding:30px;border:1px solid var(--line);border-radius:12px}.screen-reader-text,.skip-link{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link:focus{width:auto;height:auto;clip:auto;top:10px;left:10px;background:#fff;padding:15px;z-index:100}
@media(max-width:900px){.brand-note{display:none}.brand-row{display:flex;justify-content:center;min-height:95px}.menu{gap:23px}.nav-inner{gap:22px}.hero h1{font-size:36px}.hero-art{transform:scale(.8);transform-origin:left center}.problem-grid{grid-template-columns:repeat(2,1fr)}.guide-grid{grid-template-columns:repeat(2,1fr)}.footer-top{flex-direction:column;gap:12px}}
@media(max-width:600px){.wrap{padding:0 20px}.brand{font-size:23px}.brand-row{min-height:90px}.nav-inner{display:block;padding-bottom:10px;position:relative}.menu{gap:23px;overflow-x:auto;white-space:nowrap;font-size:13px}.nav-inner nav{padding-right:0}.search-dropdown{margin-top:4px}.search-dropdown .search-form{left:0;right:auto;width:min(330px,calc(100vw - 40px))}.hero-grid{grid-template-columns:1fr;gap:0;padding-top:35px}.hero h1{font-size:34px}.hero p{font-size:15px}.hero-art{min-height:280px;transform:scale(.75);transform-origin:top center;margin-bottom:-75px}.orb{width:250px;height:250px;left:65px;top:0}.art-caption{top:20px;font-size:16px}.tall{top:62px;left:175px;height:185px}.short{top:155px;left:70px}.art-tag{bottom:0;right:0}.section{padding-top:42px;padding-bottom:14px}.section-heading{display:block}.section-heading p{margin-top:12px}h2{font-size:26px}.problem-grid{gap:10px}.problem-card{padding:18px 16px 26px}.problem-card h3{font-size:20px;margin-top:16px}.problem-card p{font-size:12px}.guide-grid{grid-template-columns:1fr}.card-image{height:210px}.editorial-strip{margin-top:40px;padding:35px 0}.site-footer .menu{flex-wrap:wrap;white-space:normal;gap:16px}.article-header h1{font-size:30px}.article-wrap{padding-left:20px;padding-right:20px}.entry-content{font-size:16px}.article-nav{flex-direction:column}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

.beauty-comments{margin:44px 0;padding:28px;border:1px solid var(--line);border-radius:14px;background:var(--cream)}.beauty-comments h2,.beauty-comments h3{font-size:24px;margin:0 0 18px}.comment-guide,.comment-notes,.logged-in-as{color:var(--muted);font-size:14px}.beauty-comments label{display:block;font-size:14px;font-weight:600;margin-bottom:7px}.beauty-comments input:not([type=checkbox]):not([type=hidden]):not([type=submit]),.beauty-comments textarea{display:block;width:100%;max-width:100%;padding:12px;border:1px solid #a8bcb4;border-radius:7px;background:#fff;font:inherit;color:var(--ink)}.beauty-comments textarea{min-height:150px;resize:vertical}.beauty-comments textarea:focus-visible{outline:3px solid #b07319;outline-offset:3px}.beauty-comments .submit{border:0;border-radius:7px;background:var(--teal);color:#fff;padding:12px 24px;font:inherit;font-weight:700;cursor:pointer}.beauty-comments a{color:var(--teal);text-decoration:underline;text-underline-offset:3px}.comment-form-cookies-consent{display:flex;align-items:flex-start;gap:9px}.comment-form-cookies-consent input{margin-top:7px}.comment-form-cookies-consent label{font-size:13px;font-weight:400}.comment-list{padding-left:24px}.comment-list li{margin-bottom:24px}.comment-list .avatar{border-radius:50%;vertical-align:middle;margin-right:8px}.comment-metadata,.reply{font-size:13px}.comment-content{overflow-wrap:anywhere}.beauty-comments .form-submit{margin-bottom:0}@media(max-width:600px){.beauty-comments{padding:20px}}
