/* ============ R&A · componentes extra de las páginas generadas (guías, novedades, inglés) ============ */

/* bloque de texto: rótulo y título a la izquierda, texto a la derecha */
.texto { position: relative; padding: 14vh 0 12vh; }
.texto__inner { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 28px clamp(32px, 6vw, 112px); align-items: start; }
.texto .labelled { grid-template-columns: 1fr; row-gap: 18px; }
.texto .labelled .tag { padding-top: 0; }
.texto .labelled h2, .texto .labelled h3 { font-size: clamp(2.125rem, 4vw, 4rem); line-height: 0.98; letter-spacing: -0.035em; }
.texto__body .lead { margin-bottom: 24px; }
.texto__body .prosa > :first-child { margin-top: 0; }
.texto__body .prosa h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); letter-spacing: -0.02em; line-height: 1.1; margin: 32px 0 12px; }
.texto__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.texto--oscuro { color: var(--white); padding: 24vh 0 18vh; }
.texto--oscuro:not(.sheet) { background: var(--ink); padding: 16vh 0; }
.insights__actions { margin-top: 0; }
.texto--oscuro .texto__inner { position: relative; z-index: 2; }
.texto--oscuro .tag { color: var(--orange); }
.texto--oscuro .lead, .texto--oscuro .prosa p, .texto--oscuro .prosa li { color: var(--gray-d); }
.texto--oscuro .prosa li { border-color: var(--rule-d); }

/* tarjetas con link (guías): el link queda al pie de cada frente */
.frentes__list .link-go { display: inline-block; margin-top: 14px; font-size: 0.9375rem; }
.frentes__list h3 a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 100% 100% / 0 2px no-repeat; transition: background-size 180ms var(--ease-out), color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .frentes__list h3 a:hover { background-size: 100% 2px; background-position: 0 100%; color: var(--orange); transition: background-size 300ms var(--ease-out), color 200ms ease; } }
.frentes > .wrap:not(.frentes__grid) .otras__list { margin-top: clamp(48px, 8vh, 88px); }

/* índices de páginas largas (anclas dentro de la página) */
.otras > .wrap + .wrap .otras__list { margin-top: clamp(40px, 7vh, 72px); }

/* respuestas largas (listas, tablas) dentro de las preguntas */
.faq__a.prosa { padding: 0 64px 28px 0; max-width: 44rem; }
.faq__a.prosa p { color: var(--gray); font-size: 1.0625rem; padding: 0; margin-bottom: 12px; }
.faq__a.prosa li { font-size: 1.0625rem; }
.prosa, .texto__body, .detalle__grid > * { min-width: 0; overflow-wrap: anywhere; }
.prosa table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 0.9375rem; }
.prosa th, .prosa td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prosa th { font-weight: 700; }
.prosa a { color: inherit; text-decoration-color: var(--orange); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .prosa a:hover { color: var(--orange-ink); } }

/* varias secciones de preguntas seguidas (páginas de FAQ): menos aire entre grupos */
.faq + .faq { padding-top: 4vh; }

@media (max-width: 820px) {
  .texto__inner { grid-template-columns: 1fr; }
  .faq__a.prosa { padding-right: 0; }
  .prosa table { display: block; overflow-x: auto; }
}

/* ---------- plantilla de nota ---------- */
.nota__hero { min-height: 72svh; }
.nota__cats a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .nota__cats a:hover { text-decoration: underline; } }
.nota__title { font-size: clamp(2.5rem, 5.6vw, 6rem); max-width: 10.08em; /* 18ch de Hanken */ }
.nota__meta { grid-template-columns: 1fr; }
.nota__img { position: relative; margin: 0 var(--gut); aspect-ratio: 21 / 9; overflow: hidden; background: var(--ink); z-index: 1; }
.nota__img img { width: 100%; height: 118%; object-fit: cover; transform: translate3d(0, var(--py, -6%), 0); }
.nota__cuerpo { padding-top: 12vh; }
.nota__cuerpo .detalle__grid { padding-left: 0; }
.nota__cuerpo .prosa h2 { font-size: clamp(1.625rem, 2.4vw, 2.25rem); }
.nota__cuerpo .prosa img { width: 100%; height: auto; margin: 20px 0; }
.nota__guia { margin-top: clamp(48px, 8vh, 88px); padding: 28px; background: var(--ink); color: var(--white); }
.nota__guia p:not(.tag) { color: var(--gray-d); margin: 10px 0 18px; }
.nota__guia .link-go { color: var(--white); }
@media (max-width: 820px) { .nota__img { aspect-ratio: 4 / 3; margin: 0; } }

/* archivo de categoría: presentación y área de práctica bajo el título */
.archivo__intro { display: grid; gap: 18px; align-items: start; justify-items: start; }
.archivo__intro .lead { max-width: 40em; margin: 0; }
.g-404 { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; justify-items: start; }
