.block-floating-event-cta {
    font-family: "Avenir Next", Avenir, sans-serif;
    font-weight: 400;
    color: white;
    position: relative;
    margin-block: 4em;
    --padding: 2em;
    overflow: hidden;
}

.block-floating-event-cta .block-container {
    
}

.block-floating-event-cta .box {
    position: relative;
    padding: 2em 0 0 2em;
    border-radius: 1em;
    overflow: hidden;
}

.block-floating-event-cta .content {
    display: flex;
    gap: 2em;
    position: relative;
    z-index: 3;
    margin-top: 6em;
}


.block-floating-event-cta .panel {
    position: relative;
    padding: 2em;
    display: flex;
    gap: 2em;
    justify-content: space-between;
}

.block-floating-event-cta .panel .background {
    background-color: black;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.block-floating-event-cta .presents {
    font-style: italic;
    font-size: 1.125em;
}

.block-floating-event-cta .datetime-location {
    font-size: 1.25em;
}

.block-floating-event-cta .datetime {
    display: flex;
    gap: 1em;
}

.block-floating-event-cta .time::before {
    content: '|';
    left: -0.5em;
    position: relative;
    opacity: 0.5;
}

.block-floating-event-cta .panel .title {
    margin-block:0.25em;
    line-height: 1;
}

.block-floating-event-cta.layout-with-logo .panel {
    grid-template-areas: "logo"
                         "headline"
                         "body-copy"
                         "cta";
}

@media screen and (min-width: 1200px ) {
    .block-floating-event-cta.layout-with-logo .panel {
        grid-template-areas: "logo headline headline"
                             "logo body-copy cta";
        grid-template-columns: 1fr 2fr max-panel;
    }
}

.block-floating-event-cta.layout-without-logo .panel {
    grid-template-areas: "headline"
                         "body-copy"
                         "cta";
}

@media screen and (min-width: 1200px) {
    .block-floating-event-cta.layout-without-logo .panel {
        grid-template-areas: "headline headline"
                             "body-copy cta";
        grid-template-columns: 1fr max-content;
    }
}

.block-floating-event-cta .box > .background .background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    object-fit: cover;
}

.block-floating-event-cta .background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.block-floating-event-cta .headline-cta {
    color: var(--color-glacier-gray-dark);
    width: 40%;
}

.block-floating-event-cta .headline {
    grid-area: headline;
    font-family: "Avenir Next", Avenir, sans-serif;
    font-weight: 500;
    margin: 0 0 0.25em;
    line-height: 1.1;
}

.block-floating-event-cta .cta {
    padding: 1em 3em;
    text-align: center;
}

.block-floating-event-cta .event-featured {
    display: flex;
    gap: 2em;
    align-items: center;
}

.block-floating-event-cta .event-info {
    width: 100%;
}

.block-floating-event-cta .event-featured-image-wrapper {
    aspect-ratio: 1/1;
    border-radius: 50%;
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.block-floating-event-cta .event-featured-image {
    display: block;
}

.block-floating-event-cta .event-featured-description {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 1em;
    font-size: 1.125em;
}

.block-floating-event-cta .event-featured-description strong {
    text-transform: uppercase;
    font-size: 1.5em;
    letter-spacing: 0.05em;
}

.block-floating-event-cta .panel-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    background-color: rgba(0, 0, 0, 0.75);
}