/* article-page.css — article page-specific styles only */

/* Article header band */
.article-header {
    background: var(--surface);
    padding: 3rem 0 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.article-category {
    font-size: 0.85rem;
    padding: 0.35rem 0.9rem;
    margin-bottom: 1rem;
}
.article-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}
.article-meta {
    color: var(--text-muted);
    font-size: 0.95rem;
    gap: 1rem;
    flex-wrap: wrap;
}
.article-meta i { color: var(--primary); margin-right: 0.3rem; }

/* Featured image */
.featured-image {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

/* Article body */
.article-content {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.05);
    margin-bottom: 2.5rem;
}
.article-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border);
}
.article-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 1.75rem;
    margin-bottom: 0.85rem;
}
.article-content p {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    color: var(--text-body);
}
.article-content ul, .article-content ol {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    padding-left: 1.75rem;
}
.article-content li { margin-bottom: 0.6rem; color: var(--text-body); }

/* Highlight/callout boxes */
.highlight-box {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-left: 4px solid var(--primary);
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}
.highlight-box p { margin-bottom: 0; font-style: italic; color: #1e40af; }

/* Tags */
.tags {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border);
}
.tag {
    display: inline-block;
    background: var(--surface-alt);
    color: var(--text-muted);
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    margin-right: 0.4rem;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background var(--t-fast), color var(--t-fast);
}
.tag:hover { background: var(--primary); color: #fff; }

/* Share buttons */
.share-buttons {
    margin: 1.5rem 0;
    padding: 1.25rem 1.5rem;
    background: var(--surface-alt);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: transform var(--t-fast), opacity var(--t-fast);
}
.share-btn:hover { transform: translateY(-3px); opacity: 0.9; color: #fff; }
.share-btn.twitter  { background: #1DA1F2; }
.share-btn.facebook { background: #4267B2; }
.share-btn.linkedin { background: #0077B5; }
.share-btn.reddit   { background: #FF4500; }

/* Author info */
.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--surface-alt);
    border-radius: 10px;
    margin-bottom: 2rem;
}
.author-avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1.4rem;
    flex-shrink: 0;
}

/* Related articles cards */
.related-articles { margin-top: 3.5rem; }
.related-articles h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}
.related-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: transform var(--t-base);
    height: 100%;
    background: var(--surface);
}
.related-card:hover { transform: translateY(-5px); }
.related-card img { height: 180px; width: 100%; object-fit: cover; }

/* Legal / policy pages */
.content-section {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    margin-bottom: 2.5rem;
}
.content-section h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
}
.content-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}
.content-section p, .content-section li {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-body);
    margin-bottom: 0.75rem;
}

.last-updated {
    background: var(--surface-alt);
    padding: 0.85rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Inline TOC (privacy/terms) */
.toc {
    background: var(--surface-alt);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}
.toc h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; color: var(--text-primary); }
.toc ul { list-style: none; padding-left: 0; margin: 0; }
.toc ul li { margin-bottom: 0.5rem; }
.toc a { color: var(--primary); text-decoration: none; font-size: 0.92rem; }
.toc a:hover { text-decoration: underline; }

/* Contact page */
.contact-card, .info-card {
    background: var(--surface);
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    padding: 2rem;
    margin-bottom: 1.5rem;
}
.contact-card h3 { font-size: 1.5rem; font-weight: 700; color: var(--text-primary); margin-bottom: 1.5rem; }
.info-card { text-align: center; transition: transform var(--t-base); }
.info-card:hover { transform: translateY(-4px); }
.info-card i { font-size: 2rem; color: var(--primary); margin-bottom: 0.85rem; display: block; }
.info-card h4 { font-size: 1.1rem; font-weight: 600; color: var(--text-primary); }
.info-card p, .info-card a { color: var(--text-muted); font-size: 0.95rem; }

/* About page */
.value-card {
    background: var(--surface);
    padding: 1.75rem;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    margin-bottom: 1.5rem;
    transition: transform var(--t-base);
}
.value-card:hover { transform: translateY(-4px); }
.value-card i { font-size: 2.5rem; color: var(--primary); margin-bottom: 0.85rem; display: block; }
.value-card h4 { font-size: 1.2rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.5rem; }
.value-card p { color: var(--text-body); }

.team-member { text-align: center; margin-bottom: 2rem; }
.team-avatar {
    width: 130px; height: 130px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 2.5rem; font-weight: 700;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 24px rgba(37,99,235,0.3);
}
.team-member h5 { font-weight: 700; color: var(--text-primary); }
.team-member p { color: var(--text-muted); font-size: 0.92rem; }

.stats-section {
    background: var(--surface-alt);
    padding: 3rem 0;
    margin: 3rem 0;
}
.stat-card { text-align: center; padding: 1.5rem; }
.stat-card h3 { font-size: 2.8rem; font-weight: 800; color: var(--primary); margin-bottom: 0.25rem; }
.stat-card p { color: var(--text-muted); margin: 0; }

/* Form controls */
.form-control, .form-select {
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 1rem;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}
.btn-primary {
    background: var(--primary);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37,99,235,0.3);
}

/* Dark mode overrides */
@media (prefers-color-scheme: dark) {
    .article-content, .content-section, .contact-card, .info-card,
    .value-card, .related-card, .author-info { background: #1e293b; }
    .highlight-box { background: linear-gradient(135deg,#1e3a5f,#1e3a8a); }
    .highlight-box p { color: #93c5fd; }
    .article-header { background: #1e293b; box-shadow: 0 2px 12px rgba(0,0,0,0.3); }
    .toc, .last-updated, .share-buttons { background: #0f172a; }
    .stats-section { background: #0f172a; }
    .form-control, .form-select { background: #1e293b; color: #f1f5f9; border-color: #334155; }
}
