/* Accesos breves: una acción principal en las guías y enlaces secundarios. */
.sc-page-shortcuts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem 1.25rem;
  margin: 1.25rem 0;
}
.page-hero .sc-page-shortcuts a,
.ed-article-hero .sc-page-shortcuts a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 44px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: .5rem 0;
  border: 0;
  border-radius: 10px;
  color: var(--ed-accent, var(--accent));
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  text-underline-offset: 4px;
  transition: background-color 160ms ease, color 160ms ease;
}
.ed-article-hero .sc-page-shortcuts a:first-child {
  padding: .75rem 1.125rem;
  background: var(--sc-green, var(--accent));
  color: var(--sc-paper, var(--surface));
}
.sc-page-shortcuts a:hover { text-decoration: underline; }
.ed-article-hero .sc-page-shortcuts a:first-child:hover {
  background: color-mix(in srgb, var(--sc-green, var(--accent)) 88%, var(--sc-ink));
  text-decoration: none;
}
.sc-page-shortcuts a:focus-visible {
  outline: 2px solid var(--ed-accent, var(--accent));
  outline-offset: 3px;
}
.ed-article-hero:has(.sc-page-shortcuts) h1 { text-wrap: balance; }
html[data-theme="dark"] .ed-article-hero .sc-page-shortcuts a:first-child {
  background: var(--ed-accent);
  color: var(--ed-wash);
}
html[data-theme="dark"] .ed-article-hero .sc-page-shortcuts a:first-child:hover {
  background: color-mix(in srgb, var(--ed-accent) 85%, var(--sc-ink));
}
#tool-vacaciones, #tabla-vacaciones, #plus-vacacional {
  scroll-margin-top: 7rem;
}
@media (max-width: 600px) {
  .ed-article-hero .sc-page-shortcuts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .25rem 1rem;
    margin: 1.25rem 0 0;
  }
  .ed-article-hero .sc-page-shortcuts a { text-align: center; }
  .ed-article-hero .sc-page-shortcuts a:first-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .sc-page-shortcuts a { transition: none; }
}
