/* CSS Document */

/* ===========================================================
   🎬 CINEMA FREAK MOVIE SHORTCODES — FRONTEND STYLING
   =========================================================== */

.cf-movie-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.cf-movie-card {
  background: #121212;
  color: #eee;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.6);
  transition: transform .2s ease, box-shadow .2s ease;
}

.cf-movie-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.8);
}

.cf-movie-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.cf-movie-card .cf-movie-info {
  padding: 1rem;
}

.cf-movie-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: #f13b3b;
}

.cf-movie-card p {
  font-size: 0.9rem;
  margin: 0.2rem 0;
  line-height: 1.3;
}

.cf-movie-card a.button {
  display: inline-block;
  margin-top: 0.5rem;
  background: #f13b3b;
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  transition: background .2s ease;
}

.cf-movie-card a.button:hover {
  background: #b82323;
}

/* Poster field shortcode styling */
.cf-movie-poster img {
  max-width: 250px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  margin: 10px 0;
}

/* Tagline styling */
.cf-movie-tagline {
  font-style: italic;
  color: #f7d070;
  margin-bottom: 10px;
}

/* “Yes/No” badges for booleans */
.cf-badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 0.8rem;
  border-radius: 4px;
  margin-top: 4px;
}
.cf-badge.yes { background: #2ecc71; color: #fff; }
.cf-badge.no  { background: #c0392b; color: #fff; }

/* List layout when used in columns */
@media (max-width: 768px) {
  .cf-movie-list {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}


.movie-meta h3 {
  color: #f13b3b;
  margin-bottom: 0.25rem;
}
.movie-meta p {
  color: #f5f5f5;
  margin-top: 0;
  line-height: 1.5;
}
