/* Guias para organizadores (/organizer/guides/{slug}, Views/OrganizerPages/Guide.cshtml). Lienzo "Indice de
   las guias", opcion A reorganizada (2026-10-27, como Stripe): indice con riel y boton de crear evento a la
   izquierda, articulo a la derecha y las funciones de la guia al final. Abajo de 1024 px el mismo indice va
   abierto debajo de la presentacion. */

.gd-page { background: var(--bg-card); }

.gd-grid {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: var(--space-7) var(--page-gutter) var(--space-9);
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

/* Indice: riel fino; la seccion actual en naranja con su tramo del riel. En computadora, fijo al bajar. */
.gd-toc {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
}
.gd-toc nav { display: flex; flex-direction: column; }
.gd-toc__label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-3);
}
.gd-toc__rail { display: flex; flex-direction: column; border-left: 1px solid var(--border-subtle); }
.gd-toc__link {
  display: block;
  margin-left: -1px;
  padding: 8px 0 8px 18px;
  border-left: 2px solid transparent;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--duration-fast);
}
.gd-toc__link:hover { color: var(--accent-text); }
.gd-toc__link.is-current { border-left-color: var(--accent-primary); color: var(--accent-text); font-weight: 700; }
.gd-toc__cta { margin-top: 28px; align-self: flex-start; gap: 8px; height: 44px; }
.gd-toc__cta i { font-size: 12px; }
.gd-toc__note { margin: 10px 0 0; font-size: 13px; color: var(--text-secondary); }
/* La copia para celular no se ve en computadora. */
.gd-toc.gd-toc--inline { display: none; }

/* Articulo */
.gd-article {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--text-primary);
}
.gd-draft {
  margin: 0;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--wine-15);
  color: var(--text-primary);
  font-size: var(--text-small);
  font-weight: 600;
}
/* La etiqueta es pr-eyebrow (precios.css); aqui solo se quita su margen: el articulo ya separa con gap. */
.gd-eyebrow { margin: 0; }
.gd-article > .mk-crumbs { margin: 0; }
.gd-title {
  margin: 0;
  font-size: 48px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.03em;
}
.gd-lead { margin: 0; font-size: 19px; line-height: 1.6; color: var(--text-secondary); }
.gd-meta {
  margin: 0 0 var(--space-2);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--surface);
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.gd-section { display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 88px; padding-top: var(--space-3); }
.gd-section h2 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
/* Solo los parrafos del articulo (hijos directos): las preguntas (mk-faq) traen su propio estilo. */
.gd-section > p,
.gd-section > ul li { font-size: 17px; line-height: 1.7; color: var(--text-secondary); }
.gd-section > p { margin: 0; }
.gd-section ul { margin: 0; padding-left: 22px; }
.gd-section a { color: var(--text-primary); font-weight: 600; }
.gd-section strong { color: var(--text-primary); }

.gd-section .gd-tip {
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--wine-15);
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.6;
}

/* "Así se hace en Tixzel": texto + captura del panel */
.gd-howto {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
  align-items: center;
  padding: 24px;
  border-radius: 18px;
  background: var(--surface);
}
.gd-howto--text { grid-template-columns: minmax(0, 1fr); }
.gd-howto__copy { display: flex; flex-direction: column; gap: 8px; }
.gd-howto__label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.gd-section .gd-howto__copy p { font-size: 16px; line-height: 1.6; color: var(--text-primary); }
.gd-shot img { display: block; width: 100%; height: auto; }
/* Marco de navegador: barra con tres puntos y la direccion del panel. */
.gd-shot__frame {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  box-shadow: var(--shadow-raised);
}
.gd-shot__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  background: var(--ink-15);
  border-bottom: 1px solid var(--border-strong);
}
.gd-shot__dots { display: flex; gap: 4px; flex: none; }
.gd-shot__dots span { width: 7px; height: 7px; border-radius: var(--radius-pill); background: var(--border-strong); }
.gd-shot__url {
  flex: 1;
  min-width: 0;
  margin-left: 4px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  font-size: 10px;
  line-height: 1.5;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gd-shot__view { position: relative; display: block; }
.gd-shot__zoom { display: none; }
/* Celular: captura larga recortada a 420 px, con desvanecido y "Ampliar" encima. */
.gd-shot--cropped .gd-shot__view { max-height: 420px; overflow: hidden; }
.gd-shot--cropped .gd-shot__view::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg-card));
}
.gd-shot--cropped .gd-shot__zoom {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-dark);
  color: var(--text-on-accent);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.gd-shot--cropped .gd-shot__more { display: none; }
.gd-shot--link { display: block; min-width: 0; text-decoration: none; }
.gd-shot--link:focus-visible { outline: 2px solid var(--text-primary); outline-offset: 5px; border-radius: 12px; }
.gd-shot__expand { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-top: 8px; font-size: 12px; color: var(--text-secondary); }
.gd-shot--link:hover .gd-shot__more { text-decoration: underline; }
.gd-shot__note { color: var(--text-muted); }
.gd-shot--link img { cursor: zoom-in; }
/* El visor (v-lightbox) muestra la captura casi a pantalla completa y la barra fija de celular queda abajo. */
.gd-lightbox { z-index: 9000; }
.gd-lightbox .v-lightbox__img { background: var(--bg-card); }
.gd-shot--pending {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 140px;
  padding: 14px;
  border-radius: 12px;
  border: 1px dashed var(--border-strong);
  background: var(--bg-card);
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-secondary);
}
.gd-shot--pending strong { color: var(--text-primary); }

/* Funciones de esta guia, al final del articulo: tarjeta con nombre, una linea y flecha. */
.gd-features { display: flex; flex-direction: column; gap: 16px; padding-top: var(--space-3); }
.gd-features h2 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.gd-features__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gd-feature {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--surface);
  border-radius: 18px;
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--duration-fast), border-color var(--duration-fast);
}
.gd-feature__name { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; }
.gd-feature__name i { font-size: 12px; opacity: 0; transform: translateX(-4px); transition: opacity var(--duration-fast), transform var(--duration-fast); }
.gd-feature__desc { font-size: 13px; line-height: 1.5; color: var(--text-secondary); }
.gd-feature:hover,
.gd-feature:focus-visible { color: var(--accent-text); border-color: var(--border-subtle); }
.gd-feature:hover .gd-feature__name i,
.gd-feature:focus-visible .gd-feature__name i { opacity: 1; transform: none; }
/* Sin mouse (celular) la flecha va siempre: es lo que dice que la tarjeta lleva a otra pagina. */
@media (hover: none) { .gd-feature__name i { opacity: 1; transform: none; } }

/* Cierre: "¿Listo para vender tus boletos?", como el de las guias de Stripe. */
.gd-end {
  margin-top: var(--space-6);
  padding: var(--space-6);
  border-radius: 18px;
  background: var(--bg-canvas);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.gd-end h2 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.gd-end p { margin: 0; font-size: 17px; line-height: 1.7; color: var(--text-secondary); }
.gd-end__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 6px; }
.gd-end .gd-btn { gap: 8px; }
.gd-end .gd-btn i,
.gd-end__link i { font-size: 12px; }
.gd-end__link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--accent-text); text-decoration: none; }
.gd-end__link:hover { text-decoration: underline; }

.gd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  background: var(--accent-primary);
  color: var(--text-on-accent);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.gd-btn:hover { background: var(--accent-primary-hover); color: var(--text-on-accent); }

/* Entre tableta y laptop: el indice mas angosto. */
@media (min-width: 1024px) and (max-width: 1279px) {
  .gd-grid { grid-template-columns: 200px minmax(0, 1fr); gap: 40px; padding-inline: var(--page-gutter); }
}

@media (max-width: 1023px) {
  .gd-grid { grid-template-columns: minmax(0, 1fr); padding: var(--space-5) var(--space-4) var(--space-7); gap: 0; }
  .gd-article { max-width: none; gap: 16px; }
  .gd-title { font-size: 32px; line-height: 1.12; }
  .gd-lead { font-size: 17px; }
  .gd-section h2,
  .gd-features h2,
  .gd-end h2 { font-size: 24px; }
  .gd-section > p,
  .gd-section > ul li,
  .gd-end p { font-size: 16px; }
  .gd-section { scroll-margin-top: 80px; }

  /* El indice de la columna se esconde y sale la copia, abierta, debajo de la presentacion. */
  .gd-toc { display: none; }
  .gd-toc.gd-toc--inline { display: flex; position: static; margin: var(--space-2) 0 var(--space-4); }
  .gd-toc--inline .gd-toc__link { padding-block: 10px; }

  .gd-howto { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .gd-features__grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .gd-end { padding: var(--space-5); }
}
.gd-lightbox [hidden] { display: none; }

/* ── Indice de las guias (/organizer/guides, Views/OrganizerPages/Guides.cshtml) ──────────────
   Opcion C del lienzo 7bQbcUSRKozeDC9KiykaLw, como el indice de Stripe: el riel de la izquierda es el de una
   guia (gd-toc) con las guias en vez de sus secciones; a la derecha cada guia numerada, con su resumen, las
   secciones que trae (enlazan directo a cada una) y su foto. */
.gi-grid { max-width: var(--page-max); grid-template-columns: 260px minmax(0, 1fr); }
.gi-main { max-width: none; }
.gi-toc__link { display: flex; justify-content: space-between; gap: 10px; }
.gi-toc__min { font-weight: 500; color: var(--text-muted); white-space: nowrap; }
.gd-toc__note a { color: inherit; }

.gi-list { margin-top: var(--space-5); }
.gi-entry {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) 260px; gap: 28px;
  padding: 36px 0; border-top: 1px solid var(--border-subtle); scroll-margin-top: 88px;
}
.gi-entry__num { font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--ink-15); font-variant-numeric: tabular-nums; }
.gi-entry__body { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.gi-entry__kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-tertiary); }
.gi-entry__title { margin: 0; font-size: 28px; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
.gi-entry__title a { color: var(--text-primary); text-decoration: none; }
.gi-entry__title a:hover { color: var(--accent-text); }
.gi-entry__lead { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text-secondary); max-width: 62ch; }
.gi-entry__secs { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.gi-entry__label { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-secondary); }
.gi-entry__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.gi-entry__pills a {
  font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: var(--radius-pill);
  background: var(--bg-canvas); border: 1px solid var(--border-subtle); color: var(--text-primary); text-decoration: none;
}
.gi-entry__pills a:hover { border-color: var(--accent-primary); color: var(--accent-text); }
.gi-entry__photo { display: block; align-self: start; aspect-ratio: 3 / 2; border-radius: var(--radius-md); overflow: hidden; background: var(--ink-15); }
.gi-entry__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (min-width: 1024px) and (max-width: 1279px) {
  .gi-grid { grid-template-columns: 220px minmax(0, 1fr); }
  .gi-entry { grid-template-columns: 44px minmax(0, 1fr) 200px; gap: 20px; }
}
@media (max-width: 1023px) {
  /* En celular la lista ya es el indice: el riel no se repite. */
  .gi-entry { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 28px 0; }
  .gi-entry__num { display: none; }
  .gi-entry__photo { order: -1; }
  .gi-entry__title { font-size: 23px; }
}
