.gear-sections {
  margin-top: 30px;
}
.gear-section {
  margin: 30px 0 46px;
}
.gear-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}
.gear-card {
  background: white;
  border: 1px solid #c5d3f5;
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.gear-card img {
  width: 100%;
  height: 235px;
  object-fit: contain;
  background: white;
  border-radius: 12px;
}
.gear-card h3 {
  font-size: 23px;
  line-height: 1.25;
  margin: 20px 0 10px;
}
.gear-card p {
  line-height: 1.6;
}
.gear-card a {
  margin-top: auto;
}
.gear-section:nth-child(2) {
  border-top: 3px solid #b8dfe7;
  padding-top: 24px;
}
.gear-section:nth-child(3) {
  border-top: 3px solid #d7c7ef;
  padding-top: 24px;
}
#gear-form {
  max-width: 760px;
}
#gear-form textarea {
  min-height: 110px;
}
.gear-admin-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.gear-section {
  --gear-bg: var(--paper);
  --gear-border: #b7c9ea;
  --gear-accent: #2a4d91;
  background: var(--gear-bg);
  border: 1px solid var(--gear-border);
  border-radius: 28px;
  padding: 28px;
  margin: 28px 0 40px;
  overflow: hidden;
}
.gear-section.gear-section-1 {
  --gear-bg: #f2f4f7;
  --gear-border: #d1c3e8;
  --gear-accent: #665292;
}
.gear-section.gear-section-2 {
  --gear-bg: #f2f4f7;
  --gear-border: #b6d7d5;
  --gear-accent: #326b74;
}
.gear-section.gear-section-3 {
  --gear-bg: #f2f4f7;
  --gear-border: #e9c5c2;
  --gear-accent: #945a61;
}
.gear-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 170px;
  margin-bottom: 20px;
}
.gear-section-heading h2 {
  font:
    400 clamp(30px, 4vw, 43px)/1.15 Georgia,
    serif;
  color: #172f55;
  margin: 10px 0 14px;
}
.gear-section-heading p {
  margin: 0;
  max-width: 430px;
  color: #425775;
}
.gear-section-heading .eyebrow {
  color: var(--gear-accent);
  font-size: 11px;
  letter-spacing: 0.16em;
}
.gear-section-art {
  width: 260px;
  height: 179px;
  object-fit: contain;
  flex-shrink: 0;
}
.gear-card {
  border-color: var(--gear-border);
  box-shadow: 0 6px 16px #28466a08;
  max-width: 430px;
}
.gear-card h3 {
  color: #172f55;
}
.gear-card p {
  color: #425775;
}
@media (max-width: 650px) {
  .gear-section {
    padding: 20px;
    border-radius: 22px;
  }
  .gear-section-heading {
    gap: 8px;
    align-items: flex-start;
    flex-direction: column;
  }
  .gear-section-art {
    width: 210px;
    height: 144px;
    align-self: flex-end;
    margin-top: -8px;
  }
  .gear-grid {
    grid-template-columns: 1fr;
  }
  .gear-card {
    max-width: none;
  }
  .gear-section-heading h2 {
    font-size: 32px;
  }
}
.public-page .primary {
  background: #3455ef;
  border-color: #3455ef;
  color: #fff;
}
.public-page .primary:hover {
  background: #2342ce;
  border-color: #2342ce;
}
.public-page .primary:focus-visible {
  outline: 3px solid #8ba7ff;
  outline-offset: 3px;
}
