/* Styles for the modal and overlay */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.875);
    justify-content: center;
    align-items: center;
    z-index: 99;
}

.modal-content {
    width: 100%;
    height: 100%;
    overflow: auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    color: white;
    font-size: 3em;
}

/* Styles for video page */
#page-header {
    background: var(--e-global-color-primary);
    padding: 30px;
    text-align: center;
}

.page-header-title {
    color: var(--e-global-color-secondary);
    font-family: "Playfair Display", Sans-serif;
    font-size: 30px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1em;
}

.page-header-quote {
    color: var(--e-global-color-secondary);
    font-family: "Work Sans", Sans-serif;
    font-weight: 400;
    margin-top: 20px;
}

.page-header-quote-author {
    margin: -15px 0px 0px 0px;
    text-align: center;
    color: var(--e-global-color-secondary);
    font-family: "Playfair Display", Sans-serif;
    font-size: 1.25em;
    font-weight: 600;
    padding-top: 20px;
}

.menu-container {
    margin: 30px 0;
}

#menu-video-menu,
#menu-music-menu {
    list-style: none;
    display: flex;
    justify-content: center;
}

#menu-video-menu > li, 
#menu-music-menu > li {
    text-transform: capitalize;
}

#menu-video-menu > li:not(:last-child):after, 
#menu-music-menu > li:not(:last-child):after {
    content: "|";
    padding: 0 10px;
}

#menu-video-menu li.current-menu-item a,
#menu-video-menu a:hover,
#menu-music-menu li.current-menu-item a,
#menu-music-menu a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 767px) {
    #menu-video-menu > li,
    #menu-music-menu > li {
        text-transform: capitalize;
        font-size: 14px;
    }

    #menu-video-menu li:not(:last-child),
    #menu-music-menu li:not(:last-child) {
        padding-bottom: 10px;
    }

    #menu-video-menu,
    #menu-music-menu {
        flex-wrap: wrap;
        padding: 0 20px;
    }
}

@media screen and (min-width: 1024px) {
    .page-header-container {
        width: 60%;
        margin: auto;
    }

    .page-header-title {
        font-size: 3.13em;
    }
}

.videos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    list-style: none;
    padding: 0;
}

.video-item {
    width: calc(33.333% - 10px);
    padding-bottom: 20px;
    cursor: pointer;
}

.pagination {
    text-align: center;
}

#videos_section .wrapper {
    max-width: 1440px;
    margin: auto;
}

.video-item span {
    font-weight: 600;
}

@media screen and (max-width: 767px) {
    .video-item {
        width: calc(100% - 20px);
        text-align: center;
    }

    .videos-container {
        justify-content: center;
    }
}

/* Thumbnail styling */
.thumbnail-container {
    position: relative;
    width: 100%;
}

.thumbnail-container::before {
    content: "";
    display: block;
    padding-top: 56.25%; /* 16:9 aspect ratio */
}

.album-item .thumbnail-container::before {
    padding-top: 100%; /* 1:1 aspect ratio */
}

.thumbnail-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Album archive styling */
ul.albums-container {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin-left: 20px;
}
li.album-item.album-content {
    width: calc(25% - 20px);
    list-style: none;
    margin-right: 20px;
    text-align: center;
    padding-bottom: 20px;
}

@media screen and (max-width: 1023px){
    li.album-item.album-content {
        width: calc(50% - 20px);
    }
}
