﻿html, body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    color: #212529;
    background-color: #ffffff;
    overflow-x: hidden;
}

main {
    padding-top: 78px;
    min-height: calc(100vh - 58px);
}




#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* =========================
   CUBE NAVBAR
   ========================= */
/* BASE */
.cube-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    min-height: 78px;
    z-index: 1030;
    background-color: #111111 !important; /* DEFAULT CRNO */
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

    /* HOME ONLY */
    .cube-navbar.nav-home {
        background-color: transparent !important;
        box-shadow: none !important;
    }

        /* HOME SCROLL */
        .cube-navbar.nav-home.nav-scrolled {
            background-color: #111111 !important;
            box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
        }

    /* INNER PAGES (force override) */
    .cube-navbar.nav-inner {
        background-color: #111111 !important;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18) !important;
    }
.cube-navbar.nav-scrolled {
    background-color: rgba(17,17,17,1) !important;
    backdrop-filter: blur(6px);
}

.header {
    background: transparent !important;
}




.cube-brand {
    display: inline-flex;
    align-items: center;
    font-size: 1.45rem;
    font-weight: 700;
    text-decoration: none;
    line-height: 1;
}

    .cube-brand:hover {
        text-decoration: none;
    }

.cube-brand-accent {
    color: #ea5324;
}

.cube-brand-text {
    color: #ffffff;
}

#cubeNavbarMain.nav-hero,
#cubeNavbarMain.nav-home {
    background-color: transparent !important;
    box-shadow: none !important;
}

    #cubeNavbarMain.nav-hero.nav-scrolled,
    #cubeNavbarMain.nav-home.nav-scrolled {
        background-color: #111111 !important;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
    }
main.main-hero-page {
    padding-top: 0;
}

/* TOGGLER */

.cube-navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 0.45rem 0.65rem;
    border-radius: 10px;
    background-color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    min-height: 42px;
}

    .cube-navbar-toggler:focus {
        box-shadow: none;
        border-color: #ea5324;
    }

.cube-toggler-icon {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 20px;
    height: 16px;
}

    .cube-toggler-icon span {
        display: block;
        width: 20px;
        height: 2px;
        background-color: #ffffff;
        border-radius: 2px;
    }

/* =========================
   NAV LINKS
   ========================= */

.navbar .cube-nav-link,
.navbar .cube-nav-link:link,
.navbar .cube-nav-link:visited {
    color: #ffffff !important;
    font-size: 1rem;
    font-weight: 400 !important;
    padding: 0.65rem 1rem !important;
    text-decoration: none !important;
    position: relative;
    display: inline-block;
    transition: color 0.25s ease;
}

    /* underline hidden */
    .navbar .cube-nav-link::after {
        content: "";
        position: absolute;
        left: 1rem;
        right: 1rem;
        bottom: 0.3rem;
        height: 2px;
        background-color: transparent;
        transition: background-color 0.25s ease;
    }

    /* hover samo malo svetlije belo */
    .navbar .cube-nav-link:hover,
    .navbar .cube-nav-link:focus {
        color: rgba(255, 255, 255, 0.75) !important;
    }

        /* nema underline na hover */
        .navbar .cube-nav-link:hover::after,
        .navbar .cube-nav-link:focus::after {
            background-color: transparent;
        }


    /* ACTIVE */
    .navbar .cube-nav-link.active {
        color: #ffffff !important; /* ostaje belo */
    }

        /* ACTIVE underline */
        .navbar .cube-nav-link.active::after {
            background-color: #ea5324;
            height: 3px;
            bottom: 0;
        }

/* CTA */

.cube-cta-item {
    margin-left: 1rem;
}

.cube-btn-primary,
.cube-btn-primary:link,
.cube-btn-primary:visited {
    background-color: #ea5324;
    color: #ffffff !important;
    border: 1px solid #ea5324;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.7rem 1.2rem;
    text-decoration: none !important;
    white-space: nowrap;
    transition: all 0.25s ease;
}

    .cube-btn-primary:hover,
    .cube-btn-primary:focus {
        background-color: #f16539;
        border-color: #f16539;
        color: #ffffff !important;
        text-decoration: none !important;
        transform: translateY(-1px);
    }





.tv-page {
    margin-top: -78px;
}






/* =========================================================
   MOBILE / TABLET
   ========================================================= */

@media (max-width: 991.98px) {
    .tv-page {
        margin-top: -74px;
    }

    .cube-navbar {
        min-height: 74px;
    }

    .cube-navbar-container {
        min-height: 74px;
        padding-top: 0.45rem;
        padding-bottom: 0.45rem;
    }

    /* BRAND / LOGO */
    .cube-brand {
        display: flex;
        align-items: center;
        max-width: calc(100% - 70px);
        margin-right: 0.75rem;
        font-size: 1rem;
        line-height: 1.1;
        flex-shrink: 1;
        min-width: 0;
    }

        .cube-brand img,
        .navbar-brand img {
            height: 30px;
            width: auto;
            max-width: 100%;
            object-fit: contain;
            display: block;
        }

        .cube-brand-text,
        .cube-brand span,
        .navbar-brand span {
            font-size: 1rem;
            line-height: 1.1;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

    /* TOGGLER */
    .cube-navbar-toggler {
        display: inline-flex !important;
        margin-left: auto;
        flex-shrink: 0;
    }

    /* COLLAPSE MENU */
    .cube-navbar-collapse {
        margin-top: 0.9rem;
        background-color: #111111;
        border: 1px solid rgba(255, 255, 255, 0.10);
        border-radius: 14px;
        padding: 0.7rem 0.9rem;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
    }

    .cube-navbar-nav {
        align-items: stretch !important;
        gap: 0;
    }

    .cube-nav-link,
    .cube-nav-link:link,
    .cube-nav-link:visited {
        display: block;
        color: #ffffff !important;
        font-size: 1rem;
        font-weight: 400 !important;
        padding: 0.95rem 0.25rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        text-decoration: none !important;
    }

        .cube-nav-link:hover,
        .cube-nav-link:focus,
        .cube-nav-link.active {
            color: #ff773b !important;
            font-weight: 400 !important;
            text-decoration: none !important;
        }

    .cube-navbar-nav .nav-item:nth-last-child(2) .cube-nav-link {
        border-bottom: none;
    }

    .cube-cta-item {
        margin-left: 0;
        margin-top: 1rem;
    }

    .cube-btn-primary {
        display: block;
        width: 100%;
        text-align: center;
        font-size: 1rem;
        padding: 0.9rem 1rem;
    }
}



@media (max-width: 575.98px) {
    .tv-page {
        margin-top: -70px;
    }

    .cube-navbar {
        min-height: 70px;
    }

    .cube-navbar-container {
        min-height: 70px;
    }

    /* BRAND / LOGO */
    .cube-brand {
        max-width: calc(100% - 64px);
        font-size: 0.92rem;
    }

        .cube-brand img,
        .navbar-brand img {
            height: 24px;
        }

        .cube-brand-text,
        .cube-brand span,
        .navbar-brand span {
            font-size: 0.9rem;
        }

    .cube-navbar-collapse {
        border-radius: 12px;
        padding: 0.65rem 0.8rem;
    }

    .cube-nav-link {
        font-size: 0.98rem;
    }

    .cube-btn-primary {
        font-size: 0.98rem;
    }
}

/* ===== TV MOBILE GAP FINAL OVERRIDE ===== */
@media (max-width: 767.98px) {
    .hero-video-section {
        min-height: auto !important;
        height: auto !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .hero-video {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        margin-bottom: 0 !important;
    }

    .hero-video-overlay {
        display: none !important;
    }

    .tv-broadcast-section {
        margin-top: 0 !important;
        padding-top: 1rem !important;
        padding-bottom: 2rem !important;
    }

        .tv-broadcast-section .container,
        .tv-broadcast-section .container-fluid,
        .tv-container {
            margin-top: 0 !important;
            padding-top: 0 !important;
        }

    .tv-status-bar {
        display: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .tv-hero-panel {
        margin-top: 0 !important;
        padding-top: 0 !important;
        gap: 0.75rem !important;
    }

    .tv-hero-text {
        margin-top: 0 !important;
        padding-top: 10 !important;
    }

        .tv-section-tag,
        .tv-hero-text h1,
        .tv-hero-text p,
        .tv-subtitle {
            margin-top: 0 !important;
        }
}


/* DESKTOP */
@media (min-width: 992px) {
    .cube-navbar-toggler {
        display: none !important;
    }
}

