/* Atlantic Regal — 3-column layout + uniform posters */

.atlantic-movies {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr); /* 3 columns on wide screens */
  align-items: start;
  margin: 0 auto;
  max-width: 1200px;
}


/* Card layout */
.movie-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 0px;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
  min-height: 420px; 
  margin-bottom: 40px;
}

/* subtle hover */
.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.09);
}

/* Poster container – fixed height so all posters match */
.movie-poster {
  width: 100%;
  height: 580px; /* change this if you want taller/shorter posters */
  overflow: hidden;
  background: #f2f2f2;
  display: block;
}

.movie-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* crops & preserves aspect ratio */
  display: block;
  -o-object-fit: cover;
}

/* Movie content */
.movie-title {
  margin: 12px 14px 6px;
  font-size: 22px !important;
  line-height: 23px !important;
  color: #111;
  font-family: var(--e-global-typography-primary-font-family), Sans-serif !important;
}

.movie-info {
  padding: 0 14px 14px;
  margin-top: auto; /* push showtimes to bottom if needed */
}

/* Showtimes */
.showtimes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  justify-content: flex-start;
}

.showtime-btn {
  padding: 8px 10px;
  width: 30%;
  border-radius: 0px;
  font-family: var(--e-global-typography-primary-font-family), Sans-serif;
  background: #F15B5C;
  color: #fff !important;
  text-decoration: none;
  font-size: .9rem;
  text-align: center;
  display: inline-block;
}

/* responsive: 2 columns on medium screens */
@media (max-width: 1000px) {
  .atlantic-movies {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* responsive: 1 column on small screens */
@media (max-width: 640px) {
  .atlantic-movies {
    grid-template-columns: 1fr;
  }

  .movie-card { min-height: auto; }
  .movie-poster { height: 300px; } /* slightly shorter on mobile */
}
