#toggle-lineup-mode {
    width: 200px;
    text-align: center;
    transition: all ease 0.25s;
}

.lineup-widget-wrapper {
    position: relative;
}

.lineup-navigation-wrapper {
    display: flex;
    position: fixed;
    gap: 0.5rem;
    bottom: 35px;
    left: 35px;
    z-index: 50;
}

#toggle-image-mode, #toggle-text-mode {
    text-decoration: none;
}

#toggle-image-mode, #toggle-text-mode {
    background: #a22c2a;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: .25rem;
}

#toggle-image-mode:hover, #toggle-text-mode:hover {
    cursor: pointer;
}

#toggle-image-mode.active, #toggle-text-mode.active {
    text-decoration: underline;
}

.lineup-image-grid-wrapper, .lineup-text-grid-wrapper {
    display: none;
}

.lineup-image-grid-wrapper.active {
    display: grid;
    gap: 1rem;
} 

.lineup-text-grid-wrapper.active {
    display: flex;
    gap: 1rem;
}

.lineup-text-grid-wrapper.active {
    max-width: 1080px;
    margin: 0 auto;
    flex-direction: column;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.headliners, .subheadliners, .undercard {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.text-artist-wrapper {
    font-family: 'xenera';
    color: #d58b20;
    padding: 0.5rem 1rem;
    line-height: 1;
    text-align: center;
    transition: all 0.25s ease;
}

.text-artist-wrapper:hover {
    cursor: pointer;
    transform: scale(1.125);
    color: #dcbb9f;
}

.text-artist-name.headliner {
    font-size: 2.25rem;
    margin: 0 auto;
}

.text-artist-name.subheadliner {
    font-size: 1.5rem;
    margin: 0 auto;
}

.text-artist-name.undercard {
    font-size: 1rem;
    margin: 0 auto;
}

/* Lineup Image Grid Styles */
.image-artist-wrapper {
    display: grid;
    position: relative;
    grid-template-rows: auto;
    overflow: hidden;
    aspect-ratio: 2227 / 3000;
    padding: 5px;
    background: black;
    background-position: center center;
    background-size: cover;
    border-radius: 5px;
}

.image-artist-wrapper:hover {
    cursor: pointer;
}
.image-artist-image-wrapper {
    display: grid;
    padding: 5px 5px 0px 5px;
}

.image-artist-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('/wp-content/uploads/2023/11/st-border.png');
    background-size: cover;
    z-index: 1;
}

.image-artist-image {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.image-artist-image:hover {
    cursor: pointer;
}

.image-artist-text-wrapper {
    font-family: "xenera", Sans-serif;
    /* color: #d58b20; */
    color: #ffffff;
    display: grid;
    position: relative;
    z-index: 2;
    align-items: start;
    margin-top: .75rem;
}

.image-artist-name {
    font-size: 1.5rem;
    line-height: 1.125;
    padding: 0.5rem 1rem 0.5em 1rem;
    margin: 0;
    text-align: center;
    color: #dcbb9f;
    z-index: 3;
}


/**
*   Desktop
*   max-width: none
*   min-width: 1024px
*/
@media screen and (min-width: 1024px) {
    .lineup-image-grid-wrapper {
        grid-template-columns: repeat(4, minmax(0,1fr));
    }
}

/**
*   Tablet
*   max-width: 1023px
*   min-width: 801px
*/
@media screen and (min-width: 801px) and (max-width: 1023px) {
    .lineup-image-grid-wrapper {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }
}



/* Modal */
.lineup-modal-wrapper {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    width: 100vw;
    background: rgba(0,0,0,.5);
    z-index: 99;
}

.lineup-modal-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 85vw;
    aspect-ratio: 2 / 1;
    background: black;
    color: #dcbb9f;
    max-width: 1500px;
}

#lineup-modal-artist-image {
    height: 100%;
    background-size: cover;
    background-position: center center;
}

.lineup-modal-right-column {
    padding: 1rem 1.5rem;
}

#lineup-modal-artist-name > p {
    font-family: "xenera", Sans-serif;
    font-size: 1.75rem;
    line-height: 1.25;
    margin: 0;
}

.lineup-modal-navigation {
    position: fixed;
    width: 99vw;
    display: flex;
    justify-content: space-between;
}

#lineup-modal-previous, #lineup-modal-next, #lineup-modal-close {
    display: flex;
    width: 3rem;
    height: 3rem;
    background: #a22c2a;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    border-radius: 0.25rem;
    transition: all ease 0.25s;
}

#lineup-modal-previous:hover, #lineup-modal-next:hover, #lineup-modal-close:hover {
    cursor: pointer;
    transform: scale(1.125);
}

#lineup-modal-close {
    position: fixed;
    top: 5%;
    right: 5%;
}

#lineup-modal-artist-bio {
    overflow-y: auto;
}

.lineup-modal-right-column {
    display: flex;
    flex-direction: column;
}

#lineup-modal-artist-name {
    flex: .1;
    display: flex;
    align-items: center;
    color: #dcbb9f;
}

.lineup-modal-links-container {
    flex: .125;
    display: flex;
    align-items: center;
}

.lineup-modal-links-container a {
    color: #dcbb9f !important;
    font-size: 1.25rem;
    margin-right: 1rem;
}

#lineup-modal-artist-bio {
    flex: .75;
    overflow-y: auto;
}

#lineup-modal-artist-bio > p {
    margin: 0;
}

.lineup-modal-left-column {
    min-height: 250px;
} 

.lineup-modal-content {
    border: 2px solid #a22c2a;
}

/**
*   Tablet
*   max-width: 1024px
*   min-width: 801px
*/
@media screen and (min-width: 801px) and (max-width: 1024px) {
    #lineup-modal-close {
        position: fixed;
        top: 2.5%;
        right: 5%;
    }

    .lineup-modal-content {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        aspect-ratio: auto;
        height: 85vh;
    }

    .lineup-modal-left-column {
        min-height: 400px;
    }

    #lineup-modal-artist-image {
        background-size: 450px 450px;
        background-repeat: no-repeat;
    }
}

/**
*   Mobile
*   max-width: 800px 
*   min-width: none
*/
@media screen and (max-width: 800px) {
    #lineup-modal-close {
        position: fixed;
        top: 2.5%;
        right: 5%;
    }

    .lineup-text-grid-wrapper.active {
        padding-top: 6rem;
    }

    .lineup-image-grid-wrapper {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        aspect-ratio: auto;
    }

    .lineup-modal-content {
        width: 95vw;
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    #lineup-modal-artist-image {
        background-size: 250px 250px;
        background-repeat: no-repeat;
    }

    .lineup-modal-left-column {
        min-height: 250px;
    }

    #lineup-modal-artist-bio {
        overflow-y: auto;
        max-height: 250px !important;
        min-height: 250px !important;
    }

    .lineup-modal-navigation {
        width: 94vw;
        top: 37%;
    }
    #lineup-modal-previous, #lineup-modal-next, #lineup-modal-close {
        width: 3rem;
        height: 3rem;
        border-radius: 0px;
    }
}

/* Card Flip */
.image-artist-wrapper {
    display: grid;
    position: relative;
    grid-template-rows: auto;
    overflow: hidden;
    aspect-ratio: 2227 / 3000;
    padding: 5px;
    background: transparent;
}

.front, .back
{
  position:absolute;
  /* width:250px; */
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
}
.front {
    background: black;
    border-radius: 5px;
}
.back
{
    background: #a22c2a;
    border-radius: 5px;
    padding: 10px 15px;
    width: 100%;
    font-family: 'xenera';
}

.back .back-artist-name {
    font-family: 'xenera';
    font-size: 1.5rem;
    margin-bottom: 0px;
    line-height: 1.5rem;
}

.image-artist-card-links a {
    color: #dcbb9f !important;
    font-size: 1rem;
    margin-right: .25rem;
}

.back-artist-bio p {
    font-family: 'Roboto';
    font-size: .75rem;
    max-height: 8rem;
    line-height: 1rem;
    overflow: hidden;
    margin-top: .5rem;
    text-overflow: ellipsis !important;
    word-wrap: break-word;
    line-clamp: 8 !important;
    -webkit-line-clamp: 8 !important;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

#open-bio-modal {
    margin-top: .5rem;
    font-size: .75rem;
    font-family: 'Roboto';
    background: black;
    padding: 0.5rem 0.5rem;
    border-radius: .25rem;
    width: 100px;
    text-align: center;

}

#open-bio-modal p {
    margin-bottom: 0px !important;
}

#open-bio-modal:hover {
    cursor: pointer;
}