/* Professional 3-Column Newsletter Design - Updated 2025-08-11 */
.newsletter-main {
    background: #f8fafc;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.newsletter-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* 3-Column Layout */
.newsletter-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.main-content {
    background: #ffffff;
}

.newsletter-sidebar {
    background: #ffffff;
}

/* Header */
.newsletter-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.newsletter-date {
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    display: block;
    width: 100%;
    order: 1;
}

.newsletter-header h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.4;
    margin: 0;
    letter-spacing: -0.02em;
    display: block;
    width: 100%;
    text-align: center;
    order: 2;
}

.newsletter-intro {
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
    max-width: 600px;
    text-align: center;
    font-style: italic;
    display: block;
    width: 100%;
    order: 3;
}

/* Executive Summary */
.executive-summary-section {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.executive-summary-section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #2563eb;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.executive-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.summary-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 1rem;
    transition: all 0.2s ease;
}

.summary-item:hover {
    border-color: #2563eb;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}

.summary-item p {
    color: #374151;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
}

/* Content */
.newsletter-content {
    line-height: 1.7;
}

.intro-section {
    margin-bottom: 3rem;
}

.lead {
    font-size: 1.125rem;
    color: #374151;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    border-left: 3px solid #2563eb;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
    margin-top: 2.5rem;
    line-height: 1.3;
}

.content-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
    margin-top: 2rem;
}

.content-section p {
    color: #374151;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
}

.source {
    color: #6b7280;
    font-style: italic;
    font-size: 0.95rem;
}

/* Highlight boxes */
.highlight-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.highlight-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.highlight-item h3 {
    color: #2563eb;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.highlight-item p {
    color: #4b5563;
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Key takeaways */
.key-takeaways {
    background: #1a1a1a;
    color: white;
    padding: 2.5rem;
    border-radius: 12px;
    margin: 3rem 0;
}

.key-takeaways h2 {
    color: white;
    margin-bottom: 2rem;
}

.takeaways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.takeaway-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
}

.takeaway-item h3 {
    color: #60a5fa;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.takeaway-item p {
    color: #d1d5db;
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Newsletter conclusion */
.newsletter-conclusion {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    margin: 3rem 0;
    border: 1px solid #e5e7eb;
}

.newsletter-conclusion p {
    color: #374151;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.newsletter-conclusion p:last-child {
    margin-bottom: 0;
}

.disclaimer {
    color: #6b7280 !important;
    font-size: 0.95rem !important;
}

/* Navigation */
.newsletter-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid #e5e7eb;
    margin-top: 3rem;
}

.nav-button {
    display: inline-flex;
    align-items: center;
    background: #2563eb;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background 0.2s;
}

.nav-button:hover {
    background: #1d4ed8;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.share-buttons span {
    color: #6b7280;
    font-weight: 500;
}

.share-button {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid #2563eb;
    border-radius: 4px;
    transition: all 0.2s;
}

.share-button:hover {
    background: #2563eb;
    color: white;
}

/* Sidebar Styling */
.newsletter-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.sidebar-widget h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
    border-bottom: 2px solid #2563eb;
    padding-bottom: 0.5rem;
}

/* Subscribe Widget */
.subscribe-widget {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    border: none;
}

.subscribe-widget h3 {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.subscribe-widget p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.subscribe-form input {
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.875rem;
}

.subscribe-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.subscribe-form button {
    padding: 0.75rem;
    background: white;
    color: #2563eb;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.subscribe-form button:hover {
    background: #f8fafc;
    transform: translateY(-1px);
}

.subscribe-note {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Author Widget */
.author-info {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.author-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
}

.author-details p {
    color: #4b5563;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.author-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.author-link:hover {
    color: #1d4ed8;
}

/* Related Articles Widget */
.related-articles {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-article {
    padding-bottom: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.related-article:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-article h4 {
    margin-bottom: 0.5rem;
}

.related-article h4 a {
    color: #111827;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.2s;
}

.related-article h4 a:hover {
    color: #2563eb;
}

.article-meta {
    color: #6b7280;
    font-size: 0.75rem;
    margin: 0;
}

/* Ad Widget */
.ad-placeholder {
    text-align: center;
    background: #f8fafc;
    border: 2px dashed #d1d5db;
    border-radius: 6px;
    padding: 1.5rem;
}

.ad-placeholder > p {
    color: #9ca3af;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.ad-content h4 {
    color: #111827;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.ad-content p {
    color: #4b5563;
    font-size: 0.875rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.ad-cta {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.2s;
}

.ad-cta:hover {
    background: #1d4ed8;
}

/* Responsive Design */
@media (max-width: 968px) {
    .newsletter-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .newsletter-sidebar {
        order: -1;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .newsletter-container {
        padding: 1rem;
    }
    
    .newsletter-header h1 {
        font-size: 1.875rem;
    }
    
    .newsletter-intro {
        font-size: 1rem;
    }
    
    .executive-summary-grid {
        grid-template-columns: 1fr;
    }
    
    .highlight-box {
        grid-template-columns: 1fr;
    }
    
    .takeaways-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-navigation {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .content-section h2 {
        font-size: 1.25rem;
    }
    
    .lead {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .newsletter-sidebar {
        grid-template-columns: 1fr;
    }
    
    .author-info {
        flex-direction: column;
        text-align: center;
    }
}
