/* Show the complete lost/found photo in desktop and mobile detail templates. */
body .olf-detail :is(.main_company_logo,.mobile_ads_img,.mobile_img){height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;min-width:0!important;max-width:100%!important}
body .olf-detail .main_company_logo>.zoom-image{display:flex!important;align-items:center!important;justify-content:center!important;position:relative!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;padding:0!important;overflow:hidden!important;background:#f2f6f8;border-radius:14px}
body .olf-detail :is(.main_company_logo>.zoom-image,.mobile_img)>img{display:block!important;position:static!important;inset:auto!important;transform:none!important;width:100%!important;max-width:100%!important;height:auto!important;min-width:0!important;min-height:0!important;max-height:580px!important;object-fit:contain!important;object-position:center!important;margin:0!important;aspect-ratio:auto!important;background:#f2f6f8}
body .olf-list .item_img>a>img,body .olf-home-photo>img{object-fit:contain!important;object-position:center!important}
@media(max-width:760px){body .olf-detail :is(.main_company_logo>.zoom-image,.mobile_img)>img{max-height:65vh!important}}

/* 125: compact lost/found list, matching the other portal directories. */
.olf-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 8px}.olf-tabs a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 20px;border:1px solid #cbdce9;border-radius:10px;background:#fff;color:#245679;text-decoration:none;font-weight:650}.olf-tabs a[aria-current=page]{color:white;background:#087ee9;border-color:#087ee9}.olf-tabs a:focus-visible{outline:3px solid #ff8200;outline-offset:2px}.olf-list-help{color:#647f91;font-size:14px;margin:0 0 18px}
body .olf-list :is(.category_items,.grid_category_items){display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;align-items:stretch!important}
body .olf-list .category_item{display:flex!important;margin:0!important;padding:0!important;min-width:0!important;min-height:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
body .olf-list .olf-card{display:flex;flex-direction:column;width:100%;min-width:0;border:1px solid #dce6ee;border-radius:14px;overflow:hidden;background:white;color:#193d55}
.olf-card-photo{position:relative;display:block;height:155px;flex:none;background:#edf5fa;overflow:hidden;text-decoration:none}.olf-card-photo>img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important}.olf-card-placeholder{display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#285f7c;font-size:24px}.olf-card-placeholder strong{font-size:18px}.olf-card-placeholder small{font-size:12px}.olf-card-type{position:absolute;top:8px;left:8px;padding:4px 9px;border-radius:7px;background:#fff0d5;color:#855714;font-size:12px;font-weight:700}.olf-card-type.is-found{background:#e2f5eb;color:#216d48}.olf-card-body{display:flex;flex-direction:column;flex:1;gap:10px;min-width:0;padding:12px}.olf-card h2{font-size:17px!important;line-height:1.35!important;margin:0!important;min-height:2.7em}.olf-card h2 a{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#193d55;text-decoration:none;overflow-wrap:anywhere}.olf-card-address{font-size:13px;line-height:1.4;color:#647f91;margin:0;min-height:2.8em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.olf-card-meta{display:flex;gap:6px;justify-content:space-between;flex-wrap:wrap;color:#738a9b;font-size:11px;margin-top:auto}.olf-card-actions{display:flex;align-items:center;gap:6px}.olf-card-more{display:flex;align-items:center;justify-content:center;flex:1;min-height:40px;padding:7px;border-radius:9px;background:#edf6ff;color:#0877cd;text-decoration:none;font-size:13px;font-weight:650;text-align:center}
@media(max-width:1100px){body .olf-list :is(.category_items,.grid_category_items){grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:760px){body .olf-list :is(.category_items,.grid_category_items){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.olf-card-photo{height:125px}.olf-card-body{padding:10px;gap:8px}.olf-card h2{font-size:15px!important}.olf-card-actions{flex-wrap:wrap}.olf-card-more{font-size:12px}.olf-card-meta{font-size:10px}}

/* 126: compact individual lost/found page, preserve the full photo. */
body #go_title.olf-detail h1{font-size:27px!important;line-height:1.25!important;margin:8px 0 12px!important}
body #go_title.olf-detail .grid_ads_block{display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(280px,1fr)!important;gap:18px!important;align-items:start!important;margin:14px 0!important}
body #go_title.olf-detail .main_company_logo{margin:0!important;padding:0!important}
body #go_title.olf-detail :is(.main_company_logo>.zoom-image,.mobile_img)>img{max-height:280px!important;object-fit:contain!important}
body #go_title.olf-detail .service_info_block{display:flex!important;flex-direction:column!important;gap:12px!important;padding:18px!important;min-height:0!important;margin:0!important;border-radius:14px!important}
body #go_title.olf-detail .service_info_block>.olf-contact-eyebrow{display:none!important}
body #go_title.olf-detail .service_info_block>:is(.ads_price,.tags_poisk,.item_category,.ads_avatar,.poisk_avatar,.ads_callback){width:auto!important;min-height:0!important;margin:0!important;padding:0!important}
body #go_title.olf-detail .service_info_block :is(.tags_poisk,.tags,.item_category){font-size:13px!important;line-height:1.4!important;margin:0!important}
body #go_title.olf-detail .service_info_block :is(.ads_avatar,.poisk_avatar){padding-top:10px!important;border-top:1px solid #edf1f5}
body #go_title.olf-detail .mini_avatar{margin:0!important;min-height:0!important;gap:10px!important}
body #go_title.olf-detail .mini_avatar img{width:42px!important;height:42px!important;object-fit:cover!important}
body #go_title.olf-detail .ads_callback :is(.top_add_button,.btn_user_callback){min-height:42px!important;margin:0!important;padding:8px 12px!important;font-size:15px!important}
body #go_title.olf-detail .mini_icons{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:8px 16px!important;margin:8px 0!important;font-size:13px!important}
body #go_title.olf-detail :is(.article_favorite_button,.share_icon){margin:6px 0!important}
body #go_title.olf-detail .desc{margin:16px 0!important}
body #go_title.olf-detail .desc>.moduletable{padding:16px!important;margin:0!important;border-radius:14px!important;font-size:15px;line-height:1.5}
body #go_title.olf-detail .desc h3{font-size:18px!important;margin:0 0 10px!important}
body #go_title.olf-detail .desc p{margin:6px 0!important}
body #go_title.olf-detail .olf-safety-note{padding:12px 16px!important;margin:14px 0!important;font-size:13px!important;line-height:1.5!important}
body #go_title.olf-detail .olf-safety-note p{margin:4px 0 0!important}
body #go_title.olf-detail .olf-related{margin:20px 0!important}
body #go_title.olf-detail .olf-related .olf-brand-placeholder{min-height:0!important;min-width:0!important;padding:6px!important;gap:4px!important}
body #go_title.olf-detail .olf-related .olf-brand-placeholder strong{font-size:12px!important;line-height:1.25!important;overflow-wrap:normal!important}
body #go_title.olf-detail .olf-related .olf-brand-placeholder small{font-size:9px!important}
@media(max-width:760px){body #go_title.olf-detail h1{font-size:24px!important}body #go_title.olf-detail .grid_ads_block{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}body #go_title.olf-detail .service_info_block{padding:14px!important;gap:10px!important}body #go_title.olf-detail :is(.main_company_logo>.zoom-image,.mobile_img)>img{max-height:240px!important}body #go_title.olf-detail .grid_mobile_service{gap:12px!important;margin:12px 0!important}body #go_title.olf-detail .desc>.moduletable{padding:14px!important}}
body #go_title.olf-detail .grid_ads_block>*{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
body #go_title.olf-detail .service_info_block{width:auto!important;max-width:100%!important;box-sizing:border-box!important}
body #go_title.olf-detail .ads_callback :is(.top_add_button,.btn_user_callback){box-sizing:border-box!important;max-width:100%!important}
/* 132: reset the native phone template's title, share, metadata and author spacing. */
@media(max-width:760px){
 body #go_title.olf-detail .grid_mobile_service>.service_info_block{display:flex!important;flex-direction:column!important;gap:9px!important;padding:14px!important;min-height:0!important;height:auto!important}
 body #go_title.olf-detail .grid_mobile_service>.service_info_block>*{margin:0!important;min-height:0!important;max-width:100%!important;box-sizing:border-box!important}
 body #go_title.olf-detail .service_info_block .mobile_item_title{padding:0!important;min-height:0!important}
 body #go_title.olf-detail .service_info_block .mobile_item_title h1{font-size:22px!important;line-height:1.2!important;margin:0!important;padding:0!important;min-height:0!important}
 body #go_title.olf-detail .service_info_block .share_icon{display:flex!important;padding:0!important;margin:0!important;width:auto!important;align-self:flex-start}
 body #go_title.olf-detail .service_info_block .share_icon :is(a,button,.top_add_button){min-height:36px!important;height:auto!important;padding:6px 10px!important;font-size:13px!important;line-height:1.3!important;margin:0!important;box-sizing:border-box!important}
 body #go_title.olf-detail .service_info_block .mini_icons{display:flex!important;align-items:center!important;gap:6px 12px!important;font-size:12px!important;line-height:1.4!important;padding:0!important;margin:0!important}
 body #go_title.olf-detail .service_info_block :is(.mini_icon,.item_address){display:flex!important;align-items:center!important;gap:5px!important;font-size:12px!important;line-height:1.4!important;margin:0!important;padding:0!important;min-height:0!important}
 body #go_title.olf-detail .service_info_block :is(.mini_icons,.item_address) img{width:15px!important;height:15px!important;margin:0!important}
 body #go_title.olf-detail .service_info_block :is(.item_category,.tags_poisk){padding:0!important;font-size:12px!important;line-height:1.35!important;margin:0!important}
 body #go_title.olf-detail .service_info_block .tags_poisk :is(a,span){padding:4px 9px!important;font-size:12px!important;line-height:1.3!important}
 body #go_title.olf-detail .service_info_block .poisk_avatar{padding:8px 0 0!important;margin:0!important}
 body #go_title.olf-detail .service_info_block .mini_avatar{display:flex!important;align-items:center!important;gap:9px!important;font-size:13px!important;margin:0!important;padding:0!important;min-height:0!important}
 body #go_title.olf-detail .service_info_block .mini_avatar :is(img,.user_avatar,.avatar){width:36px!important;height:36px!important;min-width:36px!important;min-height:0!important;margin:0!important;object-fit:cover!important}
 body #go_title.olf-detail .service_info_block .mini_avatar :is(p,div,span){margin-top:0!important;margin-bottom:0!important;line-height:1.3!important}
 body #go_title.olf-detail .service_info_block .ads_callback{padding:0!important;margin:0!important}
 body #go_title.olf-detail .service_info_block .ads_callback :is(.top_add_button,.btn_user_callback){width:100%!important;min-height:42px!important;margin:0!important;padding:8px 12px!important}
}
