/* ============================================
   FILM PAGE BASE STRUCTURE
   Shared layout for all film detail pages
   ============================================ */

.background-wrapper {
    position: fixed;
    opacity: 0.2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -2;
}

/* Content grid layout */
.content {
    border: 2px solid var(--accent-color, white);
    border-radius: 10px;
    padding: 20px;
    margin: 20px auto;
    max-width: 1000px;
    background-color: transparent;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
}

/* Left column - sticky sidebar */
.left-column {
    position: sticky;
    top: 20px;
    align-self: flex-start;
    padding: 20px;
}

.left-column h2 {
    margin-top: 0;
    font-weight: 700;
    border-bottom: 2px solid var(--accent-color, white);
    padding-bottom: 5px;
    cursor: pointer;
}

.left-column .key-image img {
    max-width: 100%;
    height: auto;
    border: 2px solid var(--accent-color, white);
    border-radius: 10px;
}

.left-column .sub-menu {
    margin: 20px 0;
    margin-bottom: 40px;
}

.left-column .sub-menu a {
    position: relative;
    display: inline-block;
    color: white;
    text-decoration: none;
    padding: 5px 20px;
    padding-right: 5px;
    font-style: italic;
}

.left-column .sub-menu a:hover {
    color: var(--accent-color, #f266b3);
}

/* Trophy corner */
.left-column .trophy-corner .trophy-container {
    display: none;
}

.left-column .trophy-corner .trophy {
    margin: 10px 0;
    width: 130px;
    height: 130px;
    display: inline-block;
}

.left-column .trophy-corner .trophy:hover {
    transform: scale(2.5);
}

/* Right column */
.right-column h2 {
    margin-top: 0;
    font-weight: 700;
    border-bottom: 2px solid var(--accent-color, white);
    padding-bottom: 5px;
    font-family: var(--heading-font, 'IBM Plex Mono', monospace);
}

.right-column .section {
    margin-bottom: 20px;
    margin-top: 20px;
}

.right-column .section p {
    text-align: left;
    padding: 0 10px;
    line-height: 1.6;
    margin: 15px;
}

.right-column .section#cast p,
.right-column .section#crew p {
    text-align: left;
    padding: 0 10px;
    line-height: 1.4;
}

/* Main title image */
.main-title img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .background-wrapper {
        filter: blur(1.5px);
    }

    .content {
        grid-template-columns: 1fr;
    }

    .left-column {
        position: relative;
        top: auto;
    }
}