/* =============================================================================
   DACC New Theme — Student Success Detail portion of shared stylesheet
   Pass 35

   Listing selectors are intentionally not changed in this pass.
   ============================================================================= */
@import url("../components/profile-detail-family.css");

.student-success-story__hero {
  background:
    radial-gradient(circle at 88% 14%, color-mix(in srgb, var(--color-gold) 20%, transparent), transparent 20rem),
    linear-gradient(130deg, var(--color-primary-dark), var(--color-primary));
}

.student-success-story__portrait {
  border: 0.3rem solid var(--color-gold);
  border-radius: var(--profile-new-panel-radius);
  box-shadow: 7px 7px 0 color-mix(in srgb, var(--color-primary-dark) 24%, var(--color-border));
}
.student-success-story__identity .student-success-story__eyebrow,
.student-success-story__program a { color: var(--color-gold); }

.student-success-story__quote {
  background: var(--profile-new-soft-gold);
}
.student-success-story__quote blockquote { color: var(--color-primary-dark); }

.student-success-story__info-card {
  border: 1px solid var(--profile-new-border-blue);
  border-radius: var(--profile-new-panel-radius);
  background: var(--color-white);
  box-shadow: var(--profile-new-panel-shadow);
}
.student-success-story__info-card--credentials { border-block-start: 0.3rem solid var(--color-gold); }
.student-success-story__info-card--challenge { background: var(--profile-new-soft-blue); }
.student-success-story__info-card h2 { color: var(--color-primary-dark); }

.student-success-story__footer {
  border-radius: var(--profile-new-panel-radius) var(--profile-new-panel-radius) 0 0;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
}
.student-success-story__footer-kicker { color: var(--color-gold); }


/* =============================================================================
   Pass 36 — Student Success Listing extension
   ============================================================================= */
@import url("../components/listing-family.css");

.student-success-listing__hero {
  background:
    radial-gradient(circle at 88% 17%, color-mix(in srgb, var(--color-gold) 28%, transparent), transparent 24rem),
    linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
}
.student-success-listing__eyebrow { color: var(--color-gold); }
.student-success-listing__hero h1,
.student-success-listing__hero-copy { color: var(--color-white); }
.student-success-listing__tools,
.student-success-featured-card,
.student-success-compact-card {
  border-color: var(--listing-new-border);
  border-radius: var(--listing-new-radius);
  background: var(--color-white);
  box-shadow: var(--listing-new-shadow-soft);
}
.student-success-listing__tools { border-top: .35rem solid var(--color-gold); }
.student-success-listing__section-heading,
.student-success-featured-card__program,
.student-success-compact-card__program { color: var(--color-primary-dark); }
.student-success-featured-card__action,
.student-success-compact-card__action,
.student-success-button { background: var(--color-primary-dark); color: var(--color-white); }
.student-success-button--gold { background: var(--color-gold); color: var(--color-text); }
.student-success-listing__empty { background: var(--listing-new-soft-gold); border-color: color-mix(in srgb, var(--color-gold) 42%, var(--color-border)); }
.student-success-pagination [aria-current="page"] { background: var(--color-primary-dark); color: var(--color-white); }

/* =============================================================================
   Pass 43 — Student Success Listing CTA contrast stabilization
   The action <p> remains layout-only; the link owns its visual button surface.
   ============================================================================= */
.student-success-featured-card__action,
.student-success-compact-card__action {
  background: transparent;
  color: inherit;
}

.student-success-featured-card__action a,
.student-success-featured-card__action a:visited,
.student-success-compact-card__action a,
.student-success-compact-card__action a:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.62rem 0.95rem;
  border: 0.12rem solid var(--color-primary-dark);
  border-radius: var(--radius-pill);
  background: var(--color-primary-dark);
  color: var(--color-white);
  font-weight: var(--fw-bold);
  text-decoration: none;
}

.student-success-featured-card__action a:hover,
.student-success-featured-card__action a:focus,
.student-success-featured-card__action a:focus-visible,
.student-success-featured-card__action a:active,
.student-success-compact-card__action a:hover,
.student-success-compact-card__action a:focus,
.student-success-compact-card__action a:focus-visible,
.student-success-compact-card__action a:active {
  border-color: var(--color-gold);
  background: var(--color-gold);
  color: var(--color-text);
}
