/* =========================================================
   Duco Events - Line Up popup
   Specs from Figma node 844-13109 / 844-12402
   Font: Real Text Pro (already loaded by theme)
   ========================================================= */

/* ---- Ghost "LEARN MORE" button (card + link reuse) ---- */
.lineup-btn--ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border: 1px solid #FFFFFF;
    background: transparent;
    color: #FFFFFF;
    font-family: "Real Text Pro", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}
.lineup-btn--ghost:hover {
    background: #FFFFFF;
    color: #050332;
}
.lineup-btn__arrow {
    display: inline-block;
    line-height: 1;
}

/* ---- Modal ---- */
.lineup-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    transition: opacity .25s ease, visibility 0s linear .25s;
}
.lineup-modal.is-open {
    visibility: visible;
    opacity: 1;
    transition: opacity .25s ease;
}

.lineup-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.lineup-modal__card {
    position: relative;
    width: 1000px;
    max-width: 100%;
    height: 648px;
    max-height: 90vh;
    background: #F5EFE0;          /* Creamy */
    padding: 16px;
    box-sizing: border-box;
    transform: scale(.96);
    transition: transform .25s ease;
    overflow: auto;
}
.lineup-modal.is-open .lineup-modal__card {
    transform: scale(1);
}

.lineup-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: #050332;               /* Navy */
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

.lineup-modal__content {
    display: flex;
    gap: 50px;
    height: 100%;
    align-items: stretch;
}

.lineup-modal__image {
    flex: 0 0 405px;
    width: 405px;
    max-width: 405px;
}
.lineup-modal__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lineup-modal__text {
    flex: 1 1 445px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
    padding-right: 16px;
}

.lineup-modal__header {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lineup-modal__subheading {
    margin: 0;
    font-family: "Real Text Pro", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #111111;
}

.lineup-modal__name {
    margin: 0;
    font-family: "Real Text Pro", sans-serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 130%;
    color: #111111;
}

.lineup-modal__bio,
.lineup-modal__bio p {
    font-family: "Real Text Pro", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: -0.02em;
    color: #111111;
}
.lineup-modal__bio p {
    margin: 0 0 12px;
}
.lineup-modal__bio p:last-child {
    margin-bottom: 0;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .lineup-modal__card {
        height: auto;
        max-height: 90vh;
    }
    .lineup-modal__content {
        flex-direction: column;
        gap: 24px;
    }
    .lineup-modal__image {
        flex: none;
        width: 100%;
        max-width: 100%;
        height: 320px;
    }
    .lineup-modal__text {
        padding-right: 0;
        gap: 16px;
    }
}

/* ---- Body scroll lock ---- */
body.lineup-modal-open {
    overflow: hidden;
}
