/* ═══════════════════════════════════════════════════════════
   CAREERZONEHUB - ARTICLES / CAREER GUIDES CSS
   File: public_html/assets/css/articles.css
   Version: 1.0
   Description: Styles for articles listing & single article pages
   Dependencies: Bootstrap 5, Bootstrap Icons
   ═══════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════
   CSS VARIABLES (mirror main theme)
══════════════════════════════════════ */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --primary-soft: #dbeafe;
    --primary-very-soft: #eff6ff;
    --secondary: #10b981;
    --secondary-dark: #059669;
    --danger: #ef4444;
    --danger-dark: #dc2626;
    --warning: #f59e0b;
    --warning-dark: #d97706;
    --dark: #0f172a;
    --gray-dark: #334155;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --gray-soft: #e2e8f0;
    --gray-very-soft: #f1f5f9;
    --light: #f8fafc;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
    --border-radius: 14px;
    --border-radius-sm: 10px;
    --transition: all 0.2s ease;
}

/* ══════════════════════════════════════
   BASE RESET
══════════════════════════════════════ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    font-size: 1rem;
}

/* ══════════════════════════════════════
   LAYOUT CONTAINER
══════════════════════════════════════ */
.mobile-container {
    padding: 0px;
    max-width: 100%;
}

@media (min-width: 640px) {
    .mobile-container {
        padding: 20px;
        max-width: 640px;
        margin: 0 auto;
    }
}

@media (min-width: 768px) {
    .mobile-container { max-width: 768px; }
}

@media (min-width: 1024px) {
    .mobile-container {
        max-width: 1024px;
        padding: 32px;
    }
}

@media (min-width: 1280px) {
    .mobile-container { max-width: 1200px; }
}

/* ══════════════════════════════════════
   HEADER CARD
══════════════════════════════════════ */
.header-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--border-radius);
    padding: 18px 16px;
    margin-bottom: 16px;
    color: #fff;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.header-card::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

@media (min-width: 768px) {
    .header-card { padding: 32px 28px; margin-bottom: 24px; }
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.badge {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    padding: 4px 11px;
    border-radius: 30px;
    font-size: 0.72rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(255,255,255,0.3);
    letter-spacing: 0.3px;
}

.badge i { font-size: 0.7rem; }

.badge-featured { background: var(--secondary); }

.job-title {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

@media (min-width: 640px) { .job-title { font-size: 1.7rem; } }
@media (min-width: 768px) { .job-title { font-size: 2.1rem; } }
@media (min-width: 1024px) { .job-title { font-size: 2.4rem; } }

/* ══════════════════════════════════════
   CONTENT CARD
══════════════════════════════════════ */
.content-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 16px 14px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-soft);
    transition: var(--transition);
}

.content-card:hover { box-shadow: var(--shadow-lg); }

@media (min-width: 480px) {
    .content-card { padding: 20px 18px; }
}

@media (min-width: 640px) {
    .content-card { padding: 24px 22px; margin-bottom: 20px; }
}

@media (min-width: 768px) {
    .content-card { padding: 32px; margin-bottom: 24px; }
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-soft);
}

.card-header i {
    width: 36px;
    height: 36px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.card-header h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
    line-height: 1.3;
}

@media (min-width: 640px) {
    .card-header h2 { font-size: 1.25rem; }
    .card-header i  { width: 40px; height: 40px; font-size: 1.15rem; }
}

/* ══════════════════════════════════════
   ARTICLE CARD GRID (Listing Page)
══════════════════════════════════════ */
.article-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 576px) {
    .article-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
    .article-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1200px) {
    .article-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Individual article card */
.article-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--gray-soft);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.article-card:active {
    transform: translateY(-2px);
}

/* Article card image */
.article-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.article-card-img-placeholder {
    width: 100%;
    height: 180px;
    background: var(--primary-very-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 3rem;
}

/* Article card body */
.article-card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--dark);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-excerpt {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.5;
    flex: 1;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Article card footer */
.article-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--gray-soft);
    font-size: 0.8rem;
    color: var(--gray);
}

.article-card-footer span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.article-card-footer i {
    font-size: 0.85rem;
    color: var(--primary);
}

/* ══════════════════════════════════════
   ARTICLE SINGLE PAGE
══════════════════════════════════════ */

/* Breadcrumb */
.article-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 0.85rem;
    margin-bottom: 12px;
    padding: 8px 0;
    list-style: none;
}

.article-breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.article-breadcrumb a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.article-breadcrumb .separator {
    color: var(--gray-light);
    margin: 0 4px;
}

.article-breadcrumb .current {
    color: var(--gray);
    pointer-events: none;
}

/* Featured image container */
.article-featured-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

/* Article meta info */
.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-soft);
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    color: var(--gray);
}

.article-meta-item i {
    color: var(--primary);
    font-size: 0.95rem;
}

.article-meta-item.author {
    font-weight: 600;
    color: var(--dark);
}

/* Article excerpt / summary box */
.article-excerpt-box {
    background: var(--primary-very-soft);
    border-left: 4px solid var(--primary);
    padding: 16px 20px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: var(--gray-dark);
    line-height: 1.6;
}

.article-excerpt-box strong {
    color: var(--dark);
}

/* Table of Contents */
.article-toc {
    background: var(--gray-very-soft);
    border: 1px solid var(--gray-soft);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 20px;
}

.article-toc-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-toc-title i {
    color: var(--primary);
}

.article-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-toc-list li {
    margin-bottom: 6px;
}

.article-toc-list li.toc-h3 {
    padding-left: 20px;
}

.article-toc-list a {
    color: var(--gray-dark);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    display: block;
    padding: 4px 0;
}

.article-toc-list a:hover {
    color: var(--primary);
    padding-left: 6px;
}

/* Article content styling */
.article-content {
    font-size: 0.95rem;
    color: var(--gray-dark);
    line-height: 1.8;
    word-break: break-word;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (min-width: 768px) {
    .article-content {
        font-size: 1rem;
    }
}

.article-content p {
    margin-bottom: 1.2rem;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    font-weight: 700;
    color: var(--dark);
    margin: 1.5rem 0 0.8rem;
    line-height: 1.4;
    scroll-margin-top: 80px; /* For smooth scroll with sticky header */
}

.article-content h2 {
    font-size: 1.25rem;
    border-left: 3px solid var(--primary);
    padding-left: 14px;
}

.article-content h3 {
    font-size: 1.1rem;
}

.article-content h4 {
    font-size: 1rem;
}

.article-content ul,
.article-content ol {
    padding-left: 1.6rem;
    margin-bottom: 1.2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content strong,
.article-content b {
    color: var(--dark);
    font-weight: 700;
}

.article-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: var(--transition);
}

.article-content a:hover {
    color: var(--primary-dark);
}

.article-content blockquote {
    background: var(--primary-very-soft);
    border-left: 4px solid var(--primary);
    padding: 16px 20px;
    margin: 1.2rem 0;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    font-style: italic;
    color: var(--gray-dark);
}

.article-content blockquote p:last-child {
    margin-bottom: 0;
}

/* Article content images */
.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-sm);
    margin: 1.2rem 0;
    box-shadow: var(--shadow-sm);
}

/* Article content tables */
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.2rem;
    font-size: 0.88rem;
    border: 1px solid var(--gray-soft);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.article-content th {
    background: var(--primary-soft);
    color: var(--primary-dark);
    padding: 12px 14px;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
}

.article-content td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--gray-soft);
}

.article-content tr:last-child td {
    border-bottom: none;
}

.article-content tr:nth-child(even) td {
    background: var(--gray-very-soft);
}

/* Mobile table scroll */
@media (max-width: 640px) {
    .article-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }
}

/* Article content code/pre */
.article-content code {
    background: var(--gray-very-soft);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.85em;
    color: var(--danger-dark);
}

.article-content pre {
    background: var(--dark);
    color: #e2e8f0;
    padding: 16px;
    border-radius: var(--border-radius-sm);
    overflow-x: auto;
    margin: 1rem 0;
    font-size: 0.85rem;
}

.article-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

/* ══════════════════════════════════════
   SOCIAL SHARING
══════════════════════════════════════ */
.share-section {
    text-align: center;
    padding: 20px 0;
}

.share-section-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.share-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 6px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: center;
}

.share-scroll::-webkit-scrollbar { display: none; }

.share-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.15rem;
    flex-shrink: 0;
    box-shadow: var(--shadow);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.share-btn:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.share-btn.facebook  { background: #1877f2; }
.share-btn.twitter   { background: #1da1f2; }
.share-btn.whatsapp  { background: #25d366; }
.share-btn.linkedin  { background: #0a66c2; }
.share-btn.telegram  { background: #0088cc; }
.share-btn.copy      { background: var(--gray); }
.share-btn.copy-success { background: var(--secondary) !important; }

/* ══════════════════════════════════════
   AUTHOR BOX
══════════════════════════════════════ */
.author-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--gray-very-soft);
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-soft);
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.author-info h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 0;
    line-height: 1.5;
}

/* ══════════════════════════════════════
   RELATED ARTICLES
══════════════════════════════════════ */
.related-scroll {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 6px 0 14px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.related-scroll::-webkit-scrollbar { display: none; }

@media (min-width: 640px) {
    .related-scroll {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        overflow-x: visible;
        gap: 16px;
    }
}

@media (min-width: 768px) { 
    .related-scroll { grid-template-columns: repeat(3, 1fr); } 
}

@media (min-width: 1024px) { 
    .related-scroll { grid-template-columns: repeat(4, 1fr); } 
}

.related-card {
    min-width: 230px;
    background: #fff;
    border-radius: var(--border-radius);
    padding: 16px;
    border: 1px solid var(--gray-soft);
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

@media (min-width: 640px) { 
    .related-card { min-width: auto; } 
}

.related-card-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
    margin-bottom: 10px;
}

.related-title {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    font-size: 0.9rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.related-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gray);
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.related-meta i { 
    color: var(--primary); 
    width: 14px; 
}

.related-btn {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    margin-top: auto;
}

.related-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    color: #fff;
}

/* ══════════════════════════════════════
   FAQ SECTION
══════════════════════════════════════ */
.jobs-faq {
    background: #fff;
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-soft);
    margin-top: 24px;
}

.jobs-faq h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.jobs-faq h2 i {
    color: var(--primary);
}

.faq-item {
    padding: 16px 20px;
    border: 1px solid var(--gray-soft);
    border-radius: 12px;
    margin-bottom: 12px;
    background: var(--gray-very-soft);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary);
    background: #fff;
    box-shadow: var(--shadow);
}

.faq-item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.faq-item p {
    color: var(--gray-dark);
    font-size: 0.92rem;
    line-height: 1.7;
    margin: 0;
}

/* ══════════════════════════════════════
   PAGINATION
══════════════════════════════════════ */
.articles-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 24px;
}

.articles-pagination .page-link {
    border-radius: 50px;
    padding: 8px 16px;
    color: var(--dark);
    border: 1px solid var(--gray-soft);
    background: #fff;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    text-decoration: none;
}

.articles-pagination .page-link:hover {
    background: var(--primary-very-soft);
    border-color: var(--primary-light);
    color: var(--primary);
}

.articles-pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    font-weight: 600;
}

.articles-pagination .page-item.disabled .page-link {
    color: var(--gray-light);
    pointer-events: none;
    background: var(--gray-very-soft);
}

/* ══════════════════════════════════════
   EMPTY STATE
══════════════════════════════════════ */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state-icon {
    font-size: 4rem;
    color: var(--gray-light);
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-dark);
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--gray);
    font-size: 0.95rem;
    max-width: 400px;
    margin: 0 auto;
}

/* ══════════════════════════════════════
   BACK TO TOP BUTTON
══════════════════════════════════════ */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 16px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 100;
    border: 2px solid #fff;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* ══════════════════════════════════════
   ALERTS / NOTICES
══════════════════════════════════════ */
.alert {
    background: var(--primary-very-soft);
    border-left: 3px solid var(--primary);
    padding: 12px 14px;
    border-radius: var(--border-radius-sm);
    margin: 12px 0;
    font-size: 0.88rem;
    line-height: 1.55;
}

/* ══════════════════════════════════════
   UTILITY CLASSES
══════════════════════════════════════ */
.text-primary    { color: var(--primary) !important; }
.text-success    { color: var(--secondary) !important; }
.text-danger     { color: var(--danger) !important; }
.text-warning    { color: var(--warning) !important; }
.bg-primary-soft { background: var(--primary-soft) !important; }
.bg-success-soft { background: #d1fae5 !important; }
.bg-danger-soft  { background: #fee2e2 !important; }
.bg-warning-soft { background: #fff3cd !important; }
.mt-2 { margin-top: 8px !important; }
.mt-3 { margin-top: 12px !important; }
.mt-4 { margin-top: 20px !important; }
.mb-2 { margin-bottom: 8px !important; }
.mb-3 { margin-bottom: 12px !important; }
.mb-4 { margin-bottom: 20px !important; }
.text-center { text-align: center !important; }
.w-100 { width: 100% !important; }
.d-none { display: none !important; }
.d-flex { display: flex !important; }
.flex-wrap { flex-wrap: wrap !important; }
.align-items-center { align-items: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-center { justify-content: center !important; }
.gap-2 { gap: 8px !important; }
.gap-3 { gap: 12px !important; }
.rounded-3 { border-radius: var(--border-radius) !important; }
.shadow-sm { box-shadow: var(--shadow-sm) !important; }

/* ══════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════ */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.3s ease;
}

/* ══════════════════════════════════════
   RESPONSIVE - MOBILE ADJUSTMENTS
══════════════════════════════════════ */
@media (max-width: 640px) {
    .article-meta {
        gap: 10px;
        font-size: 0.8rem;
    }

    .article-meta-item {
        font-size: 0.8rem;
    }

    .article-toc {
        padding: 14px;
    }

    .article-content h2 {
        font-size: 1.15rem;
    }

    .article-content h3 {
        font-size: 1rem;
    }

    .author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .share-btn {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .article-featured-image {
        max-height: 250px;
    }

    .jobs-faq {
        padding: 16px;
    }

    .faq-item {
        padding: 12px 14px;
    }
}

/* ══════════════════════════════════════
   PRINT STYLES
══════════════════════════════════════ */
@media print {
    .header-card,
    .share-section,
    .share-scroll,
    .back-to-top,
    .related-scroll,
    .article-toc,
    .author-box,
    .jobs-faq,
    footer,
    header,
    nav,
    .action-stack,
    .tabs-wrapper {
        display: none !important;
    }

    .content-card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }

    .article-content {
        font-size: 12pt;
        line-height: 1.6;
    }

    .article-content a {
        color: #000;
        text-decoration: underline;
    }

    .article-featured-image {
        max-height: 300px;
    }
}