:root{--bg:#faf7f2;--ink:#1f2937;--muted:#6b7280;--accent:#9a6b34}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--ink);font-family:system-ui,-apple-system,Segoe UI,Roboto,Inter,Helvetica,Arial,sans-serif;line-height:1.65}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:980px;margin:0 auto;padding:20px}
header{padding:28px 0;border-bottom:1px solid #e7e2db;background:#fff7ef}
.brand{display:flex;align-items:center;gap:12px}
.brand h1{font-size:1.8rem;margin:0}
nav{margin-top:8px;display:flex;gap:14px;flex-wrap:wrap}
.hero{padding:40px 0}
.hero h2{font-size:2.1rem;margin:0 0 8px 0}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.card{background:white;border:1px solid #eee;border-radius:14px;padding:16px;box-shadow:0 1px 4px rgba(0,0,0,.04)}
.card h3{margin:0 0 8px 0}
.card img{width:100%;height:auto;border-radius:12px;border:1px solid #eee}
footer{margin-top:40px;padding:28px 0;border-top:1px solid #e7e2db;color:var(--muted);font-size:.95rem}
.btn{display:inline-block;background:var(--ink);color:white;padding:10px 14px;border-radius:10px}
.btn.secondary{background:#fff;border:1px solid #ddd;color:var(--ink)}
ul.clean{list-style:none;padding:0;margin:0;display:grid;gap:8px}
article.poem{background:white;border:1px solid #eee;border-radius:14px;padding:22px;box-shadow:0 1px 4px rgba(0,0,0,.04);max-width:720px}
.poem h1{font-size:1.6rem;margin:0 0 8px 0}
.poem .meta{color:var(--muted);font-size:.95rem;margin-bottom:16px}
pre.verso{white-space:pre-wrap;font-family:ui-serif, Georgia, 'Times New Roman', serif;font-size:1.05rem;margin:0}
small.muted{color:var(--muted)}
section+section{margin-top:28px}
h3{margin-bottom:8px}
#links h2 {
  font-family: "Georgia", serif;
  font-weight: 600;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
  padding-bottom: 4px;
}
#links a {
  color: var(--accent);
  text-decoration: none;
  transition: color .2s ease;
}
#links a:hover { color: #222; text-decoration: underline; }

/* Portadas completas sin recortes */
img.portada{
  width:100%;
  height:auto;
  display:block;
  object-fit:contain;
  background:#fff;
  padding:8px;
  border:1px solid #eee;
  border-radius:12px;
}
.portadas-grid .card{display:flex;flex-direction:column}
.portadas-grid .card h4,.portadas-grid .card p{margin-top:10px}
/* === Lightbox minimalista (no JS) === */
.lb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 16px;
}

.lb-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}

.lb-thumb {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  border: 1px solid #eee;
  transition: transform .15s ease;
  cursor: zoom-in;
}
.lb-thumb:hover { transform: scale(1.01); }

/* Overlay */
.lb-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 999;
}
.lb-overlay:target { display: flex; }

/* Imagen grande */
.lb-photo {
  max-width: 92vw;
  max-height: 86vh;
  border-radius: 12px;
  box-shadow: 0 2px 22px rgba(0,0,0,.5);
  border: 1px solid #111;
}

/* Cerrar */
.lb-close {
  position: absolute;
  top: 16px;
  right: 20px;
  color: #fff;
  font-size: 1.6rem;
  text-decoration: none;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.25);
}
.lb-close:hover { background: rgba(255,255,255,.15); }

/* === Taller Moby Dick helpers === */
.subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 6px 0 10px 0;
}
.workshop-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.workshop-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid #eee;
}
details.accordion {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
}
details.accordion summary {
  font-weight: 600;
  cursor: pointer;
}
details.accordion[open] {
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
@media (min-width: 720px){
  .workshop-card { grid-template-columns: 1.1fr 1fr; }
}
<img src="/assets/uploads/logo.jpg" alt="Logo Gustavo Lozano" class="logo">
/* Portadas de libros y antologías */
.card img {
  max-width: 220px;
  height: auto;
  border-radius: 8px;
  margin: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card img:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Sutil protagonismo para El sol entre los cardos */
.card img[alt*="El sol entre los cardos"] {
  max-width: 480px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  transform: scale(1.02);
}
details.accordion { border:1px solid #eee; border-radius:12px; padding:12px 14px; background:#fff; }
details.accordion summary { font-weight:600; cursor:pointer; }
details.accordion[open]{ box-shadow:0 1px 4px rgba(0,0,0,.04); }

#links h2 {
  font-family: "Georgia", serif;
  font-weight: 600;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
  padding-bottom: 4px;
}
#links a {
  color: var(--accent);
  text-decoration: none;
  transition: color .2s ease;
}
#links a:hover { color: #222; text-decoration: underline; }
.portadas-grid img.portada {
  object-fit: cover;
  aspect-ratio: 3 / 4;
}
.brand {
  display: flex;
  align-items: baseline; /* alinea h1 y p en la misma línea */
  gap: 10px;
}

.brand h1 {
  margin: 0;
  font-size: 1.5rem;
}

.brand .subtitle {
  margin: 0 0 0 10px;
  font-size: 1rem;
  font-style: italic;
  color: #555;
}
header {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}
/* Ajuste fino del espacio entre título y subtítulo */
.brand h1 {
  margin-bottom: -0.25em; /* acerca el subtítulo */
  line-height: 1.05;
}
/* (Solo tendrá efecto si algún día agregás .subtitle bajo el h1) */
.brand .subtitle {
  margin-top: 0;
  line-height: 1;
  font-size: 1rem;
  font-style: italic;
  color: #444;
  position: relative;
  top: -0.2em; /* empuja hacia arriba */
}

/* Cita estilizada */
.quote {
  margin: 2rem auto;
  max-width: 640px;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--accent, #222);
  color: #555;
  font-style: italic;
  line-height: 1.6;
}
.quote p { margin: 0; }
.quote cite {
  display: block;
  margin-top: .5rem;
  font-style: normal;
  color: #777;
  text-align: right;
}

/* (Opcional) comilla grande decorativa */
.quote::before {
  content: "“";
  font-size: 3rem;
  line-height: 1;
  position: relative;
  top: .25rem;
  left: -.25rem;
  opacity: .25;
}
.hero .tagline{
  font-style: italic;
  color:#666;
  text-align:center;
  margin:.75rem 0 1rem;   /* poco aire */
  font-size:.95rem;
  line-height:1.35;
}
.hero .actions{
  display:flex; gap:8px; justify-content:center; flex-wrap:wrap; margin-top:.5rem;
}
/* Que ninguna imagen desborde en móvil */
img { 
  max-width: 100%;
  height: auto;
  display: block;
}

/* Hero contenido dentro del ancho de la página */
.hero-image{
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 16px;       /* opcional */
}

