#reglamento-text {
  font-family: "Outreque", sans-serif;
}

.reg-section {
  display: none;
}
.reg-section.active {
  display: block;
}

.reg-section h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--pink);
  letter-spacing: 0.03em;
  text-transform: lowercase;
  margin-bottom: 0.8rem;
  margin-top: 1.5rem;
}
.reg-section h3:first-child {
  margin-top: 0;
}

.reg-section p {
  color: black;
  margin-bottom: 1rem;
  max-width: 80%;
  font-size: 20px;
  line-height: 1.5;
}
.reg-section p:last-child {
  margin-bottom: 0;
}

/* ── Referencias ── */
.refs-block {
  margin-bottom: 2.5rem;
}
.refs-block:last-child {
  margin-bottom: 0;
}

.refs-cat {
  font-size: 1rem;
  text-transform: none;
  letter-spacing: 0.01em;
  color: #ff3773;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.refs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.refs-list li {
  line-height: 1.5;
  color: black;
  margin: 0.25rem;
  max-width: 80%;
  list-style: disc;
  font-size: 20px;
}

.refs-list a {
  color: black;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.refs-list a:hover {
  color: var(--pink);
}

#btn-publicacion {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  font-family: "Outreque", sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.4rem);
  font-weight: 700;
  color: #ffd9ba;
  background: #fd5e96;
  border: none;
  border-radius: 14px;
  padding: 0.6rem 1.8rem;
  cursor: pointer;
  letter-spacing: 0.02em;
  z-index: 20;
  transition:
    background 0.15s,
    transform 0.1s;
}
#btn-publicacion:hover {
  background: var(--orange, #fd7145);
  transform: scale(1.03);
}

/* ── Galería ── */
.galeria-grid {
  columns: 2;
  column-gap: 1rem;
}

.galeria-grid img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 2.5px solid var(--pink);
  margin-bottom: 1rem;
  break-inside: avoid;
}

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.lightbox-bg {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(253, 138, 170, 0.3);
}

.lightbox img {
  position: relative;
  z-index: 1;
  max-width: 88vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 14px;
  border: 2.5px solid var(--pink);
  object-fit: contain;
}
/* ── Mobile ── */
@media (max-width: 768px) {
  .page-center {
    padding: 0.8rem 1rem 5rem;
  }

  .reg-section p,
  .refs-list li {
    max-width: 100%;
  }

  #btn-publicacion {
    bottom: 1rem;
    right: 1rem;
    font-size: 1rem;
  }

  .galeria-grid {
    columns: 1;
  }
}
