@import url(../global/global.css);

.radio-label {
    margin: 0 3px;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    cursor: pointer;
}

.radio-label.active {
    border-radius: 13px;
    color: #fff;
    padding: 3px 4px;
    text-align: center;
}

input[type="radio"] {
    opacity: 0;
    visibility: hidden;
    display: none;
}

/*-------------------- sidebar-start --------------------*/
.side-category__title {
    margin-bottom: 15px;
    font-size: 18px;
    color: var(--primary-color);
    display: table;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    min-width: 190px;
}

.side-category__list-item a {
    font-size: 14px;
    color: #9FA2A3;
    line-height: 35px;
}

.side-category__list-item:hover,
.side-category__list-item:hover a {
    color: var(--primary-color);
}

.side-category {
    padding: 16px 16px 50px;
    position: sticky;
    top: 53px;
    border-radius: 20px;
    background: #ffffff;
    -webkit-box-shadow: 0 5px 20px 0 #d8d8d8;
    box-shadow: 0 5px 20px 0 #d8d8d8;
}

/*-------------------- sidebar-end --------------------*/

.tags-list {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 16px;
    padding-right: 0;
}

.tags-list__item {
    list-style-type: none;
}

.tags-list__item a {
    font-weight: 400;
    font-size: 13px;
    color: #9FA2A3;
    text-decoration: underline;
}

.tags-list__item a:hover {
    color: var(--primary-color);
}

.side-category__img-wrapper {
    text-align: center;
}

.side-category__img-wrapper img {
    border-radius: 17px;
}


.single-blog__sidebar {
    position: sticky;
    top: 51px
}

.single-blog__sidebar-top {
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 2px dashed #9FA2A3;
}

.single-blog__top-image img {
    border-radius: 27px;
    margin-bottom: 20px;
    max-width: 100%;
}

/*-------------------- comment-section-start --------------------*/
.comments__section {
    position: relative;
    height: 100%;
    padding: 16px 16px 50px;
    border-radius: 30px;
    background: #ffffff;
    -webkit-box-shadow: 0 5px 20px 0 #d8d8d8;
    box-shadow: 0 5px 20px 0 #d8d8d8;
}

.comments__section-title {
    color: var(--color-text);
    text-align: center;
}

.comment-item {
    padding: 30px 40px;
    border-radius: 10px;
}

.comment-item__img {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.comment-item__author {
    font-weight: 500;
    color: var(--color-text);
    font-size: 20px;
    text-align: center;
}

.comment-item__text {
    color: #616364;
    font-size: var(--font-size-1);
    line-height: 20px;
    text-align: justify;
}

.comment-send__wrapper .comments__section-title {
    margin-bottom: 25px;
}

.comment-send__wrapper {
    position: relative;
    padding: 16px 16px 16px;
    border-radius: 20px;
    background: #ffffff;
    -webkit-box-shadow: 0 5px 20px 0 #d8d8d8;
    box-shadow: 0 5px 20px 0 #d8d8d8;
}

.form__textarea {
    min-height: 180px;
    resize: none;
}

.form__send-btn {
    border: 0;
    min-width: 150px;
    display: table;
    margin: auto;
    font-size: 18px;
    cursor: pointer;
    height: 48px;
}

.form__star {
    color: var(--primary-color);
    font-size: 20px;
    right: 35px;
}

/*-------------------- comment-section-end --------------------*/

/*-------------------- writer section --------------------*/

.writer__logo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    padding: 20px;
    box-shadow: 0 0 20px rgba(15, 115, 132, 0.8);
    margin-left: 30px;
    flex-shrink: 0;
}

@media only screen and (max-width: 1200px) {
    .blog__image-wrapper {
        height: auto;
    }

    .more {
        margin: 40px auto;
    }
}

@media only screen and (max-width: 992px) {
    .side-category {
        top: 5px
    }

    .writer__logo {
        display: none;
    }
}

@media only screen and (max-width: 768px) {
    .single-blog__top-image img {
        display: block;
    }

    .single-blog__sidebar-top {
        display: none;
    }

    .writer__logo {
        display: none;
    }
}

@media only screen and (max-width: 576px) {
    .main-section__header {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 5px;
    }

    .main-section__filter-title {
        display: block;
        text-align: center;
        margin-bottom: 10px;
    }

    .more {
        width: 80%;
        min-width: auto;
        font-size: 20px;
    }

    .comment-send__wrapper {
        padding: 10px;
    }

    .download-box__wrapper svg {
        width: 36px;
        height: 36px;
    }

    .link__wrapper {
        justify-content: center;
    }

    .comment-item {
        padding: 20px 16px;
        border: none;
    }

    .comments__section {
        padding: 16px;
    }
}

.download-box__wrapper .file__name {
    margin-bottom: 0;
}


.blogs-blog .blog-content {
    width: auto;
}

.blogs-blog .blog-image {
    flex-shrink: 0;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23EC1F27' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3e%3c/svg%3e")
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23EC1F27' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3e%3c/svg%3e")
}

.carousel-control-next {
    margin-left: -30px;
}

.carousel-control-prev {
    margin-right: -30px;
}

/*-------------------- swiper-start --------------------*/
.swiper {
    width: 100%;
    height: 85%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-button-next,
.swiper-rtl .swiper-button-prev {
    right: -10px;
    top: 50%;
}

.swiper-button-prev,
.swiper-rtl .swiper-button-next {
    left: -10px;
    top: 50%;
}

/*-------------------- swiper-end --------------------*/