/*
 * 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 .plot-div {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 10px;
    border-bottom: 2px solid #1683C6;
    padding-bottom: 5px;
    display: inline-block;
    font-weight: 600;
}

.movie-plot-section h2 {
    font-size: 1rem;
    line-height: 1.7;
    color: #d1d1d1;
    font-weight: 400;
}

/* 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; }
}









    /* --- Social Share Buttons --- */
    .social-links {
        display: flex;
        gap: 15px;
        margin-top: 30px;
    }

    .social-btn {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 50px;
        height: 50px;
        text-decoration: none;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0; /* Reset default button padding */
    }

    .social-btn .icon {
        color: #fff;
        font-size: 24px;
        transition: color 0.3s ease;
    }

    .social-btn:hover .icon {
        color: #1683C6;
    }

    /* Style for the "copied" state feedback */
    .social-btn.copied .icon {
        color: #28a745; /* Green for success */
        transition: color 0.3s ease;
    }

    /* Border animation styles */
    .social-btn::before,
    .social-btn::after {
        content: '';
        position: absolute;
        background: #1683C6;
        box-shadow: 0 0 5px #1683C6;
        transition: transform 0.3s ease-out;
    }

    .social-btn::before {
        top: 0; left: 0; width: 100%; height: 2px;
        transform-origin: left; transform: scaleX(1);
    }
    .social-btn::after {
        bottom: 0; right: 0; width: 100%; height: 2px;
        transform-origin: right; transform: scaleX(1);
    }
    .social-btn:hover::before,
    .social-btn:hover::after {
        transform: scaleX(0);
    }

    .social-btn .side-borders::before,
    .social-btn .side-borders::after {
        content: '';
        position: absolute;
        background: #1683C6;
        box-shadow: 0 0 5px #1683C6;
        transition: transform 0.3s ease-out 0.2s;
    }
    .social-btn .side-borders::before {
        top: 0; left: 0; width: 2px; height: 100%;
        transform-origin: bottom; transform: scaleY(1);
    }
    .social-btn .side-borders::after {
        bottom: 0; right: 0; width: 2px; height: 100%;
        transform-origin: top; transform: scaleY(1);
    }
    .social-btn:hover .side-borders::before,
    .social-btn:hover .side-borders::after {
        transform: scaleY(0);
    }
    
    .social-links { width: 100%; }
