:root {
}

*,
::before,
::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
}

/* components */
.c-breadcrumb {
  ul {
    display: flex;
    list-style: none;
    padding-inline: 0;
  }

  li {
    &::after {
      content: "›";
      margin-inline: 8px;
    }
  }
}

.c-action-links {
  display: flex;
  gap: 16px;

  a {
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 0.5rem 1rem;
    background: #ddd;
    border-radius: 24px;
  }
}

.c-site-header {
  padding-block: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

/* utils */
.u-clamp-width {
  width: min(60rem, calc(100vw - 32px));
  margin-inline: auto;
}

.u-scroll-main {
  display: grid;
  grid-template-rows: auto 1fr;

  > :nth-child(2) {
    overflow-y: auto;
    scrollbar-gutter: stable;
  }
}

.u-split {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}
