/**
 * CCG Fusion — homepage (FUSION Sphere prototype parity).
 */

:root {
  --fusion-blue-deep: var(--color-primary-darker, #09196b);
  --fusion-blue: var(--color-primary, #0d2499);
  --fusion-blue-bright: var(--color-primary-light, #5666b8);
  --fusion-section-pad-after-hero: clamp(4rem, 6vw + 1.25rem, 6.25rem);
  --fusion-section-pad-block: clamp(3rem, 4vw + 1rem, 5rem);
  --fusion-section-heading-margin-bottom: clamp(1.75rem, 2.5vw + 0.75rem, 2.625rem);
  --fusion-section-heading-stack-gap: clamp(0.625rem, 1vw + 0.35rem, 1rem);
  --fusion-type-section-heading: clamp(1.625rem, 1.75vw + 0.85rem, 2.25rem);
  --fusion-type-lede: clamp(0.9375rem, 0.25vw + 0.88rem, 1.125rem);
  --fusion-multi-cloud-bg: var(--color-primary);
}

/* ─── Home main: full-bleed sections (same idea as Explore page) ───────── */

#main-content.ccg-main--home,
#main-content.ccg-main:has(.ccg-home-page),
#main-content.ccg-main:has(.fusion-hero) {
  max-width: none;
  padding: 0;
}

#main-content.ccg-main--home > .wp-block-post-title,
#main-content.ccg-main:has(.ccg-home-page) > .wp-block-post-title {
  display: none;
}

#main-content.ccg-main--home .wp-block-html,
#main-content.ccg-main:has(.ccg-home-page) .wp-block-html {
  margin: 0 !important;
  max-width: none;
}

.ccg-home-page,
.ccg-home-page__section {
  max-width: none;
  margin: 0;
}

.ccg-home-page__section--hero {
  margin: 0;
}

/* Section heading stacks (works with full page OR individual patterns) */
.fusion-home-section__header {
  display: flex;
  flex-direction: column;
  gap: var(--fusion-section-heading-stack-gap);
  margin-bottom: var(--fusion-section-heading-margin-bottom);
}

/* The section headers are group-block children, and each home group carries
   blockGap:0 (to suppress WordPress's 24px flow-layout margin), which emits
   `.wp-container-… > * { margin-block-end: 0 }` at equal specificity — that
   would flatten the margin-bottom above. Re-assert it one class deeper so it
   wins, keeping the gap between a section heading and its content. */
.ccg-home-page .fusion-home-section__header {
  margin-bottom: var(--fusion-section-heading-margin-bottom);
}

.fusion-home-section__header--banner {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Hero / marketing CTAs — tokens in assets/css/buttons.css */

@media (min-width: 768px) {
  .fusion-quick-access__inner,
  .fusion-pathways-help__inner,
  .fusion-featured-resources__inner,
  .fusion-academy__offerings-inner,
  .fusion-ecosphere__inner,
  .fusion-announcements__inner,
  .fusion-multi-cloud__inner,
  .fusion-academy__hero-inner {
    padding-inline: var(--fusion-site-padding-x-md, 2rem);
  }
}

.fusion-band-gradient-primary-mist {
  background-image: linear-gradient(
    180deg,
    var(--color-white, #fff) 0%,
    color-mix(in srgb, var(--color-primary-lightest) 6%, var(--color-white)) 7%,
    color-mix(in srgb, var(--color-primary-lightest) 48%, var(--color-white)) 50%,
    color-mix(in srgb, var(--color-primary-lightest) 6%, var(--color-white)) 93%,
    var(--color-white, #fff) 100%
  );
}

/* ─── Hero ─────────────────────────────────────────────────────────────── */

.fusion-hero {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  width: 100%;
  padding-bottom: 0.25rem;
  background-color: var(--color-primary);
  color: #fff;
}

.fusion-hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  pointer-events: none;
}

.fusion-hero__bg-fill {
  object-fit: cover;
  object-position: left center;
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 34%, transparent 54%);
  mask-image: linear-gradient(to right, #000 0%, #000 34%, transparent 54%);
}

.fusion-hero__bg-art {
  object-fit: contain;
  object-position: right center;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 26%, #000 48%, #000 100%);
  mask-image: linear-gradient(to right, transparent 0%, transparent 26%, #000 48%, #000 100%);
}

.fusion-hero__scrim {
  position: absolute;
  inset-block: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  max-width: min(100%, 24rem);
  background: linear-gradient(
    to right,
    color-mix(in srgb, var(--color-primary-darkest) 94%, transparent),
    color-mix(in srgb, var(--color-primary) 50%, transparent) 58%,
    transparent
  );
  pointer-events: none;
}

@media (min-width: 640px) {
  .fusion-hero__scrim {
    max-width: min(100%, 28rem);
  }
}

@media (min-width: 768px) {
  .fusion-hero__scrim {
    max-width: 50%;
  }
}

@media (min-width: 1024px) {
  .fusion-hero__scrim {
    max-width: 52%;
  }
}

.fusion-hero__tint {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.22;
  pointer-events: none;
  background: linear-gradient(90deg, color-mix(in srgb, var(--color-primary-light) 20%, transparent), transparent 50%);
}

.fusion-hero__stars {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.fusion-hero__star {
  position: absolute;
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}

.fusion-hero__content-wrap {
  position: relative;
  z-index: 10;
  max-width: var(--fusion-site-max-width);
  margin: 0 auto;
  padding: 1.5rem var(--fusion-site-padding-x) 6rem;
}

@media (min-width: 768px) {
  .fusion-hero__content-wrap {
    padding: 2rem var(--fusion-site-padding-x-md) 6rem;
  }
}

.fusion-hero__content {
  width: 100%;
  max-width: 48rem;
}

@media (min-width: 640px) {
  .fusion-hero__content {
    width: 83.3333%;
  }
}

@media (min-width: 768px) {
  .fusion-hero__content {
    width: 66.6667%;
  }
}

@media (min-width: 1024px) {
  .fusion-hero__content-wrap {
    padding-inline: 4rem;
    padding-bottom: 7rem;
  }

  .fusion-hero__content {
    width: calc(50% - 1.25rem);
  }
}

/* All slides share one track, so copy changes never resize the hero. */
.fusion-hero__slide-stage {
  display: grid;
}

.fusion-hero__slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  filter: blur(2px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.45s ease,
    visibility 0s linear 0.55s;
  pointer-events: none;
}

.fusion-hero__slide[hidden] {
  display: block !important;
}

.fusion-hero__slide--active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  filter: blur(0);
  transition-delay: 0.08s, 0.08s, 0.08s, 0s;
  pointer-events: auto;
}

.fusion-hero__headline {
  display: -webkit-box;
  overflow: hidden;
  margin: 1.5rem 0 0;
  font-family: var(--font-lexend, var(--global__font-family, 'Open Sans', system-ui, sans-serif));
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.fusion-hero__headline-line {
  display: block;
  font-size: 1.875rem;
  font-weight: 600;
  line-height: 1.12;
  color: #fff;
}

.fusion-hero__headline-line + .fusion-hero__headline-line {
  margin-top: 0.375rem;
}

.fusion-hero__headline-line:first-child {
  letter-spacing: 0.025em;
}

.fusion-hero__headline-accent.fusion-hero__headline-line {
  letter-spacing: -0.025em;
}

@media (min-width: 640px) {
  .fusion-hero__headline-line {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .fusion-hero__headline-line {
    font-size: 2.5rem;
  }
}

.fusion-hero__headline-accent,
.fusion-ecosphere .fusion-hero__headline-accent {
  background-image: linear-gradient(
    180deg,
    var(--color-accent-primary-light) 0%,
    var(--color-accent-primary) 38%,
    var(--color-accent-primary-dark) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 16px color-mix(in srgb, var(--color-accent-primary) 38%, transparent));
}

/* Academy keeps solid blue title on light hero (prototype) */
.fusion-academy .fusion-academy__heading-accent.fusion-hero__headline-accent {
  background-image: none;
  -webkit-text-fill-color: var(--fusion-blue-deep);
  color: var(--fusion-blue-deep);
  filter: none;
}

.fusion-hero__body {
  display: -webkit-box;
  overflow: hidden;
  margin: 1rem 0 0;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 600;
  line-height: 1.5;
  text-wrap: pretty;
  color: rgba(255, 255, 255, 0.9);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

@media (min-width: 640px) {
  .fusion-hero__body {
    margin-top: 1.125rem;
    font-size: 1.125rem;
    line-height: 1.625;
  }
}

.fusion-hero__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

@media (min-width: 640px) {
  .fusion-hero__actions {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1rem;
  }
}

.fusion-hero__carousel-dock {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 15;
  display: flex;
  justify-content: center;
  padding: 1rem 1rem 3rem;
  pointer-events: none;
}

@media (min-width: 640px) {
  .fusion-hero__carousel-dock {
    padding-top: 1.25rem;
  }
}

.fusion-hero__carousel-well {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20.125rem;
  max-width: calc(100vw - 2rem);
  box-sizing: border-box;
  gap: 0.625rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: color-mix(in srgb, var(--color-primary-darkest) 68%, transparent);
  backdrop-filter: blur(12px);
}

.fusion-hero__carousel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
}

.fusion-hero__carousel-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.fusion-hero__carousel-dot-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  min-height: 1.5rem;
  border: 0;
  background: transparent;
  padding: 0.25rem;
  cursor: pointer;
}

.fusion-hero__carousel-dot {
  display: block;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 3px color-mix(in srgb, var(--color-primary-darkest) 55%, transparent);
  transition: all 0.3s ease;
}

.fusion-hero__carousel-dot--active {
  width: 2.5rem;
  border-radius: 999px;
  background: var(--color-accent-primary);
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.95),
    0 1px 4px color-mix(in srgb, var(--color-primary-darkest) 60%, transparent);
}

.fusion-hero__fade {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 5;
  height: 4rem;
  background: linear-gradient(to top, #f4f6f8 15%, transparent);
  pointer-events: none;
}

/* ─── Quick Access ─────────────────────────────────────────────────────── */

.fusion-quick-access__inner,
.fusion-pathways-help__inner,
.fusion-featured-resources__inner,
.fusion-academy__offerings-inner,
.fusion-ecosphere__inner,
.fusion-announcements__inner {
  max-width: var(--fusion-site-max-width);
  margin: 0 auto;
  padding-inline: var(--fusion-site-padding-x);
}

.fusion-quick-access__inner {
  padding-top: var(--fusion-section-pad-after-hero);
  padding-bottom: var(--fusion-section-pad-block);
}

.fusion-pathways-help__inner,
.fusion-featured-resources__inner,
.fusion-academy__offerings-inner,
.fusion-ecosphere__inner,
.fusion-announcements__inner {
  padding-block: var(--fusion-section-pad-block);
}

.fusion-quick-access__heading,
.fusion-featured-resources__heading {
  margin: 0;
  font-size: var(--fusion-type-section-heading);
  font-weight: 600;
  color: var(--fusion-blue-deep);
}

.fusion-quick-access__support,
.fusion-featured-resources__support {
  margin: 0;
  font-size: var(--fusion-type-lede);
  color: var(--color-base, #262626);
  max-width: 58rem;
}

.fusion-quick-access__panel {
  border: 1px solid color-mix(in srgb, var(--fusion-blue-bright) 30%, transparent);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.45);
  padding: 1.5rem;
  box-shadow: 0 20px 44px -8px color-mix(in srgb, var(--fusion-blue-bright) 9%, transparent);
}

#main-content .fusion-quick-access ul.fusion-quick-access__grid,
#main-content .fusion-quick-access ul.fusion-quick-access__grid > li {
  list-style: none;
  margin: 0;
  padding: 0;
}

#main-content .fusion-quick-access ul.fusion-quick-access__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem 1rem;
}

#main-content .fusion-quick-access ul.fusion-quick-access__grid > li,
.fusion-quick-access__item {
  position: relative;
}

/* Tile layout. This used to live on the <a class="fusion-quick-access__link">
   that wrapped the whole tile; the anchor is now just the title link, so the
   list item carries the column layout, padding, radius and hover motion. */
#main-content .fusion-quick-access ul.fusion-quick-access__grid > li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
  padding: 0.25rem;
  border-radius: 0.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#main-content .fusion-quick-access ul.fusion-quick-access__grid > li:hover,
#main-content .fusion-quick-access ul.fusion-quick-access__grid > li:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--fusion-blue-bright) 12%, transparent);
}

@media (min-width: 1280px) {
  #main-content .fusion-quick-access ul.fusion-quick-access__grid > li:not(:last-child) {
    border-inline-end: 1px solid color-mix(in srgb, var(--fusion-blue-bright) 45%, transparent);
  }
}

@media (min-width: 640px) {
  #main-content .fusion-quick-access ul.fusion-quick-access__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  #main-content .fusion-quick-access ul.fusion-quick-access__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

/* :visited so the tile text beats the CMS DS `a:visited` colour — these tiles
   link to same-page anchors and so count as visited immediately. */
.fusion-quick-access__link,
.fusion-quick-access__link:visited {
  color: inherit;
  text-decoration: none;
}

/* Stretch the title link over the whole tile so the entire card stays
   clickable now that the anchor no longer wraps the tile contents. */
.fusion-quick-access__link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.fusion-quick-access__icon-ring {
  display: flex;
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--fusion-blue-bright) 50%, transparent);
  color: var(--fusion-blue);
  background: color-mix(in srgb, var(--fusion-blue-bright) 12%, transparent);
  box-shadow: 0 0 1rem color-mix(in srgb, var(--fusion-blue-bright) 14%, transparent);
}

.fusion-quick-access__icon-ring svg {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
}

.fusion-quick-access__title {
  margin: 1.25rem 0 0;
  font-size: 0.9375rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--fusion-blue);
}

.fusion-quick-access__subtitle {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--fusion-blue-deep);
}

/* ─── Pathways ─────────────────────────────────────────────────────────── */

.fusion-pathways-help__heading {
  margin: 0;
  font-size: var(--fusion-type-section-heading);
  font-weight: 700;
  color: var(--color-primary-darker);
}

.fusion-pathways-help__lede {
  margin: 0;
  font-size: var(--fusion-type-lede);
  color: var(--color-gray-dark);
  max-width: 58rem;
}

.fusion-pathways-help__layout {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 72rem;
}

#main-content .fusion-pathways-help ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Only reset list semantics here — do NOT set padding. The <li> is the pill,
   so its own padding must survive; this selector's #main-content specificity
   would otherwise beat the .fusion-pathways-help__pill rule and flatten it,
   jamming the icon and chevron against the pill edges. */
#main-content .fusion-pathways-help ul > li {
  list-style: none;
  margin: 0;
  display: flex;
  min-width: 0;
}

.fusion-pathways-help__row--two {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.fusion-pathways-help__row--three {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 641px) {
  .fusion-pathways-help__row--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 901px) {
  .fusion-pathways-help__row--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-left: clamp(1.25rem, 7.5vw, 5rem);
  }
}

.fusion-pathways-help__pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  min-height: 3.625rem;
  padding: 0.75rem 1.25rem 0.75rem 0.85rem;
  border-radius: 9999px;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--color-primary-light) 26%, var(--color-gray-lighter));
  box-shadow: 0 10px 28px color-mix(in srgb, var(--color-primary) 7%, transparent);
  text-decoration: none;
  color: var(--color-primary-darker);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fusion-pathways-help__pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px color-mix(in srgb, var(--color-primary-darker) 8%, transparent);
}

.fusion-pathways-help__pill-icon-wrap {
  display: flex;
  flex-shrink: 0;
  width: 2.875rem;
  height: 2.875rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-accent-primary, #ffe400);
}

.fusion-pathways-help__pill-icon-wrap--support {
  background: var(--color-primary);
}

.fusion-pathways-help__pill-icon {
  display: block;
  width: 1.375rem;
  height: 1.375rem;
}

.fusion-pathways-help__pill-label {
  flex: 1;
  margin: 0;
  font-weight: 600;
  font-size: 1rem;
}

/* The label carries the link, and the link covers the whole pill, so the pill
   stays one click target without an anchor wrapping the blocks inside it. */
/* All interaction states are pinned to the inherited pill colour so none of the
   CMS DS anchor rules (`a:visited`, `a:hover`) can recolour the text — each
   state here outranks its DS counterpart. The pill's own hover feedback is the
   lift + shadow on .fusion-pathways-help__pill:hover, not a text-colour change.
   Same-page anchor hrefs count as visited immediately, which is why :visited
   matters even on a fresh load. */
.fusion-pathways-help__pill-link,
.fusion-pathways-help__pill-link:visited,
.fusion-pathways-help__pill-link:hover,
.fusion-pathways-help__pill-link:focus {
  color: inherit;
  text-decoration: none;
}

.fusion-pathways-help__pill-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

/* Chevron was a decorative span; it is drawn rather than marked up so the pill
   contains only real blocks. */
.fusion-pathways-help__pill::after {
  content: "\203A";
  color: var(--color-gray-dark);
  line-height: 1;
}

/* ─── Multi-Cloud ────────────────────────────────────────────────────────── */

.fusion-multi-cloud {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: min(22rem, 58vh);
  background-color: var(--fusion-multi-cloud-bg);
  background-image: url("../images/sections/new-bg-cloud.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left center;
  color: #fff;
}

@media (min-width: 1024px) {
  .fusion-multi-cloud {
    min-height: min(38rem, 62vh);
  }
}

.fusion-multi-cloud__inner {
  max-width: var(--fusion-site-max-width);
  margin: 0 auto;
  padding: var(--fusion-section-pad-block) var(--fusion-site-padding-x);
  min-height: min(22rem, 58vh);
  display: flex;
  align-items: center;
}

.fusion-multi-cloud__copy {
  width: 100%;
  max-width: 36rem;
  margin-left: auto;
  padding: 1.5rem;
  border-radius: 1rem;
  background: color-mix(in srgb, var(--color-primary-darkest) 44%, transparent);
}

@media (min-width: 1024px) {
  .fusion-multi-cloud__copy {
    background: transparent;
    padding: 0;
  }
}

.fusion-multi-cloud__heading {
  margin: 0;
  font-size: var(--fusion-type-section-heading);
  font-weight: 600;
}

.fusion-multi-cloud__prose {
  margin-top: 1.5rem;
}

.fusion-multi-cloud__prose p {
  margin: 0 0 0.875rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

/* The CTA sits in a paragraph block so it is editable; the spacing belongs to
   the button itself, so the wrapper contributes none of its own. */
/* ─── Featured Resources ─────────────────────────────────────────────────── */

#main-content .fusion-featured-resources ul.fusion-featured-resources__grid,
#main-content .fusion-featured-resources ul.fusion-featured-resources__grid > li {
  list-style: none;
  margin: 0;
  padding: 0;
}

#main-content .fusion-featured-resources ul.fusion-featured-resources__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

#main-content .fusion-featured-resources ul.fusion-featured-resources__grid > li {
  display: flex;
  min-height: 0;
}

@media (min-width: 768px) {
  #main-content .fusion-featured-resources ul.fusion-featured-resources__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.fusion-featured-resources__card {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  box-sizing: border-box;
  min-height: 10rem;
  padding: 1.25rem 1rem 1rem;
  border-radius: 1rem;
  background: var(--color-primary);
  color: #fff;
  border: 1px solid color-mix(in srgb, var(--color-primary-light) 38%, transparent);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--color-primary-darker) 8%, transparent);
}

/* The title carries the link, and the link covers the whole card, so the card
   stays one click target without an anchor wrapping the blocks inside it. */
.fusion-featured-resources__card-link {
  color: inherit;
  text-decoration: none;
}

.fusion-featured-resources__card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.fusion-featured-resources a.fusion-featured-resources__card-link,
.fusion-featured-resources a.fusion-featured-resources__card-link:visited {
  color: inherit;
  text-decoration: none;
}

.fusion-featured-resources a.fusion-featured-resources__card-link:hover {
  color: #fff;
  text-decoration: underline;
}

/* Status dot and accent glow were decorative spans; they are drawn rather than
   marked up so the card contains only real blocks. The accent glow varies per
   card, so it is keyed off the card's existing aria-labelledby value. */
.fusion-featured-resources__card::before {
  content: "";
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-secondary);
}

.fusion-featured-resources__card[aria-labelledby="fusion-featured-briefings"]::after,
.fusion-featured-resources__card[aria-labelledby="fusion-featured-status"]::after,
.fusion-featured-resources__card[aria-labelledby="fusion-featured-announcements"]::after {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 3px;
  border-radius: 999px;
}

.fusion-featured-resources__card[aria-labelledby="fusion-featured-briefings"]::after {
  background: linear-gradient(90deg, transparent, #7c3aed, transparent);
}

.fusion-featured-resources__card[aria-labelledby="fusion-featured-status"]::after {
  background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
}

.fusion-featured-resources__card[aria-labelledby="fusion-featured-announcements"]::after {
  background: linear-gradient(90deg, transparent, var(--color-primary-light), transparent);
}

.fusion-featured-resources__icon-ring,
.fusion-academy-offerings__icon-ring {
  position: relative;
  display: flex;
  width: 3.25rem;
  height: 3.25rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-accent-primary, #ffe400);
  border-radius: 50%;
  color: var(--color-accent-primary, #ffe400);
  background: color-mix(in srgb, var(--color-primary-darker) 35%, transparent);
  box-shadow: 0 0 1rem color-mix(in srgb, var(--color-accent-primary, #ffe400) 18%, transparent);
}

.fusion-featured-resources__icon-ring svg,
.fusion-academy-offerings__icon-ring svg {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
}

#main-content .fusion-featured-resources .fusion-featured-resources__card-title {
  margin: 0.75rem 0 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

/* Card titles step up from 1rem to 1.125rem at the 640px breakpoint (matches the
   prototype). Selector mirrors the base rule so it clears the same specificity. */
@media (min-width: 640px) {
  #main-content .fusion-featured-resources .fusion-featured-resources__card-title {
    font-size: 1.125rem;
  }
}

/* The card CTA is no longer an anchor; the layout that used to sit on
   .fusion-featured-resources__card-link now sits on the meta line, and the
   decorative arrow span is drawn rather than marked up. */
#main-content .fusion-featured-resources .fusion-featured-resources__card-meta {
  margin: 0;
  margin-top: auto;
  padding-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--color-accent-primary, #ffe400);
  text-decoration: none;
  font-size: 0.875rem;
}

#main-content .fusion-featured-resources .fusion-featured-resources__card-meta::after {
  content: "\2192";
}

/* ─── Academy ────────────────────────────────────────────────────────────── */

.fusion-academy {
  width: 100%;
}

.fusion-academy__hero {
  width: 100%;
  background-color: #fff;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left center;
}

.fusion-academy__hero-inner {
  max-width: var(--fusion-site-max-width);
  margin: 0 auto;
  padding: var(--fusion-section-pad-block) var(--fusion-site-padding-x);
  min-height: min(22rem, 58vh);
  display: flex;
  align-items: center;
}

.fusion-academy__copy {
  width: 100%;
  max-width: 38rem;
  margin-left: auto;
  padding: 1.5rem;
  border-radius: 1rem;
  background: color-mix(in srgb, #fff 94%, transparent);
}

@media (min-width: 1024px) {
  .fusion-academy__copy {
    background: transparent;
    padding: 0;
  }
}

.fusion-academy__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fusion-blue-deep);
}

.fusion-academy__heading {
  margin: 0;
  font-size: clamp(1.875rem, 2.2vw + 1rem, 2.625rem);
  font-weight: 700;
}

.fusion-academy__heading-word {
  color: var(--fusion-blue-deep);
}

.fusion-academy__lede,
.fusion-academy__body {
  margin: 0.75rem 0 0;
  color: var(--fusion-blue-deep);
  line-height: 1.5;
}

/* Lede reads as a subheader — larger and bold, distinct from the body copy. */
.fusion-academy__lede {
  font-size: 1.125rem;
  font-weight: 700;
}

/* Element-qualified so its top margin beats WordPress's (0,1,0) flow rule
   (block gap is 0 globally, so an equal-specificity rule would lose to it). */
div.fusion-academy__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

/* Each hero CTA sits in a paragraph block so it is editable; the spacing belongs
   to the flex row and the button, so the wrapper contributes none of its own. */
/* Academy secondary CTA tokens: assets/css/buttons.css */

#main-content .fusion-academy ul.fusion-academy-offerings__grid,
#main-content .fusion-academy ul.fusion-academy-offerings__grid > li {
  list-style: none;
  margin: 0;
  padding: 0;
}

#main-content .fusion-academy ul.fusion-academy-offerings__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

#main-content .fusion-academy ul.fusion-academy-offerings__grid > li {
  display: flex;
  min-height: 0;
}

#main-content article.fusion-academy-offerings__card ul.fusion-academy-offerings__list {
  display: block;
  flex-direction: unset;
}

@media (min-width: 768px) {
  #main-content .fusion-academy ul.fusion-academy-offerings__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.fusion-academy-offerings__card {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  box-sizing: border-box;
  min-height: 13rem;
  padding: 1.5rem;
  border-radius: 1rem;
  background: var(--color-primary);
  color: #fff;
  border: 1px solid color-mix(in srgb, var(--color-primary-light) 38%, transparent);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--color-primary-darker) 8%, transparent);
}

/* Status dot: was an empty decorative span inside the card wrapper, which made
   the group block invalid in the editor. Drawn on the card instead. */
.fusion-academy-offerings__card::after {
  content: '';
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-secondary);
}

/* Accent glow: likewise an empty decorative span. The per-card tint is keyed off
   the card's own aria-labelledby so no extra class is needed on the wrapper. */
.fusion-academy-offerings__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 3px;
  border-radius: 999px;
  pointer-events: none;
}

.fusion-academy-offerings__card[aria-labelledby='fusion-academy-tile-docs']::before {
  background: linear-gradient(90deg, transparent, #7c3aed, transparent);
}

.fusion-academy-offerings__card[aria-labelledby='fusion-academy-tile-tools']::before {
  background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
}

.fusion-academy-offerings__card[aria-labelledby='fusion-academy-tile-paths']::before {
  background: linear-gradient(90deg, transparent, var(--color-primary-light), transparent);
}

#main-content .fusion-academy .fusion-academy-offerings__title {
  margin: 0.75rem 0 0;
  font-weight: 700;
  color: #fff;
}

.fusion-academy-offerings__list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}

.fusion-academy-offerings__list li {
  position: relative;
  padding-left: 1rem;
  margin-top: 0.45rem;
  font-size: 0.875rem;
}

.fusion-academy-offerings__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
}

/* The CTA sits in a paragraph block so it is editable. The paragraph is now the
   flex child of the card, so the bottom-pinning and top padding that used to be
   on the anchor live here; only link-specific styling stays on the anchor. */
.fusion-academy-offerings__cta-wrap {
  margin: auto 0 0;
  padding-top: 1rem;
}

/* Stretch the CTA over the whole card so the card reads as one target. */
.fusion-academy-offerings__cta::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

#main-content .fusion-academy a.fusion-academy-offerings__cta,
#main-content .fusion-academy a.fusion-academy-offerings__cta:visited {
  font-weight: 700;
  color: var(--color-accent-primary, #ffe400);
  text-decoration: none;
}

#main-content .fusion-academy a.fusion-academy-offerings__cta:hover {
  color: var(--color-accent-primary, #ffe400);
  text-decoration: underline;
}

/* ─── Ecosystem ──────────────────────────────────────────────────────────── */

.fusion-ecosphere {
  width: 100%;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--color-primary) 92%, #000) 0%,
    var(--color-primary-darkest) 52%,
    var(--color-primary-darker) 100%
  );
  color: #fff;
}

.fusion-ecosphere__heading {
  margin: 0;
  font-size: clamp(2rem, 2.2vw + 1rem, 3.75rem);
  font-weight: 600;
  line-height: 1.06;
}

.fusion-ecosphere__heading-muted {
  color: #fff;
}

.fusion-ecosphere__lede {
  margin: 0.5rem 0 0;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.85);
}

.fusion-ecosphere__cluster {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.fusion-ecosphere__orbit-host {
  margin-inline: auto;
  width: min(20rem, 86vw);
}

.fusion-ecosphere__orbit-board {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
}

.fusion-ecosphere__ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.fusion-ecosphere__ring--outer {
  inset: 3%;
  border: 2px solid color-mix(in srgb, var(--color-primary-light) 52%, transparent);
}

.fusion-ecosphere__ring--mid {
  inset: 16%;
  border: 3px solid color-mix(in srgb, var(--color-accent-primary) 82%, transparent);
}

.fusion-ecosphere__core-wrap {
  position: absolute;
  inset: 26%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
}

.fusion-ecosphere__core-img {
  width: 104%;
  height: 104%;
  object-fit: contain;
}

.fusion-ecosphere__orbit-node {
  position: absolute;
  width: min(26%, 5rem);
  transform: translate(-50%, -50%);
}

.fusion-ecosphere__orbit-node--toolkit { left: 50%; top: 10%; }
.fusion-ecosphere__orbit-node--security { left: 10%; top: 41%; }
.fusion-ecosphere__orbit-node--multi-cloud { left: 90%; top: 41%; }
.fusion-ecosphere__orbit-node--cost { left: 22%; top: 87%; }
.fusion-ecosphere__orbit-node--product-teams { left: 78%; top: 87%; }

.fusion-ecosphere__orbit-node img {
  width: 100%;
  height: auto;
  border-radius: 50%;
}

.fusion-ecosphere__card {
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  text-align: center;
}

/* ─── Ecosystem pairing ──────────────────────────────────────────────────
   Hovering or focusing an orbit node or its tile highlights the pair and dims
   the rest. Driven by blocks/ecosystem/view.js, which matches [data-eco-node]
   to [data-eco-tile] by slug. Nothing here is required for the section to
   render — without the script no state class is ever applied. */

.fusion-ecosphere__orbit-node,
.fusion-ecosphere__tile {
  transition: opacity 0.25s ease, transform 0.25s ease, filter 0.25s ease;
}

.fusion-ecosphere__orbit-node.is-eco-dimmed,
.fusion-ecosphere__tile.is-eco-dimmed {
  opacity: 0.35;
}

.fusion-ecosphere__orbit-node.is-eco-active {
  /* Keeps the node's own centring transform. */
  transform: translate(-50%, -50%) scale(1.12);
  filter: drop-shadow(0 0 1.25rem color-mix(in srgb, var(--color-accent-primary) 55%, transparent));
}

.fusion-ecosphere__tile.is-eco-active .fusion-ecosphere__card {
  border-color: color-mix(in srgb, var(--color-accent-primary) 70%, transparent);
  background: rgba(255, 255, 255, 0.18);
}

.fusion-ecosphere__tile.is-eco-active {
  transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
  .fusion-ecosphere__orbit-node,
  .fusion-ecosphere__tile {
    transition: opacity 0.25s ease;
  }

  .fusion-ecosphere__orbit-node.is-eco-active,
  .fusion-ecosphere__tile.is-eco-active {
    transform: none;
  }

  .fusion-ecosphere__orbit-node.is-eco-active {
    transform: translate(-50%, -50%);
  }
}

/* Element-qualified so it matches the (0,1,1) `.ccg-main :is(h*)` prose default
   and wins on source order — otherwise that default's 1.5em top margin leaks in. */
h3.fusion-ecosphere__card-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.fusion-ecosphere__card-body {
  margin: 0.75rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.48;
  color: rgba(255, 255, 255, 0.62);
}

@media (min-width: 1024px) {
  .fusion-ecosphere__cluster {
    display: grid;
    grid-template-columns: minmax(14rem, 1fr) minmax(17rem, 26rem) minmax(14rem, 1fr);
    grid-template-rows: auto minmax(10rem, auto) minmax(10rem, auto);
    align-items: center;
    min-height: min(40rem, 74vh);
  }

  .fusion-ecosphere__orbit-host {
    grid-column: 2;
    grid-row: 2 / span 2;
    width: 100%;
    max-width: 26rem;
  }

  .fusion-ecosphere__tile--toolkit { grid-column: 2; grid-row: 1; }
  .fusion-ecosphere__tile--security { grid-column: 1; grid-row: 2; justify-self: end; }
  .fusion-ecosphere__tile--multi-cloud { grid-column: 3; grid-row: 2; justify-self: start; }
  .fusion-ecosphere__tile--cost { grid-column: 1; grid-row: 3; justify-self: end; }
  .fusion-ecosphere__tile--product-teams { grid-column: 3; grid-row: 3; justify-self: start; }
}

/* ─── Announcements ──────────────────────────────────────────────────────── */

.fusion-announcements {
  width: 100%;
  background: linear-gradient(
    168deg,
    color-mix(in srgb, var(--color-primary-lightest) 55%, #fff) 0%,
    color-mix(in srgb, var(--color-primary-light) 28%, var(--color-primary-lightest)) 100%
  );
}

.fusion-announcements__title {
  margin: 0;
  font-size: var(--fusion-type-section-heading);
  font-weight: 700;
  color: var(--color-primary-darker);
}

.fusion-announcements__viewport-wrap {
  position: relative;
}

.fusion-announcements__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid color-mix(in srgb, var(--color-primary-light) 55%, var(--color-gray-lighter));
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-primary-darker);
  cursor: pointer;
  transform: translateY(-50%);
}

.fusion-announcements__arrow--prev { left: 0; }
.fusion-announcements__arrow--next { right: 0; }
.fusion-announcements__arrow:disabled { opacity: 0.35; cursor: default; }

.fusion-announcements__viewport-wrap:not(.fusion-announcements__viewport-wrap--scrollable) .fusion-announcements__arrow {
  display: none;
}

.fusion-announcements__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 0.25rem;
}

.fusion-announcements__track::-webkit-scrollbar {
  display: none;
}

/* The card is the box; the link lives in the title and is stretched over the
   card with CSS, so the card contains only real blocks. Layout that used to sit
   on .fusion-announcements__card-link now sits here. */
.fusion-announcements__card {
  position: relative;
  flex: 0 0 min(100%, 21rem);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 10.5rem;
  padding: 1.125rem 1.25rem;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--color-primary-light) 42%, var(--color-gray-lighter));
  background: rgba(255, 255, 255, 0.88);
}

@media (min-width: 550px) {
  .fusion-announcements__card { flex-basis: calc((100% - 1rem) / 2); }
}

@media (min-width: 900px) {
  .fusion-announcements__card { flex-basis: calc((100% - 2rem) / 3); }
}

@media (min-width: 1200px) {
  .fusion-announcements__card { flex-basis: calc((100% - 3rem) / 4); }
}

/* :visited so the card title beats the CMS DS `a:visited` colour once a reader
   has opened the announcement. */
.fusion-announcements__card-link,
.fusion-announcements__card-link:visited {
  color: inherit;
  text-decoration: none;
}

.fusion-announcements__card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.fusion-announcements__meta {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--color-primary-darker);
}

/* Outline calendar before the date (matches the prototype). Drawn as a mask so
   it inherits the meta's currentColor, and decorative so it stays out of the
   accessibility tree. */
.fusion-announcements__meta::before {
  content: "";
  flex: none;
  width: 1rem;
  height: 1rem;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M8 2v4M16 2v4M3 10h18M5 4h14a2 2 0 012 2v14a2 2 0 01-2 2H5a2 2 0 01-2-2V6a2 2 0 012-2z' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M8 2v4M16 2v4M3 10h18M5 4h14a2 2 0 012 2v14a2 2 0 01-2 2H5a2 2 0 01-2-2V6a2 2 0 012-2z' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.fusion-announcements__card-title {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-primary-darker);
}

.fusion-announcements__card-desc {
  margin: 0;
  margin-top: auto;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-primary-darker);
}

/* Beat CMS link colors inside home cards */
.fusion-featured-resources a.fusion-featured-resources__card-link,
.fusion-academy a.fusion-academy-offerings__cta,
.fusion-announcements a.fusion-announcements__card-link {
  font-weight: inherit;
}

/* The link is now inside the title, so hover is keyed off the card. */
.fusion-announcements__card:hover .fusion-announcements__card-title,
.fusion-announcements__card-link:focus-visible {
  color: var(--color-primary-darkest);
}

/* ─── Home hero on cmsgov/slide-set ──────────────────────────────────────
   Alternative hero build (patterns/home-hero-slideset.php) that reuses the
   shared carousel block so each slide's copy is an editable block. Everything
   here re-skins cmsgov/slide-set to the FUSION hero design and is scoped to
   .ccg-home-hero--slideset so other slide sets on the site are untouched. */

.ccg-home-hero--slideset .cmsgov-slide-set {
  position: static;
  background: none;
  color: inherit;
  overflow: visible;
}

/* The slide stage: panels stack in one grid cell so slide height never shifts,
   matching .fusion-hero__slide-stage. */
.ccg-home-hero--slideset .cmsgov-slide-set__panels {
  display: grid;
  overflow: visible;
}

.ccg-home-hero--slideset .cmsgov-slide-set__panel {
  grid-area: 1 / 1;
  position: relative;
  max-width: none;
  margin: 0;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  filter: blur(2px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.45s ease,
    visibility 0s linear 0.55s;
  pointer-events: none;
}

/* Keep every panel in the grid cell even when the script hides it, so the
   stage keeps the tallest slide's height. */
.ccg-home-hero--slideset .cmsgov-slide-set__panel[hidden] {
  display: block !important;
}

.ccg-home-hero--slideset .cmsgov-slide-set__panel--active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  filter: blur(0);
  transition-delay: 0.08s, 0.08s, 0.08s, 0s;
  pointer-events: auto;
}

/* Controls: the shared block renders arrows beside the viewport and dots below.
   The FUSION design docks them together, centred at the bottom of the hero. */
.ccg-home-hero--slideset .cmsgov-slide-set__viewport {
  position: static;
}

.ccg-home-hero--slideset .cmsgov-slide-set__arrow {
  position: absolute;
  top: auto;
  bottom: 3rem;
  z-index: 16;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  transform: none;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.ccg-home-hero--slideset .cmsgov-slide-set__arrow--prev {
  left: 50%;
  margin-left: -10.0625rem;
}

.ccg-home-hero--slideset .cmsgov-slide-set__arrow--next {
  right: 50%;
  margin-right: -10.0625rem;
}

.ccg-home-hero--slideset .cmsgov-slide-set__arrow svg {
  width: 0.5625rem;
  height: 1rem;
}

.ccg-home-hero--slideset .cmsgov-slide-set__dots {
  position: absolute;
  inset-inline: 0;
  bottom: 3rem;
  z-index: 15;
  height: 2.75rem;
  align-items: center;
  padding: 0;
}

.ccg-home-hero--slideset .cmsgov-slide-set__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-width: 1px;
}

@media (prefers-reduced-motion: reduce) {
  .ccg-home-hero--slideset .cmsgov-slide-set__panel {
    transition: opacity 0.2s ease;
    transform: none;
    filter: none;
  }
}

/* The hero content group carries blockGap:0 (to suppress WordPress's flow-layout
   margin), which also flattens .fusion-hero__actions' own margin-top. Re-assert
   it one class deeper so the CTAs keep their gap below the slide copy. */
.ccg-home-hero--slideset .fusion-hero__actions {
  margin-top: 1.25rem;
}

/* ---------------------------------------------------------------- scroll reveal
 * Sections fade + rise into view as they are reached. assets/js/reveal.js adds
 * the classes (only below the fold, so nothing on screen flashes) and flips
 * data-revealed when the element enters the viewport. Timing/easing match the
 * prototype: a section fades as one; a card grid staggers its children by 70ms.
 */
@keyframes fusion-fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fusion-reveal {
  opacity: 0;
  transform: translateY(24px);
}

.fusion-reveal[data-revealed="true"] {
  animation: fusion-fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fusion-reveal-stagger .fusion-reveal-child {
  opacity: 0;
  transform: translateY(18px);
}

.fusion-reveal-stagger[data-revealed="true"] .fusion-reveal-child {
  animation: fusion-fade-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fusion-reveal-stagger[data-revealed="true"] .fusion-reveal-child:nth-child(2) { animation-delay: 0.07s; }
.fusion-reveal-stagger[data-revealed="true"] .fusion-reveal-child:nth-child(3) { animation-delay: 0.14s; }
.fusion-reveal-stagger[data-revealed="true"] .fusion-reveal-child:nth-child(4) { animation-delay: 0.21s; }
.fusion-reveal-stagger[data-revealed="true"] .fusion-reveal-child:nth-child(5) { animation-delay: 0.28s; }
.fusion-reveal-stagger[data-revealed="true"] .fusion-reveal-child:nth-child(6) { animation-delay: 0.35s; }
.fusion-reveal-stagger[data-revealed="true"] .fusion-reveal-child:nth-child(7) { animation-delay: 0.42s; }
.fusion-reveal-stagger[data-revealed="true"] .fusion-reveal-child:nth-child(8) { animation-delay: 0.49s; }

/* Motion-safe: never hide content for reduced-motion users. */
@media (prefers-reduced-motion: reduce) {
  .fusion-reveal,
  .fusion-reveal-stagger .fusion-reveal-child {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
