/*
Theme Name:   Gracia Cutuli
Template:     blaze
Version:      1.0
Description:  Sitio de Gracia Cutuli — artista textil argentina
*/

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --gc-black:   #0a0a0a;
  --gc-white:   #f8f7f5;
  --gc-gray:    #6b6b6b;
  --gc-light:   #e8e6e1;
  --gc-accent:  #8b7355;
  --gc-font:    'EB Garamond', Georgia, serif;
  --gc-sans:    'Inter', 'Helvetica Neue', sans-serif;
  --gc-gap:     2rem;
}

/* ── Ocultar logo Blaze ─────────────────────────────────────── */
.edgtf-logo-wrapper,
.edgtf-mobile-logo-wrapper { display: none !important; }

/* ── Ocultar footer del tema Blaze ───────────────────────────── */
.edgtf-footer-top-holder,
.edgtf-footer-bottom-holder,
footer.edgtf-page-footer { display: none !important; }

/* ── Base ──────────────────────────────────────────────────── */
body {
  background: var(--gc-white);
  color: var(--gc-black);
  font-family: var(--gc-font);
  font-size: 1.05rem;
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.65; }

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

/* ── Logo ───────────────────────────────────────────────────── */
.gc-masthead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2.4rem 2rem 1.2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.gc-logo {
  display: block;
  text-decoration: none;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gc-black);
  margin-bottom: 0.4rem;
}

.gc-logo-gracia {
  font-family: var(--gc-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 700;
  font-style: normal;
}

.gc-logo-cutuli {
  font-family: var(--gc-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 300;
  font-style: normal;
  margin-left: 0.25em;
}

.gc-masthead-name {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gc-black);
  display: block;
  line-height: 1;
}

.gc-masthead-sub {
  font-family: var(--gc-sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gc-gray);
  display: block;
  margin-top: 0.55rem;
}

/* ── Hero Slider ───────────────────────────────────────────── */
.gc-hero-wrapper {
  max-width: 980px;
  margin: 0 auto 0;
  padding: 0 2rem 0;
}

.gc-hero-slider {
  position: relative;
  width: 100%;
}

/* Slides ocultas por default */
.gc-hero-slide {
  display: none !important;
}

.gc-hero-slide.active {
  display: block !important;
  position: relative;
}

/* Marco con sombra suave alrededor de la imagen */
.gc-hero-img-link {
  display: block;
}

.gc-hero-frame {
  background: var(--gc-white);
  padding: 1.2rem;
  box-shadow: 0 2px 28px rgba(0,0,0,0.08);
  box-sizing: border-box;
  display: inline-block;
  width: 100%;
}

.gc-hero-img {
  width: 100% !important;
  height: 62vh !important;
  max-height: 620px;
  min-height: 320px;
  object-fit: contain;
  display: block !important;
  background: #f4f2ef;
}

/* Caption debajo de la imagen, alineada a la derecha */
.gc-hero-caption {
  display: block;
  text-align: right;
  padding: 0.6rem 0.2rem 0;
  max-width: 100%;
}

.gc-hero-title {
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--gc-black);
  line-height: 1.3;
  display: block;
}

.gc-hero-year {
  display: block;
  font-family: var(--gc-sans);
  font-size: 0.72rem;
  color: var(--gc-gray);
  margin-top: 0.2rem;
  letter-spacing: 0.06em;
}

.gc-hero-distincion {
  font-family: var(--gc-sans);
  font-size: 0.67rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gc-accent);
  display: block;
  margin-top: 0.25rem;
}

/* Dots navigation */
.gc-hero-dots {
  display: flex;
  gap: 0.5rem;
  padding-top: 1rem;
  justify-content: center;
}

.gc-hero-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gc-light);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s;
}

.gc-hero-dot.active { background: var(--gc-black); }

/* Responsive hero */
@media (max-width: 768px) {
  .gc-hero-img { height: 48vw !important; }
  .gc-hero-caption { max-width: 200px; padding: 0.5rem 0.75rem; }
  .gc-masthead-name { letter-spacing: 0.06em; }
}

/* ── Intro texto home ──────────────────────────────────────── */
.gc-intro {
  max-width: 560px;
  margin: 6rem auto;
  text-align: center;
  padding: 0 var(--gc-gap);
}

.gc-intro h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.gc-intro p {
  font-family: var(--gc-sans);
  font-size: 0.95rem;
  color: var(--gc-gray);
  margin-bottom: 2rem;
}

.gc-btn {
  display: inline-block;
  font-family: var(--gc-sans);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gc-black);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}
.gc-btn:hover { opacity: 0.5; }

/* ── Décadas — bloques home ────────────────────────────────── */
.gc-decades {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gc-light);
  margin: 0 0 6rem;
}

.gc-decade-block {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--gc-black);
  cursor: pointer;
}

.gc-decade-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
  transition: opacity 0.4s, transform 0.6s;
}

.gc-decade-block:hover img {
  opacity: 0.45;
  transform: scale(1.04);
}

.gc-decade-label {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  color: #fff;
  font-family: var(--gc-sans);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ── MALBA highlight ───────────────────────────────────────── */
.gc-malba {
  max-width: 680px;
  margin: 0 auto 6rem;
  text-align: center;
  padding: 3rem var(--gc-gap);
  border-top: 1px solid var(--gc-light);
  border-bottom: 1px solid var(--gc-light);
}

.gc-malba p {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--gc-gray);
  line-height: 1.6;
}

/* ── Grid de obras ─────────────────────────────────────────── */
.gc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  padding: 0 var(--gc-gap) 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

.gc-grid-item {
  display: block;
  position: relative;
}

.gc-grid-item img {
  aspect-ratio: 1;
  object-fit: cover;
  transition: opacity 0.3s;
}
.gc-grid-item:hover img { opacity: 0.8; }

.gc-grid-caption {
  padding: 0.75rem 0 0;
}

.gc-grid-title {
  display: block;
  font-size: 0.9rem;
  font-family: var(--gc-sans);
}

.gc-grid-year {
  display: block;
  font-size: 0.8rem;
  color: var(--gc-gray);
  font-family: var(--gc-sans);
  margin-top: 2px;
}

/* ── Página individual de obra ─────────────────────────────── */
.gc-obra-single {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 var(--gc-gap);
  align-items: start;
}

.gc-obra-img img {
  width: 100%;
  height: auto;
}

.gc-obra-ficha h1 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.gc-obra-ficha table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  font-family: var(--gc-sans);
  font-size: 0.9rem;
}

.gc-obra-ficha td {
  padding: 0.6rem 0;
  vertical-align: top;
  border-bottom: 1px solid var(--gc-light);
}

.gc-obra-ficha td:first-child {
  color: var(--gc-gray);
  width: 40%;
  letter-spacing: 0.05em;
}

.gc-obra-texto {
  font-style: italic;
  color: var(--gc-gray);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.gc-consultar {
  font-family: var(--gc-sans);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--gc-black);
  padding: 0.7rem 1.5rem;
  display: inline-block;
  transition: background 0.2s, color 0.2s;
}
.gc-consultar:hover {
  background: var(--gc-black);
  color: var(--gc-white);
  opacity: 1;
}

/* ── Obras relacionadas ────────────────────────────────────── */
.gc-relacionadas {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 var(--gc-gap);
}

.gc-relacionadas h3 {
  font-size: 0.8rem;
  font-family: var(--gc-sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gc-gray);
  margin-bottom: 2rem;
  border-top: 1px solid var(--gc-light);
  padding-top: 2rem;
}

/* ── Décadas — página Obra ─────────────────────────────────── */
.gc-decada-section {
  max-width: 1400px;
  margin: 0 auto 5rem;
  padding: 0 var(--gc-gap);
  border-top: 1px solid var(--gc-light);
  padding-top: 3rem;
}

/* ── Filas de décadas (una por fila) ───────────────────────── */
.gc-decadas-index {
  max-width: 1400px;
  margin: 0 auto 6rem;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.gc-decada-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  text-decoration: none;
  color: inherit;
  height: 320px;
}
.gc-decada-row:hover .gc-decada-row-half img { transform: scale(1.02); }

.gc-decada-row-half {
  position: relative;
  overflow: hidden;
  height: 320px;
  background: #ece9e3;
}

.gc-decada-row-half img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  transition: transform 0.6s;
}

.gc-decada-row-nophoto {
  width: 100%;
  height: 100%;
  background: #ece9e3;
}

/* Indicador "ver obras" en la fila */
.gc-decada-row::after {
  content: 'Ver obras →';
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  font-family: var(--gc-sans);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: #fff;
  background: rgba(0,0,0,0.42);
  padding: 0.3rem 0.7rem;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.gc-decada-row { position: relative; }
.gc-decada-row:hover::after { opacity: 1; }

/* Overlay de texto al hacer hover sobre el retrato */
.gc-decada-row-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.62);
  color: #f5f4f0;
  font-family: var(--gc-sans);
  font-size: 0.8rem;
  line-height: 1.55;
  padding: 1.4rem 1.5rem;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  transition: opacity 0.35s;
}
.gc-decada-row:hover .gc-decada-row-overlay { opacity: 1; }

.gc-decada-row-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  font-family: var(--gc-sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
  color: #fff !important;
  background: rgba(0,0,0,0.58);
  padding: 0.3rem 0.7rem;
  backdrop-filter: blur(2px);
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* ── Vista de una sola década ──────────────────────────────── */
.gc-decada-inner-cover {
  margin-bottom: 3rem;
  position: relative;
  height: 420px;
  overflow: hidden;
}

.gc-decada-inner-cover a {
  display: block;
  height: 100%;
}

.gc-decada-inner-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.gc-decada-heading {
  display: none;
}

.gc-decada-title {
  font-size: 1rem;
  font-family: var(--gc-sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
}

.gc-decada-retrato,
.gc-decada-obra-rep {
  background: var(--gc-white);
  overflow: hidden;
  position: relative;
  height: 320px;
}

.gc-decada-retrato img,
.gc-decada-obra-rep img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s;
}

.gc-decada-obra-rep:hover img { transform: scale(1.03); }

.gc-decada-obra-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.55));
  color: #fff;
  font-family: var(--gc-sans);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

/* ── Caption de retrato en décadas ────────────────────────── */
.gc-decada-retrato-caption {
  font-family: var(--gc-sans);
  font-size: 0.72rem;
  color: var(--gc-gray);
  padding: 0.5rem 0.75rem;
  line-height: 1.4;
  border-top: 1px solid var(--gc-light);
  background: var(--gc-white);
}

/* ── Formulario consulta disponibilidad ────────────────────── */
.gc-consulta-form {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: #faf9f7;
  border: 1px solid var(--gc-light);
}

.gc-consulta-form .wpcf7-form label {
  display: block;
  font-family: var(--gc-sans);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--gc-gray);
  margin-bottom: 1rem;
}

.gc-consulta-form .wpcf7-form input[type="text"],
.gc-consulta-form .wpcf7-form input[type="email"],
.gc-consulta-form .wpcf7-form input[type="tel"],
.gc-consulta-form .wpcf7-form textarea {
  display: block;
  width: 100%;
  border: none;
  border-bottom: 1px solid #ccc;
  background: transparent;
  padding: 0.4rem 0;
  font-family: var(--gc-sans);
  font-size: 0.88rem;
  color: var(--gc-black);
  margin-top: 0.3rem;
  outline: none;
}
.gc-consulta-form .wpcf7-form input[readonly] {
  color: var(--gc-gray);
  border-bottom-style: dashed;
}

.gc-consulta-form .wpcf7-form input[type="submit"] {
  margin-top: 1.2rem;
  background: var(--gc-black);
  color: #fff;
  border: none;
  padding: 0.65rem 1.6rem;
  font-family: var(--gc-sans);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.gc-consulta-form .wpcf7-form input[type="submit"]:hover { background: #333; }

/* ── Bibliografía ──────────────────────────────────────────── */
.gc-bib-catalogo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
}

.gc-bib-catalogo-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gc-bib-catalogo-cover {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: #ece9e3;
}

.gc-bib-catalogo-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s;
}
.gc-bib-catalogo-cover:hover img { transform: scale(1.03); }

.gc-bib-catalogo-pdf-badge {
  position: absolute;
  bottom: 0.6rem;
  right: 0.6rem;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-family: var(--gc-sans);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  padding: 0.2rem 0.5rem;
}

.gc-bib-catalogo-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.gc-bib-catalogo-title {
  display: block;
  font-family: var(--gc-serif);
  font-size: 0.95rem;
  color: var(--gc-black);
  line-height: 1.3;
}

.gc-bib-catalogo-sub {
  display: block;
  font-family: var(--gc-sans);
  font-size: 0.74rem;
  color: var(--gc-gray);
  line-height: 1.4;
}

.gc-bib-catalogo-dl {
  display: inline-block;
  font-family: var(--gc-sans);
  font-size: 0.72rem;
  color: #8b7355;
  letter-spacing: 0.05em;
  text-decoration: none;
  margin-top: 0.2rem;
}
.gc-bib-catalogo-dl:hover { text-decoration: underline; }

.gc-bib-prensa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.gc-bib-prensa-item {
  display: block;
  text-decoration: none;
  color: inherit;
}

.gc-bib-prensa-item img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s;
  border: 1px solid var(--gc-light);
}
.gc-bib-prensa-item:hover img { transform: scale(1.02); }

.gc-bib-prensa-caption {
  display: block;
  font-family: var(--gc-sans);
  font-size: 0.74rem;
  color: var(--gc-gray);
  margin-top: 0.5rem;
  line-height: 1.4;
}

/* ── Obra disponible (home) ────────────────────────────────── */
.gc-home-disponible {
  max-width: 1400px;
  margin: 4rem auto 5rem;
  padding: 0 2rem;
}

.gc-home-disponible-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid var(--gc-light);
  padding-top: 2rem;
  margin-bottom: 2rem;
}

.gc-home-disponible-header h2 {
  font-size: 0.85rem;
  font-family: var(--gc-sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
  margin: 0;
  color: var(--gc-black);
}

.gc-home-disponible-header a {
  font-family: var(--gc-sans);
  font-size: 0.78rem;
  color: var(--gc-gray);
  text-decoration: none;
  letter-spacing: 0.05em;
}
.gc-home-disponible-header a:hover { color: var(--gc-black); }

.gc-home-disponible-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.8rem;
}

.gc-home-disp-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--gc-light);
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.gc-home-disp-item:hover {
  box-shadow: 0 4px 18px rgba(0,0,0,0.09);
}

.gc-home-disp-item img {
  width: 62% !important;
  flex-shrink: 0;
  aspect-ratio: 3/4;
  object-fit: cover !important;
  object-position: center;
  display: block;
  transition: transform 0.5s;
}
.gc-home-disp-item:hover img { transform: scale(1.03); }

.gc-home-disp-caption {
  padding: 1rem 0.9rem;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center;
  flex: 1;
}

.gc-home-disp-title {
  display: block;
  font-family: var(--gc-serif);
  font-size: 1rem;
  color: var(--gc-black);
  line-height: 1.35;
  margin-bottom: 0.35rem;
}

.gc-home-disp-meta {
  display: block;
  font-family: var(--gc-sans);
  font-size: 0.72rem;
  color: var(--gc-gray);
}

/* ── Bocetos ───────────────────────────────────────────────── */
.gc-bocetos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  padding: 0 var(--gc-gap) 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

.gc-boceto-item img {
  aspect-ratio: 4/5;
  object-fit: cover;
}

/* ── Página destacada MALBA / presente ────────────────────── */
.gc-presente {
  background: var(--gc-black);
  color: var(--gc-white);
  padding: 5rem var(--gc-gap);
  text-align: center;
}

.gc-presente h2 {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 400;
  margin-bottom: 1rem;
}

.gc-presente p {
  font-family: var(--gc-sans);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  max-width: 500px;
  margin: 0 auto;
}

/* ── Obra disponible ───────────────────────────────────────── */
.gc-disponible-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

.gc-disponible-header {
  max-width: 620px;
  margin: 0 auto 4rem;
  text-align: center;
  border-bottom: 1px solid var(--gc-light);
  padding-bottom: 3rem;
}

.gc-disponible-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.gc-disponible-header p {
  font-family: var(--gc-sans);
  font-size: 0.9rem;
  color: var(--gc-gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.gc-disponible-grid {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.gc-disponible-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  padding-bottom: 5rem;
  border-bottom: 1px solid var(--gc-light);
}

.gc-disponible-item:nth-child(even) .gc-disponible-img-link {
  order: 2;
}
.gc-disponible-item:nth-child(even) .gc-disponible-info {
  order: 1;
}

.gc-disponible-img-link { display: block; }

.gc-disponible-img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s;
}
.gc-disponible-img-link:hover .gc-disponible-img { opacity: 0.85; }

.gc-disponible-placeholder {
  aspect-ratio: 1;
  background: var(--gc-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--gc-sans);
  font-size: 0.75rem;
  color: var(--gc-gray);
}

.gc-disponible-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 0.5rem;
}

.gc-disponible-title {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 400;
  line-height: 1.2;
  display: block;
}

.gc-disponible-year {
  font-family: var(--gc-sans);
  font-size: 0.8rem;
  color: var(--gc-gray);
  letter-spacing: 0.08em;
  display: block;
  margin-top: -0.5rem;
}

.gc-disponible-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--gc-sans);
  font-size: 0.85rem;
}

.gc-disponible-table td {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gc-light);
  vertical-align: top;
}

.gc-disponible-table td:first-child {
  color: var(--gc-gray);
  width: 35%;
  letter-spacing: 0.04em;
}

.gc-disponible-texto {
  font-style: italic;
  color: var(--gc-gray);
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 0;
}

.gc-disponible-nota {
  text-align: center;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gc-light);
}

.gc-disponible-nota p {
  font-family: var(--gc-sans);
  font-size: 0.82rem;
  color: var(--gc-gray);
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  .gc-disponible-item { grid-template-columns: 1fr; gap: 2rem; }
  .gc-disponible-item:nth-child(even) .gc-disponible-img-link { order: unset; }
  .gc-disponible-item:nth-child(even) .gc-disponible-info { order: unset; }
}

/* ── Lightbox modal ─────────────────────────────────────────── */
#gc-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
#gc-lightbox.active { display: flex; }

#gc-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  width: auto;
  height: auto;
  display: block;
  cursor: default;
  box-shadow: 0 4px 40px rgba(0,0,0,0.6);
}

#gc-lightbox-close {
  position: fixed;
  top: 1.2rem;
  right: 1.6rem;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  background: none;
  border: none;
  opacity: 0.75;
  transition: opacity 0.2s;
  font-family: var(--gc-sans);
  z-index: 10000;
}
#gc-lightbox-close:hover { opacity: 1; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .gc-decades { grid-template-columns: repeat(2, 1fr); }
  .gc-obra-single { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 600px) {
  .gc-decades { grid-template-columns: 1fr 1fr; }
  .gc-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
}
