/* Joomla 6 — шаблон xiron. Перенос стилей с xiron.ru (Joomla 1.0): каркас, шапка, меню,
   подвал, мобильное меню, плюс классы, которые используются внутри статей. */

/* ---------- база ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
body { margin: 0; background: #fff; color: #000; font: 16px/1.5 Helvetica, Arial, sans-serif; }
p { margin: 1em 0; }
h1, h2, h3, h4, h5, h6 { color: inherit; }
img { border: 0; max-width: 100%; height: auto; }
a { color: #324b82; text-decoration: underline; }
a:hover { color: #8493b4; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #ff8a00; outline-offset: 2px; }
.dark_blue { color: #324b82; } .light_blue { color: #98a5c0; } .gray { color: #e9e9e9; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
input, select, textarea, button { font: inherit; }

/* ---------- заголовки (единая шкала) ---------- */
h1, h2, h3, h4, h5, h6, .xh-h2, .xh-h3, .chiller-form-title, .quick-pick-title { font-family: Helvetica, Arial, sans-serif; line-height: 1.25; font-weight: 700; }
h1, h1.h1-1 { font-size: 1.75em; color: #1f3560; margin: 10px 0 12px; padding: 0; border: 0; }
h2, .xh-h2 { font-size: 1.45em; color: #1f3560; margin: 1.4em 0 .5em; padding: 0; border: 0; }
h3, .xh-h3 { font-size: 1.15em; color: #324b82; margin: 1.2em 0 .45em; padding: 0; border: 0; }
h4 { font-size: 1em; color: #324b82; margin: 1em 0 .4em; }
main.content > h1:first-child, main.content > h2:first-child { margin-top: 0; }
@media (max-width: 640px) { h1, h1.h1-1 { font-size: 1.5em; } h2, .xh-h2 { font-size: 1.3em; } }

/* ---------- шапка ---------- */
header.hdr-row { display: flex; align-items: stretch; flex-wrap: nowrap; background: #324b82; }
.hdr-row .logo { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; padding: 0 14px; }
.hdr-row .logo1 { display: inline-block; width: 190px; height: 54px; max-width: 100%; overflow: hidden; text-indent: -9999px; background: no-repeat center / contain; }
.hdr-row .top_image { flex: 1 1 auto; position: relative; min-height: 74px; overflow: hidden; align-self: stretch; background: no-repeat center center; background-size: cover;
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0, #000 90px, #000 calc(100% - 90px), rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to right, rgba(0,0,0,0) 0, #000 90px, #000 calc(100% - 90px), rgba(0,0,0,0) 100%); }
.hdr-row .top_image::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, #324b82 0, rgba(50,75,130,0) 14px, rgba(50,75,130,0) calc(100% - 26px), #324b82 100%); }
.hdr-row .contacts { flex: 0 0 auto; display: flex; align-items: center; padding: 2px 14px; color: #fff; white-space: nowrap; line-height: 1.2; }
.hdr-row .contacts a { color: #fff; }
.hdr-row .contacts a, .hdr-row .main_tel { display: inline-block; min-height: 22px; line-height: 22px; padding: 0 6px; margin: 0; }

/* ---------- верхнее меню + поиск ---------- */
nav.main_menu { display: flex; align-items: stretch; justify-content: space-between; gap: 10px; background: #59688e; padding: 0 10px; border-top: 1px solid #fff; }
.main_menu .main_menu_items { display: flex; align-items: stretch; }
.main_menu .main_menu_items ul { display: flex; list-style: none; margin: 0; padding: 0; background: none; }
.main_menu .main_menu_items a { display: inline-flex; align-items: center; color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.2;
  padding: 12px 14px 9px; border-bottom: 3px solid transparent; transition: background-color .15s, border-color .15s; }
.main_menu .main_menu_items a:hover { background: rgba(255,255,255,.08); border-bottom-color: rgba(255,255,255,.45); }
.main_menu .main_menu_items li.active > a, .main_menu .main_menu_items li.current > a { border-bottom-color: #ff8a00; }
.main_menu .search { align-self: center; color: #fff; white-space: nowrap; padding: 0 10px; }
.main_menu .search form { margin: 0; display: flex; }
.main_menu .search .input1 { border: 0; border-radius: 5px 0 0 5px; padding: 7px 10px; font-size: 14px; width: 190px; }
.main_menu .search input[type="submit"] { border: 0; border-radius: 0 5px 5px 0; padding: 7px 14px; font-size: 14px; font-weight: 700; background: #ff8a00; color: #1a1a1a; cursor: pointer; }
.main_menu .search input[type="submit"]:hover { background: #ffa033; }

/* ---------- каркас: боковая колонка + контент ---------- */
.site-wrap { display: flex; align-items: flex-start; }
aside.menu { flex: 0 0 250px; width: 250px; min-width: 0; align-self: stretch; background: #fff; border-right: 1px solid #e4e8ef; padding: 6px 0 20px; }
aside.menu h4 { font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: #7a8699; background: none; margin: 18px 0 4px; padding: 0 10px 0 14px; }
aside.menu > h4:first-of-type { margin-top: 12px; }
.menu .menu_items ul { list-style: none; margin: 0; padding: 0; background: none; }
.menu .menu_items a { display: block; padding: 6px 10px 6px 14px; line-height: 1.4; text-decoration: none; color: #2a3a55; border-left: 3px solid transparent; }
.menu .menu_items a:hover { background: #f2f6fc; border-left-color: #b9cbe6; color: #0b2a5b; }
.menu .menu_items li.active > a, .menu .menu_items li.current > a { color: #0b2a5b; font-weight: 700; background: #eef4ff; border-left-color: #ff8a00; }
.menu .menu_items ul ul a { padding-left: 26px; }
.menu .menu_items ul ul ul a { padding-left: 38px; }
.menu .menu_items .mod-menu__sub, .mobile-menu .mod-menu__sub { display: block !important; font-size: 15px; }
.menu .menu_items .mod-menu__toggle-sub, .mobile-menu .mod-menu__toggle-sub { display: none !important; }
aside.menu .mod-custom { padding: 12px 10px; }
main.content { flex: 1 1 auto; min-width: 0; max-width: 100%; padding: 10px 15px 28px; }
.main_txt { font-size: 16px; color: #323233; line-height: 25px; }

/* ---------- хлебные крошки (mod_breadcrumbs) ---------- */
ol.mod-breadcrumbs { list-style: none; display: flex; flex-wrap: wrap; align-items: center; margin: 4px 0 10px; padding: 0 !important; font-size: 13px; color: #667; background: none; }
ol.mod-breadcrumbs li { list-style: none; }
.mod-breadcrumbs__here, .mod-breadcrumbs__divider { display: none !important; }
ol.mod-breadcrumbs .breadcrumb-item + .breadcrumb-item { padding-left: 0; }
ol.mod-breadcrumbs .breadcrumb-item + .breadcrumb-item::before { content: "/"; color: #aaa; padding: 0 8px; float: none; }
ol.mod-breadcrumbs a { color: #4a6ca8; text-decoration: underline; }
/* заголовок статьи как последняя крошка: крошки и заголовок в одну строку */
.mod-breadcrumbs__wrapper { display: inline-block; vertical-align: baseline; }
.mod-breadcrumbs__wrapper:has(+ #system-message-container + .com-content-article .page-header--crumb) ol.mod-breadcrumbs { margin-bottom: 0; display: inline-flex; }
.page-header--crumb { display: inline; font-size: 13px; color: #444; font-weight: 600; }
.page-header--crumb::before { content: "/"; color: #aaa; padding: 0 8px; font-weight: 400; }
.page-header--crumb + * { clear: both; }
.com-content-article:has(.page-header--crumb) { display: block; }
.com-content-article:has(.page-header--crumb) .com-content-article__body > h1:first-child,
.com-content-article:has(.page-header--crumb) .com-content-article__body > div > h1:first-child { margin-top: 10px; }

/* Bootstrap даёт ul.nav display:flex — в колонках и подвале списки меню вертикальные */
.menu .menu_items ul.nav, .sf-col ul.nav, .mobile-menu ul.nav { display: block; flex-wrap: nowrap; }
.menu .menu_items ul.nav > li, .sf-col ul.nav > li, .mobile-menu ul.nav > li { display: block; }
.sf-col ul.nav > li > a { display: block; padding: 3px 0; }

/* ---------- контент Joomla ---------- */
/* список статей категории (как на старом сайте: только заголовки) */
.com-content-category table.category { width: 100%; border-collapse: collapse; margin: 0 0 1rem; }
.com-content-category table.category td, .com-content-category table.category th { padding: 8px 6px; border-bottom: 1px solid #e4e8ef; }
.com-content-category table.category thead { display: none; }
.com-content-category .list-title a { color: #324b82; }
.com-content-category .category-desc { margin: 0 0 1rem; }
.com-content-categories .com-content-categories__items > div, .com-content-categories .com-content-categories__item { padding: 6px 0; }
.com-content-categories .badge { background: #eef4ff; color: #324b82; font-weight: 600; }
.com-content-article__body img, .content img { max-width: 100%; height: auto; }
.article-info, .article-info-term { font-size: 13px; color: #667; }
.page-header h1, .page-header h2 { margin-top: 0; }
.blog-item { padding: 12px 0; border-bottom: 1px solid #e4e8ef; }
.blog-items[class*="columns-"], .blog-items[class*="masonry-"] { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; columns: auto; }
.blog-items[class*="columns-"] .blog-item, .blog-items[class*="masonry-"] .blog-item { border: 1px solid #e4e8ef; border-radius: 8px; padding: 10px; margin: 0; break-inside: avoid; }
.blog-items[class*="columns-"] .item-image, .blog-items[class*="masonry-"] .item-image { margin: 0 0 8px; }
.blog-items[class*="columns-"] .item-image img, .blog-items[class*="masonry-"] .item-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; }
.blog-items[class*="columns-"] .item-title, .blog-items[class*="masonry-"] .item-title { font-size: 1.05em; margin: 0; }
.blog-items[class*="columns-"] .item-title a, .blog-items[class*="masonry-"] .item-title a { text-decoration: none; }

.pagination { margin: 16px 0; --bs-pagination-active-bg: #324b82; --bs-pagination-active-border-color: #324b82; --bs-pagination-color: #324b82; }
.pagenavcounter { font-size: 13px; line-height: 30px; font-weight: bold; color: #0060ba; }
.pagenavbar { font-size: 16px; line-height: 30px; background: rgba(0,0,0,.05); }
.alert { padding: 10px 14px; border-radius: 6px; margin: 10px 0; }
.alert-success { background: #e8f5e9; } .alert-danger, .alert-error { background: #fdecea; } .alert-warning { background: #fff8e1; } .alert-info { background: #e8f0fe; }
table.category, table.table { width: 100%; border-collapse: collapse; }
table.category th, table.category td, table.table th, table.table td { padding: 6px 8px; border-bottom: 1px solid #e4e8ef; text-align: left; }

/* ---------- классы, встречающиеся в статьях (из старого xiron.css) ---------- */
ul { list-style-image: url("data:image/gif;base64,R0lGODlhBQALAMQTADdabgAtTjRYblNzgAAoSDxbcDRZaYuisn6TpD9idnKMnSZMYwEkQoaisFFwgmqHlQApTAAoREtyg////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAABMALAAAAAAFAAsAAAUa4CSOZFkuwtgQxXgEwJhAyKQww/REjmhIoxAAOw=="); }
blockquote { border-left: 4px solid #f2f2f2; background: #f9f8f8; color: #000; padding: 4px 20px; font-size: 14px; line-height: 32px; font-weight: bold; opacity: .95; }
.contentheading { font-size: 15px; font-weight: 700; color: #324b82; }
.contentheadingvivi { font-size: 14px; font-weight: 700; color: #324b82; text-align: left !important; }
.contentpagetitleblog { font: 700 1.45em/1.25 Helvetica, Arial, sans-serif; color: #1f3560; margin: 0 0 12px; }
.ah2 { font-size: 19px; line-height: 20px; opacity: .85; color: #316082; }
.img-fix { height: auto; max-width: 100%; width: auto; }
.container { position: relative; width: 100%; height: 0; padding-bottom: 56.25%; }
.video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.blog5 { font-size: 13px; color: #232cd9; background: #f2f6f7; opacity: .9; font-weight: bold; }
.R134 { padding: 2px 4px; font-size: 12px; color: #000; font-family: Arial, Helvetica, sans-serif; background: #8acef3; text-align: center; }
.R135 { padding: 2px 4px; font-size: 12px; color: #000; font-family: Arial, Helvetica, sans-serif; background: #f2f2f2; text-align: center; }
.model { font-family: "trebuchet ms", verdana, arial, sans-serif; font-size: 15px; color: #ed8a05; font-weight: 700; border-bottom: 1px solid #c5dce2; margin: 5px 5px 0; padding: 5px 0; }
.vk { font-size: 105%; color: #ccc; font-weight: 700; }
.test1 { font-size: 20px; font-weight: 700; padding: 0 10px 5px; }
.top1 { font-size: 25px; color: #b5b1b1; font-weight: 700; padding: 30px 10px 5px; }
.tabl3 { padding: 10px 20px; vertical-align: top; }
.gallery1 { padding: 3px; background: #fff; border: 1px solid #ccc; }
.cli { background: #fdfdfd; padding: 10px; margin: 10px; font-family: Verdana; border: 1px solid #ebebeb; border-radius: 5px 5px 0 5px; }
.var1 { line-height: 1.3; background: #fdfdfd; padding: 5px; margin: 5px; font-family: Verdana; border: 1px solid #ebebeb; border-radius: 5px 5px 0 5px; }
.var2 { line-height: 1.8; background: #fdfdfd; padding: 5px; margin: 5px; font-family: Verdana; border: 1px solid #ebebeb; border-radius: 5px 5px 0 5px; }
input.input1, .input1 { border: solid 1px #2c4272; font-size: 110%; color: #000; font-weight: 700; }
.input2 { width: 95%; border-radius: 3px; border: solid 1px #2c4272; font-size: 110%; color: #000; font-weight: 700; margin: 5px 0 0 5px; }
.disable { cursor: pointer; }
table.contentpaneopen { width: 100%; table-layout: fixed; border-collapse: collapse; }
table.blog { width: 100%; border-collapse: collapse; }
.pagenav_next, .pagenav_prev, .rekl { font-size: 10px; color: gray; }

/* ---------- страница поиска (/poisk) ---------- */
.site-search__form { display: flex; gap: 0; max-width: 720px; margin: 6px 0 8px; }
.site-search__input { flex: 1 1 auto; min-width: 0; border: 1px solid #b9c3d6; border-right: 0; border-radius: 6px 0 0 6px; padding: 10px 14px; font-size: 16px; }
.site-search__input:focus { outline: none; border-color: #324b82; box-shadow: 0 0 0 3px rgba(50,75,130,.15); }
.site-search__btn { border: 0; border-radius: 0 6px 6px 0; padding: 10px 22px; font-weight: 700; background: #ff8a00; color: #1a1a1a; cursor: pointer; }
.site-search__btn:hover { background: #ffa033; }
.site-search__hint { color: #667; font-size: 13px; margin: 0 0 16px; }
#ya-site-results { margin-top: 10px; }
#ya-site-results .b-serp-item__title-link, #ya-site-results a { color: #324b82; }
@media (max-width: 560px) { .site-search__form { flex-wrap: wrap; } .site-search__input { border-right: 1px solid #b9c3d6; border-radius: 6px; margin-bottom: 8px; } .site-search__btn { border-radius: 6px; width: 100%; } }

/* ---------- Phoca Download: категории карточками ---------- */
.pd-categories-view .card-title { font-size: 1.05em; margin: 0 0 .5rem; }
.pd-categories-view .card-title a { text-decoration: none; }
.pd-categories-view .list-group-item { padding: .35rem 0; border: 0; border-top: 1px solid #eef0f4; font-size: 14px; }
.pd-categories-view .list-group-item:first-child { border-top: 0; }
.pd-categories-view .card-footer { font-size: 13px; color: #667; background: #f7f9fc; }
.pd-categories-view .pd-document16, .pd-categories-view .pd-document32 { display: none; }

/* подпись «Powered by Phoca Download» — мелко и серо */
div:has(> a[href^="https://www.phoca.cz/phocadownload"]) { font-size: 11px; line-height: 1.4; color: #aaa !important; margin: 16px 0 4px; }
a[href^="https://www.phoca.cz/phocadownload"] { color: #aaa !important; text-decoration: none; }
a[href^="https://www.phoca.cz/phocadownload"]:hover { color: #888 !important; text-decoration: underline; }

/* ---------- JComments ---------- */
#jc { margin-top: 2rem; }
#jc .h6, #comments-form .h6 { font-size: 1.15em; font-weight: 700; color: #324b82; margin: 1rem 0 .5rem; }
#comments .rbox { padding: 10px 12px; margin: 0 0 10px; background: #fafbfd; }
#comments .comment-info { font-size: 13px; }
#comments .comment-body { margin-top: 4px; }
#comments-form textarea { min-height: 120px; }
#comments-form .row { margin-bottom: 6px; }
#comments-form .col-5 { flex: 0 0 auto; width: 280px; max-width: 100%; }
.pagination__wrapper { margin: 10px 0; }

/* ---------- галерея объектов (бывший com_zoom) ---------- */
.xz-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin: 1rem 0; }
.xz-item { display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: 6px; background: #eee; }
.xz-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.xz-item:hover img { transform: scale(1.04); }
.xz-lb { position: fixed; inset: 0; background: rgba(0,0,0,.9); display: flex; align-items: center; justify-content: center; z-index: 9999; flex-direction: column; }
.xz-lb figure { margin: 0; text-align: center; }
.xz-lb img { max-width: 95vw; max-height: 85vh; object-fit: contain; }
.xz-lb figcaption { color: #fff; margin-top: .5rem; font-size: .9rem; }
.xz-lb button { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; font-size: 3rem; padding: 0 .5em; cursor: pointer; }
.xz-lb .prev { left: 0; } .xz-lb .next { right: 0; } .xz-lb .close { top: 1rem; right: 1rem; transform: none; font-size: 2rem; }

/* ---------- подвал ---------- */
footer.site-footer { background: #324b82; color: #dfe6f3; font-size: 14px; line-height: 1.5; padding: 28px 24px 14px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.sf-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 24px 32px; }
.sf-col ul { list-style: none; margin: 0; padding: 0; background: none; }
.sf-col a { display: block; padding: 3px 0; min-height: 24px; }
.sf-contact div { margin-bottom: 6px; }
.sf-contact a { display: inline-block; padding: 2px 0; }
.sf-h { font-weight: 700; color: #fff; font-size: 15px; margin-bottom: 10px; }
.sf-muted { color: #aab8d4; font-size: 13px; }
.sf-copy { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; }
.sf-copy .sf-privacy { color: #dfe6f3; text-decoration: underline; }
.sf-copy .sf-privacy:hover { color: #fff; }
.sf-copy { border-top: 1px solid rgba(255,255,255,.18); margin-top: 22px; padding-top: 12px; font-size: 13px; color: #aab8d4; }

/* ---------- мобильное меню ---------- */
.mobile-nav { position: fixed; z-index: 1002; top: 0; left: -240px; overflow: hidden auto; width: 240px; height: 100%; background: #fff; -webkit-overflow-scrolling: touch; transition: all .3s ease; }
.mobile-nav--open { left: 0; box-shadow: 0 6px 12px rgba(0,0,0,.23), 0 10px 40px rgba(0,0,0,.19); }
.mobile-menu, .mobile-menu ul { list-style: none; margin: 0; padding: 0; background: none; }
.mobile-menu button.disable { font-size: 16px; display: flex; justify-content: space-between; align-items: center; width: 100%; text-align: left; padding: 9px 10px; background: none; border: 0; border-top: 1px solid #eee; color: #000; cursor: pointer; }
.mobile-menu button.disable::after { content: "›"; transform: rotate(90deg); color: #888; font-size: 20px; line-height: 1; transition: transform .2s; }
.mobile-menu button.disable[aria-expanded="true"]::after { transform: rotate(-90deg); }
.mobile-menu .mob-top { border-bottom: 1px solid #eee; padding-bottom: 4px; }
.mobile-menu .tops li.active > a, .mobile-menu .tops li.current > a { font-weight: 700; color: #0b2a5b; }
.mobile-menu a { font-size: 16px; display: block; padding: 5px 10px; text-decoration: none; color: #000; }
.mobile-menu .mob-top a { padding: 8px 10px; }
.mobile-menu .tops { background: #f3f3f3; }
.mobile-menu .tops a { padding: 7px 10px 7px 20px; font-size: 15px; }
.mobile-menu .tops ul ul a { padding-left: 34px; }
.mobile-menu li.active > a, .mobile-menu a.is-active { font-weight: 700; }
.mobile-nav-toggle { position: fixed; z-index: 9999; top: 0; left: 0; padding: 10px 12px; background: rgba(0,0,0,.4); border: 0; cursor: pointer; transition: all .3s ease; }
.mobile-nav-toggle > span { position: relative; display: block; width: 50px; height: 16px; text-indent: -9999px; overflow: hidden; border-top: 4px solid #fff; border-bottom: 4px solid #fff; }
.mobile-nav-toggle > span::before { position: absolute; top: 6px; left: 0; width: 100%; content: ''; border-top: 4px solid #fff; }
.mobile-nav-toggle--open { left: 240px; background: transparent; }
.mobile-nav-overlay { position: fixed; z-index: 1001; inset: 0; display: none; background: rgba(0,0,0,.5); }
.mobile-nav-overlay--locked { display: block; }
.body-is-locked { overflow: hidden; height: 100%; }
.d3 { background: #f9f0da; position: relative; }
.d3 form { background: #ffdb4d; border: 1px solid #000; margin: 0; position: relative; }
.d3 input, .d3 button { border: none; outline: none; background: transparent; }
.d3 input { width: 100%; height: 42px; padding-left: 15px; }
.d3 button { height: 42px; width: 42px; position: absolute; top: 0; right: 0; cursor: pointer; }
.d3 button::before { content: "🔍"; font-size: 16px; }
@media (min-width: 992px) { .mobile-nav, .mobile-nav-toggle, .mobile-nav-overlay { display: none !important; } }

/* ---------- мобильная раскладка ---------- */
@media (max-width: 992px) {
  nav.main_menu, aside.menu, .hdr-row .top_image { display: none; }
  header.hdr-row { flex-wrap: wrap; align-items: center; }
  .hdr-row .logo { display: block; padding: 4px 10px 4px 66px; }
  .hdr-row .contacts { flex: 1 0 100%; display: block; white-space: normal; padding: 2px 10px 8px; line-height: 1.25; }
  .hdr-row .contacts strong { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; }
  .hdr-row .contacts br { display: none; }
  .hdr-row .contacts a, .hdr-row .main_tel { min-height: 40px; line-height: 40px; }
  .site-wrap { display: block; }
  main.content { width: 100%; padding: 5px 10px; }
  .sf-cols { grid-template-columns: 1fr 1fr; }
  .sf-contact { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .sf-cols { grid-template-columns: 1fr; } footer.site-footer { padding: 22px 14px 12px; } }

/* ---------- уведомление о cookie: маленькая плашка в левом нижнем углу, показывается один раз ---------- */
.xc-cookie { position: fixed; left: 12px; bottom: 12px; z-index: 9999; max-width: 360px; padding: 10px 12px; background: #fff; color: #1f2933;
  border: 1px solid #d5dbe1; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,.12); font: 13px/1.4 Helvetica, Arial, sans-serif;
  display: flex; align-items: center; gap: 8px 12px; }
.xc-cookie[hidden] { display: none; }
.xc-cookie span { flex: 1 1 auto; }
.xc-cookie a { color: #324b82; }
.xc-cookie button { flex: 0 0 auto; padding: 7px 14px; font: inherit; font-weight: 600; color: #fff; background: #324b82; border: 0; border-radius: 5px; cursor: pointer; }
.xc-cookie button:hover { background: #26396a; }
@media (max-width: 480px) { .xc-cookie { left: 8px; right: 8px; max-width: none; } }

/* ---------- страницы ошибки / offline ---------- */
.error-page main.content, .offline-page main.content { max-width: 800px; margin: 0 auto; padding: 30px 15px; }
