/* =========================
   Articles Base
========================= */

.article-hero {
    padding: 64px 0 48px;
    text-align: center;
    background: linear-gradient(135deg, #1e4ed8, var(--pn-blue-light));
}

.article-hero h1 {
    color: white;
    font-size: 34px;
    font-weight: 600;
    margin-bottom: 12px;
}

.article-hero p {
    font-size: 16px;
    color: #ffffff;
}

.article-card a{
    text-decoration: none!important;
}

/* =========================
   Categories
========================= */

.article-categories {
    background: #fff;
    border-bottom: 1px solid #eee;
}

.article-categories .container {
    display: flex;
    gap: 10px;
    padding: 16px 0;
    overflow-x: auto;
}

.article-categories button {
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}

.article-categories button.active {
    background: #222;
    color: #fff;
    border-color: #222;
}

/* =========================
   Article Grid
========================= */

.article-list {
    padding: 48px 0;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

/* =========================
   Article Card
========================= */

.article-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transition: transform .2s ease, box-shadow .2s ease, opacity .15s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.article-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform .25s ease;
}

.article-card:hover img {
    transform: scale(1.03);
}

.article-card .card-body {
    padding: 16px;
}

.article-card .category {
    display: inline-block;
    font-size: 12px;
    margin-bottom: 8px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.article-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.article-card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 12px;
}

.article-card .read-time {
    font-size: 12px;
    color: #999;
}

/* =========================
   Load More
========================= */

.article-load-more {
    text-align: center;
    padding-bottom: 64px;
}

/* =========================
   Article Detail Header
========================= */

.article-header {
    padding: 64px 0 32px;
    text-align: center;
}

.article-header .container {
    max-width: 760px;
}

.article-header .article-category {
    font-size: 13px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-weight: 500;
}

.article-header h1 {
    font-size: 32px;
    font-weight: 600;
    margin: 12px 0;
}

.article-header .article-intro {
    font-size: 17px;
    color: #555;
}

.article-read-time {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #999;
}

/* =========================
   Article Thumbnail
========================= */

.article-thumb {
    margin: 28px 0;
}

.article-thumb img {
    width: 100%;
    max-width: 720px;
    border-radius: 16px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

/* =========================
   Article Content
========================= */

.article-content {
    padding: 32px 0;
}

.article-content p,
.article-paragraph {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 18px;
    color: #333;
}

/* Section Titles */

.article-section-title {
    font-size: 22px;
    font-weight: 600;
    margin: 48px 0 16px;
    color: #222;
    position: relative;
    padding-left: 14px;
}

.article-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 4px;
    height: 18px;
    background: #1e4ed8;
    border-radius: 2px;
}

/* Article Images */

.article-image {
    margin: 32px 0;
    text-align: center;
}

.article-image img {
    max-width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

/* Divider */

.article-divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 48px 0;
}

/* =========================
   Summary Box
========================= */

.article-summary {
    background: #f7f8fa;
    padding: 32px 0;
    margin: 32px 0;
    border-left: 4px solid #1e4ed8;
}

.article-summary h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: #1e4ed8;
}

.article-summary ul {
    padding-left: 20px;
}

.article-summary li {
    margin-bottom: 8px;
    font-size: 15px;
}

/* =========================
   Responsive
========================= */

@media (max-width: 768px) {

    .article-hero h1 {
        font-size: 28px;
    }

    .article-header h1 {
        font-size: 26px;
    }

    .article-content p,
    .article-paragraph {
        font-size: 15px;
    }

    .article-section-title {
        font-size: 20px;
    }
}
