.page-category .banner-intern__wrapper{
    padding: 20px 35px;
}
.category-details{
    padding: 40px 0;
}
.category-details__wrapper{
    display: flex;
    gap: 1rem;
}

.category-details__wrapper .cd_main.with-col{
    width: 70%;
}

.category-details__wrapper .cd_meta{
    width: 30%;
    background: #f8f9fb;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 1rem;
    border-radius: 15px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.cd_meta__wrapper{
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: sticky;
    top: 151px;
}

.meta_block .mtb-head{
    padding-bottom: 1rem;
    padding-top: 1rem;
    border-bottom: 1px solid;
}

.meta_block .mtb-head .h2{
    font-size: 24px;
}

.mtb-links{
    padding-bottom: 1rem;
    padding-top: 1rem;
    display: inline-block;
    width: 100%;
}
.mtb-links .tag{
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    width: max-content;
    display: inherit;
    max-width: 257px;
    margin-bottom: 10px;
}

.mtb-links .tag:hover{
    background: #3f4079;
    color: #fff !important;
}

.cd_main{
    background: #f8f9fb;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    position: relative;
}
.cdm-head{
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*background-color: #EFEFF6;*/
    border-top-left-radius: 15px;
    border-top-right-radius: 0;
    padding: 0 1rem;
}
.cdm-head .info{
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 1rem;
}

.cdm-head .info img{
    width: 3rem;
}

.cdm-head .info .h1{
    font-size: 24px;
    line-height: normal;
}

.cdm-body{
    padding: 1rem;
}


.pagination {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 5px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.pagination li a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #fff;
    background: var(--primary-color);
    text-decoration: none;
    border-radius: 50%;
    -webkit-transition: all cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s;
    -o-transition: all cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s;
    transition: all cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s;
}

.pagination li.current a {
    background-color: #EFEFF6;
}

@media (max-width: 992px) {
    .category-details__wrapper .cd_main.with-col {
        width: 100%;
    }
    .category-details__wrapper .cd_meta {
        width: auto;
        position: relative;
    }

    .category-details__wrapper {
        flex-direction: column;
    }

    
}



#authPopup.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

#authPopup.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

#authPopup .popup-box {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    width: 400px;
    text-align: center;
    animation: popupFade 0.4s ease;
    position: relative;
}

@keyframes popupFade {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#authPopup .popup-box h2 {
    margin-bottom: 15px;
}

#authPopup .popup-box p {
    color: #555;
    margin-bottom: 20px;
}

#authPopup .popup-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

#authPopup .btn {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

#authPopup .btn.login {
    background: var(--primary-color);
    color: #fff !important;
}

#authPopup .btn.subscribe {
    background: var(--secondary-color);
}

#authPopup .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 22px;
}

