/*
Theme Name: AR·BY
Author: AR·BY
Description: Авторская тема журнала, школы и магазина AR·BY.
Version: 1.0.0
Requires PHP: 8.0
Text Domain: arby
*/
:root{--ink:#18141c;--paper:#f7f5ef;--purple:#793de8;--lilac:#dfd0fa;--lime:#dcf58b;--line:#dedbd4;--muted:#69636f}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--purple);outline-offset:5px}img{max-width:100%;height:auto}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-weight:500;line-height:1.08;letter-spacing:-.045em}h1{font-size:clamp(48px,6.5vw,94px)}h2{font-size:clamp(36px,4vw,58px)}h3{font-size:26px}small,.eyebrow{font-size:12px;letter-spacing:.12em;text-transform:uppercase}.wrap{max-width:1360px;margin:auto;padding:0 48px}.topline{background:var(--lilac);text-align:center;font-size:12px;padding:7px 16px}.header{background:var(--paper);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}.nav{height:88px;display:flex;align-items:center;gap:42px}.logo{font-size:35px;letter-spacing:-3px;font-weight:650;white-space:nowrap}.logo i{font-style:normal;color:var(--purple)}.tagline{font-size:11px;line-height:1.3;max-width:110px;color:var(--muted);border-left:1px solid var(--line);padding-left:18px}.navlinks{display:flex;gap:30px;align-items:center;margin-left:auto;font-size:14px}.navlinks a:hover,.textlink:hover{color:var(--purple)}.navlinks a[aria-current=page]{color:var(--purple)}.navend{display:flex;align-items:center;gap:20px}.round{background:none;border:1px solid var(--line);width:42px;height:42px;border-radius:50%;display:grid;place-items:center}.menu-toggle{display:none}.hero{background:#211326 url('assets/hero.jpg') center/cover no-repeat;color:white;min-height:625px;position:relative;isolation:isolate;display:flex;align-items:center}.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(18,9,27,.7),transparent 80%);z-index:-1}.hero .wrap{width:100%;padding-top:66px;padding-bottom:72px}.hero .eyebrow{color:#e0c6ff;display:flex;align-items:center;gap:14px;margin-bottom:28px}.hero h1{max-width:750px;margin-bottom:26px}.hero em{font-family:Georgia,serif;font-weight:400;color:#dcc1fa}.hero p{color:#e2d9e7;max-width:440px;font-size:17px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.btn{display:inline-flex;align-items:center;justify-content:space-between;gap:35px;min-height:50px;padding:12px 24px;border-radius:50px;border:1px solid var(--ink);background:var(--ink);color:white;font-size:14px}.btn.lime{background:var(--lime);color:var(--ink);border-color:var(--lime)}.btn.light{background:transparent;color:inherit;border-color:#8a788f}.btn.purple{background:var(--purple);border-color:var(--purple)}.btn:hover{transform:translateY(-2px)}.hero-note{position:absolute;right:48px;bottom:26px;font-size:11px;color:#e0d5e5}.topics{display:flex;gap:12px;align-items:center;overflow:auto;padding-top:22px;padding-bottom:22px;border-bottom:1px solid var(--line)}.topics .eyebrow{margin-right:14px;white-space:nowrap}.chip{white-space:nowrap;display:inline-block;padding:7px 17px;border:1px solid #d6d1da;border-radius:30px;background:transparent;font-size:13px}.chip:hover,.chip.active{background:var(--ink);border-color:var(--ink);color:white}.section{padding-top:80px;padding-bottom:80px}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:34px;gap:25px}.section-head h2{margin:12px 0 0}.textlink{font-size:14px;white-space:nowrap;border-bottom:1px solid;padding-bottom:5px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.path{padding:28px;border:1px solid var(--line);border-radius:5px;min-height:220px;position:relative}.path .num{color:var(--muted);font-size:12px}.path h3{margin:26px 0 14px;font-size:32px}.path p{max-width:290px;color:var(--muted);font-size:14px}.path .arrow{position:absolute;right:28px;top:25px;font-size:28px}.path:nth-child(2){background:var(--lilac);border-color:var(--lilac)}.path:nth-child(3){background:var(--lime);border-color:var(--lime)}.journal-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:24px}.visual{height:245px;position:relative;overflow:hidden;display:grid;place-items:center;margin-bottom:22px;background:var(--lilac);border-radius:4px}.featured .visual{height:350px}.visual .big-symbol{font-family:Georgia,serif;font-size:155px;font-weight:400;line-height:1;color:#462d66}.v-tarot{background:#cbb6e7}.v-tarot:before,.v-tarot:after{content:'✳';position:absolute;width:118px;height:170px;border:1px solid #a995bd;border-radius:8px;background:#f7f0e2;box-shadow:0 12px 30px #21142a24;display:grid;place-items:center;font-size:75px;color:#7553a0;transform:rotate(-14deg) translateX(-35px)}.v-tarot:after{content:'☾';transform:rotate(11deg) translateX(37px);color:#463659}.v-stars{background:#dbe4cc}.v-stars .big-symbol{border:1px solid #8b967b;border-radius:50%;width:170px;height:170px;text-align:center;font-size:125px}.v-number{background:#f3bb97}.v-stone{background:#e1d7ee}.v-stone .big-symbol{font-size:140px;color:#754fac;text-shadow:10px 15px 0 #ac8ccd}.article-card .meta{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0 0 12px}.article-card h3{font-size:26px;line-height:1.2}.article-card p{font-size:14px;color:var(--muted)}.article-card:hover h3{color:var(--purple)}.academy-band{background:var(--ink);color:var(--paper)}.academy-inner{display:grid;grid-template-columns:1.1fr 1fr;gap:100px;align-items:center}.academy-inner h2{font-size:clamp(40px,4.8vw,65px);margin-top:20px}.academy-inner p{color:#bdb4c5;max-width:460px}.course-row{border-top:1px solid #4b4052;padding:24px 0;display:flex;align-items:center;justify-content:space-between;gap:20px}.course-row strong{display:block;font-weight:450;font-size:26px}.course-row small{color:#c4b5d0;font-size:10px}.course-row:last-child{border-bottom:1px solid #4b4052}.course-arrow{width:42px;height:42px;border:1px solid #786586;border-radius:50%;display:grid;place-items:center}.pill{padding:4px 10px;border:1px solid #79707f;border-radius:20px;display:inline-block;font-size:10px;letter-spacing:.08em}.products{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.product .visual{height:250px;margin-bottom:17px}.product h3{font-size:20px;margin-bottom:8px;letter-spacing:-.025em}.product p{font-size:12px;color:var(--muted)}.v-candle{background:#f1ddc8}.candle{width:62px;height:130px;background:linear-gradient(90deg,#8d67b2,#ceb6e1,#9870bc);border-radius:50% / 9%;position:relative;box-shadow:20px 25px 25px #79684927}.candle:before{content:'';position:absolute;left:29px;top:-26px;width:10px;height:25px;background:#ffd58d;border-radius:90% 0 75% 40%;transform:rotate(-10deg)}.v-book{background:#dae1ce}.book{width:110px;height:155px;background:#574369;color:#e5d0f6;padding:22px;border-radius:2px 8px 8px 2px;transform:rotate(-9deg);box-shadow:15px 15px 0 #17101d12;display:grid;place-items:center;text-align:center;font-family:Georgia,serif;font-size:36px}.demo{font-size:12px;color:var(--muted);max-width:780px;margin-top:24px}.manifesto{background:var(--lilac);text-align:center;padding:68px 25px}.manifesto h2{max-width:900px;margin:22px auto;font-family:Georgia,serif;font-weight:400}.manifesto p{max-width:590px;margin:auto}.footer{padding:48px 0 24px;background:var(--ink);color:var(--paper)}.footer-top{display:flex;justify-content:space-between;gap:40px}.footer nav{display:flex;gap:28px;flex-wrap:wrap;font-size:14px}.footer p{color:#aaa0b2;font-size:13px}.footer-bottom{display:flex;justify-content:space-between;border-top:1px solid #403745;margin-top:45px;padding-top:20px;font-size:11px;color:#a79aac}.page-heading{padding:65px 0 30px;max-width:880px}.page-heading p{color:var(--muted);font-size:18px;max-width:650px}.page-heading h1{margin:20px 0 25px}.content-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:35px 24px}.filters{display:flex;gap:10px;flex-wrap:wrap;margin:15px 0 35px}.article-body{max-width:740px;margin:auto;font-size:19px;line-height:1.85;padding:45px 0 90px}.article-body h2{font-size:34px;margin:40px 0 20px}.article-body h3{margin-top:35px}.article-body a{text-decoration:underline}.article-body .lead{font-size:24px;line-height:1.5}.toc{padding:25px;background:#eae2f1;border-radius:4px;margin:30px 0}.toc a{display:block;font-size:16px}.notice{padding:18px 24px;background:#e9e0f5;border-left:3px solid var(--purple);font-size:14px;margin:25px 0}.faq details{border-top:1px solid var(--line);padding:22px 0}.faq summary{cursor:pointer;font-size:20px}.faq details p{padding:20px 0 0;color:var(--muted)}.searchpanel{padding:22px;background:var(--lilac)}.searchpanel[hidden]{display:none}.search-form{display:flex;gap:15px;max-width:800px;margin:auto}.search-form input{min-width:0;width:100%;padding:10px 15px;border:1px solid #aaa0b2;border-radius:4px;background:var(--paper)}.skip{position:absolute;left:-10000px}.skip:focus{left:10px;top:10px;background:white;padding:10px;z-index:100}.empty{padding:45px;background:#eee8f3;border-radius:4px}.woocommerce .button,.woocommerce a.button{background:var(--purple);color:white;border-radius:30px}.woocommerce ul.products li.product .price{color:var(--ink)}.woocommerce input.input-text,.woocommerce select{padding:12px;border:1px solid var(--line);border-radius:4px}.woocommerce div.product .product_title{font-size:42px}.woocommerce-breadcrumb{padding-top:25px!important}.wp-block-image img{border-radius:4px}.pagination{padding:35px 0}.pagination a,.pagination span{padding:8px 12px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}body.admin-bar .header{top:32px}
@media(min-width:1500px){.hero{min-height:700px}}@media(max-width:1000px){.wrap{padding-left:28px;padding-right:28px}.tagline{display:none}.nav{gap:20px}.navlinks{gap:22px}.hero{min-height:590px}.journal-grid{grid-template-columns:1.4fr 1fr}.journal-grid .article-card:last-child{display:none}.products{grid-template-columns:repeat(2,1fr)}.academy-inner{gap:45px}.content-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.wrap{padding-left:20px;padding-right:20px}.topline{font-size:10px}.nav{height:72px;justify-content:space-between}.logo{font-size:31px}.navend{margin-left:auto;gap:10px}.menu-toggle{display:grid}.navlinks{display:none;position:absolute;top:72px;left:0;right:0;background:var(--paper);padding:24px;box-shadow:0 15px 25px #0001;flex-direction:column;align-items:flex-start}.navlinks.open{display:flex}.hero{min-height:640px;background-position:64% center}.hero:before{background:linear-gradient(90deg,#1b1026c9,#21122b3b)}.hero h1{font-size:54px;max-width:440px}.hero p{font-size:16px;max-width:315px}.hero .eyebrow{font-size:10px}.hero-note{right:20px;font-size:9px}.topics{gap:8px}.topics .eyebrow{display:none}.section{padding-top:50px;padding-bottom:50px}.section-head{align-items:start}.section-head .textlink{font-size:12px;margin-top:8px}.grid3,.journal-grid,.academy-inner,.content-grid{grid-template-columns:1fr}.journal-grid .article-card:last-child{display:block}.featured .visual,.visual{height:260px}.path{min-height:190px}.path h3{margin-top:17px}.path p{margin-bottom:0}.academy-inner{gap:30px}.products{gap:20px 14px}.product .visual{height:195px}.product h3{font-size:17px}.product .v-tarot:before,.product .v-tarot:after{width:72px;height:112px;font-size:45px}.footer-top,.footer-bottom{flex-direction:column;gap:18px}.footer nav{gap:20px}.manifesto{padding:48px 20px}.article-body{font-size:17px}.article-body .lead{font-size:21px}.page-heading{padding-top:40px}.page-heading h1{font-size:52px}.search-form{gap:8px}.search-form .btn{padding:10px 16px}.course-row strong{font-size:25px}.book{width:90px;height:125px}.product .big-symbol{font-size:105px}body.admin-bar .header{top:46px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}.btn:hover{transform:none}}

.journal-grid .article-card:first-child .visual{height:350px}.visual img{width:100%;height:100%;object-fit:cover}.article-card[hidden]{display:none!important}@media(max-width:700px){.journal-grid .article-card:first-child .visual{height:260px}}
