/*
Theme Name: Shamim Child
Theme URI: https://www.rtl-theme.com/shamim-wordpress-theme/
Author:Shamim Development Team
Author URI: https://www.rtl-theme.com/author/shamim831/
Description:Shamim is a professional multi-purpose WordPress theme. All rights reserved.
Version: 1.1.7
Template: shamim
*/

/* ================================
   Persian Article Typography CSS
   Clean • Readable • Responsive
================================ */

.ata-single-post article {
    box-shadow: 2px 1px 0px 3px rgb(159 201 183)!important;
    margin-left: 10px;
    margin-right: 10px;
}
.box {
    box-shadow: 2px 1px 0px 3px rgb(159 201 183)!important;
    margin-left: 10px;
    margin-right: 10px;
}
aside.widget {
    box-shadow: 2px 1px 0px 3px rgb(4 87 102)!important;
    margin-left: 10px;
    margin-right: 10px;
}


.ata-single-post .singletitle h1 {
    font-size: 1.5rem!important;
    font-weight: 800;
    line-height: 1.6;
    color: #045462;
}
.ata-single-post .ata-post-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1.5rem 0 1rem;
    color: #045564;
}
.ata-single-post .ata-post-content p {
    font-size: 1rem;
    margin-bottom: 1.2rem;
    color: #333;
}
.ata-single-post .ata-post-content strong {
    color: #000000;
    font-weight: 700;
}
.ata-single-post .ata-post-content ul {
    margin: 1.5rem 0;
}
.ata-single-post .ata-post-content li {
    list-style: none;
    position: relative;
    padding-right: 22px;
    font-size: 0.98rem;
}
.ata-single-post .ata-post-content li::before {
    content: "●";
    position: absolute;
    right: 0;
    top: 1px;
    font-size: 1.3rem;
    color: #71c6d5;
}


/* ================================
   Responsive Persian Table Style
================================ */

.ata-single-post .ata-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.95rem;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

/* Table Head */
.ata-single-post .ata-post-content thead {
    background-color: #3fbeae;
}

.ata-single-post .ata-post-content thead th {
    color: #ffffff;
    font-weight: 700;
    padding: 14px 16px;
    text-align: right;
    font-size: 1rem;
    white-space: nowrap;
}

/* Table Body */
.ata-single-post .ata-post-content tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #eaeaea;
    color: #333;
    text-align: right;
    vertical-align: middle;
}

/* Zebra rows */
.ata-single-post .ata-post-content tbody tr:nth-child(even) {
    background-color: #f9fbfb;
}

/* First column emphasis */
.ata-single-post .ata-post-content tbody td:first-child {
    font-weight: 600;
    color: #1f3c88;
    white-space: nowrap;
}

/* Hover effect */
.ata-single-post .ata-post-content tbody tr:hover {
    background-color: #eefaf8;
}

/* ================================
   Mobile Responsive Table
================================ */

@media (max-width: 768px) {
    .ata-single-post .ata-post-content table,
    .ata-single-post .ata-post-content thead,
    .ata-single-post .ata-post-content tbody,
    .ata-single-post .ata-post-content th,
    .ata-single-post .ata-post-content td,
    .ata-single-post .ata-post-content tr {
        display: block;
        width: 100%;
    }

    .ata-single-post .ata-post-content thead {
        display: none;
    }

    .ata-single-post .ata-post-content tbody tr {
        margin-bottom: 1.2rem;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    }

    .ata-single-post .ata-post-content tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 14px;
        border-bottom: 1px solid #eee;
        font-size: 0.9rem;
    }

    .ata-single-post .ata-post-content tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #3e927a;
        padding-left: 10px;
        white-space: nowrap;
    }

    .ata-single-post .ata-post-content tbody td:last-child {
        border-bottom: none;
    }
}



.article-content {
    margin: 0 auto;
    padding: 20px;
    color: #2b2b2b;
    line-height: 1.9;
}

/* Headings */
.article-content h1 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    color: #045462;
}

.article-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1.5rem 0 1rem;
    padding-right: 12px;
    border-right: 4px solid #9fc9b7;
    color: #045564;
}

/* Paragraphs */
.article-content p {
    font-size: 1rem;
    margin-bottom: 1.2rem;
    color: #333;
}

/* Strong / Highlight */
.article-content strong {
    color: #000000;
    font-weight: 700;
}

/* Lists */
.article-content ul {
    margin: 1.5rem 0;
    padding-right: 1.2rem;
}

.article-content li {
    list-style: none;
    position: relative;
    padding-right: 22px;
    margin-bottom: -0.6rem;
    font-size: 0.98rem;
}

.article-content li::before {
    content: "●";
    position: absolute;
    right: 0;
    top: -3px;
    font-size: 1.3rem;
    color: #71c6d5;
}

/* Section spacing */
.article-content h2 + p,
.article-content h2 + ul {
    margin-top: 0.8rem;
}



/* Responsive adjustments */
@media (max-width: 768px) {
    .article-content {
        padding: 16px;
    }

    .article-content h1 {
        font-size: 1.6rem;
    }

    .article-content h2 {
        font-size: 1.25rem;
    }

    .article-content p,
    .article-content li {
        font-size: 0.95rem;
    }
    
    .ata-single-post .singletitle h1 {
        font-size: 1.3rem;
    }

    .ata-single-post .ata-post-content h2 {
        font-size: 1.25rem;
    }

    .ata-single-post .ata-post-content p,
    .ata-single-post .ata-post-content li {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .article-content h1 {
        font-size: 1.4rem;
    }

    .article-content h2 {
        font-size: 1.15rem;
    }

    .article-content p,
    .article-content li {
        font-size: 0.9rem;
        line-height: 1.8;
    }
    
    
    ..ata-single-post .singletitle h1 {
        font-size: 1.2rem;
    }

    .ata-single-post .ata-post-content h2 {
        font-size: 1.15rem;
    }

    .ata-single-post .ata-post-content p,
    .ata-single-post .ata-post-content li {
        font-size: 0.9rem;
        line-height: 1.8;
    }
}