.helloch-container {
  width: min(100% - 2rem, var(--helloch-container));
  margin-inline: auto;
}

.helloch-container--narrow {
  width: min(100% - 2rem, var(--helloch-container-narrow));
  margin-inline: auto;
}

.helloch-site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  max-width: 100%;
}

.helloch-main {
  flex: 1;
  padding-block: var(--helloch-space-xl);
}

.helloch-main--home {
  padding-block: 0;
}

.helloch-grid {
  display: grid;
  gap: var(--helloch-space-lg);
}

.helloch-grid--2 {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.helloch-grid--3 {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.helloch-article-layout {
  display: grid;
  gap: var(--helloch-space-xl);
  min-width: 0;
  max-width: 100%;
}

.helloch-article,
.helloch-article__content,
.helloch-article__sidebar {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 959px) {
  .helloch-container {
    width: min(100% - 1rem, var(--helloch-container));
  }

  .helloch-main {
    padding-block: var(--helloch-space-lg);
  }

  .helloch-article__sidebar {
    position: static;
  }
}

@media (min-width: 960px) {
  .helloch-article-layout {
    grid-template-columns: 1fr 280px;
    align-items: start;
  }
}

.helloch-section {
  margin-bottom: var(--helloch-space-2xl);
}

.helloch-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--helloch-space-md);
  margin-bottom: var(--helloch-space-lg);
  padding-bottom: var(--helloch-space-sm);
  border-bottom: 2px solid var(--helloch-color-border);
}

.helloch-section__title {
  margin: 0;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

.helloch-section__link {
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
}

.helloch-page-header {
  margin-bottom: var(--helloch-space-xl);
}

.helloch-page-header__title {
  margin-bottom: var(--helloch-space-sm);
}

.helloch-page-header__lead {
  font-size: 1.25rem;
  color: var(--helloch-color-muted);
  max-width: 42rem;
}

.helloch-prose {
  max-width: 42rem;
}

.helloch-prose--wide {
  max-width: none;
  width: 100%;
}

.helloch-article__content.helloch-prose--wide > .agc-article {
  max-width: none;
  width: 100%;
}

.helloch-prose h2 {
  margin-top: var(--helloch-space-xl);
  margin-bottom: var(--helloch-space-md);
}

.helloch-prose ul,
.helloch-prose ol {
  padding-left: 1.25rem;
  margin-bottom: var(--helloch-space-md);
}

.helloch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--helloch-font-sans);
  border-radius: var(--helloch-radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.helloch-btn--primary {
  background: var(--helloch-color-accent);
  color: #fff;
  border-color: var(--helloch-color-accent);
}

.helloch-btn--primary:hover {
  background: var(--helloch-color-accent-hover);
  border-color: var(--helloch-color-accent-hover);
  color: #fff;
}

.helloch-btn--outline {
  background: transparent;
  color: var(--helloch-color-text);
  border-color: var(--helloch-color-border);
}

.helloch-btn--outline:hover {
  border-color: var(--helloch-color-text);
  color: var(--helloch-color-text);
}
