.carousel-item { height: 350px; background-color: #000; }
.picture-group { display: flex; width: 100%; height: 100%; }
.picture-group-left { flex: 2; height: 100%; position: relative; border-right: 1px solid #333; }
.picture-group-right { flex: 1; height: 100%; display: flex; flex-direction: column; }
.picture-group-right-row { flex: 1; display: flex; border-bottom: 1px solid #333; }
.picture-group-right-row:last-child { border-bottom: none; }
.picture-group-right-row > div { flex: 1; position: relative; border-right: 1px solid #333; overflow: hidden; }
.picture-group-right-row > div:last-child { border-right: none; }

.slider-img { width: 100%; height: 100%; background-position: center; background-size: cover; background-repeat: no-repeat; cursor: pointer; transition: transform 0.3s; }
.slider-img:hover { transform: scale(1.05); }

.featured_content_type { position: absolute; top: 0; left: 0; padding: 0.3rem 0.6rem; color: #fff; font-size: 1rem; z-index: 10; }
.featured_content_type_video { background-color: rgba(200, 0, 0, 0.8); }
.featured_content_type_album { background-color: rgba(0, 100, 0, 0.8); }

#homeSlider .carousel-indicators li { 
    width: 12px !important; 
    height: 12px !important; 
    border-radius: 50%; 
    border: 1px solid gray !important;
    background-color: rgba(255, 255, 255, 1);
    opacity: 1; /* Bootstrap 4 有时会设置 opacity */
}
#homeSlider .carousel-indicators .active {
    background-color: #007bff;
    width: 14px !important;
    height: 14px !important;
    border: 1px solid #007bff !important;
    margin: -1px 5px;
}
.carousel-caption {
    bottom: 2.4rem !important;
    padding-bottom: 0.5rem !important;
    padding-top: 0.5rem !important;
}
.featured_content_cation {
    background: rgba(0,0,0,0.5); 
    width: auto; border-radius: 5px;
    -webkit-line-clamp: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* Responsive Adjustments */
@media (max-width: 768px) {
    .carousel-item { height: 200px; }
    .picture-group-right { display: none; } /* Show only main image on mobile */
    .picture-group-left { flex: 1; border-right: none; }
}

.home_new_content_item {
    background-color: white;
}
.home_new_content_title {
    -webkit-line-clamp: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.home_new_content_summary {
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.home_new_content_summary_long {
    min-height: 50px;
}
.home_new_content_cover_picture {
    width:100px; height:75px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-color: #ebebeb;
}
.home_new_content_feature_item {
    background-color: #fcd9a3;
}


.filter_area_yuanchuang {
    color: purple;
}
.filter_area_diamond {
    color: #42b2d7;
}
.filter_area_gold {
    color: #b4980c;
}
.filter_area_free {
    color: green;
}
.saved_filter_item_container {
    position: relative;
}
.saved_filter_content_type {
    position: absolute; top:0px; left: 0px; z-index: 1;
}
.filter_preview_content_images {
    position: relative;
}
.fpc_image {
    height: 100%;
    min-height: 6rem;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.filter_preview_content_new {
    position: absolute;
    left: 4px; bottom:4px; z-index: 0;
}

.filter_preview_content {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background: #fff;
  border: 0;
  -webkit-transform: scale(0.9);
  -moz-transform: scale(0.9);
  -ms-transform: scale(0.9);
  transform: scale(0.9);
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  opacity: 0;
  overflow: hidden;
}

.filter_preview_content .title {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  text-align: center;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
.filter_preview_content .foot {
    position: absolute;
    bottom: 1%;
    right: 0;
}


.filter_preview_content_images:hover .filter_preview_content {
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  opacity: 1;
}


@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (-webkit-min-device-pixel-ratio: 2) {
    .home_new_content_icon {
        font-size: 32px;
        width: 80px;
    }
    .home_new_content_item {
        padding-top: 8px !important; padding-bottom: 8px !important;
    }
    .home_new_content_title small {
        font-size: 22px; font-weight: bold;
    }
    .home_new_content_summary small {
        font-size: 20px;
        line-height: 32px;
    }
    .home_new_content_cover_picture {
        width:150px; height:100px;
    }
    .home_new_content_summary_long {
        height: 70px;
    }
}
