/* =========================================================
   NATIONAL COALITION — shared visual language
   Foundation layer: restrained accents, consistent focus, tokens.
   ========================================================= */

:root {
  --nc-radius-tight: 2px;
  --nc-radius-soft: 5px;
  --nc-radius-card: 8px;
  --nc-reading-measure: 68ch;
  --nc-focus-color: #b22234;
  --nc-focus-offset: 3px;
}

/* Replace decorative stars with a restrained editorial accent rule. */
.eyebrow::before {
  content: "";
  display: block;
  flex: 0 0 18px;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  font-size: 0;
}

/* One clear, high-visibility keyboard focus treatment across the site. */
.nc-site :focus-visible {
  outline: 3px solid var(--nc-focus-color);
  outline-offset: var(--nc-focus-offset);
}

/* Keep long-form text comfortable to read across content sections. */
.nc-site #main :is(
  .article-content,
  .nc-news-category-description,
  .nc-project-body,
  .contact-body
) {
  text-wrap: pretty;
}

@media (forced-colors: active) {
  .eyebrow::before {
    background: currentColor;
  }

  .nc-site :focus-visible {
    outline-color: Highlight;
  }
}

/* =========================================================
   Site chrome refinement — header, navigation, footer
   ========================================================= */

.announcement-inner {
  min-height: 36px;
}

.announcement p .icon-star {
  display: none;
}

.header-inner {
  min-height: 88px;
  gap: 24px;
}

@media (min-width: 901px) {
  .site-header .brand {
    transform: none;
    flex-basis: 290px;
  }

  .main-nav {
    gap: 22px;
  }

  .main-nav > ul {
    gap: 22px;
  }

  .main-nav a {
    padding-block: 30px 28px;
    font-size: 11.5px;
    letter-spacing: 0.075em;
  }

  .main-nav a::after {
    bottom: 19px;
  }

  .header-actions .btn {
    min-height: 44px;
    padding: 12px 18px;
    font-size: 10.5px;
    letter-spacing: 0.075em;
  }
}

/* Give footer navigation enough size and breathing room to scan easily. */
.footer-main {
  grid-template-columns: minmax(220px, 1.55fr) repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.footer-col {
  gap: 11px;
}

.footer-col h4 {
  margin-bottom: 10px;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.footer-col a,
.footer-col p {
  font-size: 12.5px;
  line-height: 1.65;
}

.footer-bottom {
  min-height: 68px;
  font-size: 11px;
  letter-spacing: 0.025em;
}

.cms-link {
  font-size: 10px;
  letter-spacing: 0.06em;
}

.footer-socials a {
  width: 38px;
  height: 38px;
}

@media (max-width: 1180px) and (min-width: 901px) {
  .header-inner {
    gap: 16px;
  }

  .site-header .brand {
    flex-basis: 260px;
  }

  .main-nav,
  .main-nav > ul {
    gap: 14px;
  }

  .main-nav a {
    font-size: 10.5px;
    letter-spacing: 0.045em;
  }

  .footer-main {
    grid-template-columns: minmax(190px, 1.4fr) repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 82px;
  }

  .site-header .brand {
    flex: 0 1 320px;
    max-width: min(320px, calc(100% - 64px));
    transform: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .main-nav {
    padding: 12px 22px 20px;
  }

  .main-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    font-size: 12px;
    letter-spacing: 0.075em;
  }

  .menu-toggle {
    width: 46px;
    height: 46px;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-col h4 {
    font-size: 10px;
  }

  .footer-col a,
  .footer-col p {
    font-size: 13px;
  }
}

@media (max-width: 720px) {
  .announcement-inner {
    min-height: 34px;
  }

  .announcement p {
    font-size: 9px;
    letter-spacing: 0.08em;
    text-align: center;
  }

  .footer-main {
    padding-top: 38px;
    padding-bottom: 34px;
    gap: 28px 20px;
  }

  .footer-bottom {
    gap: 10px 18px;
    padding-block: 18px;
    line-height: 1.6;
  }
}

@media (max-width: 460px) {
  .header-inner {
    min-height: 74px;
    gap: 10px;
  }

  .site-header .brand {
    max-width: calc(100% - 58px);
    padding-inline: 0;
    gap: 7px;
  }

  .site-header .brand-mark {
    width: 36px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .main-nav {
    padding-inline: 18px;
  }

  .footer-main {
    gap: 26px 16px;
  }

  .footer-brand .brand {
    max-width: 100%;
  }

  .footer-bottom {
    font-size: 10.5px;
  }
}

@media (forced-colors: active) {
  .site-header,
  .main-nav,
  .site-footer {
    border-color: CanvasText;
  }

  .footer-socials a,
  .menu-toggle {
    border-color: ButtonText;
  }
}

/* =========================================================
   Content layer — cards, buttons, headings, page surfaces
   ========================================================= */

:root {
  --nc-surface: #ffffff;
  --nc-surface-muted: #f5f5f1;
  --nc-surface-blue: #eff0f0;
  --nc-border: #dbe2e7;
  --nc-card-shadow: 0 3px 14px rgba(10, 37, 64, 0.055);
  --nc-card-shadow-hover: 0 12px 28px rgba(10, 37, 64, 0.11);
}

/* A consistent rhythm for section introductions. */
.section-head {
  gap: clamp(20px, 3vw, 36px);
  margin-bottom: clamp(28px, 4vw, 42px);
}

.section-head h2 {
  max-width: 19ch;
  line-height: 1.08;
  text-wrap: balance;
}

.section-head-copy {
  max-width: 42ch;
  line-height: 1.75;
}

.section-head .eyebrow {
  margin-bottom: 14px;
}

/* Quiet, consistent card surfaces across the main editorial components. */
.story-card,
.blog-card,
.nc-news-story-card,
.nc-news-archive-card,
.home-action-card,
.contact-card {
  border-radius: var(--nc-radius-card);
  border-color: var(--nc-border);
  background: var(--nc-surface);
}

.story-card,
.blog-card,
.nc-news-story-card,
.nc-news-archive-card {
  box-shadow: var(--nc-card-shadow);
}

.story-card,
.blog-card,
.nc-news-archive-card {
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.story-card:hover,
.blog-card:hover,
.nc-news-archive-card:hover {
  transform: translateY(-3px);
  border-color: #c7d2da;
  box-shadow: var(--nc-card-shadow-hover);
}

.story-image,
.nc-news-story-image,
.nc-news-archive-image {
  border-radius: var(--nc-radius-card) var(--nc-radius-card) 0 0;
}

.story-body,
.nc-news-story-body,
.nc-news-archive-card-body {
  min-width: 0;
}

.story-body h3,
.nc-news-story-body h2,
.nc-news-archive-card-body .com-content-categories__item-title {
  text-wrap: balance;
}

/* Bring primary, secondary, and small calls to action into one family. */
.nc-site .btn {
  min-height: 48px;
  border-radius: var(--nc-radius-tight);
  line-height: 1.2;
}

.nc-site .btn-small {
  min-height: 40px;
}

.nc-site .text-link {
  text-underline-offset: 4px;
}

/* Alternating section surfaces use the same restrained neutral palette. */
.nc-site .section {
  scroll-margin-top: 110px;
}

.nc-site .section-mist {
  background: var(--nc-surface-muted);
  border-top: 1px solid var(--nc-border);
  border-bottom: 1px solid var(--nc-border);
}

.nc-site .section-mist :is(.section-head-copy, p) {
  text-wrap: pretty;
}

/* Avoid motion effects for visitors who request reduced motion. */
@media (prefers-reduced-motion: reduce) {
  .story-card,
  .blog-card,
  .nc-news-archive-card,
  .story-image img,
  .btn,
  .btn .icon,
  .text-link .icon {
    transition: none !important;
  }

  .story-card:hover,
  .blog-card:hover,
  .nc-news-archive-card:hover,
  .btn-primary:hover,
  .btn-red:hover,
  .btn-outline:hover {
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 900px) {
  .section-head {
    align-items: flex-start;
  }

  .section-head-copy {
    max-width: 52ch;
  }
}

@media (max-width: 600px) {
  .section-head {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
  }

  .section-head h2 {
    max-width: 16ch;
  }

  .nc-site .section {
    scroll-margin-top: 84px;
  }

  .story-body,
  .nc-news-story-body {
    padding: 20px;
  }
}

@media (forced-colors: active) {
  .story-card,
  .blog-card,
  .nc-news-story-card,
  .nc-news-archive-card,
  .home-action-card,
  .contact-card {
    border: 1px solid CanvasText;
  }
}

/* =========================================================
   Reading rhythm and responsive spacing refinement
   ========================================================= */

/* Slightly calmer tracking and more even vertical rhythm. */
.nc-site .eyebrow {
  gap: 10px;
  margin-bottom: 16px;
  font-size: 10.5px;
  letter-spacing: 0.15em;
}

.nc-site .section-head h2 {
  font-size: clamp(2.15rem, 3.7vw, 3.55rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.nc-site .section-head-copy {
  font-size: 14.5px;
}

.nc-site .story-body h3,
.nc-site .nc-news-story-body h2 {
  line-height: 1.22;
  letter-spacing: -0.012em;
}

.nc-site .story-body > p,
.nc-site .nc-news-story-summary {
  font-size: 14px;
  line-height: 1.7;
}

.nc-site .article-body {
  width: min(880px, calc(100% - 48px));
  margin-inline: auto;
}

.nc-site .article-content {
  font-size: clamp(17px, 1.25vw, 19px);
  line-height: 1.78;
}

.nc-site .article-content h2 {
  font-size: clamp(1.7rem, 3vw, 2.05rem);
  line-height: 1.18;
}

.nc-site .article-content h3 {
  font-size: clamp(1.35rem, 2.3vw, 1.5rem);
  line-height: 1.22;
}

/* Tablet: reclaim usable width without compressing text. */
@media (max-width: 900px) {
  .nc-site .container {
    width: min(var(--container), calc(100% - 48px));
  }

  .nc-site .section {
    padding-block: clamp(68px, 8vw, 88px);
  }

  .nc-site .section-head {
    gap: 22px;
  }

  .nc-site .news-preview-grid,
  .nc-site .nc-news-story-grid {
    gap: 20px;
  }
}

/* Mobile: comfortable gutters, readable type, and less wasted vertical space. */
@media (max-width: 600px) {
  .nc-site .container {
    width: min(var(--container), calc(100% - 36px));
  }

  .nc-site .section {
    padding-block: 64px;
  }

  .nc-site .section-head h2 {
    font-size: clamp(2rem, 8vw, 2.75rem);
    line-height: 1.1;
  }

  .nc-site .section-head-copy {
    font-size: 14px;
    line-height: 1.7;
  }

  .nc-site .eyebrow {
    margin-bottom: 12px;
    font-size: 10px;
    letter-spacing: 0.13em;
  }

  .nc-site .news-preview-grid {
    gap: 18px;
    margin-top: 22px;
  }

  .nc-site .story-body {
    padding: 20px;
  }

  .nc-site .story-body h3 {
    font-size: 1.35rem;
  }

  .nc-site .story-body > p {
    font-size: 14px;
  }

  .nc-site .article-body {
    width: calc(100% - 36px);
    padding-top: 42px;
    padding-bottom: 64px;
  }

  .nc-site .article-content {
    font-size: 17px;
    line-height: 1.75;
  }

  .nc-site .article-content blockquote {
    margin-inline: 0;
    padding-left: 18px;
  }

  .nc-site .btn {
    min-height: 46px;
    padding: 12px 18px;
    font-size: 11px;
  }
}

/* Small phones: prevent cramped controls and edge-to-edge text. */
@media (max-width: 380px) {
  .nc-site .container,
  .nc-site .article-body {
    width: calc(100% - 30px);
  }

  .nc-site .section {
    padding-block: 54px;
  }

  .nc-site .section-head h2 {
    font-size: 1.95rem;
  }

  .nc-site .story-body {
    padding: 18px;
  }

  .nc-site .btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
}


/* =========================================================
   Joomla category directories — editorial card treatment
   ========================================================= */

.nc-site #main .com-content-categories.categories-list {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0 76px;
}

.nc-site #main .com-content-categories.categories-list > .base-desc {
  max-width: 760px;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  text-wrap: pretty;
}

.nc-site #main .com-content-categories__items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.nc-site #main .com-content-categories__item {
  min-width: 0;
  padding: 26px 28px 24px;
  border: 1px solid var(--nc-border);
  border-top: 3px solid var(--red);
  border-radius: var(--nc-radius-card);
  background: var(--nc-surface);
  box-shadow: var(--nc-card-shadow);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.nc-site #main .com-content-categories__item:hover {
  border-color: #c7d2da;
  border-top-color: var(--red);
  box-shadow: var(--nc-card-shadow-hover);
  transform: translateY(-2px);
}

.nc-site #main .com-content-categories__item-title {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 600;
  line-height: 1.2;
  text-wrap: balance;
}

.nc-site #main .com-content-categories__item-title a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 4px;
}

.nc-site #main .com-content-categories__item-title a:hover {
  color: var(--red);
  text-decoration: underline;
}

.nc-site #main .com-content-categories__description {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  text-wrap: pretty;
}

.nc-site #main .com-content-categories__description p {
  margin: 0;
}

@media (max-width: 700px) {
  .nc-site #main .com-content-categories.categories-list {
    width: calc(100% - 36px);
    padding: 32px 0 58px;
  }

  .nc-site #main .com-content-categories__items {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .nc-site #main .com-content-categories__item {
    padding: 22px 22px 20px;
  }
}

@media (max-width: 380px) {
  .nc-site #main .com-content-categories.categories-list {
    width: calc(100% - 30px);
  }

  .nc-site #main .com-content-categories__item {
    padding: 20px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nc-site #main .com-content-categories__item {
    transition: none;
  }

  .nc-site #main .com-content-categories__item:hover {
    transform: none;
  }
}

@media (forced-colors: active) {
  .nc-site #main .com-content-categories__item {
    border: 1px solid CanvasText;
  }
}


/* Newsroom hero actions: keep archive and press links grouped cleanly. */
.nc-site .newsroom-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 20px;
}

.nc-site .newsroom-hero-actions .nc-archive-hero-link {
  margin: 0;
}

@media (max-width: 600px) {
  .nc-site .newsroom-hero-actions {
    align-items: flex-start;
    gap: 12px 18px;
  }
}

/* Press Releases directory: present its two publication channels as clear cards. */
.nc-site #main .nc-news-category--press .nc-news-subcategory-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.nc-site #main .nc-news-category--press .nc-news-subcategory-section > h2 {
  grid-column: 1 / -1;
  margin: 0 0 2px;
}

.nc-site #main .nc-news-category--press .com-content-category-blog__child {
  min-width: 0;
  padding: 26px 28px 24px;
  border: 1px solid var(--nc-border);
  border-top: 3px solid var(--red);
  border-radius: var(--nc-radius-card);
  background: var(--nc-surface);
  box-shadow: var(--nc-card-shadow);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.nc-site #main .nc-news-category--press .com-content-category-blog__child:hover {
  border-color: #c7d2da;
  border-top-color: var(--red);
  box-shadow: var(--nc-card-shadow-hover);
  transform: translateY(-2px);
}

.nc-site #main .nc-news-category--press .com-content-category-blog__child h3 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 600;
  line-height: 1.2;
  text-wrap: balance;
}

.nc-site #main .nc-news-category--press .com-content-category-blog__child h3 a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 4px;
}

.nc-site #main .nc-news-category--press .com-content-category-blog__child h3 a:hover {
  color: var(--red);
  text-decoration: underline;
}

.nc-site #main .nc-news-category--press .com-content-category-blog__child .badge {
  display: inline-block;
  margin: 8px 0 0;
  padding: 4px 8px;
  border-radius: 3px;
  background: var(--nc-surface-blue);
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  vertical-align: middle;
}

.nc-site #main .nc-news-category--press .com-content-category-blog__description {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 700px) {
  .nc-site #main .nc-news-category--press .nc-news-subcategory-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 28px;
  }

  .nc-site #main .nc-news-category--press .com-content-category-blog__child {
    padding: 22px 22px 20px;
  }
}

@media (max-width: 380px) {
  .nc-site #main .nc-news-category--press .com-content-category-blog__child {
    padding: 20px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nc-site #main .nc-news-category--press .com-content-category-blog__child {
    transition: none;
  }

  .nc-site #main .nc-news-category--press .com-content-category-blog__child:hover {
    transform: none;
  }
}

@media (forced-colors: active) {
  .nc-site #main .nc-news-category--press .com-content-category-blog__child {
    border: 1px solid CanvasText;
  }
}


/* Newsroom landing: clear editorial pathways above the latest-story feed. */
.nc-site #main .nc-news-category--newsroom {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
  padding: 42px 0 76px;
}

.nc-site #main .nc-news-category--newsroom .nc-news-category-header {
  max-width: 820px;
  margin: 0 auto 34px;
}

.nc-site #main .nc-news-category--newsroom .nc-news-category-header h1 {
  text-wrap: balance;
}

.nc-site #main .nc-news-category--newsroom .nc-news-category-description {
  max-width: 72ch;
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.nc-site #main .nc-news-category--newsroom .nc-news-category-description p {
  margin: 0;
}

.nc-site #main .nc-newsroom-pathways {
  margin: 0 0 48px;
}

.nc-site #main .nc-newsroom-pathways > h2,
.nc-site #main .nc-newsroom-feed-heading h2 {
  margin: 0 0 20px;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 2.6vw, 2.1rem);
  line-height: 1.2;
  text-wrap: balance;
}

.nc-site #main .nc-newsroom-pathways-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.nc-site #main .nc-newsroom-pathway {
  display: flex;
  min-width: 0;
  min-height: 176px;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 26px;
  border: 1px solid var(--nc-border);
  border-top: 3px solid var(--red);
  border-radius: var(--nc-radius-card);
  background: var(--nc-surface);
  box-shadow: var(--nc-card-shadow);
  color: inherit;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.nc-site #main .nc-newsroom-pathway:hover {
  border-color: #c7d2da;
  border-top-color: var(--red);
  box-shadow: var(--nc-card-shadow-hover);
  transform: translateY(-2px);
}

.nc-site #main .nc-newsroom-pathway-label {
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 600;
  line-height: 1.2;
}

.nc-site #main .nc-newsroom-pathway-copy {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.nc-site #main .nc-newsroom-pathway-link {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.nc-site #main .nc-newsroom-feed-heading {
  margin: 0 0 22px;
  padding-top: 30px;
  border-top: 1px solid var(--nc-border);
}

.nc-site #main .nc-newsroom-feed-heading h2 {
  margin-bottom: 8px;
}

.nc-site #main .nc-newsroom-feed-heading p {
  max-width: 68ch;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 700px) {
  .nc-site #main .nc-news-category--newsroom {
    width: calc(100% - 36px);
    padding: 32px 0 58px;
  }

  .nc-site #main .nc-newsroom-pathways {
    margin-bottom: 36px;
  }

  .nc-site #main .nc-newsroom-pathways-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .nc-site #main .nc-newsroom-pathway {
    min-height: 154px;
    padding: 22px;
  }
}

@media (max-width: 380px) {
  .nc-site #main .nc-news-category--newsroom {
    width: calc(100% - 30px);
  }

  .nc-site #main .nc-newsroom-pathway {
    padding: 20px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nc-site #main .nc-newsroom-pathway {
    transition: none;
  }

  .nc-site #main .nc-newsroom-pathway:hover {
    transform: none;
  }
}

@media (forced-colors: active) {
  .nc-site #main .nc-newsroom-pathway {
    border: 1px solid CanvasText;
  }
}


/* Editorial taxonomy: distinguish format from topic without crowding the metadata. */
.nc-site .story-meta .story-meta-format,
.nc-site .nc-news-story-tag--type {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid #d4e0e8;
  border-radius: 3px;
  background: var(--nc-surface-blue);
  color: var(--navy);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.075em;
  line-height: 1.3;
  text-transform: uppercase;
}

.nc-site .story-meta .story-meta-section,
.nc-site .story-meta .story-meta-topic,
.nc-site .nc-news-story-tag--topic {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.055em;
  line-height: 1.45;
  text-transform: uppercase;
}

.nc-site .nc-news-story-tag--topic {
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  border: 1px solid var(--nc-border);
  border-radius: 3px;
  background: var(--nc-surface-muted);
}

.nc-site .page-header-article .article-editorial-note {
  max-width: 380px;
  margin-top: 12px;
  padding: 11px 14px;
  border-left: 3px solid var(--gold);
  background: var(--cream);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.nc-site .page-header-article .article-meta-line {
  margin-top: 14px;
}

@media (max-width: 600px) {
  .nc-site .page-header-article .article-editorial-note {
    max-width: none;
    font-size: 12px;
  }

  .nc-site .story-meta .story-meta-format,
  .nc-site .nc-news-story-tag--type,
  .nc-site .story-meta .story-meta-section,
  .nc-site .story-meta .story-meta-topic,
  .nc-site .nc-news-story-tag--topic {
    font-size: 8px;
  }
}


/* Article headers: start title and supporting metadata at the same top edge. */
.nc-site .page-header-article .page-header-grid {
  align-items: start;
}


/* Keep long editorial headlines inside the mobile article header column. */
@media (max-width: 600px) {
  .nc-site .page-header-article h1 {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    white-space: normal !important;
    overflow-wrap: anywhere;
    text-wrap: balance;
  }
}


/* Archived Topics directory only: four balanced cards on desktop.
   Specificity intentionally exceeds the shared two-column Joomla directory. */
.nc-site #main .nc-archive-directory .com-content-categories__items.nc-news-archive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}

.nc-site #main .nc-archive-directory .com-content-categories__item.nc-news-archive-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border-top: 3px solid var(--red);
}

.nc-site #main .nc-archive-directory .nc-news-archive-image {
  flex: 0 0 auto;
}

.nc-site #main .nc-archive-directory .nc-news-archive-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 8px 8px 0;
  object-fit: contain;
}

.nc-site #main .nc-archive-directory .nc-news-archive-card-body {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  padding: 16px 14px 20px;
  text-align: center;
}

.nc-site #main .nc-archive-directory .nc-news-archive-card-body > .com-content-categories__item-title-wrapper {
  min-width: 0;
  width: 100%;
}

.nc-site #main .nc-archive-directory .com-content-categories__item-title {
  margin: 0;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.nc-site #main .nc-archive-directory .nc-archive-card-action {
  margin-top: 10px;
  font-size: 10px;
}

@media (max-width: 1120px) {
  .nc-site #main .nc-archive-directory .com-content-categories__items.nc-news-archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .nc-site #main .nc-archive-directory .com-content-categories__items.nc-news-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 590px) {
  .nc-site #main .nc-archive-directory .com-content-categories__items.nc-news-archive-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .nc-site #main .nc-archive-directory .nc-news-archive-card-body {
    padding: 18px 16px 20px;
  }

  .nc-site #main .nc-archive-directory .com-content-categories__item-title {
    font-size: 1.15rem;
  }
}


/* Six Newsroom pathways: three-by-two desktop grid, without altering
   other Joomla category or homepage card layouts. */
.nc-site #main .nc-news-category--newsroom .nc-newsroom-pathways-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nc-site #main .nc-news-category--newsroom .nc-newsroom-pathway {
  min-height: 184px;
}

.nc-site #main .nc-newsroom-pathway--focus .nc-newsroom-pathway-link {
  text-wrap: pretty;
}

@media (max-width: 1050px) {
  .nc-site #main .nc-news-category--newsroom .nc-newsroom-pathways-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .nc-site #main .nc-news-category--newsroom .nc-newsroom-pathways-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .nc-site #main .nc-news-category--newsroom .nc-newsroom-pathway {
    min-height: 154px;
  }
}


/* Make the two new mission areas discoverable without adding a large homepage block. */
.nc-site .moment-copy .moment-focus-links {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.nc-site .moment-copy .moment-focus-links a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nc-site .moment-copy .moment-focus-links a:hover {
  color: var(--red);
}

/* Reinstated earlier modern illustrations; +41% rendered color saturation.
   Covers archived topics, educational subcategories, and both native and
   Community-wrapped jDownloads listings without affecting the brand logo. */
.nc-site #main img[src*="-modern.svg"] {
  filter: saturate(1.41);
}

/* Historical category artwork restored, with a 49% saturation increase.
   Only category imagery is affected; the National Coalition logo is untouched. */
.nc-site #main .nc-news-archive-image img,
.nc-site #main .jd-category-image img,
.nc-site #main .jd_cats_4col img,
.nc-site #main img[src*="/images/jdownloads/catimages/nc-"] {
  filter: saturate(1.49) !important;
}
