/* ============================================
   NEWS ARTICLE PAGE STYLES
   Save this as: css/news-article.css
   ============================================ */

/* Article Hero Section */
.article-hero {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    padding: 8rem 3rem 4rem;
    position: relative;
    overflow: hidden;
}

.article-hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(45,155,135,0.3) 0%, transparent 70%);
    top: -250px;
    right: -250px;
    animation: rotate 20s linear infinite;
}

.article-hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.back-link:hover {
    color: white;
    transform: translateX(-5px);
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.article-date {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    font-weight: 600;
}

.article-category {
    background: var(--primary-teal);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: white;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.article-excerpt {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.95);
    line-height: 1.7;
    font-weight: 400;
}

/* Article Content */
.article-content {
    background: var(--bg-cream);
    padding: 4rem 3rem;
}

.article-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Article Text Sections */
.article-text {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.article-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    font-weight: 700;
}

.article-text h2:first-child {
    margin-top: 0;
}

.article-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #444;
    margin-bottom: 1.5rem;
}

.article-text p:last-child {
    margin-bottom: 0;
}

.lead-paragraph {
    font-size: 1.25rem !important;
    font-weight: 500;
    color: var(--text-dark) !important;
    line-height: 1.8 !important;
}

/* Article Lists */
.article-list {
    margin: 1.5rem 0 1.5rem 2rem;
    list-style: none;
}

.article-list li {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #444;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.article-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-teal);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Article Images */
.article-image {
    margin: 3rem 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.article-image.featured {
    margin-top: 0;
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.image-caption {
    background: white;
    padding: 1.2rem 1.5rem;
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
    text-align: center;
    border-top: 3px solid var(--primary-teal);
}

/* Image Grid (2 images side by side) */
.article-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.article-image-grid .article-image {
    margin: 0;
}

/* Conclusion Section */
.article-text.conclusion {
    background: linear-gradient(135deg, 
        rgba(30, 90, 158, 0.05), 
        rgba(45, 155, 135, 0.05));
    border-left: 4px solid var(--primary-teal);
}

/* Share Section */
.article-share {
    background: white;
    padding: 2.5rem 3rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
}

.article-share h3 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    padding: 0.8rem 1.5rem;
    background: white;
    border: 2px solid rgba(30, 90, 158, 0.2);
    color: var(--primary-blue);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.share-btn:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(30, 90, 158, 0.2);
}

/* Article Navigation */
.article-navigation {
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .article-hero {
        padding: 6rem 1.5rem 3rem;
    }

    .article-title {
        font-size: 2rem;
    }

    .article-excerpt {
        font-size: 1.1rem;
    }

    .article-content {
        padding: 3rem 1.5rem;
    }

    .article-text {
        padding: 2rem 1.5rem;
    }

    .article-text h2 {
        font-size: 1.6rem;
    }

    .article-text p,
    .article-list li {
        font-size: 1rem;
    }

    .article-image-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .article-share {
        padding: 2rem 1.5rem;
    }

    .share-buttons {
        flex-direction: column;
    }

    .share-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Print Styles */
@media print {
    nav,
    footer,
    .article-share,
    .article-navigation,
    .back-link {
        display: none;
    }

    .article-hero {
        background: white;
        color: black;
        padding: 2rem 0;
    }

    .article-title,
    .article-excerpt,
    .article-date {
        color: black;
    }

    .article-content {
        padding: 0;
    }

    .article-image {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}