/* Who We Serve / Industries List Styles */

.sm-who-we-serve-block {
    width: 100%;
}

.sm-wws-heading {
    font-size: 1rem;
    font-weight: 500;
    color: #666; /* Light grey text */
    margin: 0 0 16px 0;
    padding-bottom: 24px;
    border-bottom: 1px solid #000; /* Solid black divider under heading */
}

[data-theme="dark"] .sm-wws-heading {
    color: #bbb;
    border-bottom-color: var(--e-global-color-uicore_white);
}

.sm-wws-list {
    display: flex;
    flex-direction: column;
}

.sm-wws-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08); /* Faint bottom line */
    text-decoration: none;
    color: inherit;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

[data-theme="dark"] .sm-wws-item {
    border-bottom-color: rgba(255, 255, 255, 0.1);
    color: var(--e-global-color-uicore_white);
}

.sm-wws-item:last-child {
    border-bottom: none;
}

.sm-wws-title-group {
    display: flex;
    align-items: center;
    position: relative;
    transform: translateX(-56px);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.sm-wws-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: auto;
    margin-right: 16px;
    opacity: 0;
    color: #000;
    transform: translateX(-10px);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
}

.sm-wws-icon img {
    width: 100%;
    height: auto;
    display: block;
}

[data-theme="dark"] .sm-wws-icon {
    color: var(--e-global-color-uicore_white);
}

.sm-wws-title {
    font-size: 2.2rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--e-global-color-uicore_headline);
}

[data-theme="dark"] .sm-wws-title {
    color: var(--e-global-color-uicore_white);
}

.sm-wws-number {
    font-size: 2.2rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.3); /* Gray number initially */
    transition: color 0.4s ease;
}

[data-theme="dark"] .sm-wws-number {
    color: rgba(255, 255, 255, 0.3);
}

/* Hover States */
.sm-wws-item:hover .sm-wws-title-group {
    transform: translateX(0);
}

.sm-wws-item:hover .sm-wws-icon {
    opacity: 1;
    transform: translateX(0);
}

.sm-wws-item:hover .sm-wws-number {
    color: #000; /* Darker completely on hover */
}

[data-theme="dark"] .sm-wws-item:hover .sm-wws-number {
    color: var(--e-global-color-uicore_white);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .sm-wws-title,
    .sm-wws-number {
        font-size: 1.6rem;
    }
    
    .sm-wws-item {
        padding: 24px 0;
    }
}
