/* ── Public news page ──────────────────────────────────────────────────── */

/* Page title area */
.pn-header {
    padding: 48px 0 32px;
    background: #fff;
}

.pn-title {
    font-family: 'Exo 2', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--navy, #1b2a52);
    line-height: 1.18;
    margin-bottom: 10px;
}

.pn-subtitle {
    font-size: .95rem;
    color: #555;
    line-height: 1.6;
    max-width: 600px;
    margin-bottom: 0;
}

/* Featured block */
.pn-featured {
    background: var(--navy, #1b2a52);
    border-radius: 16px;
    overflow: hidden;
    min-height: 280px;
    display: flex;
}

.pn-featured-content {
    flex: 0 0 55%;
    padding: 40px 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    order: 2;
}

.pn-featured-image {
    flex: 0 0 45%;
    position: relative;
    min-height: 260px;
    overflow: hidden;
    background: rgba(255,255,255,.04);
    order: 1;
}

.pn-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    color: transparent;
}

.pn-featured-image-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.25);
    font-size: 3rem;
}

.pn-cat-badge {
    display: inline-block;
    align-self: flex-start;
    width: fit-content;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 14px;
    line-height: 1.6;
}

.pn-cat-badge--promotion { background: #dc3545; color: #fff; }
.pn-cat-badge--event     { background: #0d6efd; color: #fff; }
.pn-cat-badge--greeting  { background: #198754; color: #fff; }

.pn-featured-date {
    font-size: .78rem;
    color: rgba(255,255,255,.55);
    margin-bottom: 10px;
    letter-spacing: .03em;
}

.pn-featured-title {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.22;
    margin-bottom: 14px;
    color: #fff;
}

.pn-featured-text {
    font-size: .9rem;
    color: rgba(255,255,255,.75);
    line-height: 1.65;
    margin-bottom: 24px;
    flex-grow: 1;
}

.pn-featured-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #dc3545;
    color: #fff;
    border-radius: 8px;
    padding: 9px 22px;
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .18s;
    align-self: flex-start;
}

.pn-featured-link:hover {
    background: #b02a37;
    color: #fff;
}

/* Grid section */
.pn-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.pn-section-title {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--navy, #1b2a52);
    margin: 0;
}

.pn-filter-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pn-filter-label {
    font-size: .82rem;
    color: #888;
    white-space: nowrap;
    margin-right: 2px;
}

.pn-chip {
    display: inline-block;
    font-size: .82rem;
    font-weight: 500;
    padding: 7px 18px;
    border-radius: 8px;
    border: 1px solid #d0d8e8;
    background: #f8f9fc;
    color: #444;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s, color .15s, border-color .15s;
}

.pn-chip:hover {
    border-color: var(--navy, #1b2a52);
    color: var(--navy, #1b2a52);
    background: #f0f4fa;
}

.pn-chip--active {
    background: var(--navy, #1b2a52);
    color: #fff;
    border-color: var(--navy, #1b2a52);
}

/* News card */
.pn-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(15,29,58,.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow .2s, transform .2s;
}

.pn-card:hover {
    box-shadow: 0 6px 24px rgba(15,29,58,.14);
    transform: translateY(-2px);
}

.pn-card-image-wrap {
    position: relative;
    height: 225px;
    overflow: hidden;
    flex-shrink: 0;
}

.pn-card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.pn-card-placeholder {
    width: 100%;
    height: 100%;
    background: #f0f4fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c0cad8;
    font-size: 2.5rem;
}

.pn-card-badge {
    display: none;
}

.pn-card-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pn-card-date {
    font-size: .72rem;
    color: #888;
    margin-bottom: 7px;
    letter-spacing: .03em;
}

.pn-card-title {
    font-family: 'Exo 2', sans-serif;
    font-size: .95rem;
    font-weight: 700;
    color: var(--navy, #1b2a52);
    line-height: 1.35;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pn-card-preview {
    font-size: .82rem;
    color: #666;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pn-card-link {
    font-size: .82rem;
    font-weight: 600;
    color: var(--navy, #1b2a52);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
}

.pn-card-link:hover {
    color: #dc3545;
}

/* Pagination */
.pn-pagination-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}

.pn-all-btn {
    font-size: .85rem;
    font-weight: 600;
    color: var(--navy, #1b2a52);
    border: 1.5px solid var(--navy, #1b2a52);
    border-radius: 8px;
    padding: 8px 28px;
    text-decoration: none;
    transition: background .15s, color .15s;
}

.pn-all-btn:hover {
    background: var(--navy, #1b2a52);
    color: #fff;
}

/* Responsive */
@media (max-width: 991px) {
    .pn-featured {
        flex-direction: column;
    }

    .pn-featured-content {
        flex: none;
        padding: 28px 24px 24px;
    }

    .pn-featured-image {
        flex: none;
        height: 220px;
    }

    .pn-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 575px) {
    .pn-header {
        padding: 28px 0 20px;
    }

    .pn-title {
        font-size: 1.5rem;
    }

    .pn-featured-title {
        font-size: 1.25rem;
    }

    .pn-featured-content {
        padding: 20px 16px 20px;
    }

    .pn-featured-image {
        height: 180px;
    }

    .pn-filter-chips {
        gap: 4px;
    }
}

/* ── News list ────────────────────────────────────────────── */
.news-list {
    margin-top: 40px;
    width: 100%;
}
.news-card__date {
    padding-top: 10px;
    color: #636363;
    font-size: 11px;
}
.news-card__image {
    height: 300px;
    width: 100%;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

/* ── Article ──────────────────────────────────────────────── */
.article-image-col {
    position: sticky;
    top: 1rem;
    align-self: flex-start;
}
.article-hero {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.12);
}
.article-hero img {
    width: 100%;
    height: auto;
    display: block;
}
.article-no-image {
    height: 260px;
    background: #f0f0f0;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 0.9rem;
}
.article-meta {
    font-size: 0.8rem;
    color: #636363;
    letter-spacing: 0.03em;
}
.article-title {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
}
.article-divider {
    border-top: 2px solid #007ec0;
    opacity: 1;
    margin: 0.75rem 0 1.25rem;
}
.news-content {
    position: relative;
    font-size: 1rem;
    line-height: 1.75;
    color: #333;
}
.news-content img {
    max-width: 100%;
    max-height: 480px;
    width: auto !important;
    height: auto;
    border-radius: 0.375rem;
    margin: 0.75rem 0;
    display: block;
}

