/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.risf img {
    height: 24px;
    width: 24px;
}

.risf-filter-title {
    /* margin-right: 0.5rem; */
    padding: 16px;
}

.risf-filter-title h5 {
    margin: 0;
}
.risf-filter-title img {
    margin-right: 0.5rem;
}

.separator {
    border-bottom: 2px solid #d1d5db;
    height: 1px;
    /* width: 100%; */

    /* Spacing */
    padding: 0 0.25rem;
    margin: 1rem ;
}

/* risf-style.css */
.risf-filter {
    margin-bottom: 20px;
}

.risf-filter-dropdown {
    padding: 5px 10px;
    margin-right: 10px;
}

/* .risf-load-more {
    padding: 10px 15px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    cursor: pointer;
    
} */
.risf-load-more {
    margin-top: auto;
    display: inline-block;
    padding: 0;
    margin: 0;
    border: none;
    border-bottom: transparent;
    font-size: 1.125rem;
    font-weight: 700;
    color: #4500A4;
    width: fit-content;
    transition: all 0.2s ease;

}

.risf-load-more:hover {
    background-color: transparent !important;
    border-color: #4500A4 !important;
    color: #4500A4 !important;
    text-decoration: underline;
}

.text-center {
    text-align: center;
}

.risf-upcoming-event-link {
    position: relative;
    display: block;
    width: 100%;
    background: transparent;
    text-decoration: none;
    overflow: hidden;
    line-height: 0;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18), 0 2px 6px rgba(0, 0, 0, 0.12) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.risf-upcoming-event-image {
    display: block;
    width: 100%;
    height: auto;
    background: transparent;
    transition: transform 0.35s ease;
}

.risf .risf-upcoming-event-image,
.risf-upcoming-event-image {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: cover;
    border-radius: 14px;
}

.risf-upcoming-event-tag {
    position: absolute;
    right: 12px;
    bottom: 14px;
    z-index: 2;
    display: inline-block;
    padding: 6px 14px;
    border-radius: 6px;
    background: #e40087;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.risf-upcoming-event-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24), 0 6px 14px rgba(0, 0, 0, 0.16) !important;
}

.risf-upcoming-event-link:hover .risf-upcoming-event-image {
    transform: scale(1.03);
}

.risf-upcoming-event-link:hover .risf-upcoming-event-tag {
    transform: translateY(-1px);
    filter: brightness(1.06);
}