/* Veresk final responsive layer. Loaded after the purchased theme styles. */
:root {
    --veresk-mobile-header-height: 76px;
    --veresk-mobile-radius: 14px;
    --veresk-mobile-shadow: 0 18px 50px rgba(4, 25, 43, .22);
}

html {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    min-width: 0;
    overflow-x: clip;
}

*, *::before, *::after {
    box-sizing: border-box;
}

img, svg, video, canvas, iframe {
    max-width: 100%;
}

img, video {
    height: auto;
}

input, select, textarea, button {
    max-width: 100%;
}

p, li, a, h1, h2, h3, h4, h5, h6,
.text, .content, .item-meta, .contact-info {
    overflow-wrap: anywhere;
}

.auto-container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.veresk-mobile-header,
.veresk-mobile-menu {
    display: none;
}

/* Prevent the old theme's decorative factory mark from being restored. */
.main-header .logo a,
.main-header .logo a::before,
.main-header .logo a::after,
.main-header .logo-outer::before,
.main-header .logo-outer::after,
.main-header .logo-box::before,
.main-header .logo-box::after {
    background-image: none !important;
}

.main-header .logo a::before,
.main-header .logo a::after,
.main-header .logo-outer::before,
.main-header .logo-outer::after,
.main-header .logo-box::before,
.main-header .logo-box::after {
    content: none !important;
    display: none !important;
}

/* Generic responsive safeguards for rich content and old theme components. */
.text img,
.content img,
.blog-details img,
.service-details img,
.product-details img {
    max-width: 100%;
    height: auto !important;
}

.text iframe,
.content iframe,
.blog-details iframe,
.service-details iframe,
.product-details iframe {
    display: block;
    width: 100% !important;
    aspect-ratio: 16 / 9;
    height: auto !important;
    border: 0;
}

.catalog-toolbar,
.catalog-search,
.catalog-categories,
.other-options,
.post-options,
.footer-nav ul,
.styled-pagination ul,
.pagination {
    min-width: 0;
}

.catalog-categories,
.styled-pagination ul,
.pagination {
    display: flex;
    flex-wrap: wrap;
}

.catalog-search input,
.sidebar .search-box input,
.default-form input,
.default-form select,
.default-form textarea,
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
}

.main-slider .tp-banner-container,
.main-slider .tp-banner,
.main-slider .tp-banner > ul,
.main-slider .tp-banner > ul > li {
    max-width: 100vw;
}

@media only screen and (max-width: 1199px) {
    .main-header .outer-box2 { width: 220px; }
    .main-menu .navigation > li { margin-right: 10px; }
    .main-menu .navigation > li > a { padding-right: 13px; padding-left: 13px; }

    .sidebar-page-container .content-side,
    .sidebar-page-container .sidebar-side {
        min-width: 0;
    }
}

@media only screen and (max-width: 991px) {
    body.veresk-menu-open {
        overflow: hidden;
        touch-action: none;
    }

    .veresk-desktop-header {
        display: none !important;
    }

    .main-header {
        position: relative !important;
        min-height: var(--veresk-mobile-header-height);
        background: #fff;
    }

    .main-header.fixed-header {
        position: relative !important;
    }

    .veresk-mobile-header {
        display: block;
        position: relative;
        z-index: 1002;
        width: 100%;
        background: rgba(255, 255, 255, .98);
        border-bottom: 1px solid rgba(85, 219, 231, .32);
        box-shadow: 0 8px 24px rgba(11, 34, 57, .07);
    }

    .veresk-mobile-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: var(--veresk-mobile-header-height);
        gap: 12px;
    }

    .veresk-mobile-brand {
        display: inline-flex;
        align-items: center;
        min-width: 0;
        max-width: calc(100% - 112px);
        min-height: 58px;
        color: #0b2239;
        font-size: 23px;
        font-weight: 800;
        line-height: 1;
    }

    .veresk-mobile-brand img {
        display: block;
        width: auto;
        max-width: 156px;
        max-height: 58px;
        object-fit: contain;
        background: transparent !important;
    }

    .veresk-mobile-actions {
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        gap: 8px;
    }

    .veresk-mobile-phone,
    .veresk-menu-toggle,
    .veresk-menu-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 46px;
        height: 46px;
        padding: 0;
        color: #0b2239;
        background: #eafafd;
        border: 1px solid rgba(85, 219, 231, .58);
        border-radius: 12px;
        box-shadow: none;
        transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
    }

    .veresk-mobile-phone:active,
    .veresk-menu-toggle:active,
    .veresk-menu-close:active {
        transform: scale(.94);
    }

    .veresk-menu-toggle {
        flex-direction: column;
        gap: 5px;
        background: #55dbe7;
    }

    .veresk-menu-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        background: #0b2239;
        border-radius: 99px;
        transition: transform .25s ease, opacity .2s ease;
    }

    .veresk-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .veresk-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .veresk-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .veresk-mobile-menu {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 99999;
        visibility: hidden;
        pointer-events: none;
    }

    .veresk-mobile-menu.is-open {
        visibility: visible;
        pointer-events: auto;
    }

    .veresk-mobile-backdrop {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        padding: 0;
        opacity: 0;
        background: rgba(3, 20, 35, .62);
        border: 0;
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        transition: opacity .28s ease;
    }

    .veresk-mobile-menu.is-open .veresk-mobile-backdrop { opacity: 1; }

    .veresk-mobile-drawer {
        position: absolute;
        top: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        width: min(88vw, 390px);
        height: 100vh;
        height: 100dvh;
        overflow: hidden;
        color: #16384f;
        background: #fff;
        box-shadow: var(--veresk-mobile-shadow);
        transform: translate3d(105%, 0, 0);
        transition: transform .3s cubic-bezier(.22, .75, .2, 1);
        outline: 0;
    }

    .veresk-mobile-menu.is-open .veresk-mobile-drawer { transform: translate3d(0, 0, 0); }

    .veresk-mobile-drawer-head {
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: space-between;
        min-height: 76px;
        padding: 12px 16px;
        border-bottom: 1px solid #d9eef3;
    }

    .veresk-mobile-drawer-brand {
        display: inline-flex;
        align-items: center;
        min-width: 0;
        max-width: calc(100% - 58px);
        color: #0b2239;
        font-size: 22px;
    }

    .veresk-mobile-drawer-brand img {
        display: block;
        width: auto;
        max-width: 142px;
        max-height: 54px;
        object-fit: contain;
        background: transparent !important;
    }

    .veresk-menu-close {
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        font-size: 31px;
        font-weight: 300;
        line-height: 1;
    }

    .veresk-mobile-search {
        position: relative;
        flex: 0 0 auto;
        margin: 14px 16px 10px;
    }

    .veresk-mobile-search input {
        display: block;
        width: 100%;
        height: 48px;
        padding: 0 14px 0 50px;
        color: #0b2239;
        background: #f5fcfd;
        border: 1px solid #cceaf0;
        border-radius: 12px;
        -webkit-appearance: none;
        appearance: none;
    }

    .veresk-mobile-search input:focus {
        border-color: #55dbe7;
        box-shadow: 0 0 0 3px rgba(85, 219, 231, .2);
        outline: 0;
    }

    .veresk-mobile-search button {
        position: absolute;
        top: 4px;
        left: 4px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        color: #0b2239;
        background: #55dbe7;
        border: 0;
        border-radius: 10px;
    }

    .veresk-mobile-nav {
        flex: 1 1 auto;
        min-height: 0;
        overflow-x: hidden;
        overflow-y: auto;
        padding: 4px 16px 18px;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .veresk-mobile-nav .navigation,
    .veresk-mobile-nav .navigation ul {
        float: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    .veresk-mobile-nav .navigation > li,
    .veresk-mobile-nav .navigation ul > li {
        position: relative;
        float: none !important;
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        border: 0 !important;
        border-bottom: 1px solid #e2f1f4 !important;
        transform: none !important;
    }

    .veresk-mobile-nav .navigation li::before,
    .veresk-mobile-nav .navigation li::after,
    .veresk-mobile-nav .navigation a::before,
    .veresk-mobile-nav .navigation a::after {
        display: none !important;
        content: none !important;
    }

    .veresk-mobile-nav .navigation li > a {
        position: relative;
        display: flex !important;
        align-items: center;
        min-height: 50px;
        padding: 12px 4px !important;
        color: #173a52 !important;
        background: transparent !important;
        border: 0 !important;
        font-size: 15px;
        font-weight: 700;
        line-height: 1.7;
        text-align: right;
        white-space: normal;
    }

    .veresk-mobile-nav .navigation > li.current > a,
    .veresk-mobile-nav .navigation li > a:hover,
    .veresk-mobile-nav .navigation li > a:focus {
        color: #087d8a !important;
    }

    .veresk-mobile-nav .navigation li.dropdown > a { padding-left: 54px !important; }

    .veresk-submenu-toggle {
        position: absolute;
        top: 5px;
        left: 0;
        z-index: 2;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        padding: 0;
        color: #0b2239;
        background: #eafafd;
        border: 0;
        border-radius: 10px;
    }

    .veresk-submenu-toggle .fa { transition: transform .22s ease; }
    .veresk-submenu-toggle[aria-expanded="true"] .fa { transform: rotate(180deg); }

    .veresk-mobile-nav .navigation li > ul {
        position: static !important;
        display: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        width: 100% !important;
        margin: 0 0 8px !important;
        padding: 4px 12px 6px 0 !important;
        background: #f7fcfd !important;
        border: 1px solid #d9eef3 !important;
        border-radius: 12px;
        transform: none !important;
    }

    .veresk-mobile-nav .navigation li.submenu-open > ul:not([hidden]) { display: block !important; }

    .veresk-mobile-nav .navigation li > ul > li:last-child { border-bottom: 0 !important; }
    .veresk-mobile-nav .navigation li > ul > li > a {
        min-height: 44px;
        padding: 9px 12px !important;
        font-size: 14px;
        font-weight: 600;
    }

    .veresk-mobile-drawer-footer {
        flex: 0 0 auto;
        padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
        background: #f7fcfd;
        border-top: 1px solid #d9eef3;
    }

    .veresk-mobile-consultation {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        padding: 10px 16px;
        color: #0b2239 !important;
        background: #55dbe7;
        border-radius: 12px;
        font-weight: 800;
        text-align: center;
    }

    .veresk-mobile-drawer-footer p {
        margin: 10px 0 0;
        color: #496b82;
        font-size: 13px;
        line-height: 1.8;
    }

    .veresk-mobile-contact-link {
        display: inline-block;
        margin-top: 6px;
        color: #0b2239;
        font-weight: 700;
    }

    /* Tablet and mobile content layout. */
    .sidebar-page-container,
    .contact-section,
    .veresk-section {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .sidebar-page-container .sidebar-side,
    .sidebar-page-container .sidebar,
    .shop-single-page .sidebar {
        margin-top: 35px;
    }

    .with-right-sidebar .content-side,
    .with-left-sidebar .content-side,
    .with-right-sidebar .sidebar,
    .with-left-sidebar .sidebar {
        padding-right: 15px;
        padding-left: 15px;
        margin-right: 0;
        margin-left: 0;
    }

    .main-slider .tp-caption {
        max-width: calc(100vw - 40px) !important;
        white-space: normal !important;
    }

    .main-slider h2 {
        max-width: 620px;
        font-size: clamp(30px, 5vw, 46px) !important;
        line-height: 1.55 !important;
        white-space: normal !important;
    }

    .equal-height { display: flex; flex-wrap: wrap; }
    .equal-height > [class*="col-"] { display: flex; }
    .equal-height > [class*="col-"] > * { width: 100%; }

    .catalog-toolbar {
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
    }

    .catalog-search { width: min(100%, 520px); }
    .catalog-categories { width: 100%; gap: 8px; }

    .product-details .basic-details .image-column,
    .product-details .basic-details .info-column {
        margin-bottom: 25px;
    }

    .product-details .other-options {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .product-details .other-options .theme-btn { margin: 0 !important; }

    .main-footer .column { margin-bottom: 30px; }
}

@media only screen and (max-width: 767px) {
    :root { --veresk-mobile-header-height: 70px; }

    .auto-container {
        padding-right: 14px;
        padding-left: 14px;
    }

    .veresk-mobile-brand img { max-width: 138px; max-height: 52px; }
    .veresk-mobile-phone,
    .veresk-menu-toggle { width: 44px; height: 44px; border-radius: 11px; }

    h1 { font-size: clamp(25px, 7vw, 34px); line-height: 1.45; }
    h2, .sec-title h2, .section-title h2 { font-size: clamp(22px, 6vw, 29px); line-height: 1.55; }
    h3 { line-height: 1.6; }

    .page-title {
        padding-top: 55px !important;
        padding-bottom: 55px !important;
        min-height: 0 !important;
    }

    .page-title h1,
    .page-title h2 {
        max-width: 100%;
        font-size: clamp(23px, 7vw, 31px) !important;
        line-height: 1.5;
    }

    .page-title .bread-crumb,
    .page-title .bread-crumb ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }

    .sidebar-page-container,
    .contact-section,
    .veresk-section {
        padding-top: 42px;
        padding-bottom: 42px;
    }

    .main-slider,
    .main-slider .tp-banner-container,
    .main-slider .tp-banner {
        min-height: 400px;
    }

    .main-slider .tp-caption.text-caption,
    .main-slider .tp-caption.buttons-caption {
        display: block !important;
    }

    .main-slider h2 {
        font-size: clamp(27px, 8vw, 38px) !important;
        line-height: 1.55 !important;
    }

    .main-slider .text-caption {
        max-width: calc(100vw - 48px) !important;
        font-size: 14px !important;
        line-height: 1.9 !important;
    }

    .main-slider .buttons-caption .theme-btn {
        min-width: 0;
        padding: 10px 15px !important;
        font-size: 13px !important;
    }

    .row.equal-height { display: block; }
    .equal-height > [class*="col-"] { display: block; }

    .default-service-block .inner-box,
    .service-block .inner-box,
    .news-block .inner-box,
    .team-member .inner-box,
    .default-shop-item .inner-box {
        height: auto !important;
    }

    .catalog-toolbar { gap: 10px; }

    .catalog-search {
        position: relative;
        display: flex;
        width: 100%;
    }

    .catalog-search input { min-width: 0; }

    .catalog-categories {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 2px 0 8px;
        scrollbar-width: thin;
        overscroll-behavior-inline: contain;
    }

    .catalog-categories a { flex: 0 0 auto; white-space: nowrap; }

    .product-details .basic-details,
    .product-details .product-info-tabs,
    .product-details .inquiry-form {
        padding-right: 0;
        padding-left: 0;
    }

    .product-details .image-box img,
    .service-details .big-image img,
    .blog-details .image img {
        width: 100%;
        object-fit: cover;
    }

    .product-details .other-options {
        display: grid;
        grid-template-columns: 1fr;
    }

    .product-details .other-options .theme-btn,
    .contact-form .theme-btn,
    .inquiry-form .theme-btn {
        width: 100%;
        min-height: 46px;
        text-align: center;
    }

    .prod-tabs .tab-btns {
        display: flex;
        width: 100%;
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 6px;
    }

    .prod-tabs .tab-btns .tab-btn {
        flex: 0 0 auto;
        min-width: 130px;
        margin: 0 !important;
        text-align: center;
    }

    .service-details blockquote,
    .news-style-two .lower-box blockquote {
        margin-right: 0;
        margin-left: 0;
    }

    .sidebar .sidebar-widget,
    .contact-info-column,
    .default-form,
    .contact-form {
        max-width: 100%;
    }

    .styled-pagination ul,
    .pagination {
        justify-content: center;
        gap: 5px;
    }

    .main-footer .footer-upper { padding-top: 55px; padding-bottom: 20px; }
    .main-footer .footer-widget { margin-bottom: 25px; }
    .main-footer .footer-nav ul { float: none !important; justify-content: center; gap: 12px; }
    .main-footer .copyright-text,
    .main-footer .footer-nav { text-align: center; }

    .scroll-to-top {
        left: 14px;
        right: auto;
        bottom: calc(14px + env(safe-area-inset-bottom));
        width: 44px;
        height: 44px;
        line-height: 44px;
    }

    .site-messages { padding-top: 10px; }
}

@media only screen and (max-width: 479px) {
    .veresk-mobile-drawer { width: min(92vw, 370px); }
    .veresk-mobile-brand { max-width: calc(100% - 100px); }
    .veresk-mobile-phone { display: none; }

    .main-slider,
    .main-slider .tp-banner-container,
    .main-slider .tp-banner { min-height: 360px; }

    .main-slider .buttons-caption .theme-btn { display: inline-flex !important; margin: 3px !important; }

    .footer-widget.links-widget .col-xs-6 { width: 100%; }
    .footer-widget.links-widget .col-xs-6 + .col-xs-6 { margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    .veresk-mobile-drawer,
    .veresk-mobile-backdrop,
    .veresk-menu-toggle span,
    .veresk-submenu-toggle .fa {
        transition: none !important;
    }
}

/* ==========================================================================
   HERO SLIDER — one caption only on every breakpoint
   ========================================================================== */
.main-slider .veresk-hero-caption {
    width: min(560px, calc(100vw - 80px)) !important;
    max-width: 560px !important;
    white-space: normal !important;
    direction: rtl;
    text-align: right;
}

.main-slider .veresk-hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
    color: #fff;
    direction: rtl;
    text-align: right;
}

.main-slider .veresk-hero-copy h2 {
    width: 100%;
    margin: 0 0 14px;
    padding: 0;
    color: #fff;
    font-size: clamp(38px, 4vw, 58px) !important;
    font-weight: 800;
    line-height: 1.45 !important;
    letter-spacing: -.02em;
    white-space: normal !important;
    overflow-wrap: anywhere;
    text-shadow: 0 3px 14px rgba(0, 0, 0, .34);
}

.main-slider .veresk-hero-subtitle {
    width: 100%;
    color: rgba(255, 255, 255, .97);
    font-size: 16px;
    font-weight: 600;
    line-height: 2;
    white-space: normal;
    overflow-wrap: anywhere;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .38);
}

.main-slider .veresk-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    margin-top: 22px;
    direction: rtl;
}

.main-slider .veresk-hero-actions .theme-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 126px;
    min-height: 44px;
    margin: 0 !important;
    padding: 11px 18px !important;
    white-space: nowrap;
}

@media only screen and (max-width: 991px) {
    .main-slider,
    .main-slider .tp-banner-container,
    .main-slider .tp-banner,
    .main-slider .tp-banner > ul,
    .main-slider .tp-banner > ul > li {
        height: clamp(400px, 62vw, 500px) !important;
        min-height: clamp(400px, 62vw, 500px) !important;
    }

    /* Revolution adds inline coordinates to captions. On narrow screens the
       single caption becomes a full-slide layout, so no duplicate copy or
       coordinate collision can occur. */
    .main-slider .tp-caption.veresk-hero-caption {
        position: absolute !important;
        inset: 0 !important;
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
        white-space: normal !important;
    }

    .main-slider .veresk-hero-copy {
        box-sizing: border-box;
        justify-content: center;
        width: 100%;
        height: 100%;
        padding: 32px clamp(18px, 5vw, 44px);
        background: linear-gradient(270deg, rgba(5, 25, 42, .86) 0%, rgba(5, 25, 42, .60) 50%, rgba(5, 25, 42, .10) 100%);
    }

    .main-slider .veresk-hero-copy h2,
    .main-slider .veresk-hero-subtitle,
    .main-slider .veresk-hero-actions {
        width: min(74%, 620px);
        max-width: 100%;
    }

    .main-slider .veresk-hero-copy h2 {
        margin-bottom: 10px;
        font-size: clamp(29px, 6.2vw, 44px) !important;
        line-height: 1.4 !important;
    }

    .main-slider .veresk-hero-subtitle {
        font-size: clamp(13px, 2vw, 16px);
        line-height: 1.9;
    }

    .main-slider .veresk-hero-actions {
        gap: 8px;
        margin-top: 16px;
    }

    .main-slider .veresk-hero-actions .theme-btn {
        min-width: 112px;
        min-height: 41px;
        padding: 9px 14px !important;
        font-size: 12px !important;
        line-height: 1.3 !important;
    }
}

@media only screen and (max-width: 479px) {
    .main-slider,
    .main-slider .tp-banner-container,
    .main-slider .tp-banner,
    .main-slider .tp-banner > ul,
    .main-slider .tp-banner > ul > li {
        height: 410px !important;
        min-height: 410px !important;
    }

    .main-slider .veresk-hero-copy {
        padding: 24px 16px;
        background: linear-gradient(270deg, rgba(5, 25, 42, .90) 0%, rgba(5, 25, 42, .68) 62%, rgba(5, 25, 42, .18) 100%);
    }

    .main-slider .veresk-hero-copy h2,
    .main-slider .veresk-hero-subtitle,
    .main-slider .veresk-hero-actions {
        width: 78%;
    }

    .main-slider .veresk-hero-copy h2 {
        margin-bottom: 8px;
        font-size: clamp(26px, 7.6vw, 33px) !important;
        line-height: 1.38 !important;
    }

    .main-slider .veresk-hero-subtitle {
        font-size: 12.5px;
        line-height: 1.75;
    }

    .main-slider .veresk-hero-actions {
        gap: 7px;
        margin-top: 13px;
    }

    .main-slider .veresk-hero-actions .theme-btn {
        flex: 0 1 auto;
        min-width: 104px;
        min-height: 40px;
        padding: 9px 12px !important;
        font-size: 12px !important;
    }
}

@media only screen and (max-width: 359px) {
    .main-slider .veresk-hero-copy h2,
    .main-slider .veresk-hero-subtitle,
    .main-slider .veresk-hero-actions {
        width: 88%;
    }

    .main-slider .veresk-hero-actions .theme-btn {
        min-width: 0;
    }
}

/* ========================================================================== 
   Responsive release 2026-07-21.4
   Native hero and final cross-page safeguards. This layer intentionally loads
   after the purchased theme so legacy fixed dimensions cannot break mobile.
   ========================================================================== */
html {
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
    overflow-x: clip;
    scroll-padding-top: 90px;
}

body,
.page-wrapper,
.body_wrapper,
#main-content {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

body {
    overflow-x: hidden;
    overflow-x: clip;
    text-rendering: optimizeLegibility;
    -webkit-text-size-adjust: 100%;
}

img,
video,
canvas,
svg,
iframe {
    max-width: 100%;
}

iframe {
    border: 0;
}

p,
li,
a,
span,
strong,
h1,
h2,
h3,
h4,
h5,
h6,
.text,
.content {
    overflow-wrap: break-word;
    word-break: normal;
}

pre,
code {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.table-responsive,
.veresk-table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

:focus-visible {
    outline: 3px solid rgba(85, 219, 231, .72);
    outline-offset: 3px;
}

.preloader {
    transition: opacity .3s ease, visibility .3s ease;
}

.preloader.is-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Native hero: replaces Revolution Slider and avoids inline coordinates/scales. */
.veresk-hero {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: clamp(500px, 48vw, 650px);
    min-height: 500px;
    overflow: hidden;
    color: #fff;
    background: #0b2239;
    direction: rtl;
}

.veresk-hero-track,
.veresk-hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.veresk-hero-slide {
    z-index: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(1.025);
    transition: opacity .7s ease, visibility .7s ease, transform 5.5s ease;
}

.veresk-hero-slide.is-active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scale(1);
}

.veresk-hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    user-select: none;
}

.veresk-hero-shade {
    position: absolute;
    z-index: 1;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 22, 37, .12) 0%, rgba(5, 22, 37, .45) 46%, rgba(5, 22, 37, .88) 100%),
        linear-gradient(0deg, rgba(5, 22, 37, .28), rgba(5, 22, 37, .08) 55%);
}

.veresk-hero-layout {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    height: 100%;
    padding-top: 44px;
    padding-bottom: 76px;
}

.veresk-hero-content {
    width: min(650px, 58%);
    max-width: 100%;
    margin-left: auto;
    text-align: right;
}

.veresk-hero-content h1 {
    width: 100%;
    margin: 0 0 16px;
    padding: 0;
    color: #fff;
    font-size: clamp(38px, 4.3vw, 64px);
    font-weight: 800;
    line-height: 1.42;
    letter-spacing: -.025em;
    text-shadow: 0 4px 22px rgba(0, 0, 0, .36);
    white-space: normal;
    overflow-wrap: break-word;
}

.veresk-hero-subtitle {
    width: min(100%, 590px);
    color: rgba(255, 255, 255, .96);
    font-size: clamp(15px, 1.35vw, 18px);
    font-weight: 500;
    line-height: 2;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .38);
}

.veresk-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
}

.veresk-hero-actions .theme-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    min-height: 48px;
    margin: 0 !important;
    padding: 11px 20px !important;
    border: 1px solid transparent !important;
    border-radius: 4px;
    white-space: nowrap;
}

.veresk-hero-actions .veresk-hero-secondary {
    color: #fff !important;
    background: rgba(255, 255, 255, .10) !important;
    border-color: rgba(255, 255, 255, .65) !important;
    backdrop-filter: blur(8px);
}

.veresk-hero-actions .veresk-hero-secondary:hover,
.veresk-hero-actions .veresk-hero-secondary:focus-visible {
    color: #0b2239 !important;
    background: #fff !important;
    border-color: #fff !important;
}

.veresk-hero-arrow {
    position: absolute;
    z-index: 4;
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    color: #fff;
    background: rgba(5, 22, 37, .42);
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 50%;
    transform: translateY(-50%);
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
    backdrop-filter: blur(8px);
}

.veresk-hero-arrow:hover,
.veresk-hero-arrow:focus-visible {
    color: #0b2239;
    background: #55dbe7;
    border-color: #55dbe7;
    transform: translateY(-50%) scale(1.05);
}

.veresk-hero-prev { right: max(18px, calc((100vw - 1170px) / 2 - 62px)); }
.veresk-hero-next { left: max(18px, calc((100vw - 1170px) / 2 - 62px)); }

.veresk-hero-dots {
    position: absolute;
    z-index: 4;
    right: 50%;
    bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateX(50%);
}

.veresk-hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    background: rgba(255, 255, 255, .55);
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 999px;
    transition: width .25s ease, background-color .25s ease;
}

.veresk-hero-dot.is-active {
    width: 30px;
    background: #55dbe7;
    border-color: #55dbe7;
}

/* Cross-page card/media consistency. */
.services-style-two .image-box img,
.news-style-two .image-box img,
.member-style-two .image-box img,
.default-shop-item .image-box img,
.project-item .image-box img {
    width: 100%;
    object-fit: cover;
}

.default-shop-item .inner-box,
.single-featured-item,
.news-style-two .inner-box,
.member-style-two .inner-box,
.testimonial-item {
    min-width: 0;
}

.default-form input,
.default-form select,
.default-form textarea,
.contact-form input,
.contact-form select,
.contact-form textarea,
.search-box input,
.catalog-search input {
    max-width: 100%;
}

.default-form textarea,
.contact-form textarea {
    resize: vertical;
}

.field-errors .errorlist,
.form-group .errorlist {
    padding: 7px 10px;
    margin: 7px 0 0;
    list-style: none;
    background: #fff4f5;
    border-right: 3px solid #b53645;
    border-radius: 4px;
}

@media only screen and (max-width: 1199px) {
    .veresk-hero {
        height: clamp(480px, 58vw, 600px);
        min-height: 480px;
    }

    .veresk-hero-content {
        width: min(620px, 68%);
    }

    .veresk-hero-arrow {
        width: 44px;
        height: 44px;
    }
}

@media only screen and (max-width: 991px) {
    .veresk-hero {
        height: clamp(470px, 68vw, 560px);
        min-height: 470px;
    }

    .veresk-hero-shade {
        background:
            linear-gradient(90deg, rgba(5, 22, 37, .18) 0%, rgba(5, 22, 37, .58) 52%, rgba(5, 22, 37, .92) 100%),
            linear-gradient(0deg, rgba(5, 22, 37, .38), transparent 60%);
    }

    .veresk-hero-layout {
        padding-top: 28px;
        padding-bottom: 68px;
    }

    .veresk-hero-content {
        width: min(590px, 78%);
    }

    .veresk-hero-content h1 {
        font-size: clamp(34px, 6.2vw, 50px);
    }

    .veresk-hero-arrow {
        top: auto;
        bottom: 18px;
        width: 40px;
        height: 40px;
        transform: none;
    }

    .veresk-hero-arrow:hover,
    .veresk-hero-arrow:focus-visible {
        transform: scale(1.04);
    }

    .veresk-hero-prev { right: 18px; }
    .veresk-hero-next { left: 18px; }
    .veresk-hero-dots { bottom: 32px; }

    .contact-section .form-column,
    .contact-section .contact-info-column,
    .faq-section .faqs,
    .faq-section .faq-form {
        min-width: 0;
    }
}

@media only screen and (max-width: 767px) {
    html { scroll-padding-top: 76px; }

    input,
    select,
    textarea {
        font-size: 16px !important;
    }

    .veresk-mobile-brand span {
        display: block;
        color: #0b2239;
        font-size: 21px;
        font-weight: 800;
        line-height: 1.2;
    }

    .veresk-hero {
        height: clamp(480px, 128vw, 560px);
        min-height: 480px;
    }

    .veresk-hero-media {
        object-position: 44% center;
    }

    .veresk-hero-shade {
        background:
            linear-gradient(90deg, rgba(5, 22, 37, .38) 0%, rgba(5, 22, 37, .70) 50%, rgba(5, 22, 37, .94) 100%),
            linear-gradient(0deg, rgba(5, 22, 37, .55) 0%, rgba(5, 22, 37, .05) 62%);
    }

    .veresk-hero-layout {
        align-items: center;
        padding-top: 34px;
        padding-bottom: 74px;
    }

    .veresk-hero-content {
        width: min(100%, 520px);
        padding-left: 44px;
    }

    .veresk-hero-content h1 {
        margin-bottom: 12px;
        font-size: clamp(29px, 8.5vw, 39px);
        line-height: 1.45;
    }

    .veresk-hero-subtitle {
        font-size: 14px;
        line-height: 1.9;
    }

    .veresk-hero-actions {
        gap: 8px;
        margin-top: 18px;
    }

    .veresk-hero-actions .theme-btn {
        min-width: 122px;
        min-height: 44px;
        padding: 10px 15px !important;
        font-size: 13px !important;
    }

    .page-title .auto-container,
    .page-title h1,
    .page-title h2 {
        min-width: 0;
    }

    .sidebar-widget.search-box .form-group {
        display: flex;
        width: 100%;
    }

    .sidebar-widget.search-box input {
        flex: 1 1 auto;
        min-width: 0;
    }

    .post-filter,
    .catalog-categories {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        width: 100%;
        max-width: 100%;
        padding: 4px 2px 10px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: thin;
    }

    .post-filter > li,
    .catalog-categories > * {
        flex: 0 0 auto;
        margin: 0 4px !important;
    }

    .contact-section .contact-info-column,
    .faq-section .faq-form {
        margin-top: 32px;
    }

    .blog-details .post-options {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .product-details .basic-details .info-column,
    .product-details .basic-details .image-column {
        width: 100%;
    }

    .main-footer .footer-bottom .row > div {
        width: 100%;
    }
}

@media only screen and (max-width: 479px) {
    .veresk-hero {
        height: 500px;
        min-height: 500px;
    }

    .veresk-hero-layout {
        padding-top: 24px;
        padding-bottom: 78px;
    }

    .veresk-hero-content {
        width: 100%;
        padding-left: 24px;
    }

    .veresk-hero-content h1 {
        font-size: clamp(27px, 8.6vw, 34px);
        line-height: 1.48;
    }

    .veresk-hero-subtitle {
        font-size: 13px;
        line-height: 1.85;
    }

    .veresk-hero-actions .theme-btn {
        flex: 0 1 auto;
        min-width: 112px;
        padding-right: 12px !important;
        padding-left: 12px !important;
    }

    .veresk-hero-arrow {
        width: 38px;
        height: 38px;
    }

    .veresk-hero-prev { right: 12px; }
    .veresk-hero-next { left: 12px; }
    .veresk-hero-dots { bottom: 31px; }

    .sec-title .text,
    .section-title .text,
    .welcome-section .sec-title .text {
        font-size: 14px;
        line-height: 1.95;
    }

    .footer-widget.links-widget .col-xs-6 {
        width: 50%;
    }
}

@media only screen and (max-width: 359px) {
    .veresk-hero-content {
        padding-left: 12px;
    }

    .veresk-hero-actions .theme-btn {
        min-width: 0;
        font-size: 12px !important;
    }
}

@media (max-height: 520px) and (orientation: landscape) and (max-width: 991px) {
    .veresk-hero {
        height: 390px;
        min-height: 390px;
    }

    .veresk-hero-layout {
        padding-top: 20px;
        padding-bottom: 60px;
    }

    .veresk-hero-content h1 {
        margin-bottom: 8px;
        font-size: clamp(27px, 5vw, 38px);
    }

    .veresk-hero-subtitle {
        font-size: 13px;
        line-height: 1.7;
    }

    .veresk-hero-actions {
        margin-top: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .veresk-hero-slide,
    .veresk-hero-dot,
    .veresk-hero-arrow,
    .preloader {
        transition: none !important;
    }
}
