:root {
    --pu-news-ink: #0c2336;
    --pu-news-muted: #66788a;
    --pu-news-line: #e4ebf0;
    --pu-news-soft: #f5f8fa;
    --pu-news-accent: #1478a8;
    --pu-news-white: #ffffff;
}

.pu-news,
.pu-article {
    background: var(--pu-news-white);
    color: var(--pu-news-ink);
}

.pu-news *,
.pu-article * {
    box-sizing: border-box;
}

.pu-news-shell,
.pu-article-shell {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.pu-news-hero {
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
    padding: 72px 0 64px;
    overflow: hidden;
    background-image:
        linear-gradient(90deg, rgba(7, 29, 47, .88) 0%, rgba(7, 29, 47, .70) 36%, rgba(7, 29, 47, .22) 68%, rgba(7, 29, 47, .08) 100%),
        var(--pu-news-hero-image);
    background-size: cover;
    background-position: center 58%;
    border-bottom: 0;
}

.pu-news-hero .pu-news-shell {
    position: relative;
    z-index: 1;
}

.pu-news-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.78);
}

.pu-news-hero h1 {
    margin: 0;
    max-width: 850px;
    font-size: clamp(40px, 5vw, 66px);
    line-height: 1.04;
    letter-spacing: -.035em;
    color: #fff !important;
    text-shadow: 0 2px 18px rgba(0,0,0,.16);
}

.pu-news-hero p {
    max-width: 720px;
    margin: 20px 0 0;
    font-size: 20px;
    line-height: 1.65;
    color: rgba(255,255,255,.88);
}

.pu-news-listing {
    padding: 64px 0 88px;
}

.pu-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.pu-news-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    margin: 0;
    border: 1px solid var(--pu-news-line);
    border-radius: 18px;
    background: var(--pu-news-white);
    box-shadow: 0 10px 30px rgba(12, 35, 54, .055);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.pu-news-card:hover {
    transform: translateY(-4px);
    border-color: #d7e2e9;
    box-shadow: 0 18px 42px rgba(12, 35, 54, .10);
}

.pu-news-card-media {
    display: block;
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e9eff3;
}

.pu-news-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.pu-news-card:hover .pu-news-card-media img {
    transform: scale(1.025);
}

.pu-news-card-fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    padding: 24px;
    background:
        radial-gradient(circle at 78% 25%, rgba(255,255,255,.18), transparent 28%),
        linear-gradient(145deg, #183b52, #0c2336);
}

.pu-news-card-fallback span {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .18em;
    color: rgba(255,255,255,.86);
}

.pu-news-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 25px 25px 27px;
}

.pu-news-date,
.pu-article-date {
    display: block;
    margin-bottom: 11px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .045em;
    color: #7b8b99;
}

.pu-news-card h2 {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.23;
    letter-spacing: -.018em;
    color: var(--pu-news-ink) !important;
}

.pu-news-card h2 a {
    color: inherit !important;
    text-decoration: none !important;
}

.pu-news-card-body > p {
    margin: 0 0 22px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--pu-news-muted);
}

.pu-news-readmore {
    margin-top: auto;
    font-size: 15px;
    font-weight: 800;
    color: var(--pu-news-accent) !important;
    text-decoration: none !important;
}

.pu-news-readmore span {
    display: inline-block;
    transition: transform .2s ease;
}

.pu-news-readmore:hover span {
    transform: translateX(4px);
}

.pu-news-pagination {
    margin-top: 52px;
    padding: 0 12px !important;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #267bc0 !important;
    border: 0 !important;
    box-shadow: none !important;
    transition: none !important;
}

/* Keep the blue pagination ribbon fixed on hover/focus. Only the buttons react. */
.pu-news-pagination:hover,
.pu-news-pagination:focus,
.pu-news-pagination:focus-within {
    background: #267bc0 !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

.pu-news-pagination > ul.page-numbers {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    background: transparent !important;
    border: 0 !important;
}

.pu-news-pagination > ul.page-numbers > li {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

.pu-news-pagination > ul.page-numbers > li > a.page-numbers,
.pu-news-pagination > ul.page-numbers > li > span.page-numbers {
    display: inline-flex;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid #d7e2e9 !important;
    border-radius: 10px;
    background: #fff !important;
    color: var(--pu-news-ink) !important;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.pu-news-pagination > ul.page-numbers > li > a.page-numbers:hover,
.pu-news-pagination > ul.page-numbers > li > a.page-numbers:focus-visible {
    border-color: #b9cad6 !important;
    background: #f5f8fa !important;
    color: var(--pu-news-ink) !important;
    transform: translateY(-1px);
}

.pu-news-pagination > ul.page-numbers > li > .prev,
.pu-news-pagination > ul.page-numbers > li > .next {
    font-size: 22px;
}

.pu-news-pagination > ul.page-numbers > li > span.current {
    border-color: var(--pu-news-ink) !important;
    background: var(--pu-news-ink) !important;
    color: #fff !important;
}

.pu-news-empty {
    padding: 70px 30px;
    border: 1px solid var(--pu-news-line);
    border-radius: 18px;
    text-align: center;
    background: var(--pu-news-soft);
}

/* Single article */
.pu-article-header {
    padding: 70px 0 48px;
    background: linear-gradient(180deg, #f7fafc 0%, #ffffff 100%);
    border-bottom: 1px solid var(--pu-news-line);
}

.pu-article .pu-article-shell {
    width: min(820px, calc(100% - 40px));
}

.pu-article-back-top {
    display: inline-block;
    margin-bottom: 34px;
    font-size: 15px;
    font-weight: 750;
    color: var(--pu-news-accent) !important;
    text-decoration: none !important;
}

.pu-article-header h1 {
    margin: 0;
    font-size: clamp(38px, 5.2vw, 62px);
    line-height: 1.08;
    letter-spacing: -.035em;
    color: var(--pu-news-ink) !important;
}

.pu-article-content {
    padding-top: 52px;
    padding-bottom: 86px;
    font-size: 18px;
    line-height: 1.8;
    color: #24394a;
}

.pu-article-content > *:first-child {
    margin-top: 0;
}

.pu-article-content p {
    margin: 0 0 1.45em;
}

.pu-article-content h2,
.pu-article-content h3,
.pu-article-content h4 {
    margin: 1.7em 0 .7em;
    line-height: 1.22;
    letter-spacing: -.018em;
    color: var(--pu-news-ink) !important;
}

.pu-article-content h2 { font-size: 32px; }
.pu-article-content h3 { font-size: 25px; }

.pu-article-content a {
    color: var(--pu-news-accent);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.pu-article-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 34px auto;
    border-radius: 14px;
}

.pu-article-content figure {
    max-width: 100%;
    margin: 34px 0;
}

.pu-article-content figure img {
    margin: 0;
}

.pu-article-content figcaption {
    margin-top: 9px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--pu-news-muted);
}

.pu-article-content blockquote {
    margin: 34px 0;
    padding: 8px 0 8px 25px;
    border-left: 4px solid var(--pu-news-accent);
    font-size: 20px;
    color: #344b5d;
}

.pu-article-content ul,
.pu-article-content ol {
    margin: 0 0 1.5em;
    padding-left: 1.35em;
}

.pu-article-footer {
    margin-top: 54px;
    padding-top: 28px;
    border-top: 1px solid var(--pu-news-line);
}

.pu-article-footer a {
    font-weight: 800;
    text-decoration: none !important;
}

@media (max-width: 900px) {
    .pu-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .pu-news-shell,
    .pu-article .pu-article-shell {
        width: min(100% - 28px, 1160px);
    }

    .pu-news-hero {
        padding: 52px 0 40px;
    }

    .pu-news-hero p {
        font-size: 17px;
    }

    .pu-news-listing {
        padding: 38px 0 62px;
    }

    .pu-news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pu-news-card-body {
        padding: 22px;
    }

    .pu-news-card h2 {
        font-size: 22px;
    }

    .pu-article-header {
        padding: 48px 0 36px;
    }

    .pu-article-back-top {
        margin-bottom: 26px;
    }

    .pu-article-content {
        padding-top: 36px;
        padding-bottom: 64px;
        font-size: 17px;
        line-height: 1.72;
    }

    .pu-article-content h2 { font-size: 28px; }
    .pu-article-content h3 { font-size: 23px; }
}
