/* AZD Team — practical service index, 16 November 2026.
   Eight native details rows; old central-detail classes remain runtime hooks.
   Scope is deliberately limited to the new central services section. */

/* Keep the three homepage service titles aligned when summaries wrap. */
body #root#root .azd-public-shell #servicii-acasa .azd-unified-services__applications > a {
  align-items: start;
}
body #root#root .azd-public-shell #servicii-acasa .azd-unified-services__applications > a > span {
  align-self: center;
}

body #root#root .azd-public-shell .azd-services-editorial {
  --service-ink: #1c2d39;
  --service-muted: #596b76;
  --service-line: #d8e0e3;
  --service-paper: #f5f8f7;
  --service-accent: #274b60;
  box-sizing: border-box;
  width: calc(100% - 80px);
  max-width: 1400px;
  min-width: 0;
  margin: 44px auto 52px;
  padding: 0;
  color: var(--service-ink);
  scroll-margin-top: 100px;
}

body #root#root .azd-public-shell .azd-services-editorial__heading {
  display: block;
  max-width: 880px;
  margin: 0 0 32px;
  padding: 0;
  border: 0;
}
body #root#root .azd-public-shell .azd-services-editorial__heading :is(.azd-services-editorial__eyebrow, .home-eyebrow) {
  display: block;
  margin: 0 0 13px;
  color: var(--service-muted);
  font-size: 11px !important;
  font-weight: 650 !important;
  line-height: 1.5 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase;
}
body #root#root .azd-public-shell .azd-services-editorial__heading h2 {
  margin: 0 0 16px !important;
  color: var(--service-ink) !important;
  font-size: clamp(30px, 3.2vw, 44px) !important;
  font-weight: 350 !important;
  line-height: 1.15 !important;
  letter-spacing: -.035em !important;
  text-wrap: balance;
}
body #root#root .azd-public-shell .azd-services-editorial__heading > p {
  max-width: 76ch;
  margin: 0 !important;
  color: var(--service-muted) !important;
  font-size: 16px !important;
  line-height: 1.75 !important;
  text-wrap: pretty;
}
body #root#root .azd-public-shell .azd-services-editorial__list {
  min-width: 0;
  border-top: 1px solid var(--service-line);
}

/* One continuous list, rather than another grid of cards. */
body #root#root .azd-public-shell .azd-services-editorial .azd-service-section {
  box-sizing: border-box;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--service-line) !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  overflow: visible !important;
  scroll-margin-top: 100px;
}
body #root#root .azd-public-shell .azd-services-editorial .azd-service-section > summary {
  box-sizing: border-box;
  display: grid !important;
  grid-template-columns: 48px minmax(0, 1fr) 36px;
  align-items: center !important;
  gap: 24px !important;
  min-height: 108px !important;
  margin: 0 !important;
  padding: 25px 8px 25px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--service-ink) !important;
  list-style: none;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(39, 75, 96, .07);
}
body #root#root .azd-public-shell .azd-services-editorial .azd-service-section > summary::-webkit-details-marker {
  display: none;
}
body #root#root .azd-public-shell .azd-services-editorial .azd-service-section > summary::marker {
  content: "";
}
body #root#root .azd-public-shell .azd-services-editorial .azd-service-section__number {
  align-self: start;
  padding-top: 2px;
  color: #708692;
  font-size: 27px;
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
body #root#root .azd-public-shell .azd-services-editorial .azd-service-section__heading {
  display: block;
  min-width: 0;
}
body #root#root .azd-public-shell .azd-services-editorial .azd-service-section > summary strong {
  display: block;
  margin: 0 !important;
  color: var(--service-ink) !important;
  font-size: clamp(20px, 1.65vw, 24px) !important;
  font-weight: 450 !important;
  line-height: 1.3 !important;
  letter-spacing: -.02em !important;
  text-wrap: pretty;
}
body #root#root .azd-public-shell .azd-services-editorial .azd-service-section > summary small {
  display: block;
  max-width: 92ch;
  margin: 7px 0 0 !important;
  color: var(--service-muted) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
  letter-spacing: 0 !important;
  text-wrap: pretty;
}
body #root#root .azd-public-shell .azd-services-editorial .azd-service-section__indicator {
  box-sizing: border-box;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #c5d2d9;
  border-radius: 5px;
  background: #fff;
  color: var(--service-accent);
  font-size: 23px;
  font-weight: 300;
  line-height: 1;
  transition: transform 160ms ease, border-color 160ms ease;
}
body #root#root .azd-public-shell .azd-services-editorial .azd-service-section[open] > summary {
  background: transparent !important;
  border: 0 !important;
}
body #root#root .azd-public-shell .azd-services-editorial .azd-service-section[open] .azd-service-section__number {
  color: var(--service-accent);
}
body #root#root .azd-public-shell .azd-services-editorial .azd-service-section[open] > summary .azd-service-section__indicator {
  border-color: #91a9b7;
  transform: rotate(45deg);
}

/* Content and preparation share a compact two-column reading area. */
body #root#root .azd-public-shell .azd-services-editorial .azd-service-section[open] > .azd-service-section__body {
  box-sizing: border-box;
  display: grid !important;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 1fr);
  align-items: start;
  gap: 24px 40px;
  min-width: 0;
  padding: 0 8px 32px 72px !important;
  color: var(--service-muted) !important;
  font-size: 15px !important;
  line-height: 1.8 !important;
}
body #root#root .azd-public-shell .azd-services-editorial :is(.azd-service-section__copy, .azd-service-section__aside) {
  box-sizing: border-box;
  min-width: 0;
  margin: 0 !important;
}
body #root#root .azd-public-shell .azd-services-editorial .azd-service-section__copy > :first-child {
  margin-top: 0 !important;
}
body #root#root .azd-public-shell .azd-services-editorial .azd-service-section__body :is(h3, h4) {
  margin: 22px 0 10px !important;
  color: var(--service-ink) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  letter-spacing: -.01em !important;
}
body #root#root .azd-public-shell .azd-services-editorial .azd-service-section__body p {
  max-width: 76ch;
  margin: 0 0 14px !important;
  color: var(--service-muted) !important;
  font-size: 15px !important;
  line-height: 1.8 !important;
}
body #root#root .azd-public-shell .azd-services-editorial .azd-service-section__body ul {
  margin: 0 0 16px;
  padding-left: 18px;
  color: var(--service-muted);
  list-style: disc;
}
body #root#root .azd-public-shell .azd-services-editorial .azd-service-section__body li {
  margin: 7px 0;
  padding-left: 3px;
  font-size: 14px !important;
  line-height: 1.75 !important;
}
body #root#root .azd-public-shell .azd-services-editorial .azd-service-section__body li::marker {
  color: #7c929e;
}
body #root#root .azd-public-shell .azd-services-editorial .azd-service-section__body a {
  color: var(--service-accent);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
body #root#root .azd-public-shell .azd-services-editorial .azd-service-section__aside {
  position: static !important;
  height: auto !important;
  max-height: none !important;
  padding: 22px 24px;
  border: 1px solid #e0e7e7;
  border-radius: 6px;
  background: var(--service-paper) !important;
  box-shadow: none;
  overflow: visible !important;
}
body #root#root .azd-public-shell .azd-services-editorial .azd-service-section__aside > :first-child {
  margin-top: 0 !important;
}
body #root#root .azd-public-shell .azd-services-editorial .azd-service-section__aside > :last-child,
body #root#root .azd-public-shell .azd-services-editorial .azd-service-section__copy > :last-child {
  margin-bottom: 0 !important;
}
body #root#root .azd-public-shell .azd-services-editorial .azd-service-section__actions {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 0;
  padding: 0;
}
body #root#root .azd-public-shell .azd-services-editorial .azd-service-section__actions > a {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  max-width: 100%;
  padding: 10px 0;
  color: var(--service-accent);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  white-space: normal;
  text-decoration: underline;
  text-underline-offset: 5px;
}
body #root#root .azd-public-shell .azd-services-editorial .azd-service-section__actions > a.azd-service-section__primary {
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--service-ink);
  border-radius: 6px;
  background: var(--service-ink);
  color: #fff;
  text-decoration: none;
}
body #root#root .azd-public-shell .azd-services-editorial :is(summary, a):focus-visible {
  outline: 3px solid #84a4b6 !important;
  outline-offset: 3px !important;
}
body #root#root .azd-public-shell .azd-services-editorial .azd-service-section > summary:focus-visible {
  outline-offset: -4px !important;
}

@media (hover: hover) and (pointer: fine) {
  body #root#root .azd-public-shell .azd-services-editorial .azd-service-section:not([open]) > summary:hover {
    background: #f8faf9 !important;
  }
  body #root#root .azd-public-shell .azd-services-editorial .azd-service-section > summary:hover .azd-service-section__indicator {
    border-color: var(--service-accent);
  }
  body #root#root .azd-public-shell .azd-services-editorial .azd-service-section__actions > a.azd-service-section__primary:hover {
    border-color: var(--service-accent);
    background: var(--service-accent);
  }
}

@media (max-width: 900px) {
  body #root#root .azd-public-shell .azd-services-editorial {
    width: calc(100% - 40px);
    margin-block: 36px 44px;
    scroll-margin-top: 82px;
  }
  body #root#root .azd-public-shell .azd-services-editorial .azd-service-section {
    scroll-margin-top: 82px;
  }
  body #root#root .azd-public-shell .azd-services-editorial .azd-service-section[open] > .azd-service-section__body {
    grid-template-columns: minmax(0, 1fr) minmax(230px, .85fr);
    gap: 22px;
    padding-left: 0 !important;
  }
}
@media (max-width: 700px) {
  body #root#root .azd-public-shell .azd-services-editorial__heading {
    margin-bottom: 26px;
  }
  body #root#root .azd-public-shell .azd-services-editorial__heading h2 {
    font-size: 32px !important;
    line-height: 1.18 !important;
  }
  body #root#root .azd-public-shell .azd-services-editorial__heading > p {
    font-size: 15px !important;
  }
  body #root#root .azd-public-shell .azd-services-editorial .azd-service-section > summary {
    grid-template-columns: 31px minmax(0, 1fr) 30px;
    align-items: start !important;
    gap: 12px !important;
    min-height: 104px !important;
    padding: 22px 0 !important;
  }
  body #root#root .azd-public-shell .azd-services-editorial .azd-service-section__number {
    font-size: 23px;
  }
  body #root#root .azd-public-shell .azd-services-editorial .azd-service-section > summary strong {
    font-size: 20px !important;
    line-height: 1.35 !important;
  }
  body #root#root .azd-public-shell .azd-services-editorial .azd-service-section > summary small {
    margin-top: 8px !important;
    font-size: 13px !important;
  }
  body #root#root .azd-public-shell .azd-services-editorial .azd-service-section__indicator {
    width: 30px;
    height: 30px;
    font-size: 21px;
  }
  body #root#root .azd-public-shell .azd-services-editorial .azd-service-section[open] > .azd-service-section__body {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding: 0 0 28px !important;
  }
  body #root#root .azd-public-shell .azd-services-editorial .azd-service-section__aside {
    padding: 20px;
  }
  body #root#root .azd-public-shell .azd-services-editorial .azd-service-section__actions {
    gap: 8px 20px;
  }
}
@media (max-width: 380px) {
  body #root#root .azd-public-shell .azd-services-editorial {
    width: calc(100% - 32px);
  }
  body #root#root .azd-public-shell .azd-services-editorial__heading h2 {
    font-size: 29px !important;
  }
  body #root#root .azd-public-shell .azd-services-editorial .azd-service-section > summary {
    grid-template-columns: 28px minmax(0, 1fr) 28px;
    gap: 10px !important;
  }
  body #root#root .azd-public-shell .azd-services-editorial .azd-service-section > summary strong {
    font-size: 19px !important;
  }
  body #root#root .azd-public-shell .azd-services-editorial .azd-service-section__indicator {
    width: 28px;
    height: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body #root#root .azd-public-shell .azd-services-editorial,
  body #root#root .azd-public-shell .azd-services-editorial .azd-service-section {
    scroll-behavior: auto !important;
  }
  body #root#root .azd-public-shell .azd-services-editorial .azd-service-section__indicator {
    transition: none !important;
  }
}
