.newsletter-archive {
    margin: 20px auto;
    padding: 20px;
    max-width: 1000px;
    border: 3px solid #7091E6;
    border-radius: 8px;
    background-color: #f9f9f9; /* Light background for better contrast */
}

.newsletter-archive h1 {
    text-align: center;
    font-size: 36px;
    color: #3D52A0;
    margin: 30px 0;
}

.newsletter-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background-color: #ffffff;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    box-shadow: 0px 6px 12px rgba(61, 82, 160, 0.15);
}

.newsletter-item:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 12px rgba(61, 82, 160, 0.3);
}

.newsletter-thumbnail {
    flex-shrink: 0;
    width: 150px;
    height: auto; /* Maintain aspect ratio */
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.newsletter-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.newsletter-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.newsletter-content h2 {
    font-size: 24px;
    color: #3D52A0;
    margin: 0 0 10px;
}

.newsletter-content .newsletter-excerpt {
    font-size: 16px;
    color: #333;
    margin: 10px 0;
}

.newsletter-content .read-more {
    color: #7091E6;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.newsletter-content .read-more:hover {
    color: #3D52A0;
}

@media (max-width: 768px) {
    .newsletter-item {
        flex-direction: column;
    }

    .newsletter-thumbnail {
        width: 100%;
        margin-bottom: 10px;
    }
}
