/*
Theme Name: Shokamag
Author: Ahmad
Version: 1.0
Created on : Jun 13, 2026, 11:42:02 AM
*/

@font-face {
    font-family: 'vazir';
    src:
        url('assets/fonts/vazir/Vazir-Medium-FD.eot?#') format('eot'), /* IE6–8 */
        url('assets/fonts/vazir/Vazir-Medium-FD.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
        url('assets/fonts/vazir/Vazir-Medium-FD.ttf') format('truetype'); /* Saf3—5, Chrome4+, FF3.5, Opera 10+ */
}

body {
    font-family: 'Vazir', sans-serif;
    line-height: 1.6;
    direction: rtl;
    text-align: right;
    color: #282828;
    background-color: #FAFAF7 ;
}
.container {
    max-width: 1600px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    margin-bottom: 10px;
}

p{
    font-size: 1.125rem; /* اندازه مناسب برای متن (18px) */
    line-height: 1.75; /* فاصله مناسب بین خطوط */
    color: #333333; /* رنگ تیره برای خوانایی بهتر */
    margin-bottom: 1.5rem; /* فاصله بین پاراگراف‌ها */
    font-weight: 400; /* وزن متوسط برای خوانایی بهتر */
    text-align: justify; /* ترازبندی متن برای ظاهر متوازن */
}
a{
    text-decoration: none;
}
.btn {
    border-radius: 5px;
}


.form-control {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}


img {
    max-width: 100%;
    height: auto;
}

.aligncenter {
    margin: auto;
    display: block;
    text-align: center;
}

@media (min-width: 992px) {
    .custom-col-5 {
        width: 20%; /* برای اندازه‌های بزرگ‌تر از lg */
    }
}




@media (min-width: 576px) {
    .custom-col-sm-5 {
        width: 20%;
    }
}


@media (min-width: 768px) {
    .custom-col-md-5 {
        width: 20%;
    }
}


@media (min-width: 992px) {
    .custom-col-lg-5 {
        width: 20%;
    }
}


@media (min-width: 1200px) {
    .custom-col-xl-5 {
        width: 20%;
    }
}



/* ========================================
   SHOKAMAG - SINGLE POST
   General single-post styles
======================================== */


/* ----------------------------------------
   1. Main layout
---------------------------------------- */

.shokamag-single {
    padding-bottom: 3rem;
}

.shokamag-single .shokamag-single-article {
    min-width: 0;
    color: #292d32;
    font-size: 1rem;
    line-height: 2;
}


/* ----------------------------------------
   2. Categories
---------------------------------------- */

.shokamag-single .entry-categories {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    line-height: 1.7;
}

.shokamag-single .entry-categories a {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    border-radius: 0.3rem;
    background: #f0f3f6;
    color: #495563;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.shokamag-single .entry-categories a:hover {
    background: #e2e8ef;
    color: #172b42;
}


/* ----------------------------------------
   3. Post title
---------------------------------------- */

.shokamag-single .entry-title {
    margin: 0 0 1.25rem;
    color: #20252b;
    font-size: clamp(1.7rem, 2.5vw, 2.35rem);
    font-weight: 800;
    line-height: 1.65;
    overflow-wrap: anywhere;
}


/* ----------------------------------------
   4. Post meta
---------------------------------------- */

.shokamag-single .entry-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
    color: #727b85;
    font-size: 0.85rem;
    line-height: 1.8;
}

.shokamag-single .entry-meta a {
    color: #46576a;
    text-decoration: none;
}

.shokamag-single .entry-meta a:hover {
    color: #0d6efd;
}


/* ----------------------------------------
   5. Featured image
---------------------------------------- */

.shokamag-single .entry-thumbnail {
    margin-top: 1.5rem;
}

.shokamag-single .entry-thumbnail img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 650px;
    border-radius: 0.65rem;
    object-fit: cover;
}


/* ----------------------------------------
   6. Article content
---------------------------------------- */

.shokamag-single .entry-content {
    margin-top: 1.75rem;
    color: #343a40;
    font-size: 1.05rem;
    line-height: 2.15;
    overflow-wrap: anywhere;
}

.shokamag-single .entry-content > *:first-child {
    margin-top: 0;
}

.shokamag-single .entry-content > *:last-child {
    margin-bottom: 0;
}

.shokamag-single .entry-content p {
    margin-bottom: 1.35rem;
}

.shokamag-single .entry-content a {
    color: #0d6efd;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.shokamag-single .entry-content a:hover {
    color: #084298;
}


/* ----------------------------------------
   7. Content headings
---------------------------------------- */

.shokamag-single .entry-content h2,
.shokamag-single .entry-content h3,
.shokamag-single .entry-content h4,
.shokamag-single .entry-content h5,
.shokamag-single .entry-content h6 {
    margin-top: 2.25rem;
    margin-bottom: 1rem;
    color: #242a31;
    font-weight: 800;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.shokamag-single .entry-content h2 {
    padding-right: 0.85rem;
    border-right: 4px solid #0d6efd;
    font-size: 1.65rem;
}

.shokamag-single .entry-content h3 {
    font-size: 1.4rem;
}

.shokamag-single .entry-content h4 {
    font-size: 1.2rem;
}

.shokamag-single .entry-content h5 {
    font-size: 1.05rem;
}

.shokamag-single .entry-content h6 {
    font-size: 1rem;
}


/* ----------------------------------------
   8. Lists
---------------------------------------- */

.shokamag-single .entry-content ul,
.shokamag-single .entry-content ol {
    margin: 0 0 1.5rem;
    padding-right: 1.75rem;
    padding-left: 0;
}

.shokamag-single .entry-content li {
    margin-bottom: 0.45rem;
    padding-right: 0.15rem;
}

.shokamag-single .entry-content li > ul,
.shokamag-single .entry-content li > ol {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}


/* ----------------------------------------
   9. Images and captions inside content
---------------------------------------- */

.shokamag-single .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

.shokamag-single .entry-content figure {
    max-width: 100%;
    margin: 1.75rem 0;
}

.shokamag-single .entry-content figure img {
    display: block;
    margin-right: auto;
    margin-left: auto;
}

.shokamag-single .entry-content figcaption,
.shokamag-single .entry-content .wp-caption-text {
    margin-top: 0.6rem;
    color: #77808a;
    font-size: 0.85rem;
    line-height: 1.8;
    text-align: center;
}

.shokamag-single .entry-content .aligncenter {
    display: block;
    margin-right: auto;
    margin-left: auto;
}

.shokamag-single .entry-content .alignleft {
    float: left;
    margin: 0.5rem 1.25rem 1rem 0;
}

.shokamag-single .entry-content .alignright {
    float: right;
    margin: 0.5rem 0 1rem 1.25rem;
}


/* ----------------------------------------
   10. Quotes
---------------------------------------- */

.shokamag-single .entry-content blockquote {
    margin: 1.75rem 0;
    padding: 1rem 1.25rem;
    border-right: 4px solid #adb5bd;
    border-radius: 0.25rem;
    background: #f6f8fa;
    color: #505963;
    font-size: 1.05rem;
}

.shokamag-single .entry-content blockquote > *:last-child {
    margin-bottom: 0;
}


/* ----------------------------------------
   11. Tables
---------------------------------------- */

.shokamag-single .entry-content table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.shokamag-single .entry-content th,
.shokamag-single .entry-content td {
    padding: 0.7rem;
    border: 1px solid #dee2e6;
    text-align: right;
    vertical-align: top;
}

.shokamag-single .entry-content th {
    background: #f1f3f5;
    font-weight: 700;
}


/* ----------------------------------------
   12. Video and embedded content
---------------------------------------- */

.shokamag-single .entry-content iframe,
.shokamag-single .entry-content video,
.shokamag-single .entry-content embed {
    max-width: 100%;
}

.shokamag-single .entry-content iframe {
    border: 0;
}

.shokamag-single .entry-content .wp-block-embed {
    margin: 1.75rem 0;
}

.shokamag-single .entry-content .wp-block-embed__wrapper {
    max-width: 100%;
}


/* ----------------------------------------
   13. Code blocks
---------------------------------------- */

.shokamag-single .entry-content pre {
    max-width: 100%;
    padding: 1rem;
    border-radius: 0.5rem;
    background: #f1f3f5;
    color: #252a30;
    direction: ltr;
    text-align: left;
    overflow-x: auto;
}

.shokamag-single .entry-content code {
    overflow-wrap: anywhere;
}


/* ----------------------------------------
   14. Separators and page links
---------------------------------------- */

.shokamag-single .entry-content hr {
    margin: 2rem 0;
    border-color: #dee2e6;
    opacity: 1;
}

.shokamag-single .page-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2rem;
}


/* ----------------------------------------
   15. Tags
---------------------------------------- */

.shokamag-single .entry-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e9ecef;
    color: #6c757d;
    font-size: 0.9rem;
}

.shokamag-single .entry-tags a {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    border: 1px solid #e1e5e9;
    border-radius: 0.35rem;
    color: #505963;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.shokamag-single .entry-tags a:hover {
    border-color: #ced4da;
    background: #f5f6f7;
}


/* ----------------------------------------
   16. Single sidebar
---------------------------------------- */

.shokamag-single-sidebar {
    min-width: 0;
}

.shokamag-single-sidebar .widget {
    margin-bottom: 1.5rem;
}

.shokamag-single-sidebar .widget-title {
    padding-bottom: 0.65rem;
    border-bottom: 2px solid #e9ecef;
    color: #292d32;
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.7;
}


/* ----------------------------------------
   17. Responsive
---------------------------------------- */

@media (max-width: 767.98px) {

    .shokamag-single {
        padding-bottom: 2rem;
    }

    .shokamag-single .entry-title {
        font-size: 1.65rem;
        line-height: 1.75;
    }

    .shokamag-single .entry-content {
        margin-top: 1.25rem;
        font-size: 1rem;
        line-height: 2.05;
    }

    .shokamag-single .entry-content h2 {
        font-size: 1.4rem;
    }

    .shokamag-single .entry-content h3 {
        font-size: 1.2rem;
    }

    .shokamag-single .entry-content h4 {
        font-size: 1.1rem;
    }

    .shokamag-single .entry-content .alignleft,
    .shokamag-single .entry-content .alignright {
        float: none;
        display: block;
        margin: 1.25rem auto;
    }

    .shokamag-single .entry-thumbnail img {
        border-radius: 0.4rem;
    }

    .shokamag-single .entry-content table {
        display: block;
        overflow-x: auto;
    }
}
/* ----------------------------------------
   SINGLE END
---------------------------------------- */















































.section_header{

}
.section_header h2{
    font-size: 1.25rem;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 35px;
    padding-bottom: 15px;
    position: relative;
    border-bottom: 1px solid #E4E4E4;
    color: #272727;
}

/* widgets start */

/* book_reviews_list start */
.book_reviews_list h3{
    font-size: 1.5rem;
    font-weight: bold;
    color: #272727 ;
}
.post_item a{
    color: #272727 ;
    transition: color 0.25s ease;
    display: inline-block;
}
.post_item a:hover{
    color: #272727 ;
}
.book_reviews_list .post_excerpt{
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5em;
    color: #717171;
    text-align: justify;
    display: block;
}
/* book_reviews_list end*/

/* compact_posts_list start*/
.compact_posts_list{
    background: rgba(0,0,0,.04);
    border-radius: 10px;
    padding: 15px;
}
.compact_posts_list h3 {
    font-size: 1rem;
    font-weight: bold;
    color: #272727;

}
/* compact_posts_list end*/


/* widget-featured-mosaic start */
.background_overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    overflow: hidden;
    width: 100%;
    height: 100%;
    background-color: transparent;
    background-image: linear-gradient(0deg,#000000d4 0%,rgba(64,84,178,0) 100%);
    opacity: .95;
}
.slideshow_item {
    position: relative;
    cursor: pointer;
}
.slideshow_item h2 {
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    position: absolute;
    z-index: 15;
    bottom: 00;
    color: #fff;
    margin-right: 7px;
    margin-left: auto;
    padding: 7px;

}
/* widget-featured-mosaic end */






.shelf_grid{
    width: 100%;

}
.shelf_grid img{
    width: 100% ;
}
.shelf_grid_list_item{

}
.shelf_grid .col-3:first-child {

}
.shelf_grid_list_item{
    position: relative;
    cursor: pointer;
}
.shelf_grid_list_item h3{
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    position: absolute;
    z-index: 15;
    bottom: 00;
    color: #fff;
    margin-right: 7px;
    margin-left: auto;
    padding: 7px;

}

.shelf_grid_list_item:hover .background_overlay{
    background-image: linear-gradient(0deg,#000 0%,rgba(64,84,178,0) 100%);
}
.popular_right_col{
    background: rgba(0,0,0,.04);
    border-radius: 10px;
    padding: 15px;
}
.popular h3 {
    font-size: 1rem;
    font-weight: bold;
    color: #272727;

}
.shelf_grid_b{
    width: 100%;

}
.shelf_grid_b img{
    width: 100% ;
}
.shelf_grid_b_list_item{

}
.shelf_grid_b .col-3:first-child {

}
.shelf_grid_b_list_item{
    position: relative;
    cursor: pointer;
}
.shelf_grid_b h3{
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.47;

    color: #272727;


}

.shelf_grid_b_list_item:hover .background_overlay{
    background-image: linear-gradient(0deg,#000 0%,rgba(64,84,178,0) 100%);
}


