/* ========================================
   CINEMA STYLES - MACAPÁ SHOPPING
   Estilos específicos da página de CINEMA
   ======================================== */
   .page-head {
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: var(--spacing-lg) 0;
}
/* ========================================
   LISTAGEM DE CINEMA
   ======================================== */
.events {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
}

.events h1 {
  margin: 0 0 var(--spacing-md);
  font-size: var(--font-size-3xl);
  color: var(--ink);
}

.events-sub {
  color: var(--ink-muted);
  font-size: var(--font-size-sm);
  margin-bottom: var(--spacing-lg);
}

.btn-horario {
  border-radius: 28px;
  padding: 2px 17px;
  font-size: .9em;
}


.event-date {
  border-top: 1px solid #f0f0f0;
  display: block;
  padding-top: 10px;
  margin-top: 10px;
}

.event-session {
  max-height: 410px;
  overflow: auto;
  font-size: .9em;
}


i[data-trailer] {
  width: 7vw;
  height: 7vw;
  font-size: 15px;
  display: block;
  background-color: #0000007d;
  color: #fff;
  border-radius: 50%;
  padding-left: 6px;
  position: absolute;
  left: 8vw;
  top: 13vw;
  cursor: pointer;
}
i[data-trailer]:hover {
  background-color: #000000b3;
}
i[data-trailer] svg {
  width: 100%;
  height: 100%;
}

.modal_trailer .modal-content {
  width: 100%;
  height: 43vw;
  background-color: #000;
  color: #fff !important;
}
/* ========================================
   GRID DE CINEMA
   ======================================== */
.events-grid {
  row-gap: var(--spacing-lg);
}

.events-grid > [class*="col-"] {
  display: flex;
  min-width: 280px;
}

/* ========================================
   CARDS DE CINEMA
   ======================================== */
.event-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.event-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.event-media {
  position: relative;
  background: var(--bg);
  overflow: hidden;
}

.event-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-normal);
}

.event-card:hover .event-media img {
  transform: scale(1.05);
}

/* ========================================
   PÍLULAS/SELOS
   ======================================== */
.pill {
  position: absolute;
  top: var(--spacing-sm);
  left: var(--spacing-sm);
  display: flex;
  gap: var(--spacing-xs);
  flex-wrap: wrap;
}

.badge-soft {
  --bg: #ffffff;
  --fg: var(--ink);
  --br: var(--line);
  background: var(--bg);
  border: 1px solid var(--br);
  color: var(--fg);
  border-radius: var(--radius-full);
  padding: var(--spacing-xs) var(--spacing-sm);
  font-size: var(--font-size-xs);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.badge-primary {
  --bg: #eff2ff;
  --fg: var(--brand);
  --br: #dfe6ff;
}

.badge-dark {
  --bg: var(--ink);
  --fg: #fff;
  --br: var(--ink);
}

/* ========================================
   CTA DO EVENTO
   ======================================== */
.event-cta {
  position: absolute;
  right: var(--spacing-md);
  bottom: var(--spacing-md);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.event-card:hover .event-cta {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.event-cta svg {
  width: 16px;
  height: 16px;
}

/* ========================================
   CORPO DO CARD
   ======================================== */
.event-body {
  padding: var(--spacing-md) var(--spacing-md) var(--spacing-lg);
  flex: 1;
}

.event-title {
  font-weight: 600;
  font-size: var(--font-size-sm);
  line-height: 1.27;
  margin: 0 0 var(--spacing-xs);
  color: var(--ink);
}

.event-summary {
  color: var(--ink-muted);
  font-size: var(--font-size-xs);
  margin: 0;
  line-height: 1.5;
}

/* ========================================
   DESTAQUE DO EVENTO
   ======================================== */
.event-highlight {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: none;
  margin-bottom: var(--spacing-xl);
}

.event-highlight.show {
  display: block;
  animation: fadeIn var(--transition-normal) ease;
}

@keyframes fadeIn {
  from {
    opacity: 0.4;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.event-highlight .media { 
  position: relative;
  min-height: 220px;
}

.event-highlight .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-highlight .content {
  padding: var(--spacing-lg) var(--spacing-xl);
}

.event-highlight h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: var(--font-size-2xl);
  margin: 0 0 var(--spacing-sm);
  color: var(--ink);
}

.event-highlight p {
  color: var(--ink-muted);
  margin: 0 0 var(--spacing-sm);
  line-height: 1.6;
}

.event-highlight .badges {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  margin-bottom: var(--spacing-sm);
}

.event-highlight .close {
  position: absolute;
  top: var(--spacing-sm);
  right: var(--spacing-sm);
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-full);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.event-highlight .close:hover {
  background: var(--bg);
  border-color: var(--brand);
}

.event-highlight small {
  color: var(--ink-muted);
  font-size: var(--font-size-sm);
}

/* ========================================
   RESPONSIVIDADE
   ======================================== */
@media (max-width: 991.98px) {
  .events h1 {
    font-size: var(--font-size-2xl);
  }
  
  .event-highlight .content {
    padding: var(--spacing-md);
  }
  
  .event-highlight h2 {
    font-size: var(--font-size-xl);
  }
}

@media (max-width: 576px) {
  .events {
    padding: var(--spacing-lg) 0 var(--spacing-xl);
  }
  
  .events h1 {
    font-size: var(--font-size-xl);
  }
  
  .event-highlight .media {
    min-height: 180px;
  }
}
