/* Жилые интерьерные кейсы: единая подача по редакционной сетке кейса «Яхтовая». */
.interior-case{--ink:#202321;--muted:#575d57;--line:#dedfdb;--accent:#384739;color:var(--ink)}
.interior-case .y-nav{padding:26px 0 0;font-size:13px;color:var(--muted)}
.interior-case .y-nav a{text-decoration:none}
.interior-case .y-nav a:hover{text-decoration:underline;text-underline-offset:4px}
.interior-case .y-mast{padding:64px 0 36px;display:grid;grid-template-columns:1.45fr 1fr;gap:clamp(30px,6vw,90px);align-items:end}
.interior-case .y-mast h1{max-width:18ch;margin:14px 0 0;font-size:clamp(42px,6vw,84px);font-weight:400;line-height:.99;letter-spacing:-.06em}
.interior-case .y-lead{max-width:42ch;margin:0 0 5px;color:var(--muted);font-size:clamp(17px,1.5vw,20px)}
.interior-case .y-hero{margin:0;background:#f7f7f5}
.interior-case .y-hero>a{display:flex;justify-content:center;align-items:center;width:100%;min-height:220px}
.interior-case .y-hero img{display:block;width:100%;height:auto;max-height:min(70vw,850px);object-fit:contain}
.interior-case .y-image-caption{padding:10px 0 0;color:var(--muted);font-size:13px}
.interior-case .y-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;border-block:1px solid var(--line);margin:36px 0 0;padding:22px 0}
.interior-case .y-facts>div{min-width:0}
.interior-case .y-facts dt{margin:0 0 7px;color:var(--muted);font-size:12px;letter-spacing:.12em;text-transform:uppercase}
.interior-case .y-facts dd{margin:0;font-size:16px;overflow-wrap:anywhere}
.interior-case .y-copy{display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(32px,8vw,120px);padding:68px 0;border-bottom:1px solid var(--line)}
.interior-case .y-copy h2,.interior-case .interior-section-heading h2{margin:0;font-size:clamp(32px,4.2vw,58px);font-weight:400;line-height:1.04;letter-spacing:-.05em}
.interior-case .y-copy p{max-width:68ch;margin:0 0 16px}
.interior-case .y-copy p:last-child{margin-bottom:0}
.interior-case .interior-design-copy{border-bottom:0;padding-bottom:42px}
.interior-gallery{padding:20px 0 64px;border-top:1px solid var(--line)}
.interior-section-heading{padding:26px 0 24px}
.interior-section-heading .kicker{margin:0 0 12px}
.interior-gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}
.interior-gallery-grid figure{min-width:0;margin:0}
.interior-gallery-grid img{display:block;width:100%;height:auto;max-height:780px;object-fit:contain;background:#f7f7f5}
.interior-gallery-grid a{display:block;background:#f7f7f5}
.interior-gallery-grid a:focus-visible,.interior-case .y-image a:focus-visible{outline:2px solid #384739;outline-offset:4px}
.interior-gallery-grid figcaption,.interior-plans figcaption{padding-top:9px;color:var(--muted);font-size:13px}
.interior-case .y-plan{display:grid;grid-template-columns:.8fr 1.2fr;gap:clamp(28px,6vw,72px);align-items:center;margin:28px 0 68px;padding:clamp(24px,4vw,52px);background:#f7f7f5}
.interior-case .y-plan h2{margin:8px 0 18px;font-size:clamp(30px,3.5vw,46px);font-weight:400;line-height:1.08;letter-spacing:-.04em}
.interior-case .y-plan p{max-width:42ch}
.interior-plans{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.interior-plans figure{margin:0;min-width:0}
.interior-plans a{display:block}
.interior-plans img{display:block;width:100%;height:auto;max-height:700px;object-fit:contain;background:#fff}
.interior-case .y-strip{display:grid;grid-template-columns:1fr .6fr;gap:clamp(30px,7vw,100px);align-items:start;padding:50px 0;border-top:1px solid var(--line)}
.interior-case .y-strip h2{margin:10px 0 18px;font-size:clamp(30px,4vw,54px);font-weight:400;line-height:1.08;letter-spacing:-.04em}
.interior-case .y-strip p{max-width:60ch}
.interior-case .y-strip a{margin-right:18px}
.interior-case .y-note{color:var(--muted);font-size:13px}
.interior-case .y-cta{padding:60px 0 72px;border-top:1px solid var(--line)}
.interior-case .y-cta h2{margin:14px 0;font-size:clamp(38px,5.3vw,72px);font-weight:400;line-height:1.02;letter-spacing:-.055em}
.interior-case .y-cta p:not(.kicker){max-width:48ch;color:var(--muted)}
.interior-case .y-cta .button{margin-top:12px;background:#333d32;color:#fff;border-color:#333d32}
@media(max-width:760px){
 .interior-case .y-nav{padding-top:18px}
 .interior-case .y-mast{grid-template-columns:1fr;gap:18px;padding:38px 0 26px}
 .interior-case .y-mast h1{font-size:clamp(39px,9vw,64px)}
 .interior-case .y-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px;margin-top:26px}
 .interior-case .y-copy{grid-template-columns:1fr;gap:18px;padding:42px 0}
 .interior-gallery-grid{gap:18px}
 .interior-case .y-plan{grid-template-columns:1fr;gap:18px;margin:12px 0 42px}
 .interior-case .y-strip{grid-template-columns:1fr;gap:8px;padding:38px 0}
}
@media(max-width:520px){
 .interior-gallery-grid{grid-template-columns:1fr}
 .interior-plans{grid-template-columns:1fr}
 .interior-case .y-hero img{max-height:78vh}
 .interior-case .y-cta{padding:42px 0 50px}
}

/* Детальная редакционная подача кейса дома Максима Филиппова. */
.interior-editorial .editorial-wide{margin:42px 0 0}
.interior-editorial .y-mast{grid-template-columns:1.7fr 1fr}
.interior-editorial .y-mast h1{max-width:24ch;font-size:clamp(40px,4.8vw,70px)}
.interior-editorial .editorial-wide img{display:block;width:100%;height:auto;max-height:min(68vw,820px);object-fit:contain;background:#f7f7f5}
.interior-editorial .editorial-group{padding:46px 0 64px;border-bottom:1px solid var(--line)}
.interior-editorial .interior-section-heading{padding:0 0 24px}
.interior-editorial .interior-section-heading h2{max-width:18ch}
.interior-editorial .editorial-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 18px}
.interior-editorial .editorial-pair .editorial-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.interior-editorial .editorial-grid-two{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.interior-editorial .editorial-grid figure{margin:0;min-width:0}
.interior-editorial .editorial-grid img{display:block;width:100%;height:auto;max-height:620px;object-fit:contain;background:#f7f7f5}
.interior-editorial .editorial-grid figcaption{padding-top:8px;color:var(--muted);font-size:13px}
.interior-editorial .editorial-materials{border-bottom:0;padding-bottom:30px}
.interior-editorial .editorial-subsections{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.interior-editorial .editorial-subsections article{border-top:1px solid var(--line);padding-top:16px}
.interior-editorial .editorial-subsections h3{font-size:19px;line-height:1.25;font-weight:400;margin:0 0 10px}
.interior-editorial .editorial-subsections p{color:var(--muted);font-size:15px;margin:0}
.interior-editorial .editorial-author{display:grid;grid-template-columns:minmax(180px,.55fr) 1.45fr;gap:clamp(26px,6vw,76px);align-items:center;padding:58px 0;border-top:1px solid var(--line)}
.interior-editorial .editorial-author-no-photo{grid-template-columns:1fr}
.interior-editorial .editorial-author-photo{display:block;max-width:320px;background:#f7f7f5}
.interior-editorial .editorial-author-photo img{display:block;width:100%;height:auto;object-fit:cover}
.interior-editorial .editorial-author h2{font-size:clamp(30px,4vw,52px);line-height:1.05;font-weight:400;letter-spacing:-.045em;margin:10px 0 16px}
.interior-editorial .editorial-author p{max-width:64ch}
@media(max-width:760px){
 .interior-editorial .y-mast{grid-template-columns:1fr}
 .interior-editorial .y-mast h1{font-size:clamp(38px,8.5vw,62px)}
 .interior-editorial .editorial-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}
 .interior-editorial .editorial-subsections{grid-template-columns:1fr;gap:18px}
 .interior-editorial .editorial-author{grid-template-columns:150px 1fr;gap:22px;padding:40px 0}
 .interior-editorial .editorial-author-no-photo{grid-template-columns:1fr}
}
@media(max-width:520px){
 .interior-editorial .editorial-grid,.interior-editorial .editorial-grid-two{grid-template-columns:1fr}
 .interior-editorial .editorial-group{padding:34px 0 44px}
 .interior-editorial .editorial-author{grid-template-columns:1fr}
 .interior-editorial .editorial-author-photo{max-width:220px}
}
