/* GED uses the shared Val Tech palette and accessible native interactions. */

.ged-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.ged-menu-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid #ccdbef;
  background: #f3f7fd;
  border-radius: 9px;
  margin-top: 22px;
}

.ged-menu-link > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}

.ged-menu-link strong, .ged-menu-link small {
  display: block;
}

.ged-menu-link strong {
  color: #093773;
  font-size: 1rem;
}

.ged-menu-link small {
  font-size: .875rem;
  color: #52647b;
  margin-top: 3px;
}

.ged-menu-link:hover {
  background: #e8f1ff;
  border-color: #0754c7;
}

.ged-home {
  padding-bottom: 65px;
}

.ged-promo {
  display: grid;
  grid-template-columns: minmax(0,1.6fr) minmax(230px,.8fr);
  gap: 45px;
  align-items: center;
  padding: 42px;
  border: 1px solid #bfd2ee;
  border-left: 5px solid #0754c7;
  border-radius: 14px;
  background: #eef5ff;
}

.ged-promo h2 {
  color: #093773;
  margin-bottom: 18px;
}

.ged-promo p {
  max-width: 760px;
}

.ged-promo-note {
  font-size: .875rem;
  color: #334e70;
}

.ged-promo .button {
  margin-top: 6px;
}

.ged-promo-side {
  padding: 16px 0 16px 38px;
  border-left: 1px solid #bfd2ee;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.ged-large-number {
  font-size: 4rem;
  line-height: 1;
  color: #0754c7;
  letter-spacing: -.07em;
  font-weight: 750;
}

.ged-promo-side strong {
  font-size: 1.1rem;
}

.ged-promo-side > span:not(.ged-large-number) {
  color: #52647b;
  font-size: .9375rem;
}

.ged-promo-side a {
  font-size: .875rem;
  color: #0754c7;
  font-weight: 650;
  margin-top: 9px;
}

.ged-page {
  --ged-line: #ccdbef;
}

.ged-page p, .ged-page li {
  font-size: 1rem;
}

.ged-page .eyebrow {
  display: block;
  font-size: .875rem;
  letter-spacing: .1em;
}

.ged-page .badge {
  font-size: .875rem;
}

.ged-hero {
  background: linear-gradient(120deg,#f3f7fd,#fff);
  padding: 44px 0 52px;
}

.ged-hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.5fr) minmax(290px,1fr);
  gap: 55px;
  align-items: center;
}

.ged-hero h1 {
  font-size: clamp(2.2rem,4vw,3.5rem);
  line-height: 1.12;
}

.ged-hero h1 > span {
  color: #0754c7;
}

.ged-hero .ged-lead {
  font-size: 1.1rem;
  line-height: 1.75;
  max-width: 720px;
}

.ged-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 22px;
}

.ged-hero .ged-hero-note {
  font-size: .875rem;
  color: #334e70;
  border-left: 3px solid #b97810;
  padding: 8px 0 8px 18px;
  margin-bottom: 0;
}

.ged-hero-note a {
  color: #0754c7;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ged-hero-aside {
  border: 1px solid var(--ged-line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.ged-hero-aside > img {
  width: 100%;
  aspect-ratio: 16/8;
  object-fit: cover;
  object-position: center 40%;
  height: auto;
}

.ged-hero-aside > div {
  padding: 28px;
}

.ged-hero-aside h2 {
  font-size: 1.65rem;
}

.ged-hero-aside dl {
  margin: 22px 0 0;
}

.ged-hero-aside dl > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 0;
  border-top: 1px solid #e1e8f1;
  font-size: .875rem;
}

.ged-hero-aside dt {
  color: #52647b;
}

.ged-hero-aside dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.ged-section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-block: 18px;
  border-bottom: 1px solid var(--ged-line);
}

.ged-section-nav a {
  color: #0754c7;
  font-weight: 650;
  font-size: .875rem;
  padding: 8px 0;
}

.ged-section-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.ged-two-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 40px;
}

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

.ged-subject-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 20px;
}

.ged-soft {
  background: #f3f7fd;
}

.ged-plan, .ged-subject, .ged-route, .ged-body {
  padding: 28px;
  border: 1px solid var(--ged-line);
  border-radius: 12px;
  background: #fff;
}

.ged-plan {
  display: flex;
  flex-direction: column;
  border-top: 4px solid #0754c7;
}

.ged-plan:nth-child(2) {
  border-top-color: #b97810;
}

.ged-plan h3 {
  font-size: 1.7rem;
}

.ged-plan ul, .ged-entry-panel ul {
  padding-left: 22px;
  margin-top: 0;
}

.ged-plan li {
  padding-bottom: 7px;
  color: #52647b;
}

.ged-plan .button {
  margin-top: auto;
  align-self: flex-start;
}

.ged-page .ged-note {
  font-size: .875rem;
  line-height: 1.75;
  margin: 24px 0 0;
  color: #52647b;
}

.ged-note a {
  color: #0754c7;
  text-decoration: underline;
}

.ged-card-number {
  display: inline-flex;
  color: #0754c7;
  font-size: 1.5rem;
  font-weight: 750;
  padding-bottom: 24px;
}

.ged-subject h3 {
  font-size: 1.2rem;
  min-height: 2.4em;
}

.ged-subject > strong {
  font-weight: 600;
  font-size: .9375rem;
  display: block;
  margin-bottom: 12px;
}

.ged-subject p {
  margin: 0;
}

.ged-benefit-list {
  padding: 0 0 0 30px;
  border-left: 3px solid #bcd2f0;
}

.ged-benefit-list article + article {
  margin-top: 25px;
}

.ged-benefit-list h3 {
  margin-bottom: 8px;
}

.ged-benefit-list p {
  margin: 0;
}

.ged-table {
  margin-top: 34px;
  border: 1px solid var(--ged-line);
  border-radius: 10px;
  overflow-x: auto;
}

.ged-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 650px;
  font-size: .9375rem;
  text-align: left;
}

.ged-table caption {
  text-align: left;
  padding: 18px 22px;
  font-weight: 650;
  color: #093773;
  background: #eaf2ff;
}

.ged-table th, .ged-table td {
  padding: 17px 22px;
  vertical-align: top;
  border-bottom: 1px solid #dbe2ec;
}

.ged-table thead th {
  background: #093773;
  color: #fff;
  font-size: .875rem;
  font-weight: 700;
}

.ged-table tbody th {
  background: #f3f7fd;
  color: #152943;
  font-weight: 650;
  min-width: 130px;
}

.ged-table tbody td {
  background: #fff;
  color: #52647b;
}

.ged-table tr:last-child > * {
  border-bottom: 0;
}

.ged-route .badge {
  display: inline-block;
  margin-bottom: 22px;
}

.ged-route h3 {
  font-size: 1.45rem;
}

.ged-entry-panel {
  padding: 32px;
  border-radius: 12px;
  background: #eef5ff;
  border: 1px solid var(--ged-line);
}

.ged-entry-panel h3 {
  font-size: 1.35rem;
}

.ged-entry-panel li {
  margin-bottom: 12px;
  color: #334e70;
}

.ged-entry-panel p {
  font-size: .875rem;
  margin-bottom: 0;
}

.ged-countries {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  list-style: none;
  margin: 25px 0;
}

.ged-countries li {
  border: 1px solid var(--ged-line);
  border-radius: 6px;
  padding: 8px 13px;
  background: #f3f7fd;
  font-size: .875rem;
}

.ged-process {
  list-style: none;
  padding: 0;
  counter-reset: ged-step;
}

.ged-process li {
  position: relative;
  padding-left: 55px;
  margin-top: 26px;
  counter-increment: ged-step;
}

.ged-process li:before {
  content: counter(ged-step,decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  width: 35px;
  height: 35px;
  border-radius: 9px;
  background: #e8f1ff;
  color: #0754c7;
  display: grid;
  place-items: center;
  font-size: .875rem;
  font-weight: 750;
}

.ged-process h3 {
  margin-bottom: 9px;
}

.ged-process p {
  margin: 0;
}

.ged-exam-panel {
  align-self: start;
  border: 1px solid #e4cf9e;
  background: #fff9ec;
  border-radius: 12px;
  padding: 34px;
}

.ged-exam-panel h3 {
  font-size: 1.7rem;
}

.ged-exam-panel > .text-link {
  display: block;
  margin-top: 20px;
}

.ged-body h3 {
  font-size: 1.2rem;
}

.ged-body p {
  margin: 0;
}

.ged-faq {
  border-top: 1px solid var(--ged-line);
}

.ged-faq details {
  border-bottom: 1px solid var(--ged-line);
  padding: 0;
}

.ged-faq summary {
  padding: 20px 10px;
  font-weight: 650;
}

.ged-faq details p {
  padding: 0 10px 8px;
  max-width: 960px;
}

.ged-faq a, .ged-sources a {
  color: #0754c7;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ged-sources {
  border-top: 1px solid var(--ged-line);
  margin-top: 36px;
  padding-top: 24px;
}

.ged-sources strong {
  display: block;
  color: #093773;
}

.ged-sources p {
  font-size: .875rem;
  margin: 6px 0 12px;
}

.ged-sources ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 25px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ged-sources li {
  font-size: .875rem;
}

.ged-bottom-cta {
  padding-bottom: 65px;
}

.ged-bottom-cta .button {
  justify-self: end;
}

.ged-bottom-cta p {
  margin: 0;
}

.guidance-card.ged-discovery {
  border-left: 4px solid #0754c7;
  background: #eef5ff;
}

@media (min-width:981px) {
  .nav-inner {
    gap: clamp(14px,2vw,28px);
  }
}

@media (max-width:1100px) {
  .ged-hero-grid {
    gap: 30px;
  }
}

@media (max-width:1100px) {
  .ged-promo {
    gap: 28px;
    padding: 32px;
  }
}

@media (max-width:1100px) {
  .ged-subject-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width:1100px) {
  .ged-three-grid {
    gap: 15px;
  }
}

@media (max-width:1100px) {
  .ged-plan {
    padding: 22px;
  }
}

@media (max-width:1100px) {
  .ged-plan h3 {
    font-size: 1.4rem;
  }
}

@media (max-width:800px) {
  .ged-hero-grid, .ged-two-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width:800px) {
  .ged-hero-aside {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  }
}

@media (max-width:800px) {
  .ged-hero-aside > img {
    height: 100%;
    aspect-ratio: auto;
  }
}

@media (max-width:800px) {
  .ged-three-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width:800px) {
  .ged-plan {
    padding: 28px;
  }
}

@media (max-width:800px) {
  .ged-plan .button {
    margin-top: 16px;
  }
}

@media (max-width:800px) {
  .ged-promo {
    grid-template-columns: 1fr;
  }
}

@media (max-width:800px) {
  .ged-promo-side {
    border-left: 0;
    border-top: 1px solid #bfd2ee;
    padding: 22px 0 0;
  }
}

@media (max-width:800px) {
  .ged-large-number {
    font-size: 3.2rem;
  }
}

@media (max-width:800px) {
  .ged-promo-side > span:not(.ged-large-number) br {
    display: none;
  }
}

@media (max-width:800px) {
  .ged-bottom-cta .button {
    justify-self: start;
  }
}

@media (max-width:800px) {
  .ged-home {
    padding-bottom: 45px;
  }
}

@media (max-width:520px) {
  .ged-hero {
    padding-top: 24px;
  }
}

@media (max-width:520px) {
  .ged-hero-grid {
    gap: 28px;
  }
}

@media (max-width:520px) {
  .ged-hero-aside {
    display: block;
  }
}

@media (max-width:520px) {
  .ged-hero-aside > img {
    aspect-ratio: 16/8;
    height: auto;
  }
}

@media (max-width:520px) {
  .ged-promo {
    padding: 25px;
  }
}

@media (max-width:520px) {
  .ged-promo h2 {
    font-size: 1.8rem;
  }
}

@media (max-width:520px) {
  .ged-promo h2 br {
    display: none;
  }
}

@media (max-width:520px) {
  .ged-subject-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width:520px) {
  .ged-subject h3 {
    min-height: 0;
  }
}

@media (max-width:520px) {
  .ged-subject, .ged-route, .ged-entry-panel, .ged-exam-panel {
    padding: 24px;
  }
}

@media (max-width:520px) {
  .ged-benefit-list {
    padding-left: 20px;
  }
}

@media (max-width:520px) {
  .ged-menu-link {
    padding: 14px 10px;
    gap: 10px;
  }
}

@media (max-width:520px) {
  .ged-menu-link small {
    font-size: .875rem;
  }
}

@media (max-width:520px) {
  .ged-actions .button {
    width: 100%;
  }
}

@media (max-width:520px) {
  .ged-page .eyebrow {
    font-size: .8125rem;
  }
}

@media (max-width:520px) {
  .ged-section-nav {
    gap: 6px 18px;
  }
}

