: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 */
}

.grid.portadas-grid .portada {
  width: 220px;          /* tamaño uniforme */
  height: 320px;         /* proporción tipo libro vertical */
  object-fit: cover;     /* mantiene la imagen centrada sin deformarla */
  border-radius: 8px;    /* esquinas suaves */
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.grid.portadas-grid .portada:hover {
  transform: scale(1.03); /* leve zoom al pasar el mouse */
}
<link rel="stylesheet" href="/css/styles.css?v=20251008">

  <!-- Favicon & Icons -->
  <link rel="icon" href="/favicon.ico">
  <link rel="icon" type="image/png" sizes="32x32" href="/icons/favicon-32x32.png">
  <link rel="icon" type="image/png" sizes="16x16" href="/icons/favicon-16x16.png">
  <link rel="icon" type="image/svg+xml" href="/icons/favicon.svg">
  <link rel="apple-touch-icon" sizes="180x180" href="/icons/apple-touch-icon.png">
  <link rel="mask-icon" href="/icons/safari-pinned-tab.svg" color="#111111">
  <link rel="manifest" href="/site.webmanifest">

  <!-- Open Graph / Social -->
  <meta property="og:title" content="Gustavo Lozano — Poesía & Fotografía">
  <meta property="og:description" content="La belleza está en lo que desaparece: poesía, fotografía y talleres.">
  <meta property="og:image" content="/assets/logotipo.png">
  <meta property="og:type" content="website">
  <meta property="og:url" content="https://gustavolozano.ar">

  <!-- Fonts / Fallbacks -->
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
</head>
.hero-rotator {
  position: relative;
  max-width: 960px;
  margin: 1.5rem auto 2rem auto;
  overflow: hidden;
  border-radius: 12px;
}

.hero-rotator .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-rotator .hero-slide.is-active {
  position: relative;
  opacity: 1;
}

.hero-rotator img.hero-image {
  display: block;
  width: 100%;
  height: auto;
}

/* Por si alguien tiene reducción de movimiento activada */
@media (prefers-reduced-motion: reduce) {
  .hero-rotator .hero-slide {
    transition: none;
  }
}
.sobre-mi {
  margin: 3rem 0;
  padding: 1rem 0 2rem 0;
  border-top: 1px solid #ddd;
}

.sobre-mi-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.sobre-mi-foto {
  width: 140px;
  height: 140px;
  border-radius: 12px;
  object-fit: cover;
}

.sobre-mi-texto h3 {
  margin-top: 0;
  font-size: 1.4rem;
}

@media (max-width: 700px) {
  .sobre-mi-inner {
    flex-direction: column;
    text-align: center;
  }
}
.hero-rotator {
  position: relative;
  max-width: 960px;
  margin: 1.5rem auto 2rem auto;
  overflow: hidden;
  border-radius: 12px;
}

/* Todas las diapositivas empiezan invisibles */
.hero-rotator .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  /* sin transición: cambio limpio, sin borroneo */
}

/* Solo la activa entra en el flujo y se ve */
.hero-rotator .hero-slide.is-active {
  position: relative;
  opacity: 1;
}

.hero-rotator img.hero-image {
  display: block;
  width: 100%;
  height: auto;
}

/* Opcional, pero lo dejamos prolijo para accesibilidad */
@media (prefers-reduced-motion: reduce) {
  .hero-rotator .hero-slide {
    /* seguimos sin transición */
  }
}

.libro-home {
  margin: 4rem 0;
  padding: 2rem 0;
  border-top: 1px solid #ddd;
}

.libro-inner {
  display: flex;
  gap: 2rem;
  align-items: center;
}

/* ACÁ domesticamos el tamaño de la tapa */
.libro-portada {
  width: 180px;      /* ancho fijo amable */
  max-width: 40vw;   /* por si la pantalla es muy chica */
  height: auto;
  border-radius: 8px;
  display: block;
}

@media (max-width: 700px) {
  .libro-inner {
    flex-direction: column;
    text-align: center;
  }
}
/* POEMAS DESTACADOS */
.poemas-destacados {
  margin: 3rem 0;
  padding: 2rem 0;
  border-top: 1px solid #ddd;
}

.poemas-destacados h3 {
  margin-bottom: 1.5rem;
}

.poemas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.poemas-grid article {
  background: #fafafa;
  padding: 1.2rem 1rem;
  border-radius: 8px;
  box-shadow: 0 0 4px rgba(0,0,0,0.05);
}

.poema-fragmento {
  font-style: italic;
  color: #444;
  line-height: 1.5;
  margin-bottom: .75rem;
}

.leer-mas {
  display: inline-block;
  font-size: .92rem;
  color: var(--accent, #333);
  text-decoration: none;
  border-bottom: 1px solid var(--accent, #333);
  padding-bottom: 2px;
}

.leer-mas:hover {
  opacity: .7;
}
.quote .tagline {
  display: inline-block;
  margin: 0;
  line-height: 1.4;
  white-space: normal;
}
.tagline-solnit {
  display: block;
  margin: 1.5rem 0 2rem 0;
  font-style: italic;
  text-align: left;   /* o center si te gusta más */
  line-height: 1.6;
}
.quote::before,
.quote::after {
  content: none !important;
}

.hero-rotator img.hero-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;   /* podés bajar a 380 o 360 si la querés más bajita */
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}
.item-overlay {
  position: relative;
}

.item-overlay img {
  display: block;
  width: 100%;
  border-radius: 12px;
}

.caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.45);
  color: white;
  padding: 0.4rem 0.6rem;
  font-size: 0.85rem;
  border-radius: 0 0 12px 12px;
}

.gallery img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery .photo {
  margin-bottom: 24px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.gallery {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 2rem;
}

.photo-card {
  background: white;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.photo-card img {
  width: 100%;
  display: block;
}

.photo-info {
  padding: 1rem 1.2rem;
  color: var(--text);
}

.photo-info h3 {
  margin-top: 0;
  font-size: 1rem;
  color: var(--muted);
}

.photo-info p {
  margin: .5rem 0 0;
  font-size: .95rem;
  line-height: 1.5;
}
