.ua-lsa-catalogue-entry-container {
    display: flex;
    max-width: 1630px;
    height: auto; 
    margin-top: 30px;
    row-gap: 30px;
    column-gap: 0;
    background-color: #fdf6cc;
    flex-direction: row;
    flex-wrap: nowrap;
    /* Center children vertically for desktop view */
    align-items: center; 
}

/* Default (mobile-first) styles: < 960px screens (100% width on mobile) */
.ua-lsa-catalogue-item-photo-container {
    width: 100%; 
    height: auto;
    background-color: #ffffff;
    flex-shrink: 0; 
}

.ua-lsa-catalogue-photo {
    width: 100%;
    height: auto; 
    display: block;
    object-fit: cover;
}

.ua-lsa-catalogue-photo img {
    width: 100%;
    height: auto; 
    object-fit: cover;
}

.ua-lsa-catalogue-item-text {
    flex: 3 1 0; 
    padding: 30px;
    background-color: none;
    height: auto;
}

.ua-lsa-catalogue-item-header {
    color: #275D38;
    font-size: 1.375rem;
    margin-bottom: 10px;
}

.ua-lsa-catalogue-item-number {
    font-weight: 500;
    color: black;
    text-transform: uppercase;
    font-size: 1.1rem !important;
    margin-bottom: 15px !important;
}


.ua-lsa-catalogue-item-description li {
    margin-bottom: 15px !important;
}


/* Desktop/Tablet styles: Screens 960px and larger (Row Layout) */
@media (min-width: 960px) {
    .ua-lsa-catalogue-item-photo-container {
        /* Ensures photo is always 425px wide and won't shrink */
        width: 425px; 
        height: auto; 
        /* Fixes width to 425px */
        flex: 0 0 425px; 
    }
}

/* Mobile/Smaller Tablet stacking: Screens 959px and smaller (Column Layout) */
@media(max-width:959px) {
    .ua-lsa-catalogue-entry-container {
        flex-direction: column !important; /* Force column stacking */
        flex-wrap: wrap;
        height: auto; 
        max-width: 100%;
        row-gap: 0;
        /* Resetting alignment for column stack */
        align-items: flex-start; 
    }

    .ua-lsa-catalogue-item-photo-container {
        width: 100% !important; /* CRITICAL: Force 100% width */
        /* Fixed height for mobile stack to constrain vertical space */
        height: 300px; 
        order: 1;
        /* CRITICAL: Force flex basis for 100% width */
        flex: 0 0 100% !important; 
    }

    .ua-lsa-catalogue-item-text {
        width: 100% !important; /* CRITICAL: Force 100% width for text container */
        max-width: 100%;
        flex-grow: 2;
        order: 2;
        padding: 20px;
        height: auto; 
        /* CRITICAL: Force flex basis for 100% width */
        flex: 1 1 100% !important; 
        overflow-wrap: break-word;
    }

}