:root {
  color: #172033;
  background: #f3f6fb;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  line-height: 1.65;
}

a {
  color: #185a91;
}

a:hover {
  color: #0f3e66;
}

.education-header {
  background: linear-gradient(135deg, #173a5e, #2b648f);
  color: white;
}

.education-header-inner,
.education-main,
.education-footer-inner {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
}

.education-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.education-brand {
  color: white;
  font-size: 20px;
  font-weight: 750;
  text-decoration: none;
}

.education-header .header-link {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 9px;
  color: white;
  font-weight: 650;
  text-decoration: none;
}

.education-main {
  margin-top: 24px;
  margin-bottom: 36px;
  padding: clamp(22px, 5vw, 52px);
  border: 1px solid #dce4ee;
  border-radius: 16px;
  background: white;
  box-shadow: 0 10px 30px rgba(31, 48, 72, 0.08);
}

.breadcrumbs {
  margin-bottom: 24px;
  color: #64748b;
  font-size: 14px;
}

.breadcrumbs a {
  text-decoration: none;
}

.education-main h1 {
  max-width: 820px;
  margin: 0;
  color: #173a5e;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.12;
}

.education-lead {
  max-width: 820px;
  margin: 18px 0 8px;
  color: #475569;
  font-size: 19px;
}

.reviewed-date {
  color: #64748b;
  font-size: 14px;
}

.education-main h2 {
  margin: 40px 0 12px;
  color: #173a5e;
  font-size: 26px;
  line-height: 1.25;
}

.education-main h3 {
  margin: 24px 0 8px;
  color: #254f73;
}

.claim-age-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}

.claim-age-card {
  padding: 20px;
  border: 1px solid #cbd9e8;
  border-radius: 12px;
  background: #f8fbff;
}

.claim-age-card strong,
.claim-age-card span {
  display: block;
}

.claim-age-card strong {
  color: #173a5e;
  font-size: 24px;
}

.claim-age-card span {
  margin: 4px 0 8px;
  color: #25618f;
  font-weight: 700;
}

.claim-age-card p {
  margin: 0;
  color: #526174;
  font-size: 14px;
}

.education-callout,
.education-notice {
  margin: 26px 0;
  padding: 18px 20px;
  border-left: 4px solid #2b75ad;
  border-radius: 8px;
  background: #eff6ff;
}

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

.education-guide-card {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid #cbd9e8;
  border-radius: 12px;
  background: #f8fbff;
  color: inherit;
  text-decoration: none;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.education-guide-card:hover,
.education-guide-card:focus-visible {
  border-color: #5794c0;
  color: inherit;
  box-shadow: 0 8px 22px rgba(30, 64, 175, 0.12);
  transform: translateY(-2px);
}

.education-guide-card h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.education-guide-card p {
  margin: 0 0 18px;
  color: #526174;
}

.education-guide-card span {
  margin-top: auto;
  color: #185a91;
  font-weight: 750;
}

.education-notice {
  border-left-color: #b7791f;
  background: #fff8e8;
}

.education-cta {
  margin-top: 42px;
  padding: 26px;
  border-radius: 14px;
  background: #173a5e;
  color: white;
}

.education-cta h2 {
  margin-top: 0;
  color: white;
}

.education-cta a {
  display: inline-flex;
  margin-top: 8px;
  padding: 11px 17px;
  border-radius: 9px;
  background: white;
  color: #173a5e;
  font-weight: 750;
  text-decoration: none;
}

.education-footer {
  border-top: 1px solid #dbe3ec;
  background: white;
}

.education-footer-inner {
  padding: 24px 0;
  color: #64748b;
  font-size: 14px;
}

@media (max-width: 700px) {
  .education-header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .claim-age-grid {
    grid-template-columns: 1fr;
  }

  .education-guide-grid {
    grid-template-columns: 1fr;
  }

  .education-main {
    margin-top: 12px;
  }
}
