/*
Theme Name: Панорама 37
Description: Лёгкая тема для жителей, спроектированная сначала для телефона.
Version: 1.0.0
Requires PHP: 8.3
License: GPL-2.0-or-later
*/
@font-face{font-family:Golos;src:url(assets/golos-text.woff2) format('woff2');font-weight:100 900;font-display:swap}
:root{--blue:#233b53;--ink:#263238;--bg:#f7f8f6;--line:#e7edf1;--green:#477568;--muted:#536675}
*{box-sizing:border-box}html{scroll-padding-top:20px}body{margin:0;background:var(--bg);color:var(--ink);font:18px/1.5 Golos,system-ui,sans-serif;-webkit-text-size-adjust:100%}a{color:var(--blue);text-underline-offset:.22em;overflow-wrap:anywhere}a:hover{text-decoration-thickness:2px}button,input,select{font:inherit}button{cursor:pointer}a,button,input,textarea,select{touch-action:manipulation}:focus-visible{outline:3px solid var(--green);outline-offset:4px}img{max-width:100%;height:auto;display:block}p{margin:0 0 18px}h1,h2,h3{color:var(--blue);letter-spacing:-.025em;overflow-wrap:anywhere}h1{font-size:34px;line-height:1.15;margin:16px 0 24px}h2{font-size:27px;line-height:1.25;margin:0 0 20px}h3{font-size:22px;line-height:1.35;margin:0 0 12px}ul,ol{padding-left:24px}li{margin-bottom:8px}.shell{width:100%;max-width:1160px;margin-inline:auto;padding-inline:max(20px,env(safe-area-inset-left)) max(20px,env(safe-area-inset-right))}.skip{position:absolute;z-index:100;left:16px;top:-100px;padding:12px;background:#fff}.skip:focus{top:8px}.preview-bar{padding:8px 16px;background:var(--line);font-size:13px;text-align:center;color:var(--blue)}.site-header{background:#fff;border-bottom:1px solid #d5dfe6}.header-row{min-height:84px;display:flex;gap:12px;align-items:center;justify-content:space-between}.brand{display:flex;gap:10px;align-items:center;color:var(--blue);text-decoration:none;font-size:18px;font-weight:700;letter-spacing:-.03em;min-height:48px;white-space:nowrap}.brand img{width:38px;height:42px;flex-shrink:0}.menu-toggle{min-width:76px;min-height:48px;padding:10px 12px;border:1px solid #bfccd6;background:#fff;border-radius:8px;color:var(--blue);font-size:16px}.site-nav{padding-block:0 20px}.site-nav[hidden]{display:none}.site-nav ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.site-nav a{display:flex;min-height:48px;align-items:center;padding:10px 14px;border-radius:6px;text-decoration:none}.site-nav a:hover,.site-nav a[aria-current=page]{background:var(--line)}main.shell{padding-top:24px;padding-bottom:48px;min-height:60vh}.contact-hero{background:var(--blue);color:#fff;padding:24px;border-radius:16px;position:relative;margin-bottom:32px;overflow:hidden}.eyebrow{font-size:13px;letter-spacing:.09em;text-transform:uppercase;font-weight:600;margin-bottom:12px}.contact-hero .eyebrow{color:#dce7ef}.contact-hero h1{font-size:29px;line-height:1.2;color:#fff;margin:0 0 12px;max-width:18ch}.contact-hero .hours{font-size:16px;color:#e7edf1;margin-bottom:20px}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:13px 18px;border-radius:8px;background:var(--blue);color:#fff;text-decoration:none;font-size:17px;font-weight:600;text-align:center;border:1px solid var(--blue)}.button.light{background:#fff;color:var(--blue);border-color:#fff}.contact-hero .button{width:100%}.contact-hero .unavailable{display:flex;align-items:center;justify-content:center;border:1px solid #9caebd;border-radius:8px;padding:12px;min-height:52px;font-size:16px;margin:0}.contact-hero .email-link{color:white;display:inline-flex;align-items:center;min-height:44px;margin-top:8px;font-size:16px}.section{margin-bottom:36px}.section-heading{display:flex;flex-direction:column;align-items:flex-start;gap:0;margin-bottom:16px}.section-heading h2{margin:0}.section-heading>a{display:inline-flex;min-height:44px;align-items:center;font-size:16px}.important{border:1px solid #b5cec3;background:#eff5f1;border-radius:12px;padding:22px;margin-bottom:32px}.tag{font-size:13px;line-height:1.4;display:inline-flex;align-items:center;gap:7px;padding:5px 9px;border-radius:5px;background:var(--line);color:var(--blue);font-weight:600;margin-bottom:14px}.tag.important-tag{background:var(--green);color:white}.cards{display:grid;gap:16px}.card{background:#fff;border:1px solid #d5dfe6;border-radius:12px;padding:22px;min-width:0}.card h3 a{text-decoration:none}.card h3 a:hover{text-decoration:underline}.meta{font-size:14px;color:var(--muted);line-height:1.5;margin-bottom:12px}.card p{overflow-wrap:anywhere}.card .more{display:inline-flex;align-items:center;min-height:44px;font-size:16px;font-weight:600}.card-image{margin:-22px -22px 20px;width:calc(100% + 44px);max-width:none;border-radius:11px 11px 0 0;aspect-ratio:16/9;object-fit:cover}.quick-links{display:grid;gap:12px}.quick-links>a{display:flex;justify-content:space-between;align-items:center;min-height:76px;padding:18px 20px;border:1px solid #d5dfe6;border-radius:12px;background:var(--line);text-decoration:none;font-weight:600}.quick-links span{font-size:24px}.house-block{padding-top:24px;border-top:1px solid #d5dfe6}.house-art{width:100%;height:130px;object-fit:cover;border-radius:12px;margin-bottom:24px;background:var(--line)}.subtle{color:var(--muted);font-size:16px}.site-footer{background:var(--blue);color:#fff;padding:32px 0 calc(26px + env(safe-area-inset-bottom))}.site-footer a{color:#fff;display:inline-flex;align-items:center;min-height:44px}.footer-brand{font-weight:600;font-size:20px;margin-bottom:14px}.site-footer .footnote{color:#d8e2e9;font-size:14px;margin:20px 0 0}.footer-nav{display:flex;flex-direction:column;align-items:flex-start;gap:4px;font-size:16px}.breadcrumb{display:inline-flex;align-items:center;min-height:44px;font-size:16px;margin-bottom:12px}.prose{max-width:760px;overflow-wrap:anywhere}.prose h2{margin-top:32px;font-size:27px}.prose a{display:inline;overflow-wrap:anywhere}.prose img{border-radius:10px;margin:24px 0}.gallery{display:grid;gap:16px;margin:24px 0}.gallery img{border-radius:10px}.file-actions{display:flex;flex-direction:column;gap:10px;margin-top:18px}.button.outline{background:white;color:var(--blue);border-color:#a2b4c2}.file-format{font-size:13px;font-weight:600;color:var(--green);letter-spacing:.05em}.document-description{font-size:16px}.document-filter{display:flex;flex-direction:column;gap:10px;margin:20px 0 28px}.document-filter label{font-weight:600}.document-filter select{width:100%;min-height:48px;padding:10px;border:1px solid #7b8e9c;background:white;border-radius:8px;color:var(--ink);font-size:17px}.document-filter button{min-height:48px;padding:10px;background:var(--blue);color:white;border:0;border-radius:8px}.details{margin:0}.details div{padding:16px 0;border-bottom:1px solid #d5dfe6}.details dt{font-size:14px;color:var(--muted);margin-bottom:6px}.details dd{margin:0;overflow-wrap:anywhere;white-space:pre-line}.details a{display:inline-flex;align-items:center;min-height:44px}.pagination{display:flex;flex-wrap:wrap;gap:10px;margin:28px 0}.pagination .page-numbers{display:inline-flex;min-width:44px;min-height:44px;align-items:center;justify-content:center;padding:8px;border:1px solid #bccbd6;border-radius:6px;background:#fff;text-decoration:none}.pagination .current{background:var(--blue);color:white}.empty{padding:24px;background:var(--line);border-radius:12px}.emergency{border:2px solid #8a502f;padding:20px;border-radius:12px;margin-top:24px}.emergency h2{font-size:24px}.admin-link{margin-top:16px;font-size:14px}.form-error{color:#922b2b}hr{border:0;border-top:1px solid #d5dfe6;margin:32px 0}body #wpadminbar{display:none}html{margin-top:0!important}

.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}
.more{display:inline-flex;align-items:center;min-height:44px}.card h3 a{display:block;min-height:44px}
/* Added after the 320/360/390/430 mobile pass. */
@media(min-width:768px){.shell{padding-inline:32px}main.shell{padding-top:32px;padding-bottom:64px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-links{grid-template-columns:repeat(2,minmax(0,1fr))}.section-heading{flex-direction:row;align-items:center;justify-content:space-between;gap:20px}.contact-hero{padding:36px;margin-bottom:40px}.contact-hero h1{font-size:40px;max-width:18ch}.contact-hero .button{width:auto;min-width:290px}.contact-hero .unavailable{max-width:350px}.contact-hero .email-link{display:flex;width:max-content;max-width:100%}.contact-hero:after{content:'';position:absolute;right:9%;top:70px;width:135px;height:150px;border:4px solid #a7bac9;background:linear-gradient(to bottom,transparent 65%,#a7bac9 65%,#a7bac9 68%,transparent 68%);pointer-events:none}.section{margin-bottom:44px}.house-block{max-width:760px}.house-art{height:180px}.footer-nav{flex-direction:row;flex-wrap:wrap;gap:28px}.document-filter{display:grid;grid-template-columns:1fr auto;align-items:end;max-width:570px}.document-filter label{grid-column:1/-1}.document-filter button{padding-inline:24px}.file-actions{flex-direction:row;flex-wrap:wrap}.file-actions .button{flex:1}.prose h1{font-size:42px}.gallery{grid-template-columns:1fr}.details{max-width:760px}}
@media(min-width:1050px){.site-header>.shell{display:flex;align-items:center;justify-content:space-between;gap:32px}.header-row{min-height:96px}.brand{font-size:23px;gap:14px}.brand img{width:45px;height:50px}.menu-toggle{display:none}.site-nav,.site-nav[hidden]{display:block;padding:0}.site-nav ul{flex-direction:row;gap:4px}.site-nav a{font-size:16px;padding:12px}.cards{grid-template-columns:repeat(3,minmax(0,1fr))}.document-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.contact-hero{padding:42px}.contact-hero:after{right:12%;width:170px;height:170px}.contact-hero h1{font-size:44px}.house-block{max-width:none;display:flow-root}.house-art{float:right;width:38%;height:245px;margin-left:40px}}

/* Architectural pencil illustrations, November 2026. */
.contact-hero:after{display:none}.contact-copy{position:relative;z-index:1;min-width:0}.hero-sketch{width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;background:#f6f7f4;border-radius:10px;margin-top:22px}.house-art{height:auto;aspect-ratio:3/2;object-fit:contain;background:#f6f7f4}.architecture-figure{margin:0 0 32px;max-width:900px}.architecture-figure img{width:100%;height:auto;border-radius:14px}.architecture-figure figcaption{font-size:13px;color:var(--muted);margin-top:8px}
@media(min-width:768px){.contact-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;align-items:center}.hero-sketch{margin:0}.contact-hero h1{font-size:36px}.contact-hero .button{min-width:0}.house-art{height:auto}}
@media(min-width:1050px){.contact-hero h1{font-size:44px}.hero-sketch{width:100%}.house-art{height:auto;width:42%;margin-left:40px}}

/* Verified organization identity and mobile requisites. */
.brand{white-space:normal;gap:10px}.brand-copy{display:block;min-width:0}.brand-name{display:block;font-size:19px;line-height:1.08;max-width:155px}.brand-copy small{display:block;font-size:10px;font-weight:400;letter-spacing:0;line-height:1.35;margin-top:5px}.header-row{min-height:96px}.brand img{width:34px;height:40px}.home-address{font-size:17px;line-height:1.4;margin-bottom:14px}.home-intro{font-size:15px;line-height:1.5;color:#e7edf1;margin-bottom:18px}.organization-hero h1{font-size:28px;line-height:1.18;max-width:none}.home-actions{display:flex;flex-wrap:wrap;gap:10px}.home-actions .button{width:100%;min-width:0;font-size:16px}.hero-documents{color:#fff;display:inline-flex;align-items:center;min-height:44px;font-size:16px}.requisite-list{max-width:900px}.requisite-list dd,.contractor-details dd{white-space:normal;display:flex;flex-wrap:wrap;gap:12px;align-items:center}.requisite-list dd>span,.contractor-details dd>span{min-width:0;max-width:100%;overflow-wrap:anywhere}.copy-value{padding:8px 12px;min-height:44px;border:1px solid #a2b4c2;border-radius:7px;background:white;color:var(--blue);font-size:14px}.contractor-details{margin:28px 0;border:1px solid #d5dfe6;border-radius:10px;padding:16px;max-width:900px}.contractor-details summary{cursor:pointer;font-weight:600;min-height:44px;display:list-item;align-content:center}.requisite-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}.copy-status{min-height:24px;font-size:15px;color:var(--green);margin-top:12px}.org-provenance{white-space:pre-wrap;overflow-wrap:anywhere}
@media(min-width:768px){.organization-hero h1{font-size:32px}.home-actions .button{width:auto}.brand-name{font-size:22px;max-width:180px}.brand-copy small{font-size:11px}.home-intro{font-size:16px}}
@media(min-width:1050px){.organization-hero h1{font-size:38px}.site-header>.shell{gap:20px}.site-nav a{padding:10px;font-size:15px}.brand-name{font-size:22px;max-width:185px}.brand img{width:40px;height:46px}}

/* Owner-supplied building images: full building on narrow screens. */
.house-picture{display:block;min-width:0;width:100%;overflow:hidden;border-radius:12px;background:#f6f7f4}.house-picture img{display:block;width:100%;height:auto;object-fit:contain;aspect-ratio:auto;margin:0}.hero-image{margin-top:22px}.house-detail{aspect-ratio:1/1;height:auto;object-fit:contain}.architecture-figure .house-picture{width:100%}
@media(min-width:768px){.hero-image{margin-top:0}.organization-hero{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}.house-detail{height:auto}}
