/*-------------------------------------------------------------
- Global
-------------------------------------------------------------*/

/*-------------------------------------------------------------
- CPT Global
-------------------------------------------------------------*/
.cpt_cc_framework_wrapper {

}

.cpt_cc_framework_list_wrapper {
    background: #fff;
    transition: all 0.3s ease;
    overflow: hidden;
}

.cpt_cc_framework_list_wrapper:hover {
    box-shadow: 10px 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

/*-------------------------------------------------------------
- CPT List Featured Image
-------------------------------------------------------------*/
/* Image container with aspect ratio */
.cpt_cc_framework_image_link {
    display: block;
    text-decoration: none;
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 landscape aspect ratio */
    overflow: hidden;
    background: #f5f5f5;
}

.cpt_cc_framework_featured_image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cpt_cc_framework_featured_image--bg {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.cpt_cc_framework_featured_image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.cpt_cc_framework_wrapper:hover .cpt_cc_framework_featured_image img {
    transform: scale(1.05);
}

.cpt_cc_framework_wrapper:hover .cpt_cc_framework_featured_image--bg {
    transform: scale(1.05);
}
/*-------------------------------------------------------------
- CPT List Isotope Grid Card - Layout
-------------------------------------------------------------*/
.cpt_cc_framework_isotope_wrapper {
    margin: 0 -15px;
}
.cpt_cc_framework_isotope_wrapper .cpt_cc_framework_wrapper {
    background: #fff;
    transition: all 0.3s ease;
    overflow: hidden;
    margin-bottom: 0;
}
.cpt_cc_framework_isotope_wrapper .cpt_cc_framework_wrapper:hover {
    box-shadow: 10px 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.cpt_cc_framework_isotope_wrapper .cpt_cc_framework_wrapper.isotope-item {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    width: calc(33.333% - 30px);
    margin: 0 15px 30px 15px;
    box-sizing: border-box;
}

/*-------------------------------------------------------------
- CPT List Isotope Grid Card - Featured Image
-------------------------------------------------------------*/
.cpt_cc_framework_isotope_wrapper .place_holder_list_featured_image {
    position: relative;
    width: 100%;
}
.cpt_cc_framework_isotope_wrapper .place_holder_list_featured_image .cpt_cc_framework_image_link {
    padding-bottom: 56.25%;
    border-radius: 8px;
    overflow: hidden;
    background: transparent;
}
.cpt_cc_framework_isotope_wrapper .place_holder_list_featured_image .cpt_cc_framework_featured_image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/*-------------------------------------------------------------
- CPT List Isotope Grid Card - Content
-------------------------------------------------------------*/
.cpt_cc_framework_isotope_wrapper .cpt_cc_framework_list_content {
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}
.cpt_cc_framework_isotope_wrapper .cpt_cc_framework_list_content h4 {
    margin: 0 0 10px 0;
}
.cpt_cc_framework_isotope_wrapper .cpt_cc_framework_list_content h4 a {
    color: #5B3FA0;
    text-decoration: none;
    transition: color 0.2s ease;
}
.cpt_cc_framework_isotope_wrapper .cpt_cc_framework_list_content h4 a:hover {
    color: #7B5FC0;
}
.cpt_cc_framework_isotope_wrapper .cpt_cc_framework_list_content p {
    margin: 0;
    color: #444;
}
.cpt_cc_framework_isotope_wrapper .cpt_cc_framework_list_category {
    font-size: 0.82rem;
    color: #6B6278;
    margin-bottom: 4px;
}
.cpt_cc_framework_isotope_wrapper .cpt_cc_framework_wrapper:hover .cpt_cc_framework_featured_image img {
    transform: scale(1.05);
}
.cpt_cc_framework_isotope_wrapper a.read-more-link {
    font-weight: 900;
}

/*-------------------------------------------------------------
- CPT Detail
-------------------------------------------------------------*/
.cpt_detail_back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #5B3FA0;
    text-decoration: none;
    margin-bottom: 28px;
    transition: color 0.2s ease, gap 0.2s ease;
}
.cpt_detail_back:hover {
    color: #7B5FC0;
    gap: 8px;
}
.cpt_detail_back svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: transform 0.2s ease;
}
.cpt_detail_back:hover svg {
    transform: translateX(-2px);
}

/*-------------------------------------------------------------
- CPT Detail View Previous Next Navigation (Global Shortcode)
-------------------------------------------------------------*/
.cpt_post_nav {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid;
    border-image: linear-gradient(135deg, #5B3FA0, #E4B5D8) 1;
}
.cpt_post_nav_link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    text-decoration: none;
    border-radius: 12px;
    background: rgba(91, 63, 160, 0.04);
    transition: all 0.25s ease;
    flex: 1;
    min-width: 0;
}
.cpt_post_nav_link:hover {
    background: rgba(91, 63, 160, 0.08);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(91, 63, 160, 0.1);
}
.cpt_post_nav_link svg {
    flex-shrink: 0;
    color: #5B3FA0;
    transition: transform 0.2s ease;
}
.cpt_post_nav_link.nav_prev:hover svg {
    transform: translateX(-3px);
}
.cpt_post_nav_link.nav_next:hover svg {
    transform: translateX(3px);
}
.cpt_post_nav_link.nav_next {
    text-align: right;
    justify-content: flex-end;
    margin-left: auto;
}
.cpt_post_nav_link .nav_label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5B3FA0;
    margin-bottom: 4px;
}
.cpt_post_nav_link .nav_title {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    color: #2A0D4C;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/*-------------------------------------------------------------
- Eventes Detail View
-------------------------------------------------------------*/
body.single-sswsc_events .container-wrap.no-sidebar{
    margin-bottom: 0;
    padding-bottom: 0;
}

/*-------------------------------------------------------------
- Facet Search & Autocomplete
-------------------------------------------------------------*/
/* .search-wrapper #placeholder_search {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.search-wrapper #placeholder_suggestions {
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
}

.selected-items-display {
    margin-bottom: 15px;
    display: none;
}

.selected-items-display > div:first-child {
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

#placeholder_list {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #e9ecef;
    font-size: 13px;
    line-height: 1.4;
}

.reset-selection {
    text-align: center;
    margin-top: 10px;
}

.reset-selection button {
    font-size: 12px;
    padding: 5px 10px;
}

.autocomplete-suggestion {
    padding: 8px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s ease;
}

.autocomplete-suggestion:hover {
    background-color: #f5f5f5;
}

.autocomplete-suggestion:last-child {
    border-bottom: none;
} */

/*-------------------------------------------------------------
- Facet Slider Styles
-------------------------------------------------------------*/
/* .range-display,
.value-display {
    text-align: center;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: bold;
}

#placeholder_range_slider,
#placeholder_slider {
    margin: 20px 0;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
    margin-top: 10px;
}

.slider-reset {
    text-align: center;
    margin-top: 15px;
}

.slider-reset button {
    font-size: 12px;
    padding: 5px 10px;
} */

/*-------------------------------------------------------------
- Modal
-------------------------------------------------------------*/
/* .custom_modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4); 
    justify-content: center;
    align-items: center;
}
.custom_modal_content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}
.custom_modal_close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.custom_modal_close:hover,
.custom_modal_close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
} */

/*-------------------------------------------------------------
- Mobile Facet
-------------------------------------------------------------*/
/* .responsive_facet_wrapper.mobile_facet_menu{
    display: block!important;
    position: fixed;
    z-index: 9999999;
    box-shadow: 0 0 4px rgba(0,0,0,.3);
    background: #fff;
    left: 110%;
    padding-top: 65px;
    top: 0px;
    width: 75%;
    height: 100% !important;
    transition: left .2s ease-out,top .2s ease-out,width .2s ease-out,height .2s ease-out;
}
.responsive_facet_wrapper.mobile_facet_menu.open{
    left:25%;
}
.responsive_facet_wrapper.mobile_facet_menu.closed{
    left:110%;
    transition: left .2s ease-out,top .2s ease-out,width .2s ease-out,height .2s ease-out;
}
.responsive_facet_wrapper.closed a.mobile_facet_side_button,
a.mobile_facet_trigger.mobile_facet_bottom_button.closed{
    display: none;
}
a.mobile_facet_bottom_button{
    z-index: 9999999;
    background: #B2482c;
    display: inline-block;
    padding: 5px 20px;
    color: #fff;
}
a.mobile_facet_side_button {
    position: absolute;
    top: 260px;
    display: inline-block;
    padding: 10px;
    left: -45px;
    background: #B2482c;
    color: #fff;
    transform: rotate(270deg);
    transform-origin: left top 0;
    font-size: 20px;
}
a.mobile_facet_bottom_button:hover,
a.mobile_facet_side_button:hover{
    color:#fff;
} */

/*-------------------------------------------------------------
- Media Query
-------------------------------------------------------------*/
@media only screen and (max-width: 991px) {
    /* Isotope Grid */
    /* .cpt_cc_framework_isotope_wrapper .cpt_cc_framework_wrapper.isotope-item {
        width: calc(50% - 30px);
    } */
}
@media only screen and (max-width: 767px) {
    /* Mobile Facet Button */
    /*a.mobile_facet_trigger.mobile_facet_bottom_button.closed{
        display: inline-block;
    }
    .filter_trigger{
        display: none;
    } */

    /* Isotope Grid  */
    /* .cpt_cc_framework_isotope_wrapper .cpt_cc_framework_wrapper.isotope-item {
        width: calc(100% - 30px);
    } */
}

