/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    max-width: 1024px;
    
    
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

/* The Close Button */
.close {
    color: white;
    float: right;
    font-size: 2.6em;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 2px 16px;
    background-color: rgb(35, 31, 32);
    color: white;
}

.modal-body {
    max-height: 70vh;
    overflow-y: scroll; /* Enable scroll if needed */
    padding: 2px 16px;
}

.modal-footer {
    padding: 2px 16px;
}

.column {
    float: left;
    width: 30%;
    padding: 15px;
}

@media screen and (max-width: 1024px) {
    .column {
        width: 100%;
    }
    
    .column > p {
        padding-right: 25px;
        font-size: 1em;
    }
    
    .column > span {
        padding-right: 25px;
    }
    
    .modal_image {
    }
    
    
}

.modal-body:after {
    content: "";
    display: table;
    clear: both;
}


.modal_image > img {
    max-height: 40%;
    max-width: 80%;
}

.modal_text .modal_details {
    text-align: left;
    font-size: 1em !important;
}

.modal-header > h3 {
    text-transform: uppercase;
    font-size: 1.1em;
}

.accent {
    color: rgb(35, 31, 32);;
    font-weight: bold;
}

.modal_filmtills {
    clear: both;
    border-top: 1px solid #ddd;
}

.modal_filmtills > h4 {
    margin-bottom: 15px;
}

.modal_filmtills img {
    width: 100%; 
    height: auto; 
    border: 1px solid #ccc;
}

.modal_filmtills p {
    font-size: 0.9em; 
    font-style: italic; 
    color: #666; 
    margin-top: 5px;
}

.modal_filmtills_grid {
    display: grid; 
    gap: 15px; 
    margin-bottom: 10px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}