/* //////////////////////////////////////// Style Header //////////////////////////////////////// */
.header {
    width: 100%;
    min-width: var(--min-container-width);
}

.header.smooth-hide {
    transform: translateY(-100%);
}

.top-header {
    position: relative;
    width: 100%;
    background-color: #003366;
    border-bottom: 5px solid #ff0000;
    z-index: 999;
}

.header a {
    text-decoration: none;
}

.topics-container {
    position: relative;
    max-width: var(--max-container-width);
    height: 50px;
    margin: 0 auto;
    padding: 5px 15px 5px 130px;
    z-index: 999;
}

.topics-container .logoDesktop {
    display: block;
}

.topics-container .logoMobile {
    display: none;
}

.topics-container .logo {
    position: absolute;
    top: 5px;
    left: 15px;
    padding: 0;
    height: 100px;
    width: 100px;
}

.topics-container .logo img {
    height: 100px;
    width: 100px;
    border-radius: 2px;
}

.topics-container .menu-toggle {
    display: none;
    height: 40px;
    padding: 5px;
    font-size: 15px;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
    color: #fff;
    border-radius: 4px;
    transition: background-color 0.1s ease;
}

.topics-container .menu-toggle:hover {
    background-color: #0056b3;
}

.topics-container .menu-toggle img {
    pointer-events: none;
    width: 30px;
    height: 30px;
    filter: invert(1);
}

.top-header-res {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.top-header-res nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-header-res nav a {
    height: 40px;
    color: #fff;
    font-size: 18px;
    font-weight: 1000;
    padding: 5px 10px;
    white-space: nowrap;
    border-radius: 4px;
    transition: background-color 0.1s ease;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.top-header-res nav a:hover {
    background-color: #0056b3;
}

.top-header-res nav #moreBtn {
    font-size: 18px;
    font-weight: 500;
}

.top-header-res nav #moreBtn:after {
    content: "⋮";
    color: #edf6ff;
    position: relative;
    right: -6px;
}

.top-header-res .open-search {
    padding: 5px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.1s ease;
}

.top-header-res .open-search:hover {
    background-color: #0056b3;
}

.open-search .icon {
    display: block;
    width: 30px;
    height: 30px;
    filter: invert(1);
}

.top-header-more {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    left: 115px;
    right: 115px;
    padding: 20px;
    background-color: #003366;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.top-header-more.open {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: calc(100vh - 60px);
    overscroll-behavior: contain;
}

.top-header-more::-webkit-scrollbar {
    display: none;
}

.top-header-more .search-box {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.top-header-more .search-box input {
    width: 100%;
    height: 40px;
    padding: 0 10px;
    font-size: 18px;
    border: none;
    outline: none;
    background: #f6f6f6;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.top-header-more .search-icon {
    padding: 6px 10px;
    border: none;
    outline: none;
    cursor: pointer;
    background-color: #ff0000;
    border-radius: 4px;
    transition: background-color 0.1s ease;
}

.top-header-more .search-icon:hover {
    background-color: #c20017;
}

.top-header-more .search-icon img.icon {
    display: block;
    width: 28px;
    height: 28px;
    filter: invert(1);
}

.top-header-more .moreTopic {
    width: 100%;
    padding-bottom: 20px;
    border-bottom: 2px solid #fff;
}

.top-header-more .moreTopic a {
    height: 40px;
    color: #fff;
    font-size: 18px;
    font-weight: 1000;
    padding: 5px 10px;
    white-space: nowrap;
    border-radius: 4px;
    transition: background-color 0.1s ease;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.top-header-more a:hover {
    background-color: #0056b3;
}

.top-header-more .moreTag {
    color: #fff;
}

.top-header-more .tag-item {
    display: inline-block;
    font-size: 15px;
    font-weight: 1000;
    padding: 6px 15px;
    margin: 5px;
    border-radius: 4px;
    cursor: pointer;
    border-radius: 20px;
    background: #fff;
    transition: background 0.1s ease, color 0.1s ease;
}

.top-header-more .tag-item:nth-child(odd) {
    color: #0052bd;
}

.top-header-more .tag-item:nth-child(odd):hover {
    color: #fff;
    background: #0052bd;
}

.top-header-more .tag-item:nth-child(even) {
    color: #ff0000;
}

.top-header-more .tag-item:nth-child(even):hover {
    color: #fff;
    background: #ff0000;
}
.overlay-active {
    position: fixed;
    inset: 0;
    z-index: 99;
    display: block;
    background: rgba(0, 0, 0, 0.3);
}

.bot-header {
    width: 100%;
    padding: 2px 0;
    background: #f0f0f0;
    border-bottom: 1px solid #ddd;
}

.keywords-container {
    position: relative;
    max-width: var(--max-container-width);
    height: 50px;
    margin: 0 auto;
    padding: 5px 15px 5px 130px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.tag-section {
    overflow-x: auto;
    display: flex;
    gap: 40px;
}

.tag-section::-webkit-scrollbar {
    display: none;
}

.tag-section .tag-item {
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 4px 0px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.1s ease, color 0.1s ease;
    white-space: nowrap;
}

.tag-section .tag-item::after {
    content: "";
    position: absolute;
    right: -20px;
    top: 0;
    height: calc(100% - 0px);
    width: 1px;
    background-color: #ccc;
}

.tag-item-header {
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 1000;
    white-space: nowrap;
    color: #c20017;
    padding-right: 10px;
}

.tag-item-header::after {
    content: "";
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 12px;
    background-color: #c20017;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.tag-section .tag-item:last-child:after {
    display: none;
}

.tag-section a:nth-of-type(odd) {
    color: #003366;
}

.tag-section a:nth-of-type(odd):hover {
    color: #0052bd;
}

.tag-section a:nth-of-type(even) {
    color: #c20017;
}

.tag-section a:nth-of-type(even):hover {
    color: #ff0000;
}

.keywords-container .open-all {
    flex-shrink: 0;
    padding: 1px;
    border-radius: 4px;
    transition: background 0.1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.keywords-container .open-all:hover {
    background: #0052bd;
}

.keywords-container img.icon {
    display: block;
    width: 28px;
    height: 28px;
    transition: filter 0.1s ease;
}

.keywords-container .open-all:hover img.icon {
    filter: invert(1);
}

@media (max-width: 768px) {
    .top-header-res {
        display: none;
    }

    .top-header-more {
        padding: 20px 10px;
    }

    .topics-container .logoDesktop {
        display: none;
    }

    .topics-container .logoMobile {
        display: block;
    }

    .topics-container .logo {
        position: absolute;
        top: 0px;
        left: 15px;
        padding: 0;
        height: 40px;
        width: 100px;
    }

    .topics-container .logo img {
        height: 50px;
        width: 100px;
        border-radius: 2px;
    }

    .topics-container {
        display: flex;
        align-items: end;
        justify-content: end;
    }

    .topics-container .menu-toggle {
        display: block;
        order: 0;
    }

    .keywords-container {
        padding-left: 0;
        padding: 5px 15px;
    }

    .top-header-more {
        left: 0px;
        right: 0px;
        transform: none;
    }

    .tag-section {
        gap: 10px;
    }

    .tag-section .tag-item {
        padding: 6px 12px;
        font-weight: 1000;
        border-radius: 20px;
        background: #fff;
        border: 1px solid #ddd;
    }

    .tag-section .tag-item::after {
        display: none;
    }

    .tag-section a:nth-of-type(odd) {
        color: #0052bd;
    }

    .tag-section a:nth-of-type(odd):hover {
        color: #fff;
        background: #0052bd;
    }

    .tag-section a:nth-of-type(even) {
        color: #ff0000;
    }

    .tag-section a:nth-of-type(even):hover {
        color: #fff;
        background: #ff0000;
    }

    .tag-item-header {
        margin-right: 10px;
    }

    .tag-item-header::after {
        right: -8px;
    }
}

/* //////////////////////////////////////// Style Footer //////////////////////////////////////// */
.footer {
    background-color: #036;
    color: #fff;
    padding: 20px 0;
}
.footer a {
    text-decoration: none;
}
.container {
    width: 90%;
    max-width: var(--max-container-width);
    margin: auto;
    padding: 10px;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
    gap: 15px;
}
.footer-top .footer_logoDesktop {
    display: none;
}
.footer-top .footer_logoMobile {
    display: block;
}
.footer-top .logo img {
    width: 100px;
    height: auto;
}
.footer-top b {
    text-align: center;
    font-size: 20px;
}
.footer-nav ul {
    list-style: none;
    display: flex;
    gap: 5px;
    padding: 0;
}
.footer-nav ul li {
    display: inline;
    padding-left: 5px;
    border-left: 2px solid #fff;
}
.footer-nav ul li:last-child {
    display: inline;
    padding-right: 5px;
    border-right: 2px solid #fff;
}
.footer-nav ul li a {
    color: #ccc;
    font-size: 14px;
}
.footer-nav ul li a:hover {
    color: #fff;
}
.footer-content {
    text-align: center;
    padding: 15px 0;
}
.footer-content h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}
.footer-content p {
    font-size: 14px;
    color: #ccc;
    line-height: 1.5;
}
.highlights {
    list-style: none;
    padding: 0;
    font-size: 14px;
    color: #ccc;
}
.footer-bottom {
    text-align: center;
    font-size: 12px;
    margin-top: 10px;
}
.footer-bottom a {
    color: #ccc;
}
.footer-bottom a:hover {
    color: #fff;
}
.social-links {
    margin-bottom: 10px;
}
.social-links a {
    color: #ccc;
    font-size: 14px;
    margin: 0 5px;
}
.social-links a:hover {
    color: #fff;
}
@media (max-width: 768px) {
    .footer-top .footer_logoDesktop {
        display: block;
    }
    .footer-top .footer_logoMobile {
        display: none;
    }
    .footer-top .logo img {
        width: 60px;
        height: auto;
    }
    .footer-top b {
        font-size: 16px;
    }
}

/* //////////////////////////////////////// Style Hero Banner //////////////////////////////////////// */
/* #hero-banner-section {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hero-banner-viewport {
    overflow: hidden;
    position: relative;
    aspect-ratio: 5 / 1;
}

.hero-banner-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.hero-banner-item {
    flex: 0 0 100%;
    aspect-ratio: 5 / 1;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    user-select: none;
} */

#hero-banner-section {
    /* width: 100%; */
    position: relative;
    overflow: hidden;
}

.hero-banner-viewport {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.hero-banner-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
    height: 100%;
}

.hero-banner-item {
    flex: 0 0 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    user-select: none;
}

/* /////////////////// */

.hero-banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.hero-banner-dots span {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
}

.hero-banner-dots span.active {
    background: rgba(255, 255, 255, 1);
}

.hero-banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 10px;
    display: none;
}

.hero-banner-nav button {
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    padding: 5px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.hero-banner-nav button img {
    display: block;
    width: 30px;
    height: 30px;
    filter: invert(1);
}

.hero-banner-nav button:hover {
    background: rgba(0, 0, 0, 0.5);
}

.hero-banner-viewport .icon {
    opacity: 0.5;
}

.hero-banner-viewport:hover .icon {
    opacity: 1;
}

@media (max-width: 1024px) {
    #hero-banner {
        margin: 0 -15px;
    }
}

@media (max-width: 576px) {
    .hero-banner-viewport {
        height: 160px;
    }
}

/* //////////////////////////////////////// style V-Banner //////////////////////////////////////// */
.v-banner {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.v-banner-sticky {
    position: sticky;
    /* top: 130px; */
    top: 20px;
    width: 300px;
    height: 600px;
}

.v-banner-sticky-item {
    width: 100%;
    height: 600px;
    background-color: #ddd;
}

.banner-bot-border {
    display: flex;
    align-items: center;
    text-align: center;
    color: #777;
    margin-top: 15px;
    font-size: 12px;
}

.banner-bot-border::before,
.banner-bot-border::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #ccc;
}

.banner-bot-border:not(:empty)::before {
    margin-right: 1em;
}

.banner-bot-border:not(:empty)::after {
    margin-left: 1em;
}
