.crc-news-archives {
  --crc-green: #2f9e3e;
  --crc-green-dark: #237d30;
  width: 100%;
  margin: 0;
  padding: 34px 20px;
  background: #fff;
  border-top: 1px solid #e8ebef;
  border-bottom: 1px solid #e8ebef;
  font-family: inherit;
}

.crc-news-archives *,
.crc-news-archives *::before,
.crc-news-archives *::after {
  box-sizing: border-box;
}

.crc-news-archives__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.crc-news-archives__label {
  color: var(--crc-green-dark);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
}

.crc-news-archives__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.crc-news-archives__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 36px;
  padding: 6px 9px;
  color: var(--crc-green);
  border-radius: 3px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.crc-news-archives__link--all {
  min-width: 106px;
}

.crc-news-archives__link:hover,
.crc-news-archives__link:focus-visible,
.crc-news-archives__link.is-active {
  color: #fff;
  background: var(--crc-green);
  text-decoration: none;
}

.crc-news-archives__link:focus-visible {
  outline: 3px solid rgba(47, 158, 62, .22);
  outline-offset: 2px;
}

.crc-news-archives__error {
  padding: 12px 16px;
  color: #8b1e1e;
  background: #fff1f1;
  border-left: 4px solid #bf3030;
}

@media (max-width: 560px) {
  .crc-news-archives { padding: 26px 14px; }
  .crc-news-archives__inner { align-items: flex-start; flex-direction: column; }
  .crc-news-archives__link { min-width: 44px; min-height: 40px; }
}

/* Complete custom news grid */
.crc-news-grid-wrap {
  --crc-blue: #203f79;
  --crc-green: #3b9f40;
  --crc-text: #243041;
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: inherit;
}

.crc-news-grid-wrap *, .crc-news-grid-wrap *::before, .crc-news-grid-wrap *::after { box-sizing: border-box; }
.crc-news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px 30px; }
.crc-news-card { display: flex; flex-direction: column; min-width: 0; margin: 0; background: #fff; border-radius: 2px; box-shadow: 0 14px 34px rgba(18, 38, 68, .14); overflow: visible; }
.crc-news-card__image-link { display: block; height: 300px; overflow: hidden; background: #edf0f3; }
.crc-news-card__image { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.crc-news-card__image--empty { background: linear-gradient(135deg, #edf0f3, #dce3e9); }
.crc-news-card:hover .crc-news-card__image { transform: scale(1.025); }
.crc-news-card__body { display: flex; flex: 1; flex-direction: column; margin: -2px 12px 0; padding: 35px 28px 25px; background: #fff; border: 1px solid #e1e4e8; }
.crc-news-card__title { margin: 0 0 18px; color: #071f48; font-size: 20px; font-weight: 900; font-style: italic; line-height: 1.16; text-transform: uppercase; }
.crc-news-card__title a { color: inherit; text-decoration: none; }
.crc-news-card__title a:hover { color: var(--crc-green); }
.crc-news-card__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--crc-green); font-size: 14px; font-weight: 600; }
.crc-news-card__meta-item { display: inline-flex; align-items: center; gap: 5px; }
.crc-news-card__meta svg { width: 19px; height: 19px; fill: currentColor; }
.crc-news-card__divider { width: 100%; height: 2px; margin: 15px 0 18px; background: var(--crc-green); }
.crc-news-card__excerpt { flex: 1; margin: 0 0 22px; color: var(--crc-text); font-size: 16px; line-height: 1.55; }
.crc-news-card__button { display: flex; justify-content: center; align-items: center; min-height: 44px; padding: 10px 18px; color: #fff; background: var(--crc-green); border-radius: 2px; font-size: 15px; font-weight: 800; letter-spacing: .02em; text-decoration: none; }
.crc-news-card__button:hover { color: #fff; background: var(--crc-blue); }
.crc-news-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 52px 0 0; }
.crc-news-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; min-height: 42px; padding: 8px 12px; color: var(--crc-blue); background: #fff; border: 1px solid #d9dfe7; border-radius: 3px; font-weight: 700; text-decoration: none; }
.crc-news-pagination .page-numbers.current, .crc-news-pagination .page-numbers:hover { color: #fff; background: var(--crc-green); border-color: var(--crc-green); }
.crc-news-grid__empty { padding: 40px 24px; color: #526071; background: #f5f7f8; text-align: center; }
.crc-news-grid-inner > .crc-news-archives { margin-top: 58px; }

/* Year-aware featured story */
.crc-news-featured {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(340px, 1fr);
  min-height: 455px;
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto;
  padding: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #edf0f3;
  border-radius: 4px;
  box-shadow: 0 18px 42px rgba(18, 38, 68, .12);
}
.crc-news-featured-band,
.crc-news-grid-band {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  margin-left: -50vw;
}
.crc-news-featured-band { padding: 58px 0 64px; background: #fff; border-bottom: 1px solid #e8ebef; box-shadow: inset 0 16px 30px rgba(18, 38, 68, .045), inset 0 -16px 30px rgba(18, 38, 68, .055); }
.crc-news-grid-band { padding: 58px 0 0; background: #f4f5f6; }
.crc-news-grid-inner { width: min(1220px, calc(100% - 36px)); margin: 0 auto; }
.crc-news-featured__image-link { display: block; min-width: 0; min-height: 455px; overflow: hidden; background: #fff; border-radius: 4px; box-shadow: 0 12px 32px rgba(12, 31, 61, .25); animation: crc-featured-image-in .72s cubic-bezier(.2, .75, .3, 1) both; }
.crc-news-featured__image { display: block; width: 100% !important; height: 100% !important; min-height: 455px; object-fit: cover; }
.crc-news-featured__content { display: flex; flex-direction: column; justify-content: center; padding: 48px 48px 48px 42px; animation: crc-featured-content-in .72s .12s cubic-bezier(.2, .75, .3, 1) both; }
.crc-news-featured__date { display: block; margin: 0 0 7px; color: var(--crc-green); font-size: 15px; font-weight: 400; }
.crc-news-featured__title { margin: 0 0 20px; color: #173c78; font-size: clamp(26px, 2.2vw, 35px); font-weight: 900; font-style: italic; line-height: 1.08; text-transform: uppercase; }
.crc-news-featured__title a { color: inherit; text-decoration: none; }
.crc-news-featured__title a:hover { color: var(--crc-green); }
.crc-news-featured__excerpt { margin: 0 0 24px; color: #202b3b; font-size: 17px; line-height: 1.48; }
.crc-news-featured__button { align-self: flex-start; display: inline-flex; align-items: center; justify-content: center; min-width: 154px; min-height: 55px; padding: 12px 24px; color: #173c78; background: #fff; border: 2px solid #173c78; border-radius: 0; font-size: 14px; font-weight: 800; letter-spacing: .025em; text-decoration: none; }
.crc-news-featured__button:hover { color: #fff; background: #173c78; }

/* Tighter card silhouette matching the CRC reference */
.crc-news-card { background: transparent; box-shadow: none; overflow: visible; }
.crc-news-card__image-link { position: relative; width: 100%; height: auto; aspect-ratio: 1.55 / 1; overflow: hidden; background: #fff; border-radius: 4px; box-shadow: 0 11px 28px rgba(12, 31, 61, .22); }
.crc-news-card__image { position: absolute; inset: 0; display: block; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; }
.crc-news-card__image--fallback { padding: 34px; object-fit: contain; background: #fff; }
.crc-news-card__body { position: relative; z-index: 2; flex: 1; margin: -38px 12px 0; padding: 38px 34px 28px; background: #fff; border: 1px solid #e0e3e7; box-shadow: 0 15px 30px rgba(18, 38, 68, .13); }
.crc-news-card__title { margin-bottom: 18px; font-size: 20px; line-height: 1.16; }
.crc-news-card__meta { font-size: 14px; }
.crc-news-card__excerpt { font-size: 16px; line-height: 1.5; }
.crc-news-card__button { min-height: 42px; }

@keyframes crc-featured-image-in {
  from { opacity: 0; transform: translate3d(-26px, 0, 0) scale(.985); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes crc-featured-content-in {
  from { opacity: 0; transform: translate3d(24px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .crc-news-featured__image-link,
  .crc-news-featured__content { animation: none; }
}

@media (max-width: 980px) {
  .crc-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .crc-news-featured { grid-template-columns: 1.35fr 1fr; padding: 14px; }
  .crc-news-featured__content { padding: 38px 32px; }
  .crc-news-featured-band { padding: 46px 0 50px; }
  .crc-news-grid-band { padding-top: 46px; }
}

@media (max-width: 640px) {
  .crc-news-grid-wrap { width: 100%; }
  .crc-news-grid-inner { width: min(100% - 22px, 520px); }
  .crc-news-grid { grid-template-columns: 1fr; gap: 30px; }
  .crc-news-card__image-link { height: 260px; }
  .crc-news-card__body { padding: 28px 22px 22px; }
  .crc-news-card__title { font-size: 18px; }
  .crc-news-featured { width: min(100% - 22px, 520px); grid-template-columns: 1fr; min-height: 0; padding: 10px; }
  .crc-news-featured__image-link { min-height: 0; aspect-ratio: 1.4 / 1; }
  .crc-news-featured__image { min-height: 0; }
  .crc-news-featured__content { padding: 30px 24px 34px; }
  .crc-news-featured__title { font-size: 26px; }
  .crc-news-featured__excerpt { font-size: 16px; }
  .crc-news-card__image--fallback { padding: 28px; }
  .crc-news-card__body { margin: -28px 8px 0; padding: 32px 24px 24px; }
  .crc-news-featured-band { padding: 34px 0 38px; }
  .crc-news-grid-band { padding-top: 34px; }
}
