/**
 * WCRS Hero Widget Styles
 *
 * Two-column hero section with title, description and image.
 */

/* Hero section wrapper */
.wcrs-hero {
    width: 100%;
}

/* Inner container - flexbox layout */
.wcrs-hero-inner {
    display: flex;
    overflow: hidden;
}

/* Content column */
.wcrs-hero-content {
    display: flex;
    flex-direction: column;
}

/* Title wrapper (with optional decorative line) */
.wcrs-hero-title-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
}

/* Decorative line */
.wcrs-hero-line {
    display: block;
    flex-shrink: 0;
    align-self: stretch;
}

/* Title */
.wcrs-hero-title {
    margin: 0;
    padding: 0;
}

/* Description */
.wcrs-hero-description {
    margin: 0;
    padding: 0;
}

.wcrs-hero-description p {
    margin: 0;
}

.wcrs-hero-description p + p {
    margin-top: 0.5em;
}

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

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