: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 {
  display: inline-flex;
  align-items: center;
  color: white;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 20px;
  font-weight: 750;
  text-decoration: none;
}

.education-brand::before {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  background: url('/app-icon-maskable.svg?v=3') center / contain no-repeat;
  content: '';
  margin-right: 8px;
}

.education-brand:hover,
.education-brand:focus-visible,
.education-brand:visited {
  color: white;
}

.education-header .header-link,
.education-home-link,
.education-share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.education-header .header-link {
  text-decoration: none;
}

.education-home-link {
  text-decoration: none;
}

.education-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.education-header-actions svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
}

.education-header .header-link:hover,
.education-header .header-link:focus-visible,
.education-home-link:hover,
.education-home-link:focus-visible,
.education-share-button:hover,
.education-share-button:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  color: white;
}

.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 {
  margin: 0;
  color: #173a5e;
  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-video {
  position: relative;
  width: 100%;
  margin: 28px 0 8px;
  overflow: hidden;
  border: 1px solid #cbd9e8;
  border-radius: 14px;
  background: #173a5e;
  box-shadow: 0 10px 26px rgba(31, 48, 72, 0.14);
  aspect-ratio: 16 / 9;
}

.education-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.embedded-video-note {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}

.video-topic-list li {
  margin-bottom: 12px;
}

.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-table-wrap {
  margin: 22px 0;
  overflow-x: auto;
  border: 1px solid #d6e0eb;
  border-radius: 10px;
}

.education-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: white;
}

.education-table th,
.education-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e2e8f0;
  text-align: right;
}

.education-table th:first-child,
.education-table td:first-child {
  text-align: left;
}

.education-table thead th {
  background: #edf5fb;
  color: #173a5e;
  font-size: 14px;
}

.education-table tbody tr:last-child td {
  border-bottom: 0;
}

.case-study-disclosure {
  margin: 18px 0;
  padding: 14px 16px;
  border: 1px solid #f1d28d;
  border-radius: 9px;
  background: #fff8e8;
  color: #5f4a1c;
}

.education-load-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 11px 17px;
  border-radius: 9px;
  background: #173a5e;
  color: white;
  font-weight: 750;
  text-decoration: none;
}

.education-load-button:hover,
.education-load-button:focus-visible {
  background: #245481;
  color: white;
}

.education-load-button:visited {
  color: white;
}

.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;
  }

  .education-header-actions {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .education-header .header-link,
  .education-home-link,
  .education-share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    text-align: center;
  }

  .education-share-button {
    grid-column: 1 / -1;
  }

  .education-header-actions--home .education-share-button {
    grid-column: auto;
  }

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

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

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

  .education-footer-inner {
    padding: 20px 0;
    line-height: 1.5;
    text-align: center;
  }
}
