[class*="container"]:has(#lh-resource-library) {
    display: block;
}

.lhrl-button, lhrl-search-form .lhrl-button {
    font-family: inherit;
    text-transform: capitalize !important;
 }
 
 .lhrl-search-form .textbox {
     padding: 0px !important;
     padding-left: 10px !important;
 }
 
 .lhrl-search-form .textbox::placeholder, .lhrl-search-form input::placeholder, .resource-library-placeholder, select:has(option.resource-library-placeholder:checked) {
     color: #767676;
 }
 select option:not(.resource-library-placeholder) {
    color: #000;
}
.lhrl-file-description {
    padding-top: 10px;
}

.affiliate-disclosure {
    font-style: italic;
}

.splide__toggle {
    position: absolute;
    inset-inline-end: 10px;
    inset-block-end: 10px;
    padding: 3px 0 0 0;
    z-index: 10;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    cursor: pointer;
}

.lhrl-pinned-item svg {
    width: 60px;
    height: 60px; 
    transform: rotate(30deg);
    transform-origin: center;
}

.lhrl-premium-icon svg {
    width: 40px;
    height: 40px;
}

.lhrl-premium-icon {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lhrl-pinned-item {
    position: absolute;
    top: 10px;
    inset-inline-start: 10px; 
    z-index: 10;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
}



.lhrl-column .lhrl-leaving-soon::before, .lhrl-column .lhrl-recently-added::before, .lhrl-column .lhrl-hero-item-image::before {
    position: absolute;
    top: 40px;
    padding: 12px 80px; 
    font-size: 14px;    
    font-weight: 700;
    letter-spacing: 0.75px;
    transform: rotate(45deg);
    transform-origin: center;
    z-index: 20;
    white-space: nowrap;
    line-height: 1.2;
}

.lhrl-column .lhrl-leaving-soon::before {
    content: "Leaving Soon";
    right: -65px;
}

.lhrl-column .lhrl-recently-added::before {
    content: "Recently Added";
    right: -65px;
}
.lhrl-column .lhrl-hero-item-image::before {
    content: "Popular";
    right: -50px;
}

.lhrl-image-wrapper img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lhrl-image-wrapper {
    position: relative;
    overflow: hidden;
}

.lhrl-product-media-bg {
    background-size: cover;
    background-position: center;
    height: 667px;
    width: 470px;
    margin: 0 auto;
    position: relative;
}


.lhrl-notification-bar {
    text-align: center;
    margin: 0px 50px;
    padding: 8px;
}

#lhrl-resource-library-form {
    padding: 50px;
}

#lhrl-resource-library-form .lhrl-submit-wrap .lhrl-button {
    padding: 0px;
}

.lhrl-row {
    box-sizing: border-box;
    display: flex;
    flex-flow: row wrap;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 1.5em -15px;
    text-align: center;
}


.lhrl-column {
    display: block;
    position: relative;
    text-align: center;
    padding: 15px;
}

#lh-resource-library h2 {
    margin: 1em 0;
    padding: 0;
}

.lhrl-button {
    border: none;
    color: white;
    cursor: pointer;
    padding: 15px 10px;
    text-decoration: none;
    display: block;
    border-radius: 4px;
    
    }
#lh-resource-library .lhrl-button {
    margin-top: 15px;
} 
.lhrl-product-button {
    border: none;
    color: white;
    cursor: pointer;
    padding: 15px 20px;
    text-decoration: none;
    display: inline-block;
    
    border-radius: 4px;
}

.lhrl-category-search .lhrl-button, .lhrl-premium-selection .lhrl-button, .lhrl-button{
    display: inline-block;
    width: auto;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 0px;
    padding-bottom: 0px;
    margin-left: 10px;
    font-size: 18px;
}
#lh-resource-library h2 {
    font-size: 26px;
}
#lh-resource-library .lhrl-description, #lh-resource-library .lhrl-file-description {
    font-size: 18px;
}

.lhrl-search-form .textbox {
    font-family: inherit;
}

.lhrl-premium-selection select, .lhrl-category-search select, .lhrl-search-form .textbox, .lhrl-search-form input {
    width: 60%;
    height: 40px;
}

.lhrl-search .lhrl-button {
    display: inline-block;
    width: 25%;
    padding: 3.5px;
    margin-left: 10px;
}

.lhrl-desktop-filters .lhrl-search .lhrl-search-form, .lhrl-desktop-filters .lhrl-search .lhrl-button, .lhrl-desktop-filters .lhrl-category-search .lhrl-button, .lhrl-desktop-filters .lhrl-premium-selection .lhrl-button  {
    height: 40px;
}

.lhrl-category-search, .lhrl-premium-selection {
    display: flex;
    justify-content: right;
}


#lh-resource-library {
    margin: 20px;
}

.lhrl-desktop-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top:100px;
}

.lhrl-desktop-filters .lhrl-search, .lhrl-desktop-filters .lhrl-category-search, .lhrl-desktop-filters .lhrl-premium-selection {
    width: 50%;
}

.lhrl-column img {
    margin: 0 auto;
}

.lhrl-mobile-filters {
    display: none;
}


.lhrl-desktop-filters .lhrl-search {
    margin-left: 50px;
    margin-top: 20px;
}

.lhrl-desktop-filters .lhrl-category-search, .lhrl-desktop-filters .lhrl-premium-selection {
    margin-right: 50px;
    margin-top: 20px;
}

@media only screen and (min-width: 768px) {
.lhrl-hero-item .lhrl-column {
    width: 50%;
    box-sizing: border-box;
    display: flex;
    flex-flow: row wrap;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 1.5em -15px;
    text-align: center;
    justify-content: center;
    margin: 1.5px auto;
}

.lhrl-hero-item .lhrl-image-wrapper {
    width: 50% !important;
    display: block;
    position: relative;
    text-align: center;
}

.lhrl-hero-item .hero-item-content-wrapper {
    width: 50% !important;
    display: block;
    position: relative;
    text-align: center;
    padding: 15px;
}
}


@media only screen and (max-width: 1024px) {
    .lhrl-premium-label {
        width: auto;
        font-size: 18px;
    }
    .lhrl-hero-item .lhrl-column {
    width: 100%;
    }
}

@media only screen and (min-width: 480px) and (max-width: 1024px) {
    .lhrl-column {
        width: 50%;
    }
}

@media only screen and (max-width: 480px) {

    .lhrl-desktop-filters {
        display: none;
    }

    .lhrl-mobile-filters {
        display: block;
        margin-bottom: 20px;
        width: 100%;
    }

    .lhrl-mobile-filters details {
        border: 1px solid #ccc;
        border-radius: 6px;
        background: #f7f7f7;
        width: 100%;
    }

    .lhrl-mobile-filters summary {
        position: relative;
        padding: 12px 40px 12px 15px;
        font-weight: bold;
        cursor: pointer;
        list-style: none;
    }

    .lhrl-mobile-filters summary::-webkit-details-marker {
        display: none;
    }

    .lhrl-mobile-filters summary::after {
        content: "▾";
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px;
        transition: transform 0.25s ease;
    }

    .lhrl-mobile-filters details[open] summary::after {
        transform: translateY(-50%) rotate(180deg);
    }

    .lhrl-mobile-filters .lhrl-category-and-search-filters,
    .lhrl-mobile-filters .lhrl-search-form,
    .lhrl-mobile-filters .lhrl-category-search,
    .lhrl-mobile-filters .lhrl-premium-selection {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 10px;
        padding: 10px;
        box-sizing: border-box;
    }

    .lhrl-mobile-filters input,
    .lhrl-mobile-filters select,
    .lhrl-mobile-filters .lhrl-button,
    .lhrl-mobile-filters .submit,
    .lhrl-mobile-filters .lhrl-category-filter {
        width: 100%;
        box-sizing: border-box;
        margin: 0;
    }

    .lhrl-mobile-filters .lhrl-button {
        height: 40px;
    }

    .lhrl-mobile-filters .lhrl-search,
    .lhrl-mobile-filters .lhrl-category-search,
    .lhrl-mobile-filters .lhrl-premium-selection {
        height: auto;
    }
}

