/* ═════════════════════════════════════════════════════════
   PER-TEMPLATE LANDING PAGES
   Used by the generated *-resume-template.html pages. Layered on top
   of style.css (header/footer) + legal.css (base typography).
   ═════════════════════════════════════════════════════════ */

.tpl-page {
  padding-top: 120px;
  padding-bottom: 72px;
  background: #FAFAFC;
  min-height: 100vh;
}

.tpl-page .container { max-width: 820px; }

/* ── Breadcrumbs ───────────────────────────────────────── */
.tpl-crumbs {
  font-size: .8125rem;
  color: #64748B;
  margin-bottom: 20px;
}
.tpl-crumbs a { color: #2563EB; text-decoration: none; }
.tpl-crumbs a:hover { text-decoration: underline; }
.tpl-crumbs span[aria-hidden] { margin: 0 6px; color: #CBD5E1; }
.tpl-crumbs [aria-current] { color: #0F172A; font-weight: 600; }

/* ── Header card ───────────────────────────────────────── */
.tpl-head {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 32px 36px;
  margin-bottom: 28px;
}
.tpl-head h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  color: #0F172A;
  margin-bottom: 10px;
}
.tpl-sub {
  color: #475569;
  line-height: 1.7;
  margin-bottom: 22px;
}

.tpl-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.tpl-facts li {
  background: #F1F5F9;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.tpl-facts span {
  font-size: .6875rem;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: #64748B;
  font-weight: 600;
}
.tpl-facts strong {
  font-size: .9375rem;
  color: #0F172A;
  font-weight: 700;
}

.tpl-cta { width: 100%; justify-content: center; }

/* ── Body copy ─────────────────────────────────────────── */
.tpl-body {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 32px 36px;
}
.tpl-body h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0F172A;
  margin: 28px 0 10px;
}
.tpl-body h2:first-child { margin-top: 0; }
.tpl-body p { color: #475569; line-height: 1.75; margin-bottom: 12px; }

.tpl-list, .tpl-steps { color: #475569; line-height: 1.75; padding-left: 20px; margin-bottom: 12px; }
.tpl-list li, .tpl-steps li { margin-bottom: 6px; }

.tpl-related {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: grid;
  gap: 8px;
}
.tpl-related li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 11px 15px;
}
.tpl-related a { color: #2563EB; font-weight: 600; text-decoration: none; }
.tpl-related a:hover { text-decoration: underline; }
.tpl-rel-meta {
  font-size: .75rem;
  color: #64748B;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 999px;
  padding: 2px 9px;
  white-space: nowrap;
}

.tpl-back { margin-top: 26px; padding-top: 18px; border-top: 1px solid #E2E8F0; }
.tpl-back a { color: #2563EB; font-weight: 600; text-decoration: none; }
.tpl-back a:hover { text-decoration: underline; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 768px) {
  .tpl-page { padding-top: 100px; }
  .tpl-head, .tpl-body { padding: 24px 22px; }
  .tpl-head h1 { font-size: 1.625rem; }
  .tpl-facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .tpl-head, .tpl-body { padding: 20px 18px; border-radius: 16px; }
  .tpl-head h1 { font-size: 1.4375rem; }
  .tpl-related li { flex-direction: column; align-items: flex-start; gap: 6px; }
}
