.page-template-page-reels {
    background: #0f0f0f;
    color: #FFFFFF;
}

.reels-hero {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Hero Section  */
.reels-hero-section {
    max-height: 100vh;
    background: #000;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.reels-hero-section video {
    max-width: 100%;
    width: 100%;
}

.reels-hero-section .gradient-overlay {
    position: absolute;
    bottom: 0;
    z-index: 1;
    width: 100%;
    height: 30vh;
    background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

.reels-hero-section .heading {
    z-index: 2;
}

.reels-hero-section .screen-content .fullreel {
    position: absolute;
    font-size: 14px;
    color: #FFF;
    font-weight: 700 !important;
    text-transform: uppercase;
    transition: all 0.25s ease;
    z-index: 2;
}

.reels-hero-section .screen-content .fullreel.opacity {
    opacity: 0;
}

.reels-hero-section h1 {
    margin-bottom: 40px;
}

.reels-hero-section .screen-content .orange-divider {
    width: 300px;
}

/* .reels-hero-section .screen-content {
    position: absolute;
    left: 50%;
    top: 60%;
    transform: translate(-50%,-120%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
} */

.home-bg-image {
    width: 100%;
    display: none;
}

.home-hero-section .close-video {
    z-index: 10000;
}

.reels h2 {
    margin: 30px auto;
    text-align: center;
}

.orange-divider.line-one {
    margin-bottom: 40px;
}

.reels-list {
    line-height: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 90%;
    margin: 0 auto;
}

.reels-list:after {
    content: "";
    display: table;
    clear: both;
}

.reel-item {
    position: relative;
    width: calc(33.3333333% - 20px);
    cursor: pointer;
    transition: width 0.5s;
}

.reel-item .project-overlay {
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: all 0.25s ease;
}

.reel-item:hover .project-overlay,
.reel-item:hover .project-desc {
    opacity: 1;
}

.reel-item .reel-content img {
    width: 100%;
    height: auto;
}

.reel-item .reel-content {
    overflow: hidden;
}

.reel-item .project-desc {
    color: #FFFFFF;
    text-align: center;
    position: absolute;
    bottom: 10px;
    left: 0;
    padding: 20px 0;
    right: 0;
    left: 16px;
    right: 16px;
    opacity: 0;
    transition: all 0.25s ease;
}

.reel-item .project-desc h3 {
    padding: 0;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    line-height: 1.25;
}

.reel-item .project-desc p {
    padding: 0;
    margin: 0;
    font-size: 12px;
    /* letter-spacing: 1px; */
}

.reel-item .play-icon {
    opacity: 0;
    position: absolute;
    width: 75px;
    height: 75px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -120%);
}

.reel-item:hover .play-icon {
    transform: translate(-50%, -70%);
    opacity: 1;
}

.reel-item .play-icon.circle-icon i {
    font-size: 20px;
}

.studio-reels-page {
    margin: 20px auto 0;
    width: 100% !important;
}

.page-template-page-reels .studio-reel-content {
    /* width: 75%; */
    width: 100%;
    max-width: 100%;
}

.page-template-page-reels .studio-reel-content a.circle-icon i {
    font-size: 30px;
}

.page-template-page-reels .studio-reel-content .studio-reel-preview-img {
    width: 100%;
}

.project-preview-video {
    width: 100%;
}

.studio-reel-preview-video {
    width: 100%;
}

.project-preview-video::-webkit-media-controls-start-playback-button {
    display: none !important;
    opacity: 1 !important;
}

@media only screen and (max-width: 1690px) {
    .page-template-page-reels .studio-reel-content {
        max-width: 90%;
    }
}

@media only screen and (max-width: 1480px) {
    .reel-item {
        width: calc(50% - 20px);
    }

    .reels-list {
        gap: 40px;
    }

    .reel-item .project-desc h3 {
        font-size: 18px;
    }
}

@media only screen and (max-width: 1350px) {
    .reels-hero-section {
        height: auto;
    }
}

@media only screen and (max-width: 980px) {
    .reel-item {
        width: 100%;
    }

    .reels-hero {
        height: 400px;
    }

    .page-template-page-reels .studio-reel-content {
        width: 100%;
    }


    .studio-reels-page {
        width: 100% !important;
    }

    .reel-item .project-overlay,
    .reel-item .project-desc {
        left: 0;
        right: 0;
    }
}

@media only screen and (max-width: 736px) {
    .reels-hero {
        height: auto;
        padding: 20% 0;
    }

    .hero-text .heading {
        font-size: 24px;
        letter-spacing: 10px;
    }

    .reel-item .project-overlay,
    .reel-item .project-desc {
        left: 0;
        right: 0;
    }

    .reel-item .play-icon {
        transform: translate(-50%, - 100%);
    }

    .page-template-page-reels .project-overlay,
    .page-template-page-reels .project-desc,
    .page-template-page-reels .reel-item .play-icon {
        opacity: 1;
    }

    .reel-item .play-icon {
        top: 65%;
    }

    .reel-item .project-desc h3 {
        font-size: 16px;
    }


}

@media only screen and (max-width: 450px) {
    .reel-item .project-desc h3 {
        font-size: 14px;
    }
}