.elementor-255 .elementor-element.elementor-element-47c12c6.elementor-element{--flex-grow:1;--flex-shrink:0;}.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}/* Start custom CSS for html, class: .elementor-element-47c12c6 *//* ---------- ОБЩИЕ СТИЛИ ---------- */
    .fin-menu-container {
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        background: #ffffff;
        padding: 0;
        position: relative;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
        border-bottom: 2px solid #2563eb;
        z-index: 999;
        width: 100%;
    }
    
    .fin-menu-wrapper {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 75px;
        padding: 0 20px;
        position: relative;
    }
    
    /* ---------- ЛОГОТИП ---------- */
    .fin-logo {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }
    .fin-logo a {
        display: flex;
        align-items: center;
        text-decoration: none;
    }
    .fin-logo img {
        height: 45px;
        width: auto;
        max-height: 55px;
        object-fit: contain;
        transition: all 0.2s;
    }
    .fin-logo-text {
        color: #0b1a2f;
        font-size: 28px;
        font-weight: 700;
        text-decoration: none;
        letter-spacing: -0.5px;
        background: linear-gradient(135deg, #2563eb, #1d4ed8);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    .fin-logo-text span {
        font-weight: 300;
        color: #6b7a93;
        -webkit-text-fill-color: #6b7a93;
    }
    
    /* ---------- НАВИГАЦИЯ ---------- */
    .fin-nav {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .fin-nav > ul {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: 4px;
        align-items: center;
    }
    .fin-nav > ul > li {
        position: relative;
        padding: 10px 0;
    }
    .fin-nav > ul > li > a {
        color: #0b1a2f;
        text-decoration: none;
        font-size: 17px;
        font-weight: 600;
        padding: 10px 18px;
        border-radius: 8px;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        gap: 4px;
        white-space: nowrap;
        letter-spacing: 0.2px;
    }
    .fin-nav > ul > li > a:hover {
        background: rgba(37, 99, 235, 0.10);
        color: #1d4ed8;
    }
    .fin-nav > ul > li > a .arrow {
        font-size: 11px;
        margin-left: 4px;
        transition: transform 0.25s ease;
        color: #8899b4;
        font-style: normal;
    }
    .fin-nav > ul > li:hover > a .arrow {
        transform: rotate(180deg);
        color: #2563eb;
    }
    
    /* ---------- ВЫПАДАЮЩЕЕ МЕНЮ (2 КОЛОНКИ) ---------- */
    .fin-dropdown {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(8px);
        background: #ffffff;
        min-width: 520px;
        padding: 20px 24px;
        border-radius: 14px;
        box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.05);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        border: 1px solid #f0f2f5;
        border-top: 3px solid #2563eb;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4px 24px;
        z-index: 1000;
    }
    .fin-nav > ul > li:hover .fin-dropdown {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0px);
    }
    .fin-dropdown a {
        color: #1a2a44;
        text-decoration: none;
        font-size: 14px;
        padding: 8px 0 8px 12px;
        border-radius: 6px;
        transition: all 0.15s ease;
        display: block;
        border-left: 2px solid transparent;
        font-weight: 400;
    }
    .fin-dropdown a:hover {
        background: rgba(37, 99, 235, 0.08);
        color: #1d4ed8;
        border-left-color: #2563eb;
        padding-left: 18px;
    }
    
    /* ---------- ПОИСК (РАБОЧИЙ) ---------- */
    .fin-search-wrap {
        display: flex;
        align-items: center;
        margin-left: 12px;
        position: relative;
    }
    .fin-search-toggle {
        background: none;
        border: none;
        color: #1a2a44;
        font-size: 22px;
        cursor: pointer;
        padding: 8px 6px;
        transition: color 0.2s;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .fin-search-toggle:hover {
        color: #2563eb;
    }
    .fin-search-field {
        width: 0;
        overflow: hidden;
        transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        display: flex;
        align-items: center;
    }
    .fin-search-field form {
        display: flex;
        margin: 0;
        position: relative;
    }
    .fin-search-field input {
        background: #f5f7fa;
        border: 2px solid #e2e8f0;
        border-radius: 30px;
        padding: 8px 18px;
        color: #1a2a44;
        font-size: 14px;
        outline: none;
        width: 200px;
        transition: all 0.2s;
    }
    .fin-search-field input::placeholder {
        color: #8a9bb8;
    }
    .fin-search-field input:focus {
        border-color: #2563eb;
        background: #ffffff;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10);
    }
    .fin-search-wrap.active .fin-search-field {
        width: 210px;
        margin-left: 8px;
    }
    
    /* ---------- РЕЗУЛЬТАТЫ ПОИСКА (AJAX) ---------- */
    .fin-search-results {
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        right: 0;
        background: #ffffff;
        border-radius: 12px;
        box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.2);
        display: none;
        max-height: 400px;
        overflow-y: auto;
        z-index: 9999;
        border: 1px solid #f0f2f5;
        min-width: 320px;
    }
    .fin-search-results.show {
        display: block;
    }
    .fin-search-results .result-item {
        display: block;
        padding: 12px 18px;
        color: #1a2a44;
        text-decoration: none;
        border-bottom: 1px solid #f0f2f5;
        transition: background 0.15s;
        font-size: 14px;
    }
    .fin-search-results .result-item:last-child {
        border-bottom: none;
    }
    .fin-search-results .result-item:hover {
        background: rgba(37, 99, 235, 0.06);
    }
    .fin-search-results .result-item .result-title {
        font-weight: 500;
        color: #0b1a2f;
    }
    .fin-search-results .result-item .result-type {
        font-size: 12px;
        color: #6b7a93;
        margin-top: 2px;
        display: inline-block;
        background: #f0f2f5;
        padding: 1px 10px;
        border-radius: 12px;
    }
    .fin-search-results .result-item .result-excerpt {
        font-size: 13px;
        color: #6b7a93;
        margin-top: 4px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .fin-search-results .result-empty,
    .fin-search-results .result-loading {
        padding: 20px;
        text-align: center;
        color: #6b7a93;
        font-size: 14px;
    }
    
    /* ---------- ГАМБУРГЕР (МОБИЛЬНЫЙ) ---------- */
    .fin-hamburger {
        display: none;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        padding: 8px;
        cursor: pointer;
    }
    .fin-hamburger span {
        display: block;
        width: 28px;
        height: 3px;
        background: #1a2a44;
        border-radius: 3px;
        transition: all 0.3s;
    }
    
    /* ---------- ОВЕРЛЕЙ ---------- */
    .fin-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }
    .fin-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* ============================================================ */
    /*                    МОБИЛЬНЫЕ СТИЛИ                           */
    /* ============================================================ */
    @media (max-width: 1024px) {
        .fin-nav {
            position: fixed;
            top: 0;
            left: -100%;
            width: 85%;
            max-width: 400px;
            height: 100vh;
            background: #ffffff;
            flex-direction: column;
            align-items: stretch;
            padding: 80px 24px 40px;
            transition: left 0.35s ease;
            overflow-y: auto;
            box-shadow: 4px 0 40px rgba(0, 0, 0, 0.12);
            gap: 0;
            border-right: 2px solid #2563eb;
        }
        .fin-nav.open {
            left: 0;
        }
        .fin-nav > ul {
            flex-direction: column;
            align-items: stretch;
            gap: 0;
        }
        .fin-nav > ul > li {
            padding: 0;
            border-bottom: 1px solid #f0f2f5;
        }
        .fin-nav > ul > li > a {
            padding: 14px 12px;
            font-size: 17px;
            white-space: normal;
            justify-content: space-between;
            color: #0b1a2f;
            font-weight: 600;
        }
        .fin-nav > ul > li > a .arrow {
            transform: rotate(-90deg);
            color: #8899b4;
        }
        .fin-nav > ul > li:hover > a .arrow {
            transform: rotate(0deg);
        }
        
        .fin-dropdown {
            position: static;
            transform: none;
            min-width: auto;
            padding: 0 0 12px 20px;
            grid-template-columns: 1fr;
            gap: 2px;
            box-shadow: none;
            border: none;
            border-left: 2px solid #2563eb;
            background: transparent;
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease, padding 0.3s ease;
            padding: 0 0 0 20px;
        }
        .fin-nav > ul > li:hover .fin-dropdown {
            transform: none;
        }
        .fin-nav > ul > li.open .fin-dropdown {
            max-height: 600px;
            padding: 12px 0 18px 20px;
        }
        .fin-dropdown a {
            padding: 8px 0 8px 8px;
            font-size: 14px;
            color: #1a2a44;
        }
        .fin-dropdown a:hover {
            background: rgba(37, 99, 235, 0.06);
        }
        
        .fin-hamburger {
            display: flex;
        }
        
        .fin-search-wrap {
            margin-left: 0;
            margin-top: 20px;
            border-top: 1px solid #f0f2f5;
            padding-top: 20px;
            flex-wrap: wrap;
            flex-direction: column;
            align-items: stretch;
        }
        .fin-search-wrap.active .fin-search-field {
            width: 100%;
            margin-left: 0;
        }
        .fin-search-field {
            width: 100%;
            margin-top: 10px;
            overflow: visible;
        }
        .fin-search-field form, .fin-search-field input {
            width: 100%;
        }
        .fin-search-field input {
            background: #f5f7fa;
        }
        .fin-search-toggle {
            color: #1a2a44;
            padding: 8px 12px;
            align-self: flex-start;
        }
        
        .fin-search-results {
            position: static;
            margin-top: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            min-width: auto;
        }
        
        .fin-menu-wrapper {
            height: 65px;
        }
        .fin-logo img {
            height: 35px;
            max-height: 45px;
        }
        .fin-logo-text {
            font-size: 24px;
        }
    }
    
    @media (max-width: 480px) {
        .fin-menu-wrapper {
            padding: 0 12px;
            height: 58px;
        }
        .fin-nav > ul > li > a {
            font-size: 16px;
            padding: 12px 8px;
        }
        .fin-dropdown a {
            font-size: 13px;
        }
        .fin-logo img {
            height: 30px;
            max-height: 38px;
        }
        .fin-logo-text {
            font-size: 20px;
        }
        .fin-search-field input {
            font-size: 13px;
            padding: 7px 14px;
        }
        .fin-search-results .result-item {
            padding: 10px 14px;
            font-size: 13px;
        }
    }/* End custom CSS */