/* Дарья Агеенко: RASA RITUAL KIT (box.html), Journal (journal.html), блок «три входа» на главной, ссылки в подвалах.
   Подключается после style.css (на внутренних страницах ещё и после tests.css). Единица та же: rem от ширины окна. */
:root{
  --cream:#f4eee1;
  --blue:#a9c3dc;
  --gold:#c8a24a;
  /* ромбы-арлекин с золотыми звёздами: свой рисунок */
  --harl:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 152'%3E%3Crect width='80' height='152' fill='%23f4eee1'/%3E%3Cg fill='%23a9c3dc'%3E%3Cpath d='M20 0 40 38 20 76 0 38z'/%3E%3Cpath d='M60 0 80 38 60 76 40 38z'/%3E%3Cpath d='M20 76 40 114 20 152 0 114z'/%3E%3Cpath d='M60 76 80 114 60 152 40 114z'/%3E%3C/g%3E%3Cg fill='%23c8a24a'%3E%3Cpath d='M40 30.5 41.7 36.3 47.5 38 41.7 39.7 40 45.500 38.300 39.700 32.500 38 38.300 36.300z'/%3E%3Cpath d='M0 106.500 1.700 112.300 7.500 114 1.700 115.700 0 121.500 -1.700 115.700 -7.500 114 -1.700 112.300z'/%3E%3Cpath d='M80 106.500 81.700 112.300 87.500 114 81.700 115.700 80 121.500 78.300 115.700 72.500 114 78.300 112.300z'/%3E%3Cpath d='M60 72 60.900 75.100 64 76 60.900 76.900 60 80 59.100 76.900 56 76 59.100 75.100z'/%3E%3Cpath d='M20 148 20.900 151.100 24 152 20.900 152.900 20 156 19.100 152.900 16 152 19.100 151.100z'/%3E%3Cpath d='M20 -4 20.900 -.9 24 0 20.900 .9 20 4 19.100 .9 16 0 19.100 -.9z'/%3E%3C/g%3E%3C/svg%3E");
  --star:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath d='M15 0 18.400 11.600 30 15 18.400 18.400 15 30 11.600 18.400 0 15 11.600 11.600z' fill='%23c8a24a'/%3E%3C/svg%3E");
}
.harl{background-color:var(--cream);background-image:var(--harl);background-position:center}

/* ---------- подвал: ссылки на разделы ---------- */
.foot__nav{display:flex;flex-wrap:wrap;margin-right:auto}
.foot__nav a{white-space:nowrap}

/* ---------- главная: три входа ---------- */
.entry{position:relative;z-index:1}
.entry__in{position:relative;background:url(../img/frame.svg) center/100% 100% no-repeat}
.entry__i{display:flex;flex-direction:column;align-items:center;text-align:center}
.entry__h{font-family:var(--hand);font-weight:400;line-height:1;color:var(--pink)}
.entry__t{font-family:var(--serif);color:var(--white)}
.entry .pill{position:relative}

/* ---------- RASA RITUAL KIT ---------- */
.bx-ttl{position:relative}
.bx-ttl img{position:absolute;left:0;top:0}
.bx-ttl span{position:absolute;font-family:var(--serif);font-weight:400;line-height:1;letter-spacing:.05em;color:var(--white);white-space:nowrap}
.bx-sub{font-family:var(--hand);line-height:1.1;color:var(--pink);rotate:-2deg;transform-origin:0 50%}
.bx-lead{font-family:var(--serif);color:var(--white)}
.bx-go{display:flex;align-items:center;flex-wrap:wrap}
.bx-pack{position:relative}
.bx-swatch,.bx-env{position:absolute;box-shadow:0 1rem 2.6rem rgba(0,0,0,.45)}
.bx-swatch::before,.bx-env::before{content:"";position:absolute;left:36%;top:-1.2rem;width:28%;height:2.6rem;background:rgba(238,208,206,.88);rotate:-3deg;z-index:1}
.bx-env img{display:block;width:100%;height:auto}
.bx-idea p{font-family:var(--serif);font-weight:500;color:#000}
.bx-idea ul{font-family:var(--hand);color:var(--ink)}
.bx-idea li span{background:linear-gradient(transparent 58%,rgba(255,166,198,.75) 58%,rgba(255,166,198,.75) 92%,transparent 92%);-webkit-box-decoration-break:clone;box-decoration-break:clone}
.bx-in{position:relative;scroll-margin-top:2rem}
.bx-list{border-top:.1rem solid rgba(241,241,241,.28)}
.bx-item{position:relative;border-bottom:.1rem solid rgba(241,241,241,.28)}
.bx-item::after{content:"";position:absolute;background:var(--star) center/contain no-repeat}
.bx-item__n{font-family:var(--serif);color:var(--pink);line-height:1}
.bx-item__h{font-family:var(--serif);font-weight:400;line-height:1;letter-spacing:.06em;text-transform:uppercase;color:var(--white)}
.bx-item__k{font-family:var(--hand);line-height:1.05;color:var(--pink)}
.bx-item__t{font-family:var(--serif);color:var(--white)}
.bx-item__t a{color:var(--pink);text-decoration:underline;text-decoration-thickness:.045em;text-underline-offset:.16em;white-space:nowrap}
.bx-cards{display:flex;flex-wrap:wrap}
.bx-cards li{display:grid;place-items:center;border-style:solid;border-color:transparent;background:linear-gradient(var(--cream),var(--cream)) padding-box,var(--harl) center/4rem 7.6rem border-box;font-family:var(--hand);color:var(--ink);line-height:1;box-shadow:0 .6rem 1.4rem rgba(0,0,0,.35)}
.bx-cards li:nth-child(odd){rotate:-3deg}
.bx-cards li:nth-child(even){rotate:2.5deg}
.bx-bag{font-family:var(--hand);color:#fff}
.bx-cta{position:relative;text-align:center;
  clip-path:polygon(0 3%,7% .4%,16% 2.4%,27% 0,39% 2%,52% .3%,64% 2.6%,77% .6%,89% 2.2%,100% 0,100% 97.6%,91% 100%,80% 97.8%,68% 99.6%,55% 97.4%,43% 100%,30% 97.6%,18% 99.7%,8% 97.5%,0 99.4%)}
.bx-cta__card{position:relative;display:inline-flex;flex-direction:column;align-items:center;background:var(--cream);color:var(--ink);box-shadow:0 1.2rem 3rem rgba(40,50,70,.35);rotate:-1.5deg}
.bx-cta__h{font-family:var(--serif);font-weight:400;line-height:1;letter-spacing:.06em;color:var(--ink)}
.bx-cta__t{font-family:var(--hand);line-height:1.1;color:var(--ink)}
.btn-ink{display:inline-flex;align-items:center;justify-content:center;background:var(--ink);color:var(--cream);font-family:var(--serif);font-weight:400;line-height:1;text-decoration:none;border-radius:10rem;transition:transform .35s var(--ease),background-color .35s}
.btn-ink:hover{transform:scale(1.04);background:#1f2a23}
.bx-cta :focus-visible{outline-color:#111}

/* ---------- Journal ---------- */
.jr-ttl{position:relative;display:inline-block;font-family:var(--serif);font-weight:400;line-height:1;letter-spacing:.05em;text-transform:uppercase;color:var(--white)}
.jr-ttl img{position:absolute;height:auto;pointer-events:none}
.jr-sub{font-family:var(--hand);color:#fff}
.jr-pols{position:relative}
.jr-tabs{display:flex;flex-wrap:wrap;border-top:.1rem solid rgba(241,241,241,.28);border-bottom:.1rem solid rgba(241,241,241,.28)}
.jr-tab{position:relative;font-family:var(--serif);color:var(--pink);white-space:nowrap;transition:opacity .25s}
.jr-tab:hover{opacity:.75}
.jr-tab[aria-selected="true"]{color:var(--white)}
.jr-tab[aria-selected="true"]::after{content:"";position:absolute;left:-.4rem;right:-.4rem;background:var(--pink);rotate:-1.2deg;border-radius:1rem}
.jr-body{scroll-margin-top:2rem}
.jr-h{font-family:var(--hand);font-weight:400;line-height:1;color:var(--pink);text-decoration:underline;text-decoration-thickness:.07em;text-underline-offset:.16em}
.jr-lead{font-family:var(--serif);color:var(--white)}
.jr-dcards{display:grid}
.jr-dcard{display:flex;flex-direction:column;align-items:flex-start}
.jr-dcard img{display:block;width:auto}
.jr-dcard p{font-family:var(--hand);color:#fff}
.jr-dosha[hidden],.jr-empty[hidden],.jr-list[hidden],.jr-rub[hidden]{display:none!important}
.jr-list{display:grid}
.jcard{position:relative;display:block;color:#000;text-decoration:none;filter:drop-shadow(0 1.2rem 2rem rgba(0,0,0,.4));transition:translate .35s var(--ease)}
.jcard::before{content:"";position:absolute;inset:0;z-index:-1;background:#f1f1f1 url(../img/m_paper.webp) center/60rem auto;
  clip-path:polygon(0 1.2%,6% 0,14% .9%,23% .2%,34% 1%,47% 0,58% .8%,70% .1%,81% 1.1%,92% .2%,100% .9%,99.3% 12%,100% 26%,99.2% 41%,99.9% 57%,99.1% 72%,100% 88%,99.4% 100%,90% 99.1%,78% 100%,66% 99%,53% 99.8%,41% 98.9%,29% 100%,17% 99.2%,7% 100%,0 99%,.7% 86%,0 70%,.8% 55%,.1% 39%,.9% 24%,0 11%)}
.jcard::after{content:"";position:absolute;left:50%;top:-1.2rem;width:9rem;height:2.5rem;margin-left:-4.5rem;background:rgba(238,208,206,.88);rotate:-2.5deg}
.jcard:nth-child(odd){rotate:-1deg}
.jcard:nth-child(even){rotate:.8deg}
a.jcard:hover{translate:0 -.5rem}
.jcard :focus-visible,.jcard:focus-visible{outline-color:#111}
.jcard__img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.jcard__r{font-family:var(--serif);font-weight:500;letter-spacing:.14em;text-transform:uppercase;color:#000}
.jcard__h{font-family:var(--serif);font-weight:500;line-height:1.06;color:#000}
.jcard__t{font-family:var(--serif);font-weight:500;color:#000}
.jcard__d{font-family:var(--hand);color:var(--ink);line-height:1}
.jr-empty{font-family:var(--hand);color:#fff;text-align:center}

@media (prefers-reduced-motion:reduce){
  .btn-ink,.jcard{transition:none}
  .btn-ink:hover{transform:none}
  a.jcard:hover{translate:none}
}

/* ================= КОМПЬЮТЕР ================= */
@media (min-width:700px){
.harl{background-size:8rem 15.2rem}
.foot__nav{gap:0 4rem;margin-left:5rem}
.contacts{height:68rem}
.contacts__more{position:absolute;left:0;right:0;top:53.6rem;margin:0}

.entry{padding:11rem 0 2rem;background:var(--green) url(../img/m_green.webp) center top/46.6rem auto}
.entry__in{width:124rem;margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);padding:5.6rem 3rem 5.8rem}
.entry__i{padding:0 4rem}
.entry__i+.entry__i{border-left:.1rem dashed rgba(255,166,198,.5)}
.entry__h{font-size:4.2rem;white-space:nowrap}
.entry__t{margin-top:1.6rem;min-height:5.6rem;font-size:2.35rem;line-height:1.2}
.entry .pill{margin-top:2rem;width:14rem;height:2.9rem}

.bx-hero{position:relative;width:min(124rem,100% - 8rem);margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) 50rem;column-gap:3rem;align-items:center;padding:1rem 0 7rem}
.bx-ttl{height:23.6rem;margin-top:2rem}
.bx-ttl img{width:42rem;height:14.05rem}
.bx-ttl span{left:4.4rem;top:11.4rem;font-size:9rem}
.bx-sub{margin-top:1.6rem;font-size:3.5rem}
.bx-lead{margin-top:3rem;max-width:64rem;font-size:2.6rem;line-height:1.24}
.bx-go{margin-top:3.6rem;gap:1.6rem 4rem}
.bx-pack{height:64rem}
.bx-swatch{left:0;top:9rem;width:28rem;height:42rem;rotate:-6deg}
.bx-env{right:0;top:3rem;width:31rem;rotate:5deg}
.bx-ideaw{margin-top:8rem}
.bx-idea{width:min(108rem,100% - 8rem);margin:0 auto;padding:4.6rem 0 5.6rem;display:grid;grid-template-columns:1.15fr .85fr;column-gap:7rem;align-items:center}
.bx-idea p{font-size:3rem;line-height:1.22}
.bx-idea ul{font-size:3.8rem;line-height:1.3}
.bx-idea li+li{margin-top:1.2rem}
.bx-in{width:min(128rem,100% - 8rem);margin:17rem auto 0}
.bx-list{margin-top:6rem;display:grid;grid-template-columns:1fr 1fr}
.bx-item{padding:5rem 4rem 5.4rem}
.bx-item:nth-child(odd){border-right:.1rem solid rgba(241,241,241,.28);padding-left:1rem}
.bx-item:nth-child(even){padding-right:1rem}
.bx-item::after{right:4rem;top:5rem;width:3rem;height:3rem}
.bx-item:nth-child(even)::after{right:1rem}
.bx-item__n{font-size:2.5rem}
.bx-item__h{margin-top:.8rem;font-size:4.8rem}
.bx-item__k{margin-top:1rem;font-size:3.3rem}
.bx-item__t{margin-top:1.8rem;max-width:50rem;font-size:2.5rem;line-height:1.24}
.bx-item .rs-list{margin-top:1.4rem;max-width:52rem;font-size:2.7rem;line-height:1.22}
.bx-item .rs-list li+li{margin-top:.5rem}
.bx-cards{gap:1.2rem;margin-top:3rem}
.bx-cards li{width:9.6rem;height:13.4rem;border-width:.6rem;font-size:2.3rem}
.bx-bag{font-size:3.1rem;line-height:1.24}
.bx-bag+.bx-bag{margin-top:2rem}
.bx-item--bag{padding-top:6rem}
.bx-cta{margin-top:10rem;padding:10rem 2rem 11rem;background-size:8rem 15.2rem}
.bx-cta__card{padding:5.4rem 8rem 5.6rem}
.bx-cta__h{font-size:5.6rem}
.bx-cta__t{margin-top:1.6rem;font-size:3.2rem}
.btn-ink{margin-top:3.4rem;min-height:6.4rem;padding:1.4rem 5rem 1.7rem;font-size:3rem}

.jr-hero{position:relative;width:min(124rem,100% - 8rem);margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) 46rem;column-gap:3rem;align-items:center;padding:1rem 0 5rem}
.jr-ttl{margin-top:3rem;font-size:15.4rem}
.jr-ttl img{left:9%;top:36%;width:60%}
.jr-ttl img+img{top:60%}
.jr-sub{margin-top:3.4rem;max-width:62rem;font-size:3.4rem;line-height:1.2}
.jr-pols{height:46rem}
.pol--notes{left:1rem;top:1rem;width:25rem;rotate:-5deg}
.pol--bfast{left:22rem;top:15rem;width:22rem;rotate:5deg}
.jr-tabs{width:min(124rem,100% - 8rem);margin:1rem auto 0;gap:.6rem 3.6rem;padding:2rem 0}
.jr-tab{padding:1rem 0;font-size:2.6rem}
.jr-tab[aria-selected="true"]::after{bottom:.4rem;height:.26rem}
.jr-body{width:min(124rem,100% - 8rem);margin:0 auto;padding:7rem 0 9rem;min-height:46rem}
.jr-h{display:inline-block;font-size:6.4rem;rotate:-2deg}
.jr-lead{margin-top:3rem;max-width:84rem;font-size:2.7rem;line-height:1.24}
.jr-dcards{grid-template-columns:repeat(3,1fr);column-gap:5rem;margin-top:5rem}
.jr-dcard img{height:6.2rem}
.jr-dcard p{margin-top:1.6rem;font-size:2.8rem;line-height:1.16}
.jr-dosha .pill--cta{margin-top:5rem}
.jr-rub{margin-top:0}
.jr-dosha+.jr-rub{margin-top:9rem}
.jr-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:5.4rem 4.6rem;margin-top:6rem;align-items:start}
.jcard{padding:3.4rem 3rem 3.2rem}
.jcard__r{margin-top:2rem;font-size:1.7rem}
.jcard__img+.jcard__r{margin-top:2.2rem}
.jcard__r:first-child{margin-top:1rem}
.jcard__h{margin-top:1rem;font-size:3.4rem}
.jcard__t{margin-top:1.2rem;font-size:2.3rem;line-height:1.24}
.jcard__d{margin-top:1.6rem;font-size:2.6rem}
.jr-empty{padding:7rem 2rem 2rem;font-size:3.8rem}
}

@media (min-width:700px) and (max-width:1099px){
.bx-hero{grid-template-columns:minmax(0,1fr) 40rem;width:calc(100% - 6rem)}
.bx-ttl span{font-size:8rem}
.bx-swatch{width:22rem;height:34rem}
.bx-env{width:25rem}
.bx-in,.jr-hero,.jr-tabs,.jr-body{width:calc(100% - 6rem)}
.bx-item{padding-inline:2.4rem}
.jr-hero{grid-template-columns:minmax(0,1fr) 38rem}
.jr-ttl{font-size:13rem}
.pol--notes{width:21rem}
.pol--bfast{left:17rem;width:19rem}
.jr-dcards{column-gap:3rem}
}

/* ================= ТЕЛЕФОН ================= */
@media (max-width:699px){
.harl{background-size:6rem 11.4rem}
.foot{flex-wrap:wrap}
.foot__nav{order:3;width:100%;gap:0 2.4rem;margin-top:.2rem}

.entry{padding:7.4rem 1.4rem 0;background:var(--green) url(../img/m_green.webp) center top/37.9rem auto}
.entry__in{padding:4.4rem 2.4rem 4.6rem}
.entry__i+.entry__i{margin-top:3rem;padding-top:3rem;border-top:.1rem dashed rgba(255,166,198,.5)}
.entry__h{font-size:3.6rem}
.entry__t{margin-top:1rem;font-size:2.1rem;line-height:1.24}
.entry .pill{margin-top:1.6rem}

.bx-hero{position:relative;display:flex;flex-direction:column;padding-bottom:5rem}
.bx-hero__l{display:contents}
.bx-ttl{order:1;height:13rem;margin:1.2rem 0 0 1.8rem}
.bx-ttl img{width:21rem;height:7.03rem}
.bx-ttl span{left:1.2rem;top:5.9rem;font-size:4.5rem}
.bx-sub{order:2;margin:.6rem 2rem 0;font-size:2.5rem}
.bx-go{order:3;margin-top:2.4rem;padding:0 1.6rem;gap:.2rem 2.4rem;justify-content:center}
.bx-pack{order:4;height:33rem;margin-top:2.6rem}
.bx-swatch{left:2.4rem;top:4rem;width:16rem;height:24rem;rotate:-6deg}
.bx-env{right:2.4rem;top:0;width:19rem;rotate:5deg}
.bx-lead{order:5;margin:3rem 2.2rem 0;font-size:2.2rem;line-height:1.28}
.bx-ideaw{margin-top:5rem}
.bx-idea{padding:1.6rem 2.4rem 2.6rem}
.bx-idea p{font-size:2.25rem;line-height:1.28}
.bx-idea ul{margin-top:2.2rem;font-size:2.7rem;line-height:1.32}
.bx-idea li+li{margin-top:.8rem}
.bx-in{margin-top:11rem;padding:0 2rem}
.bx-list{margin-top:4.4rem}
.bx-item{padding:4rem 0 4.2rem}
.bx-item::after{right:.4rem;top:4rem;width:2.4rem;height:2.4rem}
.bx-item__n{font-size:2.2rem}
.bx-item__h{margin-top:.6rem;font-size:3.5rem}
.bx-item__k{margin-top:.8rem;font-size:2.8rem}
.bx-item__t{margin-top:1.4rem;font-size:2.2rem;line-height:1.28}
.bx-item .rs-list{margin-top:1.2rem;font-size:2.3rem;line-height:1.26}
.bx-item .rs-list li+li{margin-top:.5rem}
.bx-cards{gap:1.2rem 1rem;margin-top:2.4rem}
.bx-cards li{width:10.4rem;height:13.4rem;border-width:.6rem;font-size:2.4rem;background:linear-gradient(var(--cream),var(--cream)) padding-box,var(--harl) center/3.4rem 6.46rem border-box}
.bx-bag{font-size:2.5rem;line-height:1.28}
.bx-bag+.bx-bag{margin-top:1.6rem}
.bx-cta{margin-top:7rem;padding:7rem 1.6rem 8rem;background-size:6rem 11.4rem}
.bx-cta__card{padding:4rem 2rem 4.2rem;max-width:100%}
.bx-cta__h{font-size:3.3rem;letter-spacing:.04em}
.bx-cta__t{margin-top:1.2rem;font-size:2.4rem}
.btn-ink{margin-top:2.6rem;min-height:5.8rem;padding:1.2rem 2.6rem 1.5rem;font-size:2.3rem}

.jr-hero{position:relative;padding-bottom:3rem}
.jr-ttl{margin:2.4rem 0 0 1.8rem;font-size:7rem}
.jr-ttl img{left:8%;top:36%;width:64%}
.jr-ttl img+img{top:60%}
.jr-sub{margin:2.2rem 2.2rem 0;font-size:2.4rem;line-height:1.26}
.jr-pols{height:24rem;margin-top:2.6rem}
.pol--notes{left:3.4rem;top:.6rem;width:15rem;rotate:-5deg}
.pol--bfast{left:19.6rem;top:4rem;width:15.4rem;rotate:5deg}
.jr-tabs{margin:1rem 2rem 0;gap:0 2.2rem;padding:1.2rem 0}
.jr-tab{padding:1.4rem 0;font-size:2.2rem;min-height:4.8rem}
.jr-tab[aria-selected="true"]::after{bottom:.8rem;height:.24rem}
.jr-body{padding:5rem 2rem 6rem;min-height:30rem}
.jr-h{display:inline-block;font-size:4.2rem;rotate:-2deg}
.jr-lead{margin-top:2.2rem;font-size:2.2rem;line-height:1.28}
.jr-dcards{row-gap:3.4rem;margin-top:3.6rem}
.jr-dcard img{height:5rem}
.jr-dcard p{margin-top:1.2rem;font-size:2.3rem;line-height:1.24}
.jr-dosha .pill--cta{margin-top:3.6rem}
.jr-dosha+.jr-rub{margin-top:6.4rem}
.jr-list{row-gap:4rem;margin-top:4.4rem}
.jcard{padding:3rem 2.4rem 2.8rem}
.jcard__r{margin-top:1.6rem;font-size:1.7rem}
.jcard__r:first-child{margin-top:.8rem}
.jcard__h{margin-top:.8rem;font-size:2.9rem}
.jcard__t{margin-top:1rem;font-size:2.1rem;line-height:1.28}
.jcard__d{margin-top:1.2rem;font-size:2.3rem}
.jr-empty{padding:4.4rem 1rem 1rem;font-size:2.7rem;line-height:1.2}
}

/* ================= РЕДАКТОР (admin/): фото из редактора, лента фото набора, страница статьи =================
   Всё ниже работает только с содержимым из редактора (js/cms-site.js); страницы без него выглядят как раньше. */

/* буквы, которых нет в обрезанных шрифтах макета (в них только «@OhhDarya» и цифры цен): ник в Telegram и цены
   консультаций теперь меняются в редакторе. Файлы загружаются, только если такая буква есть на странице. */
@font-face{font-family:"Cormorant";src:url(../fonts/cormorant-300-more.woff2) format("woff2");font-weight:300;font-style:normal;font-display:swap;unicode-range:U+2D-2E,U+30-39,U+41-43,U+45-4E,U+50-5A,U+5F,U+62-67,U+69-71,U+73-78,U+7A}
@font-face{font-family:"Montserrat";src:url(../fonts/montserrat-300-more.woff2) format("woff2");font-weight:300;font-style:normal;font-display:swap;unicode-range:U+21-2B,U+2D,U+3A-7E,U+A3,U+AB,U+BB,U+401,U+410-44F,U+451,U+2013-2014,U+20B4,U+20BD,U+2116}

/* фото поверх коллажа по маске (блокнот и полароид на главной) */
.cph{position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden;pointer-events:none;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%}
.cph img{position:absolute;max-width:none;object-fit:cover;transform-origin:0 0}

/* фото на листе рваной бумаги со скотчем (RASA RESET): место, размер и наклон листа как у картинки из макета */
.cph-sheet{display:block}
.cph-sheet:not(.rs-photo){position:relative}
.cph-sheet>img{display:block;width:100%;height:auto;visibility:hidden}
.cph-sheet__r{position:absolute;display:block;translate:-50% -50%}
.cph-sheet__p{position:absolute;inset:0;display:block;padding:4.6% 4.6% 5%;background:#e6e4de url(../img/m_paper.webp) center/40rem auto;
  clip-path:polygon(0% 0.54%,2.17% 0.85%,4.35% 0.91%,6.52% 0.27%,8.7% 0.18%,10.87% 0.21%,13.04% 0.31%,15.22% 0.72%,17.39% 0.86%,19.57% 0.8%,21.74% 0.57%,23.91% 0.31%,26.09% 0.69%,28.26% 0.41%,30.43% 0.61%,32.61% 0.93%,34.78% 0.92%,36.96% 0.66%,39.13% 0.95%,41.3% 1.1%,43.48% 1.31%,45.65% 0.62%,47.83% 0.79%,50% 0.92%,52.17% 1.49%,54.35% 1.28%,56.52% 1.13%,58.7% 1.63%,60.87% 1.68%,63.04% 1.34%,65.22% 0.49%,67.39% 0.42%,69.57% 0.77%,71.74% 0.46%,73.91% 0.53%,76.09% 0.38%,78.26% 0.65%,80.43% 0.01%,82.61% 0.14%,84.78% 0.27%,86.96% 1.27%,89.13% 0.43%,91.3% 0.62%,93.48% 0.51%,95.65% 0.34%,97.83% 0.33%,99.24% 0%,99.02% 1.79%,98.81% 3.57%,99.18% 5.36%,99.27% 7.14%,99.18% 8.93%,99.52% 10.71%,99.18% 12.5%,99.43% 14.29%,99.03% 16.07%,99.7% 17.86%,99.55% 19.64%,99.21% 21.43%,99.72% 23.21%,99.77% 25%,99.87% 26.79%,99.56% 28.57%,99.37% 30.36%,99.02% 32.14%,98.93% 33.93%,99.18% 35.71%,99.2% 37.5%,99.12% 39.29%,99.51% 41.07%,99.57% 42.86%,98.89% 44.64%,98.87% 46.43%,98.81% 48.21%,98.68% 50%,99.26% 51.79%,99.1% 53.57%,98.5% 55.36%,98.92% 57.14%,98.6% 58.93%,98.8% 60.71%,98.88% 62.5%,99.07% 64.29%,98.52% 66.07%,98.07% 67.86%,98.37% 69.64%,98.62% 71.43%,98.46% 73.21%,98.71% 75%,98.5% 76.79%,98.65% 78.57%,98.2% 80.36%,98.87% 82.14%,98.54% 83.93%,98.93% 85.71%,99.37% 87.5%,98.88% 89.29%,98.18% 91.07%,98.18% 92.86%,98.31% 94.64%,98.54% 96.43%,98.35% 98.21%,100% 98.92%,97.83% 98.87%,95.65% 98.76%,93.48% 98.77%,91.3% 98.67%,89.13% 98.49%,86.96% 98.77%,84.78% 98.64%,82.61% 98.18%,80.43% 98.07%,78.26% 98.22%,76.09% 98.31%,73.91% 98.16%,71.74% 98.21%,69.57% 98.1%,67.39% 98.24%,65.22% 99.06%,63.04% 98.63%,60.87% 98.59%,58.7% 98.16%,56.52% 98.51%,54.35% 98.06%,52.17% 98.37%,50% 98.21%,47.83% 98.37%,45.65% 98.07%,43.48% 98.36%,41.3% 98.43%,39.13% 98.39%,36.96% 98.22%,34.78% 98.69%,32.61% 97.82%,30.43% 98.97%,28.26% 98.07%,26.09% 98.64%,23.91% 98.36%,21.74% 98.47%,19.57% 98.19%,17.39% 98.36%,15.22% 97.89%,13.04% 98.35%,10.87% 98.56%,8.7% 98.84%,6.52% 98.21%,4.35% 98.22%,2.17% 98.54%,0.87% 100%,0.39% 98.21%,0.97% 96.43%,0.86% 94.64%,1.32% 92.86%,1.32% 91.07%,0.94% 89.29%,1.26% 87.5%,1.55% 85.71%,1.45% 83.93%,1.75% 82.14%,1.86% 80.36%,1.87% 78.57%,1.96% 76.79%,1.63% 75%,0.97% 73.21%,1.38% 71.43%,0.73% 69.64%,1.21% 67.86%,1.37% 66.07%,1.64% 64.29%,1.72% 62.5%,1.31% 60.71%,1.66% 58.93%,1.22% 57.14%,0.86% 55.36%,1.43% 53.57%,0.99% 51.79%,1.63% 50%,1.38% 48.21%,1.36% 46.43%,1.36% 44.64%,1.67% 42.86%,1.42% 41.07%,0.98% 39.29%,1.36% 37.5%,1.01% 35.71%,1.59% 33.93%,1.34% 32.14%,1.61% 30.36%,1.15% 28.57%,1.21% 26.79%,1.24% 25%,1.61% 23.21%,1.25% 21.43%,1.9% 19.64%,1.18% 17.86%,1.41% 16.07%,1.46% 14.29%,1.15% 12.5%,0.66% 10.71%,0.72% 8.93%,1.19% 7.14%,0.58% 5.36%,0.59% 3.57%,1.29% 1.79%)}
.cph-sheet__p img{display:block;width:100%;height:100%;object-fit:cover}
.cph-sheet__t{position:absolute;left:31%;top:-4.4%;width:38%;height:9.5%;background:linear-gradient(90deg,rgba(214,209,198,.9),rgba(226,222,213,.82) 30%,rgba(205,200,189,.88) 62%,rgba(222,218,208,.84));rotate:-2deg;
  clip-path:polygon(0 6%,3% 0,97% 3%,100% 0,99% 46%,100% 96%,96% 100%,4% 97%,0 100%,1.2% 52%)}

/* лента фото набора RASA RITUAL KIT: появляется, когда в редакторе больше одного фото */
.bx-gal[hidden]{display:none!important}
.bx-gal__in{display:flex;flex-wrap:wrap;justify-content:center}
.bx-gal__i{position:relative;margin:0;background:#f5f4f0;box-shadow:0 .8rem 2.4rem rgba(0,0,0,.42)}
.bx-gal__i::before{content:"";position:absolute;left:31%;top:-1.1rem;width:38%;height:2.3rem;background:rgba(238,208,206,.86);rotate:-4deg;box-shadow:0 .1rem .3rem rgba(0,0,0,.16)}
.bx-gal__i img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover}
.bx-gal__i:nth-child(odd){rotate:-2.5deg}
.bx-gal__i:nth-child(even){rotate:2deg}
.bx-gal__i:nth-child(3n){rotate:-1deg}

/* страница статьи Journal (article.html) */
.ar{min-height:60rem}
.ar-in[hidden],.ar-none[hidden],.ar-cover[hidden],.ar-date[hidden]{display:none!important}
.ar-back{display:inline-flex;align-items:center;text-decoration:none}
.ar-back .arr{rotate:180deg;margin-right:.5em}
.ar-rub{font-family:var(--serif);font-weight:400;letter-spacing:.16em;text-transform:uppercase;color:var(--pink);line-height:1.1}
.ar-h{font-family:var(--serif);font-weight:400;line-height:1.04;letter-spacing:.01em;color:var(--white);overflow-wrap:break-word}
.ar-date{font-family:var(--hand);color:var(--pink);line-height:1}
.ar-cover{position:relative;margin:0;background:#f5f4f0;box-shadow:0 .8rem 2.4rem rgba(0,0,0,.42)}
.ar-cover::before{content:"";position:absolute;left:31%;top:-1.1rem;width:38%;height:2.3rem;background:rgba(238,208,206,.86);rotate:-4deg;box-shadow:0 .1rem .3rem rgba(0,0,0,.16)}
.ar-cover img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover}
.ar-text p,.ar-text li{font-family:var(--serif);font-weight:500;color:#000}
.ar-text h2{font-family:var(--hand);font-weight:400;line-height:1.05;color:var(--ink)}
.ar-text li{position:relative}
.ar-text li::before{content:"";position:absolute;border-radius:50%;background:#e07fa6}
.ar-end{text-align:center}
.ar-end__links{display:flex;flex-wrap:wrap;justify-content:center}
.ar-none{font-family:var(--hand);color:#fff;text-align:center}
.ar-none a{color:var(--pink)}

@media (min-width:700px){
.bx-gal{width:min(128rem,100% - 8rem);margin:11rem auto 0}
.bx-gal__in{gap:5.4rem 4.6rem}
.bx-gal__i{width:27rem;padding:1.3rem 1.3rem 4.6rem}

.ar-head{position:relative;width:min(124rem,100% - 8rem);margin:0 auto;padding:1rem 0 4rem;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:7rem;align-items:center}
.ar-back{grid-column:1/-1;justify-self:start;font-size:2.6rem}
.ar-head__l{padding:4rem 0 3rem}
.ar-rub{font-size:2rem}
.ar-h{margin-top:1.8rem;font-size:7.4rem;max-width:84rem}
.ar-date{margin-top:2.6rem;font-size:3.6rem}
.ar .ar-cover{width:38rem;margin:3rem 3rem 2rem 0;padding:1.7rem 1.7rem 6rem;rotate:3deg}
.ar-paper{margin-top:9rem}
.ar-text{width:min(92rem,100% - 8rem);margin:0 auto;padding:4.6rem 0 5.6rem}
.ar-text p,.ar-text li{font-size:2.7rem;line-height:1.3}
.ar-text p+p,.ar-text ul+p,.ar-text p+ul{margin-top:1.6rem}
.ar-text h2{font-size:4.6rem;margin-top:4rem}
.ar-text h2:first-child{margin-top:0}
.ar-text h2+p,.ar-text h2+ul{margin-top:1.6rem}
.ar-text li{padding-left:3rem}
.ar-text li+li{margin-top:.6rem}
.ar-text li::before{left:.7rem;top:.56em;width:.8rem;height:.8rem}
.ar-end{padding:15rem 2rem 9rem}
.ar-end__links{gap:1.4rem 5rem;margin-top:3.6rem}
.ar-end .tlink{font-size:2.6rem}
.ar-none{padding:14rem 2rem 10rem;font-size:3.8rem}
}

@media (min-width:700px) and (max-width:1099px){
.bx-gal,.ar-head{width:calc(100% - 6rem)}
.bx-gal__i{width:23rem}
.ar-head{column-gap:4rem}
.ar-h{font-size:6rem}
.ar .ar-cover{width:30rem;margin-right:1rem}
}

@media (max-width:699px){
.cph--desk{display:none}

.bx-gal{margin-top:7rem;padding:0 2rem}
.bx-gal__in{gap:3.6rem 1.8rem}
.bx-gal__i{width:16.4rem;padding:.8rem .8rem 2.8rem}

.ar{min-height:40rem}
.ar-head{padding:1.4rem 2rem 2rem}
.ar-back{font-size:2.2rem;min-height:4.4rem}
.ar-head__l{padding-top:1.6rem}
.ar-rub{font-size:1.7rem}
.ar-h{margin-top:1.2rem;font-size:4.1rem}
.ar-date{margin-top:1.6rem;font-size:2.8rem}
.ar .ar-cover{width:27rem;margin:4.2rem auto 0;padding:1.2rem 1.2rem 4.2rem;rotate:-2deg}
.ar-paper{margin-top:8rem}
.ar-text{padding:1.6rem 2.4rem 2.6rem}
.ar-text p,.ar-text li{font-size:2.2rem;line-height:1.32}
.ar-text p+p,.ar-text ul+p,.ar-text p+ul{margin-top:1.3rem}
.ar-text h2{font-size:3.4rem;margin-top:3rem}
.ar-text h2:first-child{margin-top:0}
.ar-text h2+p,.ar-text h2+ul{margin-top:1.2rem}
.ar-text li{padding-left:2.2rem}
.ar-text li+li{margin-top:.5rem}
.ar-text li::before{left:.5rem;top:.58em;width:.65rem;height:.65rem}
.ar-end{padding:10.4rem 1.6rem 6rem}
.ar-end__links{flex-direction:column;align-items:center;gap:.4rem;margin-top:2.2rem}
.ar-end .tlink{font-size:2.2rem}
.ar-none{padding:8rem 2rem 6rem;font-size:2.7rem;line-height:1.2}
}

/* подвал: с 25.11 в нём пять разделов (Journal, набор, два клуба, Education) */
@media (min-width:700px){
.foot__nav{gap:0 2.4rem;margin-left:3.4rem}
.foot>p,.foot>a{white-space:nowrap}
.tfoot{font-size:1.9rem}
.tfoot .foot__nav{gap:0 1.8rem;margin-left:3rem}
}
