/**
 * Prynova site overrides — loaded after theme + Vite CSS.
 * Upload this file to production when you cannot run npm build on the server.
 */

/* Home-8 about revenue card */
.tv-about-section.style-7 .image .content-box {
    padding: 0 48px 60px !important;
    gap: 24px;
    align-items: flex-end;
}

.tv-about-section.style-7 .image .content-box .content {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    margin-top: 50px;
    padding-right: 12px;
}

.tv-about-section.style-7 .image .content-box .content h3 {
    margin-bottom: 12px;
}

.tv-about-section.style-7 .image .content-box .content p,
.tv-about-section.style-7 .image .content-box .content .cms-content {
    margin: 0;
    line-height: 1.65;
    max-width: none;
    text-wrap: pretty;
}

.tv-about-section.style-7 .image .content-box .icon {
    flex: 0 0 auto;
}

@media (max-width: 991px) {
    .tv-about-section.style-7 .image .content-box {
        padding: 0 32px 48px !important;
    }
}

@media (max-width: 575px) {
    .tv-about-section.style-7 .image .content-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 24px 36px !important;
    }

    .tv-about-section.style-7 .image .content-box .content {
        margin-top: 32px;
        padding-right: 0;
    }
}

/* Home-8 service cards — keep top icon colors on hover */
.service-box-eight:hover .service-top .logo img {
    filter: none !important;
}

/* mobile-header-fix-v5 - unified navy header on ALL pages (style1 + style2) */

.tv-header.header-style1 .header-top,
.tv-header.header-style2 .header-top {
    display: none !important;
}

/* Inner pages: header in document flow (matches Inotek header-style1) */
.tv-header.header-style1 {
    position: relative !important;
    z-index: 999;
    width: 100%;
}

/* Homepage home-8: overlay header (matches Inotek header-style2) — avoids white gap above hero mt-30 */
.tv-header.header-style2 {
    position: absolute !important;
    z-index: 999;
    width: 100%;
}

.tv-header.header-style1 .main-wrapper,
.tv-header.header-style2 .main-wrapper {
    padding: 0 70px;
    position: relative;
    border: none;
    background-color: rgba(6, 17, 83, 0.92) !important;
    background: rgba(6, 17, 83, 0.92) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.tv-header.header-style1 .main-wrapper::before,
.tv-header.header-style2 .main-wrapper::before {
    content: "";
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 0;
    height: 1px;
    background: var(--bs-bg-color5);
}

@media (max-width: 1399px) {
    .tv-header.header-style1 .main-wrapper::before,
    .tv-header.header-style2 .main-wrapper::before {
        left: 0;
        right: 0;
    }
}

@media (max-width: 1199px) {
    .tv-header.header-style1 .main-wrapper,
    .tv-header.header-style2 .main-wrapper {
        padding: 0 12px;
    }
}

.tv-header.header-style1 .main-wrapper .main-menu > ul > li > a,
.tv-header.header-style1 .main-wrapper .main-menu > ul > li.menu-item-has-children > a::before,
.tv-header.header-style1 .main-wrapper .main-menu a,
.tv-header.header-style1 .main-wrapper .main-menu .active a,
.tv-header.header-style2 .main-wrapper .main-menu > ul > li > a,
.tv-header.header-style2 .main-wrapper .main-menu > ul > li.menu-item-has-children > a::before,
.tv-header.header-style2 .main-wrapper .main-menu a,
.tv-header.header-style2 .main-wrapper .main-menu .active a {
    color: #fff !important;
}

.tv-header.header-style1 .navbar-right .sidebar-btn,
.tv-header.header-style2 .navbar-right .sidebar-btn {
    border-color: #fff !important;
}

.tv-header.header-style1 .navbar-right .sidebar-btn .line,
.tv-header.header-style2 .navbar-right .sidebar-btn .line {
    background: #fff !important;
}

@media (max-width: 991px) {
    .tv-header.header-style1 .main-wrapper,
    .tv-header.header-style2 .main-wrapper {
        background-color: rgba(6, 17, 83, 0.92) !important;
        background: rgba(6, 17, 83, 0.92) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    /* Navy bar uses light logo on mobile (override template dark-logo swap) */
    .tv-header .menu-area .header-logo a img:first-child {
        display: block !important;
    }

    .tv-header .menu-area .header-logo a img:last-child {
        display: none !important;
    }

    .sticky-header .sidebar-btn {
        border-color: #fff !important;
    }

    .sticky-header .sidebar-btn .line {
        background: #fff !important;
    }
}

/* Mobile slide-out menu - match desktop/web header colors */
.mobile-menu-wrapper .mobile-logo,
.mobile-menu-wrapper .mobile-menu-area {
    background-color: rgba(6, 17, 83, 0.98) !important;
    background: rgba(6, 17, 83, 0.98) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mobile-menu {
    border-bottom-color: var(--bs-bg-color5) !important;
}

.mobile-menu ul li,
.mobile-menu ul li:first-child {
    border-color: var(--bs-bg-color5) !important;
}

.tv-project-section.style-5 .project-right .project-tags {
    display: none !important;
}
