.hnhcp-news-page {
    background: #f4f1ee;
}

.hnhcp-news-container {
    width: min(1160px, calc(100% - 48px));
    margin-inline: auto;
}

.hnhcp-news-hero {
    padding: 62px 0 44px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f4f2 100%);
}

.hnhcp-news-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 28px;
    color: #8a8f98;
    font-size: .82rem;
}

.hnhcp-news-breadcrumbs a {
    color: #7d828b;
    text-decoration: none;
}

.hnhcp-news-breadcrumbs a:hover {
    color: #9b1420;
}

.hnhcp-news-page .section-heading .eyebrow {
    margin: 0 0 12px !important;
    color: #9b1420 !important;
    font-size: .72rem !important;
    font-weight: 900 !important;
    letter-spacing: .20em !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
}

.hnhcp-news-page .section-heading h1 {
    max-width: none;
    margin: 0 0 1rem;
    color: var(--hnhcp-ink, #24272d);
    font-size: clamp(2.35rem, 4.8vw, 4.85rem);
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -.035em;
}

.hnhcp-news-page .section-heading p:not(.eyebrow) {
    max-width: 720px;
    margin: 0;
    color: #4f555d;
    font-size: .98rem;
    line-height: 1.65;
}

.hnhcp-news-content {
    padding: 34px 0 88px;
}

.hnhcp-news-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 34px;
}

.hnhcp-news-filter a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 15px;
    border: 1px solid rgba(155,20,32,.11);
    border-radius: 999px;
    background: #fff;
    color: #9b1420;
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .03em;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(24,20,20,.035);
}

.hnhcp-news-filter a:hover,
.hnhcp-news-filter a.is-active {
    background: #9b1420;
    color: #fff;
}

.hnhcp-news-group {
    margin: 0 0 48px;
}

.hnhcp-news-group__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(31,35,40,.08);
}

.hnhcp-news-group__header h2 {
    margin: 0;
    color: #9b1420;
    font-size: clamp(1.45rem, 2vw, 2rem);
    line-height: 1.1;
    letter-spacing: -.025em;
}

.hnhcp-news-group__header span {
    color: #8a8f98;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hnhcp-news-list {
    display: grid;
    gap: 12px;
}

.hnhcp-news-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 18px 18px 18px 22px;
    border: 1px solid rgba(31,35,40,.07);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(24,20,20,.035);
}

.hnhcp-news-card:has(.hnhcp-news-card__thumb) {
    grid-template-columns: 150px minmax(0, 1fr) auto;
}

.hnhcp-news-card__thumb {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 14px;
    background: #f2efed;
}

.hnhcp-news-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hnhcp-news-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 8px;
}

.hnhcp-news-card__meta span {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 9px;
    border-radius: 999px;
    background: #f7e9eb;
    color: #9b1420;
    font-size: .66rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hnhcp-news-card h3 {
    margin: 0 0 6px;
    color: #24272d;
    font-size: 1.12rem;
    line-height: 1.2;
    letter-spacing: -.015em;
}

.hnhcp-news-card p {
    max-width: 76ch;
    margin: 0;
    color: #5f6670;
    font-size: .92rem;
    line-height: 1.55;
}

.hnhcp-news-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 13px;
    border-radius: 999px;
    background: #9b1420;
    color: #fff !important;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.hnhcp-news-card__button:hover {
    background: #7f1019;
}

.hnhcp-news-legacy-content {
    padding: 26px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(24,20,20,.055);
}

.hnhcp-news-legacy-content h1,
.hnhcp-news-legacy-content h2,
.hnhcp-news-legacy-content h3 {
    color: #9b1420;
}

.hnhcp-news-empty,
.hnhcp-news-single-card {
    padding: 28px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(24,20,20,.055);
}

.hnhcp-news-empty h2 {
    margin: 0 0 10px;
    color: #24272d;
}

.hnhcp-news-empty p {
    margin: 0;
    color: #5f6670;
}

.hnhcp-news-single__inner {
    max-width: 920px;
}

.hnhcp-news-single-card__image {
    margin: 0 0 24px;
    overflow: hidden;
    border-radius: 18px;
}

.hnhcp-news-single-card__image img {
    width: 100%;
    height: auto;
    display: block;
}

.hnhcp-news-single-card__content {
    color: #4f555d;
    font-size: 1rem;
    line-height: 1.75;
}

@media (max-width: 760px) {
    .hnhcp-news-container {
        width: min(100% - 28px, 620px);
    }

    .hnhcp-news-hero {
        padding: 36px 0 30px;
    }

    .hnhcp-news-content {
        padding: 24px 0 56px;
    }

    .hnhcp-news-filter {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }

    .hnhcp-news-group__header {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .hnhcp-news-card,
    .hnhcp-news-card:has(.hnhcp-news-card__thumb) {
        grid-template-columns: 1fr;
        align-items: start;
        padding: 18px;
    }

    .hnhcp-news-card__thumb {
        width: 100%;
    }

    .hnhcp-news-card__button {
        width: fit-content;
    }
}

/* 0.5.55: keep News & Media as one archive, not repeated grouped sections. */
.hnhcp-news-filter a span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    margin-left: 8px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(155,20,32,.09);
    color: #9b1420;
    font-size: .68rem;
    font-weight: 900;
}

.hnhcp-news-filter a.is-active span,
.hnhcp-news-filter a:hover span {
    background: rgba(255,255,255,.18);
    color: #fff;
}

.hnhcp-news-group--single {
    margin-bottom: 0;
}

.hnhcp-news-group__header > div {
    min-width: 0;
}

.hnhcp-news-group__header .eyebrow {
    margin: 0 0 8px !important;
    color: #9b1420 !important;
    font-size: .68rem !important;
    line-height: 1 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
}

.hnhcp-news-group__header h2 {
    color: #24272d;
}


/* 0.5.56: client-side filtering, no full page reload. */
.hnhcp-news-card[hidden],
.hnhcp-news-card.is-filter-hidden {
    display: none !important;
}

.hnhcp-news-filter a {
    cursor: pointer;
    transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}

.hnhcp-news-filter a:hover {
    transform: translateY(-1px);
}

.hnhcp-news-list {
    min-height: 1px;
}


/* 0.5.71: align News & Media filters with Links/Education filter rhythm. */
.hnhcp-news-filter {
    position: sticky;
    top: calc(var(--hemcare-adminbar-height, 0px) + 58px);
    z-index: 30;
    gap: 8px;
    margin: 0 0 44px;
    padding: 12px;
    border: 1px solid rgba(155, 20, 32, .08);
    border-radius: 20px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 20px 48px rgba(24, 20, 20, .075);
    backdrop-filter: blur(12px);
}

.hnhcp-news-filter a {
    min-height: 36px;
    padding: 0 14px;
    border: 0;
    background: #f7e9eb;
    color: #9b1420;
    font-family: var(--font-heading);
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .045em;
    line-height: 1;
    box-shadow: none;
    text-transform: none;
}

.hnhcp-news-filter a span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.45em;
    height: 1.45em;
    margin-left: .55em;
    padding: 0 .4em;
    border-radius: 999px;
    background: rgba(155, 20, 32, .10);
    color: inherit;
    font-size: .72em;
    font-weight: 900;
    line-height: 1;
}

.hnhcp-news-filter a:hover,
.hnhcp-news-filter a:focus,
.hnhcp-news-filter a.is-active {
    background: #9b1420;
    color: #fff;
    text-decoration: none;
}

.hnhcp-news-filter a:hover span,
.hnhcp-news-filter a:focus span,
.hnhcp-news-filter a.is-active span {
    background: rgba(255, 255, 255, .18);
    color: #fff;
}

@media (max-width: 760px) {
    .hnhcp-news-filter {
        position: relative;
        top: auto;
        margin-bottom: 30px;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .hnhcp-news-filter a {
        flex: 0 0 auto;
    }
}

/* 0.5.92: self-hosted News & Media video player. */
.hnhcp-news-video-player {
    overflow: hidden;
    border-radius: 24px;
    background: #111827;
    box-shadow: 0 24px 70px rgba(18, 38, 63, 0.16);
}

.hnhcp-news-video-player video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background: #111827;
}

.hnhcp-news-card--video .hnhcp-news-card__button::before {
    content: "▶";
    display: inline-block;
    margin-right: .45em;
    font-size: .8em;
    transform: translateY(-.05em);
}

/* 0.5.93: keep archive filters sticky below the fixed nav on desktop/tablet. */
.hnhcp-news-filter {
    position: sticky !important;
    top: calc(var(--hemcare-adminbar-height, 0px) + 58px) !important;
    z-index: 80 !important;
}

.hnhcp-news-content,
.hnhcp-news-container {
    overflow: visible !important;
}

@media (max-width: 760px) {
    .hnhcp-news-filter {
        position: relative !important;
        top: auto !important;
        z-index: 1 !important;
    }
}

/* 0.6.15: News & Media single detail card with resource-style metadata. */
.hnhcp-news-single__inner {
    max-width: 1060px;
}

.hnhcp-news-single-card {
    position: relative;
    overflow: hidden;
    padding: 34px;
    border: 1px solid rgba(31, 35, 40, .07);
    border-radius: 26px;
}

.hnhcp-news-single-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: #9b1420;
}

.hnhcp-news-single-card__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 34px;
    align-items: stretch;
}

.hnhcp-news-video-player,
.hnhcp-news-single-card__image {
    margin-bottom: 30px;
}

.hnhcp-news-single-card__content {
    min-width: 0;
    color: #4f555d;
    font-size: 1rem;
    line-height: 1.75;
}

.hnhcp-news-single-card__lede {
    max-width: 68ch;
    margin: 0 0 22px;
    color: #4f555d;
    font-size: 1.08rem;
    line-height: 1.72;
}

.hnhcp-news-single-card__body {
    margin: 0 0 24px;
}

.hnhcp-news-detail-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.hnhcp-news-detail-list > div {
    min-width: 0;
    padding: 15px 16px;
    border: 1px solid rgba(155, 20, 32, .10);
    border-radius: 15px;
    background: #fbf8f7;
}

.hnhcp-news-detail-list dt {
    margin: 0 0 5px;
    color: #9b1420;
    font-family: var(--font-heading, inherit);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .12em;
    line-height: 1;
    text-transform: uppercase;
}

.hnhcp-news-detail-list dd {
    margin: 0;
    color: #24272d;
    font-family: var(--font-heading, inherit);
    font-size: .98rem;
    font-weight: 800;
    line-height: 1.25;
}

.hnhcp-news-action-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 260px;
    padding: 26px;
    border: 1px solid rgba(155, 20, 32, .12);
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0%, rgba(155, 20, 32, .10), transparent 38%),
        linear-gradient(180deg, #fff, #fbf8f7);
    box-shadow: 0 16px 40px rgba(24, 20, 20, .06);
}

.hnhcp-news-action-panel__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 0 18px;
    border-radius: 18px;
    background: #9b1420;
    color: #fff;
    font-family: var(--font-heading, inherit);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    box-shadow: 0 16px 30px rgba(155, 20, 32, .18);
}

.hnhcp-news-action-panel__eyebrow {
    margin: 0 0 7px !important;
    color: #9b1420 !important;
    font-family: var(--font-heading, inherit);
    font-size: .68rem !important;
    font-weight: 900;
    letter-spacing: .14em;
    line-height: 1;
    text-transform: uppercase;
}

.hnhcp-news-action-panel h2 {
    margin: 0 0 8px;
    color: #24272d;
    font-size: 1.32rem;
    line-height: 1.15;
    letter-spacing: -.02em;
}

.hnhcp-news-action-panel p:not(.hnhcp-news-action-panel__eyebrow) {
    margin: 0 0 20px;
    color: #626873;
    font-size: .93rem;
    line-height: 1.55;
}

.hnhcp-news-action-panel__button {
    align-self: flex-start;
    min-height: 42px;
    padding-inline: 18px;
}

@media (max-width: 900px) {
    .hnhcp-news-single-card__grid {
        grid-template-columns: 1fr;
    }

    .hnhcp-news-action-panel {
        min-height: 0;
    }
}

@media (max-width: 600px) {
    .hnhcp-news-single-card {
        padding: 24px 18px 20px;
        border-radius: 22px;
    }

    .hnhcp-news-detail-list {
        grid-template-columns: 1fr;
    }

    .hnhcp-news-action-panel {
        padding: 22px;
    }
}

