/*
 * Service detail pages
 *
 * The seven service pages intentionally reuse the Luattara v3 design tokens and
 * component geometry. Gold is reserved for decoration or text on dark wine;
 * readable text on light surfaces uses --text, --muted or --wine.
 */

.service-detail {
  overflow: hidden;
  background: #fff;
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--type-body-medium-size);
  line-height: var(--type-body-medium-line);
}

.service-detail h1,
.service-detail h2,
.service-detail h3,
.service-detail p,
.service-detail figure,
.service-detail blockquote {
  margin-top: 0;
}

.service-detail a:focus-visible {
  outline: 3px solid var(--wine);
  outline-offset: 3px;
}

/* Shared hero: extends the system detail banner instead of creating a new one. */
.service-detail-hero {
  padding-bottom: 64px;
}

.service-detail-hero .breadcrumb {
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.service-detail-hero .breadcrumb a,
.service-detail-hero .breadcrumb span,
.service-detail-hero .breadcrumb strong {
  color: #fff;
}

.service-detail-hero .breadcrumb .separator {
  color: var(--gold);
}

.service-detail-hero .breadcrumb a:hover {
  text-decoration: underline;
}

.service-detail-hero a:focus-visible {
  outline-color: #fff;
}

.service-detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 56px;
  align-items: center;
}

.service-detail-hero .detail-banner-copy h1 {
  max-width: 900px;
}

.service-detail-hero .detail-banner-copy p {
  max-width: 780px;
}

.service-detail-hero .about-btn {
  margin-top: 32px;
  background: var(--gold);
  color: var(--wine-deep);
  letter-spacing: var(--type-tracking-action);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.service-detail-hero .about-btn:hover {
  background: #fff;
  color: var(--wine-deep);
}

.service-detail-summary {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow);
}

.service-detail-summary h2 {
  margin: 0 0 20px;
  color: var(--wine);
  font-family: var(--serif);
  font-size: var(--type-title-large-size);
  line-height: var(--type-title-large-line);
  font-weight: var(--type-weight-heading);
}

.service-detail-summary ul {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-detail-summary li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 58px;
  padding-block: 11px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: var(--type-body-small-size);
  line-height: var(--type-body-small-line);
  font-weight: var(--type-weight-title);
}

.service-detail-summary li:last-child {
  border-bottom: 0;
}

.service-detail-summary li::before {
  content: "\2713";
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: var(--wine);
  color: #fff;
  font-weight: var(--type-weight-label);
}

/* Section rhythm and headings follow the 48-64px system spacing. */
.service-detail-section {
  padding-block: 64px;
  background: #fff;
}

.service-detail-section--soft {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #faf8f5;
}

.service-detail-heading {
  max-width: 900px;
  margin-bottom: 36px;
}

.service-detail-heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.service-detail-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--wine);
  font-family: var(--sans);
  font-size: var(--type-label-large-size);
  line-height: var(--type-label-large-line);
  font-weight: var(--type-weight-label);
  letter-spacing: var(--type-tracking-label);
  text-transform: uppercase;
}

.service-detail-heading h2,
.service-detail-copy h2,
.service-detail-insight h2 {
  margin-bottom: 16px;
  color: var(--wine);
  font-family: var(--serif);
  font-size: var(--type-headline-large-size);
  line-height: var(--type-headline-large-line);
  font-weight: var(--type-weight-heading);
}

.service-detail-heading p,
.service-detail-copy > p,
.service-detail-insight p {
  max-width: 800px;
  margin-bottom: 0;
  color: var(--text);
  font-size: var(--type-body-large-size);
  line-height: var(--type-body-large-line);
}

.service-detail-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.service-detail-split--top {
  align-items: start;
}

.service-detail-copy > p + p {
  margin-top: 16px;
}

.service-detail-copy .service-detail-principle {
  margin-top: 28px;
}

.service-detail-media {
  margin: 0;
}

.service-detail-media img {
  width: 100%;
  height: 420px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.service-detail-media figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: var(--type-body-small-size);
  line-height: var(--type-body-small-line);
}

/* Reusable cards: same border, radius and shadow language as service-card-item. */
.service-detail-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.service-detail-cards--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-detail-card {
  position: relative;
  min-width: 0;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.service-detail-card-number {
  position: absolute;
  top: 18px;
  right: 24px;
  color: rgba(116, 16, 18, 0.04);
  font-family: var(--serif);
  font-size: 4.25rem;
  line-height: 0.8;
  font-weight: var(--type-weight-bold);
  letter-spacing: -0.06em;
  pointer-events: none;
  user-select: none;
  -webkit-text-stroke: 1px rgba(116, 16, 18, 0.15);
}

.service-detail-card h3 {
  margin-bottom: 12px;
  color: var(--wine);
  font-family: var(--sans);
  font-size: var(--type-title-large-size);
  line-height: var(--type-title-large-line);
  font-weight: var(--type-weight-title);
}

.service-detail-card p {
  margin-bottom: 0;
  color: var(--text);
  font-size: var(--type-body-small-size);
  line-height: var(--type-body-small-line);
}

.service-detail-card-label {
  display: block;
  margin-bottom: 12px;
  color: var(--wine);
  font-family: var(--sans);
  font-size: var(--type-label-large-size);
  line-height: var(--type-label-large-line);
  font-weight: var(--type-weight-label);
  letter-spacing: var(--type-tracking-label);
  text-transform: uppercase;
}

.service-detail-bullet-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.service-detail-bullet-list li {
  position: relative;
  padding: 12px 0 12px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: var(--type-body-small-size);
  line-height: var(--type-body-small-line);
}

.service-detail-bullet-list li:last-child {
  border-bottom: 0;
}

.service-detail-bullet-list li::before {
  position: absolute;
  top: 12px;
  left: 2px;
  color: var(--wine);
  content: "\2022";
  font-weight: var(--type-weight-label);
}

/* Ordered workflow and checklist variants. */
.service-detail-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.service-detail-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}

.service-detail-list li > span {
  color: var(--wine);
  font-size: var(--type-label-large-size);
  line-height: var(--type-label-large-line);
  font-weight: var(--type-weight-label);
}

.service-detail-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-family: var(--serif);
  font-size: var(--type-title-medium-size);
  line-height: var(--type-title-medium-line);
  font-weight: var(--type-weight-title);
}

.service-detail-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: var(--type-body-small-size);
  line-height: var(--type-body-small-line);
}

.service-detail-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  counter-reset: service-step;
}

.service-detail-process article {
  position: relative;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  counter-increment: service-step;
}

.service-detail-process article::before {
  position: absolute;
  top: 18px;
  right: 24px;
  color: rgba(116, 16, 18, 0.04);
  content: "0" counter(service-step);
  font-family: var(--serif);
  font-size: 4.25rem;
  line-height: 0.8;
  font-weight: var(--type-weight-bold);
  letter-spacing: -0.06em;
  pointer-events: none;
  user-select: none;
  -webkit-text-stroke: 1px rgba(116, 16, 18, 0.15);
}

.service-detail-process h3 {
  margin-bottom: 10px;
  color: var(--wine);
  font-family: var(--sans);
  font-size: var(--type-title-large-size);
  line-height: var(--type-title-large-line);
  font-weight: var(--type-weight-title);
}

.service-detail-process p {
  margin-bottom: 0;
  color: var(--text);
  font-size: var(--type-body-small-size);
  line-height: var(--type-body-small-line);
}

.service-detail-callout {
  padding: 32px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0;
  background: #faf8f5;
}

.service-detail-callout blockquote {
  margin-bottom: 16px;
  color: var(--wine);
  font-family: var(--serif);
  font-size: var(--type-headline-medium-size);
  line-height: var(--type-headline-medium-line);
  font-weight: var(--type-weight-display);
}

.service-detail-callout p {
  margin-bottom: 0;
  color: var(--text);
  font-size: var(--type-body-small-size);
  line-height: var(--type-body-small-line);
}

.service-detail-insight .about-btn {
  margin-top: 28px;
}

/* Page-level variations preserve unique content structures without new palettes. */
.service-detail-principle {
  padding: 32px;
  border-left: 4px solid var(--gold);
  background: #faf8f5;
}

.service-detail-principle p {
  margin: 0;
  color: var(--wine);
  font-family: var(--serif);
  font-size: var(--type-headline-medium-size);
  line-height: var(--type-headline-medium-line);
  font-weight: var(--type-weight-display);
}

.service-detail-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.service-detail-comparison .service-detail-card {
  padding: 32px;
}

/* The established CTA component is reused as the final section. */
.service-detail + .cta,
.service-detail .cta {
  border-top: 0;
}

/* Party branch hero: an institutional manifesto composition informed by the
   team's editorial balance, without reusing its media-card structure. */
.party-branch-page .breadcrumb {
  flex-wrap: wrap;
}

.party-branch-hero {
  padding-block: 48px 80px;
  background: #fff;
}

.party-branch-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 0.86fr);
  gap: clamp(52px, 7vw, 112px);
  align-items: center;
}

.party-branch-hero-copy h1 {
  max-width: 820px;
  margin: 0;
  color: var(--wine);
  font-family: var(--serif);
  font-size: var(--type-display-large-size);
  line-height: var(--type-display-large-line);
  font-weight: var(--type-weight-medium);
}

.party-branch-hero-copy > p {
  max-width: 760px;
  margin: 0;
  color: var(--text);
  font-size: var(--type-body-large-size);
  line-height: var(--type-body-large-line);
}

.party-branch-hero-note {
  display: grid;
  grid-template-columns: minmax(150px, 0.34fr) minmax(0, 1fr);
  gap: 22px;
  margin-top: 26px;
  padding: 20px 22px;
  border-left: 4px solid var(--gold);
  background: #faf8f5;
}

.party-branch-hero-note strong {
  color: var(--wine);
  font-family: var(--serif);
  font-size: var(--type-title-medium-size);
  line-height: var(--type-title-medium-line);
  font-weight: var(--type-weight-title);
}

.party-branch-hero-note span {
  color: var(--text);
  font-size: var(--type-body-small-size);
  line-height: var(--type-body-small-line);
}

.party-branch-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
  margin-top: 30px;
}

.party-branch-text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  color: var(--wine);
  font-size: var(--type-label-large-size);
  line-height: var(--type-label-large-line);
  font-weight: var(--type-weight-label);
  letter-spacing: var(--type-tracking-action);
  border-bottom: 1px solid rgba(116, 16, 18, 0.38);
}

.party-branch-text-link span {
  color: var(--gold);
  font-size: var(--type-icon-action);
  line-height: 1;
  transition: transform 0.2s ease;
}

.party-branch-text-link:hover span {
  transform: translateX(4px);
}

.party-branch-hero-symbol {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid rgba(201, 164, 91, 0.5);
  border-radius: 12px;
  background:
    radial-gradient(circle at 72% 34%, rgba(201, 164, 91, 0.16), transparent 34%),
    linear-gradient(145deg, var(--wine), var(--wine-deep));
  box-shadow: var(--shadow);
  isolation: isolate;
}

.party-branch-hero-symbol::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 58px 58px;
  content: "";
}

.party-branch-hero-symbol::after {
  position: absolute;
  right: -0.05em;
  bottom: 0.08em;
  z-index: -1;
  color: rgba(255, 255, 255, 0.025);
  content: "TARA";
  font-family: var(--serif);
  font-size: clamp(6rem, 11vw, 10rem);
  line-height: 0.72;
  font-weight: var(--type-weight-bold);
  letter-spacing: -0.06em;
}

.party-branch-symbol-index {
  position: absolute;
  top: 34px;
  left: 36px;
  color: var(--gold);
  font-size: var(--type-label-large-size);
  line-height: var(--type-label-large-line);
  font-weight: var(--type-weight-label);
  letter-spacing: var(--type-tracking-label);
}

.party-branch-symbol-orbit {
  position: absolute;
  top: 88px;
  right: clamp(42px, 8vw, 96px);
  display: grid;
  width: 184px;
  aspect-ratio: 1;
  place-content: center;
  border: 1px solid rgba(201, 164, 91, 0.8);
  border-radius: 50%;
  color: #fff;
  text-align: center;
  box-shadow:
    0 0 0 28px rgba(201, 164, 91, 0.07),
    0 0 0 56px rgba(255, 255, 255, 0.035);
}

.party-branch-symbol-orbit span {
  font-family: var(--serif);
  font-size: var(--type-figure-size);
  line-height: 0.78;
  font-weight: var(--type-weight-semibold);
}

.party-branch-symbol-orbit small {
  margin-top: 8px;
  color: var(--gold);
  font-size: var(--type-label-small-size);
  line-height: var(--type-label-small-line);
  font-weight: var(--type-weight-label);
  letter-spacing: 0.28em;
}

.party-branch-symbol-statement {
  position: absolute;
  right: 36px;
  bottom: 90px;
  left: 36px;
  display: grid;
  gap: 7px;
}

.party-branch-symbol-statement small {
  color: var(--gold);
  font-size: var(--type-label-large-size);
  line-height: var(--type-label-large-line);
  font-weight: var(--type-weight-label);
  letter-spacing: var(--type-tracking-label);
  text-transform: uppercase;
}

.party-branch-symbol-statement strong {
  max-width: 430px;
  color: #fff;
  font-family: var(--serif);
  font-size: var(--type-headline-medium-size);
  line-height: var(--type-headline-medium-line);
  font-weight: var(--type-weight-heading);
}

.party-branch-symbol-values {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.party-branch-symbol-values span {
  padding: 18px 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--type-label-small-size);
  line-height: var(--type-label-small-line);
  font-weight: var(--type-weight-semibold);
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.party-branch-symbol-values span:first-child {
  border-left: 0;
}

/* The seventh service is featured only in the two-column directory grid. */
.services-directory-card--featured {
  min-height: 300px;
  border-color: rgba(116, 16, 18, 0.28);
  background:
    linear-gradient(120deg, #fff 0%, #fff 58%, rgba(116, 16, 18, 0.055) 100%);
  grid-column: 1 / -1;
  grid-template-columns: 112px minmax(0, 1fr) 190px;
  grid-template-rows: 1fr;
  gap: 34px;
  align-items: center;
}

.services-directory-card--featured::before {
  width: 6px;
  height: 100%;
}

.services-directory-card--featured .services-directory-card-head {
  display: grid;
  gap: 22px;
  margin: 0;
  justify-items: start;
}

.services-directory-card--featured .services-directory-card-link {
  min-height: 0;
  margin: 0;
  padding: 18px 0;
  border-top: 0;
  border-bottom: 1px solid var(--line);
}

/* Debt recovery: dossier assessment, decision routes and a controlled
   progression replace the image-led composition used by other services. */
.debt-assessment-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.08fr);
  gap: clamp(48px, 7vw, 104px);
  align-items: start;
}

.debt-assessment-board {
  position: relative;
  display: grid;
  margin: 0;
  padding: 18px 34px;
  overflow: hidden;
  border-radius: 12px;
  background:
    radial-gradient(circle at 100% 0, rgba(201, 164, 91, 0.18), transparent 34%),
    var(--wine-deep);
  box-shadow: var(--shadow);
}

.debt-assessment-board::after {
  position: absolute;
  right: -0.08em;
  bottom: -0.12em;
  color: rgba(255, 255, 255, 0.025);
  content: "HỒ SƠ";
  font-family: var(--serif);
  font-size: clamp(4.5rem, 8vw, 8rem);
  line-height: 1;
  font-weight: var(--type-weight-bold);
  letter-spacing: -0.06em;
  pointer-events: none;
}

.debt-assessment-board > div {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  padding-block: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.debt-assessment-board > div:last-child {
  border-bottom: 0;
}

.debt-assessment-board dt {
  color: var(--gold);
  font-size: var(--type-label-large-size);
  line-height: var(--type-label-large-line);
  font-weight: var(--type-weight-label);
}

.debt-assessment-board dd {
  display: grid;
  gap: 4px;
  margin: 0;
}

.debt-assessment-board strong {
  color: #fff;
  font-family: var(--serif);
  font-size: var(--type-title-medium-size);
  line-height: var(--type-title-medium-line);
  font-weight: var(--type-weight-title);
}

.debt-assessment-board dd span {
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--type-body-small-size);
  line-height: var(--type-body-small-line);
}

.debt-routes-section {
  padding-bottom: 88px;
}

.debt-route-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.debt-route-grid::before {
  position: absolute;
  top: 47px;
  right: 10%;
  left: 10%;
  height: 1px;
  background: rgba(116, 16, 18, 0.2);
  content: "";
}

.debt-route-card {
  position: relative;
  min-height: 310px;
  padding: 30px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--wine);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(44, 13, 10, 0.06);
}

.debt-route-card--security {
  margin-top: 28px;
  border-color: var(--wine);
  background: var(--wine);
  box-shadow: 0 18px 38px rgba(87, 5, 8, 0.18);
}

.debt-route-number {
  position: relative;
  z-index: 1;
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--wine);
  font-size: var(--type-label-large-size);
  line-height: var(--type-label-large-line);
  font-weight: var(--type-weight-label);
}

.debt-route-label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: var(--type-label-small-size);
  line-height: var(--type-label-small-line);
  font-weight: var(--type-weight-label);
  letter-spacing: var(--type-tracking-label);
  text-transform: uppercase;
}

.debt-route-card h3 {
  margin-bottom: 12px;
  color: var(--wine);
  font-family: var(--sans);
  font-size: var(--type-title-large-size);
  line-height: var(--type-title-large-line);
  font-weight: var(--type-weight-heading);
}

.debt-route-card p {
  margin-bottom: 0;
  color: var(--text);
  font-size: var(--type-body-small-size);
  line-height: var(--type-body-small-line);
}

.debt-route-card--security .debt-route-label {
  color: var(--gold);
}

.debt-route-card--security h3,
.debt-route-card--security p {
  color: #fff;
}

.debt-timeline-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.66fr) minmax(0, 1.14fr);
  gap: clamp(48px, 8vw, 124px);
  align-items: start;
}

.debt-recovery-timeline {
  position: relative;
  display: grid;
  margin: 0;
  padding: 0 0 0 32px;
  list-style: none;
}

.debt-recovery-timeline::before {
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 11px;
  width: 1px;
  background: var(--line);
  content: "";
}

.debt-recovery-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  padding: 0 0 26px;
}

.debt-recovery-timeline li:last-child {
  padding-bottom: 0;
}

.debt-recovery-timeline li::before {
  position: absolute;
  top: 8px;
  left: -26px;
  width: 12px;
  height: 12px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--wine);
  box-shadow: 0 0 0 1px var(--wine);
  content: "";
}

.debt-recovery-timeline li > span {
  color: var(--wine);
  font-size: var(--type-label-large-size);
  line-height: var(--type-label-large-line);
  font-weight: var(--type-weight-label);
}

.debt-recovery-timeline strong {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
  font-family: var(--serif);
  font-size: var(--type-title-medium-size);
  line-height: var(--type-title-medium-line);
  font-weight: var(--type-weight-title);
}

.debt-recovery-timeline p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: var(--type-body-small-size);
  line-height: var(--type-body-small-line);
}

/* Community journal: editorial cover and layered lead story distinguish this
   page from the institutional service-detail composition. */
.community-social-page .community-service-hero {
  padding-top: 24px;
}

.community-social-page .community-service-hero .breadcrumb {
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.community-social-page .community-service-hero .breadcrumb a,
.community-social-page .community-service-hero .breadcrumb span,
.community-social-page .community-service-hero .breadcrumb strong {
  color: rgba(255, 255, 255, 0.82);
}

.community-social-page .community-service-hero .breadcrumb .separator {
  color: var(--gold);
}

.community-social-page .community-service-hero .breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

.community-social-page summary:focus-visible {
  outline: 3px solid var(--wine);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .debt-assessment-grid,
  .debt-timeline-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .debt-route-grid {
    grid-template-columns: 1fr;
  }

  .debt-route-grid::before {
    display: none;
  }

  .debt-route-card,
  .debt-route-card--security {
    min-height: 0;
    margin-top: 0;
  }

  .party-branch-hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .party-branch-hero-symbol {
    width: min(100%, 760px);
  }

  .service-detail-hero-grid,
  .service-detail-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .service-detail-summary {
    max-width: 760px;
  }

  .service-detail-cards,
  .service-detail-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-detail-split .service-detail-media {
    order: 0;
  }
}

@media (max-width: 720px) {
  .services-directory-card--featured {
    min-height: 0;
    grid-column: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    gap: 0;
  }

  .services-directory-card--featured .services-directory-card-head {
    display: flex;
    margin-bottom: 26px;
    justify-items: normal;
  }

  .services-directory-card--featured .services-directory-card-link {
    min-height: 48px;
    margin-top: 28px;
    padding-top: 18px;
    padding-bottom: 0;
    border-top: 1px solid var(--line);
    border-bottom: 0;
  }

  .debt-assessment-board {
    padding: 10px 22px;
  }

  .debt-assessment-board > div {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
  }

  .debt-route-card {
    padding: 24px;
  }

  .debt-recovery-timeline {
    padding-left: 28px;
  }

  .debt-recovery-timeline li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
  }

  .party-branch-hero {
    padding-block: 28px 52px;
  }

  .party-branch-hero-copy h1 {
    font-size: var(--type-mobile-heading-xl-size);
    line-height: var(--type-mobile-heading-xl-line);
  }

  .party-branch-hero-copy > p {
    font-size: var(--type-body-medium-size);
    line-height: var(--type-body-medium-line);
  }

  .party-branch-hero-note {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px;
  }

  .party-branch-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .party-branch-hero-actions .about-btn {
    width: 100%;
    justify-content: center;
  }

  .party-branch-text-link {
    width: fit-content;
  }

  .party-branch-hero-symbol {
    min-height: 440px;
  }

  .party-branch-symbol-index {
    top: 26px;
    left: 24px;
  }

  .party-branch-symbol-orbit {
    top: 78px;
    right: 50%;
    width: 154px;
    transform: translateX(50%);
  }

  .party-branch-symbol-statement {
    right: 24px;
    bottom: 82px;
    left: 24px;
  }

  .party-branch-symbol-statement strong {
    font-size: var(--type-title-large-size);
    line-height: var(--type-title-large-line);
  }

  .service-detail-hero {
    padding-bottom: 48px;
  }

  .service-detail-hero .breadcrumb {
    margin-bottom: 28px;
  }

  .service-detail-hero .detail-banner-copy h1 {
    font-size: var(--type-mobile-heading-xl-size);
    line-height: var(--type-mobile-heading-xl-line);
  }

  .service-detail-hero .detail-banner-copy p {
    font-size: var(--type-body-medium-size);
    line-height: var(--type-body-medium-line);
  }

  .service-detail-summary {
    padding: 24px;
  }

  .service-detail-section {
    padding-block: 48px;
  }

  .service-detail-heading h2,
  .service-detail-copy h2,
  .service-detail-insight h2 {
    font-size: var(--type-mobile-heading-large-size);
    line-height: var(--type-mobile-heading-large-line);
  }

  .service-detail-heading p,
  .service-detail-copy > p,
  .service-detail-insight p {
    font-size: var(--type-body-medium-size);
    line-height: var(--type-body-medium-line);
  }

  .service-detail-cards,
  .service-detail-cards--two,
  .service-detail-process,
  .service-detail-comparison {
    grid-template-columns: 1fr;
  }

  .service-detail-media img {
    height: 320px;
  }

  .service-detail-principle,
  .service-detail-callout,
  .service-detail-comparison .service-detail-card {
    padding: 24px;
  }

  .service-detail .cta-copy h2 {
    font-size: var(--type-mobile-heading-large-size);
    line-height: var(--type-mobile-heading-large-line);
  }

  .community-social-page .community-service-hero .breadcrumb {
    margin-bottom: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-detail .about-btn {
    transition: none;
  }

  .service-detail .about-btn:hover {
    transform: none;
  }
}
