@charset "utf-8";
/* ============================================================
   seminarGallery.css — Stili specifici per le pagine galleria
   dei seminari (auto-generate da Pranas.NET Web Gallery Creator)
   (header, navbar, social e footer sono in shared.css)
   ============================================================ */

body {
  background: #e1e1e1 url("../bg.jpg") repeat-x fixed;
  font-family: Arial, Helvetica, sans-serif;
  color: #000;
  font-size: 14px;
}

img {
  max-width: 100%;
  height: auto;
}

/* ---------- CONTENUTO GALLERIA ---------- */
#contenuto {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  padding: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

/* ---------- BOTTONI ---------- */
.quick-links {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.cta-link {
  display: inline-block;
  margin-top: .35rem;
  padding: .48rem .88rem;
  border-radius: 999px;
  border: 1px solid #b25f2f;
  background: linear-gradient(180deg, #fff3e8 0%, #ffe3cd 100%);
  color: #7a1f00;
  text-decoration: none !important;
  font-weight: 700;
  letter-spacing: .01em;
  transition: all .2s ease;
}

.cta-link:hover,
.cta-link:focus {
  color: #fff !important;
  background: linear-gradient(180deg, #a84b18 0%, #7a2f0a 100%);
  border-color: #7a2f0a;
  transform: translateY(-1px);
}

/* ---------- TITOLI ---------- */
h2 {
  text-align: center;
  color: #fff;
  background: #8b2a00;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

/* ---------- GALLERIA WRAPPER ---------- */
.gallery-wrapper {
  margin-top: 1rem;
}

.gallery-wrapper .gallery-title {
  text-align: center;
  color: #dd0000;
  font-weight: bold;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.gallery-wrapper .gallery-subtitle {
  text-align: center;
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* ---------- STILI PER LA TABELLA GENERATA ---------- */
.gallery-wrapper #tblThumbsLayout {
  width: 100%;
  border-collapse: collapse;
}

.gallery-wrapper #tblThumbsLayout td.tdImg {
  padding: 4px;
  text-align: center;
  vertical-align: middle;
}

.gallery-wrapper #tblThumbsLayout td.tdImg img {
  border: 1px solid #ccc;
  border-radius: 4px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-wrapper #tblThumbsLayout td.tdImg img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ---------- MEDIA QUERIES ---------- */
@media (max-width: 767.98px) {
  .gallery-wrapper #tblThumbsLayout td.tdImg {
    display: inline-block;
    width: auto;
  }
}

@media (max-width: 575.98px) {
  body {
    background-attachment: scroll;
  }

  #contenuto {
    padding: 1rem;
  }

  h2 {
    font-size: 1.1rem;
  }

  .cta-link {
    font-size: .88rem;
    padding: .4rem .7rem;
  }
}
