/* Public-page refinements. This file is not loaded on any estimate route. */
.site-refresh {
  --section-space: 40px;
}
.site-refresh .header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
}
.site-refresh .header nav {
  justify-content: center;
}
.site-refresh .header-call {
  white-space: nowrap;
}
.site-refresh .wrap {
  padding-block: var(--section-space);
}
.site-refresh .page-intro {
  margin-bottom: 28px;
  padding-bottom: 0;
}
.site-refresh .page-intro h1,
.site-refresh .article h1 {
  margin-block: 0 16px;
  font-size: clamp(28px, 4vw, 34px);
  line-height: 1.2;
}
.site-refresh .page-intro p {
  max-width: 65ch;
  margin: 12px 0 0;
  color: var(--muted);
}
.site-refresh .page-intro > .text-link,
.site-refresh .article > .text-link {
  display: inline-block;
  margin-bottom: 24px;
}
.site-refresh .filters {
  margin-bottom: 28px;
}
.site-refresh .filters a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.site-refresh .project-card small {
  font-size: 14px;
}
.site-refresh .article {
  /* The shared wide-page gutter must not consume a narrow article column. */
  width: min(100%, 800px);
  padding-inline: 24px;
}
.site-refresh summary {
  cursor: pointer;
  padding-block: 12px;
}
.site-refresh ::selection {
  background: #f2d9d7;
  color: #262626;
}
@media (max-width: 1000px) {
  .site-refresh .header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 20px;
  }
  .site-refresh .header > .brand {
    grid-column: 1;
    grid-row: 1;
  }
  .site-refresh .header-call {
    grid-column: 2;
    grid-row: 1;
  }
  .site-refresh .header nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    border-top: 1px solid var(--line);
    padding-top: 8px;
    gap: 8px 24px;
  }
  .site-refresh .header nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-block: 8px;
  }
}
@media (max-width: 700px) {
  .site-refresh {
    --section-space: 32px;
  }
  .site-refresh .header {
    padding-block: 16px 8px;
  }
  .site-refresh .header-call span {
    display: none;
  }
  .site-refresh .brand-logo {
    width: 150px;
  }
}
@media (max-width: 380px) {
  .site-refresh .header {
    gap: 8px 12px;
  }
  .site-refresh .brand-logo {
    width: 125px;
  }
  .site-refresh .header-call {
    font-size: 14px;
  }
  .site-refresh .header nav {
    gap: 4px 20px;
  }
}
