/* ========================================
   DZELKA TEMPLATE CSS - CLEAN VERSION
   templates/dzelka/css/template.css
======================================== */

/* ========================================
   1. CSS VARIABLES & GLOBAL SETTINGS
======================================== */
:root {
    --primary: #8F0002;
    --secondary: #222428;
    --text: #222428;
    --muted: #6c757d;
    --max-width: 1600px;
    --site-padding: 20px;
    --radius: 8px;
    --transition: 300ms ease-in-out;
}

/* ========================================
   2. GLOBAL RESET & BASE STYLES
======================================== */
html, body {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    color: var(--text);
    background-color: #222428;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.45;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: color-mix(in srgb, var(--primary) 80%, black 20%);
}

/* ========================================
   3. CONTAINER & LAYOUT
======================================== */
.uk-container,
.uk-container-expand {
    max-width: var(--max-width);
    padding-left: var(--site-padding);
    padding-right: var(--site-padding);
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   4. HEADER STYLES - TRANSPARENT OVERLAY
======================================== */
.site-header {
   left: 0;
    right: 0;
    z-index: 1000;
    background: none;
    border-bottom: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: calc(100vw - 15px);
	max-width: 100%;
}

/* Header when sticky */
.site-header.uk-sticky-below {
    position: fixed;
    background: rgba(1, 1, 1, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.uk-navbar-container {
    padding: 10px 0;
    transition: padding 0.3s ease;
}

.site-header.uk-sticky-below .uk-navbar-container {
    padding: 10px 0;
}

/* ========================================
   5. LOGO STYLES
======================================== */
.uk-navbar-left {
    flex: 0 0 auto;
}

.uk-logo {
    font-size: 28px;
    font-weight: 700;
    color: #E5E5E5;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.uk-logo:hover {
    color: #E5E5E5;
    transform: scale(1.02);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.uk-logo img {
    max-height: 100px;
    width: 100%;
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

/* Logo in sticky mode */
.site-header.uk-sticky-below .uk-logo {
    color: var(--primary);
    text-shadow: none;
}

.site-header.uk-sticky-below .uk-logo img {
    filter: none;
    max-height: 100px;
	    padding: 0 0 20px;
}

/* ========================================
   6. MAIN NAVIGATION MENU
======================================== */
.uk-navbar-center {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    margin-right: 20px;
}

/* Reset default menu styles */
.uk-navbar-center .mod-menu,
.uk-navbar-center .mod-list,
.uk-navbar-center .nav {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Navigation container */
.uk-navbar-center .nav {
    
   
    border-radius: 0px;
    padding: 10px 16px;
    border: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Navigation in sticky mode */
.site-header.uk-sticky-below .uk-navbar-center .nav {
    background: none;
    border: none;
    box-shadow: none;
}

/* Menu items */
.nav-item {
    position: relative;
    margin: 0;
    list-style: none;
}

/* Menu links */
.nav-item a {
    display: inline-block;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    letter-spacing: -0.01em;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Menu hover state */
.nav-item a:hover {
    color: #E5E5E5;
    background-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-1px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Active menu item */
.nav-item.current a,
.nav-item.active a,
.nav-item.default a {
    
    
    font-weight: 600;
    text-shadow: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-item.current a:hover,
.nav-item.active a:hover,
.nav-item.default a:hover {
    background: #E5E5E5;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Menu in sticky mode */
.site-header.uk-sticky-below .nav-item a {
    color: #E5E5E5;
    text-shadow: none;
	background: none;
}

.site-header.uk-sticky-below .nav-item a:hover {
    color: var(--primary);
    background-color:rgba(255, 255, 255, 0.8);
}

/* ========================================
   7. RIGHT SIDE ACTIONS (Language, Auth, User)
======================================== */


/* Language Switcher */
.header-lang {
    display: flex;
    align-items: center;
}

.header-lang .mod-languages ul {
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-lang .mod-languages a {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.header-lang .mod-languages a:hover,
.header-lang .mod-languages .lang-active a {
    background: rgba(255, 255, 255, 0.25);
    color: #E5E5E5;
    border-color: rgba(255, 255, 255, 0.3);
}

/* Language in sticky mode */
.site-header.uk-sticky-below .header-lang .mod-languages a {
    color: #64748b;
    background: rgba(100, 116, 139, 0.1);
    border-color: rgba(100, 116, 139, 0.2);
    text-shadow: none;
}

/* Auth Buttons */
.header-auth-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-auth-buttons .uk-button,
.header-auth-buttons a {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

/* Login Button */
.header-auth-buttons .login-button,
.header-auth-buttons a:first-child {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Register Button */
.header-auth-buttons .register-button,
.header-auth-buttons .uk-button-primary,
.header-auth-buttons a:last-child {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    border: none;
    font-weight: 600;
}

/* User Panel Toggle */
.user-panel-toggle {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-panel-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #E5E5E5;
    border-color: rgba(255, 255, 255, 0.3);
}

/* User toggle in sticky mode */
.site-header.uk-sticky-below .user-panel-toggle {
    background: none;
    border: none;
    color: #E5E5E5;
}

.site-header.uk-sticky-below .user-panel-toggle:hover {
    background: rgba(30, 115, 190, 0.1);
    color: var(--primary);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 8px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #E5E5E5;
}

.site-header.uk-sticky-below .mobile-menu-toggle {
    color: var(--primary);
    background: none;
    border: none;
}

/* ========================================
   8. HERO SLIDER SECTION
======================================== */
.hero-slider {
    background:#E5E5E5;
}

.hero-slider-container {
    
	position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 800px;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
	    background: url(../images/hero-bg.webp);
    background-repeat: no-repeat;
    background-size: 95%;
	margin-top: -118px;
}

/* Individual slides */
.hero-slide {
    position: relative;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

/* Hero overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   
    z-index: 1;
}

/* Hero content positioning */
.hero-slide .uk-container {
    position: relative;
    z-index: 2;
    
    height: 100%;
}

.hero-slide .uk-grid {
    height: 100%;
    align-items: center;
}

/* Hero image (desktop only) */
.hero-image-container {
    position: relative;
    z-index: 2;
}

.hero-image {
    position: relative;
    animation: slideInLeft 1s ease-out;
}

.hero-image img {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    max-width: 100%;
    height: auto;
}

.hero-image:hover img {
    transform: scale(1.02);
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 2;
   /* animation: slideInRight 1s ease-out;*/
	top: -100px;
}

.hero-text {
    margin-bottom: 2rem;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: #E5E5E5;
}

.hero-text p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    color: #E5E5E5;
}

/* Hero search form */
.hero-search-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Form elements */
.hero-search-form .uk-input,
.hero-search-form .uk-select {
    border-radius: 8px;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.hero-search-form .uk-input:focus,
.hero-search-form .uk-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 115, 190, 0.1);
}

.hero-search-form .uk-button-primary {
    background-color: var(--primary);
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    color: #E5E5E5;
}

.hero-search-form .uk-button-primary:hover {
    background-color: color-mix(in srgb, var(--primary) 85%, black 15%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 115, 190, 0.3);
}

/* ========================================
   9. HERO SLIDER NAVIGATION
======================================== */
/* Navigation dots */
.uk-slideshow-nav.uk-dotnav {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.uk-slideshow-nav.uk-dotnav > * > * {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    width: 12px;
    height: 12px;
    transition: all 0.3s ease;
}

.uk-slideshow-nav.uk-dotnav > .uk-active > * {
    background-color: #E5E5E5;
    transform: scale(1.2);
}

/* Navigation arrows */
.uk-slidenav {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.uk-slidenav:hover {
    color: #E5E5E5;
    transform: scale(1.1);
}

/* ========================================
   10. ANIMATIONS
======================================== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes menuFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   11. OFFCANVAS MENUS
======================================== */
.uk-offcanvas-bar {
    background: rgb(229, 229, 229, 0.90);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    width: 300px;
}

.uk-offcanvas-header {
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
}

.uk-offcanvas-header h3 {
    color: var(--primary);
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.uk-offcanvas-close {
    color: #64748b;
    transition: all 0.3s ease;
}

.uk-offcanvas-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

/* Mobile menu in offcanvas */
#mobile-menu .mod-menu ul,
#mobile-menu .nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

#mobile-menu .nav-item {
    margin-bottom: 8px;
}

#mobile-menu .nav-item a {
    display: block;
    padding: 12px 16px;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

#mobile-menu .nav-item a:hover,
#mobile-menu .nav-item.current a,
#mobile-menu .nav-item.active a {
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--primary);
}

/* ========================================
   12. MAIN CONTENT & CARDS
======================================== */
.uk-section-default .uk-card {
    border-radius: var(--radius);
    box-shadow: 0 6px 18px rgba(2, 6, 23, 0.04);
}

.uk-card .module-title,
.uk-card h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 16px;
    color: var(--text);
}

.site-main .content-body {
    font-size: 16px;
    color: var(--text);
}

/* ========================================
   13. BUTTONS & FORM ELEMENTS
======================================== */
.btn,
.uk-button {
    background: var(--primary);
    color: #E5E5E5;
    border-radius: 6px;
    padding: 10px 16px;
    border: 0;
    display: inline-block;
    text-align: center;
    transition: background var(--transition), transform var(--transition);
    font-weight: 500;
}

.btn:hover,
.uk-button:hover {
    background: color-mix(in srgb, var(--primary) 85%, black 15%);
    transform: translateY(-1px);
}

/* ========================================
   14. FOOTER
======================================== */
.site-footer {
    background: none;
    border-top: 1px solid rgba(16, 24, 32, 0.04);
    padding: 24px 0;
}

.site-footer .footer-logo img {
    max-height: 44px;
}

/* ========================================
   15. BACK TO TOP BUTTON
======================================== */
.back-to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1100;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #E5E5E5;
    box-shadow: 0 6px 18px rgba(2, 6, 23, 0.12);
    transition: transform var(--transition);
}

.back-to-top:hover {
    transform: translateY(-4px);
}

/* ========================================
   16. UTILITY CLASSES
======================================== */
.text-muted { color: var(--muted); }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }

/* ========================================
   17. ACCESSIBILITY
======================================== */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(30, 115, 190, 0.16);
    outline-offset: 2px;
}

.nav-item a:focus {
    outline: 3px solid rgba(30, 115, 190, 0.3);
    outline-offset: 2px;
}

.hero-slider:focus-within .uk-slidenav,
.hero-slider:focus-within .uk-dotnav {
    opacity: 1;
}

.uk-slidenav:focus,
.uk-dotnav > * > *:focus {
    outline: 3px solid rgba(30, 115, 190, 0.5);
    outline-offset: 2px;
}

/* ========================================
   18. MOBILE RESPONSIVE
======================================== */
@media (max-width: 959px) {
    .uk-navbar-center {
        display: none;
    }
    
    .hero-image-container {
        display: none;
    }
    
    .hero-content {
        width: 100%;
        text-align: center;
        animation: fadeInUp 1s ease-out;
    }
    
    .hero-search-form {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
  
    
    .hero-slide .uk-container {
        padding-top: 80px;
    }
    
    .uk-logo {
        font-size: 24px;
    }
    
    .uk-logo img {
        max-height: 38px;
    }
}

@media (max-width: 639px) {
    .uk-container {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .uk-navbar-container {
        padding: 12px 0;
    }
    
 
    .hero-search-form {
        padding: 1.25rem;
        border-radius: 12px;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .uk-slideshow-nav.uk-dotnav {
        bottom: 1rem;
    }
    
    .uk-logo {
        font-size: 20px;
    }
    
    .uk-logo img {
        max-height: 32px;
    }
    
    .hero-slide .uk-container {
        padding-top: 70px;
    }
    
    .uk-navbar-right {
        gap: 8px;
    }
}

/* Large screens */
@media (min-width: 1200px) {
    .nav-item a {
        padding: 14px 24px;
        font-size: 16px;
    }
    
    .uk-navbar-center .nav {
        gap: 8px;
        padding: 12px 20px;
    }
    
    .uk-navbar-center {
        margin-right: 32px;
    }
}

/* ========================================
   19. REDUCED MOTION SUPPORT
======================================== */
@media (prefers-reduced-motion: reduce) {
    .hero-slider-container {
        animation: none;
		height: 100vh;
    min-height: 600px;
    max-height: 800px;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
    background: url(../images/hero-bg.webp);
    background-repeat: no-repeat;
    background-size: 95%;
    margin-top: -90px;
    }
    
    .hero-image,
    .hero-content,
    .hero-search-form {
        animation: none;
    }
    
    .hero-image img {
        transition: none;
    }
    
    .hero-search-form .uk-button-primary {
        transition: background-color 0.15s ease;
    }
    
    .hero-search-form .uk-button-primary:hover {
        transform: none;
    }
}

/* ========================================
   20. DARK MODE SUPPORT
======================================== */
@media (prefers-color-scheme: dark) {
    .hero-search-form {
        background: rgba(17, 24, 39, 0.95);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .hero-search-form .uk-form-label {
        color: #e5e7eb;
    }
    
    .hero-search-form .uk-input,
    .hero-search-form .uk-select {
        background-color: rgba(31, 41, 55, 0.8);
        border-color: rgba(75, 85, 99, 0.5);
        color: #e5e7eb;
    }
    
    .uk-offcanvas-bar {
        background: rgba(1,1,1,0.9);
        color: #e5e7eb;
    }
}

/* ========================================
   21. DARK MODE SUPPOR мои допы !!!!!!!!!!!!!!!!!!!!!!!!
======================================== */
.shapka{
	width:90vw;
	margin:0 auto;
}

.uk-navbar-container:not(.uk-navbar-transparent) {
    background: none;
}
/* ========================================
   HERO IMAGES GRID STYLES - Добавить в template.css
======================================== */

/* Hero Images Container */
.hero-images-container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

/* Images Grid Layout */
.hero-images-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    width: 100%;
    height: 400px;
    animation: slideInLeft 1s ease-out;
}

/* Individual Image Items */
.hero-image-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image-item:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.hero-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hero-image-item:hover img {
    transform: scale(1.05);
}

/* Different Grid Layouts for Variety */
/* Layout 1: Top image spans 2 columns */
.slide-layout-1 .hero-images-grid {
    grid-template-areas: 
        "top-image top-image"
        "bottom-left bottom-right";
}

.slide-layout-1 .hero-image-top {
    grid-area: top-image;
    height: 180px;
}

.slide-layout-1 .hero-image-bottom {
    grid-area: bottom-left;
    height: 200px;
}

/* Layout 2: Left image spans 2 rows */
.slide-layout-2 .hero-images-grid {
    grid-template-areas: 
        "left-image top-right"
        "left-image bottom-right";
}

.slide-layout-2 .hero-image-top {
    grid-area: left-image;
}

.slide-layout-2 .hero-image-bottom {
    grid-area: top-right;
}

/* Layout 3: Classic 2x2 grid */
.slide-layout-3 .hero-images-grid {
    grid-template-areas: 
        "top-left top-right"
        "bottom-left bottom-right";
}

.slide-layout-3 .hero-image-top {
    grid-area: top-left;
}

.slide-layout-3 .hero-image-bottom {
    grid-area: bottom-right;
}

/* Animation delays for staggered appearance */
.hero-image-item:nth-child(1) {
    animation-delay: 0.2s;
}

.hero-image-item:nth-child(2) {
    animation-delay: 0.4s;
}

/* Image overlay effects */
.hero-image-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 115, 190, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
    z-index: 1;
}

.hero-image-item:hover::before {
    opacity: 1;
}

/* Alternative layout - Masonry style */
.hero-images-masonry {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 400px;
}

.hero-images-masonry .hero-image-item:first-child {
    flex: 2;
}

.hero-images-masonry .hero-image-item:last-child {
    flex: 1;
}

/* Mobile Responsive */
@media (max-width: 959px) {
    .hero-images-container {
        display: none;
    }
}

/* Tablet adjustments */
@media (max-width: 1199px) and (min-width: 960px) {
    .hero-images-grid {
        height: 350px;
        gap: 15px;
    }
    
    .slide-layout-1 .hero-image-top {
        height: 150px;
    }
    
    .slide-layout-1 .hero-image-bottom {
        height: 170px;
    }
}

/* Large screens */
@media (min-width: 1400px) {
    .hero-images-grid {
        height: 450px;
        gap: 25px;
    }
    
    .slide-layout-1 .hero-image-top {
        height: 200px;
    }
    
    .slide-layout-1 .hero-image-bottom {
        height: 220px;
    }
}

/* Loading states */
.hero-image-item.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 2s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Error state */
.hero-image-item.error {
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

.hero-image-item.error::after {
    content: '🖼️';
    font-size: 2rem;
}

/* Lazy loading optimization */
.hero-image-item img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-image-item img[loading="lazy"].loaded {
    opacity: 1;
}

/* Performance optimizations */
.hero-images-grid * {
    will-change: transform;
}

.hero-image-item {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Content alignment adjustments when images are present */
.slide-layout-2 .hero-content {
    padding-right: 40px;
}

.slide-layout-1 .hero-content,
.slide-layout-3 .hero-content {
   padding: 0 40px;
}

/* Ensure proper spacing */
@media (min-width: 960px) {
    .hero-slide .uk-grid {
        align-items: center;
        min-height: 500px;
    }
}
/* ========================================
   HERO SLIDER RIGHT NAVIGATION - Добавить в template.css
======================================== */

/* Скрываем стандартную навигацию UIKit */
.hero-slider .uk-slideshow-nav.uk-dotnav,
.hero-slider .uk-slidenav {
    display: none;
}

/* Контейнер правой навигации */
.hero-slider-navigation {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px 0 0 20px;
    padding: 30px 20px;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 200px;
    justify-content: center;
}

/* Номера слайдов */
.hero-slider-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px;
    border-radius: 10px;
}

.hero-slider-nav-item:hover {
    background: rgba(30, 30, 30, 0.7);
}

/* Номер слайда */
.hero-slider-nav-number {
    font-size: 24px;
    font-weight: 700;
    color: #E5E5E5;
    transition: all 0.3s ease;
    line-height: 1;
    margin-bottom: 5px;
}

/* Разделитель */
.hero-slider-nav-divider {
    width: 20px;
    height: 1px;
    background: #e2e8f0;
    transition: all 0.3s ease;
    margin: 5px 0;
}

/* Общее количество слайдов */
.hero-slider-nav-total {
    font-size: 14px;
    font-weight: 500;
    color: #94a3b8;
    line-height: 1;
}

/* Активный слайд */
.hero-slider-nav-item.active .hero-slider-nav-number {
    color: var(--primary, #1e73be);
    font-size: 28px;
}

.hero-slider-nav-item.active .hero-slider-nav-divider {
    background: var(--primary, #1e73be);
    width: 25px;
}

.hero-slider-nav-item.active .hero-slider-nav-total {
    color: var(--primary, #1e73be);
}

/* Индикатор прогресса */
.hero-slider-nav-item::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--primary, #1e73be);
    transition: height 0.3s ease;
    border-radius: 2px;
}

.hero-slider-nav-item.active::before {
    height: 40px;
}

/* Стрелки навигации внизу панели */
.hero-slider-nav-arrows {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.hero-slider-nav-arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #64748b;
}

.hero-slider-nav-arrow:hover {
    background: var(--primary, #1e73be);
    border-color: var(--primary, #1e73be);
    color: #E5E5E5;
    transform: scale(1.05);
}

.hero-slider-nav-arrow svg {
    width: 16px;
    height: 16px;
}

/* Автопроигрывание индикатор */
.hero-slider-autoplay-indicator {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
}

.hero-slider-autoplay-progress {
    height: 100%;
    background: var(--primary, #1e73be);
    width: 0;
    transition: width 10s linear;
    border-radius: 2px;
}

.hero-slider-autoplay-progress.running {
    width: 100%;
}

/* Mobile адаптация */
@media (max-width: 959px) {
    .hero-slider-navigation {
        right: 10px;
        padding: 20px 15px;
        border-radius: 15px;
        min-height: 150px;
    }
    
    .hero-slider-nav-number {
        font-size: 20px;
    }
    
    .hero-slider-nav-item.active .hero-slider-nav-number {
        font-size: 24px;
    }
    
    .hero-slider-nav-arrows {
        margin-top: 15px;
        padding-top: 15px;
    }
    
    .hero-slider-nav-arrow {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 639px) {
    .hero-slider-navigation {
        right: 5px;
        padding: 15px 10px;
        gap: 15px;
        min-height: 120px;
    }
    
    .hero-slider-nav-number {
        font-size: 18px;
    }
    
    .hero-slider-nav-item.active .hero-slider-nav-number {
        font-size: 20px;
    }
    
    .hero-slider-nav-total {
        font-size: 12px;
    }
    
    .hero-slider-nav-divider {
        width: 15px;
    }
    
    .hero-slider-nav-item.active .hero-slider-nav-divider {
        width: 18px;
    }
}

/* Анимация появления */
.hero-slider-navigation {
    animation: slideInRight 0.8s ease-out 0.5s both;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

/* Hover эффекты для всей панели */
.hero-slider-navigation:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
}

/* Плавная анимация смены активного элемента */
.hero-slider-nav-item * {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.uk-totop:hover {
    color: #E5E5E5;
}
.uk-offcanvas-slide{
	color:#fff;
}
.main-content-block{
	    max-width: 100vw;
    margin: 0 auto;
}
.bg-obschii{
	background:#222428;
}
.hero-slider{
	
}
.home .hero-slider{
	    display: block;
}
.jbd-container .result-item{
	color:#EBEAE1;
}
.result-content-top{
	color:#EBEAE1;
}
.jbd-container .result-item{
	    background-color: #E5E5E5;
}
.jbd-container .result-item.featured{
	 background-color: rgba(200, 200, 200, 0.3);
}
.jbd-container .result-item h3 a {
    color: #E5E5E5;
}
.jbd-container .result-item .item-result-type {
    margin: 7px 0 0;
    font-weight: 600;
    color: #E5E5E5;
}
.jbd-container .event-list-style-1 .item-date {
    padding: 10px;
    border-radius: 10px;
    background: rgba(50,50,50,0.5);
}
.jbd-container .search-filter-horizontal .search-filter-label {
  
    color: #E5E5E5;
   
}
.jbd-container .result-item {
    color: #8F0002;
}
.slider-item{
	
}
.slider-content{
	border-radius:50px;
}
.jbd-container .card {
    background-color: #fff;
 
    border-radius: 10px;
	border: none;
}
.slick-slide {
    display: none;
    min-height: 1px;
    padding: 0 10px;
}
.jbd-container .place-card-info > .place-card-info-title a.item-title {
    color: #343a40;
    font-size: 16px;
    margin-bottom: 10px;
    display: block;
    min-height: 50px;
}
.btn-success{
	background:#457D54 !important;
	 text-transform: uppercase !important;
}
.btn-success span{
	font-weight:500;
	 text-transform: uppercase !important;
}
.search-field{
	width:100%;
}
.search-field{
	width:100%;
}
.search-field select{
width:auto;
min-width:200px;
}
#searchform .form-field select, #searchform .form-field input[type="text"] {
   height: 3em;
    width: 100%;
}
#searchform #searchkeyword {
    width: 100%;
}

#searchform .form-field{
	    width: auto !important;
    float: left;

}
#searchform .form-field select{
	width:auto;
	min-width:450px;
	float:left;
}
.search-field {
	min-width:350px;
}
/* ========================================
   MOBILE FIXES - Добавить в template.css
======================================== */

/* Исправление hero контента - убираем отступ сверху */
.hero-content {
    position: relative;
    z-index: 2;
    top: 0; /* Убираем top: -100px */
    padding-top: 0;
    margin-top: 0;
}

/* Правильное позиционирование hero контента */
.hero-slide .uk-container {
    position: relative;
    z-index: 2;
    padding-top: 120px; /* Отступ для header */
    height: 100%;
    display: flex;
    align-items: flex-start; /* Выравниваем по верху */
    justify-content: center;
}

.hero-slide .uk-grid {
    height: auto; /* Убираем фиксированную высоту */
    align-items: flex-start; /* Выравниваем по верху */
    min-height: 500px;
    padding-top: 2rem;
}

/* Hero навигация - уменьшаем для мобильных */
.hero-slider-navigation {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px 0 0 20px;
    padding: 20px 15px;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-height: 180px;
    justify-content: center;
    width: 80px; /* Фиксированная ширина */
}

/* Номера слайдов - уменьшаем */
.hero-slider-nav-number {
    font-size: 20px;
    font-weight: 700;
    color: #222428;
    transition: all 0.3s ease;
    line-height: 1;
    margin-bottom: 3px;
}

.hero-slider-nav-item.active .hero-slider-nav-number {
    color: var(--primary, #8F0002);
    font-size: 22px;
}

/* Разделитель */
.hero-slider-nav-divider {
    width: 15px;
    height: 1px;
    background: #e2e8f0;
    transition: all 0.3s ease;
    margin: 3px 0;
}

.hero-slider-nav-item.active .hero-slider-nav-divider {
    background: var(--primary, #8F0002);
    width: 18px;
}

/* Общее количество слайдов */
.hero-slider-nav-total {
    font-size: 12px;
    font-weight: 500;
    color: #94a3b8;
    line-height: 1;
}

.hero-slider-nav-item.active .hero-slider-nav-total {
    color: var(--primary, #8F0002);
}

/* Стрелки навигации */
.hero-slider-nav-arrows {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-slider-nav-arrow {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #E5E5E5;
}

.hero-slider-nav-arrow:hover,
.hero-slider-nav-arrow:active {
    background: var(--primary, #8F0002);
    border-color: var(--primary, #8F0002);
    color: #E5E5E5;
    transform: scale(1.05);
}

.hero-slider-nav-arrow svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* МОБИЛЬНЫЕ ИСПРАВЛЕНИЯ */
@media (max-width: 959px) {
    
    /* Hero контент на мобильных */
    .hero-slide .uk-container {
        padding-top: 80px;
        padding-bottom: 2rem;
    }
    
    .hero-content {
        width: 100%;
        text-align: center;
        padding: 0 1rem;
        top: 0;
    }
    
    .hero-search-form {
        padding: 1.5rem;
        margin-top: 1.5rem;
        max-width: 100%;
        border-radius: 16px;
    }
    
    /* Навигация на мобильных */
    .hero-slider-navigation {
        right: 10px;
        padding: 15px 10px;
        border-radius: 15px;
        min-height: 140px;
        width: 70px;
        gap: 12px;
    }
    
    .hero-slider-nav-number {
        font-size: 18px;
    }
    
    .hero-slider-nav-item.active .hero-slider-nav-number {
        font-size: 20px;
    }
    
    .hero-slider-nav-total {
        font-size: 11px;
    }
    
    .hero-slider-nav-divider {
        width: 12px;
    }
    
    .hero-slider-nav-item.active .hero-slider-nav-divider {
        width: 15px;
    }
    
    .hero-slider-nav-arrows {
        gap: 6px;
        margin-top: 12px;
        padding-top: 12px;
    }
    
    .hero-slider-nav-arrow {
        width: 28px;
        height: 28px;
    }
    
    .hero-slider-nav-arrow svg {
        width: 12px;
        height: 12px;
    }
    
    /* Hero слайдер высота */
    .hero-slider {
      
       
        margin-top: -60px; /* Уменьшаем отрицательный отступ */
    }
}

@media (max-width: 639px) {
    
    /* Еще меньше для очень маленьких экранов */
    .hero-slide .uk-container {
        padding-top: 60px;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-content {
        padding: 0 0.5rem;
    }
    
    .hero-search-form {
        padding: 1.25rem;
        margin-top: 1rem;
        border-radius: 12px;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
        margin-bottom: 0.75rem;
        line-height: 1.2;
    }
    
    .hero-text p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    /* Навигация еще меньше */
    .hero-slider-navigation {
        right: 5px;
        padding: 12px 8px;
        gap: 10px;
        min-height: 120px;
        width: 60px;
    }
    
    .hero-slider-nav-number {
        font-size: 16px;
    }
    
    .hero-slider-nav-item.active .hero-slider-nav-number {
        font-size: 18px;
    }
    
    .hero-slider-nav-total {
        font-size: 10px;
    }
    
    .hero-slider-nav-arrow {
        width: 24px;
        height: 24px;
    }
    
    .hero-slider-nav-arrow svg {
        width: 10px;
        height: 10px;
    }
    
    .hero-slider {
       
        margin-top: -40px;
    }
}

/* Исправление для UIKit responsive классов */
@media (max-width: 959px) {
    .uk-visible\@m {
        display: none !important;
    }
    
    .uk-hidden\@m {
        display: block !important;
    }
    
    .uk-width-1-1 {
        width: 100% !important;
    }
}

/* Дополнительные исправления для hero формы */
.hero-search-form .uk-input,
.hero-search-form .uk-select,
.hero-search-form input,
.hero-search-form select {
    width: 100%;
    margin-bottom: 0.75rem;
    padding: 10px 12px;
    font-size: 14px;
    border-radius: 6px;
}

.hero-search-form .uk-button-primary,
.hero-search-form button[type="submit"],
.hero-search-form input[type="submit"] {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

/* Убираем анимации на мобильных для лучшей производительности */
@media (max-width: 959px) {
    .hero-content {
        animation: none;
    }
    
    .hero-images-container {
        animation: none;
    }
    
    .hero-search-form {
        animation: fadeInUp 0.6s ease-out;
    }
	.main5 {
    padding: 20px 20px !important;
}
}

/* Исправляем проблему с переполнением */
.hero-slider-container,
.hero-slide {
    overflow: hidden;
}

.uk-slideshow-items {
    height: 100%;
}

.uk-slideshow-items > li {
    height: 100%;
}


/* ========================================
   HERO SEARCH FORMS - Добавить в конец template.css
======================================== */

/* Search Tabs Styling */
.hero-search-form .search-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 25px;
    padding: 6px;
}

.hero-search-form .search-tab {
    background: none;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
    font-size: 14px;
    font-family: inherit;
    flex: 1;
    text-align: center;
}

.hero-search-form .search-tab.active {
    background: var(--primary, #8F0002);
    color: white;
    box-shadow: 0 2px 8px rgba(143, 0, 2, 0.3);
}

.hero-search-form .search-tab:hover:not(.active) {
    background: rgba(143, 0, 2, 0.1);
    color: var(--primary, #8F0002);
}

/* Search Fields Grid */
.search-fields-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.search-field-full {
    grid-column: 1 / -1;
}

.search-main-input {
    padding: 14px 16px !important;
    border-radius: 25px !important;
    border: 2px solid #e5e7eb !important;
    font-size: 16px;
    background: white;
    transition: all 0.3s ease;
}

.search-main-input:focus {
    border-color: var(--primary, #8F0002) !important;
    box-shadow: 0 0 0 4px rgba(143, 0, 2, 0.1) !important;
    outline: none !important;
}

.search-main-input::placeholder {
    color: #999;
    font-style: italic;
}

/* Grid layout for desktop */
@media (min-width: 768px) {
    .search-fields-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .search-field-full {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1024px) {
    .search-fields-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* Form elements styling */
.hero-search-form .uk-select,
.hero-search-form .uk-input {
    border-radius: 12px !important;
    border: 2px solid #e5e7eb !important;
    padding: 12px 16px !important;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.hero-search-form .uk-select:focus,
.hero-search-form .uk-input:focus {
    border-color: var(--primary, #8F0002) !important;
    box-shadow: 0 0 0 4px rgba(143, 0, 2, 0.1) !important;
    outline: none !important;
}

/* Search submit button */
.search-submit-btn {
    width: 100%;
    background: var(--primary, #8F0002) !important;
    color: white !important;
    border: none !important;
    padding: 16px 32px !important;
    border-radius: 30px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 10px;
}

.search-submit-btn:hover {
    background: #7a0001 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(143, 0, 2, 0.4);
}

.search-submit-btn:focus {
    box-shadow: 0 0 0 4px rgba(143, 0, 2, 0.2) !important;
}

/* Loading state for submit button */
.search-submit-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
    position: relative;
}

.search-submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

@keyframes spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

/* Hero text updates */
.hero-content .hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: #E5E5E5;
}

.hero-content .hero-text p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    color: #E5E5E5;
    margin-bottom: 2rem;
}

/* Fix z-index issues */
.hero-slider {
    position: relative;
    z-index: 1;
}

.site-header {
    position: relative;
    z-index: 1000;
	height:80px;
}

.hero-slider-navigation {
    z-index: 20;
}

/* Ensure proper spacing and background continuity */
.main-content-block {
    background: #222428;
    margin-top: 0;
    padding-top: 0;
}

.bg-obschii {
    background: #222428;
    margin-top: 0;
	padding-top: 0px;
}

/* Mobile responsiveness for search tabs */
@media (max-width: 768px) {
    .hero-search-form .search-tabs {
        flex-direction: column;
        gap: 4px;
        padding: 4px;
    }
    
    .hero-search-form .search-tab {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .search-fields-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .search-main-input {
        font-size: 16px !important; /* Prevent zoom on iOS */
    }
    
    .search-submit-btn {
        padding: 14px 24px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .hero-search-form {
        padding: 1.5rem 1rem;
    }
    
    .hero-search-form .search-tabs {
        margin-bottom: 15px;
    }
    
    .search-fields-grid {
        gap: 8px;
        margin-bottom: 15px;
    }
    
    .hero-search-form .uk-select,
    .hero-search-form .uk-input {
        padding: 10px 12px !important;
        font-size: 14px;
    }
}

/* Animation for tab switching */
.search-tab {
    position: relative;
    overflow: hidden;
}

.search-tab::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: width 0.3s, height 0.3s;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.search-tab:hover::before {
    width: 100px;
    height: 100px;
}

/* Enhanced form validation styles */
.uk-input:invalid,
.uk-select:invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1) !important;
}

.uk-input:valid,
.uk-select:valid {
    border-color: #28a745 !important;
}

/* Placeholder styling for better UX */
.uk-input::placeholder {
    color: #6c757d;
    opacity: 0.8;
}

/* Enhanced focus states */
.uk-input:focus,
.uk-select:focus {
    transform: translateY(-1px);
}

/* Better button accessibility */
.search-submit-btn:focus-visible {
    outline: 2px solid #E5E5E5;
    outline-offset: 2px;
}

/* Smooth transitions for all interactive elements */
* {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Fix for language constants display */
[data-lang-key] {
    display: inline-block;
}
/* ========================================
   МЯГКОЕ ИСПРАВЛЕНИЕ ФОРМЫ ПОИСКА
   Добавить в конец template.css
======================================== */

/* Основной контейнер формы - базовые стили */
.hero-search-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Делаем форму flex контейнером */
.hero-search-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Поисковое поле - первый input на отдельную строку */
.hero-search-form form input[type="text"]:first-child,
.hero-search-form form input[type="search"]:first-child,
.hero-search-form .form-field:first-child input[type="text"] {
    width: 100%;
    padding: 16px 20px;
    border-radius: 25px;
    border: 2px solid #e5e7eb;
    font-size: 16px;
    background: white;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.hero-search-form form input[type="text"]:first-child:focus,
.hero-search-form .form-field:first-child input[type="text"]:focus {
    border-color: var(--primary, #8F0002);
    box-shadow: 0 0 0 4px rgba(143, 0, 2, 0.1);
    outline: none;
}

/* Контейнер для остальных полей - создаем обертку через CSS */
.hero-search-form form > *:nth-child(n+2):not(button):not(input[type="submit"]) {
    display: inline-block;
    vertical-align: top;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

/* Стили для селектов */
.hero-search-form select,
.hero-search-form .form-field select {
    min-width: 180px;
    max-width: 250px;
    padding: 12px 16px;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    background: white;
    font-size: 14px;
    transition: all 0.3s ease;
}

.hero-search-form select:focus {
    border-color: var(--primary, #8F0002);
    box-shadow: 0 0 0 4px rgba(143, 0, 2, 0.1);
    outline: none;
}

/* Поля цены - компактные */
.hero-search-form input[type="number"],
.hero-search-form input[placeholder*="цена"],
.hero-search-form input[placeholder*="price"] {
    width: 120px;
    padding: 12px 16px;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    background: white;
    font-size: 14px;
}

/* Кнопка поиска */
.hero-search-form button[type="submit"],
.hero-search-form input[type="submit"] {
    width: 100%;
    background: var(--primary, #8F0002);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
}

.hero-search-form button[type="submit"]:hover {
    background: #7a0001;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(143, 0, 2, 0.4);
}

/* Убираем лишние отступы у form-field */
.hero-search-form .form-field {
    margin-bottom: 0;
    display: inline-block;
    vertical-align: top;
    margin-right: 1rem;
}

.hero-search-form .form-field:first-child {
    display: block;
    width: 100%;
    margin-right: 0;
    margin-bottom: 1rem;
}

.hero-search-form .form-field input,
.hero-search-form .form-field select {
    width: 100%;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .hero-search-form form > *:nth-child(n+2):not(button):not(input[type="submit"]) {
        display: block;
        width: 100%;
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .hero-search-form .form-field {
        display: block;
        width: 100%;
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .hero-search-form select,
    .hero-search-form input[type="number"] {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }
}

/* Если используется JBusinessDirectory - специфичные исправления */
.hero-search-form .jbd-container .form-field:first-child {
    width: 100%;
    display: block;
    margin-bottom: 1rem;
}

.hero-search-form .jbd-container .form-field:first-child input {
    width: 100%;
    padding: 16px 20px;
    border-radius: 25px;
    font-size: 16px;
}

.hero-search-form .jbd-container .form-field:not(:first-child) {
    display: inline-block;
    width: auto;
    margin-right: 1rem;
    vertical-align: top;
}

/* Убираем float если есть */
.hero-search-form .form-field,
.hero-search-form select,
.hero-search-form input {
    float: none;
}

/* Простое выравнивание по левому краю */
.hero-search-form {
    text-align: left;
}

.hero-search-form form {
    text-align: left;
}
.jbd-container .event-container h1 {
    color:#E5E5E5 ;
}
.jbd-container i.icon{
	background:#8F0002;
}
.jbd-container {
	color:#222428;
}
.jbd-container .icon-wrapper{
	background-color:#222428;
}
.jbd-container .event-content-box .item-details{
	color:#222428;
}
.jbd-container .event-content-box .item-details a{
	color:#222428;
}
.jbd-social-container > .view-counter > span{
	color:#222428;
}
.jbd-container .event-content-box {
    background: #E5E5E5;
    
}
.jbd-container .btn-outline:hover, .jbd-container .btn-outline:visited{
	color:#E5E5E5;
}
 .item-name{
	
}
.catalog-letters a{
	color:#E5E5E5;
}
.catalog-letters a:hover{
	color:#8F0002;
}
/**
 * Добавьте эти стили в конец вашего template.css
 * или создайте отдельный файл hero-slider-fixes.css
 */

/* ========================================
   ИСПРАВЛЕНИЯ НАВИГАЦИИ HERO SLIDER
======================================== */

/* Делаем навигационные элементы кликабельными */
.hero-slider-nav-item {
    cursor: pointer !important;
    position: relative;
    z-index: 25;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: all !important;
}

/* Убираем возможные перекрытия */
.hero-slider-navigation {
    pointer-events: all !important;
    z-index: 30 !important;
}

/* Активное состояние */
.hero-slider-nav-item:active {
    transform: scale(0.95);
}

/* Hover эффект более явный */
.hero-slider-nav-item:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 10px;
}

.hero-slider-nav-item.active {
    background: rgba(143, 0, 2, 0.15);
    border-radius: 10px;
}

/* Фикс для стрелок-шевронов */
.hero-slider-nav-arrow {
    cursor: pointer !important;
    pointer-events: all !important;
    position: relative;
    z-index: 25;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    overflow: visible;
}

.hero-slider-nav-arrow:hover {
    background: rgba(143, 0, 2, 0.9) !important;
    border-color: var(--primary, #8F0002) !important;
    transform: scale(1.1);
}

.hero-slider-nav-arrow:active {
    transform: scale(0.9);
}

/* Стили для SVG шевронов */
.hero-slider-nav-arrow svg {
    width: 18px;
    height: 18px;
    pointer-events: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Анимация стрелок при наведении */
.hero-slider-nav-arrow:hover svg {
    animation: bounce 0.5s ease;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* Убираем конфликты с UIkit */
.hero-slider-container .uk-slideshow-items {
    pointer-events: none;
}

.hero-slider-container .uk-slideshow-items > li {
    pointer-events: all;
}

/* Фикс для форм поиска */
.hero-search-form {
    pointer-events: all !important;
    position: relative;
    z-index: 10;
}

/* Улучшенный индикатор прогресса */
.hero-slider-autoplay-progress {
    background: var(--primary, #8F0002);
    height: 0%;
    width: 100%;
    transition: height 10s linear;
    transform-origin: bottom;
}

.hero-slider-autoplay-progress.running {
    height: 100%;
}

/* Визуальная обратная связь для кликов */
.hero-slider-nav-item[data-slide-index] {
    position: relative;
}

.hero-slider-nav-item[data-slide-index]::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(143, 0, 2, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.hero-slider-nav-item[data-slide-index]:active::after {
    width: 50px;
    height: 50px;
}

/* Мобильные исправления */
@media (max-width: 768px) {
    .hero-slider-navigation {
        background: rgba(0, 0, 0, 0.7) !important;
        backdrop-filter: blur(10px);
    }
    
    .hero-slider-nav-item {
        color: #fff !important;
    }
    
    .hero-slider-nav-number {
        color: #fff !important;
    }
    
    .hero-slider-nav-divider {
        background: rgba(255, 255, 255, 0.5) !important;
    }
    
    .hero-slider-nav-item.active .hero-slider-nav-number {
        color: #FFD700 !important;
    }
    
    .hero-slider-nav-item.active .hero-slider-nav-divider {
        background: #FFD700 !important;
    }
    
    .hero-slider-nav-arrow {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.4);
    }
}

/* Debug - для проверки кликабельности */
.hero-slider-nav-item:focus,
.hero-slider-nav-arrow:focus {
    outline: 2px solid #FFD700 !important;
    outline-offset: 2px;
}

/* Убираем возможные конфликты с z-index */
.hero-slider-container {
    position: relative;
    z-index: 1;
}

.hero-overlay {
    pointer-events: none !important;
    z-index: 1;
}

.hero-slide .uk-container {
    position: relative;
    z-index: 2;
}

/* Фикс для правильного позиционирования навигации */
.hero-slider-navigation {
    position: fixed !important; /* Изменено с absolute на fixed */
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* Альтернативные стили шевронов */
.chevron-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    position: relative;
}

.chevron-icon::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border-top: 3px solid currentColor;
    border-right: 3px solid currentColor;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.chevron-icon.down::before {
    transform: translate(-50%, -70%) rotate(135deg);
}

.chevron-icon.up::before {
    transform: translate(-50%, -30%) rotate(-45deg);
}
.user-info .user-name {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
}
.jbd-container.jdb-wrapper-front#jdb-wrapper.tmpl-style-1 .navbar-default{
	background:#222428;
}
#jdb-wrapper.tmpl-style-1 .metismenu li:first-child{
	background:#222428;
	
}
/* Стили только для меню внутри .hidden-menu */
.hidden-menu .nav-item a {
    color: #fff;          /* обычное состояние */
    text-decoration: none;   /* убираем подчёркивание */
    transition: color 0.3s ease;
}

.hidden-menu .nav-item a:hover,
.hidden-menu .nav-item a:focus,
.hidden-menu .nav-item.active a {
    color: #8F0002;          /* ховер и актив */
}
.com-users-profile{
	
}
.com-users-profile{
	    color: #FFFFFF;
}
.com-users-profile dt{
	   width:50%;
	 float: left;
}
.com-users-profile dd{
	   width:50%;
	 float: left;
}
.com-users-profile__edit{
	color:#fff;
}
.choices__list--single .choices__item{
	
	color:#8F0002;
}
.com-users-profile__multifactor h2{
	
	color:#8F0002;
}
.card-body{
	color:#D2D3CD;
}
.card-body h2{
	color:#D2D3CD;
}

.view-counter span{
	color:#222428;
}
.jbd-container .simple-process-tabs .process-tab.active .tab-counter{
	color:#D2D3CD;
}
.process-tab-content{
	color:#D2D3CD;
}
.card-hoverable{
	display:none !important;
}
.meropriatia .view-counter span{
	color:#D2D3CD;
}

.meropriatia .jbd-container .icon-wrapper {
    background-color: #D2D3CD;
}
.jbd-container .btn-primary{
	
	    background-color: #222428;
    border-color: #8F0002;
}
.home h3{
	color:#D2D3CD;
}
/* 
 * ЭКСТРЕННОЕ ИСПРАВЛЕНИЕ НАВИГАЦИИ
 * Добавьте в самый конец template.css
 */

/* Сброс всех конфликтующих стилей */
.hero-slider-navigation {
    position: absolute !important; /* НЕ fixed */
    right: 20px !important;
    left: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 100 !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 20px 0 0 20px !important;
    padding: 20px 15px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    min-height: 180px !important;
    justify-content: center !important;
    width: auto !important;
    max-width: 80px !important;
    pointer-events: all !important;
}

/* Убедимся что контейнер правильно позиционирован */
.hero-slider {
    position: relative !important;
    overflow: visible !important;
}

.hero-slider-container {
    position: relative !important;
}

/* Навигационные элементы должны быть кликабельными */
.hero-slider-nav-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    cursor: pointer !important;
    padding: 10px !important;
    border-radius: 10px !important;
    background: transparent !important;
    transition: all 0.3s ease !important;
    pointer-events: all !important;
    position: relative !important;
    z-index: 101 !important;
}

.hero-slider-nav-item:hover {
    background: rgba(143, 0, 2, 0.2) !important;
}

.hero-slider-nav-item.active {
    background: rgba(143, 0, 2, 0.3) !important;
}

/* Номера слайдов */
.hero-slider-nav-number {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin-bottom: 3px !important;
}

.hero-slider-nav-divider {
    width: 15px !important;
    height: 1px !important;
    background: rgba(255, 255, 255, 0.5) !important;
    margin: 3px 0 !important;
}

.hero-slider-nav-total {
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Стрелки */
.hero-slider-nav-arrows {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin-top: 15px !important;
    padding-top: 15px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.hero-slider-nav-arrow {
    width: 35px !important;
    height: 35px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    color: #fff !important;
    pointer-events: all !important;
    position: relative !important;
    z-index: 102 !important;
}

.hero-slider-nav-arrow:hover {
    background: rgba(143, 0, 2, 0.8) !important;
    border-color: #8F0002 !important;
}
.home .com-content-article__body p{
	color:#E5E5E5;
}
.home h1{
	color:#E5E5E5;
}
.home h2{
	color:#E5E5E5;
}
.main3 p{
	color:#111 !important;
}
.main3 h2{
	color:#111;
}
.home .ui-card__body p{
	color:#E5E5E5;
}

.home .offer-categories-slider .categories-slider-item p {
    color: #E5E5E5;
    font-size: 13px;
    line-height: 1.2;
    text-align: center;
}
.mod-languages{
	padding-bottom:20px;
}
.mod-login__userdata > div{
	padding-top:10px;
}
.mod-login__userdata button{
	background: #386e4a;
  margin: 5px auto;
}
.mod-login__userdata button:hover{
	background:#46885c  !important;
}
.mod-login__userdata a{
	color:#fff;
}
.main1{
	padding:20px 0px;
	
}
/* Hero Services Section with Hussar */
.hero-services-hussar {
    background: linear-gradient(135deg, #fff 0%, #B7B7B7 50%, #333 100%);
    padding: 0;
    position: relative;
    overflow: hidden;
}

/* Main Title */
.hero-services-hussar .main-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.1;
    color: #2B2B2B;
    margin-bottom: 25px;
}

/* Description */
.hero-services-hussar .main-description {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 40px;
}

/* Cards Container */
.cards-container {
    margin-bottom: 10px;
}

/* Service Cards */
.service-card {
    border-radius: 20px;
    padding: 30px 25px;
    height: auto;
    display: flex;
    flex-direction: column;
}

/* Dark Card */
.card-dark {
    background: #2D2D2D;
    color: #fff;
}

/* Red Card */
.card-red {
    background: #8F0002;
    color: #fff;
}

/* Card Header */
.card-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.card-icon {
    font-size: 32px;
    line-height: 1;
}

.card-header h3 {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
    color: #fff;
}

/* Card Content */
.card-content p {
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-try {
    background: #8F0002 !important;
    color: white !important;
    border: none !important;
    padding: 15px 30px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
}

.btn-try:hover {
    background: #B43B2F !important;
}

.btn-consult {
    background: white !important;
    color: #2B2B2B !important;
    border: 2px solid #2B2B2B !important;
    padding: 15px 30px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
}

.btn-consult:hover {
    background: #2B2B2B !important;
    color: white !important;
}

/* Hussar Container */
.hussar-container {
    position: relative;
    text-align: right;
    padding-right: 40px;
}

.hussar-image {
    max-width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
}

/* Responsive */
@media (max-width: 959px) {
    .hero-services-hussar .main-title {
        font-size: 36px;
    }
    
    .hero-services-hussar .main-description {
        font-size: 16px;
    }
    
    .service-card {
        height: auto;
        min-height: 280px;
    }
    
    .card-header h3 {
        font-size: 24px;
    }
    
    .hussar-container {
        margin-top: 40px;
        text-align: center;
        padding-right: 0;
    }
    
    .hussar-image {
        max-height: 400px;
    }
}

@media (max-width: 640px) {
    .hero-services-hussar {
        padding:0;
    }
    
    .hero-services-hussar .main-title {
        font-size: 28px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons .uk-button {
        width: 100%;
    }
}

.main-section-1{
	padding: 1% 5%;
}
.opisanie-main1{
	padding:0 50px;
}
.main-description-light{
	color:#EBEAE1;
	font-size:20px;
}
.home .main2{
	padding:20px 50px;
	background-image: url('/images/bg3.png');
    background-position: right top; /* справа вверху */
    background-repeat: no-repeat; /* чтобы не повторялась */
    background-size: contain; /* пропорциональный размер, чтобы влезла полностью */
    
}
.do-main-section-2{
	max-width:1000px;
}
.home .main3{
	padding:20px 50px;
	background:linear-gradient(135deg, #fff 0%, #B7B7B7 50%, #333 100%);

}

.home .main4{
	padding:20px 50px;
	background-image: url('/images/bg3.png');
    background-position: right top; /* справа вверху */
    background-repeat: no-repeat; /* чтобы не повторялась */
    background-size: contain; /* пропорциональный размер, чтобы влезла полностью */
}
.home .main5{
	padding:20px 50px;
	background:linear-gradient(135deg, #fff 0%, #B7B7B7 50%, #333 100%);
}
.main5 h2{
	color:#111;
}
.main5 p{
	color:#111 !important;
}
.main6{
	padding:20px 50px;

}
.main7{
	padding:20px 50px;

}
.main8{
	padding:20px 50px;

}
.main9{
	padding:20px 50px;

}
.hero-slider {
   
}
#hero-block{
	margin-top:-92px;
}

.hero-slide {
    position: relative;
    min-height: 600px;
    padding: 80px 0;
    background: linear-gradient(135deg, #8F0002 0%, #6a0001 100%);
    overflow: hidden;
}

/* Фоновые картинки */
.hero-bg-image {
    position: absolute;
    top: 0;
    width: 30%;
    height: auto;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-bg-right {
    right: 0;
}

.hero-bg-left {
    left: 0;
}

/* Градиент поверх картинки */
.hero-slide-1 .hero-bg-right::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, rgba(143, 0, 2, 0) 0%, rgba(143, 0, 2, 0.9) 100%);
}

.hero-slide-2 .hero-bg-left::after,
.hero-slide-3 .hero-bg-left::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(143, 0, 2, 0) 0%, rgba(143, 0, 2, 0.9) 100%);
}

/* Контент поверх */
.hero-slide .uk-container {
    position: relative;
    z-index: 2;
}

/* Центрирование модуля */
.hero-module-wrapper {
    width: 100%;
    max-width: 800px;
}

/* Стрелки */
.hero-arrow {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #EBEAE1 !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 10;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    transform: scale(1.1);
}

.hero-arrow svg {
    width: 24px;
    height: 24px;
}

/* Миниатюры с картинками */
.hero-thumbs {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 20;
    display: flex;
    gap: 12px;
}

.hero-thumb {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    display: block;
    position: relative;
}

.hero-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.hero-thumb:hover::after {
    background: rgba(0, 0, 0, 0.1);
}

.hero-thumb.active {
    border-color: #EBEAE1;
    transform: scale(1.05);
}

.hero-thumb.active::after {
    background: rgba(0, 0, 0, 0);
}

/* Разные фоны для слайдов */
.hero-slide-1 {
    background: linear-gradient(135deg, #8F0002 auto, #6a0001 30%);
}

.hero-slide-2 {
    background: linear-gradient(135deg, #1a1a2e auto, #0f0f1e 30%);
}

.hero-slide-3 {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 30%);
}

/* Адаптив */
@media (max-width: 960px) {
    .hero-slider {
      
    }
    
    .hero-slide {
        min-height: 500px;
        padding: 60px 0;
    }
    
    .hero-bg-image {
        width: 40%;
    }
    
    .hero-module-wrapper {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .hero-arrow {
        width: 40px;
        height: 40px;
    }
    
    .hero-arrow svg {
        width: 20px;
        height: 20px;
    }
    
    .hero-thumbs {
        bottom: 20px;
        right: 20px;
        gap: 8px;
    }
    
    .hero-thumb {
        width: 60px;
        height: 45px;
    }
}

@media (max-width: 640px) {
    .hero-slider {
        
    }
    
    .hero-slide {
        min-height: 400px;
        padding: 40px 0;
    }
    
    /* Скрываем фоновые картинки на мобильных */
    .hero-bg-image {
        display: none;
    }
    
    .hero-thumbs {
        bottom: 15px;
        right: 15px;
        left: 15px;
        justify-content: center;
    }
    
    .hero-thumb {
        width: 50px;
        height: 38px;
    }
}
.find-hero{
	width: 70%;
    margin: 30vh auto 0;
    height: 70vh;
	padding-top:200px;
}
 .footer-nav > li > a,
    .mod-menu a {
      color: #fff;
      transition: color 0.3s ease;
    }
    .footer-nav > li > a:hover,
    .mod-menu a:hover {
      color: #8F0002;
      text-decoration: none;
    }
    .footer-social a {
      color: #fff;
      transition: color 0.3s ease;
    }
    .footer-social a:hover {
      color: #8F0002;
    }
    footer .mod-menu {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 10px 40px;
    }
    footer .mod-menu ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    footer .mod-menu ul li {
      margin-bottom: 4px;
    }
	
	.hero-rus > div > ul > li > div > div > div > .jbd-container > #dir-container-849 > .horizontal > form > .form-container > div{
		width:100%;
		
	}
/* Десктоп и большие экраны: 50% ширины, прижат вправо */
@media (min-width: 1200px) {
    .hero-rus > div >ul > li > div{
        width: 50% !important;
        margin-left: auto;
        margin-right: 0;
    }

    .hero-rus.uk-slideshow .uk-slideshow-items {
        width: 100% !important;
        margin: 0;
    }
}

/* Планшеты и ниже: 100% ширины */
@media (max-width: 1199px) {
    .hero-rus > div >ul > li > div{
        width: 100% !important;
        margin: 0;
    }
.home .main2 {
    padding: 20px 10px;
    background-image: url(/images/bg2.png);
    background-position: right top;
    background-repeat: no-repeat;
    background-size: auto 1000px;
}
    .hero-rus.uk-slideshow .uk-slideshow-items {
        width: 100% !important;
        margin: 0;
    }
	.subcategory-title {
		font-size: 18px;
	}
}

  .main-title { margin-bottom: .5rem; }
  .main-description { font-size: 1rem; line-height: 1.5; }
  .service-card .card-body { padding: 1.25rem; }
  .card-sm { border-radius: .5rem; overflow: hidden; }
  .card-sm img { width:100%; display:block; }
  /* Кнопки: минимальная ширина для единообразия */
  .btn-try, .btn-consult { min-width: 170px; }
  
  .home .do-main-section-1{
	  padding:15px 50px;
  }
   .hero-slider ul{
	  padding:1% 5%;
  }
  .home .hero-services-hussar {
    
}
.hero-rus > div > ul > li {
	
}
.home .do-main-section-2{
	  padding:1% 6%;
  }
.home .main-section-2{
	  padding:1% 6%;
  }
  
  .view-all-offers a{
font-size: 14px;
    padding: 15px 10px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.7);
    min-width: 30%;
    text-align: center;
    margin: 30px auto;
	display: block;
    width: 200px;
    border-radius: 7px;
  }
  
    .view-all-offers a:hover{
font-size: 14px;
    padding: 15px 10px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.99);
    min-width: 30%;
    text-align: center;
    margin: 30px auto;
    width: 200px;
    border-radius: 7px;
  }
      .view-all-offers{
		margin-top:30px;  
	  }
	  
	.home .do-main-section-3{
	  padding:1% 6%;
  }
.home .main-section-3{
	  padding:1% 6%;
  } 
    .view-all-items a{
font-size: 14px;
    padding: 15px 10px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.7);
    min-width: 30%;
    text-align: center;
    margin: 30px auto;
    width: 300px;
    border-radius: 10px;
  }
  
    .view-all-items a:hover{
font-size: 14px;
    padding: 15px 10px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.99);
    min-width: 30%;
    text-align: center;
    margin: 30px auto;
    width: 300px;
    border-radius: 10px;
  }
      .view-all-items{
		margin-top:30px;  
	  }
.home .do-main-section-4{
	  padding:1% 6%;
  }
.home .main-section-4{
	  padding:1% 6%;
  } 
  .home .do-main-section-5{
	  padding:1% 6%;
  }
.home .main-section-5{
	  padding:1% 6%;
  } 
  .home .do-main-section-6{
	  padding:1% 6%;
  }
.home .main-section-6{
	  padding:1% 6%;
  } 
  .home .do-main-section-7{
	  padding:1% 6%;
  }
.home .main-section-7{
	  padding:1% 6%;
  } 
  
 .home   .main-content-block{
	max-width:100vw;
    padding: 0;
  }
  
  .registration-its .js-user-registration{
	  width:100% !important;
  }
  
  .prem .main-content-block{
	  
	      background: #E9E9EA;
  }
 .jbd-container .categories-style-2 .category-img-container {
    height: 290px;
    position: relative;
    border-radius: 7px;
    overflow: hidden;
}
}
.category-content img{
	width:100%;
}
.subcategories-flex {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 16px;
	margin-top: 12px;
}

.subcategory-item {
	display: block;
	width: 220px;
	max-width: 100%;
	text-decoration: none;
	color: inherit;
}

.subcategory-item:hover {
	text-decoration: none;
}

.subcategory-icon {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #f2f2f2;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	margin: 0 auto;
}

.subcategory-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}

.subcategory-title {
	font-size: 13px;
	font-weight: 500;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	word-break: break-word;
}
.h1-dzelka{
	color:#fff;
}
.main-content-block{
	
	max-width:90vw;
	margin:0 auto;
    padding: 0;
  }
 
  .vivod-poiska{
	  width:90vw;
	  margin:0 auto;
  }
  .offers-dzelka{
	  width:90vw;
	  margin:0 auto;
  }
  .dzelka-events{
	  width:90vw;
	  margin:0 auto;
  }
  .body-reg-dzelka{
	  
	  
  }
  .listing-details .view-counter span{
	  color:#fff;
  }
  .start-companii a{
	  color:#fff;
  }
  .start-companii a:hover{
	  color:#8F0002;
  }
  .start-companii i.icon{
	  color:#fff;
	  
    background: #fff;
  }
   .start-companii i.icon:hover{
	  color:#8F0002;
	  
    background: #8F0002;
  }
  /* скрываем лишнее */
#header-box, #control-panel-link{
  display: none;
}

/* === Pan Husar FAB button (icon 100x100 + label below) === */
#jbd-ai-translate-btn.jbd-ai-fab{
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;

  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;

  cursor: pointer;
  user-select: none;
  text-align: center;
}

#jbd-ai-translate-btn.jbd-ai-fab .jbd-ai-fab__icon{
  width: 100px;
  height: 100px;
  border-radius: 999px;

  background: rgba(1,1,1,.55);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 8px 26px rgba(0,0,0,.35);
  backdrop-filter: blur(6px);

  display: grid;
  place-items: center;

  transition: transform .08s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
}

#jbd-ai-translate-btn.jbd-ai-fab .jbd-ai-fab__icon img{
  width: 100px;
  height: 100px;
  border-radius: 999px;
  display: block;
}

#jbd-ai-translate-btn.jbd-ai-fab .jbd-ai-fab__label{
  max-width: 160px;
  font-size: 12px;
  line-height: 1.15;
  color: rgba(255,255,255,.92);
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
}

#jbd-ai-translate-btn.jbd-ai-fab:hover .jbd-ai-fab__icon{
  background: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.65);
  box-shadow: 0 12px 32px rgba(0,0,0,.45);
  transform: translateY(-1px);
}

#jbd-ai-translate-btn.jbd-ai-fab:active .jbd-ai-fab__icon{
  background: rgba(220,53,69,.22);
  transform: translateY(0);
}

#jbd-ai-translate-btn.jbd-ai-fab:focus-visible .jbd-ai-fab__icon{
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,255,255,.35), 0 12px 32px rgba(0,0,0,.45);
}

#jbd-ai-translate-btn.jbd-ai-fab[aria-busy="true"],
#jbd-ai-translate-btn.jbd-ai-fab[data-loading="1"]{
  pointer-events: none;
  opacity: .65;
}

#jbd-ai-translate-status.jbd-ai-fab__status{
  margin-top: 8px;
  max-width: 220px;
  font-size: 12px;
  opacity: .95;
}
/* Инфо-иконка возле label */
.dz-hint{
  margin-left: 8px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.25);
  background: rgba(0,0,0,.06);
  color: rgba(0,0,0,.75);

  display: inline-grid;
  place-items: center;

  font-size: 12px;
  line-height: 1;
  font-weight: 700;

  cursor: pointer;
  padding: 0;
  vertical-align: middle;

  transition: transform .08s ease, background .15s ease, border-color .15s ease, color .15s ease;
}

.dz-hint:hover{
  background: rgba(220,53,69,.10);
  border-color: rgba(220,53,69,.55);
  color: rgba(220,53,69,.95);
  transform: translateY(-1px);
}

.dz-hint:active{
  transform: translateY(0);
}

.dz-hint:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(220,53,69,.25);
}
/* скрываем лишнее */
#header-box, #control-panel-link{
  display: none;
}
/* =========================================================
   Pan Husar: круг 200x200, 2 строки сверху по дуге, hover темнее
   ========================================================= */

.edit-tab-container{ overflow: visible; }

/* ==== кнопка 200x200 ==== */
#jbd-ai-translate-btn.jbd-ai-fab{
  appearance: none;
  width: 200px;
  height: 200px;

  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(1,1,1,.55);

  box-shadow: 0 10px 34px rgba(0,0,0,.45);
  backdrop-filter: blur(6px);

  padding: 0;
  margin: 0;

  position: relative;
  display: grid;
  place-items: center;

  cursor: pointer;
  user-select: none;
  text-align: center;

  transition: transform .08s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
}

#jbd-ai-translate-btn.jbd-ai-fab .jbd-ai-fab__ring{
  position: absolute;
  inset: 0;
  width: 200px;
  height: 200px;
  pointer-events: none;
}

#jbd-ai-translate-btn.jbd-ai-fab .jbd-ai-fab__ringText{
  fill: rgba(255,255,255,.92);
  text-shadow: 0 1px 2px rgba(0,0,0,.55);
  letter-spacing: .5px;
  font-weight: 600;
}

/* 1-я строка чуть крупнее */
#jbd-ai-translate-btn.jbd-ai-fab .jbd-ai-fab__ringText--top1{
  font-size: 13px;
}

/* 2-я строка меньше */
#jbd-ai-translate-btn.jbd-ai-fab .jbd-ai-fab__ringText--top2{
  font-size: 11px;
  letter-spacing: .35px;
  opacity: .95;
}

/* иконка в центре */
#jbd-ai-translate-btn.jbd-ai-fab .jbd-ai-fab__icon{
  width: 150px;
    height: 150px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18);
    transition: transform .08s ease;
	margin-top:40px;
}

#jbd-ai-translate-btn.jbd-ai-fab .jbd-ai-fab__icon img{
  width: 160px;
  height: 160px;
  border-radius: 999px;
  display: block;
}

/* hover: затемнение (черный alpha 0.9) вместо красного */
#jbd-ai-translate-btn.jbd-ai-fab:hover{
  background: rgba(1,1,1,.90);
  border-color: rgba(255,255,255,.22);
  box-shadow: 0 14px 38px rgba(0,0,0,.55);
  transform: translateY(-1px);
}

#jbd-ai-translate-btn.jbd-ai-fab:hover .jbd-ai-fab__ringText{
  fill: #fff;
}

#jbd-ai-translate-btn.jbd-ai-fab:active{
  background: rgba(1,1,1,.92);
  transform: translateY(0);
}

#jbd-ai-translate-btn.jbd-ai-fab:active .jbd-ai-fab__icon{
  transform: scale(.99);
}

#jbd-ai-translate-btn.jbd-ai-fab:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,255,255,.16), 0 14px 38px rgba(0,0,0,.55);
}

/* disabled/loading */
#jbd-ai-translate-btn.jbd-ai-fab[aria-busy="true"],
#jbd-ai-translate-btn.jbd-ai-fab[data-loading="1"]{
  pointer-events: none;
  opacity: .70;
}

/* =========================================================
   Статус (шеврон)
   ========================================================= */
#jbd-ai-translate-status.jbd-ai-fab__status{
  margin-top: 0px;
  max-width: 240px;

  padding: 8px 10px;
  border-radius: 7px;

  background: rgba(1,1,1,.60);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 10px 26px rgba(0,0,0,.45);
  backdrop-filter: blur(6px);

  color: rgba(255,255,255,.92);
  text-shadow: 0 1px 2px rgba(0,0,0,.55);

  font-size: 12px;
  line-height: 1.2;

  position: relative;
}

#jbd-ai-translate-status.jbd-ai-fab__status::before{
  content: "";
  position: absolute;
  top: -6px;
  left: 22px;
  width: 12px;
  height: 12px;
  transform: rotate(45deg);

  background: rgba(1,1,1,.60);
  border-left: 1px solid rgba(255,255,255,.14);
  border-top: 1px solid rgba(255,255,255,.14);
}

#jbd-ai-translate-status.jbd-ai-fab__status.is-ok{ border-color: rgba(155,224,155,.35); }
#jbd-ai-translate-status.jbd-ai-fab__status.is-error{ border-color: rgba(255,107,107,.45); }

#jbd-ai-translate-status.jbd-ai-fab__status:hover{
  background: rgba(1,1,1,.80);
  border-color: rgba(255,255,255,.22);
  box-shadow: 0 12px 30px rgba(0,0,0,.55);
}

/* При hover на кнопку — статус тоже чуть темнее */
#jbd-ai-translate-btn.jbd-ai-fab:hover + #jbd-ai-translate-status.jbd-ai-fab__status{
  background: rgba(1,1,1,.80);
  border-color: rgba(255,255,255,.22);
}

/* ==== FIX: не уезжать за экран (адаптив) ==== */
@media (max-width: 1100px){
  .jbd-ai-fab-wrap{
    right: 10px !important;
    top: 10px !important;
  }

  #jbd-ai-translate-btn.jbd-ai-fab{
    width: 160px;
    height: 160px;
  }
  #jbd-ai-translate-btn.jbd-ai-fab .jbd-ai-fab__ring{
    width: 160px;
    height: 160px;
  }
  #jbd-ai-translate-btn.jbd-ai-fab .jbd-ai-fab__icon{
    width: 108px;
    height: 108px;
  }
  #jbd-ai-translate-btn.jbd-ai-fab .jbd-ai-fab__icon img{
    width: 96px;
    height: 96px;
  }
  #jbd-ai-translate-btn.jbd-ai-fab .jbd-ai-fab__ringText--top1{ font-size: 11px; }
  #jbd-ai-translate-btn.jbd-ai-fab .jbd-ai-fab__ringText--top2{ font-size: 10px; }
}

/* =========================================================
   Инфо-иконка возле label (как было у тебя)
   ========================================================= */
.dz-hint{
  margin-left: 8px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.25);
  background: rgba(0,0,0,.06);
  color: rgba(0,0,0,.75);

  display: inline-grid;
  place-items: center;

  font-size: 12px;
  line-height: 1;
  font-weight: 700;

  cursor: pointer;
  padding: 0;
  vertical-align: middle;

  transition: transform .08s ease, background .15s ease, border-color .15s ease, color .15s ease;
}

.dz-hint:hover{
  background: rgba(255,255,255,0.70);
  border-color: rgba(255,255,255,0.7);
  color: rgba(2,53,69,.95);
  transform: translateY(-1px);
}

.dz-hint:active{ transform: translateY(0); }

.dz-hint:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(220,53,69,.25);
}
/* === FIX: Пан-Гусар всегда привязан к экрану (DESKTOP) === */
.jbd-ai-fab-wrap{
  position: fixed !important;
  top: 140px !important;       /* подгони как надо */
  right: 26px !important;      /* отступ от правого края */
  z-index: 10 !important;
  z-index: 10 !important;
  margin: 0 !important;
}

/* чтобы не ломать клики/скролл вокруг */
.jbd-ai-fab-wrap *{ pointer-events: auto; }

/* === АДАПТИВ: оставить как сейчас (absolute возле формы) === */
/* Мобилка: 6/10 + 2/10 + 2/10 */
@media (max-width: 1100px){
  .dz-mobile-header{
    display: grid;
    grid-template-columns: 6fr 2fr 2fr;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    min-height: 64px;
  }
  .dz-article-image{
	width:100% !important;
	margin:0 auto;
	
}
.dz-article-surface{
	    padding: 20px 20px !important;
}
.dz-mobile-width{
	padding: 10px 40px !important;
}
  .dz-mobile-logo{
    display: flex;
    align-items: center;
    min-width: 0;
  }

  .dz-mobile-logo .site-logo{
    width: 80%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
	padding:0 !important;
  }

  .dz-mobile-btn{
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(0,0,0,.22);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 0;
    margin-left: auto; /* чтобы кнопка держалась справа в своей колонке */
  }
  #jbd-ai-translate-status.jbd-ai-fab__status{
	  max-width: 150px;
  }
  .dz-mobile-btn svg{
	  color:#fff;
  }
  .uk-sticky-below .site-header.uk-sticky-below .uk-logo img {
    filter: none;
    max-height: 100px;
	padding: 0 0 0px;

	  
  }

  /* На мобилке скрываем старые uk-navbar-* блоки, чтобы не дублировались */
  .site-header .uk-navbar-left,
  .site-header .uk-navbar-right,
  .site-header .uk-navbar-center{
    display: none !important;
  }
  .site-header .dz-mobile-header{
    display: grid !important;
  }
}

/* Десктоп: показываем стандартный UIkit navbar, моб. блок скрыт */
@media (min-width: 1101px){
  .dz-mobile-header{ display:none !important; }
}

/* === Hint modal (click on .dz-hint) === */
.dz-hint-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.70);
  z-index: 99990;
}

.dz-hint-modal{
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: min(560px, calc(100% - 28px));
  background: rgba(18,18,18,.96);
  color: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
  z-index: 99999;
  overflow: hidden;
}

.dz-hint-modal__head{
  padding: 14px 16px 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  display: flex;
  align-items: start;
  gap: 12px;
}

.dz-hint-modal__title{
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  flex: 1;
  color:#fff;
}

.dz-hint-modal__close{
  appearance: none;
  border: 0;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.92);
  width: 34px;
  height: 34px;
  border-radius: 10px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .12s ease, transform .08s ease;
}

.dz-hint-modal__close:hover{ background: rgba(255,255,255,.14); transform: translateY(-1px); }
.dz-hint-modal__close:active{ transform: translateY(0); }
.dz-hint-modal__close:focus-visible{ outline: none; box-shadow: 0 0 0 3px rgba(255,255,255,.18); }

.dz-hint-modal__body{
  padding: 12px 16px 16px 16px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255,255,255,.88);
}

.dz-hint-modal__body p{ margin: 0; }
.dzelka-busines{
	width:90vw;
	margin:0 auto;
}
.review-scorecard > .row > .col-lg-7{
	font-size:12px;
}
/* Pan Husar helper (Offer edit / front profile) */
.jbd-husar-wrap{ margin: 12px 0 18px; position: relative; }

.jbd-husar-card{
	display:flex; align-items:center; justify-content:space-between;
	gap:12px; padding:12px 14px; border:1px solid rgba(0,0,0,.08);
	border-radius:14px; background:#fff;
}

.jbd-husar-left{ display:flex; align-items:center; gap:12px; min-width:0; }

.jbd-husar-badge{
	width:38px; height:38px; border-radius:12px;
	display:flex; align-items:center; justify-content:center;
	font-weight:800; letter-spacing:.5px;
	background: rgba(0,0,0,.06);
}

.jbd-husar-text{ min-width:0; }
.jbd-husar-title{ font-weight:700; line-height:1.2; }
.jbd-husar-sub{ opacity:.8; font-size:13px; margin-top:2px; }

.jbd-husar-actions{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.jbd-husar-btn{ border-radius:12px; }

.jbd-husar-panel{
	display:none;
	margin-top:10px;
	border:1px solid rgba(0,0,0,.08);
	border-radius:14px;
	background:#fff;
	overflow:hidden;
}

.jbd-husar-panel.is-open{ display:block; }

.jbd-husar-panel-head{
	display:flex; align-items:center; justify-content:space-between;
	padding:10px 12px;
	border-bottom:1px solid rgba(0,0,0,.06);
	background: rgba(0,0,0,.02);
}

.jbd-husar-panel-title{ font-weight:700; }
.jbd-husar-x{
	border:0; background:transparent; cursor:pointer;
	width:36px; height:36px; border-radius:10px;
	display:flex; align-items:center; justify-content:center;
}
.jbd-husar-x:hover{ background: rgba(0,0,0,.06); }

.jbd-husar-panel-body{ padding:12px; }

.jbd-husar-note{
	padding:10px 12px;
	border-radius:12px;
	background: rgba(0,0,0,.03);
	font-size:13px;
}

.jbd-husar-grid{
	display:grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap:10px;
	margin-top:10px;
}
@media (max-width: 768px){
	.jbd-husar-grid{ grid-template-columns: 1fr; }
}

.jbd-husar-tip{
	padding:10px 12px;
	border:1px solid rgba(0,0,0,.06);
	border-radius:12px;
}
.jbd-husar-tip-h{ font-weight:700; }
.jbd-husar-tip-b{ font-size:13px; opacity:.85; margin-top:3px; }

.jbd-husar-cta{
	margin-top:10px;
	padding:10px 12px;
	border-radius:12px;
	border:1px dashed rgba(0,0,0,.12);
}
.jbd-husar-cta-h{ font-weight:700; }
.jbd-husar-cta-b{ font-size:13px; opacity:.85; margin-top:3px; }

/* Small inline hint icon near labels */
.jbd-husar-i{
	margin-left:8px;
	border:0;
	background: #999;;
	cursor:pointer;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	width:26px;
	height:26px;
	border-radius:10px;
	vertical-align:middle;
}
.jbd-husar-i:hover{ background: rgba(0,0,0,.3); }

/* Shared tooltip bubble */
.jbd-husar-pop{
	position:absolute;
	z-index: 9999;
	display:none;
	width: min(360px, calc(100vw - 20px));
}
.jbd-husar-pop.is-open{ display:block; }

.jbd-husar-pop-inner{
	background:#111;
	color:#fff;
	border-radius:10px;
	padding:12px 12px;
	box-shadow: 0 10px 30px rgba(0,0,0,.2);
}

.jbd-husar-pop-title{ font-weight:800; margin-bottom:4px; }
.jbd-husar-pop-body{ font-size:13px; opacity:.92; line-height:1.35; white-space:pre-wrap;}


.jbd-container .btn-outline-secondary {
    color: #111;
    background-color: transparent;
    background-image: none;
    border-color: #f0f1f3;
    border-radius: 0.35rem;
}
.jbd-husar-btn i{
	color:#111 !important;
}
.dzelka-events .featured .result-section-title{
	color:#fff;
}
.vivod-poiska .jbd-container .item-name a{
	color:#111;
}
.vivod-poiska .result-item h3 a {
    color: #fff;
}
.vivod-poiska .result-item h3 a:hover{
    color: #333;
}
/* ===== Base header wrapper ===== */
.site-header .uk-navbar-container{
  background: transparent; /* если у тебя фон задаётся выше — можно убрать */
}

.dz-header-inner{
  width: 90vw;              /* ПК: 90vw */
  margin: 0 auto;           /* по центру */
  display: grid;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  min-height: 64px;
}

/* logo */
.dz-logo-link{
  display: flex;
  align-items: center;
  min-width: 0;
}
.site-logo{
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* common icon button */
.dz-icon-btn{
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0;
}

/* ===== Desktop grid: 3/10 + 6/10 + 1/10 ===== */
@media (min-width: 1101px){
  .dz-header-inner{
    grid-template-columns: 3fr 6fr 1fr;
  }

  .dz-h-actions{
    display: flex;
    justify-content: flex-end;
  }

  .dz-h-mobile-actions{
    display: none !important;
  }
}

/* ===== Mobile grid: 6/10 + 2/10 + 2/10 ===== */
@media (max-width: 1100px){
  .dz-header-inner{
    width: 100vw;                 /* мобилке лучше 100% */
    padding: 10px 12px;
    grid-template-columns: 6fr 4fr; /* слева лого, справа блок кнопок */
  }
  .search-field {
    min-width: 250px;
}
  .com-content-category-blog {
  
  margin-left: -25px !important;
}
  .site-header {
    
    width: 100vw;
    
}
.main3 {
    padding: 20px 10px;
}
.main4 {
    padding: 20px 10px;
	background-size: auto 1500px;
}
  .plg_system_webauthn_login_button{
	  width: 100% !important;
    margin: 0 auto;
    display: block;
  }
  .userdata{
	  padding: 5px 15%;
  }
  .mod-login__userdata > div {
    padding-top: 0px;
}
.hidden-menu{
	        margin: 0;
}
  .hero-rus .wk-margin p{
	display:none;
}
#searchform .form-field select {
    width: auto;
    min-width: 250px !important;
    float: left;
}
.opisanie-main1 {
    padding: 0 10px;
}
.home .do-main-section-1 {
    padding: 205px 20px 0;
}
.card-red {
    margin-top:20px;
}
.dz-icon-btn {
    
    margin-top: 0px !important;
}
    
.site-header{
	height: 100px;
}
  .dz-h-menu,
  .dz-h-actions{
    display: none !important;
  }

  .dz-h-mobile-actions{
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 кнопки */
    gap: 10px;
    justify-content: end;
    justify-self: end;
  }

  .dz-h-logo{ min-width: 0; }
}
/* Общие кнопки */
.dz-icon-btn{
  width: 48px;
  height: 48px;
  
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0;
}
.uk-sticky-below .account-dz-icon {
	margin-top:-20px;
	height:50px;
}
/* ПК: ширина 90vw и по центру */
.dz-header-width{
  width: 90vw;
  margin: 0 auto;
}

/* ПК: принудительно держим меню в одну линию и центрируем */
.dz-header-desktop .uk-navbar-center,
.dz-header-desktop .uk-navbar-left,
.dz-header-desktop .uk-navbar-right{
  min-width: 0;
}

/* Контроль пропорций 3/6/1 через max-width (работает стабильнее, чем grid внутри uk-navbar) */
.dz-col-3{ flex: 0 0 30%; }
.dz-col-6{ flex: 0 0 60%; justify-content: center; }
.dz-col-1{ flex: 0 0 10%; justify-content: flex-end; }

.dz-header-desktop .uk-navbar{
  display: flex;
  align-items: center;
}

/* Если модуль меню вдруг не использует uk-navbar-nav — заставим UL вести себя по UIkit */
.dz-header-desktop .uk-navbar-center ul{
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Мобилка */
.dz-mobile-width{
  width: 100vw;
  margin: 0 auto;
  padding: 10px 12px;
}

.dz-mobile-grid{
  display: grid;
  grid-template-columns: 6fr 2fr 2fr; /* 6/10 + 2/10 + 2/10 */
  align-items: center;
  gap: 10px;
  min-height: 64px;
}

.dz-mobile-logo{
  display: flex;
  align-items: center;
  min-width: 0;
}

.site-logo{
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.uk-sticky-below .uk-navbar-center:not(:only-child){
	top:40%;
}
.dz-icon-btn svg{
	color:#fff;
}
.dzelka-pakety .packages-info-container{
	color:#fff;
}
.dzelka-pakety .period-toggle{
	color:#fff;
}
 .dzelka-pakety  .packages-info-text{
	color:#fff;
}
.lang-uk_ua .hero-slider{
	display:block;
}
  .dz-husar-card{
    display:flex; gap:12px; align-items:flex-start;
    background:#0b1220; color:#fff;
    border:1px solid rgba(255,255,255,.12);
    border-radius:14px;
    padding:12px 14px;
    margin:12px 0 6px;
  }
  .dz-husar-card img{ width:56px; height:56px; object-fit:contain; flex:0 0 auto; }
  .dz-husar-title{ font-weight:700; margin:0 0 6px; }
  .dz-husar-sub{ margin:0; opacity:.9; font-size:13px; line-height:1.4; }
  .dz-husar-actions{ margin-top:10px; display:flex; gap:8px; flex-wrap:wrap; }
  .dz-husar-actions .btn{ border-radius:10px; }
  .dz-husar-status{ font-size:12px; opacity:.9; margin-top:8px; }
  .dz-husar-note{ margin-top:10px; font-size:12px; opacity:.95; }
  .dz-husar-note ul{ margin:6px 0 0 18px; }
  
  .add-event-dz .jbd-terms-conditions label{
	  color:#fff;
  }
  .jbd-container .jbd-checkbox input:checked::after {
    border-color: #ACD19A;
    background-color: #ADD19E !important;
    color: #ADD19E;
}
 .jbd-container .jbd-checkbox input:not(checked):hover {
    background-color: #ACD19A;
}
.com-users-login{
	max-width: 800px;
  margin: 30px auto;
}
.com-users-login #username-lbl{
	color:#fff;
}
.com-users-login__submit{
	margin-top: 20px;
}
.com-users-login__submit button{
	background:#386e4a;
}
.com-users-login__submit button:hover{
	background:#46885c  !important;
}
.com-users-login .form-check-label{
	color:#fff;
}
#member-registration .control-label{
	color:#fff;
}
#member-registration legend{
	color:#fff;
}
.hero-rus .wk-margin{
	
}
div.mod-languages li {
    margin: 0;
}
div.mod-languages li {
   margin:0;

	width:18%;
}
 .plg_system_webauthn_login_button{
	 
 }
 #username{
	 font-size: 20px;
    line-height: 22px;
    padding: 10px;
    width: 80%;
    margin: 10PX auto;
 }
 #password{
	 font-size: 20px;
    line-height: 22px;
    padding: 10px;
    width: 80%;
    margin: 10PX auto;
 }
 #password-lbl{
	 COLOR:#FFF;
 }
 .com-users-login__options a{
	 padding-right:10px;
 }
 .com-users-login__options a:hover{
	 color:#fff;
 }
.jbd-container .badge-danger {
	padding:5px 10px;
	background: #FDEBEB;
    color: #870002;
	border: 1px solid #870002;
	border-radius:3px;
 }
 .jbd-husar-i{
  cursor:pointer;
  pointer-events:auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
  padding:0;
  margin-left:6px;
  border:0;
  border-radius:50%;
  font-weight:700;
  line-height:1;
}
.btn-success{
	color: #fff;
    background-color: #457D54;
    background-image: none;
    border-color: #457D54;
}
div.mod-languages ul li.lang-active {
    background: rgba(1, 1, 1, 0.1);
    padding: 3px;
}
.hidden-menu{
	margin:5px 0;
	padding:0;
}
.hidden-menu li{
	
}
.dz-teaser-blog{
	background: #fff;
    padding: 20px 0px !important;
}
.dz-teaser-blog h3{
	font-size:18px;
	font-weight:600;
    padding: 0px 10px !important;
}
.dz-teaser-blog > .uk-margin-small-top{
	
	font-weight:600;
    padding: 0px 10px !important;
}
.dz-autor-link:hover{
	color:#870002 !important;
}
.dz-card-cover img{ width:100%; height:auto; object-fit:cover; display:block; }
.dz-hero { 

}
.dz-hero-img { width:100%; height:auto; object-fit:cover; display:block; }

/* Overlay title */
.dz-hero-overlay{
	position:absolute;
	left:0; right:0; bottom:0;
	padding: 28px 0;
	background: linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,0));
}
.dz-hero-bg{
	min-height: 500px;            /* регулируй высоту */
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	/* background-image задаём инлайном из PHP (или можно через CSS variable, если захочешь) */
}

.dz-hero-title{
	color: #fff;
	margin: 0;
	text-shadow: 0 2px 18px rgba(0,0,0,.45);
}
.com-content-category-blog{
	    margin-top: -80px;
    width: 100vw;
    margin-left: -105px;
}
.com-content-category-blog p{
	color:#fff;
	font-size:16px;
}
.dz-article-surface{
	background: #f9f9f9;
    margin-top: 20px;
    width: 100vw;
    margin-left: -6%;
    padding: 20px 100px;
}
.dz-bloki > div{
	float: left;
}
#s12{
	width: 100%;
    clear: both;
    margin-top: 100px;
}
.dz-article-image{
	width:60%;
	margin:0 auto;
	
}
.dz-article-image img{
	width:100%;
	
}
.com-content-article__body{
	max-width:60%;
	margin:0 auto;
}
.home .dz-article-surface {
    background: #f9f9f9;
    margin-top: 0px;
    width: 100vw;
    margin-left: -6%;
    padding: 0;
}
.tmpl-style-3{
	margin-top:40px!important;
	width: 90vw;
}
#jdb-wrapper.tmpl-style-3 .nav>li.nav-item.active {
	background: none;
}
#jdb-wrapper.tmpl-style-3 .nav>li.nav-item.active span{
	color: #111;
}
#jdb-wrapper.tmpl-style-3 .nav>li.nav-item.active i:before{
	color:#111 !important;
}
#jdb-wrapper.tmpl-style-3 .nav>li.nav-item.active a .la {
   color:#111 !important;
}
.user-name{
	color:#111 !important;
}
#jdb-wrapper.tmpl-style-3 .nav>li.nav-item.active i {
    
    filter: none;
}
#jdb-wrapper.tmpl-style-3 .nav>li.nav-item {
    margin: 7px 0;
}
#jdb-wrapper.tmpl-style-3 .nav>li.nav-item a:hover{
    background: #f3f3f3;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
#searchform .search-dir-button {
    font-weight: bold;
    padding: 5px 10px;
    color: #FFFFFF;
    font-size: 17px;
    line-height: 40px;
    height: 45px;
    text-transform: none !important;
    position: relative;
    margin-top: 10px;
}
.jbd-panel .inputbox {
  border-radius: 7px;
  margin-bottom: 15px;
  font-size: 20px;
  width: 100%;
  line-height: 24px;
  padding: 20px 5px;
}
.dz-h1{
	max-width:95%;
}
@media (max-width: 576px) {
    .jbd-edit-container .calendar-date {
        width: auto !important;
    }
}
.uk-offcanvas-flip .uk-open>.uk-offcanvas-bar {
  
    background: rgba(1, 1, 1, 0.9);
}
.dz-article-surface .page-header{
	    width: 60%;
    margin: 10px auto;
}
.dz-article-surface .dz-article-meta{
	    width: 60%;
    margin: 10px auto;
}
.dz-hero__content{
		
    margin: 10px auto;
}
/* ============================================================
   DZELKA — Registration Form Override
   Scope: .com-users-registration.registration
   Isolated from UIkit & site globals via full property reset
   ============================================================ */

/* ── Container & centering ─────────────────────────────────── */

.com-users-registration.registration {
  all: initial;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 100% !important;
  padding: 48px 16px !important;
  box-sizing: border-box !important;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif !important;
}

/* ── Card / form wrapper ────────────────────────────────────── */

.com-users-registration.registration .com-users-registration__form,
.com-users-registration.registration form[id="member-registration"] {
  all: unset !important;
  display: block !important;
  width: 100% !important;
  max-width: 480px !important;
  min-width: 320px !important;
  background: #1a1c1f !important;
  border: 1px solid #2e3035 !important;
  border-radius: 12px !important;
  padding: 40px 40px 36px !important;
  box-sizing: border-box !important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.04) inset,
    0 24px 64px rgba(0,0,0,.55),
    0 4px 12px rgba(0,0,0,.3) !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Decorative top accent line */
.com-users-registration.registration .com-users-registration__form::before,
.com-users-registration.registration form[id="member-registration"]::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 3px !important;
  background: linear-gradient(90deg, #8F0002 0%, #c0392b 50%, #8F0002 100%) !important;
  border-radius: 12px 12px 0 0 !important;
}

/* ── Fieldset reset ─────────────────────────────────────────── */

.com-users-registration.registration fieldset {
  all: unset !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

/* ── Legend (form title) ────────────────────────────────────── */

.com-users-registration.registration legend {
  all: unset !important;
  display: block !important;
  width: 100% !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: #f0f0f0 !important;
  margin-bottom: 28px !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid #2e3035 !important;
}

/* ── Required field note ────────────────────────────────────── */

.com-users-registration.registration .field-spacer:first-of-type {
  margin-bottom: 20px !important;
}

.com-users-registration.registration .field-spacer:first-of-type .control-label {
  display: none !important; /* hides the "* Обязательное поле" spacer label */
}

/* ── Field groups ───────────────────────────────────────────── */

.com-users-registration.registration .control-group {
  all: unset !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  margin-bottom: 20px !important;
}

.com-users-registration.registration .control-group:last-of-type {
  margin-bottom: 0 !important;
}

/* ── Labels ─────────────────────────────────────────────────── */

.com-users-registration.registration .control-label,
.com-users-registration.registration label {
  all: unset !important;
  display: block !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #fff !important;
  margin-bottom: 2px !important;
  transition: color 0.2s ease !important;
}

/* Required asterisk */
.com-users-registration.registration label strong.red,
.com-users-registration.registration .control-label strong.red {
  all: unset !important;
  color: #c0392b !important;
  font-size: 14px !important;
  margin-right: 3px !important;
}

/* ── Spacer spans (UIkit junk — hide them) ──────────────────── */

.com-users-registration.registration .spacer,
.com-users-registration.registration span.before,
.com-users-registration.registration span.after,
.com-users-registration.registration span.text {
  display: none !important;
}

/* ── Controls wrapper ───────────────────────────────────────── */

.com-users-registration.registration .controls {
  all: unset !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* ── Text inputs ────────────────────────────────────────────── */

.com-users-registration.registration input[type="text"],
.com-users-registration.registration input[type="password"],
.com-users-registration.registration input[type="email"] {
  all: unset !important;
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  height: 44px !important;
  padding: 0 14px !important;
  background: #111315 !important;
  border: 1px solid #2e3035 !important;
  border-radius: 8px !important;
  color: #e8eaed !important;
  font-size: 14px !important;
  font-family: inherit !important;
  letter-spacing: 0.02em !important;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease !important;
  caret-color: #c0392b !important;
}

.com-users-registration.registration input[type="text"]::placeholder,
.com-users-registration.registration input[type="password"]::placeholder,
.com-users-registration.registration input[type="email"]::placeholder {
  color: #4a4f58 !important;
  font-style: italic !important;
}

/* Hover */
.com-users-registration.registration input[type="text"]:hover,
.com-users-registration.registration input[type="password"]:hover,
.com-users-registration.registration input[type="email"]:hover {
  border-color: #4a4f58 !important;
  background: #131518 !important;
}

/* Focus */
.com-users-registration.registration input[type="text"]:focus,
.com-users-registration.registration input[type="password"]:focus,
.com-users-registration.registration input[type="email"]:focus {
  border-color: #8F0002 !important;
  background: #0e1012 !important;
  box-shadow: 0 0 0 3px rgba(143,0,2,.18) !important;
  outline: none !important;
}

/* Focus → label color change (sibling trick, where possible) */
.com-users-registration.registration .control-group:focus-within .control-label,
.com-users-registration.registration .control-group:focus-within label {
  color: #c97a7a !important;
}

/* ── Password hint text ─────────────────────────────────────── */

.com-users-registration.registration .field-spacer .controls small,
.com-users-registration.registration .controls .help-inline,
.com-users-registration.registration .password-hint,
.com-users-registration.registration [class*="hint"],
.com-users-registration.registration .control-group > .controls > span:not([class]) {
  all: unset !important;
  display: block !important;
  font-size: 11px !important;
  color: #565c66 !important;
  margin-top: 4px !important;
  letter-spacing: 0.03em !important;
  font-style: italic !important;
}

/* ── "Показать пароль" button ───────────────────────────────── */

.com-users-registration.registration .controls .btn,
.com-users-registration.registration .controls button[type="button"] {
  all: unset !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  height: 44px !important;
  padding: 0 14px !important;
  background: transparent !important;
  border: 1px solid #3a3f48 !important;
  border-radius: 8px !important;
  color: #9aa0aa !important;
  font-size: 12px !important;
  font-family: inherit !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease !important;
  box-sizing: border-box !important;
}

.com-users-registration.registration .controls .btn:hover,
.com-users-registration.registration .controls button[type="button"]:hover {
  border-color: #386E4A !important;
  color: #e0e0e0 !important;
  background: rgba(56,110,74,0.2) !important;
}

.com-users-registration.registration .controls .btn:active,
.com-users-registration.registration .controls button[type="button"]:active {
  background: rgba(143,0,2,.2) !important;
  border-color: #c0392b !important;
}

/* ── Submit button "Регистрация" ────────────────────────────── */

.com-users-registration.registration .btn-primary,
.com-users-registration.registration input[type="submit"],
.com-users-registration.registration button[type="submit"] {
  all: unset !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: 28px !important;
  width: 100% !important;
  height: 50px !important;
  box-sizing: border-box !important;
  background: #8F0002 !important;
  border: none !important;
  border-radius: 8px !important;
  color: #fff !important;
  font-size: 13px !important;
  font-family: inherit !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  position: relative !important;
  overflow: hidden !important;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease !important;
}

/* Shimmer sweep on hover */
.com-users-registration.registration .btn-primary::after,
.com-users-registration.registration input[type="submit"]::after,
.com-users-registration.registration button[type="submit"]::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 60% !important;
  height: 100% !important;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255,255,255,.12) 50%,
    transparent 80%
  ) !important;
  transition: left 0.4s ease !important;
  pointer-events: none !important;
}

.com-users-registration.registration .btn-primary:hover,
.com-users-registration.registration input[type="submit"]:hover,
.com-users-registration.registration button[type="submit"]:hover {
  background: #b00003 !important;
  box-shadow: 0 6px 24px rgba(143,0,2,.4) !important;
  transform: translateY(-1px) !important;
}

.com-users-registration.registration .btn-primary:hover::after,
.com-users-registration.registration input[type="submit"]:hover::after,
.com-users-registration.registration button[type="submit"]:hover::after {
  left: 160% !important;
}

.com-users-registration.registration .btn-primary:active,
.com-users-registration.registration input[type="submit"]:active,
.com-users-registration.registration button[type="submit"]:active {
  background: #7a0002 !important;
  transform: translateY(0) !important;
  box-shadow: 0 2px 8px rgba(143,0,2,.3) !important;
}

/* ── Validation states ──────────────────────────────────────── */

.com-users-registration.registration .control-group.error input[type="text"],
.com-users-registration.registration .control-group.error input[type="password"],
.com-users-registration.registration .control-group.error input[type="email"] {
  border-color: #c0392b !important;
  background: #130a0a !important;
  box-shadow: 0 0 0 3px rgba(192,57,43,.15) !important;
}

.com-users-registration.registration .control-group.success input[type="text"],
.com-users-registration.registration .control-group.success input[type="password"],
.com-users-registration.registration .control-group.success input[type="email"] {
  border-color: #27ae60 !important;
  box-shadow: 0 0 0 3px rgba(39,174,96,.12) !important;
}

/* Error message text */
.com-users-registration.registration .help-block,
.com-users-registration.registration .invalid-feedback,
.com-users-registration.registration span.help-inline {
  all: unset !important;
  display: block !important;
  font-size: 11px !important;
  color: #e74c3c !important;
  margin-top: 4px !important;
  letter-spacing: 0.02em !important;
}

/* ── Progress bar (UIkit password strength) ─────────────────── */

.com-users-registration.registration .progress,
.com-users-registration.registration [class*="strength"] {
  all: unset !important;
  display: block !important;
  height: 4px !important;
  width: 100% !important;
  background: #2a2d33 !important;
  border-radius: 4px !important;
  margin-top: 8px !important;
  overflow: hidden !important;
}

.com-users-registration.registration .progress-bar,
.com-users-registration.registration [class*="strength"] > * {
  all: unset !important;
  display: block !important;
  height: 100% !important;
  background: #8F0002 !important;
  border-radius: 4px !important;
  transition: width 0.3s ease !important;
}

/* ── Responsive ─────────────────────────────────────────────── */

@media (max-width: 540px) {
  .com-users-registration.registration .com-users-registration__form,
  .com-users-registration.registration form[id="member-registration"] {
    padding: 28px 20px 24px !important;
    border-radius: 10px !important;
  }

  .com-users-registration.registration legend {
    font-size: 17px !important;
  }

  .com-users-registration.registration .controls .btn,
  .com-users-registration.registration .controls button[type="button"] {
    padding: 0 10px !important;
    font-size: 11px !important;
  }
}