.poster-banner { padding: 24px 0; background: #fff8ee; }
.poster-banner[hidden] { display: none !important; }
.poster-banner__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; max-width: 1140px; margin: 0 auto; padding: 0 15px; }
.poster-card[hidden] { display: none !important; }
.poster-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 14px rgba(0,0,0,.12); display: flex; flex-direction: column; flex: 0 0 calc((100% - 40px) / 3); max-width: calc((100% - 40px) / 3); }
.poster-banner--2 .poster-card { flex-basis: calc((100% - 20px) / 2); max-width: calc((100% - 20px) / 2); }
.poster-banner--1 .poster-card { flex: 0 1 auto; width: auto; max-width: 100%; }
.poster-banner--1 .poster-banner__grid { max-width: 720px; }
/* One column: size the poster so image + button fit on one desktop screen (header ~100px, banner padding, button ~90px) */
.poster-banner--1 .poster-card img { width: auto; max-width: 100%; max-height: 500px; max-height: min(500px, calc(100vh - 290px)); min-height: 180px; margin: 0 auto; object-fit: contain; }
.poster-card img { width: 100%; height: auto; display: block; }
.poster-card__body { padding: 14px 16px 18px; text-align: center; margin-top: auto; }
.poster-card__title { margin: 0 0 6px; font-size: 1.15rem; font-weight: 700; }
.poster-card__text { margin: 0 0 10px; font-size: .95rem; color: #555; }
.poster-banner a.poster-card__btn, .poster-banner a.poster-card__btn:link, .poster-banner a.poster-card__btn:visited, .poster-banner a.poster-card__btn:hover { color: #fff !important; }
.poster-card__btn { display: inline-block; padding: 10px 28px; border-radius: 30px; background: #2e7d32; font-weight: 600; text-decoration: none; }
.poster-card__btn:hover { background: #1b5e20; text-decoration: none; }
@media (max-width: 991px) {
  .poster-banner--3 .poster-card { flex-basis: calc((100% - 20px) / 2); max-width: calc((100% - 20px) / 2); }
}
@media (max-width: 575px) {
  .poster-card, .poster-banner--2 .poster-card, .poster-banner--3 .poster-card { flex-basis: 100%; max-width: 100%; }
  .poster-banner--1 .poster-card { flex-basis: auto; }
  .poster-banner--1 .poster-card img { max-height: min(500px, 70vh); }
}
