/**
 * Event Details Widget CSS
 * 
 * Styles for the Event Details widget
 */


/* Main Container */

.wf-event-details {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    font-family: inherit;
    color: #333333;
    background-color: unset !important;
}

@media screen and (max-width: 767px) {
    .wf-event-details {
        padding: 0 1rem !important;
    }
}


/* Column Layouts */


/* Two Column Layout (Default) */


/* .wf-event-layout-two-columns .wf-event-sections-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
} */

.wf-event-layout-two-columns .wf-event-left-column {
    flex: 1;
    min-width: 280px;
}

.wf-event-layout-two-columns .wf-event-right-column {
    flex: 2;
    min-width: 280px;
}


/* Single Column Layout */

.wf-event-layout-single-column .wf-event-sections-container {
    display: block;
    margin-bottom: 40px;
}

.wf-event-layout-single-column .wf-event-left-column,
.wf-event-layout-single-column .wf-event-right-column {
    width: 100%;
    margin-bottom: 30px;
}


/* Header Section */

.wf-event-header {
    margin-bottom: 30px;
}

.wf-event-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333333;
}

.wf-event-header-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}

.wf-event-header-image img {
    width: 100%;
    height: auto;
    display: block;
}


/* Gallery Slider */

.wf-event-gallery-section {
    margin-bottom: 60px;
    overflow: hidden;
    position: relative;
    padding: 8px 0;
}

.wf-event-gallery-slider.swiper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 80px 40px;
    box-sizing: border-box;
    overflow: visible;
}

.wf-event-gallery-slider .swiper-wrapper {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    transition-timing-function: ease-out;
    overflow: visible;
}


/* Slide styling for centered auto mode - SwiperJS implementation */

.wf-event-gallery-item.swiper-slide {
    /* Width is set dynamically in JS for better responsiveness */
    opacity: 0.4;
    transition: all 0.5s ease;
    transform: scale(0.75);
    height: auto;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    margin: 0;
}


/* Center active slide */

.wf-event-gallery-item.swiper-slide-active {
    opacity: 1;
    transform: scale(1);
    z-index: 3;
    margin: 0;
}


/* Additional class for active slide scaling effect */

.wf-event-gallery-item.swiper-slide.scale-active {
    transform: scale(1.05);
    z-index: 4;
    transition: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1.0);
}


/* Adjacent slides - peeking in */

.wf-event-gallery-item.swiper-slide-prev,
.wf-event-gallery-item.swiper-slide-next {
    z-index: 2;
    opacity: 0.8;
    transform: scale(0.85);
    margin: 0;
    visibility: visible !important;
}


/* For mode-centered-auto, ensure prev and next slides are visible */

.wf-event-gallery-slider.mode-centered-auto .swiper-slide-prev,
.wf-event-gallery-slider.mode-centered-auto .swiper-slide-next {
    opacity: 0.9;
    transform: scale(0.85);
    visibility: visible !important;
}


/* For specific slide position relative to viewport */

.wf-event-gallery-slider.mode-centered-auto .swiper-slide-prev {
    transform-origin: right center;
}

.wf-event-gallery-slider.mode-centered-auto .swiper-slide-next {
    transform-origin: left center;
}

.elementor-editor-active .wf-event-gallery-section {
    /* Special handling for editor */
    min-height: 200px;
}

.wf-event-gallery-item-inner {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateZ(0);
    /* Force hardware acceleration */
}

.swiper-slide-active .wf-event-gallery-item-inner {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.scale-active .wf-event-gallery-item-inner {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}


/* Dramatic theater lighting effect */

.wf-event-gallery-item-inner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 50%);
    pointer-events: none;
    z-index: 1;
}

.wf-event-gallery-item img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    transform: translateZ(0);
    /* Force hardware acceleration */
    will-change: transform;
    /* Optimize for animation */
}

.scale-active .wf-event-gallery-item img {
    transform: scale(1.02);
}

@media (max-width: 991px) {
    .wf-event-gallery-item img {
        height: 350px;
    }
}

@media (max-width: 767px) {
    .wf-event-gallery-item img {
        height: 250px;
    }
    .wf-event-gallery-slider.swiper {
        padding: 0 0 30px;
    }
}


/* Side navigation arrows */

.wf-event-gallery-section .swiper-button-prev,
.wf-event-gallery-section .swiper-button-next {
    width: 50px;
    height: 50px;
    top: 50%;
    margin-top: -25px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.wf-event-gallery-section:hover .swiper-button-prev,
.wf-event-gallery-section:hover .swiper-button-next {
    opacity: 1;
}


/* Position arrows further out to avoid overlapping with slides */

.wf-event-gallery-section .swiper-button-prev {
    left: 20px;
    z-index: 10;
}

.wf-event-gallery-section .swiper-button-next {
    right: 20px;
    z-index: 10;
}

.wf-event-gallery-section .swiper-button-prev:after,
.wf-event-gallery-section .swiper-button-next:after {
    font-size: 20px;
    font-weight: bold;
}

.wf-event-gallery-section .swiper-button-disabled {
    opacity: 0 !important;
    pointer-events: none;
}


/* Pagination dots */

.wf-event-gallery-slider .swiper-pagination {
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wf-event-gallery-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: #8963BA;
    opacity: 0.3;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.wf-event-gallery-slider .swiper-pagination-bullet-active {
    opacity: 1;
    width: 14px;
    height: 14px;
    background-color: #8963BA;
}


/* Dynamic bullets styling */

.swiper-pagination-bullet-active-main {
    transform: scale(1.2);
}

.swiper-pagination-bullet-active-prev,
.swiper-pagination-bullet-active-next {
    transform: scale(0.9);
}

.swiper-pagination-bullet-active-prev-prev,
.swiper-pagination-bullet-active-next-next {
    transform: scale(0.7);
}


/* Description Section */

.wf-event-description {
    margin-bottom: 40px;
    line-height: 1.6;
    color: #666666;
}

.wf-event-description p {
    margin-bottom: 15px;
}


/* Sections Container Layout */

.wf-event-sections-container {
    display: grid;
    grid-template-columns: 480px repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 24px;
    grid-row-gap: 8px;
    margin-bottom: 40px;
}


/* Column-based layout for info sections */

.wf-event-info-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.wf-event-left-column {
    grid-column: 1;
}

.wf-event-right-column {
    grid-column: 2 / span 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 24px;
}


/* Container styling for each section */


/* Practical Info Section - Purple Box */

.wf-event-info-section {
    background-color: #8963BA;
    color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
}


/* Cast Section */

.wf-event-cast-section {
    background-color: #FFFCFC;
    border: 1px solid #D9D9D9;
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 0;
}


/* Pricing Section */

.wf-event-pricing-section {
    background-color: #FFFCFC;
    border: 1px solid #D9D9D9;
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 0;
}


/* Media Queries for Responsive Layout */

@media (max-width: 991px) {
    .wf-event-sections-container {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }
    .wf-event-left-column {
        grid-column: 1;
        grid-row: 1;
    }
    .wf-event-right-column {
        grid-column: 2;
        grid-row: 1;
        display: flex;
        flex-direction: column;
    }
    /* In single column layout, arrange elements vertically */
    .wf-event-layout-single-column .wf-event-info-section,
    .wf-event-layout-single-column .wf-event-cast-section,
    .wf-event-layout-single-column .wf-event-pricing-section {
        margin-bottom: 24px;
    }
}

@media (max-width: 767px) {
    .wf-event-sections-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .wf-event-left-column,
    .wf-event-right-column {
        grid-column: 1;
        width: 100%;
    }
    .wf-event-right-column {
        display: flex;
        flex-direction: column;
        grid-row: auto;
    }
    /* Adjust pricing items to single column on mobile */
    .wf-event-pricing-items {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, auto);
        gap: 12px;
    }
    /* Keep flex direction consistent in all items */
    .wf-event-cast-item,
    .wf-event-pricing-item {
        flex-direction: column;
    }
    /* Ensure containers have proper spacing on mobile */
    .wf-event-info-section,
    .wf-event-cast-section,
    .wf-event-pricing-section {
        margin-bottom: 24px;
    }
    /* Fix arrangements content on mobile */
    .wf-event-arrangements-content {
        flex-direction: column;
    }
    .wf-event-arrangements-image,
    .wf-event-arrangements-text {
        width: 100%;
        margin-bottom: 20px;
    }
}


/* Info Section - Purple Box */

.wf-event-info-section .wf-event-section-title {
    color: #ffffff;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 25px;
}

.wf-event-info-items {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.wf-event-info-item {
    margin-bottom: 15px;
}

.wf-event-info-label {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 16px;
}

.wf-event-info-value {
    font-size: 16px;
    line-height: 1.4;
    color: #fff !important;
    font-weight: 400;
    padding: 0;
    margin: 0;
}


/* Additional dates styling */

.wf-event-additional-dates {
    margin-top: 10px;
    padding-left: 5px;
    border-left: 2px solid #f0f0f0;
}

.wf-event-additional-date {
    font-size: 15px;
    line-height: 1.4;
    color: #555555;
    margin-bottom: 5px;
    padding: 3px 0;
}

.wf-event-additional-date:last-child {
    margin-bottom: 0;
}


/* Section Styling */


/* .wf-event-section {
    margin-bottom: 30px;
} */

.wf-event-section-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: inherit;
}


/* Cast Section */

.wf-event-cast-section {
    margin-bottom: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.wf-event-cast-section .wf-event-section-title {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 24px;
    color: #333333;
}

.wf-event-cast-items {
    display: flex;
    flex-direction: column;
    padding: 0 10px;
    flex: 1;
}

.wf-event-cast-first-row {
    color: #333333;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 15px;
}

.wf-event-cast-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.wf-event-cast-item:last-child {
    margin-bottom: 0;
}

.wf-event-cast-role {
    font-weight: 600;
    color: #333333;
    font-size: 15px;
    margin-bottom: 4px;
}

.wf-event-cast-name {
    color: #333333;
    font-size: 15px;
    font-weight: 400;
}


/* Pricing Section */

.wf-event-pricing-section {
    margin-top: 0;
    margin-bottom: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.wf-event-pricing-section .wf-event-section-title {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 24px;
    color: #333333;
}

.wf-event-pricing-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    grid-gap: 16px;
    padding: 0 10px;
}

.wf-event-pricing-item {
    display: flex;
    flex-direction: column;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.wf-event-price-category {
    font-weight: 600;
    color: #333333;
    font-size: 15px;
    margin-bottom: 4px;
}

.wf-event-price-amount {
    color: #333333;
    font-size: 15px;
    font-weight: 400;
}


/* Ticket Button Section */

.wf-event-ticket-button-container {
    text-align: left;
    margin: 40px 0;
    order: attr(data-position);
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 24px;
    align-items: center;
}

@media screen and (max-width: 767px) {
    .wf-event-ticket-button-container {
        flex-direction: column;
        align-items: flex-start;
    }
}

.wf-event-ticket-message {
    font-family: Metropolis;
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 500;
    line-height: 2.125rem;
    /* 141.667% */
}

.wf-event-ticket-button {
    display: inline-block;
    background-color: #8963BA;
    /*Purplefromtheimage*/
    color: #ffffff;
    padding: 12px 24px;
    border: 1px solid #8963BA !important;
    border-radius: 50px !important;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    transition: unset !important;
    -moz-transition: unset !important;
    -ms-transition: unset !important;
    -o-transition: unset !important;
    -webkit-transition: unset !important;
}

.wf-event-ticket-button:hover {
    background-color: transparent !important;
    /*Darkerpurple*/
    color: #8963BA !important;
    border: 1px solid #8963BA !important;
    border-radius: 50px !important;
    transform: unset !important;
    -webkit-transform: unset !important;
    -moz-transform: unset !important;
    -ms-transform: unset !important;
    -o-transform: unset !important;
}


/* Arrangements Section */

.wf-event-arrangements-section {
    margin-top: 50px;
    padding: 4rem 0;
    border-top: 1px solid #e5e5e5;
    position: relative;
    overflow: hidden;
}

.wf-event-arrangements-fullwidth {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    position: relative;
    left: 0;
    right: 0;
}

.wf-event-arrangements-bg-image {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    border-top: none;
}

.wf-event-arrangements-svg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.wf-event-arrangements-svg-overlay svg,
.wf-event-arrangements-svg-overlay img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: opacity(0.75);
    -webkit-filter: opacity(0.75);
}

.wf-event-arrangements-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.wf-event-arrangements-container {
    max-width: 80rem;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.wf-event-arrangements-title {
    color: #FFFFFF !important;
    margin-bottom: 30px;
    font-size: 2.5rem;
    font-weight: 600;
}

.wf-event-arrangements-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

.wf-event-arrangements-image {
    flex: 1;
    min-width: 280px;
    display: none;
}

.wf-event-arrangements-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.wf-event-arrangements-text {
    flex: 1;
    min-width: 400px;
    max-width: 25%;
    margin-right: auto;
}

.wf-event-arrangements-logo {
    margin-bottom: 20px;
    max-width: 120px;
}

.wf-event-arrangements-logo img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

.wf-event-arrangements-description {
    margin-bottom: 30px;
    line-height: 1.6;
    color: #fff;
    font-size: 1.1rem;
    opacity: 0.9;
}

.wf-event-arrangements-button {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    background-color: #FFFFFF;
    color: #000000;
}

.wf-event-arrangements-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #f0f0f0;
}

.wf-event-arrangements-svg-overlay .desktop-svg {
    display: block;
}

.wf-event-arrangements-svg-overlay .mobile-svg {
    display: none;
}

@media (max-width: 991px) {
    .wf-event-arrangements-svg-overlay {
        width: 100%;
    }
    .wf-event-arrangements-svg-overlay .desktop-svg {
        display: none;
    }
    .wf-event-arrangements-svg-overlay .mobile-svg {
        display: block;
    }
    .wf-event-arrangements-text {
        max-width: 70%;
    }
    .wf-event-arrangements-section {
        padding: 10rem 0;
    }
    .wf-event-arrangements-title {
        font-size: 2.2rem;
    }
    .wf-event-arrangements-description {
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .wf-event-arrangements-svg-overlay {
        width: 100%;
    }
    .wf-event-arrangements-content {
        flex-direction: column;
    }
    .wf-event-arrangements-image,
    .wf-event-arrangements-text {
        width: 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
    .wf-event-arrangements-container {
        padding: 0 20px;
    }
    .wf-event-arrangements-section {
        padding: 4rem 1rem;
    }
    .wf-event-arrangements-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    .wf-event-arrangements-description {
        margin-bottom: 20px;
        font-size: 1rem;
        max-width: 90%;
    }
    .wf-event-arrangements-button {
        margin-top: 10px;
    }
}


/* Error Message */

.wf-event-error {
    background-color: #fff5f5;
    border: 1px solid #ffcccc;
    color: #ff0000;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
}

.wf-gallery-title-container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
    margin-bottom: 20px;
}

.wf-gallery-title-container .wf-event-section-title {
    font-size: 28px;
    font-weight: 600;
    color: #333333;
}


/* Elementor Editor-specific styles */

.elementor-editor-active .wf-event-gallery-slider.swiper {
    overflow: visible !important;
}

.elementor-editor-active .wf-event-gallery-slider .swiper-wrapper {
    overflow: visible !important;
}

.elementor-editor-active .wf-event-gallery-item.swiper-slide {
    visibility: visible !important;
    opacity: 0.8 !important;
}

.elementor-editor-active .wf-event-gallery-section .swiper-button-prev,
.elementor-editor-active .wf-event-gallery-section .swiper-button-next {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: all !important;
}


/* Ensure the browser doesn't hide any overflowing elements */

.wf-event-gallery-section,
.wf-event-gallery-slider.swiper,
.wf-event-gallery-slider .swiper-wrapper {
    overflow-y: visible !important;
}


/* Ensure loop duplicated slides are properly styled */

.wf-event-gallery-item.swiper-slide-duplicate {
    visibility: visible !important;
    opacity: 0.4;
}

.wf-event-gallery-item.swiper-slide-duplicate.swiper-slide-active,
.wf-event-gallery-item.swiper-slide-duplicate.swiper-slide-prev,
.wf-event-gallery-item.swiper-slide-duplicate.swiper-slide-next {
    opacity: 0.8 !important;
    visibility: visible !important;
}

.wf-event-gallery-item.swiper-slide-duplicate.swiper-slide-active {
    opacity: 1 !important;
}


/* Video Styling */

.wf-event-arrangements-video {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.wf-event-video-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.wf-event-video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.wf-event-video-poster {
    position: relative;
    width: 100%;
    cursor: pointer;
}

.wf-event-video-poster img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 16/9;
}

.wf-event-video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.wf-event-video-play-icon svg {
    width: 32px;
    height: 32px;
}

.wf-event-video-poster:hover .wf-event-video-play-icon {
    background-color: rgba(0, 0, 0, 0.7);
}

.wf-event-video-self-hosted {
    position: relative;
    width: 100%;
}

.wf-event-video-self-hosted video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.wf-event-video-external {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.wf-event-video-external iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


/* Media Section Styles */

.wf-event-media-container {
    margin-bottom: 2rem;
    width: 100%;
}

.wf-event-media-title {
    margin-bottom: 1rem;
    font-weight: 600;
}

.wf-event-media-content {
    margin: 0 auto;
}

.wf-event-align-left {
    text-align: left;
}

.wf-event-align-center {
    text-align: center;
}

.wf-event-align-right {
    text-align: right;
}

.wf-event-media-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    margin: 0 auto;
}

.wf-event-media-video {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 4px;
}

.wf-event-media-caption {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    font-style: italic;
    color: #666;
}


/* Alignment adjustments for video embeds */

.wf-event-align-left .wf-event-media-image img,
.wf-event-align-left .wf-event-video-embed,
.wf-event-align-left .wf-event-video-self-hosted,
.wf-event-align-left .wf-event-video-external,
.wf-event-align-left .wf-event-video-poster {
    margin: 0;
}

.wf-event-align-center .wf-event-media-image img,
.wf-event-align-center .wf-event-video-embed,
.wf-event-align-center .wf-event-video-self-hosted,
.wf-event-align-center .wf-event-video-external,
.wf-event-align-center .wf-event-video-poster {
    margin: 0 auto;
}

.wf-event-align-right .wf-event-media-image img,
.wf-event-align-right .wf-event-video-embed,
.wf-event-align-right .wf-event-video-self-hosted,
.wf-event-align-right .wf-event-video-external,
.wf-event-align-right .wf-event-video-poster {
    margin: 0 0 0 auto;
}


/* Responsive media styles */

@media screen and (max-width: 767px) {
    .wf-event-media-container {
        margin-bottom: 1.5rem;
    }
    .wf-event-media-title {
        margin-bottom: 0.75rem;
    }
}