/* Recursos — base de la página */
.resources-page { background: #fff; color: #334155; }
.resources-page ::selection { background: #b9e7f6; color: #003d5b; }
.resources-page a { text-underline-offset: 0.2em; }
.resources-page a:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
body:has(.resources-page) .float-container { display: none; }

/* Recursos — entrada */
.resources-hero { padding: 2rem 0 2.5rem; background: #f4f8fa; }
.resources-hero nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; font-size: 0.875rem; }
.resources-hero nav a { color: #005c82; text-decoration: underline; }
.resources-hero__content { display: grid; grid-template-columns: 5fr 6fr; align-items: center; gap: 4rem; }
.resources-hero h1 { max-width: 17ch; margin: 0; color: #003d5b; font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.1; text-wrap: balance; }
.resources-hero__intro { max-width: 65ch; margin: 0; font-size: 1.125rem; line-height: 1.7; }
@media (max-width: 991px) {
  .resources-hero__content { grid-template-columns: 1fr; gap: 1rem; }
  .resources-hero h1 { max-width: 24ch; }
}
@media (max-width: 767px) {
  .resources-hero { padding: 1.5rem 0 2rem; }
  .resources-hero nav { margin-bottom: 1.25rem; }
  .resources-hero__intro { font-size: 1rem; line-height: 1.6; }
}

/* Recursos — directorio de herramientas */
.resources-directory { padding-top: 2.5rem; padding-bottom: 2rem; }
.resources-directory__heading { display: flex; align-items: baseline; justify-content: space-between; gap: 2rem; padding-bottom: 1.5rem; }
.resources-directory h2 { flex-shrink: 0; margin: 0; color: #003d5b; font-size: 1.5rem; }
.resources-directory__heading p { max-width: 60ch; margin: 0; line-height: 1.6; }
.resources-list { border-top: 1px solid #cddce4; }
.resource-item { display: grid; grid-template-columns: 3fr 5fr auto; align-items: center; gap: 2rem; padding: 2rem 0; border-bottom: 1px solid #cddce4; }
.resource-item h3 { margin: 0 0 0.75rem; color: #003d5b; font-size: 1.5rem; line-height: 1.25; text-wrap: balance; }
.resource-item__purpose { margin: 0; color: #005c82; font-size: 0.9375rem; line-height: 1.5; }
.resource-item__description > p { max-width: 65ch; margin-bottom: 1rem; line-height: 1.65; }
.resource-item__facts { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; padding: 0; margin: 0; color: #475569; font-size: 0.8125rem; list-style: none; }
.resource-item__facts li + li { padding-left: 1rem; border-left: 1px solid #cddce4; }
.resource-item footer a { display: inline-flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 48px; padding: 0.875rem 1rem; background: #0077b6; color: #fff; font-size: 0.9375rem; font-weight: 700; line-height: 1.4; border-radius: 8px; text-decoration: none; }
.resource-item footer a:hover { background: #005c82; }
.resource-item footer a:focus-visible { outline-color: #003d5b; }
.resources-note { display: flex; align-items: baseline; gap: 0.5rem; max-width: 100ch; margin: 1.5rem 0 0; font-size: 0.875rem; line-height: 1.6; }
@media (max-width: 1199px) {
  .resource-item { grid-template-columns: 3fr 5fr; gap: 1rem 2rem; }
  .resource-item footer { grid-column: 2; }
}
@media (max-width: 991px) {
  .resources-directory__heading { flex-direction: column; gap: 0.75rem; }
}
@media (max-width: 767px) {
  .resources-directory { padding-top: 1.5rem; }
  .resource-item { grid-template-columns: 1fr; gap: 1.25rem; padding: 1.5rem 0; }
  .resource-item footer { grid-column: auto; }
  .resource-item footer a { width: 100%; }
  .resource-item h3 { margin-bottom: 0.5rem; }
  .resource-item__facts { column-gap: 0.75rem; }
  .resource-item__facts li + li { padding-left: 0.75rem; }
}

/* Recursos — orientación profesional */
.resources-support { padding: 2.5rem 0; background: #003d5b; color: #d5e9f2; }
.resources-support__content { display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.resources-support h2 { max-width: 32ch; margin-bottom: 0.75rem; color: #fff; font-size: clamp(1.5rem, 2.5vw, 1.875rem); line-height: 1.3; text-wrap: balance; }
.resources-support p { max-width: 65ch; margin: 0; line-height: 1.65; }
.resources-support a { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: space-between; gap: 2rem; min-height: 48px; padding: 0.875rem 1.25rem; background: #fff; color: #003d5b; font-weight: 700; border-radius: 8px; text-decoration: none; }
.resources-support a:hover { background: #d5e9f2; }
.resources-support a:focus-visible { outline-color: #fff; }
@media (max-width: 767px) {
  .resources-support__content { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .resources-support a { width: 100%; }
}
