/*
 * News & Cases archive review — 2026-07-30
 * Shared by the main archive, paginated archive and seven topic archives.
 * UI base palette: Agua Topone blue, white and ink only.
 */

.arc {
  --arc-primary: #3062a9;
  --arc-ink: #101828;
  --arc-white: #fff;
  --arc-primary-deep: var(--arc-primary);
  --arc-navy: var(--arc-primary);
  --arc-navy-deep: var(--arc-primary);
  --arc-heading: var(--arc-ink);
  --arc-muted: rgb(16 24 40 / 70%);
  --arc-soft: rgb(48 98 169 / 5%);
  --arc-soft-blue: rgb(48 98 169 / 8%);
  --arc-line: rgb(48 98 169 / 18%);
  --arc-orange: var(--arc-primary);
  --arc-shell: min(1400px, calc(100% - 48px));
  --arc-radius-control: 8px;
  --arc-radius-small: 12px;
  --arc-radius-card: 20px;
  --arc-shadow: 0 14px 36px rgb(48 98 169 / 10%);
  --arc-shadow-hover: 0 22px 52px rgb(48 98 169 / 16%);
  overflow: clip;
  color: var(--arc-ink);
  background: var(--arc-white);
  font: 400 17px/1.65 Roboto, Arial, sans-serif;
}

.arc,
.arc *,
.arc *::before,
.arc *::after {
  box-sizing: border-box;
}

.arc :where(h1, h2, h3, p) {
  margin-top: 0;
}

.arc :where(h1, h2, h3) {
  color: var(--arc-heading);
  font-family: Roboto, Arial, sans-serif;
}

.arc a {
  text-decoration: none;
}

.arc__shell {
  width: var(--arc-shell);
  margin-inline: auto;
}

/* Match the current WordPress template's 1392px News grid shell. */
.arc .arc__postsinner {
  width: var(--arc-shell);
  max-width: none;
  margin-inline: auto;
}

.arc__eyebrow {
  margin: 0 0 12px;
  color: var(--arc-primary);
  font-size: 13px;
  font-weight: 820;
  line-height: 1.4;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.arc__eyebrow--light {
  color: rgb(255 255 255 / 82%);
}

.arc__cta .arc__eyebrow--light {
  color: var(--arc-primary);
}

.arc__hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--arc-primary);
}

/* Search suggestions must escape the hero and stay above the topic strip.
   Scope this to the all-topics archive because category heroes have no search. */
.arc--all .arc__hero {
  z-index: 4;
  overflow: visible;
}

.arc__hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.arc__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgb(48 98 169 / 96%) 0%, rgb(48 98 169 / 84%) 50%, rgb(48 98 169 / 46%) 100%),
    rgb(48 98 169 / 18%);
}

.arc__hero::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -180px;
  width: 510px;
  height: 510px;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 50%;
  box-shadow:
    0 0 0 76px rgb(255 255 255 / 4%),
    0 0 0 150px rgb(255 255 255 / 3%);
  z-index: 2;
  pointer-events: none;
}

/* Preserve the original decorative-circle crop after the all-topics hero is
   opened for the search dropdown. The circle extends 180px below the hero. */
.arc--all .arc__hero::after {
  clip-path: inset(0 0 180px 0);
}

.arc__hero-inner {
  position: relative;
  z-index: 3;
  min-height: 530px;
  padding-block: 42px 82px;
}

.arc--category .arc__hero-inner {
  min-height: 470px;
}

.arc__crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 64px;
  color: rgb(255 255 255 / 64%);
  font-size: 14px;
}

.arc__crumb a {
  color: #fff;
}

.arc__hero-copy {
  max-width: 905px;
}

.arc__hero .arc__eyebrow {
  color: rgb(255 255 255 / 82%);
}

.arc__hero h1 {
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 720;
  line-height: 1.04;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.arc__lead {
  max-width: 850px;
  margin: 0;
  color: rgb(255 255 255 / 84%);
  font-size: 18px;
  line-height: 1.72;
}

.arc__search {
  max-width: 820px;
  margin-top: 32px;
}

.arc__routes {
  display: grid;
  max-width: 970px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.arc__route {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 17px 19px;
  border: 1px solid rgb(255 255 255 / 34%);
  border-radius: var(--arc-radius-small);
  color: #fff;
  background: rgb(48 98 169 / 46%);
  backdrop-filter: blur(8px);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.arc__route:hover,
.arc__route:focus-visible {
  border-color: rgb(255 255 255 / 76%);
  background: rgb(48 98 169 / 68%);
  text-decoration: none;
  transform: translateY(-1px);
}

.arc__route.is-current {
  border-color: #fff;
  background: rgb(48 98 169 / 84%);
}

.arc__route strong {
  color: #fff;
  font-size: 16px;
  line-height: 1.35;
}

.arc__route span {
  color: rgb(255 255 255 / 84%);
  font-size: 13px;
  line-height: 1.45;
}

.arc__topics {
  position: relative;
  z-index: 3;
  border-bottom: 1px solid var(--arc-line);
  background: var(--arc-white);
  box-shadow: 0 8px 24px rgb(48 98 169 / 6%);
}

.arc__topics-inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-block: 17px;
  scrollbar-width: thin;
}

.arc__topic {
  flex: 0 0 auto;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--arc-muted);
  font-size: 13px;
  font-weight: 720;
  white-space: nowrap;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.arc__topic:hover,
.arc__topic:focus-visible {
  border-color: var(--arc-line);
  color: var(--arc-primary);
  background: var(--arc-soft);
  text-decoration: none;
}

.arc__topic.is-current {
  border-color: var(--arc-primary);
  color: #fff;
  background: var(--arc-primary);
}

.arc__category-copy {
  background: var(--arc-white);
}

.arc__category-copyin {
  display: grid;
  grid-template-columns: 5px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  padding-block: 48px 12px;
}

.arc__category-mark {
  border-radius: 999px;
  background: var(--arc-primary);
}

.arc__category-copy p {
  max-width: 1040px;
  margin: 0;
  color: var(--arc-muted);
  font-size: 15px;
}

.arc__category-copy a {
  color: var(--arc-primary);
  font-weight: 700;
}

.arc__posts {
  padding-block: 88px 100px;
  background: var(--arc-soft);
}

.arc--category .arc__posts {
  padding-top: 58px;
}

.arc__postshead {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 42px;
}

.arc__postshead h2 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(31px, 3.2vw, 45px);
  font-weight: 680;
  line-height: 1.14;
  letter-spacing: -.025em;
}

.arc__postshead > p {
  flex: 0 0 auto;
  margin: 0 0 5px;
  color: var(--arc-muted);
  font-size: 13px;
  font-weight: 680;
}

.arc__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
}

.arc__card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--arc-line);
  border-radius: var(--arc-radius-card);
  background: var(--arc-white);
  box-shadow: 0 9px 28px rgb(48 98 169 / 6%);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.arc__card:hover {
  border-color: rgb(48 98 169 / 30%);
  box-shadow: var(--arc-shadow-hover);
  transform: translateY(-4px);
}

.arc__thumb {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1.56 / 1;
  background:
    radial-gradient(circle at 70% 20%, rgb(48 98 169 / 20%), transparent 34%),
    rgb(48 98 169 / 8%);
}

.arc__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgb(48 98 169 / 20%));
  pointer-events: none;
}

.arc__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.arc__card:hover .arc__thumb img {
  transform: scale(1.035);
}

.arc__badge {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  max-width: calc(100% - 36px);
  padding: 7px 11px;
  border: 1px solid rgb(255 255 255 / 36%);
  border-radius: 999px;
  color: #fff;
  background: rgb(48 98 169 / 78%);
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.arc__text {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 27px 27px 29px;
}

.arc__date {
  margin-bottom: 12px;
  color: var(--arc-primary);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.arc__title {
  margin: 0 0 14px;
  font-size: 21px;
  font-weight: 690;
  line-height: 1.34;
  letter-spacing: -.016em;
}

.arc__title a {
  color: var(--arc-heading);
}

.arc__title a:hover {
  color: var(--arc-primary);
  text-decoration: none;
}

.arc__excerpt {
  margin: 0 0 23px;
  color: var(--arc-muted);
  font-size: 14px;
  line-height: 1.66;
}

.arc__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: auto;
  color: var(--arc-primary);
  font-size: 14px;
  font-weight: 780;
}

.arc__more span {
  transition: transform 160ms ease;
}

.arc__more:hover {
  text-decoration: none;
}

.arc__more:hover span {
  transform: translateX(3px);
}

.arc__pagination {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 140px;
  gap: 16px;
  align-items: center;
  margin-top: 50px;
}

.arc__page-numbers {
  display: flex;
  justify-content: center;
  gap: 7px;
}

.arc__page {
  display: inline-grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--arc-line);
  border-radius: var(--arc-radius-control);
  color: var(--arc-primary);
  background: var(--arc-white);
  font-size: 14px;
  font-weight: 740;
}

.arc__page:hover,
.arc__page:focus-visible {
  border-color: var(--arc-primary);
  text-decoration: none;
}

.arc__page.is-current {
  border-color: var(--arc-primary);
  color: #fff;
  background: var(--arc-primary);
}

.arc__page--wide {
  min-width: 0;
  padding-inline: 14px;
}

.arc__pagination > .arc__page--wide:last-child {
  justify-self: end;
}

.arc__page[aria-disabled="true"] {
  color: rgb(16 24 40 / 42%);
  background: var(--arc-white);
}

.arc__cta {
  padding-block: 78px;
  border-top: 1px solid var(--arc-line);
  color: var(--arc-ink);
  background: var(--arc-white);
}

.arc__cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
}

.arc__cta h2 {
  max-width: 760px;
  margin: 0 0 12px;
  color: var(--arc-ink);
  font-size: clamp(31px, 3.2vw, 44px);
  line-height: 1.14;
}

.arc__cta p:last-child {
  max-width: 690px;
  margin-bottom: 0;
  color: var(--arc-muted);
}

.arc__cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.arc__button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 21px;
  border: 2px solid var(--arc-primary);
  border-radius: var(--arc-radius-control);
  font-size: 15px;
  font-weight: 760;
  line-height: 1.2;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.arc__button:hover,
.arc__button:focus-visible {
  text-decoration: none;
  transform: translateY(-1px);
}

.arc__button--white {
  color: var(--arc-white) !important;
  background: var(--arc-primary);
}

.arc__button--outline {
  border-color: var(--arc-primary);
  color: var(--arc-primary) !important;
  background: transparent;
}

.arc__button--outline:hover,
.arc__button--outline:focus-visible {
  border-color: var(--arc-primary);
  color: var(--arc-white) !important;
  background: var(--arc-primary);
}

@media (max-width: 1024px) {
  .arc__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .arc__cta-inner {
    grid-template-columns: 1fr;
  }

  .arc__cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .arc {
    --arc-shell: min(100% - 32px, 1400px);
    font-size: 16px;
  }

  .arc__hero-inner,
  .arc--category .arc__hero-inner {
    min-height: 520px;
    padding-block: 32px 58px;
  }

  .arc__crumb {
    margin-bottom: 76px;
  }

  .arc__hero h1 {
    font-size: clamp(37px, 11vw, 49px);
  }

  .arc__lead {
    font-size: 16px;
  }

  .arc__search {
    margin-top: 26px;
  }

  .arc__routes {
    grid-template-columns: 1fr;
    margin-top: 26px;
  }

  .arc__topics-inner {
    width: 100%;
    padding-inline: 16px;
  }

  .arc__category-copyin {
    padding-block: 38px 0;
  }

  .arc__posts,
  .arc--category .arc__posts {
    padding-block: 62px 72px;
  }

  .arc__postshead {
    display: block;
    margin-bottom: 30px;
  }

  .arc__postshead > p {
    margin-top: 10px;
  }

  .arc__grid {
    grid-template-columns: 1fr;
  }

  .arc__thumb {
    aspect-ratio: 1.45 / 1;
  }

  .arc__pagination {
    grid-template-columns: 1fr 1fr;
    margin-top: 38px;
  }

  .arc__page-numbers {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .arc__pagination > .arc__page--wide:first-child {
    grid-column: 1;
    grid-row: 2;
  }

  .arc__pagination > .arc__page--wide:last-child {
    grid-column: 2;
    grid-row: 2;
  }

  .arc__cta {
    padding-block: 64px;
  }

  .arc__cta-actions {
    display: grid;
    width: 100%;
  }

  .arc__button {
    width: 100%;
  }
}
