.header-subnav-wrapper {
    min-height: max-content;
    overflow: visible;
    padding: 60px 45px 60px !important;
    height: auto !important;
}

.header-subnav-wrapper::after {
    content: "";
    display: table;
    clear: both;
}

.subnav-sections {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    align-items: flex-start;
    width: 100%;
    min-height: 100%;
}

.subnav-section {
    flex: 1;
    min-width: 210px;
    height: auto;
    align-self: stretch;
}

.subnav-section-title {
    font-size: 16px;
    font-weight: 900;
    color: #1f1f1f;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    margin-bottom: 8px;
}

.subnav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-right: 1px solid #eee;
}

.subnav-list-item {
    margin-bottom: 2px;
}

.subnav-list-link {
    display: block;
    color: #4c5055;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s ease, text-decoration 0.2s ease;
    line-height: 20px;
    position: relative;
    z-index: 1;
    font-weight: 500;
    padding: 5px 0;
    width: fit-content;
}

.subnav-list-link:hover {
    color: #70767d;
    text-decoration: underline;
}

.subnav-list-link:active {
    color: #333;
}

.subnav-list-link--selected {
    text-decoration: underline;
}

.loading-indicator {
    font-size: 12px;
    color: #999;
    margin-left: 5px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.subnav-section-image {
    flex: 0 0 160px;
    max-width: 160px;
    margin-left: 20px;
}

.subnav-material-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px;
    background-color: #f9f9f9;
    border-radius: 8px;
    min-height: 200px;
}

.material-image {
    max-width: 100%;
    max-height: 160px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media screen and (min-width: 1366px) {
    .subnav-section-image {
        flex: 0 0 240px;
        max-width: 240px;
    }

    .subnav-material-image {
        padding: 8px 0 8px 8px;
    }

    .material-image {
        max-height: 240px;
    }
}

.material-image:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}