/*
 * Site utilities: Bootstrap 5 has no justified text (used by tour and catalogue descriptions).
 */
.text-justify { text-align: justify !important; }

/*
 * Joomla 3 site look (EW edits of the Helix 1 template.css) that Helix 2 / Bootstrap 5 defaults changed.
 */
#sp-main-body { padding-top: 0; padding-bottom: 0; }
h1, h1.sp-module-title { text-align: center; }
h1.sp-module-title { margin-top: 1rem; margin-bottom: 1rem; }
.breadcrumb { padding-top: 0 !important; padding-bottom: 0 !important; }
.pagination { margin-bottom: 0 !important; }
.blog .article-header h2 { font-size: 1.275rem !important; line-height: 1.2 !important; margin-bottom: .5rem !important; }
.btn-success { --bs-btn-bg: #28a745; --bs-btn-border-color: #28a745; --bs-btn-hover-bg: #218838; --bs-btn-hover-border-color: #1e7e34;
    --bs-btn-active-bg: #1e7e34; --bs-btn-active-border-color: #1c7430; --bs-btn-disabled-bg: #28a745; --bs-btn-disabled-border-color: #28a745; }

/*
 * Megamenu dropdown: the "span:not(.sp-menu-badge)" rule in template.css also matches the icon
 * span nested inside each item's <a>, doubling its vertical padding on top of the <a>'s own
 * (icon becomes 30px tall instead of 14px) - items end up ~46px apart instead of ~30px.
 */
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a > span:not(.sp-menu-badge) {
    padding: 0 8px 0 0 !important;
}

/*
 * Language switcher: ru-RU shown but disabled (site is uk-only now, old /ru/ pages still exist
 * and redirect to their uk-UA twin - see plg_system_langredirect). Rendered as a <span>, not an
 * <a>, by the mod_languages override; this just styles it as struck-through/inert.
 */
.mod-languages .lang-disabled {
    text-decoration: line-through;
    opacity: .5;
    cursor: not-allowed;
    user-select: none;
}
