/*
 * SINGLE POST STYLES
 * Add this to your theme's main stylesheet (e.g., assets/main.css)
*/

/* Main container for the single movie layout */
.single-movie-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    color: #fff;
}

/* Poster Column */
.movie-poster-column {
    flex: 1;
    min-width: 280px; /* Ensures poster doesn't get too squished */
}

.movie-poster-single {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    object-fit: cover;
}

/* Details Column */
.movie-details-column {
    flex: 2;
    min-width: 300px; /* Ensures text has enough space */
}

.movie-details-column .entry-title {
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 700;
}

/* Meta Details (Year) */
.movie-meta-details {
    margin-bottom: 25px;
    font-size: 1.1rem; /* Slightly larger font */
    color: #b0b0b0;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.05); /* Subtle background */
    border-left: 4px solid #1683C6; /* Accent border */
    border-radius: 0 8px 8px 0;
}

/* Style for the label inside the meta item */
.meta-item.year strong {
    color: #fff;
    font-weight: 600;
    margin-right: 10px; /* Space between label and value */
}

/* Plot Section */
.movie-plot-section {
    margin-bottom: 30px;
}

.movie-plot-section h2 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 10px;
    border-bottom: 2px solid #1683C6;
    padding-bottom: 5px;
    display: inline-block;
}

.movie-plot-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: #d1d1d1;
}

/* Watch Movie Button */
.watch-button-container {
    margin-top: 20px;
}

.watch-movie-button {
    display: inline-block;
    background-color: #1683C6;
    color: #fff !important;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.watch-movie-button:hover {
    background-color: #1a9ce8;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(22, 131, 198, 0.4);
}


/* Responsive Design */
@media (max-width: 768px) {
    .single-movie-container {
        flex-direction: column;
        gap: 20px;
        margin-top: 20px;
    }

    .movie-details-column .entry-title {
        font-size: 2rem;
    }
    .site-main { padding-inline: 0; }
}

