/* Custom styles for Theme V2 */

/* Fix for FontAwesome icons inside .icon containers in V2 theme */
.icon .fa,
.icon .fas,
.icon .far,
.icon .fab,
.icon .fa-solid,
.icon .fa-regular,
.icon .fa-brands {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900;
    /* Default to solid, specific classes usually override */
}

.icon .fa-regular,
.icon .far {
    font-weight: 400 !important;
}

.icon .fa-brands,
.icon .fab {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

/* Fix for icon_box_grid to expand to full width of column when layout is 1 or 2 columns */
.icon-box {
    max-width: 100% !important;
    width: 100% !important;
}

/* Counters block image responsive fix */
.counters-image {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
}

/* Hero block image responsive fix */
.hero-image {
    width: 100%;
    height: auto;
    max-height: 800px;
    object-fit: cover;
    border-radius: 10px;
}

/* Navbar font size adjustments */
.rd-navbar-static .rd-navbar-nav>li>a,
.rd-navbar-fullwidth .rd-navbar-nav>li>a {
    font-size: 16px;
    /* было 13px */
}

@media (min-width: 1200px) {

    .rd-navbar-static .rd-navbar-nav>li>a,
    .rd-navbar-fullwidth .rd-navbar-nav>li>a {
        font-size: 16px;
        /* было 14px */
    }
}

/* Alternative Background */
.bg-theme-alt {
    background-color: var(--theme-bg-alt) !important;
}

/* Navbar visibility and style fixes for mobile */
.rd-navbar-fixed .rd-navbar-nav li>a {
    display: block;
    font-size: 16px;
}

/* Main menu links - Theme Green */
.rd-navbar-fixed .rd-nav-link {
    padding: 14px 56px 14px 16px;
    color: var(--theme-text) !important;
}

/* Submenu links - Theme Black with indentation */
.rd-navbar-fixed .rd-dropdown-link {
    padding: 10px 56px 10px 32px !important;
    color: var(--theme-black) !important;
}