/* Guías de Gala Slides: se añade a styles.css y usa sus variables */
.narrow { width: min(820px, 100% - 32px); margin-inline: auto; }
.pagehead { padding: 52px 0 36px; overflow-x: clip; background: radial-gradient(900px 420px at 92% -10%, #ffe2da 0, transparent 60%), radial-gradient(700px 420px at -10% 0, #e3e9ff 0, transparent 60%); }
.pagehead h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
.pagehead .kicker { display: inline-block; font-weight: 700; font-size: .9rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; margin-bottom: 16px; }
.pagehead .lead { font-size: 1.2rem; color: var(--ink-2); max-width: 38em; }
.pagehead .cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px; }
.pagehead .small { color: var(--muted); font-size: .95rem; margin-top: 12px; }
.small b { background: var(--ink); color: #fff; padding: 1px 8px; border-radius: 6px; letter-spacing: .04em; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.prose section { margin-bottom: 8px; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.prose p, .prose li { font-size: 1.06rem; line-height: 1.7; color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .4em 0; }
.prose li b, .prose p b { color: var(--ink); }
.prose a { color: var(--blue); text-underline-offset: .2em; }

.tbl-wrap { overflow-x: auto; margin: 1.2em 0; border: 1px solid var(--line); border-radius: var(--radius); }
.tbl { width: 100%; border-collapse: collapse; font-size: .98rem; }
.tbl th { background: var(--bg-soft); text-align: left; padding: 12px 14px; font-weight: 700; }
.tbl td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
@media (max-width: 640px) {
  .tbl thead { display: none; }
  .tbl tr { display: block; border-top: 1px solid var(--line); padding: 8px 0; }
  .tbl tr:first-child { border-top: 0; }
  .tbl td { display: block; border: 0; padding: 5px 14px; }
  .tbl td::before { content: attr(data-label) ": "; font-weight: 700; color: var(--ink); }
}

.box { background: #fff4e0; border: 1px solid #ffd79a; border-radius: 16px; padding: 16px 20px; margin: 1.2em 0; }
.box p { margin: 0; }
.box-t { display: block; margin-bottom: 4px; }

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.rel { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; }
.rel:hover { border-color: var(--ink); }
.rel b { display: block; font: 700 1.1rem var(--head); margin-bottom: 6px; letter-spacing: -0.01em; }
.rel span { color: var(--ink-2); font-size: .95rem; }
.rel .tag { display: inline-block; font-size: .8rem; font-weight: 700; background: var(--bg-soft); border-radius: 999px; padding: 3px 10px; margin-bottom: 10px; color: var(--ink); }
@media (max-width: 860px) { .related { grid-template-columns: 1fr; } }

.foot-guides { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.foot-guides b { color: var(--ink); margin-right: 4px; }
.foot-guides a { margin: 0; }
.foot-base { flex-basis: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
