.sta-hero__actions .sta-btn--secondary {
  background: transparent;
  color: #fff;
  border: 2px solid currentColor;
}

.sta-hero__actions .sta-btn:focus-visible,
.sta-hero__actions .sta-btn--secondary:hover,
.sta-hero__actions .sta-btn--secondary:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.sta-study-paths,
.sta-support-services,
.sta-higher-education-feature,
.sta-ireland-feature {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

#programas {
  scroll-margin-top: 120px;
}

.sta-study-paths {
  padding: 56px 0 24px;
}

.sta-study-paths__header,
.sta-support-services__header {
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: center;
}

.sta-study-paths__eyebrow,
.sta-support-services__eyebrow,
.sta-higher-education-feature__eyebrow,
.sta-ireland-feature__eyebrow {
  margin: 0 0 12px;
  color: #3d7031;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.4;
}

.sta-study-paths__header h2,
.sta-support-services__header h2,
.sta-higher-education-feature__content h2,
.sta-ireland-feature__content h2 {
  margin: 0;
  color: #c3a890;
  font-family: "Noto Serif TC", "PingFang TC", "Microsoft JhengHei", serif;
  font-weight: 600;
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.18;
}

.sta-study-paths__grid,
.sta-support-services__grid {
  display: grid;
  gap: 20px;
}

.sta-study-paths__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sta-study-path {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 18px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.sta-study-path:hover,
.sta-study-path:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.15);
}

.sta-study-path h3,
.sta-support-services__grid h3 {
  margin: 0;
  color: #c3a890;
  font-family: "Noto Serif TC", "PingFang TC", "Microsoft JhengHei", serif;
  font-weight: 600;
}

.sta-study-path h3 {
  text-align: center;
  font-size: clamp(20px, 2.3vw, 34px);
  line-height: 1.14;
}

.sta-study-path p,
.sta-support-services__grid p {
  margin: 0;
}

.sta-study-path__badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(61, 112, 49, 0.1);
  border: 1px solid rgba(61, 112, 49, 0.22);
  color: #3d7031;
  font-size: calc(0.82rem - 2px);
  font-weight: 700;
  line-height: 1.4;
}

.sta-study-path a,
.sta-higher-education-feature__button,
.sta-ireland-feature__button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: auto;
  font-weight: 700;
  text-decoration: none;
}

.sta-study-path a {
  color: #3d7031;
}

.sta-study-path a:hover,
.sta-study-path a:focus-visible {
  text-decoration: underline;
}

.sta-support-services {
  padding: 24px 0 64px;
}

.sta-support-services__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sta-support-services__grid article {
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(195, 168, 144, 0.28);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.sta-support-services__grid h3 {
  font-size: clamp(17px, 1.55vw, 25px);
  line-height: 1.16;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.sta-support-services__grid p {
  font-size: clamp(14px, 1vw, 17px);
  line-height: 1.65;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.sta-higher-education-feature,
.sta-ireland-feature {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: center;
  padding: 56px 0;
}

.sta-higher-education-feature__content,
.sta-ireland-feature__content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sta-higher-education-feature__content > *,
.sta-ireland-feature__content > * {
  margin: 0;
}

.sta-higher-education-feature__media,
.sta-ireland-feature__media {
  overflow: hidden;
  border-radius: 18px;
  min-height: 360px;
}

.sta-higher-education-feature__media img,
.sta-ireland-feature__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.sta-higher-education-feature__button,
.sta-ireland-feature__button {
  padding: 13px 20px;
  border: 0;
  border-radius: 10px;
  background: rgba(61, 112, 49, 0.92);
  color: #fff;
  transition:
    background-color 0.24s ease,
    color 0.24s ease,
    transform 0.24s ease;
}

.sta-higher-education-feature__button:hover,
.sta-higher-education-feature__button:focus-visible,
.sta-ireland-feature__button:hover,
.sta-ireland-feature__button:focus-visible {
  background: #c3a890;
  color: #1f2a20;
  text-decoration: none;
}

.sta-higher-education-feature__button:active,
.sta-ireland-feature__button:active {
  transform: translateY(1px);
}

.sta-ireland-feature__media {
  background:
    linear-gradient(135deg, rgba(19, 78, 74, 0.92), rgba(93, 156, 130, 0.76)),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), transparent 55%);
}

.sta-study-path a:focus-visible,
.sta-higher-education-feature__button:focus-visible,
.sta-ireland-feature__button:focus-visible,
.sta-hero__actions .sta-btn--secondary:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

@media (max-width: 1024px) {
  .sta-study-paths__grid,
  .sta-support-services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sta-higher-education-feature,
  .sta-ireland-feature {
    grid-template-columns: 1fr;
  }

  .sta-study-paths__grid .sta-study-path:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: min(100%, 560px);
    justify-self: center;
  }
}

@media (max-width: 767px) {
  .sta-study-paths,
  .sta-support-services,
  .sta-higher-education-feature,
  .sta-ireland-feature {
    width: min(100% - 24px, 1200px);
  }

  .sta-study-paths__grid,
  .sta-support-services__grid {
    grid-template-columns: 1fr;
  }

  .sta-study-paths__grid .sta-study-path:last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
  }

  .sta-hero__actions .sta-btn,
  .sta-hero__actions .sta-btn--secondary,
  .sta-higher-education-feature__button,
  .sta-ireland-feature__button {
    width: 100%;
    justify-content: center;
  }

  .sta-ireland-feature__media {
    min-height: 260px;
  }
}

@media (max-width: 1024px) {
  .sta-support-services__grid h3 {
    font-size: clamp(18px, 2vw, 24px);
  }
}

html[lang="zh-CN"] .sta-study-paths__header h2,
html[lang="zh-CN"] .sta-support-services__header h2,
html[lang="zh-CN"] .sta-higher-education-feature__content h2,
html[lang="zh-CN"] .sta-ireland-feature__content h2,
html[lang="zh-CN"] .sta-study-path,
html[lang="zh-CN"] .sta-study-path__badge,
html[lang="zh-CN"] .sta-support-services__grid article,
html[lang="zh-CN"] .sta-higher-education-feature__content,
html[lang="zh-CN"] .sta-ireland-feature__content {
  font-family: var(--sta-font-zh-cn-sans) !important;
  font-synthesis: none;
  letter-spacing: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
  .sta-study-path,
  .sta-hero__actions .sta-btn--secondary,
  .sta-study-path a,
  .sta-higher-education-feature__button,
  .sta-ireland-feature__button {
    transition: none;
  }

  .sta-study-path:hover,
  .sta-study-path:focus-within,
  .sta-higher-education-feature__button:active,
  .sta-ireland-feature__button:active {
    transform: none;
  }
}
