:root {
    --cafente-page: #141516;
    --cafente-header-top: #080d27;
    --cafente-header-bottom: #272945;
    --cafente-panel: #1c1f3a;
    --cafente-card: #252638;
    --cafente-card-footer: rgba(19, 18, 29, 0.42);
    --cafente-border: #3d435a;
    --cafente-orange: #ff7e07;
    --cafente-yellow: #ffd530;
    --cafente-white: #ffffff;
}

html {
    background: var(--cafente-page);
}

body,
body button,
body input,
body select,
body textarea {
    font-family: Arial, Helvetica, sans-serif;
}

body.home,
body.home #wrapper,
body.home #main,
body.home #content,
body.home .dark-page-wrapper,
body.home .section,
body.home .section-content {
    background: var(--cafente-page) !important;
}

body.home {
    color: var(--cafente-white);
    overflow-x: hidden;
}

body.home #content > .section {
    min-height: 100vh;
    padding: 0 0 48px !important;
}

body.home #content > .section > .section-bg {
    display: none !important;
}

body.home #content > .section > .section-content {
    padding: 0 !important;
}

/* Header */
#header {
    position: sticky !important;
    top: 0;
    z-index: 9999;
    height: 99px;
    background: linear-gradient(180deg, var(--cafente-header-top) 0%, var(--cafente-header-bottom) 100%) !important;
}

#header .header-wrapper,
#header .header-main,
#header .header-bg-container,
#header .header-bg-color {
    height: 99px !important;
    min-height: 99px !important;
}

#header .header-wrapper {
    position: static !important;
    background: transparent !important;
}

#header .header-main,
#header .header-bg-color {
    background: linear-gradient(180deg, var(--cafente-header-top) 0%, var(--cafente-header-bottom) 100%) !important;
}

#header .header-bg-image,
#header .top-divider {
    display: none !important;
}

#header .header-inner.container {
    display: grid !important;
    grid-template-columns: 250px minmax(0, 1fr) 191px;
    column-gap: 40px;
    align-items: center;
    width: calc(100% - 32px);
    max-width: 1130px !important;
    height: 99px !important;
    min-height: 99px !important;
    margin: 0 auto;
    padding: 0 !important;
}

#header #logo {
    grid-column: 1;
    display: flex;
    align-items: center;
    width: 250px !important;
    height: 99px;
    margin: 0 !important;
    padding: 0 !important;
}

#header #logo a {
    display: flex;
    align-items: center;
    width: 250px;
    height: 99px;
}

#header #logo img,
#header #logo .header-logo,
#header #logo .header-logo-dark {
    width: 250px !important;
    max-width: 250px !important;
    height: auto !important;
    max-height: 83px !important;
    margin: 0 !important;
    object-fit: contain;
}

#header .flex-left.hide-for-medium {
    grid-column: 2;
    display: flex !important;
    align-items: center;
    justify-content: stretch;
    width: 100%;
    min-width: 0;
    height: 99px;
}

#header .flex-right.hide-for-medium {
    display: none !important;
}

#header .header-nav-main.nav-left {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 99px;
    margin: 0;
    gap: 0;
}

#header .header-nav-main > li {
    position: relative;
    display: flex;
    align-items: center;
    height: 99px;
    margin: 0 !important;
}

#header .header-nav-main > li > a.nav-top-link {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 45px;
    padding: 0 !important;
    color: var(--cafente-white) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

#header .header-nav-main > li.active > a.nav-top-link,
#header .header-nav-main > li.current-menu-item > a.nav-top-link,
#header .header-nav-main > li > a.nav-top-link:hover {
    color: var(--cafente-yellow) !important;
}

#header .header-nav-main > li.active > a.nav-top-link::after,
#header .header-nav-main > li.current-menu-item > a.nav-top-link::after {
    position: absolute;
    right: -10px;
    bottom: 0;
    left: -10px;
    height: 2px;
    background: var(--cafente-yellow);
    content: "";
}

#header .header-nav-main > li > a.nav-top-link::before {
    display: none !important;
}

#header .cafente-hide-menu-item,
#header #menu-item-304 {
    display: none !important;
}

.cafente-header-actions {
    grid-column: 3;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 191px;
    gap: 10px;
}

.cafente-header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}

.cafente-header-cta:hover {
    color: #fff;
    filter: brightness(1.08);
}

.cafente-header-cta--primary {
    width: 101px;
    border: 1px solid var(--cafente-orange);
    background: var(--cafente-orange);
    color: #fff;
}

.cafente-header-cta--secondary {
    width: 80px;
    border: 1px solid var(--cafente-orange);
    background: transparent;
    color: #ff9435;
}

/* Homepage title and supplied banner */
body.home .section-title-container {
    width: calc(100% - 32px);
    max-width: 1300px !important;
    margin: 14px auto 0 !important;
    padding: 0 0 0 16px !important;
}

body.home .section-title-container .section-title {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    color: #fff !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: left !important;
    text-transform: none !important;
}

body.home .section-title-container .section-title b {
    display: none !important;
}

body.home .section-title-container .section-title-main {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    color: #fff !important;
    font-size: inherit !important;
    line-height: inherit !important;
    text-transform: none !important;
}

.cafente-hero {
    width: calc(100% - 32px);
    max-width: 1300px;
    margin: 13px auto 20px;
}

.cafente-banner-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 1300 / 281;
    overflow: hidden;
    border-radius: 16px;
    background: #1f2235;
}

.cafente-banner-image {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
}

.cafente-banner-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(54, 52, 55, 0.68);
    color: #fff;
    font-size: 38px;
    font-weight: 400;
    line-height: 1;
    transform: translateY(-50%);
    user-select: none;
}

.cafente-banner-arrow--prev {
    left: 10px;
}

.cafente-banner-arrow--next {
    right: 10px;
}

.cafente-banner-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 78px;
    height: 26px;
    padding: 0 10px;
    border-radius: 15px;
    background: rgba(84, 55, 37, 0.66);
    gap: 8px;
    transform: translateX(-50%);
}

.cafente-banner-dots i {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
}

.cafente-banner-dots i.is-active {
    width: 22px;
    background: #fff;
}

/* Filters */
body.home .colatv-home-wrap {
    width: calc(100% - 32px) !important;
    max-width: 1300px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

body.home #colatv-sport-tabs {
    display: none !important;
}

body.home #colatv-filter-tabs.colatv-filters {
    display: flex !important;
    align-items: center;
    width: 100%;
    min-height: 69px;
    margin: 0 0 15px !important;
    padding: 15px 16px !important;
    overflow-x: auto;
    overflow-y: hidden;
    border: 1px solid var(--cafente-border);
    border-radius: 8px;
    background: linear-gradient(180deg, #171b34 0%, #20233f 100%) !important;
    box-sizing: border-box;
    flex-wrap: nowrap !important;
    gap: 20px !important;
    scrollbar-width: none;
}

body.home #colatv-filter-tabs::-webkit-scrollbar {
    display: none;
}

body.home #colatv-filter-tabs .filter-tab {
    display: inline-flex !important;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 39px;
    margin: 0 !important;
    padding: 6px 16px !important;
    border: 1px solid var(--cafente-border) !important;
    border-radius: 6px !important;
    background: transparent !important;
    color: #f6f6f7 !important;
    box-shadow: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    gap: 7px !important;
    cursor: pointer;
    opacity: 1 !important;
}

body.home #colatv-filter-tabs .filter-tab.active {
    border-color: #ff8500 !important;
    background: linear-gradient(180deg, #4b2707 0%, #e77b29 100%) !important;
    box-shadow: 0 0 10px rgba(255, 126, 7, 0.18) !important;
}

.cafente-filter-icon {
    display: block;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.cafente-filter-label {
    display: inline-block;
    color: inherit;
    white-space: nowrap;
}

.cafente-filter-count,
body.home #colatv-filter-tabs .filter-tab > span[id] {
    display: inline-flex !important;
    flex: 0 0 22px;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    margin: 0 !important;
    padding: 0 4px;
    border-radius: 999px;
    background: #3a2a1f;
    color: #fff;
    font-size: 12px !important;
    font-weight: 700;
    line-height: 22px;
}

/* Match list */
body.home .matches-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    column-gap: 20px !important;
    row-gap: 30px !important;
    width: 100%;
    margin: 0 !important;
}

body.home .matches-grid > .match-item {
    position: relative;
    width: 100% !important;
    height: 210px !important;
    min-height: 210px !important;
    margin: 0 !important;
    overflow: hidden;
    border: 1px solid var(--cafente-border) !important;
    border-radius: 7px !important;
    background-color: var(--cafente-card) !important;
    background-image: url("../images/bg-match.png") !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    box-shadow: none !important;
    box-sizing: border-box;
}

body.home .match-item.live-match {
    border-color: rgba(34, 197, 94, 0.5) !important;
}

body.home .match-item-inner {
    position: relative;
    display: flex !important;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 0 !important;
}

body.home .match-item-head {
    display: block;
    flex: 0 0 42px;
    height: 42px;
    padding: 8px 16px 4px !important;
    border: 0 !important;
    box-sizing: border-box;
}

body.home .match-item-head-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100%;
    height: 30px;
    margin: 0 !important;
    padding: 0 !important;
    gap: 10px !important;
}

body.home .match-item__comp {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    text-overflow: ellipsis;
    white-space: nowrap;
    opacity: 1 !important;
}

body.home .match-item__time {
    display: inline-flex !important;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 25px;
    padding: 4px 11px !important;
    border: 1px solid #d98b00 !important;
    border-radius: 999px !important;
    background: #1a1e22 !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    opacity: 1 !important;
}

body.home .match-item-body {
    display: block;
    flex: 1 1 auto;
    min-height: 0;
    padding: 7px 16px 10px !important;
    box-sizing: border-box;
}

body.home .match-item-body-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100%;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    gap: 10px !important;
}

body.home .match-team,
body.home .match-home,
body.home .match-away {
    display: flex !important;
    flex: 1 1 0;
    flex-direction: column;
    align-items: center !important;
    justify-content: center;
    min-width: 0;
    height: 100%;
    margin: 0 !important;
    gap: 8px !important;
}

body.home .logo-team {
    flex: 0 0 48px;
    width: 48px !important;
    height: 48px !important;
    margin: 0 !important;
}

body.home .logo-team img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: contain !important;
}

body.home .name-team,
body.home .match-home .name-team,
body.home .match-away .name-team {
    display: block;
    width: 100%;
    max-width: 138px !important;
    overflow: hidden;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-overflow: ellipsis;
    white-space: nowrap;
    opacity: 1 !important;
}

body.home .match-overview {
    display: flex !important;
    flex: 0 0 80px;
    align-items: center;
    justify-content: center;
    min-width: 80px !important;
    min-height: 25px;
    margin: 0 !important;
    padding: 2px 12px !important;
    border: 1px solid #1456ff !important;
    border-radius: 999px !important;
    background: linear-gradient(280deg, #1553ef 22%, #0c3089 44%, #0c1a4c 75%) !important;
    box-sizing: border-box;
    gap: 5px !important;
}

body.home .vs-match {
    display: block;
    padding: 0 !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
}

body.home .match-score-live {
    padding: 0 !important;
    color: #fff !important;
    font-size: 18px !important;
    line-height: 1.1 !important;
}

body.home .quick-stats {
    display: none !important;
}

body.home .match-item-footer {
    position: relative;
    display: flex !important;
    flex: 0 0 65px;
    align-items: center;
    width: 100%;
    height: 65px;
    padding: 10px 15px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: var(--cafente-card-footer) !important;
    box-sizing: border-box;
}

body.home .blv-slider {
    width: 100%;
    overflow-x: auto !important;
    overflow-y: hidden;
    scrollbar-width: none;
}

body.home .blv-slider::-webkit-scrollbar {
    display: none;
}

body.home .blv-list {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: max-content;
    min-width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    gap: 8px !important;
}

body.home .blv-item-scl {
    flex: 0 0 auto;
    margin: 0 !important;
}

body.home .blv-link {
    position: relative;
    z-index: 6;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    margin: 0 !important;
    padding: 5px 10px !important;
    border-radius: 999px !important;
    background: #353441 !important;
    color: #fff !important;
    text-decoration: none !important;
    gap: 6px !important;
}

body.home .blv-item-scl .blv-avatar {
    flex: 0 0 24px;
    width: 24px !important;
    height: 24px !important;
    overflow: hidden;
    border: 2px solid #22c55e;
    border-radius: 50%;
}

body.home .blv-item-scl .blv-avatar img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: cover !important;
}

body.home .blv-item-scl .blv-name {
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    white-space: nowrap;
}

@media (max-width: 1199px) {
    #header .header-inner.container {
        grid-template-columns: 190px minmax(0, 1fr) 170px;
        column-gap: 16px;
        width: calc(100% - 24px);
        max-width: none !important;
    }

    #header #logo,
    #header #logo a {
        width: 190px !important;
    }

    #header #logo img,
    #header #logo .header-logo,
    #header #logo .header-logo-dark {
        width: 190px !important;
        max-width: 190px !important;
    }

    #header .header-nav-main > li > a.nav-top-link {
        font-size: 13px !important;
    }

    .cafente-header-actions {
        width: 170px;
        gap: 8px;
    }

    .cafente-header-cta {
        height: 42px;
        font-size: 12px;
    }

    .cafente-header-cta--primary {
        width: 92px;
    }

    .cafente-header-cta--secondary {
        width: 70px;
    }

    body.home .matches-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        column-gap: 18px !important;
        row-gap: 22px !important;
    }
}

@media (max-width: 1024px) {
    #header,
    #header .header-wrapper,
    #header .header-main,
    #header .header-bg-container,
    #header .header-bg-color {
        height: 64px !important;
        min-height: 64px !important;
    }

    #header .header-inner.container {
        position: relative;
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 64px !important;
        min-height: 64px !important;
        padding: 0 12px !important;
    }

    #header .hide-for-medium,
    #header .flex-left.hide-for-medium,
    #header .flex-right.hide-for-medium,
    #header .cafente-header-actions {
        display: none !important;
    }

    #header .show-for-medium {
        display: flex !important;
    }

    #header #logo {
        display: flex;
        flex: 0 0 165px;
        order: 2;
        width: 165px !important;
        height: 64px;
        margin: 0 auto !important;
    }

    #header #logo a {
        width: 165px !important;
        height: 64px;
    }

    #header #logo img,
    #header #logo .header-logo,
    #header #logo .header-logo-dark {
        width: 165px !important;
        max-width: 165px !important;
        max-height: 55px !important;
    }

    #header .flex-left.show-for-medium {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 12px;
        z-index: 3;
        display: flex !important;
        align-items: center;
        width: 44px;
    }

    #header .flex-right.show-for-medium {
        position: absolute;
        right: 12px;
        width: 44px;
    }

    #header .mobile-nav,
    #header .mobile-nav > li {
        width: 44px;
        height: 44px;
        margin: 0 !important;
    }

    #header .mobile-nav .nav-icon > a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0 !important;
        color: #fff;
    }

    .off-canvas .sidebar-menu,
    #main-menu .sidebar-menu {
        background: linear-gradient(180deg, #0b102b 0%, #242642 100%) !important;
    }

    #main-menu .nav-sidebar > li > a {
        color: #fff !important;
        font-size: 15px;
        font-weight: 600;
        text-transform: none;
    }

    #main-menu .cafente-hide-menu-item {
        display: none !important;
    }

    #main-menu .cafente-mobile-actions {
        display: flex;
        padding: 16px 20px;
        gap: 10px;
    }

    #main-menu .cafente-mobile-cta {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: auto !important;
        min-height: 42px;
        padding: 0 12px !important;
        border-radius: 6px;
        font-size: 12px !important;
        font-weight: 700 !important;
    }

    #main-menu .cafente-mobile-cta--primary {
        border: 1px solid var(--cafente-orange);
        background: var(--cafente-orange);
        color: #fff !important;
    }

    #main-menu .cafente-mobile-cta--secondary {
        border: 1px solid var(--cafente-orange);
        color: #ff9435 !important;
    }

    body.home .section-title-container {
        margin-top: 16px !important;
    }
}

@media (max-width: 767px) {
    body.home #content > .section {
        padding-bottom: 32px !important;
    }

    body.home .section-title-container,
    .cafente-hero,
    body.home .colatv-home-wrap {
        width: calc(100% - 24px) !important;
    }

    body.home .section-title-container {
        margin-top: 14px !important;
        padding-left: 0 !important;
    }

    body.home .section-title-container .section-title {
        font-size: 24px !important;
        line-height: 1.25 !important;
    }

    .cafente-hero {
        margin-top: 12px;
        margin-bottom: 14px;
    }

    .cafente-banner-frame {
        border-radius: 9px;
    }

    .cafente-banner-arrow {
        width: 34px;
        height: 34px;
        font-size: 28px;
    }

    .cafente-banner-arrow--prev {
        left: 5px;
    }

    .cafente-banner-arrow--next {
        right: 5px;
    }

    .cafente-banner-dots {
        bottom: 5px;
        min-width: 58px;
        height: 20px;
        padding: 0 7px;
        gap: 5px;
    }

    .cafente-banner-dots i {
        width: 6px;
        height: 6px;
    }

    .cafente-banner-dots i.is-active {
        width: 16px;
    }

    body.home #colatv-filter-tabs.colatv-filters {
        min-height: 58px;
        margin-bottom: 14px !important;
        padding: 9px !important;
        gap: 8px !important;
    }

    body.home #colatv-filter-tabs .filter-tab {
        height: 40px;
        padding: 6px 12px !important;
        font-size: 13px !important;
        gap: 6px !important;
    }

    body.home .matches-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        row-gap: 16px !important;
    }

    body.home .matches-grid > .match-item {
        height: 200px !important;
        min-height: 200px !important;
    }

    body.home .match-item-head {
        flex-basis: 40px;
        height: 40px;
        padding: 7px 12px 3px !important;
    }

    body.home .match-item-body {
        padding: 6px 12px 9px !important;
    }

    body.home .match-item-footer {
        flex-basis: 60px;
        height: 60px;
        padding: 8px 10px !important;
    }

    body.home .logo-team {
        flex-basis: 44px;
        width: 44px !important;
        height: 44px !important;
    }

    body.home .name-team,
    body.home .match-home .name-team,
    body.home .match-away .name-team {
        max-width: 110px !important;
        font-size: 12px !important;
    }

    body.home .match-overview {
        flex-basis: 74px;
        min-width: 74px !important;
    }

    body.home .blv-item-scl .blv-name {
        font-size: 11px !important;
    }
}

@media (max-width: 389px) {
    #header #logo,
    #header #logo a {
        width: 155px !important;
    }

    #header #logo img,
    #header #logo .header-logo,
    #header #logo .header-logo-dark {
        width: 155px !important;
        max-width: 155px !important;
    }

    body.home .section-title-container .section-title {
        font-size: 22px !important;
    }

    body.home .match-item__comp,
    body.home .match-item__time {
        font-size: 11px !important;
    }

    body.home .match-overview {
        flex-basis: 68px;
        min-width: 68px !important;
    }
}
