
.main-blog-section {
    background-color: #fff;
}

.dark-mode .main-blog-section {
    background-color: #00392f;
}

.yazdan-blog-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1.5rem;
    color: #fff;
}

.yazdan-blog-post {
    background: #ffffff;
    border: 3px solid #005504;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.yazdan-blog-post:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.yazdan-blog-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    padding: 2rem 2rem 1.5rem;
    text-align: center;
    background: #005504;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.3;
}

.yazdan-blog-section {
    padding: 1.8rem 2rem;
    border-bottom: 1px dashed #e2e8f0;
}

.yazdan-blog-section:last-child {
    border-bottom: none;
    padding-bottom: 2.5rem;
}

.yazdan-blog-image {
    width: 100%;
    height: auto;
    max-height: block;
    object-fit: contain;
    border-radius: 12px;
    margin: 1.5rem 0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
    background: #f8f9fa;
}

.yazdan-blog-image:hover {
    transform: scale(1.02);
}

.yazdan-blog-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2d3748;
    margin: 1rem 0 0;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .yazdan-blog-title {
        font-size: 1.8rem;
        padding: 1.5rem 1.2rem 1rem;
    }

    .yazdan-blog-section {
        padding: 1.5rem 1.2rem;
    }

    .yazdan-blog-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .yazdan-blog-container {
        padding: 0 1rem;
        margin: 1rem auto;
    }

    .yazdan-blog-title {
        font-size: 1.6rem;
    }
}