/* Стили сайта Мегалитика. Перенесены из чанка «style» старого сайта (UIkit 3) + блоки нового движка.
   Редактируется в админке: «Шаблоны» → site.css */
.uk-navbar-nav > li > a { color: #2a2a2a !important; }
.qqqq { margin-top: 40px; margin-bottom: 40px; background-color: #fff; border: 1px solid #D8D6D6; box-shadow: 8px 0 30px #D8D6D6; }
.content { margin: 0 15px; clear: both; }
#footer { background-color: whitesmoke; min-height: 55px; border-top: 3px solid #1984A4; padding-top: 15px; }
a { color: #0b819f; }
a:hover { color: red; transition: color .5s ease; text-decoration: none; }
.well { padding: 5px; }
.well .active li { background-color: #FBFBFB; text-align: center; }
.well a { padding: 10px; display: block; }
.well select { width: 100%; }
.well p { text-align: center; color: #337ab7; }
.cat-item { height: 260px; width: 150px; margin: 18px; display: inline-block; vertical-align: top; padding: 0; overflow: hidden; }
#fotbg { background-repeat: no-repeat; background-attachment: fixed; height: 200px; background-size: cover; background-position: center; }
.left-menu { width: 100%; min-height: 100%; border-bottom: 1px solid #CECCCC; }
.left-menu ul { padding-left: 0; list-style: none; margin: 0; }
.left-menu li { position: relative; z-index: 1; }
.left-menu li a { display: block; padding: .5em .1em; white-space: normal; }
.left-menu li.uk-active > a { font-weight: 600; color: #1984A4; }
.left-menu ul.sub { padding-left: 1em; border-left: 2px solid #e5e5e5; }
.left-menu .uk-panel-scrollable { padding: 0 0 0 1em; height: 260px; border: 0; border-left: 2px solid #e5e5e5; }
.left-menu p { text-align: center; font-weight: bold; margin-top: 10px; color: gray; }
#map_canvas { width: 100%; height: 500px; background-position: center; background-size: cover; position: relative; }
#toTop { width: 65px; height: 43px; border: 3px solid #1984A4; text-align: center; padding: 22px 3px 3px; position: fixed; bottom: 65px; left: 15px; cursor: pointer; display: none; color: #004f67; font-family: helvetica, sans-serif; font-size: 12px; font-weight: bold; border-radius: 100px; z-index: 9999; background: #fff; }
#pdopage { margin-top: 20px; padding-top: 20px; border-top: 1px solid #1984A4; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #1984A4; }
a { cursor: pointer; }

/* ---- новое ---- */
.obj-card { display: block; color: inherit; }
.obj-card img { aspect-ratio: 4 / 3; object-fit: cover; background: #f2f2f2; }
.obj-card .uk-h4 { margin: 8px 0 2px; font-size: 1.05rem; line-height: 1.3; }
.obj-card:hover .uk-h4 { color: red; }
.seo-text { margin-top: 30px; }
.seo-text img { max-width: 100%; height: auto; }
.mg-map { margin-bottom: 10px; }
.mg-map-tabs { display: flex; gap: 4px; margin-bottom: 6px; flex-wrap: wrap; }
.mg-map-tabs button { border: 1px solid #d8d6d6; background: #fff; padding: 3px 12px; font-size: 13px; cursor: pointer; border-radius: 3px; color: #333; }
.mg-map-tabs button.on { background: #1984A4; border-color: #1984A4; color: #fff; }
.mg-map-canvas.loaded { background: none !important; }
.mg-map-error { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; background: rgba(255,255,255,.9); color: #a33; }
.mg-popup a { font-weight: 600; }
.object .uk-text-break img { max-width: 100%; height: auto; }
@media (max-width: 959px) { .qqqq { margin-top: 15px; box-shadow: none; } #map_canvas { height: 360px; } #fotbg { height: 110px; } }
