.blogs-page {
    background-color: white;
    margin-top: 70px;
    padding-top: 32px;
}

.blogs__container {
    color: white;
}

.recent-blog__text {
    font-weight: 600;
    margin: 16px 0;
}

.blog-main-content__container {
   max-width: 1200px;
   margin: 0 auto
}

/* Main blog container */
.main-blog-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.main-blog__image {
    width: 100%;
}
.main-blog__image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Content section */
.main-blog__content {
    flex: 1; /* Take up equal space with image */
    display: flex;
    flex-direction: column;
    padding: 16px;
    position: relative;
}

/* Blog date */
.main-blog__date {
    color: #6941C6;
    font-weight: 600;
    margin-bottom: 12px;
}

/* Blog title */
.main-blog__title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

/* Blog description */
.main-blog__description {
    color: #667085;
    font-size: 18px;
    margin-bottom: 24px;
    line-height: 1.6;
}

/* Blog tags */
.main-blog__tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    position: absolute;
    right: 20px;
}

.main-blog__tag {
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 600;
}

.tag-1 {
    /* background-color: #F9F5FF; */
    color: #6941C6;
}

.tag-2 {
    /* background-color: #EEF4FF; */
    color: #3538CD;
}

.tag-3 {
    background-color: #FDF2FA;
    color: #C11574;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-blog-container {
        flex-direction: column; /* Stack image and content vertically */
    }

    .main-blog__image {
        height: 300px; /* Adjust image height on smaller screens */
    }

    .main-blog__title {
        font-size: 24px;
    }

    .main-blog__description {
        font-size: 16px;
    }
}


.blog-cards-container {
    margin: 0 auto;
    padding: 16px;
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-bottom: 48px;
}

/* Individual blog card */
.blog-card {
    background-color: #fff;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap:48px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Image section */
.blog-card__image {
    width: 100%;
    height: 300px; /* Fixed height */
    overflow: hidden;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Content section */
.blog-card__content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Blog date */
.blog-card__date {
    color: #6941C6;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Blog title */
.blog-card__title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Blog description */
.blog-card__description {
    color: #667085;
    font-size: 16px;
    margin-bottom: 16px;
    flex-grow: 1; /* Push the tags down */
}

/* Tags section */
.blog-card__tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Individual blog tag */
.blog-card__tag {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.blog-card__tag:nth-child(1) {
    /* background-color: #F9F5FF; */
    color: #6941C6;
}

.blog-card__tag:nth-child(2) {
    /* background-color: #EEF4FF; */
    color: #3538CD;
}

.blog-card__tag:nth-child(3) {
    background-color: #FDF2FA;
    color: #C11574;
}


.blog-card__tags {
    right: 20px;
    position: absolute;
}


.read-more-blog {
    cursor: pointer;
}






/* Responsive adjustments */
@media (max-width: 768px) {
    .blog-cards-container {
        grid-template-columns: 1fr; /* Stack cards vertically on smaller screens */
    }

    .blog-card__image {
        height: 180px; /* Adjust image height for smaller screens */
    }
    .main-blog__tags {
        bottom: 15px;
    }
    .blog-card {
        flex-direction: column;
        padding-bottom: 10px;
    }
    .blog-card__tags {
        bottom: 5px;
    }
}


