
@import url(../styles/global.css);
@import url(../styles/header-footer.css);

body {
    overflow: unset;
}

.main-section__filter-title {
    font-family: var(--font-medium);
    font-size: var(--font-size-1);
    color: #000000;
    margin-left: 8px;
}

.radio-lable {
    margin: 0 3px;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    cursor: pointer;
}

    .radio-lable.active {
        background-color: var(--color-blue-1);
        border-radius: 13px;
        color: #fff;
        padding: 3px 4px;
        text-align: center;
    }

input[type="radio"] {
    opacity: 0;
    visibility: hidden;
    display: none;
}

/* ------------------------- sidebar -------------------------- */
.side-category__title {
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 18px;
    color: var(--color-text);
}

.side-category__list-item a {
    font-size: var(--font-size-2);
    color: #9FA2A3;
    line-height: 35px;
}

    .side-category__list-item a::before {
        content: " ";
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background-color: var(--color-primary);
        display: inline-block;
        vertical-align: middle;
        margin-left: 5px;
        -webkit-transition: all 0.3s;
        -o-transition: all 0.3s;
        transition: all 0.3s;
    }

.side-category__list-item:hover a {
    color: var(--color-primary);
}

.side-category {
    padding: 16px 16px 50px;
    background-color: #fff;
    border-radius: 23px;
    -webkit-box-shadow: 0px 5px 20px 0px rgba(225, 135, 27, 0.40);
    box-shadow: 0px 5px 20px 0px rgba(225, 135, 27, 0.40);
    position: sticky;
    top: 53px;
    border-radius: 30px;
    border: 0.5px solid var(--color-primary);
    background: var(--color-three);
    box-shadow: 0px 5px 20px 0px rgba(225, 135, 27, 0.40);
}

.tags-list {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 16px;
}

.tags-list__item a {
    font-weight: var(--font-yekan-regular);
    font-size: var(--font-size-1);
    color: #9FA2A3;
    text-decoration: underline;
}

    .tags-list__item a:hover {
        color: var(--color-primary);
    }

.side-category__img-wrapper {
    text-align: center;
}

    .side-category__img-wrapper img {
        border-radius: 17px;
    }

/* ----------------------- blog ------------------- */


.single-blog__text p,.single-blog__text div {
    font-size: 15px !important;
    font-family: var(--font-yekan-light);
    margin-bottom: 16px !important;
    font-weight: 500 !important;
    line-height: 30px !important;
    color: var(--color-text);
    text-align: justify !important;
}
.single-blog__text a{
    color: var(--color-primary);
    font-weight: 600 !important;
    font-size: 16px !important;
}
.single-blog__text li {
    list-style-position: inside;
    margin-bottom: 8px;
}

.single-blog__text img {
    max-width: 100%;
    height: auto !important;
    border-radius: 25px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.single-blog__text * {
    font-size: 19px;
    font-family: var(--font-yekan-light);
    font-weight: 300;
}

.single-blog__img img {
    max-width: 100%;
    border-radius: 27px;
    -webkit-filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.1));
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.1));
}

.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 ----------------------- */
.comments__section {
    padding: 50px 0;
    padding: 30px;
    border-radius: 10px;
    border: 0.5px solid #8B3DFF;
    background: #ffffff;
    border-radius: 30px;
    border: 0.5px solid var(--color-primary);
    position: relative;
    height: 100%;
}

.comments__section-title {
    color: var(--color-text);
    text-align: center;
}

.comment-item {
    padding: 30px 40px;
    background-color: var(--color-three);
    border-radius: 10px 10px 2px 2px;
    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-family: var(--font-medium);
    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;
}

.comments__section .owl-stage {
    display: flex;
}

.comments__section .owl-stage-outer {
    overflow: hidden;
}

.owl-item.bg-white .comment-item {
    background-color: #fff;
    border-bottom: 6px solid var(--color-blue-1);
}

.comments__section .owl-nav {
    display: flex;
    justify-content: center;
}

    .comments__section .owl-nav button {
        width: 53px;
        height: 53px;
        border-radius: 50%;
        background-color: var(--color-blue-1);
        display: flex;
        align-items: center;
        justify-content: center;
        border: 0;
    }

/* .comments__section .owl-nav button.disabled{
    background-color: #fff;
} */
/* .owl-item.active:nth-child(2){
    background-color: #fff;
} */
/* ---------------------------------------- comment-section ----------------------- */



/* ------------------------------------------- comment-send ------------------------- */
.comment-send__wrapper .comments__section-title {
    margin-bottom: 25px;
}

.comment-send__wrapper {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    position: relative;
    border-radius: 30px;
    border: 0.5px solid var(--color-primary);
    background: var(--color-three);
}


.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: red;
    font-size: 20px;
}
/* ------------------------------------------- comment-send ------------------------- */
.side-category__img-wrapper .owl-stage {
    display: flex;
}

.side-category__img-wrapper .owl-stage-outer {
    overflow: hidden;
}

.side-category__img-wrapper .owl-nav {
    display: none;
}

.side-category__img-wrapper .owl-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-blue-5);
    border-radius: 50%;
    border: none;
    margin: 0 2px;
}

    .side-category__img-wrapper .owl-dot.active {
        background-color: var(--color-blue-1);
    }

/* ----------------------------------------- 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;
}

.writer__content p {
    line-height: 30px;
    color: var(--color-text-3);
}

.writer__content a {
    color: var(--color-blue-1);
    margin-left: 15px;
    font-size: 18px;
    border-bottom: 1px dashed var(--color-blue-1);
}

.writer__name {
    font-size: 24px;
    color: var(--color-blue-1);
}

@media only screen and (max-width:1400px) {
    .blog--big img{
        height: 250px;
        object-fit: cover;
    }

}
@media only screen and (max-width:1200px) {
    .blog__image-wrapper {
        height: auto;
    }

    .more {
        margin: 40px auto;
    }
    .blog--big img{
        height: 200px;
    }
}

@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;
        
    }

    .comment-send__wrapper {
        padding: 10px;
    }

    .download-box__wrapper svg {
        width: 36px;
        height: 36px;
    }

    .download-box__wrapper .main-btn {
        min-width: auto;
        font-size: 14px;
    }
    .blog--big .blog__content{
        margin-top: -20px;
    }
    .link__wrapper {
        justify-content: center;
    }

    .comment-item {
        padding: 20px 16px;
        border: none;
    }

    .comments__section {
        padding: 16px;
    }
    .blog--big img{
        height: auto;
    }
}


.blog__share a {
    margin: 0 3px;
}

.blog__breadcrumb {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.blog__view {
    align-items: baseline
}

    .blog__view span {
        color: #b1b1b1;
        font-size: 11px;
        margin: 0 3px 0 0;
        font-weight: 500;
        font-family: "YekanBakhFaNum-sbold",sans-serif;
        transform: translateY(-2px);
    }

    .blog__view.big span {
        font-size: 20px;
        transform: translateY(-4px);
        color: #189DB4;
    }

.blog--big img {
    border-radius: 30px;
}

.blog--big .blog__content {
    box-shadow: 0px 5px 40px 0px rgba(225, 135, 27, 0.60);
    padding: 16px 20px;
    width: 85%;
    left: 50%;
    top: 32%;
    transform: translateX(-50%);
    border-radius: 20px;
    background: var(--color-three);
}

.blog__date::before {
    content: url('data:image/svg+xml,<svg width="13" height="13" viewBox="0 0 13 13" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10.5 1H9.66667V0.5C9.66667 0.224 9.44267 0 9.16667 0C8.89067 0 8.66667 0.224 8.66667 0.5V1H4.33333V0.5C4.33333 0.224 4.10933 0 3.83333 0C3.55733 0 3.33333 0.224 3.33333 0.5V1H2.5C0.888 1 0 1.888 0 3.5V10.5C0 12.112 0.888 13 2.5 13H10.5C12.112 13 13 12.112 13 10.5V3.5C13 1.888 12.112 1 10.5 1ZM2.5 2H3.33333V2.5C3.33333 2.776 3.55733 3 3.83333 3C4.10933 3 4.33333 2.776 4.33333 2.5V2H8.66667V2.5C8.66667 2.776 8.89067 3 9.16667 3C9.44267 3 9.66667 2.776 9.66667 2.5V2H10.5C11.5513 2 12 2.44867 12 3.5V4H1V3.5C1 2.44867 1.44867 2 2.5 2ZM10.5 12H2.5C1.44867 12 1 11.5513 1 10.5V5H12V10.5C12 11.5513 11.5513 12 10.5 12ZM4.51335 7.16667C4.51335 7.53467 4.21535 7.83333 3.84668 7.83333C3.47868 7.83333 3.1766 7.53467 3.1766 7.16667C3.1766 6.79867 3.47201 6.5 3.84001 6.5H3.84668C4.21468 6.5 4.51335 6.79867 4.51335 7.16667ZM7.18001 7.16667C7.18001 7.53467 6.88201 7.83333 6.51335 7.83333C6.14535 7.83333 5.84326 7.53467 5.84326 7.16667C5.84326 6.79867 6.13867 6.5 6.50667 6.5H6.51335C6.88135 6.5 7.18001 6.79867 7.18001 7.16667ZM9.84668 7.16667C9.84668 7.53467 9.54868 7.83333 9.18001 7.83333C8.81201 7.83333 8.50993 7.53467 8.50993 7.16667C8.50993 6.79867 8.80534 6.5 9.17334 6.5H9.18001C9.54801 6.5 9.84668 6.79867 9.84668 7.16667ZM4.51335 9.83333C4.51335 10.2013 4.21535 10.5 3.84668 10.5C3.47868 10.5 3.1766 10.2013 3.1766 9.83333C3.1766 9.46533 3.47201 9.16667 3.84001 9.16667H3.84668C4.21468 9.16667 4.51335 9.46533 4.51335 9.83333ZM7.18001 9.83333C7.18001 10.2013 6.88201 10.5 6.51335 10.5C6.14535 10.5 5.84326 10.2013 5.84326 9.83333C5.84326 9.46533 6.13867 9.16667 6.50667 9.16667H6.51335C6.88135 9.16667 7.18001 9.46533 7.18001 9.83333ZM9.84668 9.83333C9.84668 10.2013 9.54868 10.5 9.18001 10.5C8.81201 10.5 8.50993 10.2013 8.50993 9.83333C8.50993 9.46533 8.80534 9.16667 9.17334 9.16667H9.18001C9.54801 9.16667 9.84668 9.46533 9.84668 9.83333Z" fill="%23F49231"/></svg>');
    vertical-align: middle;
    margin-left: 2px;
}

.blog__category {
    color: #AAA8A8;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: -0.4px;
}

.blog__date {
    color: #AAA8A8;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: -0.5px;
}

.blog__title {
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.28px;
}

.blog__desc {
    color: #6C6C6C;
    text-align: justify;
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    /* 222.222% */
    letter-spacing: -0.45px;
}

.blog__link {
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.32px;
    margin-right: auto;
    justify-content: flex-end;
}

    .blog__link svg {
        margin-right: 3px;
        transition: all 0.3s;
    }

    .blog__link:hover svg {
        transform: translateX(-3px);
    }

/* small blog */
.blog--small {
    border-radius: 20px;
    background: var(--color-three);
    padding: 10px;
    transition: all 0.3s;
}

    .blog--small .blog__img {
        flex-basis: 25%;
        flex-shrink: 0;
    }

        .blog--small .blog__img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .blog--small .blog__content {
        padding: 0 10px 0 0;
    }

    .blog--small .blog__desc {
        font-size: 11px;
        line-height: 18px;
    }

    .blog--small:hover {
        box-shadow: 0px 0px 10px 0px rgba(225, 135, 27, 0.60);
    }

@media only screen and (max-width:1400px) {
    .blog--big .blog__content {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        margin-top: -40px;
        z-index: 10;
        box-shadow: 0px 5px 10px 0px rgba(225, 135, 27, 0.60)
    }
}
