/* Shared presentation of realty, job and city-problem articles. */
body :is(.re-detail,.ow-detail,.ocp-detail){font:16px/1.6 Arial,sans-serif;color:#193d55;max-width:1160px;margin:20px auto 36px;min-width:0;overflow-wrap:anywhere}
body :is(.re-detail,.ow-detail,.ocp-detail) *{box-sizing:border-box}
body :is(.re-detail,.ow-detail,.ocp-detail)>.grid_content{display:block!important}
body :is(.re-detail,.ow-detail,.ocp-detail) .main_content{width:100%!important;max-width:none!important;min-width:0}
body :is(.re-detail,.ow-detail,.ocp-detail) .right_menu{display:none!important}
body :is(.re-detail,.ow-detail,.ocp-detail) .grid-page-header{display:flex!important;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 0 14px}
body :is(.re-detail,.ow-detail,.ocp-detail) h1{font:750 clamp(25px,3vw,36px)/1.25 Arial,sans-serif!important;letter-spacing:-.6px;margin:0!important;flex:1 1 420px;min-width:0;color:#193d55}
body :is(.re-detail,.ow-detail,.ocp-detail) .mini_icons{display:flex!important;flex-wrap:wrap;align-items:center;gap:10px 16px;margin:0 0 22px!important;color:#647f91;font-size:13px}
body :is(.re-detail,.ow-detail,.ocp-detail) .mini_icon{display:inline-flex;align-items:center;gap:6px;line-height:1.5;min-width:0}
body :is(.re-detail,.ow-detail,.ocp-detail) .mini_icon>img{width:16px!important;height:16px!important;object-fit:contain}
body :is(.re-detail,.ow-detail,.ocp-detail) .grid_ads_block{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:24px!important;align-items:start!important;margin:0 0 24px!important}
body :is(.re-detail,.ow-detail,.ocp-detail) .grid_ads_block>div{min-width:0;max-width:100%}
body :is(.re-detail,.ow-detail,.ocp-detail) .main_company_logo{width:100%!important;height:auto!important;position:relative;margin:0!important}
body :is(.re-detail,.ow-detail,.ocp-detail) .main_company_logo>.zoom-image{display:flex!important;align-items:center;justify-content:center;width:100%!important;height:320px!important;min-height:0!important;padding:0!important;border:1px solid #dce7ef;border-radius:18px!important;overflow:hidden;background:#edf5fa}
body :is(.re-detail,.ow-detail,.ocp-detail) .main_company_logo>.zoom-image>img{position:static!important;inset:auto!important;transform:none!important;width:100%!important;height:100%!important;object-fit:contain!important;max-width:100%}
body :is(.re-detail,.ow-detail,.ocp-detail) .re-placeholder{width:100%;height:100%;border-radius:18px}
body :is(.re-detail,.ow-detail,.ocp-detail) :is(.service_info_block,.grid_ads_block>.item_info){padding:22px!important;background:#f5f9fc;border:1px solid #dce7ef;border-radius:18px;min-width:0;line-height:1.6}
body :is(.re-detail,.ow-detail,.ocp-detail) :is(.grid_auto_avatar_block,.grid_block_mini_phone){display:flex!important;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;min-width:0;margin:0 0 20px!important}
body .re-detail .grid_auto_avatar_block{border:1px solid #dce7ef;border-radius:16px;padding:16px;background:#f5f9fc}
body :is(.re-detail,.ow-detail,.ocp-detail) :is(.price_item,.dogovor_price_item){font:750 clamp(22px,2.4vw,30px)/1.35 Arial,sans-serif!important;color:#193d55;white-space:normal!important;overflow-wrap:anywhere}
body :is(.re-detail,.ow-detail,.ocp-detail) .price_item small{display:block;font-size:13px;font-weight:400;color:#607c8e;margin-bottom:5px}
body :is(.re-detail,.ow-detail,.ocp-detail) .item_phone{border:1px solid #c5dce9;border-radius:11px;background:#fff;padding:10px 14px!important;max-width:100%;white-space:normal!important}
body :is(.re-detail,.ow-detail,.ocp-detail) .ads_callback{margin:16px 0 0!important}
body :is(.re-detail,.ow-detail,.ocp-detail) .ads_callback img{display:none!important}
body :is(.re-detail,.ow-detail,.ocp-detail) .ads_callback :is(a,button,.call_button){display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:1px solid #bdd6e6;border-radius:11px;background:#edf6fc;color:#24658e;padding:10px 16px;font:600 15px Arial,sans-serif;max-width:100%;white-space:normal}
body :is(.re-detail,.ow-detail,.ocp-detail) .desc{line-height:1.75;margin:20px 0!important;max-width:100%;overflow-wrap:anywhere}
body :is(.re-detail,.ow-detail,.ocp-detail) .desc>.moduletable{border:1px solid #dce7ef;border-radius:18px;background:#fff;padding:24px!important;margin:0!important;box-shadow:none}
body :is(.re-detail,.ow-detail,.ocp-detail) .desc h3{position:static!important;display:block!important;font:700 22px/1.4 Arial,sans-serif!important;color:#193d55;margin:0 0 16px!important}
body :is(.re-detail,.ow-detail,.ocp-detail) .desc h3>.img-icon-module{display:none!important}
body :is(.re-detail,.ow-detail,.ocp-detail) .desc h3::before,body :is(.re-detail,.ow-detail,.ocp-detail) .desc h3::after{display:none!important}
body :is(.re-detail,.ow-detail,.ocp-detail) .desc :is(img,video,iframe){max-width:100%}
body :is(.re-detail,.ow-detail,.ocp-detail) .desc img{height:auto}
body :is(.re-detail,.ow-detail,.ocp-detail) .main__map{border:1px solid #dce7ef;border-radius:18px;overflow:hidden;margin:24px 0!important}
body :is(.re-detail,.ow-detail,.ocp-detail) .main__map:empty{display:none}
body :is(.re-detail,.ow-detail,.ocp-detail) .item_category{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0;color:#24658e;font-size:14px}
body :is(.re-detail,.ow-detail,.ocp-detail) .edit_block{padding:16px!important;border:1px solid #d6e5ef;border-radius:14px;background:#f3f8fc}
body .ocp-detail .row_ads_icons{padding:10px 0!important;margin:0!important;border-bottom:1px solid #e0eaf1}
body .ocp-detail .ads_icon{display:flex!important;justify-content:space-between;gap:14px;font-size:15px!important;line-height:1.5}
body .ocp-detail .block_icon_ads>img{display:none!important}
body .ocp-detail .badge_problem{border-radius:9px;padding:7px 12px;font:600 13px Arial,sans-serif}
@media(max-width:760px){body :is(.re-detail,.ow-detail,.ocp-detail){margin:12px auto 24px;font-size:15px}body :is(.re-detail,.ow-detail,.ocp-detail) .grid_ads_block{grid-template-columns:minmax(0,1fr)!important;gap:16px!important}body :is(.re-detail,.ow-detail,.ocp-detail) h1{flex-basis:100%;font-size:25px!important}body :is(.re-detail,.ow-detail,.ocp-detail) .main_company_logo>.zoom-image{height:240px!important}body :is(.re-detail,.ow-detail,.ocp-detail) :is(.service_info_block,.grid_ads_block>.item_info,.desc>.moduletable){padding:18px!important;border-radius:14px}body :is(.re-detail,.ow-detail,.ocp-detail) :is(.grid_auto_avatar_block,.grid_block_mini_phone){align-items:flex-start!important;flex-direction:column;gap:14px}body :is(.re-detail,.ow-detail,.ocp-detail) :is(.vip_realty,.vip_work,.other_news,.other_work,.re-recommended){display:none!important}}

body :is(.re-detail,.ow-detail,.ocp-detail) .ads_callback{display:none!important}
body .re-detail .service_info_block:not(:has(.re-specs)):not(:has(.re-facts>span)){display:none!important}
body .re-detail .grid_ads_block:not(:has(.re-specs)):not(:has(.re-facts>span)){grid-template-columns:minmax(0,1fr)!important;max-width:720px}
body .odp-management>summary{font:600 15px/1.5 Arial,sans-serif;color:#24658e;cursor:pointer;min-height:32px;padding:3px 0}
body .odp-management[open]>summary{margin-bottom:16px}
body .odp-management .grid_edit_block_top,body .odp-management .grid_edit_block_top>div{display:flex!important;flex-wrap:wrap;align-items:center;gap:10px}

body .odp-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:100%;height:100%;padding:24px;background:linear-gradient(145deg,#e9f5ff,#f5faff);color:#24658e;text-align:center}body .odp-placeholder>span{font-size:32px;line-height:1}body .odp-placeholder strong{font-size:24px}body .odp-placeholder small{font-size:14px;color:#66879c}
