/* Stairs Gradient Background Block Styles */

.stairs-gradient-bg-block {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: linear-gradient(90deg, #A7A7A7 0%, #D9D9D9 100%);
}

.stairs-container {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding: 80px 40px;
    box-sizing: border-box;
}

/* Section Styles */
.stairs-section {
    margin-bottom: 100px;
    position: relative;
}

.stairs-section:last-child {
    margin-bottom: 0;
}

.stairs-section-content {
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100%;
}

/* Image Left, Text Right Layout */
.stairs-layout-image-left .stairs-section-content {
    flex-direction: row;
}

/* Text Left, Image Right Layout */
.stairs-layout-image-right .stairs-section-content {
    flex-direction: row;
}

/* Text Top, Images Bottom Layout */
.stairs-layout-text-top-images-bottom .stairs-section-content {
    flex-direction: column;
    align-items: flex-start;
}

/* Image Wrapper */
.stairs-image-wrapper {
    flex: 0 0 auto;
    width: 45%;
    position: relative;
}

.stairs-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 40px;
}

/* Text Wrapper */
.stairs-text-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stairs-text-wrapper.stairs-text-top {
    width: 100%;
}

/* Section Title */
.stairs-section-title {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 30px 0;
    color: #1a1a1a;
}

/* Section Text */
.stairs-section-text {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
    color: #333333;
    margin: 0;
}

.stairs-section-text p {
    margin: 0 0 20px 0;
}

.stairs-section-text p:last-child {
    margin-bottom: 0;
}

.stairs-section-text strong {
    font-weight: 600;
    color: #1a1a1a;
}

/* Bottom Images Layout */
.stairs-images-bottom {
    display: flex;
    gap: 30px;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.stairs-bottom-image-wrapper {
    flex: 0 0 calc(50% - 15px);
    position: relative;
}

.stairs-bottom-image-wrapper .stairs-image {
    width: 100%;
    height: auto;
}

/* Responsive Design - Tablet */
@media (max-width: 1024px) {
    .stairs-container {
        padding: 60px 30px;
    }
    
    .stairs-section {
        margin-bottom: 80px;
    }
    
    .stairs-section-content {
        gap: 40px;
    }
    
    .stairs-image-wrapper {
        width: 48%;
    }
    
    
    .stairs-images-bottom {
        gap: 24px;
    }
    
    .stairs-bottom-image-wrapper {
        flex: 0 0 calc(50% - 12px);
    }
}

/* Responsive Design - Mobile Landscape & Small Tablets */
@media (max-width: 768px) {
    .stairs-container {
        padding: 50px 24px;
    }
    
    .stairs-section {
        margin-bottom: 60px;
    }
    
    .stairs-section-content {
        flex-direction: column !important;
        gap: 30px;
    }
    
    .stairs-layout-image-left .stairs-section-content,
    .stairs-layout-image-right .stairs-section-content {
        flex-direction: column;
    }
    
    .stairs-image-wrapper {
        width: 100%;
        order: 1;
    }
    
    .stairs-text-wrapper {
        order: 2;
        width: 100%;
    }
    
    .stairs-section-title {
        font-size: 30px;
        margin-bottom: 20px;
    }
    
    .stairs-section-text {
        font-size: 16px;
        line-height: 1.4;
    }
    
    .stairs-images-bottom {
        flex-direction: column;
        gap: 20px;
    }
    
    .stairs-bottom-image-wrapper {
        flex: 0 0 100%;
    }
    
    .stairs-text-wrapper.stairs-text-top {
        margin-bottom: 15px;
    }
}

/* Responsive Design - Mobile Portrait */
@media (max-width: 480px) {
    .stairs-container {
        padding: 40px 20px;
    }
    
    .stairs-section {
        margin-bottom: 50px;
    }
    
    .stairs-section-content {
        gap: 14px;
    }
    
    .stairs-section-title {
        font-size: 28px;
        margin-bottom: 18px;
    }
    
    .stairs-section-text {
        font-size: 15px;
   
    }
    
    .stairs-text-wrapper.stairs-text-top {
        margin-bottom: 12px;
    }
}

/* Height-based adjustments for short screens */
@media (max-height: 700px) {
    .stairs-container {
        padding: 50px 30px;
    }
    
    .stairs-section {
        margin-bottom: 60px;
    }
    
    .stairs-section-title {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .stairs-section-text {
        font-size: 16px;
    }
}

/* Large screens optimization */
@media (min-width: 1400px) {
    .stairs-container {
        max-width: 1240px;
        padding: 100px 60px;
    }
    
    .stairs-section {
        margin-bottom: 120px;
    }
    
    .stairs-section-content {
        gap: 40px;
    }
    
}

/* Ultra-wide screens */
@media (min-width: 1920px) {
    .stairs-container {
        max-width: 1240px;
        padding: 120px 80px;
    }
    
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .stairs-gradient-bg-block {
        transition: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .stairs-section-title {
        color: #000000;
    }
    
    .stairs-section-text {
        color: #000000;
    }
    
    .stairs-image {
        border: 2px solid #000000;
    }
}

