/* Article-specific styles for TryThisEmail blog */

/* Article Header */
.article-header {
    background: linear-gradient(135deg, #2c5530 0%, #1e3a20 100%);
    color: white;
    padding: 2rem 0 3rem;
    margin-top: 70px;
}

.article-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: #a8e6a3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    margin: 0 0.5rem;
    opacity: 0.6;
}

.article-category-tag {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.article-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
}

.article-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.5;
    max-width: 800px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    font-size: 1rem;
}

.author-title {
    font-size: 0.85rem;
    opacity: 0.8;
}

.article-stats {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
}

.article-stats span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    opacity: 0.9;
}

/* Article Layout */
.article-main {
    padding: 3rem 0;
    background: #f8f9fa;
}

.article-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
}

/* Table of Contents */
.table-of-contents {
    position: sticky;
    top: 100px;
    height: fit-content;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.toc-header h3 {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    color: #2c5530;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toc-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-nav li {
    margin-bottom: 0.5rem;
}

.toc-nav a {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
    display: block;
    padding: 0.3rem 0;
    transition: color 0.3s ease;
    border-left: 2px solid transparent;
    padding-left: 0.5rem;
}

.toc-nav a:hover,
.toc-nav a.active {
    color: #2c5530;
    border-left-color: #2c5530;
}

/* Article Content */
.article-content {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    line-height: 1.7;
}

.article-image {
    margin: 0 -2.5rem 2rem -2.5rem;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background: linear-gradient(135deg, #2c5530, #4a6741);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.image-caption {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.8rem 2.5rem;
    font-size: 0.9rem;
    font-style: italic;
}

.lead-paragraph {
    font-size: 1.2rem;
    color: #2c5530;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.article-section h2 {
    color: #2c5530;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
}

.article-section h3 {
    color: #2c5530;
    font-size: 1.4rem;
    margin: 2rem 0 1rem 0;
}

.article-section h4 {
    color: #495057;
    font-size: 1.2rem;
    margin: 1.5rem 0 0.8rem 0;
}

.article-section p {
    margin-bottom: 1.2rem;
    color: #495057;
}

/* Highlight Boxes */
.highlight-box {
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    display: flex;
    gap: 1rem;
    border-left: 4px solid;
}

.highlight-box.warning {
    background: #fff3cd;
    border-left-color: #ffc107;
}

.highlight-box.info {
    background: #d1ecf1;
    border-left-color: #17a2b8;
}

.highlight-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.highlight-content h4 {
    margin: 0 0 0.5rem 0;
    color: #495057;
}

.highlight-content p {
    margin: 0;
}

/* Lists */
.feature-list {
    margin: 1rem 0;
    padding-left: 0;
}

.feature-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    color: #495057;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

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

.info-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e9ecef;
}

.info-icon {
    font-size: 2rem;
    color: #2c5530;
    margin-bottom: 1rem;
}

.info-card h4 {
    margin: 0 0 0.8rem 0;
    color: #2c5530;
}

.info-card p {
    margin: 0;
    font-size: 0.9rem;
    color: #6c757d;
}

/* Statistics Grid */
.statistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: linear-gradient(135deg, #2c5530, #4a6741);
    color: white;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(44, 85, 48, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.stat-label {
    font-size: 0.9rem;
    color: #ffffff;
    opacity: 1;
    line-height: 1.3;
    font-weight: 500;
}

/* Strategy Lists */
.strategy-list {
    margin: 2rem 0;
}

.strategy-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #2c5530;
}

.strategy-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.strategy-icon.primary {
    background: #2c5530;
}

.strategy-icon.secondary {
    background: #6c757d;
}

.strategy-icon.temporary {
    background: #17a2b8;
}

.strategy-content h4 {
    margin: 0 0 0.5rem 0;
    color: #2c5530;
}

.strategy-content p {
    margin: 0;
    color: #6c757d;
}

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

.benefit-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    border-color: #2c5530;
    box-shadow: 0 4px 15px rgba(44, 85, 48, 0.1);
}

.benefit-icon {
    font-size: 2.5rem;
    color: #2c5530;
    margin-bottom: 1rem;
}

.benefit-card h4 {
    margin: 0 0 0.8rem 0;
    color: #2c5530;
}

.benefit-card p {
    margin: 0;
    font-size: 0.9rem;
    color: #6c757d;
}

/* Use Case List */
.use-case-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.use-case-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #2c5530;
}

.use-case-item i {
    color: #2c5530;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, #2c5530, #4a6741);
    color: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    margin: 2.5rem 0;
    box-shadow: 0 8px 25px rgba(44, 85, 48, 0.3);
    position: relative;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h3 {
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #ffffff;
    font-weight: 700;
}

.cta-content p {
    margin: 0 0 1.5rem 0;
    color: #ffffff;
    opacity: 1;
    font-weight: 500;
    line-height: 1.6;
}

.cta-button {
    background: white;
    color: #2c5530;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: 3px solid white;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cta-button.large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

/* Response Timeline */
.response-timeline {
    margin: 2rem 0;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid;
}

.timeline-item.immediate {
    background: #fff5f5;
    border-left-color: #dc3545;
}

.timeline-item.short-term {
    background: #fff3cd;
    border-left-color: #ffc107;
}

.timeline-item.long-term {
    background: #d4edda;
    border-left-color: #28a745;
}

.timeline-marker {
    background: white;
    padding: 0.8rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    text-align: center;
    min-width: 100px;
    height: fit-content;
    border: 2px solid #e9ecef;
}

.timeline-content h4 {
    margin: 0 0 1rem 0;
    color: #495057;
}

.timeline-content ul {
    margin: 0;
    padding-left: 1.2rem;
}

.timeline-content li {
    margin-bottom: 0.5rem;
    color: #6c757d;
}

/* FAQ Section */
.faq-list {
    margin: 2rem 0;
}

.faq-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question h4 {
    margin: 0;
    color: #2c5530;
    font-size: 1.1rem;
}

.faq-question i {
    color: #6c757d;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    margin: 0;
    color: #495057;
    line-height: 1.6;
}

/* Key Takeaways */
.key-takeaways {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #2c5530;
    margin: 2rem 0;
}

.key-takeaways h3 {
    margin: 0 0 1rem 0;
    color: #2c5530;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.key-takeaways ul {
    margin: 0;
    padding-left: 1.2rem;
}

.key-takeaways li {
    margin-bottom: 0.8rem;
    color: #495057;
}

/* Final CTA */
.final-cta {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    margin: 2rem 0;
}

.final-cta h3 {
    margin: 0 0 1rem 0;
    color: #2c5530;
}

.final-cta p {
    margin: 0 0 1.5rem 0;
    color: #6c757d;
}

/* Article Tags */
.article-tags {
    margin: 3rem 0 2rem 0;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.article-tags h4 {
    margin: 0 0 1rem 0;
    color: #6c757d;
    font-size: 1rem;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tag {
    background: #e9ecef;
    color: #495057;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #2c5530;
    color: white;
}

/* Share Section */
.share-section {
    margin: 2rem 0;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.share-section h4 {
    margin: 0 0 1rem 0;
    color: #6c757d;
    font-size: 1rem;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid;
}

.share-btn.twitter {
    color: #1da1f2;
    border-color: #1da1f2;
}

.share-btn.twitter:hover {
    background: #1da1f2;
    color: white;
}

.share-btn.linkedin {
    color: #0077b5;
    border-color: #0077b5;
}

.share-btn.linkedin:hover {
    background: #0077b5;
    color: white;
}

.share-btn.facebook {
    color: #1877f2;
    border-color: #1877f2;
}

.share-btn.facebook:hover {
    background: #1877f2;
    color: white;
}

.share-btn.copy {
    color: #6c757d;
    border-color: #6c757d;
}

.share-btn.copy:hover {
    background: #6c757d;
    color: white;
}

/* Related Articles */
.related-articles {
    background: #f8f9fa;
    padding: 3rem 0;
}

.related-articles h2 {
    text-align: center;
    color: #2c5530;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.related-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.related-card:hover {
    transform: translateY(-5px);
}

.related-image {
    height: 200px;
    background: linear-gradient(135deg, #2c5530, #4a6741);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-image {
    color: white;
    font-size: 3rem;
}

.related-content {
    padding: 1.5rem;
}

.related-category {
    color: #2c5530;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.related-card h3 {
    margin: 0 0 0.8rem 0;
    color: #2c5530;
    font-size: 1.2rem;
    line-height: 1.3;
}

.related-card p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .table-of-contents {
        position: static;
        order: -1;
    }
    
    .article-header h1 {
        font-size: 2rem;
    }
    
    .article-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .article-header {
        padding: 1.5rem 0 2rem;
    }
    
    .article-content {
        padding: 1.5rem;
    }
    
    .article-image {
        margin: 0 -1.5rem 1.5rem -1.5rem;
    }
    
    .image-caption {
        padding: 0.8rem 1.5rem;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .article-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .info-grid,
    .statistics-grid,
    .benefit-grid {
        grid-template-columns: 1fr;
    }
    
    .use-case-list {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .timeline-marker {
        align-self: flex-start;
    }
    
    .share-buttons {
        justify-content: center;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .article-header h1 {
        font-size: 1.6rem;
    }
    
    .article-subtitle {
        font-size: 1rem;
    }
    
    .lead-paragraph {
        font-size: 1.1rem;
    }
    
    .cta-box {
        padding: 2rem 1.5rem;
    }
    
    .cta-button {
        padding: 1rem 1.5rem;
    }
}
