/* ============================================================
   News archive cards
============================================================ */
.news-grid {
    margin-top: 4px;
}

.news-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(18, 35, 63, 0.08);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.news-card:hover {
    box-shadow: 0 20px 44px rgba(18, 35, 63, 0.14);
    transform: translateY(-4px);
}

.news-card__image-link {
    display: block;
}
.news-card__image-wrap {
    position: relative;
    width: 100%;
    height: 210px;
    overflow: hidden;
    background: linear-gradient(135deg, #f4f5f7 0%, #e9eaee 100%);
}
.news-card__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
/* Placeholder/logo images tend to be mostly whitespace — contain + padding
   keeps the logo readable instead of stretching empty canvas to fill the box */
.news-card__image--placeholder {
    object-fit: contain;
    padding: 32px 48px;
}
.news-card:hover .news-card__image:not(.news-card__image--placeholder) {
    transform: scale(1.05);
}

.news-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 26px 26px 28px;
}

.news-card__date {
    display: inline-block;
    align-self: flex-start;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--pts-red, #d62b1f);
    background: rgba(214, 43, 31, 0.08);
    padding: 5px 12px;
    border-radius: 100px;
    margin: 0 0 14px;
}

.news-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 12px;
}
.news-card__title a,
.news-card__title a:link,
.news-card__title a:visited {
    color: var(--pts-navy, #12233f) !important;
    text-decoration: none !important;
}
.news-card__title a:hover,
.news-card__title a:focus {
    color: var(--pts-red, #d62b1f) !important;
    text-decoration: none !important;
}

.news-card__excerpt {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #5b6472;
    margin: 0 0 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card__cta,
.news-card__cta:link,
.news-card__cta:visited {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    margin-top: auto;
    padding: 10px 18px;
    background: var(--pts-navy, #12233f);
    color: #fff !important;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 100px;
    text-decoration: none !important;
    transition: background 0.2s ease, gap 0.2s ease;
}
.news-card__cta i {
    font-size: 12px;
    transition: transform 0.2s ease;
}
.news-card__cta:hover,
.news-card__cta:focus {
    background: var(--pts-red, #d62b1f);
    color: #fff !important;
    gap: 11px;
}
.news-card__cta:hover i {
    transform: translateX(2px);
}

/* ============================================================
   Pagination (numeric_posts_nav output)
   ============================================================ */
.navigation ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    margin: 52px 0 0;
    padding: 0;
}
.navigation ul li a,
.navigation ul li a:link,
.navigation ul li a:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--pts-navy, #12233f) !important;
    text-decoration: none !important;
    background: #fff;
    border: 1px solid #e5e7eb;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.navigation ul li a:hover {
    background: #f4f5f7;
    border-color: #d1d5db;
}
.navigation ul li.active a {
    background: var(--pts-red, #d62b1f);
    border-color: var(--pts-red, #d62b1f);
    color: #fff !important;
}