/* ==========================================================================
   Elements Title Widget Stylesheet
   ========================================================================== */

/* Section Container */
.elements-title-section {
    width: 100%;
    margin: 0 0 20px 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Title Text */
.elements-title-text {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    color: #1a1a1a;
    text-transform: uppercase;
    line-height: 1.1;
    margin-top: 0;
    letter-spacing: -0.5px;
}

/* Bottom Row (Description + Divider Container) */
.elements-title-bottom-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

/* Description Wrapper */
.elements-title-desc-wrapper {
    border-left: 4px solid #e2062c;
    padding-left: 15px;
    margin: 0;
    flex-shrink: 0;
    max-width: 75%;
    box-sizing: border-box;
}

/* Description Text */
.elements-title-description {
    color: #7a7a7a;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 400;
}

/* Divider Line Container */
.elements-title-divider-container {
    flex-grow: 1;
    display: flex;
    align-items: center;
    margin-left: 50px;
    box-sizing: border-box;
}

/* Divider Line */
.elements-title-divider-line {
    width: 100%;
    border-top: 1px solid #e2e2e2;
    height: 0;
    display: block;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .elements-title-bottom-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .elements-title-desc-wrapper {
        max-width: 100%;
    }
    
    .elements-title-divider-container {
        display: none; /* Hide divider line on mobile for cleaner layout */
    }
}
