/* Teremok-16 · Contacts. Scoped to tenant 495 and /contacts only. */
.teremok16:has(.teremok-contacts) .site-frame{max-width:1450px;grid-template-columns:275px minmax(0,1fr);gap:26px;align-items:start;padding-top:8px}
.teremok16 .teremok-contacts{min-width:0}
.teremok16 .teremok-contacts .breadcrumbs{font:650 12px/1.7 "Teremok Nunito",Arial,sans-serif;color:#84926d;margin:9px 0 18px}
.teremok16 .teremok-contacts .breadcrumbs a{color:#5e7752;text-underline-offset:4px}
.teremok16 .teremok-contacts>h1{position:relative;margin:0;padding:30px 36px 12px;border:1px solid #d9d9b9;border-bottom:0;border-radius:26px 26px 0 0;background:linear-gradient(118deg,#fff3d7 0%,#f2f1d9 62%,#e6ecd4 100%);color:#3b613e;font:850 clamp(30px,3.3vw,46px)/1.15 "Teremok Nunito",Arial,sans-serif;letter-spacing:-.03em}
.teremok16 .teremok-contacts .content-body{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important;font-size:inherit}
.teremok16 .t16-contact-intro{position:relative;min-height:109px;display:flex;flex-direction:column;justify-content:center;gap:9px;padding:5px 180px 29px 36px;border:1px solid #d9d9b9;border-top:0;border-radius:0 0 26px 26px;background:linear-gradient(118deg,#fff3d7 0%,#f2f1d9 62%,#e6ecd4 100%);overflow:visible}
.t16-overline,.t16-card-label{font:850 11px/1.5 "Teremok Nunito",Arial,sans-serif;letter-spacing:.12em;color:#788859}
.teremok16 .t16-contact-intro p{max-width:520px;margin:0;font:15px/1.65 Arial,sans-serif;color:#667657}
.teremok16 .t16-contact-intro>img{position:absolute;width:132px;height:150px;right:26px;top:-95px;object-fit:contain;filter:drop-shadow(0 10px 12px #4f58212b)}
.t16-contact-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:17px;margin-top:22px}
.t16-contact-card{position:relative;min-width:0;overflow:hidden;border:1px solid #d9ddbe;border-radius:23px;padding:26px 29px 27px;background:#fffdf6;box-shadow:0 5px 0 #73834f0a}
.t16-contact-card--address{background:linear-gradient(140deg,#f5f6e6,#e7efd4);border-color:#d6debd}
.t16-contact-card--connect{background:linear-gradient(145deg,#fff1dc,#f9e4cc);border-color:#ead6b8}
.t16-contact-card--hours{background:linear-gradient(140deg,#fff8e7,#f5ecd5);border-color:#e8d8b5}
.t16-contact-card--reception{background:linear-gradient(135deg,#f3f5e5,#e7eedc);border-color:#d6dfc0}
.t16-card-label{display:flex;align-items:center;gap:10px;margin-bottom:15px}
.t16-card-index{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;flex:none;border:1px solid #becda1;border-radius:11px;background:#fffdf2;color:#5a7246;letter-spacing:0;font-size:12px}
.t16-contact-card h2{margin:0 0 17px;color:#426440;font:850 clamp(21px,2.2vw,27px)/1.3 "Teremok Nunito",Arial,sans-serif;letter-spacing:-.02em}
.t16-postcode{display:inline-block;margin:1px 0 12px!important;padding:4px 11px;border-radius:9px;border:1px solid #cedab5;background:#fafff3;color:#637a55;font:800 13px "Teremok Nunito",Arial,sans-serif}
.t16-contact-address{margin:0 0 22px!important;max-width:340px;color:#3d5940;font:750 clamp(16px,1.5vw,20px)/1.6 "Teremok Nunito",Arial,sans-serif}
.t16-contact-action,.t16-map-head>a{display:inline-flex;align-items:center;justify-content:space-between;gap:15px;padding:11px 16px;border-radius:13px;background:#467346;border:1px solid #467346;color:#fffdf4!important;text-decoration:none!important;font:800 13px/1.35 "Teremok Nunito",Arial,sans-serif;transition:background .2s,transform .2s}
.t16-contact-action:hover,.t16-map-head>a:hover{background:#365f3a;transform:translateY(-1px)}
.t16-contact-action span,.t16-map-head>a span{font-size:18px;font-weight:600}
.t16-field-label{display:block;margin:0 0 8px;color:#866c50;font:850 11px/1.4 "Teremok Nunito",Arial,sans-serif;text-transform:uppercase;letter-spacing:.08em}
.t16-phone-link{display:block;width:fit-content;max-width:100%;color:#3d5f3e!important;text-decoration:none!important;white-space:nowrap;font:850 clamp(20px,2.3vw,29px)/1.4 "Teremok Nunito",Arial,sans-serif}
.t16-phone-link:hover,.t16-mail-link:hover{text-decoration:underline!important;text-underline-offset:5px}
.t16-mail-label{margin-top:21px}
.t16-mail-link{position:relative;z-index:2;display:block;max-width:100%;color:#547246!important;text-underline-offset:5px;overflow-wrap:anywhere;font:800 17px/1.4 "Teremok Nunito",Arial,sans-serif}
.t16-contact-ornament{position:absolute;right:18px;bottom:-28px;font:150px/1 Georgia,serif;color:#d79c642a;pointer-events:none}
.t16-weekdays{margin:0 0 2px!important;color:#68744e;font:750 15px/1.5 "Teremok Nunito",Arial,sans-serif}
.t16-time{margin:0 0 20px!important;color:#3d6440;font:850 clamp(30px,3vw,39px)/1.28 "Teremok Nunito",Arial,sans-serif;letter-spacing:-.04em}
.t16-time span{font-weight:500;color:#a2ad82}
.t16-weekend{display:flex;justify-content:space-between;gap:15px;margin:0 0 18px!important;padding:12px 14px;border-radius:13px;background:#fffdfa;border:1px solid #e4d8bf;color:#556849;font:750 13px/1.5 "Teremok Nunito",Arial,sans-serif}
.t16-weekend span{white-space:nowrap;font-weight:600;color:#8f8a70}
.t16-card-note{margin:0!important;padding-top:14px;border-top:1px solid #e0d9c1;color:#6c7058;font:12px/1.75 Arial,sans-serif}
.t16-leader-label{margin:0 0 6px!important;color:#79856c;font:700 12px/1.5 Arial,sans-serif}
.t16-leader-name{margin:0 0 24px!important;color:#3d613e;font:850 20px/1.35 "Teremok Nunito",Arial,sans-serif}
.t16-reception-list{display:grid;gap:10px}
.t16-reception-list>div{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px 14px;border-radius:13px;background:#fffdf5;border:1px solid #d9e0c6;font:750 14px/1.45 "Teremok Nunito",Arial,sans-serif;color:#526c47}
.t16-reception-list strong{white-space:nowrap;font-weight:850;color:#42623e}
.t16-contact-map{margin-top:21px;overflow:hidden;border:1px solid #ddd9b9;border-radius:25px;background:#fffdf4}
.t16-map-head{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:25px 30px;background:linear-gradient(110deg,#f8f2dd,#eaf0df)}
.t16-map-head h2{margin:6px 0 7px;color:#426440;font:850 26px/1.28 "Teremok Nunito",Arial,sans-serif}
.t16-map-head p{margin:0;color:#6c795e;font:13px/1.6 Arial,sans-serif}
.t16-map-head>a{flex-shrink:0}
.t16-map-frame{background:#eaeedd;min-height:300px}
.t16-map-frame iframe{display:block;width:100%;height:320px;border:0}
.teremok16:has(.teremok-contacts) .sidebar{position:sticky;top:16px;align-self:start;padding:21px 19px 20px;border-radius:23px;border:1px solid #d9dec2;background:linear-gradient(160deg,#f1f4df,#fff7e7);box-shadow:0 6px 18px #586d4010}
.teremok16:has(.teremok-contacts) .sidebar:before{content:"НАВИГАЦИЯ";display:block;margin:0 0 15px;color:#7e8b5c;font:850 11px/1.4 "Teremok Nunito",Arial,sans-serif;letter-spacing:.16em}
.teremok16:has(.teremok-contacts) .sidebar form{padding:0 0 18px;margin:0 0 15px;border-bottom:1px solid #dce1c7}
.teremok16:has(.teremok-contacts) .sidebar form label{display:block;margin-bottom:7px;color:#55704a;font:800 13px/1.45 "Teremok Nunito",Arial,sans-serif}
.teremok16:has(.teremok-contacts) .sidebar input[type=search]{display:block;width:100%;min-height:41px;padding:8px 12px;border-radius:12px;border:1px solid #cad7ae;background:#fffef9;color:#33563b;outline-offset:3px}
.teremok16:has(.teremok-contacts) .sidebar form button{width:100%;min-height:38px;margin-top:9px;border-radius:11px;background:#477245;color:#fff;box-shadow:none;font:800 13px "Teremok Nunito",Arial,sans-serif}
.t16-side-anchor{display:grid;gap:7px;margin-bottom:18px}
.t16-side-anchor>span{display:block;margin:0 0 4px;color:#7e8b5c;font:850 11px/1.45 "Teremok Nunito",Arial,sans-serif;letter-spacing:.09em;text-transform:uppercase}
.t16-side-anchor a{display:flex;align-items:center;gap:9px;min-height:37px;padding:9px 11px;border:1px solid #dbe3c7;border-radius:11px;background:#fffdf5;text-decoration:none!important;color:#486845!important;font:750 13px/1.4 "Teremok Nunito",Arial,sans-serif}
.t16-side-anchor a:before{content:"✦";color:#9caf7a;font-size:12px}
.t16-side-anchor a:hover{background:#e7efd6;border-color:#b7c99a}
.teremok16:has(.teremok-contacts) .sidebar details{border:1px solid #dce2c7;border-radius:12px;margin:0 0 15px;background:#f9faec;overflow:hidden}
.teremok16:has(.teremok-contacts) .sidebar summary{padding:12px 12px;color:#506c45;font:850 13px/1.5 "Teremok Nunito",Arial,sans-serif;cursor:pointer}
.teremok16:has(.teremok-contacts) .sidebar details ul{margin:0;padding:5px 10px 12px;list-style:none}
.teremok16:has(.teremok-contacts) .sidebar li{padding:0;border:0}
.teremok16:has(.teremok-contacts) .sidebar li a{display:block;padding:9px 9px;border-radius:9px;font:700 12px/1.45 "Teremok Nunito",Arial,sans-serif;color:#586f4c;text-decoration:none}
.teremok16:has(.teremok-contacts) .sidebar li a:hover{background:#e8eecf}
.teremok16:has(.teremok-contacts) .sidebar .sidebar-all{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;margin:7px 0 0;border-radius:10px;border:1px solid #e0d6b6;background:#fff6dd;color:#6f6844;font:750 12px/1.5 "Teremok Nunito",Arial,sans-serif;text-decoration:none}
.teremok16:has(.teremok-contacts) .sidebar .sidebar-all:hover{background:#f4ebcd}
.teremok16:has(.teremok-contacts) .sidebar:has(details[open]){position:relative}
.teremok-contacts :is(a,button,input,summary):focus-visible,.t16-side-anchor a:focus-visible{outline:3px solid #ab8c4b;outline-offset:3px}
@media(max-width:1100px){.teremok16:has(.teremok-contacts) .site-frame{grid-template-columns:235px minmax(0,1fr);gap:17px}.t16-contact-card{padding:22px}.t16-contact-grid{gap:13px}.t16-weekend{flex-wrap:wrap}}
@media(max-width:800px){.teremok16:has(.teremok-contacts) .site-frame{display:flex;flex-direction:column;gap:16px}.teremok16:has(.teremok-contacts) .sidebar{width:100%;position:static;padding:16px 17px}.teremok16:has(.teremok-contacts) .sidebar form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end;padding-bottom:13px;margin-bottom:12px}.teremok16:has(.teremok-contacts) .sidebar form label{grid-column:1/-1;margin:0}.teremok16:has(.teremok-contacts) .sidebar form button{width:auto;margin:0;padding:0 19px;min-height:41px}.teremok16:has(.teremok-contacts) .sidebar:before{margin-bottom:10px}.t16-side-anchor{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.t16-side-anchor>span{grid-column:1/-1}.t16-side-anchor a{font-size:12px}.teremok16:has(.teremok-contacts) .sidebar .sidebar-all{display:inline-flex;margin-right:5px}.t16-contact-grid{grid-template-columns:1fr}.t16-contact-map{margin-top:15px}.t16-map-head{flex-wrap:wrap;padding:22px}.t16-map-frame iframe{height:280px}}
@media(max-width:500px){.teremok16 .teremok-contacts>h1{padding:23px 22px 10px;font-size:33px}.teremok16 .t16-contact-intro{padding:8px 108px 22px 22px;min-height:111px}.teremok16 .t16-contact-intro p{font-size:12px;line-height:1.6}.teremok16 .t16-contact-intro>img{width:94px;height:111px;top:-82px;right:9px}.t16-overline,.t16-card-label{font-size:9px}.t16-contact-card{padding:20px;border-radius:19px}.t16-contact-card h2{font-size:23px}.t16-phone-link{font-size:24px}.t16-time{font-size:34px}.t16-map-head h2{font-size:24px}.t16-map-head>a{width:100%;justify-content:center}.t16-map-frame iframe{height:240px}}
.vision.teremok16:has(.teremok-contacts) :is(.t16-contact-card,.t16-contact-intro,.t16-contact-map,.sidebar,.t16-map-head),.a11y-mode.teremok16:has(.teremok-contacts) :is(.t16-contact-card,.t16-contact-intro,.t16-contact-map,.sidebar,.t16-map-head){background:var(--read-bg,#fff)!important;color:var(--read-fg,#000)!important;border-color:var(--read-border,#000)!important;box-shadow:none!important}
.vision.teremok16 .teremok-contacts :is(p,h1,h2,a,span),.a11y-mode.teremok16 .teremok-contacts :is(p,h1,h2,a,span){color:inherit!important}
@media(prefers-reduced-motion:reduce){.t16-contact-action,.t16-map-head>a{transition:none}}

/* Map link banner: predictable fallback instead of an empty third-party map iframe. */
.t16-contact-map{position:relative;min-height:160px;background:radial-gradient(circle at 93% 86%,#e1eccb 0%,transparent 39%),linear-gradient(115deg,#fff2d6,#ecf1de)}
.t16-map-head{position:relative;z-index:2;min-height:160px;padding-right:148px;background:transparent}
.t16-map-head>a{white-space:nowrap}
.t16-map-fox{position:absolute;z-index:1;right:8px;bottom:-6px;width:142px;height:165px;object-fit:contain;pointer-events:none}
@media(max-width:800px){.t16-map-head{padding-right:125px}.t16-map-fox{width:115px;height:140px}.t16-map-head>a{white-space:normal}}
@media(max-width:500px){.t16-contact-map{min-height:0}.t16-map-head{min-height:0;padding:22px 24px 25px;gap:14px}.t16-map-head>div{padding-right:62px}.t16-map-head>a{position:relative;z-index:3;width:100%}.t16-map-fox{width:90px;height:110px;right:2px;bottom:48px;opacity:.75}}
