﻿.detail .breadcumb-list {
    display: flex;
    align-items: center;
}

.detail .breadcumb-item {
    position: relative;
    padding: 8px 0;
    font-weight: 600;
    font-size: 14px;
    color: #919191;
    text-transform: uppercase;
    cursor: pointer;
}

    .detail .breadcumb-item a {
        transition: all 0.3s ease-in-out;
    }

        .detail .breadcumb-item a.active {
            color: #520c30;
        }

    .detail .breadcumb-item:hover a {
        text-decoration: underline;
        color: #5d0832;
    }

.detail-inner {
    display: flex;
    gap: 12px;
    padding-bottom: 5rem;
}

.detail-content {
    width: 75%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-content-main {
    padding-bottom: 5rem;
    margin-bottom: 5rem;
    border-bottom: 2px solid rgba(51, 51, 51, 0.2588235294);
}

.detail-content-news h2 {
    font-size: 22px;
    font-weight: bold;
}

.detail-content-news-swiper {
    padding-bottom: 60px;
}

    .detail-content-news-swiper .swiper-wrapper {
        flex-direction: row;
    }

    .detail-content-news-swiper .swiper-slide {
        height: calc(50% - 30px) !important;
        padding: 12px;
    }

        .detail-content-news-swiper .swiper-slide:nth-child(even) {
            margin-top: 0px !important;
        }

.detail-content-news-item {
    border-radius: 4px;
    padding: 12px;
    transition: all 0.3s ease-in-out;
}

.detail-content-news-item-top {
    padding-top: 75%;
    border-radius: 4px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.detail-content-news-item-title {
    color: #333;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: initial;
    letter-spacing: -0.4px;
    text-transform: capitalize;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 10px 0;
}

.detail-content-news-item-des {
    color: #333;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: initial;
    letter-spacing: 1px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-all;
}

.detail-content-news-item-link {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: #333;
    margin-top: 10px;
}

    .detail-content-news-item-link span {
        text-transform: uppercase;
        font-size: 12px;
        padding: 8px 12px;
        transition: all 0.3s ease-in-out;
    }

.detail-content-news-item:hover {
    box-shadow: 0 0 20px 0 #ededed;
}

    .detail-content-news-item:hover .detail-content-news-item-link span {
        color: #5d0832;
        transform: scale(1.1);
    }

.detail-content-news-controls {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding-right: 24px;
}

.detail-content-news-controls-inner {
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: auto;
}

.detail-content-news-controls-button-next {
    background-color: #5d0832;
    color: #000;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

    .detail-content-news-controls-button-next img {
        filter: brightness(0) saturate(100%) invert(100%) sepia(20%) saturate(0%) hue-rotate(316deg) brightness(110%) contrast(100%);
    }

.detail-content-news-controls-button-prev {
    background-color: #5d0832;
    color: #000;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

    .detail-content-news-controls-button-prev img {
        filter: brightness(0) saturate(100%) invert(100%) sepia(20%) saturate(0%) hue-rotate(316deg) brightness(110%) contrast(100%);
    }

.detail-content-news-controls-pagination {
    flex: 1;
    display: flex;
    align-items: center;
    margin: 0 12px;
    transition: all 0.3s ease-in-out;
}

    .detail-content-news-controls-pagination .swiper-pagination-bullet {
        border: 1px solid transparent;
        width: 30px;
        height: 30px;
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        background: #5d0832;
        color: #fff;
        opacity: 0.5;
    }

        .detail-content-news-controls-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
            opacity: 1;
        }

.detail-sidebar {
    width: 25%;
    position: relative;
}

    .detail-sidebar .sidebar-wrapper {
        position: sticky;
        top: 10px;
        height: fit-content;
    }

.detail .sidebar-item {
    display: flex;
    align-items: center;
    border: 1px solid #cacaca;
    gap: 8px;
    padding: 4px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

    .detail .sidebar-item .sidebar-content {
        width: calc(100% - 80px);
    }

    .detail .sidebar-item:hover {
        background-color: #520c30;
        border: 1px solid transparent;
    }

        .detail .sidebar-item:hover .sidebar-image {
            border: 1px solid #fff;
        }

        .detail .sidebar-item:hover .sidebar-title {
            color: #fff;
        }

        .detail .sidebar-item:hover .sidebar-time {
            color: #d0d0d0;
        }

.detail .sidebar-label {
    font-size: 20px;
    font-weight: bold;
    color: #520c30;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.431372549);
    line-height: initial;
}

.detail .sidebar-image {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    border: 1px solid transparent;
}

.detail .sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail .sidebar-title {
    color: #520c30;
    font-weight: 14px;
    font-weight: bold;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.detail .sidebar-time {
    color: rgba(0, 0, 0, 0.431372549);
    font-size: 14px;
    font-style: italic;
}

.detail .swiper-pagination-bullet::before {
    display: none;
}

@media (max-width: 860px) {
    .detail-inner {
        flex-direction: column;
    }

    .detail-content, .detail-sidebar {
        width: 100%;
    }

    .detail .detail-sidebar {
        display: none;
    }

    .detail .detail-content-news-swiper {
        margin: 0;
    }

        .detail .detail-content-news-swiper .swiper-slide {
            padding: 0;
        }

/*    .popup-wrapper {
        min-height: unset;
        height: 78vh;
    }

    .popup-close {
        bottom: 5rem;
        width: 100%;
    }*/
}

.login-expand {
    position: absolute;
    top: calc(100% + 20px);
    right: 0;
    width: 260px;
    background: #fff;
    border-radius: 4px;
    padding: 12px;
    color: #333;
    box-shadow: 0 0 20px 0 rgba(51, 51, 51, 0.1607843137);
    transition: all 0.3s ease-in-out;
    transform: translateY(-50%);
    z-index: -1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.login-expand-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 2px solid rgba(51, 51, 51, 0.0901960784);
}

.login-expand-avatar {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-expand-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-left: 10px;
    margin-left: 10px;
    gap: 8px;
}

.login-expand-info-top, .login-expand-info-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.login-expand-info-username {
    font-weight: bold;
    font-size: 16px;
    color: #5d0832;
}

.login-expand-info-vip {
    background: #5d0832;
    padding: 4px 8px;
    line-height: initial;
    display: block;
    color: #fff;
    font-size: 14px;
    border-radius: 4px;
}

.login-expand-info-icon {
    color: #1f1f68;
}

.login-expand-info-wallet {
    color: #1f1f68;
    font-weight: bold;
    font-size: 14px;
}

.login-expand-item {
    padding: 8px;
    display: flex;
    align-items: center;
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
}

    .login-expand-item a {
        width: 100%
    }

.login-expand-item-icon {
    color: #1f1f68;
}

.login-expand-item-label {
    color: #1f1f68;
    font-size: 18px;
    padding-left: 10px;
}

.login-expand-item:hover {
    background-color: #5d0832;
}

    .login-expand-item:hover .login-expand-item-icon,
    .login-expand-item:hover .login-expand-item-label {
        color: #fff;
    }

.login-expand .button-logout .login-expand-item-icon,
.login-expand .button-logout .login-expand-item-label {
    color: red;
}

.login-expand .button-logout:hover {
    background: red;
}

    .login-expand .button-logout:hover .login-expand-item-icon,
    .login-expand .button-logout:hover .login-expand-item-label {
        color: #fff;
    }

.login-expand::after {
    content: "";
    position: absolute;
    top: -20px;
    height: 20px;
    left: 0;
    width: 100%;
    background: transparent;
}

.header-regi-item:hover .login-expand {
    z-index: 9999;
    transform: translateY(0%);
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.login-expand-avatar img {
    width: 100%;
    height: 100%;
}

.popup.iframe iframe {
    width: 100%;
    height: 100%;
}

.popup.iframe .popup-content {
    height: 70vh;
    max-height: unset;
}

.popup.iframe .popup-main {
    width: 90vw;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: unset;
}

.popup-close {
    width: fit-content;
    border: none;
}

.btn.popup-button-close {
    padding: 8px 12px;
    color: #fff;
}
