/* News archive and editorial detail pages. */
.page-hero--news {
    background-image: url("../images/heronewsbanner.jpg");
    background-position: center 52%;
}

.news-index,
.news-detail,
.news-error {
    overflow: hidden;
    background: #ffffff;
    color: #12181c;
}

.news-index__archive {
    padding-block: clamp(4.5rem, 8vw, 8rem);
    background: linear-gradient(180deg, #ffffff 0, #f7f8f9 100%);
}

.news-index__intro {
    display: block;
    margin-bottom: clamp(2.75rem, 5vw, 4.75rem);
}

.news-related > .container > h2 {
    margin: 0;
    color: #151b1f;
    font-size: clamp(1.3rem, 1.8vw, 1.75rem);
    font-weight: 700;
    letter-spacing: 0.035em;
    line-height: 1.1;
}

.news-index__intro p {
    max-width: 72rem;
    margin: 0;
    color: #27343c;
    font-size: clamp(1.65rem, 3.15vw, 3.15rem);
    font-weight: 300;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.news-index__intro p strong {
    display: block;
    color: #27343c;
    font-weight: 650;
}

.news-index__intro p strong span {
    padding-inline: 0.025em;
    background: linear-gradient(100deg, #80d8ec 0%, #3d91ba 48%, #7774ca 100%);
    background-clip: text;
    color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.news-grid,
.news-related__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 2.5vw, 2.5rem);
}

.news-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    border: 0.0625rem solid #e1e5e7;
    background: #f3f4f4;
    opacity: 0;
    transform: translateY(1.25rem);
    animation: news-card-in 720ms calc(80ms + var(--news-index, 0) * 65ms) cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: border-color 260ms ease, background-color 260ms ease;
}

@keyframes news-card-in {
    to { opacity: 1; transform: translateY(0); }
}

.news-card:hover,
.news-card:focus-within {
    border-color: rgba(71, 163, 205, 0.55);
    background: #eef8fc;
}

.news-card__visual {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    margin: clamp(1.1rem, 2.2vw, 2rem) clamp(1.1rem, 2.2vw, 2rem) 0;
    overflow: hidden;
    background: #e5e9eb;
}

.news-card__visual::after {
    position: absolute;
    inset: 0;
    border: 0.0625rem solid rgba(255, 255, 255, 0.2);
    content: "";
    pointer-events: none;
}

.news-card__visual img,
.news-card__image-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card__visual img {
    transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1), filter 400ms ease;
}

.news-card:hover .news-card__visual img,
.news-card:focus-within .news-card__visual img {
    transform: scale(1.025);
    filter: saturate(1.04);
}

.news-card__image-placeholder {
    background: linear-gradient(135deg, #151a20 0%, #273444 52%, #6ec1e4 140%);
}

.news-card__body {
    display: flex;
    min-height: 18rem;
    flex: 1;
    flex-direction: column;
    padding: clamp(1.4rem, 2.5vw, 2.15rem);
}

.news-card__title {
    margin: 0;
    font-size: clamp(1.35rem, 1.9vw, 1.9rem);
    font-weight: 400;
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.news-card__title a {
    color: inherit;
    text-decoration: none;
}

.news-card__excerpt {
    display: -webkit-box;
    overflow: hidden;
    margin: 1.15rem 0 0;
    color: #53616a;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.news-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    padding-top: 2rem;
}

.news-share {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.news-share__link {
    display: inline-flex;
    width: 1.8rem;
    height: 1.8rem;
    align-items: center;
    justify-content: center;
    color: #9aa4aa;
    transition: color 420ms ease;
}

.news-share__link:hover,
.news-share__link:focus-visible {
    color: #176dad;
}

.news-share__link img {
    display: block;
    width: 1.35rem;
    height: 1.35rem;
    flex: 0 0 auto;
    object-fit: contain;
    object-position: center;
    opacity: 0.42;
    transition: opacity 420ms ease;
}

.news-share__link:hover img,
.news-share__link:focus-visible img {
    opacity: 0.78;
}

.news-card__open,
.news-error__link {
    display: inline-flex;
    min-height: 2.5rem;
    align-items: center;
    gap: 0.45rem;
    color: #176dad;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-decoration: none;
}

.news-card__open img,
.news-error__link img {
    width: 0.75rem;
    height: 0.75rem;
    transition: transform 220ms ease;
}

.news-card__open:hover img,
.news-card__open:focus-visible img,
.news-error__link:hover img,
.news-error__link:focus-visible img {
    transform: translateX(0.2rem);
}

.news-index__empty {
    display: flex;
    min-height: 18rem;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border: 0.0625rem solid #e2e6e8;
    background: #f5f6f6;
    text-align: center;
}

.news-index__empty span { color: #6ec1e4; font-size: 1.4rem; font-weight: 200; }
.news-index__empty p { margin: 0; color: #52616b; font-size: 1rem; }

.news-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: clamp(2.75rem, 5vw, 4.5rem);
}

.news-pagination a {
    display: inline-flex;
    width: 2.75rem;
    height: 2.75rem;
    align-items: center;
    justify-content: center;
    border: 0.0625rem solid #d9e0e3;
    color: #41515b;
    text-decoration: none;
    transition: border-color 220ms ease, background-color 220ms ease, color 220ms ease;
}

.news-pagination a:hover,
.news-pagination a:focus-visible,
.news-pagination a[aria-current="page"] {
    border-color: #176dad;
    background: #176dad;
    color: #ffffff;
}

.news-detail__header {
    padding-block: clamp(2rem, 4vw, 3.5rem) clamp(2.5rem, 5vw, 4.5rem);
    background: #ffffff;
}

.news-detail__header-inner {
    max-width: 69rem;
}

.news-detail__back {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: clamp(1rem, 1.8vw, 1.5rem);
    color: #176dad;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
}

.news-detail__back span { font-size: 1.35rem; font-weight: 200; transition: transform 220ms ease; }
.news-detail__back:hover span,
.news-detail__back:focus-visible span { transform: translateX(-0.2rem); }

.news-detail__header h1 {
    max-width: 54rem;
    margin: 0;
    font-size: clamp(2.15rem, 4vw, 4rem);
    font-weight: 400;
    letter-spacing: -0.052em;
    line-height: 0.98;
}

.news-detail__header p {
    max-width: 48rem;
    margin: clamp(1.75rem, 3vw, 2.75rem) 0 0;
    color: #52616b;
    font-size: clamp(1.05rem, 1.55vw, 1.3rem);
    font-weight: 300;
    line-height: 1.7;
}

.news-detail__featured {
    width: min(100%, 48rem);
    margin: 0;
}

.news-detail__share-row {
    display: flex;
    width: min(100%, 48rem);
    align-items: center;
    justify-content: flex-start;
    gap: clamp(0.75rem, 1.5vw, 1.25rem);
    margin: clamp(1rem, 1.8vw, 1.5rem) 0 clamp(2rem, 3.5vw, 3rem);
}

.news-detail__share-row > span {
    color: #59666e;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.4;
    white-space: nowrap;
}

@media (min-width: 64.001rem) {
    .news-detail__header h1 {
        font-size: clamp(1.9rem, 3.25vw, 3.35rem);
    }

}

.news-detail__featured img {
    display: block;
    width: 100%;
    max-height: 31rem;
    object-fit: cover;
}

.news-detail__content {
    max-width: 69rem;
    padding-bottom: clamp(5rem, 10vw, 9rem);
}

.news-detail__content > p,
.news-detail__content > h2,
.news-detail__content > h3,
.news-detail__content > ul,
.news-detail__content > blockquote,
.news-detail__content > .news-detail__button-row,
.news-detail__content > .news-detail__image,
.news-detail__content > .news-detail__video,
.news-detail__content > .news-detail__typography,
.news-detail__content > .news-detail__spacer {
    width: 100%;
    max-width: 54rem;
}

.news-detail__content p,
.news-detail__content li {
    color: #33434d;
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    font-weight: 300;
    line-height: 1.85;
}

.news-detail__content > p { margin: 0 0 1.65rem; }
.news-detail__content h2,
.news-detail__content h3 {
    color: #151b1f;
    font-weight: 300;
    letter-spacing: -0.04em;
    line-height: 1.05;
}
.news-detail__content .news-detail__font-weight--100 { font-weight: 100; }
.news-detail__content .news-detail__font-weight--200 { font-weight: 200; }
.news-detail__content .news-detail__font-weight--300 { font-weight: 300; }
.news-detail__content .news-detail__font-weight--400 { font-weight: 400; }
.news-detail__content .news-detail__font-weight--500 { font-weight: 500; }
.news-detail__content .news-detail__font-weight--700 { font-weight: 700; }
.news-detail__content .news-detail__font-weight--900 { font-weight: 900; }
.news-detail__content .news-detail__font-weight--100,
.news-detail__content .news-detail__font-weight--200,
.news-detail__content .news-detail__font-weight--300,
.news-detail__content .news-detail__font-weight--400,
.news-detail__content .news-detail__font-weight--500 {
    --news-inline-bold-weight: 700;
}
.news-detail__content .news-detail__font-weight--700,
.news-detail__content .news-detail__font-weight--900 {
    --news-inline-bold-weight: 900;
}
.news-detail__inline-bold { font-weight: var(--news-inline-bold-weight, 700); }
.news-detail__heading-accent--solid {
    color: var(--news-heading-color-start, #6ec1e4);
}
.news-detail__heading-accent--gradient {
    color: var(--news-heading-color-start, #6ec1e4);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .news-detail__heading-accent--gradient {
        background-image: linear-gradient(90deg, var(--news-heading-color-start, #6ec1e4), var(--news-heading-color-end, #8080ff));
        box-decoration-break: clone;
        -webkit-box-decoration-break: clone;
        background-clip: text;
        color: transparent;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}
.news-detail__content h2 { margin: clamp(3.5rem, 7vw, 6rem) 0 1.5rem; font-size: clamp(2.25rem, 4.6vw, 4.5rem); }
.news-detail__content h3 { margin: 2.75rem 0 1.15rem; font-size: clamp(1.65rem, 3vw, 2.65rem); }
@media (min-width: 64.001rem) {
    .news-detail__content h2 { font-size: clamp(2rem, 3.6vw, 3.7rem); }
}
.news-detail__typography {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-block: clamp(2rem, 4vw, 3.25rem);
}
.news-detail__content .news-detail__typography-line {
    margin: var(--news-typography-spacing-top, 0) 0 0;
    color: var(--news-typography-color-start, #162332);
    line-height: 1.06;
    overflow-wrap: anywhere;
}
.news-detail__content .news-detail__typography-line--small { font-size: clamp(.78rem, 1vw, .9rem); }
.news-detail__content .news-detail__typography-line--standard { font-size: clamp(1rem, 1.2vw, 1.125rem); }
.news-detail__content .news-detail__typography-line--medium { font-size: clamp(1.25rem, 2vw, 1.75rem); }
.news-detail__content .news-detail__typography-line--large { font-size: clamp(1.65rem, 3.2vw, 2.8rem); }
.news-detail__content .news-detail__typography-line--xlarge { font-size: clamp(2.05rem, 4.7vw, 4.25rem); }
.news-detail__content .news-detail__typography-line--display { font-size: clamp(2.55rem, 6.5vw, 6.25rem); }
.news-detail__typography-line.is-italic { font-style: italic; }
.news-detail__typography-line.is-uppercase { text-transform: uppercase; }
.news-detail__typography-line--gradient {
    width: fit-content;
    max-width: 100%;
    background: linear-gradient(90deg, var(--news-typography-color-start, #162332), var(--news-typography-color-end, #6ec1e4));
    background-clip: text;
    color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.news-detail__align--center .news-detail__typography-line--gradient { align-self: center; }
.news-detail__align--right .news-detail__typography-line--gradient { align-self: flex-end; }
.news-detail__content ul { display: grid; gap: 0.75rem; margin: 1.5rem 0 2.5rem; padding-left: 1.25rem; }
.news-detail__content .news-detail__list { padding-left: 0; list-style: none; }
.news-detail__list li { display: grid; grid-template-columns: var(--news-list-marker-size, 14px) minmax(0, 1fr); align-items: center; column-gap: 0.75rem; }
.news-detail__list li::before { display: grid; width: 1em; height: 1em; align-self: center; place-items: center; color: var(--news-list-marker-color, #55aeda); font-size: var(--news-list-marker-size, 14px); font-weight: 600; line-height: 1; }
.news-detail__list--circle li::before,
.news-detail__list--square li::before { width: 0.5em; height: 0.5em; justify-self: center; background: var(--news-list-marker-color, #55aeda); content: ""; }
.news-detail__list--circle li::before { border-radius: 50%; }
.news-detail__list--check li::before { content: "✓"; }
.news-detail__list--arrow li::before { content: "›"; font-weight: 400; transform: scale(1.35); }
.news-detail__content blockquote { margin: clamp(2.5rem, 5vw, 4.5rem) 0; padding: 0.75rem 0 0.75rem clamp(1.25rem, 3vw, 2.25rem); border-left: 0.125rem solid #6ec1e4; }
.news-detail__content blockquote p { margin: 0; color: #1b2a33; font-size: clamp(1.35rem, 2.5vw, 2rem); line-height: 1.45; }
.news-detail__image { margin-block: clamp(3rem, 6vw, 5rem); }
.news-detail__content > .news-detail__image { width: min(100%, var(--news-image-width, 100%)); }
.news-detail__image--width-10 { --news-image-width: 10%; }
.news-detail__image--width-15 { --news-image-width: 15%; }
.news-detail__image--width-25 { --news-image-width: 25%; }
.news-detail__image--width-33 { --news-image-width: 33%; }
.news-detail__image--width-50 { --news-image-width: 50%; }
.news-detail__image--width-66 { --news-image-width: 66%; }
.news-detail__image--width-75 { --news-image-width: 75%; }
.news-detail__image--width-100 { --news-image-width: 100%; }
.news-detail__image--left { margin-inline: 0 auto; }
.news-detail__image--center { margin-inline: auto; }
.news-detail__image--right { margin-inline: auto 0; }
.news-detail__image-link { display: block; color: inherit; text-decoration: none; }
.news-detail__image-link:focus-visible { outline: 0.125rem solid #6ec1e4; outline-offset: 0.2rem; }
.news-detail__image img { display: block; width: 100%; height: auto; }
.news-detail__content figcaption { margin-top: 0.75rem; color: #6b7880; font-size: 0.85rem; font-weight: 300; line-height: 1.55; }

.news-detail__button-row {
    display: flex;
    margin: clamp(2rem, 4vw, 3.25rem) 0;
}

.news-detail__button-row--left { justify-content: flex-start; }
.news-detail__button-row--center { justify-content: center; }
.news-detail__button-row--right { justify-content: flex-end; }

.news-detail__button {
    display: inline-flex;
    min-width: 11.25rem;
    min-height: 3.25rem;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    border: 0;
    background: var(--news-button-color, #0f62a3);
    padding: 0.75rem 1.5rem;
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color var(--transition), color var(--transition);
}

.news-detail__button img {
    width: 1.35rem;
    height: 1.35rem;
    flex: 0 0 auto;
    filter: brightness(0) invert(1);
    transition: transform var(--transition);
}

.news-detail__button:hover,
.news-detail__button:focus-visible {
    background: var(--news-button-hover-color, #1e3643);
    color: #ffffff;
}

.news-detail__video {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    margin-block: clamp(3rem, 6vw, 5rem);
    margin-inline: 0 auto;
    background: #11181d;
}

.news-detail__video--left { margin-inline: 0 auto; }
.news-detail__video--center { margin-inline: auto; }
.news-detail__video--right { margin-inline: auto 0; }

.news-detail__video iframe {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.news-detail__video-placeholder {
    position: absolute;
    z-index: 1;
    inset: 0;
    display: grid;
    place-content: center;
    place-items: center;
    gap: 0.9rem;
    background: linear-gradient(135deg, #11181d, #1e3643);
    color: #ffffff;
    transition: opacity var(--transition);
}

.news-detail__video-placeholder span {
    width: 3.75rem;
    height: 3.75rem;
    border: 0.0625rem solid rgba(255, 255, 255, 0.75);
    border-radius: 50%;
}

.news-detail__video-placeholder span::after {
    display: block;
    width: 0;
    height: 0;
    margin: 1.12rem 0 0 1.48rem;
    border-top: 0.72rem solid transparent;
    border-bottom: 0.72rem solid transparent;
    border-left: 1.05rem solid #ffffff;
    content: "";
}

.news-detail__video-placeholder strong { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.18em; }
.news-detail__video.is-loaded .news-detail__video-placeholder { opacity: 0; pointer-events: none; }
.news-detail__spacer { height: var(--news-spacer-height, 40px); }

.news-detail__align--left { margin-inline: 0 auto; text-align: left; }
.news-detail__align--center { margin-inline: auto; text-align: center; }
.news-detail__align--right { margin-inline: auto 0; text-align: right; }

@media (forced-colors: active) {
    .news-detail__typography-line--gradient {
        background: none;
        color: CanvasText;
        -webkit-text-fill-color: currentColor;
    }
}

.news-detail__button:hover img,
.news-detail__button:focus-visible img {
    transform: translateX(0.16rem);
}

.news-detail__button:focus-visible {
    outline: 0.125rem solid #6ec1e4;
    outline-offset: 0.2rem;
}

.news-related {
    padding-block: clamp(4.5rem, 8vw, 8rem);
    border-top: 0.0625rem solid #dde3e6;
    background: #f3f5f6;
}

.news-related > .container > h2 { margin-bottom: clamp(2rem, 3.5vw, 3rem); }
.news-card--compact .news-card__body { min-height: 12rem; }
.news-card--compact .news-card__title { font-size: clamp(1.35rem, 1.9vw, 1.9rem); }
.news-card--compact .news-card__footer { padding-top: 1.4rem; }

.news-error__inner {
    display: flex;
    min-height: 62vh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-block: 5rem;
}
.news-error__code { margin: 0 0 1rem; color: #6ec1e4; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; }
.news-error h1 { max-width: 50rem; margin: 0; font-size: clamp(2.5rem, 6vw, 5.5rem); font-weight: 200; letter-spacing: -0.055em; line-height: 0.96; }
.news-error p:not(.news-error__code) { max-width: 38rem; margin: 1.5rem 0 0; color: #53616a; font-size: 1.05rem; line-height: 1.7; }
.news-error__link { margin-top: 2rem; }

@media (max-width: 64rem) {
    .news-grid,
    .news-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 47.999rem) {
    .page-hero--news { background-position: 55% center; }
    .news-index__archive { padding-block: 3.5rem 4.5rem; }
    .news-index__intro { margin-bottom: 2.25rem; }
    .news-index__intro p { font-size: clamp(1.55rem, 8vw, 2.35rem); line-height: 1.08; }
    .news-index__intro p strong { display: inline; }
    .news-grid,
    .news-related__grid { grid-template-columns: minmax(0, 1fr); }
    .news-card__visual { margin: 1rem 1rem 0; }
    .news-card__body { min-height: 15.5rem; padding: 1.35rem 1.15rem 1.25rem; }
    .news-card__title,
    .news-card--compact .news-card__title { font-size: clamp(1.45rem, 6.4vw, 1.9rem); }
    .news-card__footer { gap: 0.65rem; padding-top: 1.5rem; }
    .news-share { gap: 0.38rem; }
    .news-share__link { width: 1.7rem; height: 1.7rem; }
    .news-card__open { gap: 0.3rem; letter-spacing: 0.09em; }
    .news-detail__header { padding-block: 1.75rem 2rem; }
    .news-detail__back { margin-bottom: 1rem; }
    .news-detail__share-row { gap: 0.55rem; margin: 0.85rem 0 1.75rem; }
    .news-detail__share-row > span { font-size: 0.72rem; }
    .news-detail__header h1 { font-size: clamp(1.85rem, 8.7vw, 2.65rem); line-height: 1; }
    .news-detail__featured { width: min(100%, 28rem); margin: 0; }
    .news-detail__featured img { height: auto; min-height: 0; object-fit: cover; }
    .news-detail__button { min-width: min(11.25rem, 100%); max-width: 100%; }
    .news-detail__content { padding-bottom: 4.5rem; }
    .news-detail__image,
    .news-detail__video { margin-block: 2.75rem; }
    .news-detail__image--width-10,
    .news-detail__image--width-15,
    .news-detail__image--width-25,
    .news-detail__image--width-33 { --news-image-width: 50%; }
    .news-related { padding-block: 3.75rem 4.5rem; }
    .news-card--compact .news-card__body { min-height: 11rem; }
}

@media (prefers-reduced-motion: reduce) {
    .news-card { opacity: 1; transform: none; animation: none; transition: none; }
    .news-card__visual img,
    .news-share__link,
    .news-card__open img,
    .news-detail__back span,
    .news-detail__button,
    .news-detail__button img,
    .news-detail__video-placeholder { transition: none; }
}
