/*
Theme Name: FirstFrame Child
Theme URI: https://firstframe.qodeinteractive.com
Description: A child theme of FirstFrame
Author: Edge Themes
Author URI: https://qodeinteractive.com
Version: 1.0
Text Domain: firstframe
Template: firstframe
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#block-55 {
    margin-bottom: 0;
}

.checkbox-text {
    margin-top: 0;
    font-size: 14px;
}

.wpcf7-list-item.first.last {
    margin: 15px 0 -10px;
}

p:empty {
    display: none;
}

/*Events Archive Style*/
.archive-post h2 {
    line-height: 1.3em;
}

.archive .qodef-m-title.entry-title,
.single-event-item .qodef-m-title.entry-title {
    display: none;
}

.blog-archive-title {
    text-align: center;
    margin-top: 70px;
    margin-bottom: 70px;
}

/* Container for the grid */

.archive-posts {
    display: flex;
    flex-wrap: wrap;
    /* Allow wrapping on smaller screens */
    gap: 15px;
    /* Space between posts */
}

/* Each post in the grid */
.archive-post {
    display: flex;
    flex-direction: column;
    /* Ensure content and image stack vertically */
    flex: 0 0 32%;
    /* This allows the columns to grow equally */
    justify-content: space-between;
    background-color: #121212;
    padding: 15px;
    margin-bottom: 30px;
}

.post-thumbnail {
    height: 100%;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

/* Title and other content */
.archive-post h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Pagination */
.pagination {
    text-align: center;
    margin-top: 20px;
}

a.qodef-shortcode.qodef-m.qodef-button.qodef-layout--filled.qodef-size--large.qodef-html--link:hover {
    color: #121212 !important;
}

.archive .qodef-button.qodef-html--link {
    width: fit-content;
}

.event-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* single event item css */
.event-title {
    font-weight: 600;
    font-size: 64px;
    line-height: 1.3em;
    margin: 0;
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.event-start-date {
    margin-right: 15px;
}

/*----- Upcoming Events CPT -----*/

.main-content {
    text-align: center;
    margin-bottom: 100px;
}

.event-grid p {
    font-size: 18px;
}

.al_reg_wrap {
    margin-top: 25px;
}


.page-id-7372 .qodef-m-title.entry-title,
.single-events .qodef-m-title.entry-title {
    display: none;
}

.single-event-title {
    line-height: 1.3;
}

.event-wrapper {
    margin: 60px 0;
}

.event-container {
    margin-bottom: 60px;
}


/*-----End Upcoming Events CPT -----*/

/*  Sinle Event Template css */
.movie-trailer {
    background-color: #fff;
    color: #000;
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 700;
    border: 1px solid #fff;
}

.movie-trailer:hover {
    background-color: #000;
}

.single-movies-studio #qodef-page-inner {
    padding: 130px 0 100px !important;
}

.movie-description p {
    font-size: 22px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.movie-director p {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    line-height: 1.3;
}
/* movies studio css */
.movies-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 65px;
}

/* Make it responsive */
@media (max-width: 1024px) {
    .movies-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .movies-wrapper {
        grid-template-columns: repeat(1, 1fr);
    }
}

.movies-item {
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.movies-poster {
    position: relative;
    cursor: pointer;
}

.movies-thumbnail {
    width: 100%;
    display: block;
    height: 280px !important;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.movies-pagination {
    text-align: center;
}

.movies-pagination a {
    padding: 8px 12px;
    margin: 2px;
    text-decoration: none;
    background: #0073aa00;
    color: #fff;
    border-radius: 5px;
    border: 1px solid #fff;
}

.movies-pagination a:hover {
    background-color: #fff;
    color: #000;
}

.movies-pagination .current {
    background: #fff;
    color: #000;
    border: 1px solid #fff;
    padding: 8px 12px;
    border-radius: 5px;
}

.movies-link.movie-trailer {
    margin-top: auto;
    width: fit-content;
}

.movies-title {
    font-size: 34px !important;
}

.movies-details {
    margin-bottom: 40px;
}

/* movies studio css end */

.movie-poster img { /* single movies studio css */
    width: 100%;
}

.movie-details .movie-title { /* single movies studio css  */
    font-size: 52px;
}

 article.event-item {
      margin-top:70px;
 }


@media(min-width:1025px) {
    article.event-item {
        display: flex;
        gap: 25px;
    }

    header.entry-header {
        display: flex;
        flex: 0 0 33%;
        padding: 20px;
    }

    .event-content {
        flex: 0 0 66%;
    }

    .event-grid {
        display: flex;
        gap: 25px;
    }

    .single-event {
        max-width: 100%;
    }

    /*  Sinle Movie Template css */
    .movie-item {
        display: flex;
        gap: 4%;
    }

    .movie-poster,
    .movie-details {
        flex: 0 0 48%;
    }

    /*  Sinle Movie Template css */
}

/*  Sinle Event Template css */
.event-container p {
    font-size: 18px;
}

.event-container h3 {
    margin: 0;
}

.buttons-group a {
    margin-right: 50px !important;
}

.buttons-group {
    margin-top: 50px;
}

.buttons-group a {
    margin-bottom: 15px !important;
}

.event-details .content-wrapper {
    padding: 0 15px;
}


@media(min-width:1025px) {
    .event-container {
        display: flex;
        gap: 20px;
    }

    .event-thumbnail {
        max-width: 40%;
        flex: 0 0 40%;
    }

    .event-details {
        max-width: 60%;
        flex: 0 0 60%;
    }
}

/*  End of Sinle Event Template css */




/*  End Movie Studio css */
@media(max-width:1024px) {
    .archive-post {
        flex: 0 0 49%;
    }

    .event-details .content-wrapper {
        padding: 0 15px;
    }

    .buttons-group {
        margin-top: 25px;
    }

    .event-details {
        margin-bottom: 30px;
    }
}

@media(max-width:888px) {
    .archive-post {
        flex: 0 0 100%;
    }
}

@media(max-width:768px) {
    .event-title {
        font-size: 48px;
    }

    .event-content video {
        max-width: 270px;
    }

    .single-movies-studio #qodef-page-inner {
        padding: 50px 0 50px !important;
    }
}

@media(min-width:681px) {
    #nav_menu-2 {
        padding-left: 90px;
    }
}

@media(max-width:680px) {
    .wp-block-spacer {
        height: 0 !important;
    }
}
/* Title Animation css  */
.blog-archive-title {
    border-right: 2px solid #000;
}

