/**
 * Newsletter Styles
 */

/* Single Newsletter */
.newsletter-single {
    background-color: #fff;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.newsletter-header {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.newsletter-title {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.newsletter-meta {
    color: #777;
    font-size: 14px;
}

.newsletter-meta span {
    margin-right: 15px;
}

.newsletter-meta .fa {
    margin-right: 5px;
}

.newsletter-featured-image {
    margin-bottom: 20px;
}

.newsletter-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.newsletter-content {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.newsletter-content h2, 
.newsletter-content h3, 
.newsletter-content h4 {
    margin-top: 30px;
    margin-bottom: 15px;
}

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

.newsletter-content ul, 
.newsletter-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.newsletter-content blockquote {
    border-left: 4px solid #ddd;
    padding: 10px 20px;
    margin: 0 0 20px;
    font-style: italic;
    color: #555;
}

.newsletter-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Archive Layout */
.newsletter-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.newsletter-archive-item {
    width: 100%;
    padding: 0 15px;
    margin-bottom: 30px;
}

.newsletter-inner {
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.newsletter-thumbnail {
    position: relative;
    overflow: hidden;
}

.newsletter-thumbnail img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.newsletter-thumbnail:hover img {
    transform: scale(1.05);
}

.newsletter-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.newsletter-archive-item .newsletter-header {
    margin-bottom: 15px;
    padding-bottom: 15px;
}

.newsletter-archive-item .newsletter-title {
    font-size: 22px;
    margin-bottom: 10px;
}

.newsletter-archive-item .newsletter-title a {
    color: #333;
    text-decoration: none;
}

.newsletter-archive-item .newsletter-title a:hover {
    color: #0056b3;
}

.newsletter-excerpt {
    flex-grow: 1;
    margin-bottom: 15px;
}

.newsletter-archive-item .newsletter-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.read-more-link {
    display: inline-block;
    color: #0056b3;
    text-decoration: none;
    font-weight: 500;
}

.read-more-link:hover {
    text-decoration: underline;
}

.read-more-link .fa {
    margin-left: 5px;
    transition: transform 0.2s ease;
}

.read-more-link:hover .fa {
    transform: translateX(3px);
}

/* Responsive */
@media (min-width: 576px) {
    .newsletter-archive-item {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .newsletter-archive-item {
        width: 50%;
    }
    
    .newsletter-inner {
        flex-direction: row;
    }
    
    .newsletter-thumbnail {
        width: 40%;
    }
    
    .newsletter-content {
        width: 60%;
    }
}

@media (min-width: 992px) {
    .newsletter-archive-item {
        width: 50%;
    }
}