/* in the name of Allah */

#page-title {
    background-color: #4d4d4d;
    background-image: url("data:image/svg+xml,%3Csvg width='84' height='84' viewBox='0 0 84 84' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233b3b3b' fill-opacity='0.4'%3E%3Cpath d='M84 23c-4.417 0-8-3.584-8-7.998V8h-7.002C64.58 8 61 4.42 61 0H23c0 4.417-3.584 8-7.998 8H8v7.002C8 19.42 4.42 23 0 23v38c4.417 0 8 3.584 8 7.998V76h7.002C19.42 76 23 79.58 23 84h38c0-4.417 3.584-8 7.998-8H76v-7.002C76 64.58 79.58 61 84 61V23zM59.05 83H43V66.95c5.054-.5 9-4.764 9-9.948V52h5.002c5.18 0 9.446-3.947 9.95-9H83v16.05c-5.054.5-9 4.764-9 9.948V74h-5.002c-5.18 0-9.446 3.947-9.95 9zm-34.1 0H41V66.95c-5.053-.502-9-4.768-9-9.948V52h-5.002c-5.184 0-9.447-3.946-9.95-9H1v16.05c5.053.502 9 4.768 9 9.948V74h5.002c5.184 0 9.447 3.946 9.95 9zm0-82H41v16.05c-5.054.5-9 4.764-9 9.948V32h-5.002c-5.18 0-9.446 3.947-9.95 9H1V24.95c5.054-.5 9-4.764 9-9.948V10h5.002c5.18 0 9.446-3.947 9.95-9zm34.1 0H43v16.05c5.053.502 9 4.768 9 9.948V32h5.002c5.184 0 9.447 3.946 9.95 9H83V24.95c-5.053-.502-9-4.768-9-9.948V10h-5.002c-5.184 0-9.447-3.946-9.95-9zM50 50v7.002C50 61.42 46.42 65 42 65c-4.417 0-8-3.584-8-7.998V50h-7.002C22.58 50 19 46.42 19 42c0-4.417 3.584-8 7.998-8H34v-7.002C34 22.58 37.58 19 42 19c4.417 0 8 3.584 8 7.998V34h7.002C61.42 34 65 37.58 65 42c0 4.417-3.584 8-7.998 8H50z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    /*background-image:  repeating-radial-gradient(circle at 50% 50%, transparent 0, #4d4d4d 49px), repeating-linear-gradient(#484848, #1b1b1b);*/
    /*background-color: #4d4d4d;*/
    padding: 3rem 0;
    text-align: center;
    border-bottom-left-radius: var(--section-br);
    border-bottom-right-radius: var(--section-br);
}

#page-title h1 {
    font-weight: 900;
    color: var(--text-light);
    margin: 0;
    text-shadow: 0 3px 6px #0000008c;
}
#page-title small {
    color: var(--text-light);
    margin-top: .5rem;
    display: block;
}

/* ==================================== */
#main .suggested .card {
    border: 1px solid var(--bc);
    -webkit-box-shadow: none;
    box-shadow: none;
    width: unset;
    margin-bottom: 0;
}
#main .suggested .card .card-footer {
    padding: 0.5rem 0;
}
#main .suggested .card .card-footer:hover {
    background-color: var(--main-color);
    color: white;
}

#main .card .overlay {
    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;
    color: white;
    font-weight: bold;
}

#main .suggested .owl-carousel .owl-nav {
    display: none;
}

#main .suggested .owl-carousel .owl-item {
    padding: 0;
}

#main .suggested .owl-carousel .owl-stage-outer {
    padding: 0;
}
/* ==================================== */
#main .cats .btn,
#main .tags .btn {
    margin: 0 0 4px 4px;
}
/* ==================================== */
.blog-items {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 .25rem;
}
/* ==================================== */
.blog-cards.slider .card {
    margin-left: 1.5rem;
}
.blog-cards.slider .card .card-footer {
    padding: 0.5rem 0;
}
.blog-cards.slider .card .card-footer:hover {
    background-color: var(--main-color);
    color: white;
}
.blog-cards.slider .col:last-child .card {
    margin-left: 0;
}
/* ==================================== */
.pagination {
    margin-top: 1.5rem;
}
.pagination .item.active {
    background-color: var(--main-color);
    color: var(--text-light);
    -webkit-box-shadow: 0 5px 30px -10px var(--main-color);
    box-shadow: 0 5px 30px -10px var(--main-color);
}
/* ==================================== */
.archive .accordion {
    color: var(--text-dark);
}

.archive .accordion-item {
    border: 0;
}

.archive .accordion-button {
    font-weight: 500;
    padding: 0.5rem 0;
    color: var(--text-dark);
}

.archive .accordion-button:hover {
    color: var(--main-color);
}

.archive .accordion-button::before {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    margin-left: 0.5rem;
    content: "";
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-size: 1rem;
    -webkit-transition: -webkit-transform .2s ease-in-out;
    transition: -webkit-transform .2s ease-in-out;
    -o-transition: transform .2s ease-in-out;
    transition: transform .2s ease-in-out;
    transition: transform .2s ease-in-out, -webkit-transform .2s ease-in-out;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.archive .accordion-button::after {
    display: none;
}

.archive .accordion-button:not(.collapsed)::before {
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='rgb(15 181 131)'><path%20fill-rule='evenodd'%20d='M1.646%204.646a.5.5%200%200%201%20.708%200L8%2010.293l5.646-5.647a.5.5%200%200%201%20.708.708l-6%206a.5.5%200%200%201-.708%200l-6-6a.5.5%200%200%201%200-.708z'/></svg>");
}

.archive .accordion-button:focus {
    border-color: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.archive .accordion-button:not(.collapsed) {
    background-color: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.archive .accordion-button:not(.collapsed) span {
    color: var(--main-color);
}

.archive .accordion-body {
    padding: 0 .4rem 0 0;
}

.archive .sub-archive {
    list-style: none;
    padding-right: 1.3rem;
    border-right: 2px solid #e9e9e9;
}

.archive .sub-archive .month {
    padding: 0.2rem 0;
    position: relative;
    cursor: pointer;
    color: var(--text-dark);
    -webkit-transition-duration: var(--tr-du);
    -o-transition-duration: var(--tr-du);
    transition-duration: var(--tr-du);
}

.archive .sub-archive .month:hover {
    color: var(--main-color);
}

.archive .sub-archive .month::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -21px;
    width: 15px;
    height: 2px;
    background-color: #e9e9e9;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
}

/* ==================================== */
.other-post .post {
    border: 1px solid var(--bc);
    display: block;
    padding: 0.7rem;
    padding-right: 1rem;
    border-radius: var(--border-radius);
    color: var(--text-dark);
    position: relative;
}

.other-post .post * {
    -webkit-transition-duration: var(--tr-du);
    -o-transition-duration: var(--tr-du);
    transition-duration: var(--tr-du);
}

.other-post .post:not(:last-child) {
    margin-bottom: 0.5rem;
}

.other-post .post .title {
    margin: 0;
}

.other-post .post .name,
.other-post .post .date {
    font-size: 0.7rem;
}

.other-post .post .line {
    position: absolute;
    top: 50%;
    right: 0;
    width: 5px;
    height: 30px;
    background-color: var(--main2-color);
    border-top-left-radius: var(--border-radius);
    border-bottom-left-radius: var(--border-radius);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.other-post .post:hover .line {
    background-color: var(--main-color);
}

.other-post .post:hover .title {
    color: var(--main-color);
}

/* ==================================== */
.detail .post-img {
    overflow: hidden;
    background-color: var(--text-light);
    border-radius: var(--border-radius);
    -webkit-box-shadow: var(--box-shadow);
    box-shadow: var(--box-shadow);
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}

.detail .post-img img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
       object-fit: contain;
    position: absolute;
    top: 0;
}

.detail .overlay {
    position: absolute;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--text-light);
    padding: 1rem;
    border-radius: var(--border-radius);
    text-align: center;
    -webkit-backdrop-filter: blur(5px);
            backdrop-filter: blur(5px);
}

.detail .overlay span:not(:last-child) {
    margin-left: 15px;
}

.detail .overlay i {
    color: var(--main-color);
    vertical-align: middle;
    margin-left: 2px;
}

/* ==================================== */
.detail .post-meta {
    font-size: smaller;
    overflow: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.detail .post-meta>* {
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.detail .post-meta i {
    margin-left: 2px;
    color: var(--main-color);
    vertical-align: middle;
}

.detail .post-meta span:not(:last-child) {
    margin-left: 10px;
}

/* ==================================== */
.focus-context {
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 8% 15%;
    z-index: 20000;
    overflow-y: auto;
    -webkit-transition-duration: var(--tr-du);
    -o-transition-duration: var(--tr-du);
    transition-duration: var(--tr-du);
}

.focus-context.active {
    top: 0;
}

.close-focus {
    font-size: 3rem;
    border: 2px solid var(--text-light);
    border-radius: var(--border-radius);
    padding: 0.5rem 1rem;
    color: var(--text-light);
    cursor: pointer;
    -webkit-transition-duration: var(--tr-du);
    -o-transition-duration: var(--tr-du);
    transition-duration: var(--tr-du);
    position: fixed;
    top: 100%;
    left: 3rem;
}

.close-focus.active {
    top: 2rem;
}

.close-focus:hover {
    background-color: var(--text-light);
    color: var(--text-dark);
}

.detail .context *:not(i) {
    font-family: "yekanBakh" !important;
    word-spacing: -2px !important;
}
.detail .context a:not(.btn) {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding-left: 18px;
    position: relative;
    display: inline-block;
    -webkit-transition-duration: var(--tr-du);
    -o-transition-duration: var(--tr-du);
    transition-duration: var(--tr-du);
}

.detail .context a:not(.btn)::after {
    position: absolute;
    top: 50%;
    left: 0;
    color: var(--main-color);
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f08e";
    font-size: 15px;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.detail .context a:not(.btn):hover {
    text-decoration: underline;
    color: var(--main-color);
}

.detail .context p {
    line-height: 2;
}

.detail .context img.withBorder,
.detail .context video.withBorder {
    border: 1px solid var(--bc);
}

.detail .context img.withBackground,
.detail .context video.withBackground {
    background-color: var(--main2-color);
    padding: 20px 10%;
    width: 100%;
}

.detail .context img.stretched,
.detail .context video.stretched {
    width: 100%;
}

.detail .context img,
.detail .context video {
    display: block;
    border-radius: var(--border-radius);
    margin: 0 auto 1rem auto;
    max-width: 100%;
    height: auto;
}

.detail .context blockquote {
    border-radius: var(--border-radius);
    border: 1px solid var(--bc);
    border-right: 3px solid var(--main-color);
    padding: 1rem;
    font-weight: 500;
    position: relative;
}

.detail .context blockquote::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f10d";
    position: absolute;
    top: 50%;
    line-height: 1;
    right: -14px;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    color: var(--main-color);
    padding: 5px;
    background-color: var(--text-light);
}

.detail .context blockquote span {
    color: var(--main-color);
    margin-top: 0.5rem;
    display: inline-block;
}

.detail .context pre {
    border-radius: var(--border-radius);
    font-family: consolas !important;
}

.detail .context pre {
    position: relative;
}

.detail .context pre .copy {
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 3px 8px;
    border-radius: var(--border-radius);
    background-color: var(--main-color);
    font-family: "maharatjoo" !important;
    color: var(--text-light);
    cursor: pointer;
}

.detail .context pre * {
    font-family: consolas !important;
}

.detail .context pre code {
    padding-top: 2rem;
}

.detail .context ol,
.detail .context ul {
    padding: 0;
    list-style: none;
}

.detail .context ol li {
    counter-increment: item;
}

.detail .context ol li:not(:last-child) {
    margin-bottom: 5px;
}

.detail .context ol li:before {
    content: counter(item);
    margin-left: 5px;
    font-size: 80%;
    background-color: var(--main2-color);
    color: var(--main-color);
    font-weight: bold;
    padding: 3px 8px;
    width: 20px;
    height: 20px;
    line-height: 1;
    border-radius: 30rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}


.detail .context ul {
    padding-right: 1.5rem;
}

.detail .context ul li {
    position: relative;
}

.detail .context ul li:not(:last-child) {
    margin-bottom: 5px;
}

.detail .context ul li:before {
    content: "";
    position: absolute;
    top: 7px;
    right: -18px;
    background: var(--main-color);
    height: 8px;
    width: 8px;
    border-radius: 50%;
}

.detail .context .delimiter-3star {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    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;
    line-height: 0.5;
    margin: 1rem 0;
}

.detail .context .delimiter-3star span {
    font-size: 3rem;
    color: var(--main-color);
}

.detail .context .blog-important {
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px dashed var(--main-color);
}

.detail .context .blog-important .title {
    position: relative;
    font-weight: bold;
    padding-right: 20px;
    margin-bottom: 0.3rem;
}

.detail .context .blog-important .title::before {
    content: '';
    position: absolute;
    top: 6px;
    right: 0px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--main-color);
    -webkit-box-shadow: 0 0 0 0 rgba(15, 181, 131, 0.5);
    box-shadow: 0 0 0 0 rgba(15, 181, 131, 0.5);
    -webkit-animation: pulse 1s 15;
    animation: pulse 1s infinite;
}

@-webkit-keyframes pulse {
    100% {
        -webkit-box-shadow: 0 0 0 21.2px #0000;
        box-shadow: 0 0 0 21.2px #0000;
    }
}

@keyframes pulse {
    100% {
        -webkit-box-shadow: 0 0 0 21.2px #0000;
        box-shadow: 0 0 0 21.2px #0000;
    }
}

.detail .context .table-responsive {
    padding: 0 2px;
}

.detail .context .inline-code {
    font-size: .875em;
    color: var(--main-color);
    word-wrap: break-word;
    background-color: #e9e9e9;
    padding: 2px 5px;
    border-radius: 5px;
}

.detail .context .text-end {
    direction: ltr;
}

/* ==================================== */
.detail .comments {
    border-radius: var(--border-radius);
    background-color: var(--text-light);
    padding: 1rem;
    -webkit-box-shadow: var(--box-shadow);
    box-shadow: var(--box-shadow);
    position: relative;
}

.detail .comments .comment-form {
    margin: 0;
}

.detail .comments .comment-list {
    padding: 1rem 0 0;
}

/* ==================================== */
.focus {
    width: 100%;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.focus i {
    font-size: 1.5rem;
    margin-left: 5px;
    vertical-align: middle;
}

/* ==================================== */


/* =============== medias ================= */
@media (min-width:768px) {
    .blog-cards.slider .card {
        margin: 0;
    }
    .pagination {
        margin-top: 2.5rem;
    }
}
@media (min-width:1200px) {
    #main .container-fluid {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}