.evento-detalhe-page {
  background-color: #f0f0ee;
  padding-bottom: 3rem;
}
.evento-detalhe-page h2,
.evento-detalhe-page #comment-form h4 {
  color: #d8a758;
  font-weight: 400;
}
.evento-detalhe-page .btn-primary {
  background-color: #d8a758;
  border-color: #c49548;
}
.evento-detalhe-page .btn-primary:hover, .evento-detalhe-page .btn-primary:focus, .evento-detalhe-page .btn-primary:active {
  background-color: #c49548;
  border-color: rgb(179.5214876033, 133.4148760331, 57.8785123967);
}
.evento-detalhe-page .pagination {
  --bs-pagination-active-bg: #d8a758;
  --bs-pagination-active-border-color: #c49548;
  --bs-pagination-color: #c49548;
  --bs-pagination-hover-color: rgb(164.0950413223, 121.9504132231, 52.9049586777);
  --bs-pagination-focus-color: #c49548;
}

#wrapper {
  padding: 0;
}

.dark-inside {
  padding: 20px 0;
}

#wall {
  margin: 40px 0;
  padding: 4px;
}

.evento-detalhe__titulo {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.35;
  margin: 0;
  color: #d8a758;
}
.evento-detalhe__titulo small {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.65em;
  color: #c49548;
}

.evento-detalhe__parceiros-titulo {
  font-size: 1.25rem;
  font-weight: 400;
  color: #d8a758;
}

.evento-detalhe__parceiro a:hover img {
  box-shadow: 0 4px 16px rgba(216, 167, 88, 0.45);
}
.evento-detalhe__parceiro img {
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  width: 270px !important;
  height: 152px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  transition: box-shadow 0.3s ease;
}

.evento-detalhe__parceiro-nome {
  padding: 1rem;
  background: #fff;
  border-radius: 4px;
}

.evento-detalhe__stats {
  font-size: 1.1rem;
  font-weight: 400;
  margin: 0;
  color: #6b6b6b;
}
.evento-detalhe__stats .fa {
  margin-right: 0.35rem;
  color: #d8a758;
}

.evento-detalhe__galeria {
  width: 100%;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.galeria-fotos {
  min-width: 0;
}
.galeria-fotos img {
  cursor: pointer;
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

#wall .item {
  padding: 4px;
  margin: 0;
}

.evento-detalhe__foto-lazy {
  display: block;
  width: 100%;
}

.evento-detalhe__foto-placeholder {
  display: block;
  min-height: 120px;
  background: #e4e4e0;
}

.gallery-photo-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: #e4e4e0;
  outline: 2px solid transparent;
  outline-offset: -2px;
  transition: outline-color 0.3s ease;
}
.gallery-photo-wrapper img {
  transition: transform 0.3s ease;
}
.gallery-photo-wrapper:hover {
  outline-color: #d8a758;
}
.gallery-photo-wrapper:hover img {
  transform: scale(1.03);
}
.gallery-photo-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(216, 167, 88, 0.18);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}
.gallery-photo-wrapper:hover::before {
  opacity: 1;
}
.gallery-photo-wrapper::after {
  content: "\f00e";
  font-family: "FontAwesome", serif;
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #d8a758;
  font-size: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 2;
}
.gallery-photo-wrapper:hover::after {
  opacity: 1;
}

.galeria-fotos .description h4 {
  margin-top: 0.75rem;
  font-size: 1rem;
  color: #d8a758;
  font-weight: 500;
}

.evento-detalhe__comentario {
  font-size: 0.95rem;
  border-bottom-color: rgba(216, 167, 88, 0.18) !important;
}
.evento-detalhe__comentario strong {
  color: #c49548;
}

#comment-form label {
  color: #555;
}
#comment-form .form-control:focus {
  border-color: #d8a758;
  box-shadow: 0 0 0 0.2rem rgba(216, 167, 88, 0.25);
}

#comment-form .required {
  color: #c49548;
}

#MessagetSent.alert-success {
  background-color: rgba(216, 167, 88, 0.18);
  border-color: #d8a758;
  color: rgb(156.3818181818, 116.2181818182, 50.4181818182);
}

.evento-detalhe__foto-link {
  color: inherit;
  text-decoration: none;
}

body.evento-lightbox-open {
  overflow: hidden;
}

.evento-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 3.5rem;
  background: rgba(0, 0, 0, 0.92);
}

.evento-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.evento-lightbox__close:hover {
  opacity: 1;
  transform: scale(1.05);
}

.evento-lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.evento-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-50%) scale(1.05);
}
.evento-lightbox__nav--prev {
  left: 1rem;
}
.evento-lightbox__nav--next {
  right: 1rem;
}

.evento-lightbox__figure {
  position: relative;
  max-width: min(96vw, 1200px);
  max-height: 90vh;
  margin: 0;
  text-align: center;
  cursor: grab;
  touch-action: pan-y pinch-zoom;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.evento-lightbox__figure:active {
  cursor: grabbing;
}

.evento-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: calc(90vh - 4rem);
  width: auto;
  height: auto;
  margin: 0 auto;
  -o-object-fit: contain;
     object-fit: contain;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.evento-lightbox__image--enter {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.evento-lightbox__image--enter-start {
  opacity: 0;
  transform: scale(0.95);
}

.evento-lightbox__image--enter-end {
  opacity: 1;
  transform: scale(1);
}

.evento-lightbox__caption {
  margin-top: 0.75rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
}

@media (max-width: 767px) {
  .evento-lightbox {
    padding: 3.5rem 0.75rem 1rem;
  }
}
@media (max-width: 991px) {
  #wall {
    margin: 24px 0;
  }
  .evento-detalhe__stats {
    font-size: 1rem;
  }
  .evento-lightbox__nav {
    display: none !important;
  }
}
