/* استایل جدول سانس استخرها */

.blog-single-container {
    width: 90%;
    margin: 20px auto;
    padding: 24px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #edf0f2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    box-sizing: border-box;
    direction: rtl; 
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #0066cc;
    padding-bottom: 14px;
    margin-bottom: 20px;
    gap: 15px;
    flex-wrap: wrap;
}

.blog-header h1 {
    font-size: 20px;
    color: #222222;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #f0f4f8;
    color: #0066cc;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-back:hover {
    background-color: #0066cc;
    color: #ffffff;
}

.pools-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-top: 15px;
}

.modern-pools-table {
    width: 100%;
    border-collapse: collapse;
    text-align: right;
    font-size: 14.5px;
}

.modern-pools-table th {
    background-color: #f8fafc;
    color: #1e293b;
    padding: 14px 16px;
    font-weight: bold;
    border-bottom: 2px solid #e2e8f0;
}

.modern-pools-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: middle;
}

.modern-pools-table tr:hover {
    background-color: #f8fafc;
}

/* --- استایل اختصاصی لیست سانس‌ها --- */
.schedule-cell {
    width: 50%; /* دادن فضای بیشتر به ستون سانس‌ها */
}

.schedule-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.schedule-list li {
    background-color: #f1f5f9;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.6;
}

.schedule-list li i {
    color: #00ba7c;
    font-size: 14px;
}

.no-schedule {
    color: #94a3b8;
    font-style: italic;
    font-size: 13px;
}

.phone-cell a {
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
    direction: ltr;
    display: inline-block;
}

.btn-table-buy {
    display: inline-block;
    background-color: #00ba7c;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.btn-table-buy:hover {
    background-color: #009663;
}

@media (max-width: 768px) {
    .blog-single-container {
        width: 95%;
        padding: 16px;
    }

    .blog-header {
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .btn-back {
        width: 100%;
        justify-content: center;
    }
    
    .modern-pools-table td, 
    .modern-pools-table th {
        padding: 10px;
        font-size: 13px;
    }
    
    .schedule-cell {
        width: auto;
    }
    
    .schedule-list li {
        font-size: 12px;
    }
}