/* /stati: the articles hub and the article pages, on top of styles.css + kurs.css + uslugi.css (same tokens, type, buttons and FAQ) */

/* first screen: longer headings than the service pages, the intro is a reading paragraph */
.art-hero .khero__h1{font-size:clamp(2.4rem,4.7vw,5rem)}
.art-hero .offer__who{font-size:clamp(1.14rem,1.5vw,1.45rem);line-height:1.42;max-width:34em;color:rgba(243,234,223,.9)}
.art-hero .offer__who+.offer__who{margin-top:1em}
.art-hero .offer__who a,.art-channel a,.art-cta__lead a{color:var(--text);border-bottom:1px solid var(--accent);transition:color .3s}
@media (hover:hover){.art-hero .offer__who a:hover,.art-channel a:hover,.art-cta__lead a:hover{color:var(--accent)}}
.art-cta__lead a[href^="tel:"],.art__body a[href^="tel:"]{white-space:nowrap}
.hub-hero__main{max-width:64em}
.hub-hero .khero__h1{font-size:clamp(2.8rem,6.4vw,6.6rem)}
.hub-hero .offer__who{max-width:36em}

/* light sections on these pages: the gold focus ring is too faint on ivory, use the plum accent */
.stati-page .light :focus-visible{outline-color:var(--accent)}

/* ---------- reading column ---------- */
.art__body{max-width:40em;margin:0 auto;font-size:clamp(1.03rem,1.15vw,1.13rem);line-height:1.72;color:rgba(28,13,25,.84);display:flow-root}
.art__body>*+*{margin-top:1.05em}
.art__body h2{font-family:var(--serif);font-weight:500;font-size:clamp(2rem,3.4vw,3.2rem);line-height:1.04;letter-spacing:-.014em;color:var(--text);text-wrap:balance;margin-top:clamp(56px,6.5vw,104px)}
.art__body h2:first-child{margin-top:0}
.art__body h2{clear:both}
.art__body h2+*{margin-top:clamp(16px,1.6vw,24px)}
.art__body h3{font-family:var(--serif);font-weight:600;font-size:clamp(1.5rem,2.1vw,1.95rem);line-height:1.12;color:var(--text);margin-top:clamp(34px,3.4vw,52px)}
.art__body h3+*{margin-top:.6em}
.art__body ul{padding:0;list-style:none}
.art__body li{position:relative;padding-left:1.5em}
.art__body li+li{margin-top:.6em}
.art__body li::before{content:"";position:absolute;left:.25em;top:.72em;width:7px;height:7px;border-radius:50%;background:var(--accent)}
.art__body b{font-weight:700;color:var(--text)}
.art__body a{color:var(--text);border-bottom:1px solid var(--accent);transition:color .3s}
@media (hover:hover){.art__body a:hover{color:var(--accent)}}

/* photos: inline on phones and tablets, beside the text on wide screens */
.art-fig{width:min(100%,440px);margin:clamp(30px,3.4vw,46px) 0}
.art__body>.art-fig+*{margin-top:0}
.art-fig__ph{aspect-ratio:3/4;border-radius:22px;overflow:hidden;background:var(--cream);box-shadow:0 30px 60px -40px rgba(28,13,25,.5)}
.art-fig--arch .art-fig__ph{border-radius:999px 999px 22px 22px}
.art-fig img{width:100%;height:100%;object-fit:cover}
@media (min-width:1200px){
  .art__body{max-width:calc(40em + 360px);padding-right:360px}
  .art-fig{float:right;clear:right;width:300px;margin:.4em -360px 28px 0}
  .art__body>.art-fig+*{margin-top:0}
  .art__body h2+.art-fig{margin-top:.5em}
  .art__body h2+.art-fig+*,.art__body h3+.art-fig+*{margin-top:clamp(16px,1.6vw,24px)}
}

/* ---------- article cards (hub list and "read also") ---------- */
.scards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:clamp(16px,1.8vw,28px)}
.scards--4{grid-template-columns:repeat(4,minmax(0,1fr))}
.scards--6{grid-template-columns:repeat(3,minmax(0,1fr))}
.scard{position:relative;display:flex;flex-direction:column;gap:18px;min-width:0}
.scard:nth-child(2){--d:.05s}.scard:nth-child(3){--d:.1s}.scard:nth-child(4){--d:.15s}.scard:nth-child(5){--d:.2s}.scard:nth-child(6){--d:.25s}
.scard__ph{aspect-ratio:3/4;border-radius:22px;overflow:hidden;background:var(--ink2)}
.light .scard__ph{background:var(--cream)}
.scard:first-child .scard__ph{border-radius:999px 999px 22px 22px}
.scard__ph img{width:100%;height:100%;object-fit:cover;transition:scale 1.2s var(--ease)}
.scard__tx{display:flex;flex-direction:column;gap:.55rem;min-width:0}
.scard__t{font-family:var(--serif);font-weight:500;font-size:clamp(1.45rem,1.8vw,1.9rem);line-height:1.08;letter-spacing:-.01em;text-wrap:balance;transition:color .3s}
.scard__t a::after{content:"";position:absolute;inset:-8px;border-radius:26px}
.scard__t a:focus-visible{outline:none}
.scard__t a:focus-visible::after{outline:2px solid var(--gold);outline-offset:2px}
.light .scard__t a:focus-visible::after{outline-color:var(--accent)}
.scard__d{color:var(--mute);font-size:.94rem;line-height:1.5}
@media (hover:hover){.scard:hover .scard__ph img{scale:1.05}.scard:hover .scard__t{color:var(--accent)}}
@media (max-width:1300px){.scards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:1000px){.scards,.scards--4,.scards--6{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){
  .scards,.scards--4,.scards--6{grid-template-columns:1fr;gap:0}
  .scard{display:grid;grid-template-columns:104px minmax(0,1fr);gap:16px;align-items:center;padding:14px 0;border-top:1px solid var(--line)}
  .scard:last-child{border-bottom:1px solid var(--line)}
  .scard__ph,.scard:first-child .scard__ph{border-radius:16px}
  .scard:first-child .scard__ph{border-radius:999px 999px 16px 16px}
  .scard__t{font-size:1.4rem}
  .scard__d{font-size:.86rem;line-height:1.45}
  .scard__t a::after{inset:0;border-radius:0}
}

/* "read also" on ink */
.art-more__h{margin-bottom:clamp(30px,4vw,64px)}

/* ---------- booking at the end ---------- */
.art-cta__in{max-width:56em}
.art-channel{color:var(--mute);font-size:clamp(1rem,1.15vw,1.1rem);max-width:42em}
.art-cta__lead{margin-top:clamp(18px,2vw,28px);font-family:var(--serif);font-size:clamp(1.4rem,2.2vw,2.25rem);line-height:1.26;max-width:32em}
.art-cta .kzap__btns{margin-top:clamp(26px,3vw,40px)}
@media (max-width:640px){.art-cta .kzap__btns .btn{flex:1 1 100%}}
