/* Shared visual system for Aspen service and service-article pages. */
:root {
  --aspen-service-ink: #10233f;
  --aspen-service-muted: #5e6f82;
  --aspen-service-green: #108477;
  --aspen-service-green-dark: #0a665d;
  --aspen-service-line: #dfe8e6;
  --aspen-service-soft: #f4f8f7;
}

.service-detail-page,
.service-article-page {
  color: var(--aspen-service-ink);
  overflow: clip;
}

.service-detail-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--aspen-service-green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.2;
  text-transform: uppercase;
  font-family: "Noto Sans", "Inter", sans-serif;
  font-style: normal;
  text-align: left;
}

.service-detail-eyebrow::before {
  width: 22px;
  height: 2px;
  background: currentColor;
  content: "";
}

.service-detail-lede {
  width: 100%;
  max-width: 650px;
  margin: 0;
  color: var(--aspen-service-muted);
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.7;
  overflow-wrap: anywhere;
  font-family: "Noto Sans", "Inter", sans-serif;
  text-align: left;
}

/* Consistent, calm page headers. */
.service-detail-page :is(.hero92-header30, .banner11-container, .hero7-header23, .hero71-header23) {
  width: 100%;
  height: auto !important;
  min-height: 310px;
  padding: clamp(68px, 8vw, 108px) 24px 24px !important;
  background:
    radial-gradient(circle at 88% 16%, rgba(16, 132, 119, .12), transparent 27%),
    linear-gradient(135deg, #f7faf9 0%, #eef6f4 100%);
  box-sizing: border-box;
}

.service-detail-page .hero92-container {
  display: none;
}

.service-detail-page :is(.hero92-max-width, .banner11-max-width, .hero7-max-width, .hero71-max-width) {
  width: min(100%, 1200px) !important;
  height: auto !important;
  max-width: 1200px !important;
  margin: 0 auto;
  padding: 0 !important;
  position: relative !important;
  inset: auto !important;
  align-self: auto !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  border-radius: 0 !important;
}

.service-detail-page :is(.hero92-content, .hero7-content, .hero71-content),
.service-detail-page .banner11-max-width {
  display: flex;
  flex-direction: column;
  align-items: flex-start !important;
  gap: 15px !important;
  margin: 0 !important;
  text-align: left !important;
}

.service-detail-page :is(.hero92-content, .hero7-content, .hero71-content) {
  width: 100% !important;
  max-width: 820px;
}

.service-detail-page :is(.hero92-text1, .banner11-title, .hero7-text1, .hero71-text1) {
  width: auto !important;
  margin: 0;
  padding: 0 !important;
  color: var(--aspen-service-ink) !important;
  border: 0 !important;
  font-size: clamp(42px, 5.2vw, 68px) !important;
  font-family: "Noto Sans", "Inter", sans-serif !important;
  font-style: normal !important;
  font-weight: 750;
  letter-spacing: -.045em;
  line-height: 1.02;
  text-transform: none !important;
  text-align: left !important;
  align-self: flex-start !important;
}

.service-detail-page :is(.hero92-text1, .banner11-title, .hero7-text1, .hero71-text1) * {
  font-family: inherit !important;
  font-style: inherit !important;
  text-transform: none !important;
}

.service-detail-page :is(.hero7-text2, .hero71-text2) {
  width: min(100%, 650px) !important;
  margin: 0;
  color: var(--aspen-service-muted) !important;
  font-size: clamp(16px, 1.45vw, 19px) !important;
  font-family: "Noto Sans", "Inter", sans-serif !important;
  line-height: 1.7 !important;
  text-align: left !important;
}

.service-detail-page .hero7-actions {
  display: none;
}

/* Service scope. Cards are retained where they help users compare offerings. */
.service-detail-page :is(.testimonial18-testimonial17, .testimonial181-testimonial17, .testimonial1811-testimonial17) {
  height: auto !important;
  padding: clamp(64px, 7vw, 96px) 24px !important;
  background: #fff;
}

.service-detail-page :is(.testimonial18-max-width, .testimonial181-max-width, .testimonial1811-max-width) {
  width: min(100%, 1200px) !important;
  max-width: 1200px !important;
  margin: 0 auto;
}

.service-detail-page :is(.testimonial18-content, .testimonial181-content, .testimonial1811-content) {
  display: grid !important;
  width: 100% !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 20px !important;
}

.service-detail-page :is(.testimonial18-text10, .testimonial181-text10, .testimonial1811-text10),
.service-detail-section-title {
  grid-column: 1 / -1;
  margin: 0 0 11px !important;
  color: var(--aspen-service-ink) !important;
  font-size: clamp(32px, 4vw, 48px) !important;
  font-family: "Noto Sans", "Inter", sans-serif !important;
  font-style: normal !important;
  font-weight: 750 !important;
  letter-spacing: -.035em !important;
  line-height: 1.12 !important;
  text-align: left !important;
  text-transform: none !important;
}

.service-detail-page :is(.testimonial18-text10, .testimonial181-text10, .testimonial1811-text10, .service-detail-section-title) * {
  color: inherit !important;
  font: inherit !important;
  letter-spacing: inherit !important;
  line-height: inherit !important;
  text-align: inherit !important;
  text-transform: inherit !important;
}

.service-detail-page :is(
  .testimonial18-column1, .testimonial18-column2, .testimonial18-column3, .testimonial18-column4, .testimonial18-column5,
  .testimonial181-column1, .testimonial181-column2, .testimonial181-column3,
  .testimonial1811-column1, .testimonial1811-column2, .testimonial1811-column3, .testimonial1811-column4,
  .testimonial171-column1, .testimonial171-column2, .testimonial171-column3, .testimonial171-column4,
  .features24-column11, .features24-column12, .features24-column13, .features24-column14,
  .features24-column15, .features24-column16, .features24-column17, .features24-column18
) {
  position: relative;
  inset: auto !important;
  display: flex !important;
  min-width: 0;
  min-height: 190px;
  margin: 0 !important;
  padding: 27px 28px 28px !important;
  flex-direction: column;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 19px !important;
  color: var(--aspen-service-ink);
  border: 1px solid var(--aspen-service-line) !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: none !important;
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.service-detail-page :is(
  .testimonial18-column1, .testimonial18-column2, .testimonial18-column3, .testimonial18-column4, .testimonial18-column5,
  .testimonial181-column1, .testimonial181-column2, .testimonial181-column3,
  .testimonial1811-column1, .testimonial1811-column2, .testimonial1811-column3, .testimonial1811-column4,
  .testimonial171-column1, .testimonial171-column2, .testimonial171-column3, .testimonial171-column4,
  .features24-column11, .features24-column12, .features24-column13, .features24-column14,
  .features24-column15, .features24-column16, .features24-column17, .features24-column18
)::after {
  position: absolute;
  top: -1px;
  left: 28px;
  width: 46px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--aspen-service-green);
  content: "";
}

@media (hover: hover) {
  .service-detail-page :is(
    .testimonial18-column1, .testimonial18-column2, .testimonial18-column3, .testimonial18-column4, .testimonial18-column5,
    .testimonial181-column1, .testimonial181-column2, .testimonial181-column3,
    .testimonial1811-column1, .testimonial1811-column2, .testimonial1811-column3, .testimonial1811-column4,
    .testimonial171-column1, .testimonial171-column2, .testimonial171-column3, .testimonial171-column4,
    .features24-column11, .features24-column12, .features24-column13, .features24-column14,
    .features24-column15, .features24-column16, .features24-column17, .features24-column18
  ):hover {
    transform: translateY(-3px);
    border-color: rgba(16, 132, 119, .42) !important;
    box-shadow: 0 16px 38px rgba(16, 35, 63, .08) !important;
  }
}

.service-detail-page :is(
  .testimonial18-text11, .testimonial18-text13, .testimonial18-text15, .testimonial18-author41, .testimonial18-author42,
  .testimonial181-text11, .testimonial181-text13, .testimonial181-text15,
  .testimonial1811-text11, .testimonial1811-text13, .testimonial1811-text15, .testimonial1811-author4,
  .testimonial171-text11, .testimonial171-text13, .testimonial171-text15, .testimonial171-author4,
  .features24-text11, .features24-text12, .features24-text13, .features24-text14,
  .features24-text15, .features24-text16, .features24-text17, .features24-text18
) {
  display: block !important;
  height: auto !important;
  color: var(--aspen-service-green-dark) !important;
  font-size: 17px !important;
  font-family: "Noto Sans", "Inter", sans-serif !important;
  font-style: normal !important;
  font-weight: 800 !important;
  letter-spacing: .015em;
  line-height: 1.42 !important;
  text-align: left !important;
  text-transform: none;
}

.service-detail-page [class^="testimonial"] [class*="-column"] :is(
  .testimonial18-text11, .testimonial18-text13, .testimonial18-text15, .testimonial18-author41, .testimonial18-author42,
  .testimonial181-text11, .testimonial181-text13, .testimonial181-text15,
  .testimonial1811-text11, .testimonial1811-text13, .testimonial1811-text15, .testimonial1811-author4,
  .testimonial171-text11, .testimonial171-text13, .testimonial171-text15, .testimonial171-author4
) {
  color: var(--aspen-service-green-dark) !important;
}

.service-detail-page :is(
  .testimonial18-text11, .testimonial18-text13, .testimonial18-text15, .testimonial18-author41, .testimonial18-author42,
  .testimonial181-text11, .testimonial181-text13, .testimonial181-text15,
  .testimonial1811-text11, .testimonial1811-text13, .testimonial1811-text15, .testimonial1811-author4,
  .testimonial171-text11, .testimonial171-text13, .testimonial171-text15, .testimonial171-author4,
  .features24-text11, .features24-text12, .features24-text13, .features24-text14,
  .features24-text15, .features24-text16, .features24-text17, .features24-text18
) * {
  color: inherit !important;
  font-size: inherit !important;
  text-transform: inherit !important;
}

.service-detail-page :is(
  .testimonial18-text12, .testimonial18-text14, .testimonial18-text16, .testimonial18-review41, .testimonial18-review42,
  .testimonial181-text12, .testimonial181-text14, .testimonial181-text16,
  .testimonial1811-text12, .testimonial1811-text14, .testimonial1811-text16, .testimonial1811-review4,
  .testimonial171-text12, .testimonial171-text14, .testimonial171-text16, .testimonial171-review4,
  .features24-text21, .features24-text22, .features24-text23, .features24-text24,
  .features24-text25, .features24-text26, .features24-text27, .features24-text28
) {
  display: block !important;
  height: auto !important;
  margin: 0 !important;
  color: var(--aspen-service-muted) !important;
  font-size: 15px !important;
  font-family: "Noto Sans", "Inter", sans-serif !important;
  line-height: 1.72 !important;
  text-align: left !important;
}

/* Human Resources uses its heading and cards in one generated component. */
.service-detail-page .testimonial171-testimonial13 {
  width: 100%;
  height: auto !important;
  padding: clamp(68px, 8vw, 108px) 24px clamp(64px, 7vw, 96px) !important;
  background:
    linear-gradient(180deg, #f2f8f6 0, #f8fbfa 310px, #fff 310px);
  box-sizing: border-box;
}

.service-detail-page .testimonial171-max-width1 {
  display: flex !important;
  width: min(100%, 1200px) !important;
  max-width: 1200px !important;
  height: auto !important;
  margin: 0 auto;
  padding: 0 !important;
  flex-direction: column;
  align-items: flex-start !important;
  gap: 15px !important;
}

.service-detail-page .testimonial171-text10 {
  width: auto !important;
  margin: 0;
  padding: 0 !important;
  color: var(--aspen-service-ink) !important;
  border: 0 !important;
  font-size: clamp(42px, 5.2vw, 68px) !important;
  font-family: "Noto Sans", "Inter", sans-serif !important;
  font-style: normal !important;
  font-weight: 750;
  letter-spacing: -.045em;
  line-height: 1.02;
  text-transform: none !important;
  text-align: left !important;
}

.service-detail-page .testimonial171-text10 * {
  font-family: inherit !important;
  font-style: inherit !important;
  text-transform: none !important;
}

.service-detail-page .testimonial171-max-width2 {
  width: 100% !important;
  max-width: none !important;
  margin-top: 54px;
}

.service-detail-page .testimonial171-content {
  display: grid !important;
  width: 100% !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 20px !important;
}

.service-detail-page .testimonial171-max-width1 > .service-detail-section-title {
  margin-top: clamp(72px, 8vw, 104px) !important;
  margin-bottom: -38px !important;
}

/* Brand Management has eight offerings, so a compact two-column matrix is clearer. */
.service-detail-page .cta3-container1,
.service-detail-page .features24-container {
  width: 100%;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
}

.service-detail-page .hero71-max-width {
  box-shadow: none !important;
}

.service-detail-page .hero71-text1 {
  max-width: 880px;
  font-size: clamp(42px, 5.2vw, 68px) !important;
}

.service-detail-page .hero71-text2,
.service-detail-page .brand-text34 {
  max-width: 690px !important;
  text-align: left !important;
}

.service-detail-page .cta3-container2 {
  width: 100% !important;
  max-width: none !important;
}

.service-detail-page .features24-grid-container {
  display: grid !important;
  width: min(calc(100% - 48px), 1200px) !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: clamp(64px, 7vw, 96px) 0 !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 20px !important;
}

.service-detail-page .features24-grid-container .text1 br {
  display: none;
}

/* Generated pages use four different footer components; present them as one peer-level footer. */
.service-detail-page :is(.footer1-footer1, .footer3-footer4, .footer5-footer8, .footer31-footer4) {
  width: 100% !important;
  min-height: 108px;
  padding: 26px 24px !important;
  border-top: 1px solid var(--aspen-service-line);
  background: #fff !important;
  box-sizing: border-box;
}

.service-detail-page :is(.footer1-max-width1, .footer1-max-width2, .footer3-max-width, .footer5-max-width, .footer31-max-width1, .footer31-max-width2) {
  width: min(100%, 1200px) !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.service-detail-page :is(.footer1-content, .footer3-content, .footer5-content, .footer31-content) {
  display: flex !important;
  width: 100% !important;
  min-height: 54px;
  margin: 0 !important;
  padding: 0 !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px;
}

.service-detail-page :is(.footer1-logo, .footer3-logo, .footer5-logo, .footer31-logo):empty {
  display: none !important;
}

.service-detail-page :is(.footer1-image1, .footer3-image1, .footer5-image1, .footer31-image1) {
  width: 102px !important;
  height: auto !important;
  margin: 0 !important;
}

.service-detail-page :is(.footer1-text1, .footer3-text1, .footer5-text1, .footer31-text1) {
  margin: 0 !important;
  color: var(--aspen-service-muted) !important;
  font-family: "Noto Sans", "Inter", sans-serif !important;
  font-size: 14px !important;
  text-align: right !important;
}

.service-detail-page :is(
  .features24-avatar11, .features24-avatar12, .features24-avatar13, .features24-avatar14,
  .features24-avatar15, .features24-avatar16, .features24-avatar17, .features24-avatar18
) {
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Related updates. The fallback text with legacy encoding is hidden in favor of the clean summary. */
.service-updates {
  padding: clamp(64px, 7vw, 88px) 24px;
  border-top: 1px solid var(--aspen-service-line);
  border-bottom: 1px solid var(--aspen-service-line);
  background: var(--aspen-service-soft);
}

.service-updates-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.service-updates-inner > h2 {
  margin: 0 0 12px !important;
  color: var(--aspen-service-ink) !important;
  font-size: clamp(30px, 3.5vw, 42px) !important;
  font-weight: 750 !important;
  letter-spacing: -.03em;
  line-height: 1.15;
  text-align: left !important;
}

.service-updates-inner > p {
  display: none;
}

.service-updates-inner > .service-updates-summary {
  display: block;
  max-width: 650px;
  margin: 0 0 34px;
  color: var(--aspen-service-muted);
  font-size: 16px;
  line-height: 1.7;
  text-align: left;
}

.service-updates .category-list-container {
  display: grid !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px !important;
}

.service-updates .category-item {
  display: grid !important;
  min-width: 0;
  padding: 12px !important;
  grid-template-columns: 150px 1fr;
  align-items: center !important;
  gap: 18px;
  border: 1px solid var(--aspen-service-line) !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.service-updates .cat-item-img {
  width: 150px !important;
  height: 110px !important;
  margin: 0 !important;
  border-radius: 10px !important;
  object-fit: cover;
}

.service-updates .cat-item-content h4 {
  margin: 0 0 7px;
  color: var(--aspen-service-ink);
  font-size: 17px;
  line-height: 1.35;
}

.service-updates .cat-item-content p {
  margin: 0;
  color: var(--aspen-service-muted);
  font-size: 14px;
  line-height: 1.55;
}

/* Long-form HR article. */
.service-article-page .hero73-header23 {
  display: flex;
  width: 100%;
  height: auto !important;
  min-height: 330px;
  padding: clamp(72px, 8vw, 112px) max(24px, calc((100vw - 1120px) / 2)) !important;
  flex-direction: column;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 18px;
  background:
    radial-gradient(circle at 88% 16%, rgba(16, 132, 119, .12), transparent 27%),
    linear-gradient(135deg, #f7faf9 0%, #eef6f4 100%) !important;
}

.service-article-page .hero73-text1 {
  width: min(100%, 900px) !important;
  height: auto !important;
  margin: 0 !important;
  color: var(--aspen-service-ink) !important;
  font-size: clamp(38px, 5vw, 62px) !important;
  font-weight: 750;
  letter-spacing: -.045em;
  line-height: 1.08 !important;
  text-align: left !important;
  position: static !important;
  inset: auto !important;
}

.service-article-page .features10-layout300 {
  padding: clamp(64px, 7vw, 96px) 24px !important;
  background: #fff;
}

.service-article-page .features10-max-width,
.service-article-page .features10-content {
  width: min(100%, 820px) !important;
  max-width: 820px !important;
  margin: 0 auto;
}

.service-article-page .features10-container {
  color: #314156;
  font-size: 17px;
  line-height: 1.82;
}

.service-article-page :is(.hr-news-text20, .hr-news-text38, .hr-news-text59, .hr-news-text77, .hr-news-text89) {
  display: inline-block;
  margin-top: 28px;
  color: var(--aspen-service-green-dark);
  font-size: clamp(22px, 3vw, 29px) !important;
  font-weight: 750;
  letter-spacing: -.025em;
  line-height: 1.3;
}

.service-article-page .features10-actions {
  display: none;
}

@media (max-width: 767px) {
  .service-detail-page :is(.hero92-header30, .banner11-container, .hero7-header23, .hero71-header23) {
    min-height: 260px;
    padding: 58px 20px !important;
  }

  .service-detail-page :is(.testimonial18-testimonial17, .testimonial181-testimonial17, .testimonial1811-testimonial17),
  .service-detail-page .testimonial171-testimonial13 {
    padding-right: 20px !important;
    padding-left: 20px !important;
  }

  .service-detail-page .testimonial171-max-width1 > .service-detail-section-title {
    margin-bottom: 0 !important;
  }

  .service-detail-page :is(.testimonial18-content, .testimonial181-content, .testimonial1811-content),
  .service-detail-page .testimonial171-content,
  .service-detail-page .features24-grid-container,
  .service-updates .category-list-container {
    grid-template-columns: 1fr !important;
  }

  .service-detail-page .features24-grid-container {
    width: calc(100% - 40px) !important;
    padding-top: 72px !important;
  }

  .service-detail-page :is(
    .testimonial18-column1, .testimonial18-column2, .testimonial18-column3, .testimonial18-column4, .testimonial18-column5,
    .testimonial181-column1, .testimonial181-column2, .testimonial181-column3,
    .testimonial1811-column1, .testimonial1811-column2, .testimonial1811-column3, .testimonial1811-column4,
    .testimonial171-column1, .testimonial171-column2, .testimonial171-column3, .testimonial171-column4,
    .features24-column11, .features24-column12, .features24-column13, .features24-column14,
    .features24-column15, .features24-column16, .features24-column17, .features24-column18
  ) {
    min-height: 0;
    padding: 24px !important;
  }

  .service-updates {
    padding-right: 20px;
    padding-left: 20px;
  }

  .service-updates .category-item {
    grid-template-columns: 112px 1fr;
    text-align: left !important;
  }

  .service-updates .cat-item-img {
    width: 112px !important;
    height: 96px !important;
  }

  .service-article-page .hero73-header23 {
    min-height: 270px;
    padding: 50px 20px !important;
    justify-content: flex-start !important;
    gap: 14px;
  }

  .service-article-page .hero73-text1 {
    font-size: clamp(33px, 9.5vw, 40px) !important;
    line-height: 1.12 !important;
  }

  .service-article-page .service-detail-eyebrow {
    order: -1;
  }

  .service-article-page .features10-layout300 {
    padding: 50px 20px 64px !important;
  }
}

@media (max-width: 479px) {
  .service-updates .category-item {
    grid-template-columns: 1fr;
  }

  .service-updates .cat-item-img {
    width: 100% !important;
    height: 180px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-detail-page .thq-card {
    transition: none !important;
  }
}
