/* Home sectors: one heading and introduction, followed by distinct projects. */
body[data-page="home"] #settori .deliverable {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 22px;
}

body[data-page="home"] #settori .sector-heading {
  max-width: 62rem;
}

body[data-page="home"] #settori .sector-heading h3 {
  max-width: 38ch;
  font-size: min(clamp(1.5rem, 2.3vw, 2rem), 17cqi);
  line-height: 1.25;
  text-wrap: pretty;
}

body[data-page="home"] #settori .sector-copy {
  container: sector-projects / inline-size;
  max-width: none;
  padding: 0;
  border: 0;
}

body[data-page="home"] #settori .sector-copy > p {
  max-width: 76ch;
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
}

body[data-page="home"] #settori .sector-project-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 24px 32px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

body[data-page="home"] #settori .sector-project {
  min-width: 0;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--white-line, var(--line));
}

body[data-page="home"] #settori .sector-project h4 {
  margin: 0 0 10px;
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -.015em;
  text-wrap: pretty;
}

body[data-page="home"] #settori .sector-project h4 a {
  color: var(--white-teal, #127180);
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}

body[data-page="home"] #settori .sector-project > p {
  max-width: 66ch;
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
}

body[data-page="home"] #settori .sector-project h4 a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 2px;
}

@container sector-projects (min-width: 44rem) {
  body[data-page="home"] #settori .sector-project-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
