/*
Theme Name: Чижик — объект недвижимости
Description: Каталог недвижимости с отдельными страницами объектов, фотографиями и управлением в WordPress.
Version: 1.2.0
Requires at least: 6.4
Requires PHP: 7.4
Author: Property Studio
License: GPL-2.0-or-later
Text Domain: chizhik-property
*/
:root{--ink:#20231f;--yellow:#ffdc00;--muted:#656960;--line:#e1e4dc;--light:#f4f5f1}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;color:var(--ink);background:#fff;font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.55}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}img{display:block;max-width:100%}.wrap{width:min(1240px,calc(100% - 80px));margin-inline:auto}.top{width:min(1360px,calc(100% - 80px));margin:auto;display:flex;align-items:center;gap:30px;justify-content:space-between;padding:26px 0;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;font-size:14px;font-weight:700}.brand-mark{display:grid;place-items:center;width:42px;height:42px;background:var(--yellow);font-size:18px;border-radius:4px}.top nav{display:flex;gap:28px;font-size:14px}.top-phone{font-weight:700;white-space:nowrap}a:focus-visible,button:focus-visible{outline:3px solid #7b6510;outline-offset:5px}nav a:hover{text-decoration:underline}.hero{display:grid;grid-template-columns:1fr 1.12fr;gap:64px;padding-top:60px;padding-bottom:60px;align-items:center}.eyebrow{font-size:12px;font-weight:700;letter-spacing:1.8px;text-transform:uppercase;margin:0 0 24px}.hero h1{font-size:clamp(36px,4.3vw,62px);letter-spacing:-2px;line-height:1.08;margin:0 0 24px;font-weight:600}.address{color:var(--muted);font-size:18px;margin-bottom:32px}.price{font-size:36px;font-weight:700;letter-spacing:-1px}.price span{font-weight:400}.muted{color:var(--muted)}.hero .muted{font-size:14px;margin:2px 0 26px}.button{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:14px 28px;background:var(--yellow);color:var(--ink);font-weight:700;border-radius:4px;transition:background .15s}.button:hover{background:#ebc900}.hero-photo{position:relative;border-radius:8px;overflow:hidden;background:var(--light)}.hero-photo img{width:100%;height:490px;object-fit:cover}.hero-photo>span{position:absolute;bottom:20px;left:20px;padding:8px 14px;background:#fff;border-radius:3px;font-size:14px}.numbers{display:grid;grid-template-columns:repeat(4,1fr);border-block:1px solid var(--line);padding-block:28px;gap:24px}.numbers div{border-right:1px solid var(--line);padding-right:20px}.numbers div:last-child{border:0}.numbers strong{display:block;font-size:28px;font-weight:600;white-space:nowrap}.numbers span{font-size:14px;color:var(--muted)}.section{padding-block:78px}h2{font-size:clamp(28px,3.4vw,42px);line-height:1.15;letter-spacing:-1px;font-weight:600;margin:0 0 28px}.about{display:grid;grid-template-columns:1fr 1fr;gap:80px}.description p{margin:0 0 24px;font-size:18px;line-height:1.7}dl{margin:0}dl div{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding:16px 0}dt{color:var(--muted)}dd{margin:0;text-align:right}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:24px}.section-heading h2{margin-bottom:30px}.section-heading .muted{font-size:14px;margin-bottom:32px}.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}.gallery a{min-width:0}.gallery img{width:100%;height:270px;object-fit:cover;border-radius:5px}.gallery span,.plans span{display:block;margin-top:12px;font-size:14px}.income{background:var(--light)}.income-grid{display:grid;grid-template-columns:1fr 1.3fr;gap:70px}.rent-row{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:22px 0;border-bottom:1px solid #d6d9d0;font-size:18px}.rent-row strong{text-align:right;font-size:24px;white-space:nowrap}.rent-row small{display:block;font-weight:400;font-size:14px;color:var(--muted);margin-top:4px}.potential{margin-top:12px}.note{color:var(--muted);font-size:13px;margin-top:24px;line-height:1.65}.plans{display:grid;grid-template-columns:1fr 1fr;gap:32px}.plans img{height:480px;width:100%;object-fit:contain;background:#fafafa;border:1px solid var(--line);border-radius:5px}.contacts{background:var(--ink);color:#fff;padding:70px 0}.contacts .eyebrow{color:var(--yellow)}.contact-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:40px;align-items:center}.contacts h2{margin-bottom:20px}.contacts p{color:#c9cec4}.contacts .broker{font-size:14px;margin-top:28px}.contact-phone{display:block;font-size:clamp(23px,3vw,36px);font-weight:600;white-space:nowrap;margin-bottom:22px}.contact-phone:hover{text-decoration:underline}footer{display:flex;gap:20px;justify-content:space-between;padding-block:24px;font-size:12px;color:var(--muted)}dialog{width:min(1000px,94vw);max-height:94vh;padding:44px 24px 20px;border:0;border-radius:8px;background:#fff}dialog::backdrop{background:#000c}dialog img{max-height:72vh;object-fit:contain;margin:auto}dialog p{margin:12px 0 0;text-align:center}#photo-close{position:absolute;right:12px;top:3px;font-size:32px;background:none;border:0;cursor:pointer;width:40px;height:40px}@media(max-width:1000px){.top nav{display:none}.hero{gap:30px}.hero-photo img{height:430px}.numbers{grid-template-columns:1fr 1fr}.numbers div:nth-child(2){border:0}.gallery{grid-template-columns:1fr 1fr}.about,.income-grid{gap:35px}.contact-phone{white-space:normal}}@media(max-width:640px){.wrap,.top{width:calc(100% - 36px)}.top{padding:18px 0;gap:16px}.brand{font-size:12px;max-width:175px}.top-phone{font-size:12px}.hero{grid-template-columns:1fr;gap:30px;padding:36px 0}.hero h1{letter-spacing:-1.1px;font-size:40px}.eyebrow{font-size:12px;letter-spacing:1px;margin-bottom:18px}.address{font-size:16px;margin-bottom:24px}.price{font-size:32px}.hero-photo img{height:310px}.numbers{gap:22px 16px;padding-block:24px}.numbers strong{font-size:22px;white-space:normal}.numbers span{font-size:13px}.section{padding-block:48px}.about,.income-grid,.contact-grid{grid-template-columns:1fr;gap:20px}.description p{font-size:16px}.section-heading{display:block}.section-heading .muted{margin-top:-16px}.gallery{gap:22px 14px}.gallery img{height:180px}.gallery span{font-size:12px}.rent-row{font-size:16px}.rent-row strong{font-size:20px}.plans{grid-template-columns:1fr;gap:24px}.plans img{height:390px}.contacts{padding:46px 0}.contact-phone{font-size:28px}footer{flex-direction:column;gap:8px}dd{max-width:60%}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.button{transition:none}}

/* Selected direction: investment prospectus */
:root{--ink:#111;--line:#c9c9c9;--muted:#666;--light:#f5f5f5}
.wrap,.top{width:min(1360px,calc(100% - 88px))}.top{padding:22px 0}.brand{font-size:28px;font-weight:800;letter-spacing:-1px}.top nav{font-size:16px}.top-phone{font-size:20px}
.hero{grid-template-columns:minmax(0,1fr) minmax(0,2.05fr);gap:32px;padding:24px 0}.hero h1{font-size:clamp(40px,4.9vw,70px);font-weight:800;letter-spacing:-2.6px;line-height:1.1;margin:0 0 32px}.address{font-size:22px;color:#111;padding-bottom:32px;border-bottom:1px solid #999;margin:0 0 24px}.price{font-size:clamp(28px,3.6vw,51px);letter-spacing:-1.5px;white-space:nowrap}.price span{font-weight:700}.hero .muted{font-size:23px;margin:0 0 24px}.button{border-radius:2px;font-size:18px;font-weight:600}.hero .button{width:100%;min-height:72px}.hero-photo{border-radius:0}.hero-photo img{height:690px;object-fit:cover}.numbers{grid-template-columns:1fr 1.35fr .85fr;padding-block:40px;gap:40px}.numbers div{padding-right:32px}.numbers strong{font-size:clamp(28px,4.8vw,69px);font-weight:800;letter-spacing:-2px}.numbers strong small{font-size:.52em;letter-spacing:-1px}.numbers span{display:block;font-size:22px;margin-top:4px}.section{padding-block:54px}h2{font-size:clamp(34px,4.7vw,64px);font-weight:800;letter-spacing:-2px}.about{grid-template-columns:.8fr 1.2fr;gap:50px;align-items:start}.about h2{margin:0}.about>div:last-child{padding-left:40px;border-left:1px solid var(--line)}.description p{font-size:23px;line-height:1.45}.about dl{font-size:16px}.gallery{grid-template-columns:repeat(2,1fr);gap:28px}.gallery img{height:410px;border-radius:0}.gallery a:last-child:nth-child(odd){grid-column:1 / -1}.gallery a:last-child:nth-child(odd) img{height:380px}.section-heading .muted{font-size:16px}.income-grid{grid-template-columns:1fr 1.4fr}.income h2,.plans+h2{font-size:40px}.plans img{border-radius:0}.contacts{background:#fff;color:#111;padding:38px 0;border-top:1px solid var(--line)}.contacts .contact-grid{grid-template-columns:1fr 1fr;gap:40px;align-items:start}.contacts h2{font-size:56px;margin:0 0 16px}.contacts p{color:#666;font-size:16px;margin:0 0 12px}.contacts .broker{margin-top:16px}.contacts .contact-grid>div:last-child{padding-left:40px;border-left:1px solid var(--line)}.contact-phone{font-size:clamp(24px,3.3vw,47px);font-weight:800;letter-spacing:-1px}.contacts .button{width:100%}footer{border-top:1px solid var(--line)}
@media(max-width:1100px){.top nav{gap:18px}.top-phone{font-size:16px}.hero-photo img{height:570px}.hero h1{font-size:48px}.hero .muted{font-size:18px}.address{font-size:18px}.numbers strong{font-size:40px}.numbers span{font-size:18px}.numbers div:nth-child(2){border-right:1px solid var(--line)}.gallery img{height:320px}.contact-phone{font-size:28px}}
@media(max-width:760px){.wrap,.top{width:calc(100% - 36px)}.top{gap:10px}.brand{font-size:21px;letter-spacing:-.5px;max-width:none}.top-phone{font-size:14px}.hero{grid-template-columns:1fr;gap:26px;padding:32px 0}.hero h1{font-size:44px;letter-spacing:-1.5px;max-width:520px;margin-bottom:20px}.address{padding-bottom:20px;margin-bottom:20px}.price{font-size:40px}.hero .button{min-height:56px}.hero-photo img{height:auto;max-height:490px;object-fit:cover}.numbers{grid-template-columns:1fr;gap:22px;padding-block:26px}.numbers div,.numbers div:nth-child(2){border:0;padding:0}.numbers strong{font-size:40px;letter-spacing:-1px}.numbers span{font-size:16px}.section{padding-block:36px}h2{font-size:40px;letter-spacing:-1px}.about{grid-template-columns:1fr;gap:10px}.about>div:last-child{border:0;padding:0}.description p{font-size:18px}.gallery{gap:22px 14px}.gallery img{height:220px}.gallery a:last-child:nth-child(odd) img{height:280px}.gallery span{font-size:14px}.income-grid{grid-template-columns:1fr;gap:0}.income h2{font-size:36px}.contacts .contact-grid{grid-template-columns:1fr;gap:12px}.contacts .contact-grid>div:last-child{border:0;padding:0}.contacts h2{font-size:40px}.contact-phone{font-size:30px}.section-heading .muted{font-size:14px}}

.hero-copy{align-self:start;padding-top:50px}.hero-photo img{height:690px}.extra-details{border-top:1px solid var(--line);padding:20px 0}.extra-details summary{cursor:pointer;font-size:18px;font-weight:600}.extra-details[open]{padding-bottom:0}.extra-details summary:focus-visible{outline:3px solid #7b6510;outline-offset:5px}.gallery a:nth-child(n+3) img{height:250px}.gallery a:nth-child(odd):last-child{grid-column:auto}.gallery a:nth-child(odd):last-child img{height:250px}#photos{padding-top:0}#photos .section-heading{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}@media(max-width:760px){.hero-copy{padding-top:0}.hero-photo img{height:auto}.gallery a:nth-child(n+3) img,.gallery a:nth-child(odd):last-child img{height:180px}}

.hero h1 span{display:block}.hero h1 .last-line{font-size:.74em;white-space:nowrap}.price{font-size:clamp(32px,4vw,57px)}.about dl div{justify-content:flex-start;border:0;padding:4px 0;font-size:23px;gap:10px}.about dt{color:#111}.about dt:after{content:" —"}.about dd{text-align:left}.description p{margin-bottom:8px}.about{padding-block:48px}.gallery{grid-template-columns:1.5fr 1fr}.hero-copy{padding-top:50px}@media(max-width:760px){.hero-copy{padding-top:0}.hero h1 span{display:inline}.hero h1 span:after{content:" "}.hero h1 .last-line{font-size:1em;white-space:normal}.price{font-size:40px}.about dl div{font-size:18px}.gallery{grid-template-columns:1fr 1fr}}
@media(min-width:1101px){.brand{font-size:38px}.top nav{font-size:20px}.top-phone{font-size:24px}.hero{grid-template-columns:minmax(0,1.08fr) minmax(0,2.05fr)}.hero h1{font-size:clamp(60px,5.8vw,84px)}.hero-photo img{height:744px}.price{font-size:clamp(46px,4.5vw,65px)}.address{font-size:26px}.hero .muted{font-size:28px}.button{font-size:24px}.numbers strong{font-size:clamp(58px,5.7vw,82px)}.numbers span{font-size:28px}h2{font-size:82px}.description p,.about dl div{font-size:30px}.contacts h2{font-size:72px}.contact-phone{font-size:54px}}

.catalog-intro{padding:72px 0 46px}.catalog-intro h1{font-size:clamp(38px,5vw,64px);line-height:1.1;letter-spacing:-2px;margin:0 0 18px;max-width:850px}.catalog-intro p{color:var(--muted);font-size:18px;margin:0}.catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px 32px;padding-bottom:80px}.object-card{display:block;border-bottom:1px solid var(--line);padding-bottom:28px}.object-cover{height:360px;background:var(--light);display:grid;place-items:center;color:var(--muted);overflow:hidden}.object-cover img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.object-card:hover .object-cover img{transform:scale(1.025)}.object-card h2{font-size:28px;line-height:1.2;margin:24px 0 12px;letter-spacing:-.6px}.object-card .address{font-size:16px;margin:0 0 20px}.card-price{font-size:28px;font-weight:700}.card-facts{display:flex;gap:18px;flex-wrap:wrap;font-size:14px;margin-top:12px;color:var(--muted)}.card-more{display:inline-block;margin-top:24px;font-weight:700;border-bottom:2px solid var(--yellow)}.catalog-pagination{display:flex;gap:12px;justify-content:center;margin-bottom:50px}.empty-catalog{padding:40px 0 80px;color:var(--muted)}@media(max-width:760px){.catalog-intro{padding:44px 0 32px}.catalog-grid{grid-template-columns:1fr;gap:36px;padding-bottom:48px}.object-cover{height:280px}.object-card h2{font-size:25px}.catalog-intro h1{letter-spacing:-1px}.top{flex-wrap:wrap;gap:18px}.top nav{gap:18px}}@media(prefers-reduced-motion:reduce){.object-cover img{transition:none}}
