/* ============================================
   JUNKSHUN ARTICLES SECTION STYLES
   /articles/articles.css
   ============================================ */

/* --- Article Index / Card Layout --- */
.articles-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0066cc 100%);
    color: white;
    padding: 60px 0 40px;
    text-align: center;
}

.articles-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.articles-hero h1::before {
    display: none;
}

.articles-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.articles-listing {
    padding: 60px 0;
    background: var(--light-blue);
    min-height: 50vh;
}

.article-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.article-card-icon {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0066cc 100%);
    padding: 30px;
    text-align: center;
    position: relative;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-card-icon i {
    font-size: 3.5rem;
    color: var(--button-yellow);
}

.article-card-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card-category {
    display: inline-block;
    background: var(--light-blue);
    color: var(--primary-blue);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 3px;
    margin-bottom: 12px;
    align-self: flex-start;
}

.article-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 12px;
    line-height: 1.3;
}

.article-card-title a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.2s;
}

.article-card-title a:hover {
    color: #0066cc;
}

.article-card-teaser {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.article-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.article-card-date {
    font-size: 0.8rem;
    color: #999;
}

.article-card-link {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s;
}

.article-card-link:hover {
    color: #0066cc;
}

.article-card-link i {
    transition: transform 0.2s;
    display: inline-block;
}

.article-card-link:hover i {
    transform: translateX(3px);
}

/* --- Individual Article Page --- */
.article-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0066cc 100%);
    color: white;
    padding: 60px 0 40px;
}

.article-header h1 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.3;
    max-width: 800px;
}

.article-header h1::before {
    display: none;
}

.article-meta {
    margin-top: 15px;
    font-size: 0.9rem;
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.article-meta i {
    margin-right: 4px;
}

.article-breadcrumb {
    margin-bottom: 20px;
}

.article-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.article-breadcrumb a:hover {
    color: white;
}

.article-breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 8px;
    font-size: 0.8rem;
}

.article-content {
    padding: 50px 0 60px;
    background: white;
}

.article-body {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.article-body h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.article-body h2::before {
    display: none;
}

.article-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.article-body p {
    margin-bottom: 1.25rem;
}

.article-body strong {
    color: var(--text-dark);
}

.article-body ul {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.article-body ul li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.article-body blockquote {
    border-left: 4px solid var(--button-yellow);
    padding: 15px 20px;
    margin: 1.5rem 0;
    background: var(--light-blue);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text-light);
}

/* --- Article Bottom Nav --- */
.article-bottom-nav {
    background: var(--light-blue);
    padding: 40px 0;
    border-top: 2px solid #d6e6f7;
}

.article-nav-cards {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
}

.article-nav-card {
    flex: 1;
    background: white;
    border-radius: 8px;
    padding: 20px;
    text-decoration: none;
    color: var(--text-dark);
    border: 1px solid #dee2e6;
    transition: transform 0.2s, box-shadow 0.2s;
}

.article-nav-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: var(--text-dark);
}

.article-nav-card-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999;
    margin-bottom: 6px;
    font-weight: 600;
}

.article-nav-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-blue);
    line-height: 1.3;
}

.article-nav-card.coming-soon {
    border-style: dashed;
    opacity: 0.7;
}

.article-nav-card.coming-soon:hover {
    transform: none;
    box-shadow: none;
    cursor: default;
}

/* --- Article Teaser Box --- */
.article-teaser-box {
    background: var(--light-blue);
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    padding: 25px;
    margin-top: 2.5rem;
}

.article-teaser-box h3 {
    color: var(--primary-blue);
    margin-top: 0;
}

.article-teaser-box h3::before {
    display: none;
}

/* --- Back to Articles Link --- */
.back-to-articles {
    max-width: 760px;
    margin: 0 auto;
    padding-top: 20px;
}

.back-to-articles a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.back-to-articles a:hover {
    color: #0066cc;
}

.back-to-articles a i {
    margin-right: 5px;
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    .articles-hero {
        padding: 40px 0 30px;
    }

    .articles-hero h1 {
        font-size: 1.75rem;
    }

    .articles-listing {
        padding: 40px 0;
    }

    .article-header {
        padding: 40px 0 30px;
    }

    .article-header h1 {
        font-size: 1.65rem;
    }

    .article-content {
        padding: 30px 0 40px;
    }

    .article-body {
        font-size: 1rem;
        padding: 0 5px;
    }

    .article-nav-cards {
        flex-direction: column;
    }

    .article-card-icon {
        min-height: 100px;
        padding: 20px;
    }

    .article-card-icon i {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .article-meta {
        flex-direction: column;
        gap: 5px;
    }
}