.blog-section {
    padding-top: 100px;
    display: flex;
    flex-direction: column;
    padding-bottom: 80px;
}

.blog-title {
    height: 70px;
    margin-bottom: 32px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-title > h2 {
    font-size: 40px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue";
    font-weight: 400;
    letter-spacing: 2px;
}

.blog-info {
    letter-spacing: 0;
    margin: 0 auto; /* Chap va o'ngdan avtomatik masofa tashlab, o'rtaga oladi */
    margin-bottom: 0;
    max-width: 680px;
    width: 100%; /* Ekran kichrayganda moslashishi uchun */
    padding: 10px 10px;
}

.month-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}

/* Oyni bildiruvchi matn (Rasmdagidek katta va oddiy shriftda) */
.month-container-title {
    font-size: 24px;
    font-weight: 400;
    color: #222; /* Yoki var(--color-text) */
    margin-bottom: 0px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eaeaea; /* Oydan keyingi birinchi chiziq */
}

/* Post kartochkalari */
.post-container {
    padding: 20px 10px;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
    border-radius: 2px; /* Soya chiroyli chiqishi uchun biroz radius */
    margin-bottom: 0;
    border-bottom: 1px solid #eaeaea; /* Har bir post tagidagi chiziq */
    background-color: transparent;
    position: relative;
}

.post-container > a {
    text-decoration: none;
    display: block;
}

.post-container:hover {
    background-color: #fff;
    /* Manfiy (-8px) spread orqali faqat tepa va pastga soya qoldiramiz */
    box-shadow: 0 10px 15px -8px rgba(0, 0, 0, 0.08), 
                0 -10px 15px -8px rgba(0, 0, 0, 0.08); 
    border-color: transparent;
    z-index: 1;
}

/* Sana qismi */
.post-date {
    font-size: 14px;
    color: #a0a0a0; /* Rasmdagi kabi och kulrang */
    letter-spacing: 0.3px;
    margin-bottom: 5px;
}

.post-title {
    font-size: 17px;
    font-weight: 400;
    color: var(--color-text);
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.portfolio-description {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 50px auto; 
    padding: 24px 30px;
    background-color: #f8f8f8; /* Kulrangroq fon */
    border-radius: 6px; /* Yumshoq burchaklar */
    border: 1px solid #eeeeee; /* Juda mayin chegara */
}

.portfolio-description strong {
    display: block; /* Alohida qatorga tushiradi */
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-bottom: 8px; /* Pastki matndan masofa */
    text-transform: none;
}

.portfolio-description p {
    font-size: 15px;
    color: #555; /* Matn biroz yumshoqroq rangda */
    line-height: 1.5;
    margin: 0;
}

.portfolio-description a {
    color: #007aff;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.portfolio-description a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Mobile uchun */
@media (max-width: 480px) {
    .portfolio-description {
        margin: 0 15px 40px 15px;
        padding: 20px;
    }
    .portfolio-description strong {
        font-size: 16px;
    }
    .portfolio-description p {
        font-size: 14px;
    }
}

/* ===== Tablet (≤768px) ===== */
@media (max-width: 768px) {
    .blog-section {
        padding-top: 88px;
    }

    .blog-info {
        max-width: 100%;
    }

    .portfolio-title > h2 {
        font-size: 30px;
    }
}

/* ===== Mobile (≤480px) ===== */
@media (max-width: 480px) {
    .blog-section {
        padding-top: 80px;
    }

    .blog-title > h2 {
        font-size: 11px;
    }

    .post-container {
        padding: 14px 16px;
    }

    .blog-title > h2 {
        font-size: 30px;
    }

    .post-title {
        font-size: 15px;
    }
}