/* استایل اختصاصی صفحه لیست استخرها (عرض ۹۰٪) */

.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;
}

.alert-warning-custom {
    background-color: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
}

.pool-item-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.pool-card-header h2 {
    font-size: 22px;
    color: #0066cc;
    margin-top: 0;
    margin-bottom: 20px;
    padding-right: 12px;
    border-right: 4px solid #00ba7c;
    font-weight: bold;
}

.pool-info-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
    margin-bottom: 20px;
    align-items: center;
}

.info-row {
    font-size: 15px;
    color: #444;
    margin-bottom: 12px;
    line-height: 1.8;
}

.info-row i {
    color: #0066cc;
    width: 20px;
    text-align: center;
}

.info-row a {
    color: #222;
    text-decoration: none;
    font-weight: bold;
}

.info-row a:hover {
    color: #0066cc;
}

.pool-image-container img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #eee;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.pool-schedule-box {
    background-color: #f8fafc;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
    border: 1px solid #e1e8ed;
}

.pool-schedule-box h3 {
    font-size: 16px;
    color: #1e293b;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: bold;
}

.schedule-main-note {
    font-size: 14.5px;
    color: #334155;
    margin-bottom: 15px;
    line-height: 1.8;
}

.schedule-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    border-top: 1px dashed #cbd5e1;
    padding-top: 15px;
}

.schedule-details-grid.no-border {
    border-top: none;
    padding-top: 0;
}

.schedule-list span {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #475569;
}

.schedule-list span i {
    color: #00ba7c;
    font-size: 10px;
    margin-left: 5px;
}

.schedule-extra {
    font-size: 14px;
    color: #475569;
    line-height: 1.8;
}

.pool-pricing-box {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.pool-pricing-box p {
    font-size: 15px;
    line-height: 2;
    color: #166534;
    margin: 0 0 15px 0;
}

.discount-badge {
    background-color: #ef4444;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 14px;
}

.price-highlight {
    font-size: 18px;
    color: #059669;
}

.buy-action {
    text-align: center;
}

.btn-buy-ticket {
    display: inline-block;
    background-color: #00ba7c;
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    transition: background-color 0.2s;
}

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

.pool-description {
    font-size: 15px;
    color: #444;
    line-height: 1.9;
    text-align: justify;
    margin-bottom: 20px;
}

.pool-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid #f1f5f9;
    padding-top: 15px;
}

.tag-item {
    background-color: #f1f5f9;
    color: #64748b;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12.5px;
    text-decoration: none;
    transition: all 0.2s;
}

.tag-item:hover {
    background-color: #e2e8f0;
    color: #0f172a;
}

.blog-footer-link {
    text-align: center;
    margin-top: 30px;
}

.blog-footer-link a {
    font-size: 16px;
    color: #0066cc;
    font-weight: bold;
    text-decoration: none;
    border-bottom: 2px dashed #0066cc;
    padding-bottom: 4px;
}

.blog-footer-link a:hover {
    color: #004999;
    border-bottom-style: solid;
}

/* واکنش‌گرایی برای موبایل */
@media (max-width: 900px) {
    .pool-info-grid {
        grid-template-columns: 1fr;
    }
    
    .pool-image-container {
        order: -1; /* تصویر در موبایل برود بالای آدرس */
        text-align: center;
    }
    
    .pool-image-container img {
        max-width: 400px;
    }
}

@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;
    }
    
    .schedule-details-grid {
        grid-template-columns: 1fr;
    }
}