/* --- Movie Showcase Styles --- */
.heritage-heading {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--flag-yellow);
    width: calc(100% - 10px);
}

.heritage-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    color: var(--flag-yellow);
    line-height: 1.5;
}

.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    width: calc(100% - 40px);
}

.movie-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.movie-poster {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 2 / 3;           /* keeps portrait poster ratio */
    background: #eee;              /* fallback color while loading */
}

.movie-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0.75rem 1rem 0.25rem;
    color: #1a1a1a;
}

.movie-description {
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0 1rem 1rem;
    color: #444;
}

@media (max-width: 768px) {
    .heritage-heading { font-size: 2rem; }
    .movie-grid {
        gap: 10px;
        width: calc(100% - 20px);
        grid-template-columns: 1fr 1fr;
    }

    .movie-title {
		margin: 7px;
		margin-bottom: 0;
    }

    .movie-description {
        margin: 7px;
    }
}

/* Responsive tweaks for smaller screens */
@media (max-width: 480px) {
    .heritage-intro   { font-size: 1rem; padding: 0 0.5rem; }
    .movie-title      { font-size: 1rem; }
    .movie-description{ font-size: 0.9rem; }
}
