/**
 * WCRS Event Type Hero Widget Styles
 *
 * Two-column hero/header layout for event type pages with dynamic data slots.
 * BEM naming convention: wcrs-event-type-hero
 */

/* Main container - flexbox layout */
.wcrs-event-type-hero {
    display: flex;
    width: 100%;
    align-items: stretch;
}

/* Content column */
.wcrs-event-type-hero__content {
    display: flex;
    flex-direction: column;
    height: auto;
}

/* Inner content wrapper */
.wcrs-event-type-hero__inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

/* Title wrapper with accent line */
.wcrs-event-type-hero__title-wrapper {
    display: flex;
    align-items: center;
}

/* Accent line */
.wcrs-event-type-hero__title-accent {
    display: block;
    height: auto;
    min-height: 40px;
    align-self: stretch;
    flex-shrink: 0;
}

/* Title */
.wcrs-event-type-hero__title {
    margin: 0;
    padding: 0;
    flex: 1;
}

/* Slots container */
.wcrs-event-type-hero__slots {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Individual slot */
.wcrs-event-type-hero__slot {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid rgba(157, 157, 157, 0.6);
}

/* Remove border from last slot */
.wcrs-event-type-hero__slot:last-child {
    border-bottom: none;
}

/* Slot label */
.wcrs-event-type-hero__slot-label {
    display: block;
}

/* Slot value */
.wcrs-event-type-hero__slot-value {
    display: block;
    width: 100%;
}

/* Reset paragraph margins in slot value */
.wcrs-event-type-hero__slot-value p {
    margin: 0;
}

/* Image column */
.wcrs-event-type-hero__image {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    position: relative;
}

/* Override Elementor's default img styles */
.elementor .wcrs-event-type-hero__image img,
.wcrs-event-type-hero__image img {
    display: block;
    width: 100%;
    height: 100% !important;
    max-width: none;
    object-fit: cover;
    object-position: center center;
}

/* Responsive: Stack on mobile */
@media (max-width: 767px) {
    .wcrs-event-type-hero {
        flex-direction: column;
    }

    .wcrs-event-type-hero__content {
        width: 100% !important;
        order: 2;
    }

    .wcrs-event-type-hero__image {
        width: 100%;
        height: 300px !important;
        order: 1;
    }
}
