/* News, articles and useful links share the source-backed resource library language. */
.news-hero { display: grid; grid-template-columns: 1.5fr 1fr; align-items: center; gap: 70px; padding-block: 66px 54px; }
.news-hero h1 { font-size: clamp(36px, 4.5vw, 60px); line-height: 1.12; max-width: 760px; letter-spacing: -.035em; margin: 14px 0 22px; }
.news-lead { max-width: 650px; font-size: 19px; line-height: 1.7; color: var(--muted); }
.news-hero .button { margin-top: 10px; }
.news-hero-art { display: grid; place-items: center; min-height: 300px; border-radius: 32px; color: #0c4da2; background: radial-gradient(ellipse at 80% 10%, #e6dcff, transparent 65%), linear-gradient(135deg, #eff5ff, #e2edfc); transform: rotate(2deg); }
.news-hero-art > svg { width: 120px; height: 120px; padding: 26px; background: white; border: 1px solid #d4dfef; border-radius: 24px; box-shadow: 12px 14px 0 #c5d5ec66; transform: rotate(-8deg); }
.news-hero-art > span { font-size: 15px; font-weight: 600; }
.news-library { padding-block: 10px 90px; scroll-margin-top: 30px; }
.content-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 22px; }
.content-section-heading h2 { font-size: clamp(24px, 3vw, 32px); margin: 0; }
.content-section-heading .eyebrow { margin-bottom: 8px; }
.content-section-heading a { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-size: 15px; font-weight: 600; }
.content-section-heading svg { width: 20px; height: 20px; }
.content-archive-note { padding: 16px 20px; border-left: 3px solid #8f9fb6; background: #f2f6fa; border-radius: 0 12px 12px 0; color: #42536c; font-size: 15px; line-height: 1.7; max-width: none; }
.content-search { margin: 28px 0 18px; }
.content-search label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.content-search > div { display: flex; gap: 12px; }
.content-search input { flex: 1; min-width: 0; padding: 14px 18px; font-size: 16px; border: 1px solid var(--field); border-radius: 12px; background: var(--paper); color: var(--ink); }
.content-search button { white-space: nowrap; }
.news-categories { display: flex; flex-wrap: wrap; gap: 10px; margin-block: 18px; }
.news-categories a { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 99px; padding: 10px 15px; min-height: 44px; font-size: 14px; text-decoration: none; color: var(--ink); }
.news-categories a[aria-current] { color: #073d83; border-color: #0c4da2; background: #edf4ff; box-shadow: inset 0 0 0 1px #0c4da2; }
.news-categories span { color: var(--muted); font-size: 12px; }
.content-result-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 24px 0; }
.content-result-bar p { margin: 0; font-size: 15px; color: var(--muted); }
.content-result-bar a { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; }
.news-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.news-card { min-width: 0; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--paper); }
.news-card > a { display: flex; height: 100%; flex-direction: column; color: var(--ink); text-decoration: none; }
.news-card > a:hover h2 { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }
.news-card-image { aspect-ratio: 16 / 9; background: #f0f4fa; overflow: hidden; }
.news-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-card-symbol { height: 100%; display: grid; place-items: center; background: linear-gradient(140deg, #eef5ff, #eee7ff); color: #0c4da2; }
.news-card-symbol svg { width: 56px; height: 56px; }
.news-card-copy { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.news-category { font-size: 13px; font-weight: 600; color: var(--brand); }
.news-card h2 { font-size: 23px; line-height: 1.35; margin: 12px 0 28px; overflow-wrap: anywhere; }
.news-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; }
.news-card-foot time { font-size: 14px; color: var(--muted); }
.news-card-foot svg { width: 24px; height: 24px; color: var(--brand); }
.content-empty { padding: 36px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; text-align: center; }
.content-empty h3 { font-size: 23px; }
.content-empty p { margin: 10px auto 0; font-size: 16px; }
.content-article { padding-block: 40px 90px; }
.article-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); margin-bottom: 46px; }
.article-breadcrumb a { min-height: 44px; display: inline-flex; align-items: center; }
.article-heading { max-width: 1000px; }
.article-heading h1 { font-size: clamp(32px, 4vw, 52px); line-height: 1.2; letter-spacing: -.025em; margin: 14px 0 22px; overflow-wrap: anywhere; }
.article-heading > p:last-child { font-size: 15px; color: var(--muted); margin-bottom: 28px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 56px; margin-top: 42px; align-items: start; }
.content-article .article-body { min-width: 0; width: 100%; padding: 0; border: 0; max-width: 850px; }
.content-article .content-text { max-width: 74ch; line-height: 1.8; margin-bottom: 28px; overflow-wrap: anywhere; }
.content-article .content-image { display: inline-block; vertical-align: top; width: calc(50% - 14px); margin: 0 12px 24px 0; background: #f2f6fa; border: 1px solid var(--line); border-radius: 16px; padding: 8px; }
.content-article .content-image img { display: block; width: 100%; max-height: 540px; object-fit: contain; border-radius: 10px; }
.content-article .content-links { grid-template-columns: 1fr; gap: 12px; margin-block: 28px; }
.content-article .content-links a { font-size: 16px; padding: 18px; min-height: 64px; }
.article-side { border: 1px solid var(--line); border-radius: 20px; background: var(--surface); padding: 26px; }
.article-side h2 { font-size: 23px; margin: 0 0 12px; }
.article-side p { color: var(--muted); font-size: 15px; line-height: 1.7; }
.article-side a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; min-height: 48px; font-size: 15px; border-top: 1px solid var(--line); }
.article-side svg { width: 20px; height: 20px; flex-shrink: 0; }
.related-articles { margin-top: 76px; padding-top: 40px; border-top: 1px solid var(--line); }
.useful-library { scroll-margin-top: 24px; }
.useful-total { color: var(--muted); font-size: 28px; }
.useful-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; }
.useful-card-grid li { min-width: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.useful-card-grid a { display: flex; align-items: flex-start; gap: 14px; padding: 22px; height: 100%; color: var(--ink); text-decoration: none; }
.useful-card-grid a:hover strong { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }
.useful-card-icon { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 38px; background: #edf4ff; border-radius: 10px; color: #0c4da2; }
.useful-card-grid svg { width: 20px; height: 20px; flex-shrink: 0; }
.useful-card-grid a > span:nth-child(2) { min-width: 0; }
.useful-card-grid strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.6; overflow-wrap: anywhere; }
.useful-card-grid small { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.useful-card-grid a > svg { margin-left: auto; color: var(--brand); }
.useful-source { margin-top: 32px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.useful-source summary { cursor: pointer; min-height: 44px; display: list-item; font-size: 16px; font-weight: 600; }
.useful-source .content-text { margin: 18px 0 0; font-size: 16px; }
.news-library :is(a,button,input):focus-visible, .content-article :is(a,button,input,summary):focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
@media (max-width: 1000px) {
  .news-hero { gap: 34px; }
  .news-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .article-side { max-width: none; }
}
@media (max-width: 760px) {
  .news-hero { grid-template-columns: 1fr; padding-block: 36px; gap: 32px; }
  .news-hero h1 { font-size: 36px; }
  .news-lead { font-size: 17px; }
  .news-hero-art { min-height: 200px; transform: none; }
  .news-hero-art > svg { width: 95px; height: 95px; padding: 20px; }
  .content-section-heading { flex-wrap: wrap; gap: 12px; }
  .content-search > div { flex-direction: column; }
  .content-search button { justify-content: center; }
  .news-card-grid, .useful-card-grid { grid-template-columns: 1fr; gap: 18px; }
  .news-card h2 { font-size: 23px; }
  .content-article { padding-block: 22px 60px; }
  .article-breadcrumb { margin-bottom: 26px; }
  .article-heading h1 { font-size: 32px; }
  .article-layout { margin-top: 28px; }
  .content-article .content-image { width: 100%; margin-right: 0; }
  .related-articles { margin-top: 44px; }
  .useful-card-grid a { padding: 20px; }
  .useful-card-grid strong { font-size: 16px; }
}

/* Native news image dialog: controls stay visible beside both portrait and landscape photos. */
html.news-gallery-open { overflow: hidden; }
.news-gallery { width: min(1100px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 24px); margin: auto; padding: 16px; border: 1px solid #687994; border-radius: 16px; background: #10233f; color: #fff; }
.news-gallery::backdrop { background: rgb(0 10 28 / 85%); }
.news-gallery header, .news-gallery-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.news-gallery header { margin-bottom: 12px; }
.news-gallery h2 { margin: 0; font-size: 20px; color: #fff; }
.news-gallery button { min-height: 44px; padding: 8px 14px; border: 1px solid #97acc9; border-radius: 8px; background: #fff; color: #10233f; font: inherit; font-size: 16px; cursor: pointer; }
.news-gallery button:focus-visible { outline: 3px solid #ffdb75; outline-offset: 3px; }
.news-gallery button[hidden] { display: none; }
.news-gallery .news-gallery-image { display: block; width: 100%; height: min(68dvh, 720px); object-fit: contain; }
.news-gallery-controls { margin-top: 12px; }
.news-gallery-position { color: #fff; font-size: 16px; text-align: center; }
@media (max-width: 480px) {
  .news-gallery { padding: 10px; }
  .news-gallery-controls { gap: 6px; }
  .news-gallery button { padding-inline: 10px; font-size: 14px; }
  .news-gallery h2 { font-size: 18px; }
}
