/* Single Newsletter Page Styles */
.single-newsletter {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    transition: all 0.3s ease;
    
}

.single-newsletter .newsletter-thumbnail {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.single-newsletter .newsletter-custom-image img,
.single-newsletter .newsletter-thumbnail img {
    width: 100%; /* Ensures the image fits within the container */
    max-width: 100%; /* Prevents the image from exceeding its container width */
    height: auto; /* Maintains the aspect ratio */
    border-radius: 8px; /* Optional: Adds rounded corners */
    display: block; /* Removes unnecessary gaps below the image */
    margin: 0 auto; /* Centers the image inside the container */
   
}



.single-newsletter h1 {
    font-size: 36px;
    color: #3D52A0;
    margin-bottom: 20px;
    text-align: center;
    animation: fadeIn 1s ease-out;
    margin-top: 30px;
}

.single-newsletter .newsletter-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.single-newsletter .newsletter-content p {
    margin-bottom: 20px;
}

.single-newsletter .read-more-btn {
    display: inline-block;
    background-color: #7091E6;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 20px;
    text-align: center;
    width: 100%;
}

.single-newsletter .read-more-btn:hover {
    background-color: #3D52A0;
    transform: translateY(-3px);
}

.single-newsletter .back-to-archive {
    display: inline-block;
    margin-top: 20px;
    color: #3D52A0;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.single-newsletter .back-to-archive:hover {
    color: #7091E6;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
