.memory {
    display: flex;
    flex-direction: column;
    width: 100vw;
    gap: 5rem;
    padding: 5rem;
    justify-content: center;
    align-items: center;

}

.memory__name {
    font-family: var(--display-font);
    font-weight: 500;
    font-size: clamp(2.4rem, 3.4vw, 3.4rem);
    text-transform: none;
    color: var(--color-black);
}

.memory__intro {
    font-size: 2rem;
    text-align: center;
    max-width: 900px;
}

.memory__body {
    display: flex;
    flex-direction: row;
    /* flex-flow: row-reverse; */
    gap: 2rem;
    align-items: center;
}

.memory__testimony {
    flex: 1 1 320px;
    background: rgba(242, 242, 242, 0.9);
    border-radius: 0;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    font-size: 1.5rem;
    line-height: 1.6;
}

.memory__img {
    width: 50vw;
}

.memory__dates {
    text-align: center;
    margin: 4rem;
}

@media screen and (max-width: 60rem) {
    .memory__body {
        flex-direction: column;
    }

    .memory__img {
        max-height: 900px;
        width: 100%;
    }

}



p {
    /* font-size: 1.5rem; */
    margin: 10px;
    padding: 0;

}

figure {
    background-color: black;
    position: relative;
    overflow: hidden;
}


figure.video-embed {
    border-radius: 0;
    margin: 5rem auto;
    max-width: 1200px;
}

@media screen and (max-width: 1200px) {
    figure.video-embed {
        border-radius: 0;
        margin: 0 auto;
        width: 100%;
    }

}

.clipping {
    width: 100%;
    padding: 4rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.clipping__body {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
}



.clipping__figure {
    /* flex: 1 1 50%; */
    margin: 0;
    background-color: black;
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-dark);
}

.clipping__lightbox-link {
    position: relative;
    display: block;
}

.clipping__img {
    display: block;
    width: 100%;
    height: auto;
}

.clipping__zoom-icon {
    position: absolute;
    bottom: 1.2rem;
    right: 1.2rem;
    width: 3.8rem;
    height: 3.8rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.clipping__zoom-icon svg {
    width: 1.8rem;
    height: 1.8rem;
    fill: var(--color-white);
}

.clipping__lightbox-link:hover .clipping__zoom-icon,
.clipping__lightbox-link:focus-visible .clipping__zoom-icon {
    background: var(--color-trad-red);
    transform: scale(1.05);
}

.clipping__lightbox-link:focus-visible {
    outline: 3px solid var(--color-trad-red);
    outline-offset: 4px;
}

.clipping__transcript {
    flex: 1 1 30%;
    background: rgba(242, 242, 242, 0.9);
    border-radius: 0;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    font-size: 1.5rem;
    line-height: 1.6;
    position: relative;
}

.clipping__transcript p {
    margin-inline: 10px;
}

.clipping__transcript {

    overflow-y: auto;
    padding-right: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--color-trad-red) rgba(242, 242, 242, 0.5);
}

.clipping__transcript::-webkit-scrollbar {
    width: 6px;
}

.clipping__transcript::-webkit-scrollbar-track {
    background: rgba(242, 242, 242, 0.4);
    border-radius: 1rem;
}

.clipping__transcript::-webkit-scrollbar-thumb {
    background: var(--color-trad-red);
    border-radius: 1rem;
}


@media screen and (max-width: 60rem) {
    .clipping {
        padding: 2rem 1rem;
    }

    .clipping__body {
        flex-direction: column;
        max-width: 600px;
    }

    .clipping__figure,
    .clipping__transcript {
        flex: 1 1 auto;
        width: 100%;
    }
}

figcaption {

    /* see through black background white text and overlayingh the bottom of the image or figure */
    font-size: 1.5rem;
    font-style: italic;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.828);
    color: white;
    padding: 10px;
    margin: 0;

    width: 100%;
    /* position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1; */




}


@media screen and (max-width: 60rem) {
    .memory {
        padding: 2rem;
    }

    .memory__body {
        flex-direction: column;
    }

    .memory__img {
        width: 100vw;
    }

    figcaption {
        position: relative;
        background-color: black;
        ;
    }

}