/* Shared compact article categories. */
html[lang="ru"] .compact-catalog .info-hero h1{font-size:clamp(30px,3vw,44px);line-height:1.25;max-width:850px;overflow-wrap:break-word}
html[lang="ru"] .compact-catalog .article-intro{font-size:16px;line-height:1.75;max-width:700px}
.compact-catalog .article-category-panel{padding:0;border:0;border-radius:0;background:transparent}
.compact-catalog .article-category-heading{margin-bottom:14px}
.compact-catalog .article-category-heading>a{display:none}
.compact-catalog .article-category-tabs{display:flex;flex-wrap:wrap;gap:8px;padding-bottom:16px;border-bottom:1px solid #e2eaf0}
.compact-catalog .article-category-tabs>a{flex:0 1 auto;justify-content:center;min-height:42px;padding:10px 17px;border:1px solid #e0e9ef;border-radius:6px;background:#fff;font-size:14px;line-height:1.5;overflow-wrap:break-word;max-width:100%;text-align:center}
.compact-catalog .article-category-tabs>a:hover{background:#edf4f8;border-color:#b8ccd9}
.compact-catalog .article-category-tabs>a.is-active{background:#173e59;border-color:#173e59;color:#fff}
.compact-catalog .article-category-icon{display:none}
.compact-catalog .article-subcategories{margin-top:12px;padding:0;border:0;gap:8px}
.compact-catalog .article-subcategories>a{padding:8px 14px;max-width:100%;overflow-wrap:break-word;background:#f4f8fa;border-color:transparent;line-height:1.5}
.compact-catalog .article-subcategories>a.is-active{background:#e8f0f5;border-color:#b8ccd9;color:#153f5b}
.compact-catalog .article-list-heading{margin-top:26px}
.compact-catalog .article-subcategories>a:focus-visible{outline:2px solid #b3935f;outline-offset:3px}
@media(min-width:768px){.compact-catalog .info-hero{height:auto;min-height:576px}.compact-catalog .article-catalog-section{padding-top:28px}}
@media(max-width:767px){.compact-catalog .article-catalog-section{padding-top:22px}.compact-catalog .article-category-tabs{gap:8px}.compact-catalog .article-category-tabs>a{padding:9px 12px;font-size:13px;min-height:40px}.compact-catalog .article-subcategories>a{font-size:12px;padding:8px 11px}html[lang="ru"] .compact-catalog .info-hero h1{font-size:28px}html[lang="ru"] .compact-catalog .article-intro{font-size:14px}.compact-catalog .article-list-heading{margin-top:24px}}

/* Mobile catalogue: keep navigation available without repeating the hero. */
.catalog-mobile-back,.catalog-selection,.catalog-search-toggle{display:none}
@media(max-width:767px){
 .compact-catalog.has-selected-category .article-wide-hero{display:none}
 .compact-catalog.has-selected-category>main{padding-top:80px}
 .compact-catalog .catalog-mobile-back{display:block;padding-top:12px;padding-bottom:8px}
 .catalog-mobile-back>a{display:inline-flex;align-items:center;gap:5px;min-height:36px;font-size:13px;color:#647e8d}
 .catalog-mobile-back svg,.catalog-switch svg,.catalog-search-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
 .compact-catalog.has-selected-category .article-catalog-section{padding-top:4px}
 .compact-catalog .article-category-heading{display:none}
 .compact-catalog .catalog-selection{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
 .compact-catalog .catalog-selection h1{font-size:17px;line-height:1.45;margin:0;min-width:0;color:#173e59;font-weight:600;overflow-wrap:break-word}
 .compact-catalog .catalog-switch{display:none;align-items:center;gap:3px;flex-shrink:0;padding:8px 0 8px 8px;min-height:44px;border:0;background:none;font-size:12px;color:#567483;cursor:pointer}
 .compact-catalog.catalog-mobile-ready .catalog-switch{display:flex}
 .catalog-switch[aria-expanded="true"] svg{transform:rotate(180deg)}
 .compact-catalog.catalog-mobile-ready.has-selected-category .article-category-tabs{display:none}
 .compact-catalog.catalog-mobile-ready.has-selected-category .article-category-panel.regions-open .article-category-tabs{display:flex;flex-wrap:wrap;overflow:visible;padding:8px 0 14px}
 .compact-catalog .article-category-tabs,.compact-catalog .article-subcategories{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#c4d5df transparent;gap:7px;padding-bottom:8px;margin-top:0}
 .compact-catalog .article-category-tabs>a,.compact-catalog .article-subcategories>a{flex:0 0 auto;max-width:none;white-space:nowrap;min-height:40px;display:inline-flex;align-items:center;padding:9px 12px;font-size:13px}
 .compact-catalog .article-subcategories{border-bottom:1px solid #e4ecf1}
 .compact-catalog .article-list-heading{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin:12px 0 16px}
 .compact-catalog .article-list-heading>div{flex:1;min-width:0}
 .compact-catalog .article-list-heading .article-breadcrumb,.compact-catalog .article-list-heading h2{display:none}
 .compact-catalog .article-list-heading p{margin:0;font-size:12px;line-height:1.6}
 .compact-catalog.catalog-mobile-ready .catalog-search-toggle{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid #e1eaf0;border-radius:8px;background:#f6f9fb;color:#173e59;cursor:pointer}
 .compact-catalog .article-search{flex-basis:100%;width:100%;min-width:0;margin:0}
 .compact-catalog.catalog-mobile-ready .article-search{display:none}
 .compact-catalog.catalog-mobile-ready .search-is-open .article-search{display:flex}
 .compact-catalog .article-empty{padding:30px 18px}
 .compact-catalog .hwe-widget{right:8px;bottom:calc(112px + env(safe-area-inset-bottom,0px))}
 .compact-catalog .hwe-fab,.compact-catalog .hwb-fab{width:46px;height:46px;min-height:46px;padding:4px;box-shadow:0 4px 12px #123b5926}
 .compact-catalog .hwb-fab{right:8px;bottom:calc(58px + env(safe-area-inset-bottom,0px))}
 .compact-catalog .hwe-fab .hwe-fab-icon,.compact-catalog .hwb-fab .hwb-fab-icon{width:18px;height:18px;font-size:13px}
 .compact-catalog .hwe-fab .hwe-fab-label,.compact-catalog .hwb-fab .hwb-fab-label{font-size:9px;margin-top:2px}
 .compact-catalog .catalog-switch:focus-visible,.compact-catalog .catalog-search-toggle:focus-visible{outline:2px solid #b3935f;outline-offset:2px}
}

@media(max-width:767px){.compact-catalog .article-category-tabs>a,.compact-catalog .article-subcategories>a{text-decoration:none}}

/* Text navigation: text-width underline, no chip backgrounds or horizontal padding. */
.compact-catalog .article-category-tabs,.compact-catalog .article-subcategories{column-gap:18px;row-gap:4px;padding-bottom:0}
.compact-catalog .article-category-tabs>a,.compact-catalog .article-subcategories>a{position:relative;display:inline-flex;align-items:center;min-height:36px;padding:7px 0;margin:0;border:0;border-radius:0;background:transparent;color:#567080;line-height:1.5;text-decoration:none;box-shadow:none}
.compact-catalog .article-category-tabs>a:hover,.compact-catalog .article-subcategories>a:hover{background:transparent;border:0;color:#173e59}
.compact-catalog .article-category-tabs>a.is-active,.compact-catalog .article-subcategories>a.is-active{background:transparent;border:0;color:#103f58}
.compact-catalog .article-category-tabs>a.is-active:after,.compact-catalog .article-subcategories>a.is-active:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:#176b91}
@media(max-width:767px){
 .compact-catalog .catalog-selection{margin-bottom:2px}
 .compact-catalog .article-category-tabs,.compact-catalog .article-subcategories{column-gap:16px;padding-bottom:0}
 .compact-catalog .article-category-tabs>a,.compact-catalog .article-subcategories>a{min-height:36px;padding:7px 0;font-size:13px}
 .compact-catalog.catalog-mobile-ready.has-selected-category .article-category-panel.regions-open .article-category-tabs{padding:4px 0 8px}
 .compact-catalog .article-list-heading{margin:6px 0 10px}
 .compact-catalog.catalog-mobile-ready .catalog-search-toggle{width:36px;height:36px;border:0;border-radius:0;background:transparent;padding:8px}
}

/* Refine text-navigation weight, breathing room and scroll indicator. */
.compact-catalog .article-category-tabs>a,.compact-catalog .article-subcategories>a{font-weight:600;min-height:44px;padding:11px 0}
@media(max-width:767px){
 .compact-catalog .catalog-selection{margin-bottom:6px}
 .compact-catalog .article-category-tabs,.compact-catalog .article-subcategories{scrollbar-width:thin;scrollbar-color:#d5e1e8 transparent;padding-bottom:4px}
 .compact-catalog .article-category-tabs::-webkit-scrollbar,.compact-catalog .article-subcategories::-webkit-scrollbar{height:2px}
 .compact-catalog .article-category-tabs::-webkit-scrollbar-track,.compact-catalog .article-subcategories::-webkit-scrollbar-track{background:transparent}
 .compact-catalog .article-category-tabs::-webkit-scrollbar-thumb,.compact-catalog .article-subcategories::-webkit-scrollbar-thumb{background:#d5e1e8;border-radius:2px}
 .compact-catalog .article-list-heading{margin-top:10px;margin-bottom:14px}
}
@supports selector(::-webkit-scrollbar){
 @media(max-width:767px){.compact-catalog .article-category-tabs,.compact-catalog .article-subcategories{scrollbar-width:auto;scrollbar-color:auto}}
}
