﻿:root {
    --topbar-offset: 84px;
}

.article-page {
    padding: 100px 0 60px;
    background-color: #ffffff;
}

.article-layout {
    position: relative;
}

.article-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-content {
    color: #1f2937;
    line-height: 1.75;
    font-size: 1rem;
}

.article-header {
    margin-bottom: 24px;
}

.article-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eef5fb;
    color: #004f8b;
    font-size: 0.9rem;
    font-weight: 600;
}

.article-header h1 {
    font-size: 2.35rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #111827;
}

.article-lead {
    font-size: 1.1rem;
    margin-bottom: 18px;
    color: #374151;
}

.article-content h2 {
    margin-top: 40px;
    margin-bottom: 16px;
    font-size: 1.6rem;
    color: #111827;
}

.article-content h3 {
    margin-top: 24px;
    margin-bottom: 12px;
    font-size: 1.2rem;
    color: #111827;
}

.article-content p {
    margin-bottom: 16px;
}

.article-content ul {
    margin-bottom: 16px;
    padding-left: 22px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-cta {
    margin: 32px 0;
    padding: 24px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
}

    .article-cta h2 {
        margin-top: 0;
    }

.article-btn {
    min-width: 220px;
}

.article-links {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

    .article-links h3 {
        margin-bottom: 12px;
    }

    .article-links a {
        color: #004f8b;
        text-decoration: none;
    }

        .article-links a:hover {
            text-decoration: underline;
        }

/* Floating share toolbox */
.share-toolbox {
    position: fixed;
    left: max(16px, calc(50% - 580px));
    top: 180px;
    width: 72px;
    z-index: 100;
}

.share-toolbox-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 14px 10px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.share-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 4px;
}

.share-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #dbe3ec;
    background: #f8fafc;
    color: #004f8b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    font-weight: 700;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

    .share-btn span {
        line-height: 1;
        font-size: 0.95rem;
    }

    .share-btn:hover {
        transform: translateY(-2px);
        background: #eef5fb;
        border-color: #bfd3e6;
        color: #003b73;
    }

.share-btn-copy,
.share-btn-native {
    font-family: inherit;
    padding: 0;
}

.copy-message {
    min-height: 18px;
    margin-top: 2px;
    font-size: 0.72rem;
    color: #004f8b;
    text-align: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

    .copy-message.show {
        opacity: 1;
    }

.articles-page {
    padding: var(--topbar-offset) 0 60px;
    background-color: #ffffff;
}

.articles-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.articles-header {
    margin-bottom: 32px;
}

.articles-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eef5fb;
    color: #004f8b;
    font-size: 0.9rem;
    font-weight: 600;
}

.articles-header h1 {
    font-size: 2.2rem;
    margin-bottom: 16px;
    color: #111827;
}

.articles-lead {
    font-size: 1.1rem;
    color: #4b5563;
    max-width: 700px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Card */
.article-card {
    display: block;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px;
    transition: all 0.2s ease;
}

    .article-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
        border-color: #d1d5db;
    }

.article-card-content h2 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #111827;
}

.article-card-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    color: #004f8b;
    margin-bottom: 10px;
}

.article-card-desc {
    font-size: 0.95rem;
    color: #6b7280;
    margin-bottom: 16px;
    line-height: 1.6;
}

.article-card-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: #004f8b;
}

/* Responsive */
@media (max-width: 1000px) {
    .articles-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }

    :root {
        --topbar-offset: 96px;
    }

}

@media (max-width: 1100px) {
    .article-layout {
        gap: 0;
    }

    .share-toolbox {
        position: fixed;
        right: 16px;
        left: auto;
        bottom: 16px;
        top: auto;
        width: auto;
    }

    .share-toolbox-inner {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
        padding: 10px 12px;
        border-radius: 999px;
    }

    .share-label,
    .copy-message {
        display: none;
    }
}

@media (max-width: 768px) {
    .article-page {
        padding: 100px 0 40px;
    }

    .article-container {
        padding: 0 16px;
    }

    .article-header h1 {
        font-size: 1.85rem;
    }

    .article-lead {
        font-size: 1rem;
    }

    .article-cta {
        padding: 20px;
    }

    .share-toolbox {
        right: 12px;
        bottom: 12px;
    }

    .share-toolbox-inner {
        gap: 6px;
        padding: 8px 10px;
    }

    .share-btn {
        width: 38px;
        height: 38px;
    }
}
