﻿/*Start Back to top*/
.back-to-top {
    display: flex;
    position: fixed;
    right: 35px;
    bottom: 100px;
    width: 60px;
    height: 60px;
    background-color: var(--white);
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    cursor: pointer;
    border: 1px solid #E5E5E5;
    opacity: 0;
}

    .back-to-top.active {
        opacity: 1;
        pointer-events: auto;
        bottom: 50px;
        z-index: 999;
    }
/*End Back to top*/

/*Start Ảnh thumbnail mặc định*/
img.loading {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    animation: shimmer 15s infinite;
}

.lazy-loaded {
    background-color: transparent;
    opacity: 1;
}

@keyframes shimmer {
    from {
        background-position: -1000px 0;
    }

    to {
        background-position: 1000px 0;
    }
}
/*End Ảnh thumbnail mặc định*/

:root {
    --color-maroon: #2E0000;
    --color-primary: #7F0000;
    --color-gray: #BFC6C9;
    --color-red: #E32126;
    --border-cl: #E8E8ED;
    --sub-menu-cl: #0B1215;
    --sub-menu-title-cl: #0B1215;
}

*, *::after, *::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
/* INTER FONT */
@font-face {
    font-family: 'Inter';
    src: url('../asset/fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('../asset/fonts/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
}
/* ROBOTO FONT */
@font-face {
    font-family: 'Roboto Condensed';
    src: url('../asset/fonts/Roboto_Condensed/RobotoCondensed-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto Condensed';
    src: url('../asset/fonts/Roboto_Condensed/RobotoCondensed-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
}
/* BARLOW SEMI CONDENSED FONT */
@font-face {
    font-family: 'Barlow Semi Condensed';
    src: url('../asset/fonts/Barlow_Semi_Condensed/BarlowSemiCondensed-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Barlow Semi Condensed';
    src: url('../asset/fonts/Barlow_Semi_Condensed/BarlowSemiCondensed-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}
/* ROBOTO SLAB FONT */
@font-face {
    font-family: 'Roboto Slab';
    src: url('../asset/fonts/Roboto_Slab/RobotoSlab-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}
/* SOURCE SERIF FONT */
@font-face {
    font-family: 'Source Serif';
    src: url('../asset/fonts/Source_Serif_Pro/SourceSerifPro-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Source Serif';
    src: url('../asset/fonts/Source_Serif_Pro/SourceSerifPro-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Source Serif';
    src: url('../asset/fonts/Source_Serif_Pro/SourceSerifPro-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Source Serif';
    src: url('../asset/fonts/Source_Serif_Pro/SourceSerifPro-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Source Serif';
    src: url('../asset/fonts/Source_Serif_Pro/SourceSerifPro-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Source Serif';
    src: url('../asset/fonts/Source_Serif_Pro/SourceSerifPro-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

/* HELVETICA FONT */
@font-face {
    font-family: 'Helvetica';
    src: url('../asset/fonts/Helvetica.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Bold';
    src: url('../asset/fonts/Helvetica-Bold.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

body {
    font-size: 16px;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    padding: 0 16px;
    max-width: 1320px;
    margin-right: auto;
    margin-left: auto;
}
    /* HEADER Start */
    .container:has(.nav-wrapper) {
        z-index: 100;
        position: sticky;
        top: 0;
        background: linear-gradient(91.54deg, #B01F23 2.79%, #F47422 169.52%);
        background-image: url('https://cloudwebhn.tek4tv.vn/image/header.png');
        background-repeat: no-repeat;
        background-position: center center;
        background-size: 100% 100%;
        /* background-color: #EEF4F6; */
    }

        .container:has(.nav-wrapper)::before {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: calc(100vw - 16px);
            height: 100%;
            background: inherit;
            z-index: -1;
        }

.top-header {
    padding: 12px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-image: url('https://cloudwebhn.tek4tv.vn/image/headerbg.png');
    background-repeat: no-repeat;
    background-size: 41.83% 100%;
    background-position: 80% center;
}

header .container {
    position: relative;
}

.search-box {
    display: flex;
    align-items: center;
    background-color: #EEF4F6;
    width: 100%;
    border-radius: 29px;
    padding-left: 12px;
}

.top-header .search-box {
    max-width: 280px;
}

.search-box .search-btn {
    width: 20px;
    height: 20px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    margin-right: 8px;
}

.search-box .search-input {
    flex: 1;
    border: none;
    background-color: transparent;
    outline: none;
    height: 40px;
    font-size: 16px;
    line-height: 24px;
}

.top-header .logo .wrap {
    display: flex;
    align-items: center;
}

.top-header .logo .thumb {
    width: 42px;
    height: 40px;
    object-fit: cover;
    margin-right: 9px;
}

.top-header .logo .text {
    font-family: Helvetica Bold;
    font-weight: 700;
    font-size: 14.18px;
    line-height: 20px;
    color: var(--color-red);
}

.top-header .social-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    max-width: 280px;
}

    .top-header .social-bar .social-item .item {
        width: 20px;
        height: 20px;
        object-fit: cover;
    }

    .top-header .social-bar .social-item > * {
        display: inline-block;
        width: 20px;
        height: 20px;
    }

        .top-header .social-bar .social-item > *:nth-last-child(n+2) {
            margin-right: 36px;
        }

.top-header .user-box {
    position: relative;
    margin-left: 26px;
    padding-left: 16px;
    /* border-left: 2px solid #EEF4F6; */
}

    .top-header .user-box::before {
        content: '';
        top: 50%;
        transform: translateY(-50%);
        position: absolute;
        left: 0px;
        height: 24px;
        width: 1px;
        background-color: #EEF4F6;
    }

    .top-header .user-box .user {
        border-radius: 20px;
        padding: 10px;
        background-color: #EEF4F6;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
    }

        .top-header .user-box .user > * {
            width: 20px;
            height: 20px;
            object-fit: contain;
        }

            .top-header .user-box .user > *:first-child {
                margin-right: 8px;
            }

.top-header .mobile-nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    position: relative;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
    border-radius: 50%;
    background-color: #EEF4F6;
}

    .top-header .mobile-nav-toggle > * {
        display: block;
        position: absolute;
        height: 2px;
        width: 15px;
        background: #000;
        border-radius: 3px;
        opacity: 1;
        left: 50%;
        transform: translateX(-50%) rotate(0deg);
        transition: .25s ease-in-out;
    }

    .top-header .mobile-nav-toggle span:nth-child(1) {
        top: 13px;
    }

    .top-header .mobile-nav-toggle span:nth-child(2) {
        top: 19px;
    }

    .top-header .mobile-nav-toggle span:nth-child(3) {
        top: 25px;
    }

    .top-header .mobile-nav-toggle.btn-nav--open span:nth-child(1) {
        top: 18px;
        left: 13px;
        -webkit-transform: rotate(135deg);
        transform: rotate(135deg);
    }

    .top-header .mobile-nav-toggle.btn-nav--open span:nth-child(2) {
        opacity: 0;
        left: -60px;
    }

    .top-header .mobile-nav-toggle.btn-nav--open span:nth-child(3) {
        top: 18px;
        left: 13px;
        -webkit-transform: rotate(-135deg);
        transform: rotate(-135deg);
    }

.main-nav .nav-list {
    display: flex;
    gap: 8px;
    max-height: 48px;
    /* max-height: 68px; */
    /* border-bottom: 1px solid var(--border-cl); */
}

.main-nav .nav-item svg path {
    fill: #fff;
}

.main-nav .nav-item {
    position: relative;
    flex-grow: 1;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .main-nav .nav-item.nav-active > *:first-child {
        border-radius: 8px;
        background-color: var(--color-primary);
        color: #fff;
    }

    .main-nav .nav-item:first-child {
        justify-content: flex-start;
    }

    .main-nav .nav-item:last-child {
        justify-content: flex-end;
    }

    .main-nav .nav-item:nth-child(n+2):nth-last-child(n+2) > *:first-child {
        color: #fff;
        text-align: center;
        width: 100%;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: Helvetica, Arial;
        font-weight: 400;
        font-size: 14px;
        transition: background-color 300ms ease;
        border-radius: 8px;
    }

    .main-nav .nav-item:nth-child(n+2):nth-last-child(n+2):hover > *:first-child {
        background-color: #CD8A8A;
        color: #0B1215;
    }

    .main-nav .nav-item:nth-child(n+2):nth-last-child(n+2):hover .sub-list {
        max-height: 316px;
    }

    .main-nav .nav-item .sub-list {
        position: absolute;
        z-index: 100;
        top: 100%;
        left: 0;
        max-height: 0px;
        display: flex;
        flex-direction: column;
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0px 4px 4px -2px #1018280F;
        box-shadow: 0px -1px 12px -2px #10182814;
        padding: 0 8px;
        overflow-y: auto;
        transition: max-height 300ms ease;
    }

.main-nav .sub-list::-webkit-scrollbar {
    width: 0px;
}

.main-nav .sub-list::-webkit-scrollbar-thumb {
    background-color: #E3E8EF;
    border: 4px solid #fff;
    border-radius: 8px;
}

.main-nav .sub-list .sub-item {
    white-space: nowrap;
    list-style: none;
    margin: 4px 0px;
    border-radius: 6px;
    font-family: Roboto Condensed;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}

    .main-nav .sub-list .sub-item > * {
        padding: 8px 12px;
        display: inline-block;
    }

    .main-nav .sub-list .sub-item.active {
        background-color: #FFE5E5;
        color: var(--color-primary);
    }

    .main-nav .sub-list .sub-item:hover {
        background-color: #F8F8F9;
    }

    .main-nav .sub-list .sub-item .sub-des {
        color: #383F42;
        font-size: 12px;
        line-height: 18px;
        margin-top: 2px;
    }

.main-nav .day {
    color: #fff;
    font-family: Roboto Condensed;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
}

.main-nav .time {
    color: #fff;
    font-family: Roboto Condensed;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
}

.main-nav .btn-nav {
    position: relative;
    width: 48px;
    height: 48px;
    /* width: 68px;
  height: 68px; */
    background: var(--color-primary);
    border: none;
    cursor: pointer;
}

    .main-nav .btn-nav:active {
        box-shadow: none;
    }

    .main-nav .btn-nav .nav-dots {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        display: block;
        width: 4px;
        height: 4px;
        border-radius: 2.5px;
        background-color: #fff;
        transition: all 200ms ease-in-out;
    }

        .main-nav .btn-nav .nav-dots::before,
        .main-nav .btn-nav .nav-dots::after {
            position: absolute;
            top: 0;
            left: 0;
            content: "";
            width: 4px;
            height: 4px;
            border-radius: 2.5px;
            background-color: #fff;
            transition: all 200ms ease-in-out;
        }

        .main-nav .btn-nav .nav-dots::before {
            transform: translateX(-8px);
        }

        .main-nav .btn-nav .nav-dots::after {
            transform: translateX(8px);
        }

    .main-nav .btn-nav.btn-nav--open .nav-dots {
        background-color: transparent;
    }

        .main-nav .btn-nav.btn-nav--open .nav-dots::before,
        .main-nav .btn-nav.btn-nav--open .nav-dots::after {
            left: -3px;
            top: 1px;
            height: 2px;
            width: 12px;
        }

        .main-nav .btn-nav.btn-nav--open .nav-dots::before {
            transform: rotate(45deg);
        }

        .main-nav .btn-nav.btn-nav--open .nav-dots::after {
            transform: rotate(-45deg);
        }

.sub-glass-wrap {
    z-index: 1000;
    position: absolute;
    top: 100%;
    background-color: #1F293333;
    width: calc(100vw - 16px);
    height: 100vh;
    left: 50%;
    transform: translateX(-50%);
    max-height: 0;
    transition: max-height, 0.3s ease-in-out;
    overflow-y: hidden;
    overflow-x: hidden;
    z-index: 3;
}

    .sub-glass-wrap::before {
        content: '';
        z-index: -1;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100vw;
        height: 100%;
        background: inherit;
    }

.dropdown-menu--open {
    max-height: 100vh;
}

.sub-wrap {
    position: relative;
    padding: 40px 16px;
    background-color: #ffffff;
    display: grid;
    grid-template-columns: 72% 1fr;
    height: calc(100vh - 243px);
    z-index: 4;
}

    .sub-wrap::before {
        z-index: -1;
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100vw;
        height: 100%;
        background: inherit;
    }

    .sub-wrap .sub-list {
        grid-column: 1/2;
        grid-row: 1/5;
        display: flex;
        flex-wrap: wrap;
        gap: 48px 20px;
        height: calc(100% - 1px);
        overflow-y: auto;
        /* padding-right: 16px; */
        margin-right: 16px;
        border-right: 1px solid var(--border-cl);
    }

        .sub-wrap .sub-list .list {
            width: calc((100% / 5) - 20px);
        }

        .sub-wrap .sub-list .title {
            font-family: Roboto Condensed;
            font-weight: 700;
            font-size: 18px;
            line-height: 25px;
            margin-bottom: 16px;
            color: var(--color-primary);
        }

        .sub-wrap .sub-list .item {
            list-style: none;
            font-family: Roboto Condensed;
            font-weight: 500;
            font-size: 16px;
            line-height: 24px;
            color: var(--sub-menu-cl);
        }

            .sub-wrap .sub-list .item:nth-last-child(n+2) {
                margin-bottom: 12px;
            }

    .sub-wrap .sub-title {
        font-family: Roboto Condensed;
        font-weight: 700;
        font-size: 18px;
        line-height: 25px;
        color: var(--sub-menu-title-cl);
        margin-bottom: 8px;
    }

    .sub-wrap > *:nth-child(n+2):nth-last-child(n+2) {
        padding-bottom: 24px;
        margin-bottom: 24px;
        border-bottom: 1px solid var(--border-cl);
    }

    .sub-wrap .search-wrap {
        grid-column: 2/3;
        grid-row: 1/2;
    }

    .sub-wrap .sub-trend {
        grid-column: 2/3;
        grid-row: 2/3;
    }

    .sub-wrap .sub-social {
        grid-column: 2/3;
        grid-row: 3/4;
    }

    .sub-wrap .trend-list {
        display: flex;
        flex-wrap: wrap;
    }

        .sub-wrap .trend-list .item {
            margin-right: 12px;
            margin-bottom: 12px;
        }

.trend-list .item {
    font-family: Helvetica;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: var(--color-primary);
    padding: 2px 10px;
    border: 1px solid var(--color-primary);
    border-radius: 16px;
}
/* HEADER END */

/* STORY START */
.story-card {
    display: flex;
    flex-direction: column;
}

    .story-card .thumb {
        position: relative;
        margin-bottom: 16px;
    }

        .story-card .thumb .thumb-wrapper {
            background-color: transparent;
            position: relative;
            overflow: hidden;
            height: 0px;
            padding: 0px 0px 56.25%;
            border-radius: 8px;
        }

        .story-card .thumb .thumb-img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        .story-card .thumb .type {
            overflow: hidden;
            display: flex;
            justify-content: start;
            align-items: flex-end;
            position: absolute;
            bottom: 4px;
            left: 4px;
            width: 114px;
            height: 52px;
            border-radius: 0 0 0 8px;
            border-bottom: 1px solid #FFFFFF80;
            border-left: 1px solid #FFFFFF80;
        }

            .story-card .thumb .type .icon {
                width: 28px;
                height: 28px;
                background-color: #FFFFFF;
                display: flex;
                justify-content: center;
                align-items: center;
                border-radius: 4px;
            }

            .story-card .thumb .type .text {
                color: #FFFFFF;
            }

    .story-card .type svg {
        max-width: 18px;
        max-height: 18px;
    }

    .story-card .thumb .type path {
        fill: #383F42;
    }

    .story-card .thumb .status {
        position: absolute;
        top: 4px;
        right: 4px;
        width: 114px;
        height: 52px;
        border-top: 1px solid #FFFFFF80;
        border-right: 1px solid #FFFFFF80;
        border-radius: 0 8px 0 0;
        display: flex;
        padding: 4px;
        justify-content: flex-end;
    }

        .story-card .thumb .status.live path {
            fill: #A31B24;
        }

        .story-card .thumb .status path {
            fill: #ffffff;
        }

    .story-card .thumb.small .status .block {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 20px;
        height: 20px;
    }

    .story-card .thumb.small .type,
    .story-card .thumb.small .status {
        width: 56px;
        height: 32px;
    }

        .story-card .thumb.small .type .icon {
            width: 20px;
            height: 20px;
        }

            .story-card .thumb.small .type .icon svg,
            .story-card .thumb.small .status .block,
            .story-card .thumb.small .status .block svg {
                width: 12px;
                height: 12px;
            }
    /* .story-card .thumb.small .status .block svg{
    width: 12px;
    height: 12px;
} */
    .story-card .title {
        font-family: Source Serif;
        font-weight: 600;
        line-height: 100%;
    }

        .story-card .title > * {
            /*--line-num: 2;*/
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: var(--line-num);
            -webkit-box-orient: vertical;
        }

    .story-card .info .text {
        font-family: Roboto Condensed;
        font-weight: 400;
        color: #383F42;
    }

        .story-card .info .text > * {
            --line-num: 3;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: var(--line-num);
            -webkit-box-orient: vertical;
        }

    .story-card .type {
        align-items: center;
    }

    .story-card .info-wrapper .type {
        display: none;
    }

    .story-card .type .type-icon {
        width: 18px;
        height: 18px;
        object-fit: cover;
    }

    .story-card .type .text {
        font-family: Roboto Condensed;
        font-weight: 700;
        font-size: 14px;
        line-height: 20px;
        color: #383F42;
        margin-left: 9px;
    }
    /* .story-card .info-wrapper .type path{

} */
    .story-card .title-wrap ~ .type.Photostory .text {
        color: #08979C;
    }

    .story-card .title-wrap ~ .type.Photostory path {
        fill: #08979C;
    }

    .story-card .title-wrap ~ .type.eMagazine .text {
        color: #E89A00;
    }

    .story-card .title-wrap ~ .type.eMagazine path {
        fill: #E89A00;
    }

    .story-card .title-wrap ~ .type.Longform .text,
    .story-card .title-wrap ~ .type.Infographic .text {
        color: #7CB305;
    }

    .story-card .title-wrap ~ .type.Longform path,
    .story-card .title-wrap ~ .type.Infographic path {
        fill: #7CB305;
    }

    .story-card .title-wrap ~ .type.News .text,
    .story-card .title-wrap ~ .type.News .text {
        color: var(--color-primary);
    }

    .story-card .title-wrap ~ .type.News path,
    .story-card .title-wrap ~ .type.Live path {
        fill: var(--color-primary);
    }

    .story-card .title-wrap ~ .type.Video path,
    .story-card .title-wrap ~ .type.Audio path,
    .story-card .title-wrap ~ .type.Music path {
        fill: #383F42;
    }
/* STORY END */

/* FOOTER START */

.footer-bg {
    /* background: #2E0000; */
    max-width: calc(100vw - 1px);
    background-image: url('https://cloudwebhn.tek4tv.vn/image/footerbg.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.footer {
    padding: 64px 40px;
}

    .footer > *:nth-last-child(n+2) {
        margin-bottom: 32px;
    }

.footer-search {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 29px;
    padding: 8px 12px;
}

    .footer-search input {
        margin-left: 8px;
        flex: 1;
        border: none;
        background: transparent;
        font-size: 15px;
        outline: none;
        line-height: 24px;
    }

.search-btn {
    width: 20px;
    height: 20px;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 48px 20px;
    width: 100%;
    font-family: 'Roboto Condensed', sans-serif;
}

    .footer-links .link-tap {
        width: calc((100% / 7) - 18px);
    }

    .footer-links .title {
        font-weight: 700;
        font-size: 18px;
        line-height: 25px;
        color: #ffffff;
        margin-bottom: 16px;
    }

    .footer-links .link {
        color: var(--color-gray);
        font-weight: 500;
        font-size: 16px;
        line-height: 24px;
        list-style: none;
    }

        .footer-links .link:nth-last-child(n+2) {
            margin-bottom: 12px;
        }

.footer-logo-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    padding: 32px 0;
}

.footer-logo > * {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-logo span {
    text-transform: uppercase;
    font-family: Helvetica Bold;
    font-weight: 700;
    font-size: 14.1px;
    line-height: 140%;
    color: var(--color-red);
}

.footer-control {
    display: flex;
    align-items: center;
}

    .footer-control > *:nth-child(n+2) {
        position: relative;
        margin-left: 32px;
    }

        .footer-control > *:nth-child(n+2)::after {
            position: absolute;
            content: '';
            top: 50%;
            transform: translateY(-50%);
            left: -15px;
            width: 1px;
            height: 32px;
            background-color: #fff;
        }

.footer-nav-social {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    min-width: 320px;
}

.footer-nav {
    display: flex;
    gap: 18px;
}

    .footer-nav > * {
        font-family: 'Roboto Condensed', sans-serif;
        color: #ffffff;
        text-decoration: none;
        font-weight: 700;
        font-size: 16px;
        line-height: 24px;
    }

.footer-social,
.footer-control .download > * {
    display: flex;
    gap: 12px;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #ffffff;
}

    .footer-social img {
        width: 20px;
        height: 20px;
    }

.footer-control .download {
    display: flex;
    align-items: center;
}

    .footer-control .download > *:nth-last-child(n+2) {
        margin-right: 12px;
    }

    .footer-control .download .img-holder {
        width: 120px;
        height: 40px;
    }

        .footer-control .download .img-holder > * {
            width: 100%;
            height: 100%;
        }

.footer-info {
    display: flex;
    justify-content: space-between;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #ffffff;
}

    .footer-info .footer-contact {
        width: 55.52%;
    }

    .footer-info .footer-address {
        flex: 1;
    }

    .footer-info p {
        margin-bottom: 14px;
    }

    .footer-info .cap {
        text-transform: uppercase;
    }

.accordion-wrap, .nav-wrapper .contact, .nav-wrapper .license {
    display: none;
}
/* FOOTER END */

@media screen and (max-width: 1200px) {
    .footer-links .link-tap {
        width: calc((100% / 5) - 18px);
    }
}

@media screen and (max-width: 600px) {
}

@media screen and (max-width: 1400px) {
    .container {
        max-width: 1140px;
    }
}

@media screen and (max-width: 1200px) {
    .container {
        max-width: 960px;
    }

    .nav-wrapper {
        overflow-y: hidden;
        overflow-x: scroll;
        white-space: nowrap;
    }

        .nav-wrapper::-webkit-scrollbar {
            height: 6px;
            background-color: transparent;
        }

        .nav-wrapper::-webkit-scrollbar-thumb {
            background-color: #656C6F;
            border-radius: 8px;
        }

    .main-nav .nav-item:first-child {
        padding-right: 16px;
        padding-left: 0px;
    }

    .main-nav .nav-item {
        padding: 0px 12px;
    }

        .main-nav .nav-item:last-child {
            padding-right: 0px;
        }

        .main-nav .nav-item:nth-child(n+2):nth-last-child(n+2) > *:first-child {
            padding: 0 12px;
        }

    .sub-wrap .sub-list .list {
        width: calc((100% / 4) - 20px);
    }
}

@media screen and (max-width: 992px) {
    /*Start Back to top*/
    .back-to-top {
        right: 15px;
        width: 45px;
        height: 45px;
    }

        .back-to-top.active {
            opacity: 1;
            pointer-events: auto;
            bottom: 25px;
            z-index: 999;
        }
    /*End Back to top*/

    .container {
        max-width: 720px;
    }

    .sub-wrap {
        grid-template-columns: 66% 1fr;
    }

    .container:has(.nav-wrapper)::before {
        width: 100vw;
    }

    .top-header {
        padding: 8px 0px;
        background-image: none;
    }

        .top-header .logo .thumb {
            width: 34px;
            height: 32px;
            margin-right: 6.77px;
        }

        .top-header .logo .text {
            font-size: 11.28px;
            line-height: 16px;
        }

    /*.main-nav .nav-item:first-child {
        display: none;
    }*/

    .main-nav .nav-item {
        padding: 0;
    }

        .main-nav .nav-item:last-child,
        .top-header .search-box,
        .top-header .social-bar .social-item,
        .top-header .user-box::before,
        .top-header .user-box .user > *:last-child {
            display: none;
        }

    .top-header .social-bar {
        width: unset;
    }

    .top-header .user-box .user > *:first-child {
        margin-right: 0px;
    }

    .top-header .user-box {
        margin-left: 0px;
        padding-left: 0px;
    }

    .top-header .mobile-nav-toggle {
        display: block;
    }

    .main-nav .nav-list {
        max-height: 56px;
        padding: 8px 0;
    }

    .main-nav .nav-item:nth-child(n+2):nth-last-child(n+2) > * {
        line-height: 56px;
    }

    .story-card .thumb.mobile-small .status .block {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 20px;
        height: 20px;
    }

    .story-card .thumb.mobile-small .type,
    .story-card .thumb.mobile-small .status {
        width: 56px;
        height: 32px;
    }

        .story-card .thumb.mobile-small .type .icon {
            width: 20px;
            height: 20px;
        }

            .story-card .thumb.mobile-small .type .icon svg,
            .story-card .thumb.mobile-small .status .block,
            .story-card .thumb.mobile-small .status .block svg {
                width: 12px;
                height: 12px;
            }

    .sub-wrap .sub-list .list {
        width: calc((100% / 3) - 20px);
    }

    .footer-logo-info {
        flex-direction: column;
    }

        .footer-logo-info .footer-logo {
            margin-bottom: 32px;
        }

    .footer-control {
        flex-direction: column;
        align-items: center;
    }

    .footer-nav,
    .footer-social {
        padding-bottom: 16px;
        margin-bottom: 16px;
        position: relative;
    }

    .footer-control > *:nth-child(n+2) {
        margin-left: 0px;
    }

        .footer-control > *:nth-child(n+2)::after {
            display: none;
        }

    .footer-nav::before,
    .footer-social::before {
        position: absolute;
        content: '';
        bottom: 0px;
        height: 1px;
        width: 120px;
        background-color: #fff;
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-social > *:first-child,
    .footer-control .download > *:first-child {
        display: inline-block;
        width: 100%;
        text-align: center;
        margin-bottom: 12px;
    }

    .footer-social,
    .footer-control .download {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-info {
        flex-direction: column;
    }

        .footer-info .footer-contact {
            margin-bottom: 32px;
            width: 100%;
        }

    .footer-nav > * {
        font-size: 14px;
    }
}

@media screen and (max-width: 768px) {
    /*Start Back to top*/
    .back-to-top {
        right: 15px;
        width: 45px;
        height: 45px;
    }

        .back-to-top.active {
            opacity: 1;
            pointer-events: auto;
            bottom: 25px;
            z-index: 999;
        }
    /*End Back to top*/

    #header.on-scroll {
        left: 0;
        top: 0;
        right: 0;
        width: 100%;
        border-radius: 0;
        box-shadow: none;
    }

    .container {
        max-width: 540px;
    }

    .footer {
        padding: 40px 16px;
    }

    .footer-links .link-tap {
        width: calc((100% / 4) - 18px);
    }

    .footer .footer-links {
        display: none;
    }

    .footer > *:nth-last-child(n+2) {
        margin-bottom: 24px;
    }

    .footer-logo-info {
        padding: 24px 0;
    }

    .sub-wrap {
        grid-template-columns: 100%;
        height: 100%;
        height: calc(100vh - 82px);
        overflow-y: auto;
        overflow-x: hidden;
    }

        .sub-wrap .search-wrap {
            grid-column: 1/2;
            grid-row: 1/2;
        }

            .sub-wrap .search-wrap .sub-title {
                display: none;
            }

        .sub-wrap .sub-list {
            display: none;
        }

        .sub-wrap .sub-trend {
            grid-column: 1/2;
            grid-row: 2/3;
        }

        .sub-wrap .sub-social {
            grid-column: 1/2;
            grid-row: 4/5;
        }

    .sub-glass-wrap {
        left: 0;
        right: 0;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        transform: translateX(0);
        height: calc(100vh - 56px);
    }

    .dropdown-menu--open {
        max-height: unset;
    }

    .accordion-wrap {
        display: block;
        margin-bottom: 0px !important;
        border-bottom: none !important;
    }

    button.accordion {
        width: 100%;
        background-color: transparent;
        border: none;
        outline: none;
        text-align: left;
        padding: 16px 0px;
        color: var(--color-primary);
        cursor: pointer;
        font-family: Roboto Condensed;
        font-weight: 700;
        font-size: 16px;
        line-height: 24px;
        border-bottom: 1px solid var(--border-cl);
    }

        button.accordion:after {
            border-style: solid;
            border-width: 2px 2px 0 0;
            content: " ";
            display: inline-block;
            float: right;
            height: 10px;
            left: -10px;
            position: relative;
            right: 20px;
            top: 2px;
            transform: rotate(135deg);
            transition: 0.35s ease-in-out;
            vertical-align: top;
            width: 10px;
        }

        button.accordion.is-open:after {
            transform: rotate(-45deg);
            transition: 0.25s ease-in-out;
        }

    .accordion-content {
        background-color: white;
        /* padding: 0 16px; */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.2s ease-in-out;
    }

    .sub-glass-wrap {
        top: 56px;
        top: 50px;
        background-color: #fff;
    }

    .accordion-wrap .accordion-content .item {
        list-style: none;
        padding: 12px 16px;
        border-bottom: 1px solid var(--border-cl);
        font-family: Roboto Condensed;
        font-weight: 500;
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 1px;
    }

    .sub-wrap .sub-title {
        font-family: Roboto Condensed;
        font-weight: 400;
        font-size: 14px;
        line-height: 20px;
        color: #656C6F;
        margin-bottom: 8px;
    }

    .sub-wrap .sub-social .social-list > * {
        margin: 10px;
        display: inline-block;
    }

    .sub-wrap .trend-list {
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .nav-wrapper .contact {
        display: block;
        margin-bottom: 24px;
        padding-bottom: 24px;
        border-bottom: 1px solid var(--border-cl);
    }

        .nav-wrapper .contact .title {
            font-family: Roboto Condensed;
            font-weight: 500;
            font-size: 14px;
            line-height: 20px;
            color: #656C6F;
            margin-bottom: 8px;
        }

        .nav-wrapper .contact .phone-wrap {
            display: flex;
        }

            .nav-wrapper .contact .phone-wrap > * {
                flex: 1;
            }

            .nav-wrapper .contact .phone-wrap .name {
                font-family: Roboto Condensed;
                font-weight: 700;
                font-size: 16px;
                line-height: 24px;
                margin-bottom: 4px;
            }

            .nav-wrapper .contact .phone-wrap .num {
                font-family: Roboto Condensed;
                font-size: 14px;
                line-height: 20px;
                text-decoration: underline;
                color: var(--color-primary);
            }

    .nav-wrapper .license {
        display: block;
        white-space: initial;
    }

        .nav-wrapper .license > * {
            font-family: Roboto Condensed;
            font-size: 14px;
            line-height: 20px;
        }

            .nav-wrapper .license > *:first-child {
                margin-bottom: 16px;
            }

    .main-nav .nav-item .sub-list {
        display: none;
    }

    .nav-wrapper {
        margin-right: calc(-50vw + 50%);
        width: calc(100% + 50vw - 50%);
    }
}

@media screen and (max-width: 576px) {
    /*Start Back to top*/
    .back-to-top {
        right: 15px;
        width: 45px;
        height: 45px;
    }

        .back-to-top.active {
            opacity: 1;
            pointer-events: auto;
            bottom: 25px;
            z-index: 999;
        }
    /*End Back to top*/

    .container {
        max-width: 100%;
    }

        .container:has(.nav-wrapper)::after {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 25px;
            height: 100%;
            background: linear-gradient(91.54deg, rgba(176, 31, 35, 0) 2.79%, #F47422 169.52%);
            /* background: linear-gradient(90deg, rgba(238, 244, 246, 0.1) 0%, #EEF4F6 100%); */
        }

    .main-nav .nav-list {
        gap: 0px;
        border-color: #BFC6C9;
    }

    .container:has(.nav-wrapper) {
        box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 10px;
    }

    .sub-glass-wrap {
        top: 1px;
    }
}
