

/* Start:/local/templates/wellhouse/components/bitrix/news/main_news/bitrix/news.list/.default/style.css?17605651894904*/
div.news-list
{
	word-wrap: break-word;
}
div.news-list img.preview_picture
{
	float:left;
	margin:0 4px 6px 0;
}
.news-date-time {
	color:#486DAA;
}

.section_news_list {
    padding: 80px 0;
}



.news_item__wrapper {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.news_item {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.news_item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.news_item .thumb-item {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.news_item .thumb-item img,
.news_item .thumb-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news_item:hover .thumb-item img,
.news_item:hover .thumb-item video {
    transform: scale(1.05);
}

.news_item__descr {
    padding: 24px;
}

.news_item--date {
    font-size: 16px;
    color: #6c727e;
    margin-bottom: 12px;
}

.news_item--title {
    font-size: 22px;
    font-weight: 500;
    color: #09090a;
    margin: 0 0 12px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: calc(1.3em * 2);
}

.news_item--preview {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.section_news_list .video_wrap {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
    background: #000;
}

.section_news_list .video_wrap video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #000;
}

.section_news_list .thumb-item .image-wrap .video_wrap {
    display: none;
    justify-content: center;
    align-items: center;
    background: #000;
}

.section_news_list .thumb-item .image-wrap .video_wrap:first-child {
    display: flex;
}

.section_news_list .thumb-item .image-wrap .video_wrap video {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.section_news_list .thumb-item .image-wrap > * {
    display: none;
    width: 100%;
    height: 100%;
}

.section_news_list .thumb-item .image-wrap > *:first-child {
    display: flex;
    justify-content: center;
    align-items: center;
}

.section_news_list .thumb-item .image-wrap img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
}

.section_news_list .thumb-item .image-wrap .video_wrap.active {
    display: flex !important;
}

.news-pagination {
    margin-top: 40px;
    text-align: center;
}

/* Carousel navigation dots */
.section_news_list .thumb-item {
    position: relative;
}

.section_news_list .tmb-wrap {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    pointer-events: none;
    width: auto;
    display: inline-block;
}

.section_news_list .tmb-wrap-table {
    display: flex;
    gap: 6px;
    align-items: center;
    pointer-events: none;
}

.section_news_list .tmb-wrap-table div {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    flex-shrink: 0;
}

.section_news_list .tmb-wrap-table div.active {
    background: #fff;
    width: 20px;
    border-radius: 3px;
}

.section_news_list .tmb-wrap-table div:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Initialize carousel structure like ready_projects */
.section_news_list .thumb-item.brazzers-daddy {
    position: relative;
}

.section_news_list .thumb-item.brazzers-daddy .image-wrap {
    position: relative;
    width: 100%;
    height: 100%;
}

.section_news_list .thumb-item.brazzers-daddy .image-wrap > * {
    display: none;
    width: 100%;
    height: 100%;
}

.section_news_list .thumb-item.brazzers-daddy .image-wrap > *.active {
    display: block;
}

.section_news_list .thumb-item.brazzers-daddy .image-wrap .video_wrap.active {
    display: flex !important;
}

@media (max-width: 768px) {
    .section_news_list {
        padding: 60px 0;
    }
    
   
    
    .news_item--title {
        font-size: 20px;
        min-height: calc(1.3em * 2);
    }
    
    .news_item .thumb-item {
        height: 250px;
    }
    
    .news_item--preview {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    
    
    .news_item__descr {
        padding: 20px;
    }
    
    .news_item--title {
        font-size: 18px;
        min-height: calc(1.3em * 2);
    }
}

/* End */
/* /local/templates/wellhouse/components/bitrix/news/main_news/bitrix/news.list/.default/style.css?17605651894904 */
