.rek-gallery-section,
.rek-brands-section {
    background: #f5f5f5;
}

.rek-gallery-section {
    padding-top: 80px;
    padding-bottom: 90px;
}

.rek-gallery-wrapper {
    margin-top: 10px;
}

.rek-gallery-item {
    padding: 0 10px;
}

.rek-gallery-thumb {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
    aspect-ratio: 4 / 3;
}

.rek-gallery-thumb::after {
    content: '\f00e';
    font-family: FontAwesome;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 54px;
    height: 54px;
    line-height: 54px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255, 93, 32, 0.92);
    color: #ffffff;
    font-size: 18px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.rek-gallery-thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.18);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1;
}

.rek-gallery-thumb:hover::before,
.rek-gallery-thumb:hover::after,
.rek-gallery-thumb:focus::before,
.rek-gallery-thumb:focus::after {
    opacity: 1;
}

.rek-gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    object-position: center;
    image-rendering: auto;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    transition: transform 0.35s ease;
}

.rek-gallery-thumb:hover img,
.rek-gallery-thumb:focus img {
    transform: scale(1.06);
}

.rek-gallery-section .owl-stage {
    display: flex;
    align-items: stretch;
}

.rek-gallery-section .owl-item {
    display: flex;
}

.rek-gallery-section .owl-nav {
    margin-top: 25px;
    text-align: center;
}

.rek-gallery-section .owl-nav button.owl-prev,
.rek-gallery-section .owl-nav button.owl-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0 6px;
    border-radius: 50%;
    background: #ffffff !important;
    color: #1f1f1f !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.rek-gallery-section .owl-nav button.owl-prev:hover,
.rek-gallery-section .owl-nav button.owl-next:hover {
    background: #ff5d20 !important;
    color: #ffffff !important;
}

.rek-gallery-section .owl-dots {
    display: none;
}

.rek-lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
}

.rek-lightbox.is-open {
    display: flex;
}

.rek-lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
}

.rek-lightbox-dialog {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: auto !important;
    max-width: min(92vw, 1400px) !important;
    margin: 0 auto;
    text-align: center;
}

.rek-lightbox-media {
    position: relative;
    display: inline-block !important;
    width: auto !important;
    max-width: min(92vw, 1400px) !important;
    margin: 0 auto;
}

.rek-lightbox-image {
    display: block;
    width: auto !important;
    max-width: min(92vw, 1400px) !important;
    max-height: 86vh !important;
    height: auto !important;
    margin: 0 auto;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    background: #ffffff;
}

.rek-lightbox-caption {
    color: #ffffff;
    font-size: 16px;
    margin: 16px 0 0;
}

.rek-lightbox-close {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 0;
    padding: 0;
    border-radius: 999px;
    background: rgba(255, 93, 32, 0.96);
    color: #ffffff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
    z-index: 5;
}

.rek-lightbox-close:hover {
    transform: scale(1.04);
}

body.rek-lightbox-open {
    overflow: hidden;
}

.rek-brands-section {
    padding-top: 80px;
    padding-bottom: 95px;
}

.rek-stats-row {
    margin-top: 14px;
    margin-bottom: 22px;
}

.rek-stat-card {
    text-align: center;
    padding: 10px 8px;
}

.rek-stat-value {
    font-size: 48px;
    line-height: 1;
    font-weight: 700;
    color: #22264b;
    margin-bottom: 8px;
}

.rek-stat-label {
    color: #687087;
    font-size: 17px;
}

.rek-brands-headline {
    text-align: center;
    font-size: 40px;
    line-height: 1.25;
    font-weight: 700;
    color: #22264b;
    max-width: 980px;
    margin: 10px auto 40px;
}

.rek-brand-marquee {
    position: relative;
    overflow: hidden;
    margin: 0 auto 18px;
    width: calc(100% - 240px);
    max-width: 1280px;
}

.rek-brand-track {
    display: flex;
    align-items: stretch;
    gap: 24px;
    width: max-content;
    will-change: transform;
}

.rek-direction-left .rek-brand-track {
    animation: rek-marquee-left 36s linear infinite;
}

.rek-direction-right .rek-brand-track {
    animation: rek-marquee-right 36s linear infinite;
}

.rek-brand-marquee:hover .rek-brand-track {
    animation-play-state: paused;
}

.rek-brand-card {
    width: 240px;
    min-width: 240px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    padding: 24px 18px;
    text-align: center;
}

.rek-brand-logo-wrap {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.rek-brand-logo {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    filter: grayscale(1);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.rek-brand-card:hover .rek-brand-logo {
    filter: grayscale(0);
    opacity: 1;
}

.rek-brand-title {
    color: #22264b;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.rek-brand-text {
    color: #687087;
    font-size: 15px;
    line-height: 1.5;
}

@keyframes rek-marquee-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 12px));
    }
}

@keyframes rek-marquee-right {
    0% {
        transform: translateX(calc(-50% - 12px));
    }
    100% {
        transform: translateX(0);
    }
}

.home .navbar.navbar-header-wrap {
    --rek-menu-default-color: #ffffff;
    --rek-menu-active-bg: #ff5d20;
    --rek-menu-active-text: #ffffff;
}

.home .navbar.navbar-header-wrap.header-fixed-top {
    --rek-menu-default-color: #000000;
    background: #ffffff !important;
}

.home .navbar.navbar-header-wrap.header-fixed-top .nav .menu-item:not(.rek-is-active) > .nav-link,
.home .navbar.navbar-header-wrap.header-fixed-top .nav .menu-item:not(.rek-is-active) > a,
.home .navbar.navbar-header-wrap.header-fixed-top .nav a.cart-icon,
.home .navbar.navbar-header-wrap.header-fixed-top .nav .theme-search-block a {
    color: #000000 !important;
}

.home .navbar.navbar-header-wrap .nav .menu-item.rek-section-link.active > .nav-link,
.home .navbar.navbar-header-wrap .nav .menu-item.rek-section-link.current-menu-item > .nav-link,
.home .navbar.navbar-header-wrap .nav .menu-item.rek-section-link.current_page_item > .nav-link,
.home .navbar.navbar-header-wrap .nav .menu-item.rek-section-link.current-menu-ancestor > .nav-link,
.home .navbar.navbar-header-wrap .nav .menu-item.rek-section-link.current_page_ancestor > .nav-link,
.home .navbar.navbar-header-wrap.header-fixed-top .nav .menu-item.rek-section-link.active > .nav-link,
.home .navbar.navbar-header-wrap.header-fixed-top .nav .menu-item.rek-section-link.current-menu-item > .nav-link,
.home .navbar.navbar-header-wrap.header-fixed-top .nav .menu-item.rek-section-link.current_page_item > .nav-link,
.home .navbar.navbar-header-wrap.header-fixed-top .nav .menu-item.rek-section-link.current-menu-ancestor > .nav-link,
.home .navbar.navbar-header-wrap.header-fixed-top .nav .menu-item.rek-section-link.current_page_ancestor > .nav-link {
    background: transparent !important;
    color: var(--rek-menu-default-color) !important;
}

.home .navbar.navbar-header-wrap .nav .menu-item.rek-is-active > .nav-link,
.home .navbar.navbar-header-wrap .nav .menu-item.rek-is-active > a,
.home .navbar.navbar-header-wrap.header-fixed-top .nav .menu-item.rek-is-active > .nav-link,
.home .navbar.navbar-header-wrap.header-fixed-top .nav .menu-item.rek-is-active > a {
    background: var(--rek-menu-active-bg) !important;
    color: var(--rek-menu-active-text) !important;
    border-radius: 0;
}

.home .navbar.navbar-header-wrap .nav .menu-item.rek-is-active > .nav-link:hover,
.home .navbar.navbar-header-wrap .nav .menu-item.rek-is-active > a:hover {
    color: var(--rek-menu-active-text) !important;
}


.home .navbar.navbar-header-wrap .nav .menu-item.rek-home-link > .nav-link,
.home .navbar.navbar-header-wrap .nav .menu-item.rek-home-link > a,
.home .navbar.navbar-header-wrap .nav .menu-item.rek-home-link.active > .nav-link,
.home .navbar.navbar-header-wrap .nav .menu-item.rek-home-link.current-menu-item > .nav-link,
.home .navbar.navbar-header-wrap .nav .menu-item.rek-home-link.current_page_item > .nav-link,
.home .navbar.navbar-header-wrap.header-fixed-top .nav .menu-item.rek-home-link > .nav-link,
.home .navbar.navbar-header-wrap.header-fixed-top .nav .menu-item.rek-home-link > a,
.home .navbar.navbar-header-wrap.header-fixed-top .nav .menu-item.rek-home-link.active > .nav-link,
.home .navbar.navbar-header-wrap.header-fixed-top .nav .menu-item.rek-home-link.current-menu-item > .nav-link,
.home .navbar.navbar-header-wrap.header-fixed-top .nav .menu-item.rek-home-link.current_page_item > .nav-link,
.home .navbar.navbar-header-wrap .nav .menu-item:not(.rek-is-active):not(:hover) > .nav-link.active,
.home .navbar.navbar-header-wrap .nav .menu-item:not(.rek-is-active):not(:hover) > a.active {
    background: transparent !important;
    color: var(--rek-menu-default-color) !important;
}

.home .navbar.navbar-header-wrap .nav .menu-item.rek-home-link.rek-is-active > .nav-link,
.home .navbar.navbar-header-wrap .nav .menu-item.rek-home-link.rek-is-active > a,
.home .navbar.navbar-header-wrap.header-fixed-top .nav .menu-item.rek-home-link.rek-is-active > .nav-link,
.home .navbar.navbar-header-wrap.header-fixed-top .nav .menu-item.rek-home-link.rek-is-active > a {
    background: var(--rek-menu-active-bg) !important;
    color: var(--rek-menu-active-text) !important;
}

@media (max-width: 1199px) {
    .rek-stat-value {
        font-size: 40px;
    }

    .rek-brands-headline {
        font-size: 34px;
    }
}

@media (max-width: 991px) {
    .rek-gallery-thumb img {
        min-height: 320px;
    }

    .rek-brands-headline {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .rek-brand-card {
        width: 210px;
        min-width: 210px;
    }

    .rek-brand-marquee {
        width: calc(100% - 120px);
    }

    .home .navbar.navbar-header-wrap .nav .menu-item.rek-is-active > .nav-link,
    .home .navbar.navbar-header-wrap .nav .menu-item.rek-is-active > a {
        background: transparent;
        color: var(--rek-menu-active-bg) !important;
    }
}

@media (max-width: 767px) {
    .rek-gallery-section,
    .rek-brands-section {
        padding-top: 60px;
        padding-bottom: 70px;
    }

    .rek-gallery-item {
        padding: 0 8px;
    }

    .rek-gallery-thumb {
        border-radius: 12px;
        aspect-ratio: 4 / 5;
    }

    .rek-gallery-thumb img {
        min-height: 340px;
    }

    .rek-stat-value {
        font-size: 32px;
    }

    .rek-stat-label {
        font-size: 15px;
    }

    .rek-brands-headline {
        font-size: 24px;
    }

    .rek-brand-card {
        width: 190px;
        min-width: 190px;
        padding: 18px 14px;
    }

    .rek-lightbox-image {
        max-width: calc(100vw - 24px) !important;
        max-height: 72vh !important;
    }

    .rek-lightbox-close {
        top: 8px !important;
        right: 8px !important;
        width: 40px;
        height: 40px;
        font-size: 28px;
    }
}


/* --- REK Security v9 visual refinements --- */
:root {
    --rek-section-bg-light: #ffffff;
    --rek-section-bg-alt: #f3f3f3;
    --rek-brand-marquee-inset: 150px;
}

body.home #theme-services,
body.home #theme-gallery,
body.home #theme-brands {
    background: var(--rek-section-bg-light);
}

body.home #theme-testimonial,
body.home #theme-project {
    background: var(--rek-section-bg-alt);
}

body.home #theme-services,
body.home #theme-testimonial,
body.home #theme-gallery,
body.home #theme-project,
body.home #theme-brands {
    transition: background-color .25s ease;
}

body.home #theme-brands .rek-brand-marquee {
    width: min(1280px, calc(100% - (var(--rek-brand-marquee-inset) * 2)));
    max-width: calc(100% - (var(--rek-brand-marquee-inset) * 2));
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}

body.home #theme-brands .rek-brand-track {
    padding-top: 4px;
    padding-bottom: 4px;
}

body.home #theme-brands {
    overflow: hidden;
}

@media (max-width: 1199px) {
    :root {
        --rek-brand-marquee-inset: 72px;
    }
}

@media (max-width: 767px) {
    :root {
        --rek-brand-marquee-inset: 18px;
    }
}

/* Main slider quality improvements */
#theme-main-slider .item.rek-hero-slide {
    background: #111111 !important;
    overflow: hidden;
}

#theme-main-slider .rek-hero-slide-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    image-rendering: auto;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
}

#theme-main-slider .rek-hero-slide .overlay {
    z-index: 1;
}

#theme-main-slider .rek-hero-slide .theme-slider-content {
    z-index: 2;
}

/* --- REK Security v17 news section and ordered alternating backgrounds --- */
body.home #theme-services,
body.home #theme-gallery,
body.home #theme-testimonial,
body.home #theme-cta {
    background: var(--rek-section-bg-light);
}

body.home #theme-project,
body.home #theme-brands,
body.home #theme-news {
    background: var(--rek-section-bg-alt);
}

body.home #theme-news {
    position: relative;
}


.rek-news-grid.row {
    display: flex;
    flex-wrap: wrap;
}

.rek-news-grid.row > .rek-news-column {
    display: flex;
    margin-bottom: 28px;
}

.rek-news-card > a.rek-news-card-image img {
    width: 100%;
    height: 100%;
    display: block;
}

.rek-news-grid {
    row-gap: 28px;
}

.rek-news-column {
    display: flex;
}

.rek-news-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(17, 17, 17, 0.08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.rek-news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(17, 17, 17, 0.12);
}

.rek-news-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #111111;
}

.rek-news-card-image img,
.rek-news-card-image-placeholder {
    display: block;
    width: 100%;
    height: 100%;
}

.rek-news-card-image img {
    object-fit: cover;
    object-position: center;
}

.rek-news-card-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: .04em;
    background: linear-gradient(135deg, #1e1e1e 0%, #4a4a4a 100%);
}

.rek-news-card-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 24px 24px 26px;
}

.rek-news-meta {
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.rek-news-card-title {
    margin: 0 0 14px;
    font-size: 24px;
    line-height: 1.3;
}

.rek-news-card-title a {
    color: #111111;
}

.rek-news-card-title a:hover,
.rek-news-card-link:hover {
    color: var(--bs-primary, #ffc107);
}

.rek-news-card-excerpt {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 20px;
}

.rek-news-card-link {
    margin-top: auto;
    font-weight: 700;
    color: #111111;
}

.rek-news-footer {
    margin-top: 34px;
}

.rek-news-more-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    padding: 14px 30px;
    border: 0;
    border-radius: 8px;
    background: var(--rek-news-button-bg, #ff5e14);
    color: var(--rek-news-button-text, #ffffff);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    letter-spacing: .01em;
    box-shadow: 0 16px 32px rgba(17, 17, 17, 0.12);
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease, background-color .25s ease, color .25s ease;
}

.rek-news-more-button:hover,
.rek-news-more-button:focus {
    color: var(--rek-news-button-text, #ffffff);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 20px 36px rgba(17, 17, 17, 0.18);
    filter: brightness(0.93);
}

@media (max-width: 991px) {
    .rek-news-card-title {
        font-size: 22px;
    }
}

@media (max-width: 767px) {
    .rek-news-card-content {
        padding: 20px 18px 22px;
    }

    .rek-news-card-title {
        font-size: 20px;
    }
}


.home .navbar.navbar-header-wrap .nav .menu-item.rek-section-link:not(.rek-is-active) > .nav-link,
.home .navbar.navbar-header-wrap .nav .menu-item.rek-section-link:not(.rek-is-active) > a,
.home .navbar.navbar-header-wrap .nav .menu-item.rek-section-link:not(.rek-is-active) > .nav-link.active,
.home .navbar.navbar-header-wrap .nav .menu-item.rek-section-link:not(.rek-is-active) > a.active {
    background: transparent !important;
    color: var(--rek-menu-default-color) !important;
}


/* --- REK Security v30 fixes --- */
.home .navbar.navbar-header-wrap .nav .menu-item.rek-section-link > .nav-link,
.home .navbar.navbar-header-wrap .nav .menu-item.rek-section-link > a,
.home .navbar.navbar-header-wrap .nav .menu-item.rek-home-link > .nav-link,
.home .navbar.navbar-header-wrap .nav .menu-item.rek-home-link > a {
    background: transparent !important;
    color: var(--rek-menu-default-color) !important;
}

.home .navbar.navbar-header-wrap .nav .menu-item.rek-is-active > .nav-link,
.home .navbar.navbar-header-wrap .nav .menu-item.rek-is-active > a,
.home .navbar.navbar-header-wrap .nav .menu-item.rek-is-active > .nav-link:hover,
.home .navbar.navbar-header-wrap .nav .menu-item.rek-is-active > a:hover,
.home .navbar.navbar-header-wrap .nav .menu-item.rek-is-active > .nav-link:focus,
.home .navbar.navbar-header-wrap .nav .menu-item.rek-is-active > a:focus {
    background: var(--rek-menu-active-bg) !important;
    color: var(--rek-menu-active-text) !important;
}

.home .navbar.navbar-header-wrap .nav .menu-item.rek-section-link.current-menu-item > .nav-link,
.home .navbar.navbar-header-wrap .nav .menu-item.rek-section-link.current_page_item > .nav-link,
.home .navbar.navbar-header-wrap .nav .menu-item.rek-section-link.current-menu-ancestor > .nav-link,
.home .navbar.navbar-header-wrap .nav .menu-item.rek-section-link.current_page_ancestor > .nav-link,
.home .navbar.navbar-header-wrap .nav .menu-item.rek-home-link.current-menu-item > .nav-link,
.home .navbar.navbar-header-wrap .nav .menu-item.rek-home-link.current_page_item > .nav-link {
    background: transparent !important;
    color: var(--rek-menu-default-color) !important;
}

.rek-news-grid.row {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.rek-news-grid.row > .rek-news-column {
    display: flex;
    width: auto !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-bottom: 0 !important;
    min-width: 0;
}

.rek-news-card {
    position: relative;
    min-width: 0;
}

.rek-news-card-image {
    height: 260px;
    aspect-ratio: auto;
}

.rek-news-card-image img,
.rek-news-card-image-placeholder {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
}

.rek-news-card-title,
.rek-news-card-excerpt,
.rek-news-meta,
.rek-news-card-link {
    overflow-wrap: anywhere;
}

@media (max-width: 991px) {
    .rek-news-grid.row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .rek-news-grid.row {
        grid-template-columns: minmax(0, 1fr);
    }

    .rek-news-card-image {
        height: 220px;
    }
}


/* --- REK Security v31 fixes --- */
.home .navbar.navbar-header-wrap .nav .menu-item.rek-section-link:not(.rek-is-active) > .nav-link,
.home .navbar.navbar-header-wrap .nav .menu-item.rek-section-link:not(.rek-is-active) > a,
.home .navbar.navbar-header-wrap .nav .menu-item.rek-home-link:not(.rek-is-active) > .nav-link,
.home .navbar.navbar-header-wrap .nav .menu-item.rek-home-link:not(.rek-is-active) > a,
.home .navbar.navbar-header-wrap .nav .menu-item.rek-section-link.active:not(.rek-is-active) > .nav-link,
.home .navbar.navbar-header-wrap .nav .menu-item.rek-section-link.current-menu-item:not(.rek-is-active) > .nav-link,
.home .navbar.navbar-header-wrap .nav .menu-item.rek-section-link.current_page_item:not(.rek-is-active) > .nav-link,
.home .navbar.navbar-header-wrap .nav .menu-item.rek-section-link.current-menu-ancestor:not(.rek-is-active) > .nav-link,
.home .navbar.navbar-header-wrap .nav .menu-item.rek-section-link.current_page_ancestor:not(.rek-is-active) > .nav-link,
.home .navbar.navbar-header-wrap .nav .menu-item.rek-home-link.active:not(.rek-is-active) > .nav-link,
.home .navbar.navbar-header-wrap .nav .menu-item.rek-home-link.current-menu-item:not(.rek-is-active) > .nav-link,
.home .navbar.navbar-header-wrap .nav .menu-item.rek-home-link.current_page_item:not(.rek-is-active) > .nav-link {
    background: transparent !important;
    color: var(--rek-menu-default-color) !important;
}

.home .navbar.navbar-header-wrap .nav .menu-item.rek-is-active > .nav-link,
.home .navbar.navbar-header-wrap .nav .menu-item.rek-is-active > a {
    background: var(--rek-menu-active-bg) !important;
    color: var(--rek-menu-active-text) !important;
}

.rek-stat-label {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.rek-news-footer .rek-news-more-button,
.rek-news-more-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 190px !important;
    padding: 14px 30px !important;
    border-radius: 8px !important;
    border: 1px solid var(--rek-news-button-bg, #ff5e14) !important;
    background-color: var(--rek-news-button-bg, #ff5e14) !important;
    color: var(--rek-news-button-text, #ffffff) !important;
    text-decoration: none !important;
    box-shadow: 0 16px 32px rgba(17, 17, 17, 0.12) !important;
}

.rek-news-footer .rek-news-more-button:hover,
.rek-news-footer .rek-news-more-button:focus,
.rek-news-more-button:hover,
.rek-news-more-button:focus {
    background-color: var(--rek-news-button-bg, #ff5e14) !important;
    color: var(--rek-news-button-text, #ffffff) !important;
    text-decoration: none !important;
    filter: brightness(0.93);
}


/* --- REK Security v32 fixes --- */
.home .navbar.navbar-header-wrap .nav .menu-item.rek-section-link:not(.rek-is-active) > .nav-link,
.home .navbar.navbar-header-wrap .nav .menu-item.rek-section-link:not(.rek-is-active) > a,
.home .navbar.navbar-header-wrap .nav .menu-item.rek-home-link:not(.rek-is-active) > .nav-link,
.home .navbar.navbar-header-wrap .nav .menu-item.rek-home-link:not(.rek-is-active) > a {
    background-color: transparent !important;
    color: var(--rek-menu-default-color) !important;
}

.home .navbar.navbar-header-wrap .nav .menu-item.rek-is-active > .nav-link,
.home .navbar.navbar-header-wrap .nav .menu-item.rek-is-active > a {
    background-color: var(--rek-menu-active-bg) !important;
    color: var(--rek-menu-active-text) !important;
}

.rek-news-footer .rek-news-more-button,
.rek-news-more-button,
.rek-news-footer .rek-news-more-button.btn-default,
.rek-news-more-button.btn-default {
    background-color: var(--rek-news-button-bg, #ff5e14) !important;
    border-color: var(--rek-news-button-bg, #ff5e14) !important;
    color: var(--rek-news-button-text, #ffffff) !important;
}

.rek-stat-card .rek-stat-label,
.rek-stat-label {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}
