/* We Are Solving Block Styles */

.was-block {
    width: 100%;
    background-color: transparent;
    padding: 80px 20px;
    box-sizing: border-box;
}

.was-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Centered Title */
.was-title-wrapper {
    text-align: center;
    margin-bottom: 60px;
}

.was-main-heading {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    color: #333333;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: -0.02em;
}

/* Two Column Content Wrapper */
.was-content-wrapper {
    display: flex;
    gap: 60px;
    align-items: stretch; 
    justify-content: space-between;
}

/* Left Column: Accordion */
.was-accordion-column {
    flex: 1;
    min-width: 0;
}

/* Problem List (Accordion) */
.was-problem-list {
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none !important;
}

.was-problem-list::before,
.was-problem-list::after {
    display: none !important;
    content: none !important;
}

.was-problem-list * {
    list-style: none !important;
}

.was-problem-list *::before,
.was-problem-list *::after {
    display: none !important;
    content: none !important;
}

.was-problem-item {
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid #989898;
    border-left: none !important;
    border-right: none !important;
    overflow: hidden;
    display: block;
    list-style: none !important;
    position: relative;
    box-shadow: none !important;
    box-sizing: border-box;
}

.was-problem-item * {
    box-sizing: border-box;
}

.was-problem-item.was-active {
    box-shadow: none !important;
    border: none !important;
    border-bottom: 1px solid #989898 !important;
}

.was-problem-item::before,
.was-problem-item::after {
    display: none !important;
    content: none !important;
}

.was-problem-item:first-child {
    border-top: 1px solid #989898;
    border-left: none !important;
    border-right: none !important;
}

.was-problem-item:last-child {
    border-bottom: 1px solid #989898;
    border-left: none !important;
    border-right: none !important;
}

.was-item-button {
    width: 100%;
    background: none !important;
    border: none !important;
    padding: 16px 0 !important;
    margin: 0 !important;
    text-align: left;
    cursor: pointer;
    display: block;
    transition: color 0.3s ease;
    outline: none !important;
    position: relative;
    box-shadow: none !important;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.was-item-button:hover {
    color: #333333;
    outline: none !important;
    box-shadow: none !important;
}

.was-item-button:focus,
.was-item-button:active,
.was-item-button:focus-visible {
    outline: none !important;
    outline-offset: 0 !important;
    box-shadow: none !important;
    border: none !important;
    padding: 16px 0 !important;
    margin: 0 !important;
    transform: none !important;
}

.was-item-text {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: #666666;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    display: block;
    transition: color 0.3s ease;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    left: 0;
    transform: translateX(0);
}

.was-problem-item.was-active .was-item-text {
    color: #333333;
    font-weight: 500;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    position: relative;
    left: 0;
    transform: translateX(0);
}

/* Accordion Content (hidden by default, shown when active) */
.was-item-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0;
}

.was-problem-item.was-active .was-item-content {
    max-height: 1000px;
    padding: 24px 0;
}

.was-item-description {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
    color: #333333;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.was-item-description p {
    margin: 0 0 16px 0;
}

.was-item-description p:last-child {
    margin-bottom: 0;
}

.was-item-description strong {
    font-weight: 600;
    color: #333333;
}

/* Right Column: Image */
.was-image-column {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.was-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.was-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 20px;
    transition: opacity 0.4s ease;
}

/* Responsive Design - Tablet */
@media (max-width: 1024px) {
    .was-block {
        padding: 60px 20px;
    }
    
    .was-title-wrapper {
        margin-bottom: 50px;
    }
    
    .was-main-heading {
        font-size: 40px;
    }
    
    .was-content-wrapper {
        gap: 40px;
    }
    
    .was-item-text {
        font-size: 16px;
    }
    
    .was-item-description {
        font-size: 16px;
    }
    
    .was-problem-item.was-active .was-item-content {
        padding: 20px 0;
    }
}

/* Responsive Design - Mobile Landscape & Small Tablets */
@media (max-width: 768px) {
    .was-block {
        padding: 50px 20px;
    }
    
    .was-title-wrapper {
        margin-bottom: 40px;
    }
    
    .was-main-heading {
        font-size: 36px;
    }
    
    .was-content-wrapper {
        flex-direction: column;
        gap: 40px;
    }
    
    .was-accordion-column {
        width: 100%;
    }
    
    .was-image-column {
        width: 100%;
    }
    
    .was-item-text {
        font-size: 16px;
    }
    
    .was-item-description {
        font-size: 16px;
    }
    
    .was-problem-item.was-active .was-item-content {
        padding: 20px 0;
    }
}

/* Responsive Design - Mobile Portrait */
@media (max-width: 480px) {
    .was-block {
        padding: 40px 16px;
    }
    
    .was-title-wrapper {
        margin-bottom: 30px;
    }
    
    .was-main-heading {
        font-size: 28px;
    }
    
    .was-content-wrapper {
        gap: 30px;
    }
    
    .was-item-button {
        padding: 12px 0;
    }
    
    .was-item-text {
        font-size: 15px;
    }
    
    .was-item-description {
        font-size: 15px;
    }
    
    .was-problem-item.was-active .was-item-content {
        padding: 16px 0;
    }
}

/* Large screens optimization */
@media (min-width: 1600px) {
    .was-container {
        max-width: 1600px;
    }
    
    .was-main-heading {
        font-size: 56px;
    }
    
    .was-item-text {
        font-size: 20px;
    }
    
    .was-item-description {
        font-size: 20px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .was-block * {
        transition: none !important;
        animation: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .was-main-heading {
        color: #000000;
    }
    
    .was-item-description,
    .was-item-description strong {
        color: #000000;
    }
    
    .was-item-text {
        color: #000000;
    }
    
    .was-problem-item {
        border-color: #000000;
    }
    
    .was-problem-item.was-active .was-item-text {
        color: #000000;
        font-weight: 700;
    }
}
