.blog-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    color: #ffffff;
}

.blog-post {
    display: flex;
    margin-bottom: 100px;
    background-color: #1e1e1e;
    color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.blog-post:nth-child(even) {
    flex-direction: row-reverse;
}

.blog-image {
    flex: 1;
    min-height: 400px;
    overflow: hidden;
}

.blog-image:hover img {
    transform: scale(1.05);
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}


.blog-content {
    flex: 1;
    padding: 60px;
    display: flex;
    background-color: hsla(304, 20%, 38%, 0.8);
    flex-direction: column;
    justify-content: center;
}

.blog-date {
    font-size: 1rem;
    color: white;
    margin-bottom: 10px;
}

.pinned-indicator {
    color: #ffeb3b;
    font-weight: bold;
    display: inline-block;
}

.blog-post-title {
    font-size: 2rem;
    margin-bottom: 15px;
    color: white;
}

.blog-excerpt {
    color: white;
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

p, li {
    color: white;
    font-size: 1.25rem;
}

ul, ol {
    padding-left: 2rem;
    margin-bottom: 20px;
}

.read-more {
    align-self: flex-start;
    text-decoration: none;
    color: #64b5f6;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 8px 0;
    position: relative;
    overflow: hidden;
}

.read-more:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #64b5f6;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.read-more:hover:after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Responsive styles */
@media (max-width: 768px) {
    .blog-post, .blog-post:nth-child(even) {
        flex-direction: column;
    }

    .blog-image {
        min-height: 200px;
    }

    .blog-content {
        padding: 25px;
    }
}
