/* Shared news library and article styles */
:root { --news-blue:#3266ff; --news-ink:#25282c; --news-muted:#757575; }
.news-index, .news-detail { color:var(--news-ink); background:#fff; font-family:inherit; }
.news-index *, .news-detail * { box-sizing:border-box; }
.news-shell { width:min(1164px, calc(100% - 48px)); max-width:1164px; margin-inline:auto; }
.news-index a, .news-detail a { text-decoration:none; color:inherit; }
.news-index a:focus-visible, .news-detail a:focus-visible, .news-index button:focus-visible, .news-detail button:focus-visible { outline:3px solid var(--news-blue); outline-offset:5px; }
.news-intro { padding-top:140px; padding-bottom:80px; }
.news-intro h1 { margin:0 auto 76px; text-align:center; font-size:72px; font-weight:400; line-height:1.15; letter-spacing:-3px !important; color:var(--news-ink); }
.news-intro h1 strong { font-weight:750; }
.news-feature { position:relative; min-height:450px; }
.news-feature__link { display:flex; align-items:center; min-height:450px; padding-block:40px; }
.news-feature__image { position:absolute; inset-inline-end:0; top:0; width:68%; height:100%; object-fit:cover; border-radius:24px; background:#eef1f5; }
.news-feature__panel { position:relative; width:44%; padding:30px 34px; border:1px solid #d0d0d0; border-radius:30px; background:linear-gradient(100deg,rgba(255,255,255,.97) 48%,rgba(235,232,234,.75)); backdrop-filter:blur(22px); box-shadow:0 8px 32px #00000004; }
.news-topic { display:inline-block; min-width:95px; padding:5px 16px; border-radius:30px; background:#e8f1ff; color:var(--news-blue); font-size:11px; text-align:center; line-height:1.5; }
.news-feature h2 { margin:16px 0 10px; color:#202734; font-size:23px; line-height:1.5; font-weight:500; }
.news-feature__panel p { margin:0 0 26px; font-size:16px; line-height:1.6; color:var(--news-muted); }
.news-card__meta { display:flex; align-items:center; flex-wrap:wrap; gap:8px; color:var(--news-muted); font-size:11px; }
.news-avatar { display:grid; place-items:center; width:30px; height:30px; flex-shrink:0; background:#e8f1ff; border-radius:50%; color:var(--news-blue); }
.news-feature .news-avatar { width:48px; height:48px; margin-inline-end:8px; }
.news-feature time { display:block; margin-top:4px; font-size:11px; }
.news-feature__arrow { margin-inline-start:auto; font-size:25px; }
.news-library { padding:52px 56px 60px; border-radius:64px; background:#f7f7f7; margin-bottom:76px; }
.news-topics { display:flex; width:fit-content; max-width:100%; margin:0 auto 54px; padding:5px; border:1px solid #ddd; border-radius:26px; background:white; }
.news-topics a { display:grid; place-items:center; min-width:110px; padding:16px 22px; border-radius:21px; color:#777; font-size:16px; }
.news-topics a.is-active { background:var(--news-blue); color:white; box-shadow:0 24px 35px #00000015; }
.news-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.news-card { min-width:0; border:1px solid #d5d5d5; border-radius:28px; background:#fff; overflow:hidden; }
.news-card__link { display:grid; grid-template-columns:1.05fr 1fr; gap:22px; height:100%; padding:26px; }
.news-card__body { display:flex; align-items:start; flex-direction:column; min-width:0; }
.news-card h3 { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; margin:20px 0 16px; color:#202734; font-size:16px; font-weight:500; line-height:1.5; }
.news-card__meta { margin-top:auto; }
.news-card__arrow { color:#6c6c6c; font-size:24px; margin-top:12px; }
.news-card__image { width:100%; height:100%; min-height:190px; max-height:250px; object-fit:cover; border-radius:20px; background:#eef1f5; }
.news-card__link:hover h3, .news-feature__link:hover h2, .news-sidebar a:hover { color:var(--news-blue); }
.blog-load-more { display:flex; justify-content:center; margin-top:56px; }
.blog-load-more.is-hidden { display:none; }
.news-button { display:inline-flex; justify-content:center; align-items:center; min-width:220px; min-height:66px; padding:16px 30px; border:0; border-radius:20px; background:var(--news-blue); color:white !important; font-size:22px; cursor:pointer; box-shadow:0 25px 40px #00000020; }
.news-button:hover { background:#2354e3; }
.news-button:disabled { opacity:.6; cursor:wait; }
.blog-load-more__status { display:block; text-align:center; color:var(--news-muted); font-size:13px; margin-top:12px; }
.blog-empty-state { padding:45px; text-align:center; color:var(--news-muted); }
.news-detail { padding-top:132px; }
.news-back { display:inline-flex; gap:12px; align-items:center; font-size:21px; margin-bottom:42px; }
.news-back span { font-size:30px; }
.news-detail__layout { display:grid; grid-template-columns:minmax(0, 1.9fr) minmax(240px,1fr); gap:clamp(32px,4vw,64px); }
.news-story { min-width:0; }
.news-story h1 { color:#080808; font-size:clamp(30px,3vw,29px); font-weight:750; line-height:1.35; letter-spacing:-1px !important; margin:0 0 20px; }
.news-story__header { padding-bottom:28px; margin-bottom:36px; border-bottom:1px solid #aaa; }
.news-story__meta { display:flex; flex-wrap:wrap; align-items:center; gap:18px 28px; color:#171717; font-size:16px; }
.news-share { display:inline-flex; align-items:center; gap:8px; padding:9px 24px; background:#f0f0f0; border:0; border-radius:30px; color:#171717; cursor:pointer; }
#share-status { font-size:12px; overflow-wrap:anywhere; }
.news-story__banner { display:block; width:100%; aspect-ratio:2.3; object-fit:cover; border-radius:24px; background:#eef1f5; }
.news-story__content { margin-top:34px; color:#747474; font-size:16px; line-height:1.8; overflow-wrap:anywhere; }
.news-story__content * { max-width:100%; }
.news-story__content p { margin-bottom:28px; }
.news-story__content h1, .news-story__content h2, .news-story__content h3, .news-story__content h4 { margin:42px 0 20px; color:#080808; font-size:24px; line-height:1.4; font-weight:700; }
.news-story__content img { height:auto; border-radius:24px; margin-block:20px; }
.news-story__content iframe, .news-story__content video { max-width:100%; }
.news-story__content table { display:block; overflow-x:auto; }
.news-sidebar { padding-top:10px; }
.news-sidebar h2 { font-size:26px; font-weight:700; margin:0 0 24px; }
.news-sidebar ul { list-style:none; padding:0; margin:0; }
.news-sidebar li { margin-bottom:32px; }
.news-sidebar a { display:flex; gap:26px; font-size:16px; line-height:1.55; }
.news-sidebar a span { color:#5784ff; font-size:28px; flex-shrink:0; }
.news-related { margin-block:90px 80px; text-align:center; }
.news-related > h2 { font-size:40px; color:#080808; font-weight:700; margin:0 0 30px; }
.news-grid--related { grid-template-columns:repeat(4,minmax(0,1fr)); text-align:start; }
.news-grid--related .news-card { border-radius:18px; }
.news-grid--related .news-card__link { display:flex; flex-direction:column-reverse; gap:0; padding:0; }
.news-grid--related .news-card__image { height:220px; min-height:0; border-radius:0; }
.news-grid--related .news-card__body { position:relative; margin-top:-24px; padding:22px; flex:1; border-radius:20px 20px 0 0; background:linear-gradient(#ffffffd9,#fff); backdrop-filter:blur(16px); }
.news-grid--related .news-card h3 { margin:14px 0; font-size:17px; }
.news-grid--related .news-topic { min-width:0; background:#8b8b8b; color:white; font-size:9px; }
.news-grid--related .news-avatar { display:none; }
.news-grid--related .news-card__arrow { align-self:end; margin-top:0; }
.news-related .news-button { margin-top:40px; }
@media(max-width:1100px) {
 .news-shell { width:calc(100% - 48px); }
 .news-library { padding:36px 28px 45px; border-radius:40px; }
 .news-card__link { padding:20px; gap:16px; }
 .news-feature__panel { width:52%; }
 .news-topics a { min-width:90px; }
 .news-grid--related { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .news-detail__layout { gap:40px; grid-template-columns:minmax(0,2fr) minmax(220px,1fr); }
 .news-sidebar a { font-size:16px; gap:16px; }
}
@media(max-width:767px) {
 .news-shell { width:calc(100% - 32px); }
 .news-intro { padding-top:100px; padding-bottom:40px; }
 .news-intro h1 { font-size:54px; letter-spacing:-2px !important; margin-bottom:36px; }
 .news-feature__link { display:flex; flex-direction:column; padding:0; min-height:0; }
 .news-feature__image { position:static; width:100%; height:240px; border-radius:22px; }
 .news-feature { min-height:0; }
 .news-feature__panel { width:94%; margin-top:-45px; padding:24px; border-radius:24px; }
 .news-feature h2 { font-size:20px; }
 .news-feature__panel p { font-size:14px; }
 .news-library { padding:24px 16px 35px; border-radius:30px; margin-bottom:40px; }
 .news-topics { width:100%; overflow-x:auto; justify-content:start; margin-bottom:28px; border-radius:20px; }
 .news-topics a { min-width:auto; flex-shrink:0; padding:12px 17px; font-size:13px; border-radius:15px; }
 .news-grid { grid-template-columns:1fr; gap:18px; }
 .news-card { border-radius:22px; }
 .news-card__link { padding:18px; grid-template-columns:1.1fr 1fr; gap:14px; }
 .news-card__image { min-height:170px; border-radius:15px; }
 .news-card h3 { font-size:14px; margin:14px 0; }
 .news-card__meta { gap:5px; font-size:10px; }
 .news-topic { min-width:76px; font-size:10px; }
 .news-button { min-width:180px; min-height:56px; font-size:18px; border-radius:16px; }
 .blog-load-more { margin-top:32px; }
 .news-detail { padding-top:100px; }
 .news-back { margin-bottom:26px; font-size:17px; }
 .news-detail__layout { grid-template-columns:1fr; gap:40px; }
 .news-story h1 { font-size:30px; }
 .news-story__meta { font-size:13px; gap:14px; }
 .news-story__header { margin-bottom:26px; padding-bottom:24px; }
 .news-story__banner { aspect-ratio:1.6; border-radius:18px; }
 .news-story__content { font-size:16px; margin-top:26px; }
 .news-story__content h2, .news-story__content h3 { font-size:22px; }
 .news-sidebar { border-top:1px solid #ddd; padding-top:28px; }
 .news-sidebar h2 { font-size:24px; }
 .news-sidebar li { margin-bottom:20px; }
 .news-related { margin-block:50px; }
 .news-related > h2 { font-size:32px; }
 .news-grid--related { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
 .news-grid--related .news-card__image { height:140px; }
 .news-grid--related .news-card__body { padding:14px; }
 .news-grid--related .news-card h3 { font-size:14px; }
}

.news-library__title { margin: 0 0 32px; text-align: center; font-size: 30px; font-weight: 600; }
.news-card__image[hidden], .news-feature__image[hidden], .news-story__banner[hidden] { display: none; }
.news-image-unavailable { background: #eef1f5; }

.blog-load-more .news-button,
.news-related .news-button {
    min-width: 150px;
    min-height: 44px;
    padding: 10px 22px;
    border-radius: 12px;
    font-size: 16px;
    box-shadow: 0 12px 24px #00000014;
}

/* Match the shared storefront typography after Bootstrap's font reset. */
.news-index, .news-detail {
    font-family: "SF Pro Text", "Myriad Set Pro", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.news-index :is(h1, h2, h3), .news-detail :is(h1, h2, h3, h4, h5, h6) {
    font-family: "SF Pro Display", "SF Pro Icons", "AOS Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.news-index :is(button, input, select, textarea), .news-detail :is(button, input, select, textarea) {
    font-family: inherit;
}

/* Featured story: landscape media with a vertically centered glass card. */
.news-feature { min-height: 0; }
.news-feature__link {
    display: grid;
    grid-template-columns: repeat(100, minmax(0, 1fr));
    align-items: center;
    min-height: 0;
    padding-block: 0;
    isolation: isolate;
}
.news-feature__media {
    grid-column: 31 / -1;
    grid-row: 1;
    aspect-ratio: 2 / 1;
    overflow: hidden;
    border-radius: 24px;
    background: #090a12;
}
.news-feature__image {
    position: static;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
    background: transparent;
}
.news-feature__panel {
    grid-column: 1 / 45;
    grid-row: 1;
    position: relative;
    width: 100%;
    inset: auto;
    transform: none;
    z-index: 1;
    padding: 28px 32px;
    border: 1px solid rgba(180, 180, 180, .65);
    border-radius: 28px;
    background: linear-gradient(105deg, rgba(255,255,255,.93) 35%, rgba(255,255,255,.68));
    -webkit-backdrop-filter: blur(32px) saturate(140%);
    backdrop-filter: blur(32px) saturate(140%);
    box-shadow: 0 12px 40px rgba(0,0,0,.05), inset 0 1px 0 rgba(255,255,255,.65);
}
.news-feature h2 { margin-top: 0; font-size: 22px; line-height: 1.45; font-weight: 500; }
.news-feature__panel p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    margin-bottom: 24px;
}
@media (max-width: 1100px) and (min-width: 768px) {
    .news-feature__panel { grid-column-end: 53; padding: 22px; }
    .news-feature h2 { font-size: 20px; }
    .news-feature__panel p { font-size: 14px; -webkit-line-clamp: 3; }
}
.news-story__content :is(h1, h2, h3, h4, h5, h6, strong, b),
.news-story__content :is(h1, h2, h3, h4, h5, h6, strong, b) * {
    color: #000 !important;
}
@media (max-width: 767px) {
    .news-feature__link { display: flex; flex-direction: column; }
    .news-feature__media { width: 100%; aspect-ratio: 1.6; border-radius: 22px; }
    .news-feature__image { width: 100%; height: 100%; }
    .news-feature__panel { width: 94%; margin-top: -32px; padding: 24px; }
    .news-feature h2 { font-size: 20px; }
}

/* Compact topic navigation. */
#news-library { scroll-margin-top: 100px; }
.news-topics { width: min(100%, 560px); margin-bottom: 32px; padding: 4px; border-radius: 18px; }
.news-topics a { flex: 1; min-width: 0; min-height: 40px; padding: 8px 14px; font-size: 14px; line-height: 1.4; border-radius: 14px; white-space: nowrap; }
.news-topics a.is-active { box-shadow: 0 10px 20px #00000010; }
@media (max-width: 767px) {
    .news-topics { margin-bottom: 24px; }
    .news-topics a { flex: 0 0 auto; padding: 8px 14px; font-size: 13px; }
}

/* Soft article copy with black section headings, matching the reference. */
.news-story__content,
.news-story__content * {
    color: #808080 !important;
}
.news-story__content :is(h1, h2, h3, h4, h5, h6, strong, b),
.news-story__content :is(h1, h2, h3, h4, h5, h6, strong, b) * {
    color: #000 !important;
}

/* One moving pill avoids flashing individual tab backgrounds. */
.news-topics { position: relative; isolation: isolate; }
.news-topics__indicator {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    border-radius: 14px;
    background: var(--news-blue);
    box-shadow: 0 10px 20px #00000010;
    opacity: 0;
}
.news-topics.has-indicator .news-topics__indicator {
    opacity: 1;
    transition: transform 300ms cubic-bezier(.22,1,.36,1), width 300ms cubic-bezier(.22,1,.36,1);
}
.news-topics a { position: relative; z-index: 1; transition: color 200ms ease; }
.news-topics.has-indicator a.is-active { background: transparent; box-shadow: none; }
#blog-list { transition: opacity 180ms ease; }
#blog-list.is-updating { opacity: .55; }
@media (prefers-reduced-motion: reduce) {
    .news-topics.has-indicator .news-topics__indicator,
    .news-topics a, #blog-list { transition: none; }
}

/* Match newly prepared uploads to their editor frames. */
.news-story__banner { aspect-ratio: 2 / 1; }
.news-card img.news-card__image { aspect-ratio: 4 / 3; height: auto; min-height: 0; max-height: none; }
.news-grid--related .news-card__body { margin-top: 0; }

/* Compact article cards with a reference-style reaction row. */
.news-card__link { grid-template-columns: 1.3fr 1fr; padding: 20px; gap: 20px; align-items: center; }
.news-card__body { justify-content: center; align-self: center; }
.news-card h3 { margin: 0 0 16px; }
.news-card .news-card__meta { margin-top: 0; }
.news-card__reactions { display: flex; align-items: center; gap: 22px; margin-top: 18px; color: #757575; font-size: 14px; line-height: 1; }
.news-card__reactions > span { display: inline-flex; align-items: center; gap: 10px; }
.news-card__reactions svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.news-grid--related .news-card__body { align-self: stretch; justify-content: flex-start; }
.news-grid--related .news-card__reactions { margin-top: 16px; gap: 18px; }
@media (max-width: 767px) {
    .news-card__link { padding: 16px; gap: 14px; }
    .news-card h3 { margin: 0 0 12px; }
    .news-card__reactions { gap: 14px; margin-top: 14px; font-size: 12px; }
    .news-card__reactions > span { gap: 6px; }
    .news-card__reactions svg { width: 19px; height: 19px; }
}

/* Editorial labels and a restrained card pop on hover/focus. */
.news-card__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    min-width: 102px;
    padding: 6px 18px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: var(--news-blue);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}
.news-card { transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease; }
@media (hover: hover) and (pointer: fine) {
    .news-card:hover { transform: translateY(-5px) scale(1.01); box-shadow: 0 16px 32px rgba(20,30,50,.10); border-color: #e5e7eb; }
}
.news-card:focus-within { transform: translateY(-5px) scale(1.01); box-shadow: 0 16px 32px rgba(20,30,50,.10); }
.news-grid--related .news-card__label { margin-bottom: 10px; }
@media (prefers-reduced-motion: reduce) {
    .news-card { transition: none; }
    .news-card:hover, .news-card:focus-within { transform: none; }
}

/* Compact, consistently aligned recent-news links. */
.news-sidebar h2 { margin-bottom: 20px; }
.news-sidebar ul { display: grid; gap: 20px; }
.news-sidebar li { margin: 0; }
.news-sidebar a { align-items: flex-start; gap: 14px; line-height: 1.5; }
.news-sidebar a span { width: 24px; font-size: 24px; line-height: 1; padding-top: 1px; }
@media (max-width: 767px) {
    .news-sidebar ul { gap: 16px; }
    .news-sidebar a { gap: 12px; }
}

/* Reference library cards: soft tags, lighter copy and balanced image columns. */
.news-library .news-grid { gap: 24px; }
.news-library .news-card { border-radius: 28px; border-color: #d0d0d0; box-shadow: none; }
.news-library .news-card__link { grid-template-columns: 1.05fr 1fr; padding: 24px; gap: 24px; align-items: stretch; }
.news-library .news-card__body {
    display: grid;
    grid-template-rows: auto minmax(48px, 1fr) auto auto;
    gap: 16px;
    align-self: stretch;
    align-content: start;
    justify-content: stretch;
}
.news-card__label { min-width: 92px; padding: 4px 16px; background: #e8f1ff; color: #3266ff; font-weight: 400; }
.news-library .news-card__label { margin: 0; justify-self: start; align-self: start; }
.news-library .news-card h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    -webkit-line-clamp: 2;
    align-self: start;
}
.news-library .news-card__meta { margin: 0; gap: 7px; font-size: 11px; }
.news-library .news-card__reactions { margin: 0; gap: 22px; }
.news-library .news-card img.news-card__image {
    height: 100%;
    min-height: 200px;
    aspect-ratio: auto;
    object-fit: cover;
    border-radius: 20px;
}
@media (hover: hover) and (pointer: fine) {
    .news-library .news-card:hover { box-shadow: 0 12px 28px rgba(20,30,50,.08); }
}
@media (max-width: 767px) {
    .news-library .news-card__link { padding: 18px; gap: 16px; }
    .news-library .news-card__body { gap: 12px; grid-template-rows: auto minmax(42px, 1fr) auto auto; }
    .news-library .news-card h3 { font-size: 14px; }
    .news-library .news-card img.news-card__image { min-height: 170px; border-radius: 16px; }
    .news-library .news-card__reactions { gap: 12px; }
    .news-card__label { min-width: 76px; font-size: 10px; padding: 4px 12px; }
}

/* Keep library thumbnails at the previous 4:3 size instead of stretching with text. */
.news-library .news-card__link { grid-template-columns: 1.3fr 1fr; align-items: center; }
.news-library .news-card__body { grid-template-rows: auto auto auto auto; align-self: center; }
.news-library .news-card img.news-card__image {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    min-height: 0;
    max-height: none;
    align-self: center;
}

/* Fixed content tracks keep short and long titles aligned across all cards. */
.news-library .news-card__link { align-items: center; }
.news-library .news-card__body {
    display: grid;
    grid-template-rows: 26px 48px 30px 22px;
    row-gap: 16px;
    align-self: center;
    align-content: start;
}
.news-library .news-card__label { margin: 0; align-self: start; }
.news-library .news-card h3 { height: 48px; min-height: 48px; margin: 0; line-height: 24px; overflow: hidden; }
.news-library .news-card__meta { height: 30px; flex-wrap: nowrap; align-self: center; margin: 0; white-space: nowrap; min-width: 0; }
.news-library .news-card__meta > span:not(.news-avatar) { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.news-library .news-card__meta time { flex-shrink: 0; }
.news-library .news-card__reactions { height: 22px; margin: 0; align-self: start; }
@media (max-width: 767px) {
    .news-library .news-card__body { grid-template-rows: 22px 42px 30px 19px; row-gap: 12px; }
    .news-library .news-card h3 { height: 42px; min-height: 42px; line-height: 21px; }
    .news-library .news-card__meta { font-size: 10px; gap: 5px; }
    .news-library .news-card__reactions { height: 19px; }
}

/* Featured story matches the labeled glass-card reference. */
.news-feature__panel { grid-column-end: 53; }
.news-feature__panel > .news-card__label { margin: 0 0 16px; }
.news-feature h2 { font-weight: 400; line-height: 1.45; }
.news-feature__footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.news-feature__footer .news-card__meta { margin: 0; flex: 1; flex-wrap: nowrap; }
.news-feature__footer .news-card__reactions { margin: 0; gap: 18px; flex-shrink: 0; }
.news-feature__footer .news-avatar { margin-inline-end: 4px; }
@media (max-width: 767px) {
    .news-feature__footer { gap: 14px; }
    .news-feature__footer .news-card__reactions { gap: 14px; }
}

/* Compact featured-story proportions from the supplied reference. */
.news-intro { padding-top: 112px; padding-bottom: 64px; }
.news-intro h1 { margin-bottom: 56px; }
.news-feature__media { grid-column: 34 / -1; }
.news-feature__panel { grid-column: 1 / 43; padding: 20px 24px; border-radius: 24px; }
.news-feature__panel > .news-card__label { margin-bottom: 12px; min-width: 86px; padding: 4px 14px; font-size: 10px; }
.news-feature h2 { font-size: 18px; line-height: 1.5; margin: 0 0 10px; font-weight: 400; }
.news-feature__panel p { font-size: 14px; line-height: 1.55; margin-bottom: 18px; -webkit-line-clamp: 4; }
.news-feature .news-avatar { width: 40px; height: 40px; }
.news-feature__footer { gap: 12px; }
.news-feature__footer .news-card__meta { font-size: 10px; }
.news-feature time { font-size: 10px; }
.news-feature__footer .news-card__reactions { font-size: 11px; gap: 14px; }
.news-feature__footer .news-card__reactions > span { gap: 6px; }
.news-feature__footer .news-card__reactions svg { width: 18px; height: 18px; }
@media (min-width: 768px) and (max-width: 1100px) {
    .news-feature__panel { grid-column-end: 49; }
    .news-feature h2 { font-size: 16px; }
    .news-feature__panel p { font-size: 13px; -webkit-line-clamp: 3; }
}
@media (max-width: 767px) {
    .news-intro { padding-top: 100px; padding-bottom: 40px; }
    .news-intro h1 { margin-bottom: 36px; }
    .news-feature__panel { padding: 20px; }
}

/* Match every card reaction row to the featured banner sizing. */
.news-card .news-card__reactions,
.news-library .news-card__reactions,
.news-grid--related .news-card__reactions { font-size: 11px; gap: 14px; }
.news-card .news-card__reactions > span { gap: 6px; }
.news-card .news-card__reactions svg { width: 18px; height: 18px; }

/* Real engagement controls use buttons, outside article links. */
.news-card__reactions button { display:inline-flex; align-items:center; gap:6px; color:inherit; background:none; border:0; padding:0; font:inherit; line-height:1; cursor:pointer; }
.news-card__reactions button:disabled { cursor:wait; opacity:.6; }
.news-card__reactions button[aria-pressed=true] { color:#3266ff; }
.news-card__reactions button[aria-pressed=true] svg { fill:#3266ff20; }
.news-card__reactions button:focus-visible { outline:2px solid #3266ff; outline-offset:5px; border-radius:3px; }
.news-card__image-link { display:block; min-width:0; align-self:center; }
.news-library .news-card .news-card__image-link img { width:100%; height:auto; aspect-ratio:4/3; }
#blog-comments-dialog { width:min(600px,94vw); max-height:85dvh; overflow:auto; border:0; padding:24px; border-radius:18px; color:#25282c; background:#fff; }
#blog-comments-dialog:not([open]) { display:none; }
#blog-comments-dialog::backdrop { background:#0007; backdrop-filter:blur(4px); }
.blog-comments-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.blog-comments-heading h2 { font-size:24px; margin:0; }
#blog-comments-dialog button { border:1px solid #ddd; border-radius:8px; background:#f5f7fa; padding:8px 14px; cursor:pointer; }
#blog-comments-dialog button:disabled { opacity:.5; cursor:wait; }
#blog-comments-dialog [hidden] { display:none; }
#blog-comments-dialog form { margin-top:20px; }
#blog-comments-dialog textarea { display:block; width:100%; border:1px solid #ccc; border-radius:8px; padding:10px; margin:8px 0; }
.blog-comment { border-bottom:1px solid #eee; padding:16px 0; }
.blog-comment time { margin-left:12px; color:#777; font-size:12px; }
.blog-comment p { white-space:pre-wrap; overflow-wrap:anywhere; margin:8px 0 0; }
#blog-reaction-notice { position:fixed; bottom:20px; left:50%; transform:translateX(-50%); z-index:2000; background:#fff; box-shadow:0 4px 20px #0002; padding:12px 18px; border-radius:10px; max-width:90vw; overflow-wrap:anywhere; }
#blog-reaction-notice:empty { display:none; }

/* Author details and engagement share one vertically centered footer. */
.news-card__footer { display:flex; align-items:center; justify-content:space-between; gap:12px; min-width:0; }
.news-card__footer .news-card__meta { display:flex; align-items:center; flex:1; min-width:0; height:40px; gap:8px; }
.news-card__author-details { display:flex; flex-direction:column; gap:3px; min-width:0; }
.news-card__author-name { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.news-card__footer time { font-size:10px; line-height:1.3; }
.news-card__footer .news-card__reactions { flex-shrink:0; align-self:center; }
.news-library .news-card__body { grid-template-rows:26px 48px 40px; }
.news-library .news-card__footer .news-card__reactions { align-self:center; margin:0; height:18px; }
.news-grid--related .news-card__footer { flex-wrap:wrap; }
@media (max-width:767px) {
    .news-library .news-card__body { grid-template-rows:22px 42px auto; }
    .news-card__footer { flex-wrap:wrap; gap:10px; }
    .news-card__footer .news-card__meta { flex-basis:100%; }
}

/* Icon-only feedback: no button borders or background boxes. */
.news-card__reactions button { border: 0; background: transparent; box-shadow: none; }
.news-card__reactions button svg { transition: transform 180ms ease, color 180ms ease; transform-origin: center; }
@media (hover: hover) and (pointer: fine) {
    .news-card__reactions button:not(:disabled):hover svg { transform: translateY(-2px) scale(1.14); color: #3266ff; }
    .news-card__reactions button[data-reaction="like"]:not(:disabled):hover svg { color: #3266ff; }
}
.news-card__reactions button:not(:disabled):active svg { transform: scale(.94); }
@media (prefers-reduced-motion: reduce) {
    .news-card__reactions button svg { transition: none; }
    .news-card__reactions button:not(:disabled):hover svg,
    .news-card__reactions button:not(:disabled):active svg { transform: none; }
}

/* Compact related-story tiles with frosted copy overlapping the image. */
.news-related > h2 { font-size: 30px; margin-bottom: 24px; }
.news-grid--related { gap: 20px; align-items: stretch; }
.news-grid--related .news-card { border-radius: 16px; }
.news-grid--related .news-card__link { display:flex; flex-direction:column-reverse; justify-content:flex-end; padding:0; gap:0; height:100%; }
.news-grid--related .news-card__image-link { width:100%; align-self:stretch; }
.news-grid--related .news-card img.news-card__image { display:block; width:100%; height:auto; aspect-ratio:4 / 3; min-height:0; max-height:none; border-radius:0; object-fit:cover; }
.news-grid--related .news-card__body {
    display:flex; flex-direction:column; align-self:stretch; justify-content:flex-start;
    position:relative; z-index:1; flex:1; margin-top:-2px; padding:18px 20px 14px;
    border-radius:2px 2px 0 0;
    background:linear-gradient(180deg,rgba(235,235,235,.82),rgba(255,255,255,.97) 65%);
    -webkit-backdrop-filter:blur(16px); backdrop-filter:blur(16px);
}
.news-grid--related .news-card__label { min-width:0; padding:3px 12px; margin:0 0 10px; background:#929292; color:#fff; font-size:8px; line-height:1.3; }
.news-grid--related .news-card h3 { margin:0 0 12px; font-size:14px; font-weight:400; line-height:1.5; height:42px; -webkit-line-clamp:2; }
.news-grid--related .news-card__footer { flex-wrap:nowrap; gap:8px; margin-top:auto; }
.news-grid--related .news-card__footer .news-card__meta { height:auto; min-width:0; font-size:9px; }
.news-grid--related .news-card__author-details { flex-direction:row; align-items:center; gap:7px; overflow:hidden; }
.news-grid--related .news-card__author-name { flex:1; }
.news-grid--related .news-card__author-details time { font-size:8px; padding-left:7px; border-left:1px solid #999; }
.news-grid--related .news-related__arrow { font-size:24px; line-height:1; flex-shrink:0; color:#111; }
.news-related .news-button { min-width:150px; min-height:46px; margin-top:28px; border-radius:12px; }
@media (max-width:767px) {
    .news-grid--related { gap:12px; }
    .news-grid--related .news-card__body { padding:14px 12px 12px; }
    .news-grid--related .news-card h3 { font-size:12px; height:36px; }
    .news-grid--related .news-card__author-details { flex-direction:column; align-items:flex-start; gap:3px; }
    .news-grid--related .news-card__author-details time { padding-left:0; border-left:0; }
}

/* Explicitly center the native dialog after storefront CSS resets. */
#blog-comments-dialog { position: fixed; inset: 0; margin: auto; max-height: 85dvh; }

/* Comments dialog uses the storefront's soft surfaces and blue accents. */
#blog-comments-dialog {
    width: min(560px, calc(100vw - 32px)); max-height: min(85dvh, 760px);
    padding: 28px; border: 1px solid #e6e8ed; border-radius: 24px;
    background: #fff; color: #25282c; box-shadow: 0 24px 80px rgba(15,23,42,.18);
    font-family: "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
#blog-comments-dialog::backdrop { background: rgba(15,23,42,.40); backdrop-filter: blur(6px); }
.blog-comments-heading { align-items: flex-start; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid #edf0f4; }
.blog-comments-heading-copy { display:flex; align-items:center; gap:12px; }
.blog-comments-symbol { display:grid; place-items:center; width:44px; height:44px; border-radius:14px; color:#3266ff; background:#eaf1ff; flex-shrink:0; }
.blog-comments-symbol svg { width:23px; height:23px; }
#blog-comments-dialog h2 { font-size:22px; line-height:1.3; font-weight:650; margin:0 0 4px; }
#blog-comments-description { color:#85888e; font-size:13px; margin:0; line-height:1.5; }
#blog-comments-dialog [data-close-comments] { display:grid; place-items:center; width:34px; height:34px; flex-shrink:0; padding:8px; border:0; border-radius:50%; background:#f3f5f8; color:#667085; transition:background .15s,color .15s; }
#blog-comments-dialog [data-close-comments] svg { width:18px; height:18px; }
#blog-comments-dialog [data-close-comments]:hover { color:#25282c; background:#e9edf3; }
#blog-comments-dialog button:focus-visible { outline:2px solid #3266ff; outline-offset:3px; }
#blog-comments-dialog [data-comment-status] { margin:18px 0 8px; color:#85888e; font-size:12px; line-height:1.5; }
#blog-comments-dialog .blog-comment { display:flex; gap:12px; padding:16px 0; border-bottom:1px solid #edf0f4; }
.blog-comment-avatar { display:grid; place-items:center; width:36px; height:36px; flex-shrink:0; border-radius:50%; background:#eaf1ff; color:#3266ff; font-size:13px; }
.blog-comment-copy { min-width:0; flex:1; }
.blog-comment-meta { display:flex; flex-wrap:wrap; align-items:baseline; gap:8px; }
.blog-comment-meta strong { font-size:13px; font-weight:600; }
#blog-comments-dialog .blog-comment time { margin:0; font-size:11px; color:#92969d; }
#blog-comments-dialog .blog-comment p { font-size:14px; line-height:1.6; color:#4d5562; margin:6px 0 0; }
#blog-comments-dialog form { margin-top:22px; padding-top:4px; }
#blog-comments-dialog form label { font-size:13px; font-weight:600; margin-bottom:8px; display:block; }
#blog-comments-dialog textarea { font:inherit; font-size:14px; line-height:1.6; min-height:110px; margin:0; padding:12px 14px; border:1px solid #e2e6ed; border-radius:14px; background:#f8fafc; color:#25282c; resize:vertical; transition:border-color .15s,box-shadow .15s; }
#blog-comments-dialog textarea:focus { outline:none; border-color:#3266ff; box-shadow:0 0 0 3px #3266ff12; background:#fff; }
#blog-comments-dialog textarea::placeholder { color:#9a9fa8; }
.blog-comment-form-footer { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:14px; }
.blog-comment-form-footer > span { font-size:11px; color:#92969d; }
#blog-comments-dialog button[type=submit] { display:inline-flex; align-items:center; gap:12px; padding:10px 18px; border:0; border-radius:12px; background:#3266ff; color:#fff; font-size:13px; font-weight:500; white-space:nowrap; box-shadow:0 6px 16px #3266ff20; }
#blog-comments-dialog button[type=submit]:hover { background:#2455e8; }
#blog-comments-dialog [data-more-comments] { margin-top:14px; border:0; color:#3266ff; background:#edf3ff; font-size:12px; border-radius:10px; }
#blog-comments-dialog [data-comment-login] { margin:20px 0 0; padding:14px; background:#f4f7fc; border-radius:12px; color:#667085; font-size:13px; }
@media (max-width:480px) {
    #blog-comments-dialog { padding:20px; border-radius:20px; }
    .blog-comment-form-footer { align-items:flex-end; }
    .blog-comment-form-footer > span { max-width:140px; }
}

/* Related tiles place working engagement controls at the right of their footer. */
.news-grid--related .news-card__footer { flex-wrap:nowrap; align-items:center; justify-content:space-between; gap:10px; }
.news-grid--related .news-card__footer .news-card__meta { flex:1; min-width:0; }
.news-grid--related .news-card__author-details { flex-direction:column; align-items:flex-start; gap:3px; }
.news-grid--related .news-card__author-details time { border:0; padding-left:0; }
.news-grid--related .news-card__footer .news-card__reactions { margin:0 0 0 auto; gap:10px; flex-shrink:0; }
.news-grid--related .news-card__reactions svg { width:16px; height:16px; }
.news-grid--related .news-card__reactions button { gap:4px; }
.news-card__reactions button:not(:disabled):active { color:#3266ff; }

/* Stretch related-card footers so engagement reaches the card's right inset. */
.news-grid--related .news-card__footer { width:100%; align-self:stretch; }
.news-grid--related .news-card__footer .news-card__reactions { margin-left:auto; justify-content:flex-end; }

/* Additional discovery lists use real view and reaction rankings. */
.news-sidebar__section { margin-top: 36px; }
.news-sidebar__icon { display:inline-flex; align-items:flex-start; justify-content:center; padding-top:2px; }
.news-sidebar__icon svg { display:block; width:19px; height:19px; fill:#3266ff; }
.news-sidebar__section a { align-items:flex-start; }
@media (max-width:767px) { .news-sidebar__section { margin-top:28px; } }

/* Requested article typography, including imported rich-text colors and weights. */
.news-story__content { color: #000 !important; font-weight: 300; }
.news-story__content * { color: #000 !important; }
.news-story__content :is(strong, b) { font-weight: 700; }

/* Black author metadata and default engagement; blue interaction states remain. */
.news-card__meta, .news-card__author-details, .news-card__author-name,
.news-card__meta time, .news-feature time, .news-card__reactions { color: #000; }
.news-card__reactions button { color: #000; }
.news-card__reactions button[aria-pressed="true"] { color: #3266ff; }

/* Mobile news follows the compact image-first reference. */
@media (max-width: 767px) {
    .news-library { padding:20px 12px 28px; border-radius:24px; }
    .news-library .news-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:20px; }
    .news-library .news-card { border:0; border-radius:0; background:transparent; box-shadow:none; overflow:visible; transform:none; }
    .news-library .news-card__link {
        display:grid; grid-template-columns:clamp(80px,24vw,104px) minmax(0,1fr);
        align-items:center; padding:0; gap:16px; height:auto;
    }
    .news-library .news-card__image-link { grid-column:1; grid-row:1; width:100%; align-self:center; }
    .news-library .news-card img.news-card__image {
        width:100%; height:auto; aspect-ratio:4 / 3; min-height:0; max-height:none;
        object-fit:cover; border-radius:12px;
    }
    .news-library .news-card__link > .news-image-unavailable { grid-column:1; grid-row:1; width:100%; height:auto; aspect-ratio:4 / 3; min-height:0; border-radius:12px; }
    .news-library .news-card__body { display:block; grid-column:2; grid-row:1; align-self:center; min-width:0; }
    .news-library .news-card__label, .news-library .news-card__footer { display:none; }
    .news-library .news-card h3 {
        height:auto; min-height:0; margin:0; font-size:16px; font-weight:400; line-height:1.5;
        display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden;
    }
    .news-library .news-card h3 a { display:inline; }
    .news-topics { margin-bottom:24px; }

    .news-detail { padding-top:96px; }
    .news-detail__layout { display:grid; grid-template-columns:minmax(0,1fr); gap:28px; }
    .news-story h1 { font-size:28px; line-height:1.3; }
    .news-back { margin-bottom:24px; }
    .news-story__meta { gap:12px; font-size:12px; }
    .news-story__header { margin-bottom:22px; padding-bottom:20px; }
    .news-story__content { font-size:16px; line-height:1.75; margin-top:24px; }
    .news-story__content :is(p,li,div) { text-align:start !important; }
    .news-story__content p { margin-bottom:20px; }
    .news-story__content :is(h2,h3,h4,h5,h6) { margin:28px 0 12px; line-height:1.4; }
    .news-sidebar { padding-top:24px; }
    .news-sidebar h2 { font-size:21px; margin-bottom:16px; }
    .news-sidebar ul { gap:14px; }
    .news-sidebar a { font-size:14px; line-height:1.5; gap:12px; }
    .news-sidebar__section { margin-top:26px; }

    .news-related { min-width:0; margin-block:36px; }
    .news-related > h2 { font-size:26px; margin-bottom:20px; }
    .news-grid--related {
        display:grid; grid-template-columns:none; grid-auto-flow:column; grid-auto-columns:min(82%,320px);
        gap:16px; width:100%; max-width:100%; overflow-x:auto;
        scroll-snap-type:x mandatory; scroll-padding-inline:0;
        overscroll-behavior-inline:contain; -webkit-overflow-scrolling:touch;
        padding:6px 0 18px; scrollbar-width:thin; scrollbar-color:#c9d5f7 transparent;
        text-align:start;
    }
    .news-grid--related .news-card { scroll-snap-align:start; min-width:0; transform:none; }
    .news-grid--related .news-card__body { padding:16px; }
    .news-grid--related .news-card h3 { font-size:14px; height:42px; }
    .news-grid--related .news-card__footer { gap:10px; flex-wrap:wrap; }
    .news-grid--related .news-card__footer .news-card__meta { flex:1; }
    .news-grid--related .news-card__footer .news-card__reactions { flex-shrink:0; margin-left:auto; }
    .news-related .news-button { margin-top:22px; }
}

/* Compact article actions beside the publication date and share control. */
.news-story__meta .news-card__reactions { margin: 0; gap: 14px; font-size: 11px; }
.news-story__meta .news-card__reactions svg { width: 18px; height: 18px; }
.news-story__meta .news-share { padding: 6px 12px; gap: 6px; font-size: 12px; line-height: 18px; }
.news-story__meta .news-share svg { width: 16px; height: 16px; }

.news-feature__panel { transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease; }
@media (hover: hover) and (pointer: fine) {
    .news-feature__panel:hover { transform: translateY(-5px) scale(1.01); box-shadow: 0 16px 32px rgba(20,30,50,.10); border-color: #e5e7eb; }
}
.news-feature__panel:focus-within { transform: translateY(-5px) scale(1.01); box-shadow: 0 16px 32px rgba(20,30,50,.10); }
@media (prefers-reduced-motion: reduce) {
    .news-feature__panel { transition: none; }
    .news-feature__panel:hover, .news-feature__panel:focus-within { transform: none; }
}

/* Allow every topic label to fit, with contained scrolling on narrow screens. */
.news-topics { box-sizing: border-box; width: fit-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.news-topics::-webkit-scrollbar { display: none; }
.news-topics a { flex: 0 0 auto; min-width: 80px; }
@media (max-width: 767px) {
    .news-topics a { min-width: 0; }
}

/* Editor dimensions must not stretch embedded images when the article narrows. */
.news-story__content img {
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    object-fit: contain;
}

/* Keep article paragraphs compact, including pasted editor line spacing. */
.news-story__content p { margin-top: 0 !important; margin-bottom: 14px !important; }
.news-story__content :is(p, li) { line-height: 1.75 !important; }
.news-story__content :is(p, li) * { line-height: inherit !important; }

/* The shared icon rule enlarges <i>; editor italics should inherit text size. */
.news-story__content i { font-size: inherit; }
