:root {
  --education-contact-accent: #f04f49;
  --education-contact-dark: #111319;
  --education-contact-muted: #62656d;
  --education-contact-line: #eaded8;
}

.actions .primary,
.actions .secondary {
  border: 1px solid var(--education-contact-accent);
}

.actions .primary {
  color: #fff;
  background: var(--education-contact-accent);
}

.actions .secondary {
  color: var(--education-contact-dark);
  background: #fff;
}

.education-faq {
  padding: 0 0 72px;
}

.education-faq > h2 {
  margin: 0 0 24px;
  font-family: Georgia, serif;
  font-size: clamp(34px, 5vw, 58px);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.faq-grid article {
  padding: 26px;
  border: 1px solid var(--education-contact-line);
  border-radius: 24px;
  background: #fff;
}

.faq-grid h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.faq-grid p {
  margin: 0;
  color: var(--education-contact-muted);
  line-height: 1.6;
}

.faq-grid a {
  color: #b12f2b;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.notice-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.notice .notice-actions a {
  justify-content: center;
  white-space: nowrap;
}

.notice .notice-actions a:not(:first-child) {
  color: #fff;
  border: 1px solid #6f7076;
  background: transparent;
}

@media (max-width: 800px) {
  h1 {
    font-size: clamp(42px, 12vw, 56px);
    letter-spacing: -0.045em;
    overflow-wrap: anywhere;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .notice-actions {
    justify-content: flex-start;
  }

  .notice .notice-actions a {
    width: 100%;
  }
}
