/* ==================================================
   BASE
================================================== */
body { background-color: #f8f9fa; }

/* ==================================================
   BANNER (fundo desfocado)
================================================== */
.event-banner{
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 380px;
  background-image: url('/public/uploads/evento/logo-padrao.png');
  background-size: cover;
  background-position: center;
  filter: blur(10px);
  z-index: 1;

  -webkit-mask-image: linear-gradient(to bottom, black 92%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 92%, transparent 100%);
}
.overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.22);
  z-index: 2;
}

/* ==================================================
   IMAGEM CENTRAL (igual evento-detalhe)
================================================== */
.event-content-wrapper{
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.event-image-frame{
  width: 920px;
  max-width: 92vw;
  height: 550px;
  border-radius: 14px;
  overflow: hidden;

  background: #fff;
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.35);
}
.event-image-frame img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center; /* 👈 mantém o topo, corta embaixo */
  display: block;
}
@media (max-width: 768px){
  .event-banner{ height: 300px; }
  .event-image-frame{ height: 260px; border-radius: 10px; }
}

/* ==================================================
   HEADER DO EVENTO (igual evento-detalhe)
================================================== */
.event-header{
  position: relative;
  z-index: 3;
  background: #fff;
  margin-top: 16px;
  border-radius: 12px;
  padding: 18px 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.page-title{
  position: relative;
  padding-left: 14px;
  font-weight: 850;
  font-size: 1.55rem;
  color: #1f1f1f;
  line-height: 1.2;
  margin: 0 0 10px 0;
}
.page-title::before{
  content:"";
  position: absolute;
  left: 0;
  top: 3px;
  height: 26px;
  width: 4px;
  background: #d71920;
  border-radius: 2px;
}

.event-meta{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: #555;
  font-size: 0.95rem;
}
.event-meta-item{
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}
.event-meta-item i{
  color: #d71920;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ==================================================
   CONTEÚDO
================================================== */
.event-description{
  position: relative;
  z-index: 3;
  background-color: #f9f9f9;
  margin-top: 14px;
  padding: 22px 0 34px 0;
}

.section-title{
  position: relative;
  padding-left: 14px;
  font-weight: 850;
  font-size: 1.25rem;
  color: #222;
  line-height: 1.2;
  margin: 0 0 14px 0;
}
.section-title::before{
  content:"";
  position: absolute;
  left: 0;
  top: 2px;
  height: 22px;
  width: 4px;
  background: #d71920;
  border-radius: 2px;
}

/* Richtext (regras do evento) */
.event-richtext{
  color: #333;
  font-size: 1rem;
  line-height: 1.65;
}
.event-richtext p{ margin-bottom: 12px; }
.event-richtext ul, .event-richtext ol{ margin-bottom: 12px; padding-left: 22px; }
.event-richtext a{ color: #0b5ed7; text-decoration: underline; }
.event-richtext img{ max-width: 100%; height: auto; border-radius: 10px; }

/* ==================================================
   CARD PRINCIPAL DO FORM
================================================== */
.form-card{
  border: none;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0,0,0,0.08);
}

.btn-action{
  font-weight: 900;
  border-radius: 12px;
  padding: 10px 14px;
}

.btn-primary{
  background-color: #d71920;
  border-color: #d71920;
}
.btn-primary:hover{
  background-color: #b4161c;
  border-color: #b4161c;
}

.btn-outline-primary{
  border-color: #d71920;
  color: #d71920;
  font-weight: 800;
}
.btn-outline-primary:hover{
  background-color: #d71920;
  border-color: #d71920;
  color: #fff;
}

.btn-map{
  margin-top: 6px;
  border-radius: 10px;
  font-weight: 800;
  padding: 10px 14px;
}

/* ==================================================
   TOTAIS / DIVIDER
================================================== */
.totais{
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.divider{
  border: none;
  border-top: 1px solid rgba(0,0,0,0.10);
  margin: 18px 0;
}