.h-bold {
    font-family: var(--bold-text) !important;
}

.medium-text {
    font-family: var(--medium-text) !important;
}

.custom-dropdown {
    position: relative;
    /* Ensures dropdown-options positions correctly */
    width: 100%;
    color: var(--color-black);
}

.custom-dropdown::after {
    position: absolute;
    content: "";
    height: 10px;
    width: 9px;
    right: 12px;
    top: 37%;
    background-image: url("../../images/dropdown_chevron.svg");
    z-index: 10;
    background-size: cover;
    cursor: pointer;
    pointer-events: none;
}

.dropdown-selected {
    display: flex;
    align-items: center;
    height: 46px;
    padding: 0px 12px 0px 15px;
    border: 2px solid rgb(182, 184, 196);
    background: white;
    cursor: pointer;
    position: relative;
    z-index: 10;
    /* Keep it above other elements */
}

.dropdown-options {
    position: absolute;
    top: 100%;
    /* Makes sure it appears below dropdown-selected */
    left: 0;
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    background: white;
    display: none;
    max-height: 200px;
    overflow-y: auto;
    border: 2px solid #b6b8c4;
    border-top: 0px;
    /* Adds shadow for visibility */
    z-index: 999;
    /* Ensure it's above other elements */
}

.custom-dropdown.active .dropdown-options {
    display: block;
    z-index: 999;
    /* Keep open dropdown on top */
}


.dropdown-options li {
    display: flex;
    align-items: center;
    height: 46px;
    padding: 0px 12px 0px 15px;
    background: white;
    cursor: pointer;
    text-transform: capitalize;
}

.uld-filter-ctn .dropdown-options li:hover {
    background-color: #E8E8E8;
}

.dropdown-options li:last-child {
    border-bottom: 0px;
}



.uld-filter-ctn {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 10px;
    align-self: stretch;
    padding-bottom: 60px;
    color: var(--color-black);
}

.uld-filter-fields {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
    width: max-content;
    width: 100%;
}



/* for listing posts */
.uld-spec-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.uld-spec-list .uld-spec-item {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    background: #fff;
    text-align: center;
}

.uld-spec-item .title-ctn {
    display: flex;
    padding: 15px 15px 15px 20px;
    justify-content: space-between;
    align-items: flex-end;
    align-self: stretch;
    background-color: var(--color-black);
}

.uld-spec-item .title-ctn .uld-spec-title {
    font-size: 38px;
    line-height: 43.5px;
    color: #fff;
    text-decoration: none;
    margin: 0px;
}

.uld-spec-item .title-ctn .subtitle-ctn {
    display: flex;
    flex-direction: column;
    color: #fff;
    text-align: right;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 135%;
}

.uld-spec-item .title-ctn .subtitle-ctn .uld-spec-type {
    line-height: 130%;
    color: white;
    text-decoration: none;
    line-height: inherit;
    font-family: var(--bold-text) !important;
}

.uld-spec-item .content-ctn {
    display: flex;
    gap: 30px;
}

.uld-spec-item .content-ctn .uld-image img {
    height: 320px;
    width: 100%;
    max-width: 390.281px;
    max-height: 320px;
    min-width: 350px;

}



.uld-spec-item .content-ctn .uld-details {
    display: flex;
    flex-direction: column;
    row-gap: 15px;
    padding-bottom: 30px;
    color: var(--color-black);
}

.uld-spec-item .content-ctn .uld-details .field-group-ctn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
    padding: 0px 15px 15px 20px;
    border-bottom: 1px solid #E3E4EB;
    text-align: left;
}

.uld-spec-item .content-ctn .uld-details .field-group-title {
    font-size: 21px;
    line-height: 28px;
}

.uld-spec-item .content-ctn .uld-details .field-group-ctn .field-groups {
    display: flex;
    align-items: center;
    align-content: center;
    gap: 5px 10px;
    align-self: stretch;
    flex-wrap: wrap;
    text-align: left;

}

.uld-spec-item .content-ctn .uld-details .field-group-ctn .field-groups div:nth-child(2) {
    width: 50%;
}


.uld-spec-item .content-ctn .uld-details .compatibility-ctn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px 15px 15px 20px;
    gap: 5px;
    border-bottom: 1px solid #E3E4EB;
}

.uld-spec-item .content-ctn .uld-details .compatibility-ctn .field-groups {
    text-align: left;
}

.uld-spec-item .content-ctn .uld-details .image-usage-text {
    font-size: 16px;
    padding: 0px 15px 0px 20px;
    text-align: left;
}

@media (max-width:769px) {
    .uld-filter-ctn {
        flex-direction: column;
        padding-bottom: 50px;
    }

    .uld-spec-list {
        gap: 50px;
    }

    .uld-spec-item .title-ctn .uld-spec-title {
        font-size: 27px;
        line-height: 31px;
    }

    .uld-spec-item .content-ctn {
        flex-direction: column;
    }

    .uld-spec-item .content-ctn .uld-image img {
        max-height: 320px;
        min-width: 0px;
    }
}

@media (max-width: 480px) {
    .uld-spec-item .content-ctn .uld-details .field-group-ctn .field-groups div:nth-child(2) {
        width: auto;
    }
}

@media (max-width: 400px) {
    .uld-spec-item .title-ctn .uld-spec-title {
        font-size: 24px;
        line-height: 29px;
    }

    .uld-spec-item .content-ctn .uld-details .field-group-ctn {
        padding: 0px 10px 15px 10px;
    }

    .uld-spec-item .content-ctn .uld-details .field-group-title {
        font-size: 18px;
        line-height: 24px;
    }

    .uld-spec-item .content-ctn .uld-details .compatibility-ctn {
        padding: 0px 10px 15px 10px;
    }

    .uld-spec-item .content-ctn .uld-details .image-usage-text {
        padding: 0px 10px 0px 10px;
    }

    .uld-spec-item .content-ctn .uld-image img {
        max-height: 280px;
    }
}