/* Newsletter Page Styles */

.current-newsletter {
    margin-bottom: 4rem;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.badge {
    background: linear-gradient(135deg, #2c5f8d, #1e4a6b);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(44, 95, 141, 0.3);
}

.newsletter-featured {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
}

.newsletter-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 2rem;
    flex-wrap: wrap;
}

.newsletter-meta h3 {
    color: var(--creek-blue);
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.newsletter-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--stone);
    font-size: 0.95rem;
}

.newsletter-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, #2c5f8d, #1e4a6b);
    color: white;
    box-shadow: 0 4px 12px rgba(44, 95, 141, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 95, 141, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--creek-blue);
    border: 2px solid var(--creek-blue);
}

.btn-secondary:hover {
    background: var(--creek-blue);
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--creek-blue);
    border: 2px solid var(--creek-blue);
    padding: 0.75rem 2rem;
}

.btn-outline:hover {
    background: var(--creek-blue);
    color: white;
}

.icon {
    font-size: 1.1rem;
}

/* PDF Viewer */
.newsletter-preview {
    margin: 2rem 0;
}

.pdf-viewer-container {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e8e8e8;
    background: #f5f5f5;
}

.pdf-viewer {
    width: 100%;
    height: 100%;
    border: none;
}

.pdf-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 2rem;
    text-align: center;
    pointer-events: none;
}

.pdf-overlay p {
    color: white;
    font-weight: 600;
    margin: 0;
}

/* Newsletter Highlights */
.newsletter-highlights {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.newsletter-highlights h4 {
    color: var(--creek-blue);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.newsletter-highlights ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.newsletter-highlights li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.newsletter-highlights li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--creek-blue);
    font-weight: bold;
}

/* Archive Section */
.newsletter-archive {
    margin-top: 4rem;
}

.archive-description {
    text-align: center;
    color: var(--stone);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.archive-item {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
    display: flex;
    gap: 1rem;
}

.archive-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    border-color: var(--creek-blue);
}

.archive-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.archive-content {
    flex: 1;
}

.archive-title {
    color: var(--creek-blue);
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.archive-date {
    color: var(--stone);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.archive-description-text {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.archive-actions {
    display: flex;
    gap: 1.5rem;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--creek-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.btn-link:hover {
    color: #1e4a6b;
    transform: translateX(3px);
}

.btn-link .icon {
    font-size: 1rem;
}

/* Load More */
.load-more {
    text-align: center;
    margin-top: 3rem;
}

/* Info Section */
.info-section {
    margin-top: 4rem;
}

.info-box {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--creek-blue);
}

.info-box h3 {
    color: var(--creek-blue);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.info-box p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .newsletter-header {
        flex-direction: column;
    }

    .newsletter-actions {
        width: 100%;
    }

    .btn {
        flex: 1;
        justify-content: center;
    }

    .pdf-viewer-container {
        height: 400px;
    }

    .archive-grid {
        grid-template-columns: 1fr;
    }

    .archive-item {
        flex-direction: column;
        text-align: center;
    }

    .archive-actions {
        justify-content: center;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .newsletter-featured {
        padding: 1.5rem;
    }

    .newsletter-meta h3 {
        font-size: 1.4rem;
    }

    .pdf-viewer-container {
        height: 300px;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}
