/* (c) Haxter Corporation Global 2026. | All rights reserved. */
/* Haxter Corporation News | H27 / HX26 Editorial News System */

.hxnews_page {
    --hxnews-blue: #0067b8;
    --hxnews-blue-hover: #005da6;
    --hxnews-blue-press: #004f8d;
    --hxnews-ink: #0f1720;
    --hxnews-text: #1a1a1a;
    --hxnews-muted: #5f6368;
    --hxnews-border: #e5e5e5;
    --hxnews-border-strong: #cfd6dd;
    --hxnews-soft: #f5f5f5;
    --hxnews-soft-2: #fafafa;
    --hxnews-blue-soft: #f3f8fd;
    --hxnews-line-blue: #d8e6f2;
    --hxnews-white: #ffffff;
    --hxnews-width: 1380px;

    min-width: 320px;
    margin: 0;
    background: var(--hxnews-white);
    color: var(--hxnews-text);
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        SegoeUI,
        Roboto,
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;
}

.hxnews_page *,
.hxnews_page *::before,
.hxnews_page *::after {
    box-sizing: border-box;
}

.hxnews_page img {
    max-width: 100%;
}

.hxnews_page a {
    color: inherit;
}

.hxnews_wrap {
    width: min(var(--hxnews-width), calc(100% - 64px));
    margin: 0 auto;
}

/* -------------------------------------------------------------------------- */
/* News identity and section navigation                                       */
/* -------------------------------------------------------------------------- */

.hxnews_masthead {
    background: var(--hxnews-white);
    border-top: 1px solid var(--hxnews-border);
    border-bottom: 1px solid var(--hxnews-border);
}

.hxnews_masthead_row {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hxnews_identity {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: baseline;
    gap: 9px;
    color: var(--hxnews-ink);
    text-decoration: none;
}

.hxnews_identity span {
    font-size: 17px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.hxnews_identity strong {
    font-size: 29px;
    line-height: 1;
    font-weight: 650;
    letter-spacing: -0.045em;
}

.hxnews_navigation {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 26px;
    overflow-x: auto;
    scrollbar-width: none;
}

.hxnews_navigation::-webkit-scrollbar {
    display: none;
}

.hxnews_navigation a {
    flex: 0 0 auto;
    padding: 7px 0;
    color: #3f444a;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.hxnews_navigation a:hover {
    color: var(--hxnews-blue);
}

.hxnews_navigation a:focus-visible,
.hxnews_identity:focus-visible,
.hxnews_page a:focus-visible {
    outline: 2px solid var(--hxnews-ink);
    outline-offset: 3px;
}

/* -------------------------------------------------------------------------- */
/* Front page                                                                 */
/* -------------------------------------------------------------------------- */

.hxnews_frontpage {
    padding: 44px 0 52px;
    background: var(--hxnews-white);
    border-bottom: 1px solid var(--hxnews-border);
}

.hxnews_frontpage > .hxnews_wrap {
    display: grid;
    grid-template-columns: minmax(0, 2.12fr) minmax(300px, 0.88fr);
    gap: 42px;
    align-items: start;
}

.hxnews_lead_story {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(340px, 0.84fr);
    border-right: 1px solid var(--hxnews-border);
    padding-right: 42px;
}

.hxnews_lead_media {
    min-height: 520px;
    display: grid;
    place-items: center;
    padding: clamp(30px, 4vw, 64px);
    background:
        linear-gradient(145deg, var(--hxnews-blue-soft), #ffffff 72%);
    overflow: hidden;
    text-decoration: none;
}

.hxnews_lead_media img {
    width: 100%;
    height: 100%;
    max-height: 380px;
    object-fit: contain;
    display: block;
}

.hxnews_lead_content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px 0 32px 42px;
}

.hxnews_story_meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--hxnews-muted);
    font-size: 13px;
    line-height: 1.4;
}

.hxnews_story_meta span {
    color: var(--hxnews-blue);
    font-weight: 700;
}

.hxnews_story_meta span::after {
    content: "·";
    display: inline-block;
    margin-left: 8px;
    color: var(--hxnews-border-strong);
}

.hxnews_lead_content h1 {
    margin: 20px 0 0;
    color: var(--hxnews-ink);
    font-size: clamp(42px, 4.15vw, 66px);
    line-height: 1.01;
    letter-spacing: -0.058em;
    font-weight: 650;
}

.hxnews_lead_content h1 a {
    text-decoration: none;
}

.hxnews_lead_content h1 a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
}

.hxnews_lead_summary {
    margin: 24px 0 0;
    color: var(--hxnews-muted);
    font-size: 18px;
    line-height: 1.62;
}

.hxnews_story_link {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    margin-top: 26px;
    color: var(--hxnews-blue) !important;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 650;
    text-decoration: none;
}

.hxnews_story_link:hover {
    color: var(--hxnews-blue-hover) !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* -------------------------------------------------------------------------- */
/* Headlines                                                                  */
/* -------------------------------------------------------------------------- */

.hxnews_headlines {
    min-width: 0;
}

.hxnews_headlines_header {
    padding-bottom: 17px;
    border-bottom: 3px solid var(--hxnews-ink);
}

.hxnews_headlines_header h2 {
    margin: 0;
    color: var(--hxnews-ink);
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: -0.03em;
    font-weight: 650;
}

.hxnews_headline {
    padding: 24px 0;
    border-bottom: 1px solid var(--hxnews-border);
}

.hxnews_headline h3 {
    margin: 13px 0 0;
    color: var(--hxnews-ink);
    font-size: 21px;
    line-height: 1.25;
    letter-spacing: -0.03em;
    font-weight: 600;
}

.hxnews_headline h3 a {
    text-decoration: none;
}

.hxnews_headline h3 a:hover {
    color: var(--hxnews-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* -------------------------------------------------------------------------- */
/* Editorial sections                                                         */
/* -------------------------------------------------------------------------- */

.hxnews_editorial_section {
    padding: 66px 0 72px;
    background: var(--hxnews-white);
    border-bottom: 1px solid var(--hxnews-border);
}

.hxnews_editorial_section_soft {
    background: var(--hxnews-soft-2);
}

.hxnews_section_header {
    margin-bottom: 30px;
    padding-bottom: 17px;
    border-bottom: 3px solid var(--hxnews-ink);
}

.hxnews_section_header_split {
    display: grid;
    grid-template-columns: minmax(220px, 0.38fr) minmax(0, 0.62fr);
    gap: 42px;
    align-items: end;
}

.hxnews_section_header h2 {
    margin: 0;
    color: var(--hxnews-ink);
    font-size: clamp(32px, 3.4vw, 48px);
    line-height: 1.04;
    letter-spacing: -0.05em;
    font-weight: 650;
}

.hxnews_section_header p {
    max-width: 700px;
    margin: 0;
    color: var(--hxnews-muted);
    font-size: 16px;
    line-height: 1.6;
}

/* -------------------------------------------------------------------------- */
/* Top stories                                                                */
/* -------------------------------------------------------------------------- */

.hxnews_top_stories {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--hxnews-border);
    border-left: 1px solid var(--hxnews-border);
}

.hxnews_story_card {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(220px, 0.42fr) minmax(0, 0.58fr);
    background: var(--hxnews-white);
    border-right: 1px solid var(--hxnews-border);
    border-bottom: 1px solid var(--hxnews-border);
}

.hxnews_story_media {
    min-height: 340px;
    display: grid;
    place-items: center;
    padding: 24px;
    background: white;
    border-right: 1px solid var(--hxnews-border);
    overflow: hidden;
}

.hxnews_story_media img {
    width: 100%;
    height: 100%;
    max-height: 290px;
    display: block;
    object-fit: contain;
}

.hxnews_story_content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 30px;
}

.hxnews_story_content h3 {
    margin: 18px 0 0;
    color: var(--hxnews-ink);
    font-size: clamp(25px, 2.2vw, 34px);
    line-height: 1.1;
    letter-spacing: -0.042em;
    font-weight: 650;
}

.hxnews_story_content h3 a {
    text-decoration: none;
}

.hxnews_story_content h3 a:hover {
    color: var(--hxnews-blue);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.hxnews_story_summary {
    margin: 17px 0 0;
    color: var(--hxnews-muted);
    font-size: 15px;
    line-height: 1.62;
}

.hxnews_story_content .hxnews_story_link {
    margin-top: auto;
    padding-top: 24px;
}

/* -------------------------------------------------------------------------- */
/* Latest feed                                                                */
/* -------------------------------------------------------------------------- */

.hxnews_latest_feed {
    border-top: 1px solid var(--hxnews-border-strong);
}

.hxnews_latest_item {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(150px, 0.18fr) minmax(0, 0.74fr) 48px;
    gap: 28px;
    align-items: start;
    padding: 28px 0;
    border-bottom: 1px solid var(--hxnews-border);
}

.hxnews_latest_date {
    color: var(--hxnews-muted);
    font-size: 13px;
    line-height: 1.5;
}

.hxnews_latest_category {
    margin: 0;
    color: var(--hxnews-blue);
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
}

.hxnews_latest_content h3 {
    margin: 8px 0 0;
    color: var(--hxnews-ink);
    font-size: clamp(22px, 2.1vw, 31px);
    line-height: 1.14;
    letter-spacing: -0.038em;
    font-weight: 620;
}

.hxnews_latest_content h3 a {
    text-decoration: none;
}

.hxnews_latest_content h3 a:hover {
    color: var(--hxnews-blue);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.hxnews_latest_content > p:last-child {
    max-width: 840px;
    margin: 13px 0 0;
    color: var(--hxnews-muted);
    font-size: 15px;
    line-height: 1.6;
}

.hxnews_latest_action {
    display: flex;
    justify-content: flex-end;
}

.hxnews_latest_action a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid var(--hxnews-border-strong);
    color: var(--hxnews-blue);
    font-size: 20px;
    text-decoration: none;
}

.hxnews_latest_action a:hover {
    border-color: var(--hxnews-blue);
    background: var(--hxnews-blue-soft);
}

/* -------------------------------------------------------------------------- */
/* Company feature                                                            */
/* -------------------------------------------------------------------------- */

.hxnews_feature_row {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
    gap: 48px;
}

.hxnews_feature_item {
    min-width: 0;
    padding-right: 48px;
    border-right: 1px solid var(--hxnews-border);
}

.hxnews_feature_item h3 {
    max-width: 850px;
    margin: 18px 0 0;
    color: var(--hxnews-ink);
    font-size: clamp(34px, 4.2vw, 58px);
    line-height: 1.04;
    letter-spacing: -0.052em;
    font-weight: 650;
}

.hxnews_feature_item h3 a {
    text-decoration: none;
}

.hxnews_feature_item h3 a:hover {
    color: var(--hxnews-blue);
}

.hxnews_feature_item > p:not(.hxnews_story_meta) {
    max-width: 780px;
    margin: 22px 0 0;
    color: var(--hxnews-muted);
    font-size: 17px;
    line-height: 1.65;
}

.hxnews_channel_notice {
    align-self: start;
    padding: 30px;
    border-top: 4px solid var(--hxnews-blue);
    background: var(--hxnews-blue-soft);
}

.hxnews_notice_label {
    margin: 0;
    color: var(--hxnews-blue);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hxnews_channel_notice h3 {
    margin: 15px 0 0;
    color: var(--hxnews-ink);
    font-size: 26px;
    line-height: 1.14;
    letter-spacing: -0.038em;
    font-weight: 650;
}

.hxnews_channel_notice > p:last-child {
    margin: 17px 0 0;
    color: var(--hxnews-muted);
    font-size: 15px;
    line-height: 1.62;
}

/* -------------------------------------------------------------------------- */
/* Technology topics                                                          */
/* -------------------------------------------------------------------------- */

.hxnews_topic_columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--hxnews-border);
    border-left: 1px solid var(--hxnews-border);
}

.hxnews_topic_columns article {
    min-height: 250px;
    padding: 30px;
    background: var(--hxnews-white);
    border-right: 1px solid var(--hxnews-border);
    border-bottom: 1px solid var(--hxnews-border);
}

.hxnews_topic_columns article > p {
    margin: 0;
    color: var(--hxnews-blue);
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
}

.hxnews_topic_columns h3 {
    margin: 17px 0 0;
    color: var(--hxnews-ink);
    font-size: 27px;
    line-height: 1.14;
    letter-spacing: -0.038em;
    font-weight: 650;
}

.hxnews_topic_columns span {
    display: block;
    margin-top: 17px;
    color: var(--hxnews-muted);
    font-size: 15px;
    line-height: 1.62;
}

/* -------------------------------------------------------------------------- */
/* Responsive                                                                 */
/* -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
    .hxnews_frontpage > .hxnews_wrap {
        grid-template-columns: 1fr;
    }

    .hxnews_lead_story {
        border-right: 0;
        padding-right: 0;
    }

    .hxnews_headlines {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        border-top: 3px solid var(--hxnews-ink);
    }

    .hxnews_headlines_header {
        grid-column: 1 / -1;
        padding: 20px 0 0;
        border-bottom: 0;
    }

    .hxnews_headline {
        padding-right: 24px;
        border-right: 1px solid var(--hxnews-border);
    }

    .hxnews_headline:last-child {
        border-right: 0;
    }

    .hxnews_top_stories {
        grid-template-columns: 1fr;
    }

    .hxnews_topic_columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .hxnews_wrap {
        width: min(100% - 36px, var(--hxnews-width));
    }

    .hxnews_masthead_row {
        min-height: auto;
        display: grid;
        gap: 18px;
        padding: 22px 0 18px;
    }

    .hxnews_navigation {
        justify-content: flex-start;
    }

    .hxnews_lead_story {
        grid-template-columns: 1fr;
    }

    .hxnews_lead_media {
        min-height: 420px;
    }

    .hxnews_lead_content {
        padding: 32px 0 0;
    }

    .hxnews_section_header_split,
    .hxnews_feature_row {
        grid-template-columns: 1fr;
    }

    .hxnews_feature_item {
        padding-right: 0;
        padding-bottom: 38px;
        border-right: 0;
        border-bottom: 1px solid var(--hxnews-border);
    }

    .hxnews_story_card {
        grid-template-columns: minmax(200px, 0.4fr) minmax(0, 0.6fr);
    }
}

@media (max-width: 720px) {
    .hxnews_frontpage,
    .hxnews_editorial_section {
        padding-top: 44px;
        padding-bottom: 50px;
    }

    .hxnews_identity {
        display: grid;
        gap: 5px;
    }

    .hxnews_identity strong {
        font-size: 31px;
    }

    .hxnews_lead_media {
        min-height: 310px;
        padding: 32px;
    }

    .hxnews_lead_content h1,
    .hxnews_section_header h2,
    .hxnews_story_content h3,
    .hxnews_feature_item h3,
    .hxnews_latest_content h3,
    .hxnews_channel_notice h3,
    .hxnews_topic_columns h3 {
        font-family:
            "Segoe UI",
            Roboto,
            "Helvetica Neue",
            Arial,
            sans-serif;
        font-weight: 500;
        letter-spacing: -0.028em;
        text-wrap: balance;
    }

    .hxnews_lead_content h1 {
        font-size: clamp(38px, 10.5vw, 52px);
        line-height: 1.06;
    }

    .hxnews_lead_summary {
        font-size: 17px;
        line-height: 1.68;
    }

    .hxnews_headlines {
        grid-template-columns: 1fr;
    }

    .hxnews_headline {
        padding-right: 0;
        border-right: 0;
    }

    .hxnews_story_card {
        grid-template-columns: 1fr;
    }

    .hxnews_story_media {
        min-height: 300px;
        border-right: 0;
        border-bottom: 1px solid var(--hxnews-border);
    }

    .hxnews_latest_item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hxnews_latest_action {
        justify-content: flex-start;
        margin-top: 8px;
    }

    .hxnews_topic_columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 460px) {
    .hxnews_wrap {
        width: min(100% - 28px, var(--hxnews-width));
    }

    .hxnews_navigation {
        gap: 20px;
    }

    .hxnews_lead_media {
        min-height: 250px;
        padding: 24px;
    }

    .hxnews_story_content,
    .hxnews_channel_notice,
    .hxnews_topic_columns article {
        padding: 24px;
    }

    .hxnews_section_header h2 {
        font-size: 34px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hxnews_page *,
    .hxnews_page *::before,
    .hxnews_page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}


/* =========================================================
   H27 / HX26 NEWS — DESKTOP HERO + MASTHEAD FIX
   Add at the end of h27-hx26-news.css
   ========================================================= */

.hxnews_page a {
    font-family: inherit;
    font-size: inherit;
    font-style: normal;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
}

.hxnews_identity {
    display: inline-flex;
    align-items: baseline;
    gap: 7px;
    color: var(--hxnews-ink);
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        SegoeUI,
        Roboto,
        "Helvetica Neue",
        Arial,
        sans-serif;
    font-size: 18px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: -0.025em;
    white-space: nowrap;
}

.hxnews_identity span,
.hxnews_identity strong {
    display: inline;
    margin: 0;
    padding: 0;
    color: inherit;
    font-family: inherit;
    line-height: inherit;
}

.hxnews_identity span {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: -0.025em;
}

.hxnews_identity strong {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.04em;
}

.hxnews_navigation a {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 7px 0;
    color: #3f444a;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        SegoeUI,
        Roboto,
        "Helvetica Neue",
        Arial,
        sans-serif;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 400;
    letter-spacing: -0.015em;
    white-space: nowrap;
}

.hxnews_lead_story {
    grid-template-columns: minmax(380px, 0.9fr) minmax(430px, 1.1fr);
}

.hxnews_lead_content {
    min-width: 0;
    width: 100%;
    padding: 38px 0 38px 42px;
}

.hxnews_lead_content h1 {
    width: 100%;
    max-width: 650px;
    margin: 20px 0 0;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        SegoeUI,
        Roboto,
        "Helvetica Neue",
        Arial,
        sans-serif;
    font-size: clamp(36px, 3vw, 50px);
    line-height: 1.08;
    letter-spacing: -0.045em;
    font-weight: 600;
    text-wrap: balance;
    overflow-wrap: normal;
    word-break: normal;
}

.hxnews_lead_content h1 a {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    color: inherit;
    font: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
}

@media (min-width: 1181px) and (max-width: 1380px) {
    .hxnews_frontpage > .hxnews_wrap {
        grid-template-columns: minmax(0, 2.2fr) minmax(285px, 0.8fr);
        gap: 32px;
    }

    .hxnews_lead_story {
        grid-template-columns: minmax(340px, 0.88fr) minmax(400px, 1.12fr);
        padding-right: 32px;
    }

    .hxnews_lead_content {
        padding-left: 34px;
    }

    .hxnews_lead_content h1 {
        font-size: clamp(34px, 2.8vw, 44px);
    }
}

@media (max-width: 900px) {
    .hxnews_lead_story {
        grid-template-columns: 1fr;
    }

    .hxnews_lead_content {
        padding: 32px 0 0;
    }

    .hxnews_identity {
        gap: 6px;
    }

    .hxnews_identity strong {
        font-size: 23px;
    }
}