/* Editorial service pages inherit the local microsites' fonts and color palette. */
.service-detail {
  --service-width: 68rem;
  --service-space: clamp(2.75rem, 5.7vw, 5rem);
  --service-accent: #935caa;
  background: var(--surface);
}
.service-detail .container {
  width: min(calc(100% - 2 * var(--gutter)), var(--service-width));
}
.service-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(27rem, 41vw, 39rem);
  padding-block: clamp(2.8rem, 6.4vw, 6.3rem);
  background: var(--deep);
  color: #fff;
}
.service-hero-image {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.service-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, #1d1329fa 0%, #22152fef 33%, #25192ec9 54%, #20162736 100%);
}
.service-hero-content > h1 {
  max-width: 18ch;
  margin-bottom: .33em;
  font-size: clamp(2.4rem, 5.3vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: -.048em;
}
.service-hero-content > p:not(.eyebrow) {
  max-width: 49ch;
  color: #f9f3fc;
  font-size: clamp(1.04rem, 1.5vw, 1.24rem);
}
.service-hero .eyebrow { color: #ead3f6; }
.service-detail :is(.service-hero,.service-cta) .button {
  background: #e8cdf6;
  color: #281232;
}
.service-detail :is(.service-hero,.service-cta) .button:hover { background: #f3e3fc; }
.service-detail :is(.service-hero,.service-cta) .button.secondary {
  border-color: #d9c7de;
  background: #2117288c;
  color: white;
}
.service-detail :is(.service-hero,.service-cta) .button.secondary:hover { background: #4b3558; }
.service-detail :is(.service-hero,.service-cta) :focus-visible { outline-color: #8aefe8; }
.service-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.25rem;
  width: fit-content;
  max-width: 100%;
  margin: 1.55rem 0 0;
  padding: .8rem 0 0;
  list-style: none;
  border-top: 1px solid #ffffff62;
  color: #f7edf9;
  font-size: .9rem;
  font-weight: 570;
}
.service-highlights li::before {
  display: inline-block;
  width: .45rem;
  height: .45rem;
  margin: 0 .5rem .13rem 0;
  border-radius: 50%;
  background: #e7bff5;
  content: "";
}
.service-highlights li {
  display: flex;
  align-items: center;
}
.service-highlights li::before { flex: none; margin-bottom: 0; }
.service-highlights a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fff;
  text-decoration-color: #cbb4d5;
}
.service-highlights a:hover { text-decoration-color: #fff; }
.service-section { padding-block: var(--service-space); }
.service-section h2 {
  max-width: 34ch;
  margin-bottom: .55em;
  font-size: clamp(1.7rem, 3.3vw, 2.65rem);
}
.service-section h2::before {
  display: block;
  width: 2.8rem;
  height: .2rem;
  margin-bottom: .55em;
  background: var(--service-accent);
  content: "";
}
.service-section p { max-width: 69ch; }
.service-section p:last-child, .service-gallery figcaption:last-child { margin-bottom: 0; }
.service-copy { max-width: 70ch; }
.service-tint, .service-locations, .service-related {
  border-block: 1px solid #e6dfea;
  background: var(--tint);
}
.service-locations h2, .service-related h2 {
  margin-inline: auto;
  text-align: center;
}
:is(.service-locations,.service-related) h2::before { margin-inline: auto; }
.service-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}
.service-links a {
  display: flex;
  align-items: center;
  gap: .8rem;
  min-height: 3.2rem;
  height: 100%;
  padding: .7rem 1rem;
  border: 1px solid var(--line);
  border-inline-start: 3px solid #9870a8;
  border-radius: .3rem;
  background: white;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
}
.service-links a::after {
  width: .43rem;
  height: .43rem;
  flex: none;
  margin-inline-start: auto;
  border-block-start: 1.5px solid;
  border-inline-end: 1.5px solid;
  transform: rotate(45deg);
  content: "";
}
.service-links a:hover { border-color: var(--purple); text-decoration: underline; }
.service-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}
.service-cards > :is(article, li, div) {
  padding: clamp(1.05rem, 1.8vw, 1.55rem);
  border: 1px solid var(--line);
  border-radius: .55rem;
  background: var(--surface);
}
.service-cards h3 {
  margin-bottom: .48em;
  color: var(--plum);
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
}
.service-cards p { color: var(--muted); }
ol.service-cards { counter-reset: project-step; }
ol.service-cards > li { counter-increment: project-step; }
ol.service-cards > li > h3::before {
  display: inline-block;
  margin-inline-end: .55em;
  color: var(--purple);
  content: counter(project-step) ".";
  font-variant-numeric: tabular-nums;
}
.service-table { margin-block: 1.3rem; }
.service-table table, table.service-table {
  width: 100%;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #cfc5d4;
  border-radius: .55rem;
  background: white;
}
.service-table :is(th,td) {
  padding: .8rem 1rem;
  border-bottom: 1px solid #e4dfe7;
  text-align: start;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.service-table thead th { background: var(--plum); color: #fff; }
.service-table tbody th { color: var(--plum); }
.service-table tbody tr:nth-child(even) { background: #faf7fc; }
.service-table tbody tr:last-child > * { border-bottom: 0; }
.service-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .25rem;
  width: min(calc(100% - 2 * var(--gutter)), var(--service-width));
  margin: 0 auto;
  overflow: hidden;
  border-radius: .55rem;
  background: #faf8fb;
}
.container .service-gallery { width: 100%; }
.service-gallery > :only-child, .service-gallery-stack > * { grid-column: 1 / -1; }
.service-gallery figure { margin: 0; min-width: 0; }
.service-gallery img {
  width: 100%;
  height: clamp(13rem, 28vw, 23rem);
  object-fit: cover;
}
.service-gallery-stack img { height: clamp(10rem, 22vw, 19rem); }
.service-gallery figcaption { padding: .5rem .8rem; color: var(--muted); font-size: .92rem; }
.service-cta {
  padding-block: var(--service-space);
  border-block: 1px solid #52365e;
  color: white;
  background: radial-gradient(ellipse at 85% 120%, #543561 0%, transparent 57%), var(--deep);
  text-align: center;
}
.service-cta h2, .service-cta p { max-width: 60ch; margin-inline: auto; }
.service-cta p { color: #f4e9f8; }
.service-cta .actions { justify-content: center; }
@media (max-width: 47rem) {
  .service-hero::after {
    background: linear-gradient(90deg, #20132bef 0%, #20132bd9 53%, #20132b99 100%);
  }
  .service-hero-content > h1 { max-width: 21ch; }
  .service-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 36rem) {
  .service-hero { min-height: 0; padding-block: 2.6rem; }
  .service-links, .service-cards { grid-template-columns: 1fr; }
  .service-table :is(th,td) { padding: .65rem .5rem; font-size: .94rem; }
  .service-gallery { grid-template-columns: 1fr; }
  .service-gallery img { height: clamp(10rem, 52vw, 17rem); }
  .service-highlights { gap: .4rem .85rem; }
}
.service-hero.with-photo {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.85fr);gap:clamp(1rem,4vw,4rem);padding-inline:max(var(--gutter),calc((100% - 68rem)/2));}
.service-hero.with-photo .service-hero-content {grid-column:1;grid-row:1;width:100%;margin:0}
.topic-photo {grid-column:2;grid-row:1;margin:0;align-self:center;min-width:0}
.topic-photo img {display:block;max-height:25rem;max-width:100%;width:auto;object-fit:contain;margin:auto}
.topic-photo figcaption {margin:.65rem auto 0;color:#eee2f4;max-width:40ch;font-size:.9rem;text-align:center}
.service-gallery img {object-fit:contain}
@media(max-width:47rem){.service-hero.with-photo {grid-template-columns:1fr}.topic-photo {grid-column:1;grid-row:2}.topic-photo img {max-height:16rem}}
