/* Alemán Por Derecho: generic guide/article template. Loads after page-requisitos.css (shared .req-* article rules). No italics. */

/* hero with image on the right (desktop) */
.req-hero__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 3rem; align-items: center; }
.req-hero__media { margin: 0; border-radius: var(--r-14); overflow: hidden; aspect-ratio: 1 / 1; background: var(--oat-100); }
.req-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-guia .page-hero .t-h1 { font-size: clamp(2.25rem, 4vw, 3.5rem); line-height: 1.1; max-width: none; }
.page-guia .req-hero__wrap { padding-bottom: 4rem; }
@media screen and (max-width: 991px) {
  .req-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .req-hero__grid { gap: 2rem; }
  .req-hero__media { aspect-ratio: 16 / 10; }
  .req-hero__media img { object-position: center 40%; }
  @media screen and (min-width: 600px) { .req-hero__media { aspect-ratio: 2.2 / 1; } }
  .page-guia .page-hero .t-h1 { font-size: clamp(2.25rem, 7vw, 3rem); }
  .page-guia .req-hero__wrap { padding-bottom: 2.5rem; }
}

/* hero without image (index) */
.guia-hero--plain .req-hero__wrap { padding-bottom: 3.5rem; }
.guia-hero--plain .page-hero__lead { max-width: 40rem; }

/* inline CTA tweaks */
.req-article .req-cta { margin-top: 0.5rem; }

/* article lists */
.req-sec .req-list { margin-top: 1.25rem; }
.req-sec .req-list + p, .req-sec p + .req-list { margin-top: 1.25rem; }

/* printable checklist */
.guia-check { margin-top: 1.5rem; border: 1px solid var(--oat-300); border-radius: var(--r-14); background: var(--white); overflow: hidden; }
.guia-check__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1rem 1.25rem; background: var(--oat-50); border-bottom: 1px solid var(--oat-300); }
.guia-check__title { font-weight: 600; font-size: 1.0625rem; line-height: 1.3; }
.guia-print { font: inherit; font-size: 0.875rem; font-weight: 600; padding: 0.5rem 0.9rem; min-height: 2.75rem; border: 1px solid var(--juniper-800); border-radius: var(--r-8); background: transparent; color: var(--juniper-800); cursor: pointer; transition: background 0.2s, color 0.2s; }
.guia-print:hover { background: var(--juniper-800); color: var(--white); }
.guia-check table { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.4; }
.guia-check th, .guia-check td { padding: 0.9rem 1.1rem; text-align: left; vertical-align: middle; border-top: 1px solid var(--oat-300); }
.guia-check thead th { border-top: 0; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; color: var(--obsidian-lighter); }
.guia-check tbody th { font-weight: 500; width: 36%; }
.guia-check td { text-align: center; }
.guia-check thead th:not(:first-child) { text-align: center; }
.guia-box { display: inline-block; width: 1.25rem; height: 1.25rem; border: 2px solid var(--juniper-800); border-radius: 4px; vertical-align: middle; }
.guia-check__foot { padding: 0.9rem 1.25rem; border-top: 1px solid var(--oat-300); font-size: 0.9375rem; line-height: 1.5; color: var(--obsidian-lighter); }
@media screen and (max-width: 767px) {
  .guia-check th, .guia-check td { padding: 0.75rem 0.5rem; font-size: 0.9375rem; }
  .guia-check thead th { font-size: 0.75rem; letter-spacing: 0.02em; }
  .guia-check tbody th { width: 46%; }
  .guia-check__head { padding: 0.9rem; }
}

/* card grid (index + related guides) */
.guia-grid-sec { background: var(--white); padding: 4rem 0 6rem; }
.guia-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.guia-grid .res-card, .guia-more .res-card { height: 26rem; min-width: 0; }
.guia-card--soon { cursor: default; }
.guia-card--soon .photo-card__bg img { transform: none !important; }
.guia-soon { display: inline-flex; align-items: center; padding: 0.3rem 0.7rem; border-radius: 999px; background: var(--marigold-500); color: var(--obsidian); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.2; }
.guia-grid__note { margin-top: 2.5rem; font-size: 0.875rem; line-height: 1.5; color: var(--obsidian-lighter); max-width: 40rem; }
@media screen and (max-width: 991px) {
  .guia-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guia-grid-sec { padding: 2.5rem 0 4rem; }
}
@media screen and (max-width: 599px) {
  .guia-grid { grid-template-columns: minmax(0, 1fr); }
  .guia-grid .res-card, .guia-more .res-card { height: 21.25rem; }
}

/* related guides */
.guia-more { background: var(--oat-50); padding: 4rem 0 5rem; }
.guia-more__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.75rem, 3.2vw, 2.375rem); line-height: 1.15; margin-bottom: 2rem; }
.guia-more__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; max-width: 52rem; }
@media screen and (max-width: 599px) { .guia-more__grid { grid-template-columns: minmax(0, 1fr); } .guia-more { padding: 2.5rem 0 3rem; } }

/* print: only the checklist */
@media print {
  .announce, .site-header, .req-hero, .req-toc, .req-cta, .band, .site-footer, .cookie, .cookie-widget, .guia-more, .guia-print, .req-sec:not(#por-generacion) { display: none !important; }
  .req-body { padding: 0; }
  .req-layout { display: block; }
  .req-article { max-width: none; }
  .guia-check { border-color: #000; break-inside: avoid; }
}
