/* =========================
   layout.css
   Layout primitives (portable)
   ========================= */

/* Containers */
.l-container {
  width: min(100% - (2 * var(--gutter)), var(--container));
  margin-inline: auto;
}

.l-container--wide {
  width: min(100% - (2 * var(--gutter)), var(--container-wide));
  margin-inline: auto;
  height: 50%;
}

.l-container--full {
  width: 100%;
  padding-inline: var(--gutter);
}

/* Text measure - use for long-form text only */
.l-prose {
  max-width: var(--measure);
}

/* Section padding */
.l-section {
  padding-block: clamp(2rem, 6vw, 5rem);
  background: var(--brand-7);
}

/* Vertical rhythm */
.l-stack>*+* {
  margin-top: var(--space-5);
}

footer .l-stack {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

footer .l-stack h3 {
  margin-top: var(--space-1);
}

footer .l-stack__links {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: flex-start;
  text-align: left;
  padding-bottom: 2%;
}

footer .l-stack__links:last-child {
  padding-right: 5%;
  align-items: flex-end;
}

footer .l-stack>*+* {
  margin-top: 0;
}


/* Horizontal cluster */
.l-cluster {
  padding-top: calc(2*clamp(2rem, 6vw, 5rem));
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-4);
  flex-wrap: wrap;
}


footer .l-container--wide {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  height: 100%;
}

@media (max-width: 1024px) {
  footer .l-container--wide {
    flex-direction: column;
    align-items: center;
    text-align: center !important;
    gap: var(--space-4);
  }

  footer .l-container--wide .l-stack__links {
    align-items: center;
    text-align: center !important;
      padding-right: 0;

  }
}


/* Grids */
.l-grid {
  display: grid;
  gap: var(--space-5);
}

.l-grid--cards {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.l-grid--split {
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .l-grid--split {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

@media (max-width: 1024px) {

  .ui-hero__content {
    --header-height: 0;
  }
  
  h1.t-display, h2.t-display {
    /* text-align: center;
    text-shadow: rgba(0, 0, 0, 0.3) 1px 1px; */
  }

  h2.t-display span{
display:none;  }
  h1.t-display, .l-cluster {
    margin-top: 15%;
  }

  .l-cluster {
    justify-content: center;
    text-align: center;
  }

}



.l-split {
  display: grid;
  gap: var(--space-7);
  align-items: start;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .l-split {
    grid-template-columns: 1.1fr 0.9fr;
    /* text a touch wider than image */
    align-items: center;
  }
}