/*
Theme Name: Краски Здоровья
Author: Краски Здоровья
Description: Тема редакционного wellness-медиа. Иллюстрации берутся из папки img темы.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: kraski
*/
*{box-sizing:border-box} :root{--milk:#FBF6EF;--plum:#3E3346;--peach:#F2A07B;--sage:#8FB996;--lavender:#B49BCB;--honey:#F6CD6B;--sky:#7FA7C9;--line:#ded7ce}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;background:var(--milk);color:var(--plum);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.55}button,input{font:inherit}a{color:inherit;text-decoration:none}button{cursor:pointer;color:inherit}button,a,input{ -webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #6c527d;outline-offset:5px}button{border:0;background:none}img{max-width:100%;display:block}h1,h2,h3,p{margin:0}h1,h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;line-height:1.08;letter-spacing:-2px}em{font-weight:400}h1{font-size:clamp(52px,5.5vw,84px)}h2{font-size:clamp(34px,3.8vw,54px)}h3{font-size:23px;line-height:1.25;letter-spacing:-.6px}.topline{text-align:center;font-size:12px;padding:9px 24px;background:#ece9df;letter-spacing:1.2px;position:relative}.topline span{padding:0 10px}.topline small{position:absolute;right:30px;top:10px;font-size:10px;letter-spacing:0}header{max-width:1440px;margin:auto;padding:22px 4.7%;display:flex;align-items:center;gap:30px;border-bottom:1px solid var(--line);background:var(--milk)}.brand{display:flex;align-items:center;gap:11px;line-height:1.08;font-size:20px;letter-spacing:-.6px;font-weight:700}nav{display:flex;gap:27px;margin:auto;font-size:14px}nav a:hover{color:#76597e}.outline{border:1px solid #bbb1ba;border-radius:100px;padding:11px 20px;font-size:13px}.outline:hover{background:#eee5ef}.saved-toggle b{font-size:11px;font-weight:400;padding-left:5px}.menu{display:none}main,footer{max-width:1440px;margin:auto;padding:0 4.7%}.hero{display:grid;grid-template-columns:1fr 1fr;gap:38px;padding:50px 0 42px;align-items:center}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:600;margin-bottom:23px}.hero-copy{padding:20px 0}.hero h1{margin-bottom:25px}.hero h1 em{background:linear-gradient(transparent 78%,#f2a07b8c 78%,#f2a07b8c 94%,transparent 94%)}.lead{font-size:16px;line-height:1.7;color:#6c616e;max-width:470px;margin-bottom:28px}.primary{background:var(--plum);color:var(--milk);border:1px solid var(--plum);padding:15px 23px;border-radius:50px;display:inline-flex;align-items:center;justify-content:center;gap:32px;font-size:13px}.primary:hover{background:#594663}.hero-note{display:flex;gap:12px;align-items:center;margin-top:29px;font-size:11px;color:#766a76}.mini-flower{font-size:27px;color:#a77993}.hero-art{position:relative;border-radius:180px 180px 18px 18px;overflow:hidden;min-height:460px;background:#dce3d8}.hero-art>img{width:100%;height:490px;object-fit:cover}.float-note{position:absolute;right:24px;top:42px;background:#f6cd6b;border-radius:50%;width:133px;height:133px;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.3;font-size:18px;transform:rotate(12deg);font-family:Georgia,serif}.hero-story{position:absolute;left:24px;right:24px;bottom:23px;text-align:left;background:#fbf6eff5;padding:20px 23px;border-radius:10px}.hero-story small{font-size:9px;letter-spacing:1.4px}.hero-story>span{display:block;font-family:Georgia,serif;font-size:28px;line-height:1.1;margin-top:9px}.hero-story b{position:absolute;right:25px;bottom:26px;font-weight:400;font-size:30px}.values{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.values>div{position:relative;padding:23px 25px;border-radius:9px;background:#f5d2be}.values>div:nth-child(2){background:#d9e5d8}.values>div:nth-child(3){background:#e3d8ed}.values span{font-size:10px}.values p{font-family:Georgia,serif;font-size:24px;line-height:1.2;margin-top:12px}.values i{position:absolute;right:22px;bottom:21px;font-style:normal;font-size:39px;font-weight:400}.section{padding:76px 0 0}.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:25px;margin-bottom:28px}.section-head .eyebrow{margin-bottom:14px}.muted{font-size:12px;color:#756975}.tools{display:flex;gap:15px;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding:20px 0 12px}.filters{display:flex;gap:7px;flex-wrap:wrap}.filters button{border:1px solid var(--line);border-radius:50px;padding:8px 16px;font-size:12px}.filters button.active{background:var(--plum);color:var(--milk);border-color:var(--plum)}.search{display:flex;gap:9px;align-items:center;border-bottom:1px solid #b9b0b8;padding:6px 0;min-width:215px}.search span{font-size:24px}.search input{border:0;outline:none;background:transparent;width:190px;font-size:12px;color:var(--plum)}#results{margin-bottom:20px;min-height:18px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:29px 23px}.card{position:relative}.card-image{display:block;width:100%;padding:0;overflow:hidden;border-radius:12px;text-align:left;background:#e9e0dc}.card-image img{width:100%;aspect-ratio:1.5;object-fit:cover;transition:transform .4s}.card-image:hover img{transform:scale(1.04)}.card-meta{font-size:10px;margin:17px 0 10px;display:flex;gap:9px;align-items:center;letter-spacing:.3px}.topic{background:#e7e4da;padding:3px 9px;border-radius:25px}.card h3 button{text-align:left;padding:0;font-size:inherit;font-weight:inherit;line-height:inherit}.card h3 button:hover{text-decoration:underline;text-underline-offset:4px}.card p{color:#776b76;font-size:13px;line-height:1.6;margin-top:11px}.card-footer{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#756975;margin-top:16px}.save{background:var(--milk);position:absolute;right:12px;top:12px;border-radius:50%;width:35px;height:35px;font-size:22px;line-height:1}.save[aria-pressed=true]{background:var(--plum);color:var(--milk)}.more{display:block;margin:32px auto 0;padding:13px 27px}.manifesto{margin-top:75px;background:#e6e9dd;border-radius:12px;padding:50px 53px;position:relative;overflow:hidden}.manifesto h2{max-width:780px}.manifesto p{max-width:640px;font-size:14px;line-height:1.8;margin:24px 0}.manifesto a{font-size:12px;border-bottom:1px solid;padding-bottom:5px}.manifesto-flower{font-size:220px;position:absolute;right:45px;bottom:-32px;color:#a3b69c;line-height:1;pointer-events:none}.intro{max-width:620px;font-size:14px;color:#756975;margin:-8px 0 27px}.expert-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:17px}.portrait{background:var(--tile);border-radius:90px 90px 9px 9px;position:relative;padding:0;width:100%;overflow:hidden}.portrait img{width:100%;aspect-ratio:.85;object-fit:cover}.portrait span{position:absolute;bottom:13px;left:10px;right:10px;font-size:9px;padding:5px;background:#fbf6efdc;border-radius:20px}.expert small{display:block;font-size:9px;line-height:1.4;min-height:27px;margin-top:14px;color:#756975}.expert h3{font-size:20px;margin-top:4px}.expert p{font-size:11px;margin-top:8px;color:#756975}.text-button{padding:0;font-size:12px;text-decoration:underline;text-underline-offset:4px}.expert .text-button{margin-top:13px;font-size:11px}.demo-note{font-size:10px;margin-top:23px;color:#756975;max-width:740px}.pause{margin-top:76px;background:#e5dced;border-radius:12px;display:grid;grid-template-columns:1.3fr 1fr;overflow:hidden}.pause>div{padding:43px}.pause h2{font-size:38px}.pause p:not(.eyebrow){font-size:14px;min-height:55px;max-width:410px;margin:20px 0}.pause img{width:100%;height:100%;object-fit:cover}.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.news{border-top:1px solid #a99fa8;padding:23px 0}.news small{font-size:10px;color:#756975}.news h3{margin:16px 0;font-size:23px}.news p{font-size:13px;color:#756975;margin-bottom:20px}.news button{font-size:12px;text-align:left}.newsletter{margin:75px 0 40px;padding:50px;background:#efdecc;border-radius:12px;position:relative;overflow:hidden}.newsletter h2{font-size:52px}.newsletter>p{max-width:450px;font-size:14px;margin:22px 0}.newsletter form{max-width:650px;position:relative;z-index:1}.subscribe-row{display:flex;gap:10px}.subscribe-row>input{flex:1;min-width:0;border:1px solid #c2b4ab;background:#fbf6ef;border-radius:40px;padding:14px 20px;font-size:13px}.consent{display:flex;align-items:flex-start;gap:7px;font-size:10px;margin-top:15px;max-width:590px}.consent input{accent-color:var(--plum)}#form-status{font-size:12px;margin-top:12px}.newsletter-star{position:absolute;right:47px;top:50px;font-size:230px;color:var(--peach);line-height:1}.footer-top{display:flex;justify-content:space-between;gap:30px;align-items:center;border-bottom:1px solid var(--line);padding:20px 0 30px}.footer-top p{font-size:13px}.footer-top small{font-size:11px;color:#756975}.footer-top>a:last-child{font-size:12px}.footer-bottom{display:flex;justify-content:space-between;font-size:10px;padding:23px 0}.footer-bottom button{font-size:10px}.disclaimer{font-size:10px;color:#756975;max-width:900px;padding-bottom:30px}dialog{border:1px solid var(--line);border-radius:18px;padding:0;width:min(720px,92vw);max-height:88vh;color:var(--plum);background:var(--milk)}dialog::backdrop{background:#30263588;backdrop-filter:blur(5px)}.close{position:sticky;top:14px;float:right;right:15px;margin:14px 15px -50px 0;z-index:2;border-radius:50%;background:var(--milk);font-size:25px;width:36px;height:36px}#modal-content{padding:40px}#modal-content>img{max-height:280px;width:100%;object-fit:cover;border-radius:10px;margin-bottom:25px}#modal-content h2{font-size:37px;margin:10px 0 22px;letter-spacing:-1px}#modal-content p{margin:16px 0;font-size:15px}#modal-content h3{margin-top:25px;font-size:21px}#modal-content .demo-note{font-size:11px;border-top:1px solid var(--line);padding-top:16px}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);background:var(--plum);color:var(--milk);border-radius:35px;padding:12px 25px;font-size:12px;opacity:0;pointer-events:none;transition:.2s;z-index:5}.toast.visible{opacity:1;transform:translate(-50%,0)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}[hidden]{display:none!important}@media(min-width:1500px){body{font-size:17px}}@media(max-width:1100px){header{gap:18px}nav{gap:15px;font-size:12px}.saved-toggle span{display:none}.hero{gap:24px}.hero-art>img{height:440px}.hero-art{min-height:440px}.hero h1{font-size:61px}.expert h3{font-size:17px}.tools{flex-wrap:wrap}.manifesto-flower{opacity:.3}.values p{font-size:21px}.values i{font-size:30px;right:12px}.pause>div{padding:30px}.pause h2{font-size:33px}.newsletter-star{right:15px;opacity:.5}}@media(max-width:760px){.topline{font-size:9px;letter-spacing:.5px}.topline small{display:none}header{padding:15px 5%;flex-wrap:wrap}.brand{font-size:17px}.brand img{width:40px;height:40px}.menu{display:block;margin-left:auto;font-size:22px}.saved-toggle{padding:8px 13px}nav{display:none;order:4;width:100%;flex-wrap:wrap;padding-top:12px;font-size:14px;gap:14px 24px}nav.open{display:flex}main,footer{padding:0 5%}.hero{grid-template-columns:1fr;padding-top:15px;gap:20px}.hero-copy{padding-top:22px}.eyebrow{font-size:9px;letter-spacing:1.3px}.hero h1{font-size:60px}.lead{font-size:15px}.hero-art{min-height:370px;border-radius:130px 130px 12px 12px}.hero-art>img{height:390px}.hero-note{margin-top:20px}.float-note{width:105px;height:105px;font-size:16px;top:30px}.values{gap:8px}.values>div{padding:15px 12px;min-height:145px}.values span{font-size:8px}.values p{font-size:18px}.values i{font-size:23px;bottom:8px}.section{padding-top:50px}.section-head{align-items:flex-start;flex-direction:column;gap:12px}h2{letter-spacing:-1.4px;font-size:38px}.cards{grid-template-columns:repeat(2,1fr);gap:28px 16px}.card h3{font-size:20px}.card p{font-size:12px}.card-meta{font-size:9px;flex-wrap:wrap;gap:4px}.search{width:100%}.search input{width:100%}.filters{gap:6px}.filters button{font-size:11px;padding:7px 12px}.manifesto{padding:30px 25px;margin-top:50px}.manifesto p{font-size:13px}.manifesto h2{font-size:35px}.manifesto-flower{right:0;font-size:170px}.expert-grid{grid-template-columns:repeat(2,1fr);gap:25px 17px}.expert-grid .expert:last-child{grid-column:1 / -1;max-width:calc(50% - 9px)}.expert h3{font-size:21px}.expert small{min-height:0}.portrait img{aspect-ratio:1}.pause{grid-template-columns:1fr;margin-top:50px}.pause>div{padding:30px 25px}.pause h2{font-size:34px}.pause img{height:220px}.news-grid{grid-template-columns:1fr;gap:4px}.news{padding:20px 0}.news h3{margin:10px 0}.newsletter{margin-top:50px;padding:30px 25px}.newsletter h2{font-size:43px}.newsletter-star{font-size:140px;right:-20px;top:20px;opacity:.35}.subscribe-row{flex-direction:column}.subscribe-row .primary{width:100%}.footer-top{flex-wrap:wrap;gap:20px}.footer-top p{width:100%;order:3}.footer-bottom{gap:16px;flex-wrap:wrap}#modal-content{padding:25px}#modal-content h2{font-size:31px}}@media(max-width:400px){.hero h1{font-size:52px}.values{grid-template-columns:1fr}.values>div{min-height:95px}.values p br{display:none}.values p{font-size:22px}.values i{right:20px;bottom:24px}.cards{grid-template-columns:1fr}.card h3{font-size:24px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
.entry{max-width:760px;margin:50px auto}.entry h1{font-size:clamp(34px,4vw,54px);margin-bottom:20px}.entry p,.entry li{font-size:16px;line-height:1.75}.entry img{height:auto}.pagination{display:flex;gap:10px;justify-content:center;margin:40px 0}.pagination a,.pagination span{border:1px solid var(--line);border-radius:30px;padding:8px 15px;font-size:13px}.pagination .current{background:var(--plum);color:var(--milk)}.hidden-by-filter{display:none!important}nav ul{list-style:none;display:flex;gap:27px;margin:0;padding:0}.hero-art>a.hero-story{display:block}.hero-art>img{display:block}.portrait{display:block}@media(max-width:760px){nav ul{flex-wrap:wrap;gap:14px 24px}}
