/* ==========================================================================
   VEERU TECH - CUSTOMER SUCCESS STORIES STYLING (FULL WIDTH & ALIGNED)
   ========================================================================== */

/* Elementor Widget Wrapper Overrides */
.elementor-widget-veeru_tech_success_stories,
.elementor-widget-veeru_tech_success_stories .elementor-widget-container {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

.veeru-stories-section {
    width: 100% !important;
    padding: 30px 0;
    box-sizing: border-box;
    background-color: #ffffff;
}

.stories-container {
    width: 100% !important;
    max-width: 1400px;
    margin: 0 auto !important;
    padding: 0 20px;
    box-sizing: border-box;
}

.stories-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.stories-main-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.stories-view-all {
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: #f17a28;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.stories-view-all:hover {
    transform: translateX(3px);
}

.stories-grid {
    width: 100% !important;
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px;
    box-sizing: border-box;
}

.story-card {
    position: relative;
    width: 100% !important;
    height: 260px;
    border-radius: 14px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.story-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.94) 85%);
    z-index: 1;
}

.story-card-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.story-badge {
    align-self: flex-start;
    padding: 3px 10px;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.story-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

.story-location {
    font-family: 'Inter', sans-serif;
    font-size: 11.5px;
    color: #cbd5e1;
}

.story-metric {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
}

/* Responsive */
@media (max-width: 1024px) {
    .stories-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .stories-grid {
        grid-template-columns: 1fr !important;
    }
}