/* Article Pages Shared Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', Arial, sans-serif;
    background: #f8fafb;
    color: #1f2a3d;
    line-height: 1.7;
}

/* Header */
.article-header {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img {
    height: 32px;
    width: auto;
}

.logo span {
    font-size: 18px;
    font-weight: 700;
    color: #0f1c2e;
}

.header-nav {
    display: flex;
    gap: 32px;
}

.header-nav a {
    color: #5c6575;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.header-nav a:hover {
    color: #1a73ff;
}

/* Article Hero */
.article-hero {
    background: linear-gradient(135deg, #1a73ff 0%, #0d5bdb 100%);
    color: #fff;
    padding: 80px 24px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-category {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-hero h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.article-excerpt {
    font-size: 20px;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 24px;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    font-size: 14px;
    opacity: 0.8;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Featured Image */
.featured-image {
    max-width: 1000px;
    margin: -60px auto 0;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.featured-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

/* Article Content */
.article-content {
    background: #fff;
    max-width: 1000px;
    margin: 40px auto;
    padding: 60px 24px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.content-wrapper {
    max-width: 720px;
    margin: 0 auto;
}

.lead {
    font-size: 20px;
    color: #3a4553;
    line-height: 1.8;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eef1f5;
}

.article-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #0f1c2e;
    margin-top: 48px;
    margin-bottom: 20px;
}

.article-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: #0f1c2e;
    margin-top: 36px;
    margin-bottom: 16px;
}

.article-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #0f1c2e;
    margin-top: 28px;
    margin-bottom: 12px;
}

.article-content p {
    font-size: 17px;
    color: #3a4553;
    margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.article-content li {
    font-size: 17px;
    color: #3a4553;
    margin-bottom: 12px;
}

.article-content strong {
    color: #0f1c2e;
}

/* Content Images */
.content-image {
    width: 100%;
    border-radius: 12px;
    margin: 32px 0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, #e8f4ff 0%, #dbeafe 100%);
    border-left: 4px solid #1a73ff;
    border-radius: 0 12px 12px 0;
    padding: 24px 28px;
    margin: 32px 0;
}

.info-box h4 {
    color: #1a73ff;
    margin-top: 0;
    margin-bottom: 8px;
}

.info-box p {
    margin-bottom: 0;
    color: #2d5aa0;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, #f0f4f8 0%, #e8ecf0 100%);
    border-radius: 12px;
    padding: 28px 32px;
    margin: 32px 0;
}

.highlight-box h4 {
    color: #0f1c2e;
    margin-top: 0;
    margin-bottom: 12px;
}

.highlight-box p {
    margin-bottom: 0;
    color: #5c6575;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, #1a73ff 0%, #0d5bdb 100%);
    border-radius: 16px;
    padding: 40px;
    margin: 48px 0;
    text-align: center;
}

.cta-box h3 {
    color: #fff;
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 24px;
}

.cta-box p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 24px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #fff;
    color: #1a73ff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

/* Related Articles */
.related-articles {
    background: #f8fafb;
    padding: 80px 24px;
}

.section-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.related-articles h2 {
    font-size: 32px;
    font-weight: 700;
    color: #0f1c2e;
    text-align: center;
    margin-bottom: 40px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.related-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    text-decoration: none;
    transition: all 0.3s;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.related-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.related-content {
    padding: 20px;
}

.related-content .category {
    display: inline-block;
    padding: 4px 10px;
    background: #e8f4ff;
    color: #1a73ff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.related-content h3 {
    font-size: 17px;
    font-weight: 700;
    color: #0f1c2e;
    line-height: 1.4;
}

/* Footer */
.main-footer {
    background: #0f1c2e;
    color: #fff;
    padding: 60px 24px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
}

.footer-column h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: #1a73ff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* Articles Index Page */
.page-hero {
    background: linear-gradient(135deg, #1a73ff 0%, #0d5bdb 100%);
    color: #fff;
    padding: 80px 24px;
    text-align: center;
}

.page-hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 20px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.articles-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
}

.all-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.article-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(15, 35, 70, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(15, 35, 70, 0.15);
}

.article-card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.article-card-category {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    background: rgba(26, 115, 255, 0.9);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 6px;
    text-transform: uppercase;
}

.article-card-content {
    padding: 24px;
}

.article-card-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0f1c2e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.article-card-content p {
    font-size: 14px;
    color: #5c6575;
    line-height: 1.6;
    margin-bottom: 16px;
}

.read-more {
    color: #1a73ff;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Responsive */
@media (max-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .all-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-nav {
        display: none;
    }

    .logo span {
        font-size: 16px;
    }

    .article-hero {
        padding: 60px 20px;
    }

    .article-hero h1 {
        font-size: 32px;
    }

    .article-excerpt {
        font-size: 17px;
    }

    .article-meta {
        flex-direction: column;
        gap: 12px;
    }

    .featured-image {
        margin-top: -40px;
    }

    .article-content {
        margin: 24px 16px;
        padding: 40px 20px;
    }

    .article-content h2 {
        font-size: 24px;
    }

    .article-content h3 {
        font-size: 20px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .all-articles-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .page-hero h1 {
        font-size: 32px;
    }
}
