

/* Start:/local/templates/coffe/components/bitrix/news.detail/bootstrap_v4_video/style.css?17812430899057*/
.news-detail { }

/*region POST FORMATS */
.news-detail-img,
.news-detail-audio,
.news-detail-video,
.news-detail-slider {
	position: relative;
	margin-bottom: 20px;
	text-align: center;
}

.news-detail-slider img,
.news-detail-img img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
}

.news-detail-video {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	display: block;
	background: url(/local/templates/coffe/components/bitrix/news.detail/bootstrap_v4_video/images/bx-video.png) no-repeat center;
	opacity: 0.7;
	transition: opacity .3s ease;
}

.news-detail-video:hover {
	opacity: 1;
}

/*region POST FORMATS /// SLIDER */
.news-detail-slider {
	overflow: hidden;
	padding-bottom: 56.25%;
	width: 100%;
	height: 0;
}

.news-detail-slider-container {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
}

.news-detail-slider-slide {
	z-index: 100;
	float: left;
}

.news-detail-slider-arrow-container-left,
.news-detail-slider-arrow-container-right {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 15%;
	cursor: pointer;
}

.news-detail-slider-arrow-container-left {
	left: 0;
}

.news-detail-slider-arrow-container-right {
	right: 0;
}

.news-detail-slider-arrow {
	position: absolute;
	top: 50%;
	z-index: 110;
	margin-top: -24px;
	width: 20px;
	height: 48px;
	color: #fff;
	vertical-align: middle;
	text-shadow: 0 0 2px rgba(0, 0, 0, .5);
	font-size: 48px;
	line-height: 34px;
	opacity: .5;
	cursor: pointer;
}

.news-detail-slider-arrow-container-left:hover .news-detail-slider-arrow,
.news-detail-slider-arrow-container-right:hover .news-detail-slider-arrow {
	display: block;
	color: #fff;
	opacity: 1;
}

.news-detail-slider-arrow-container-left .news-detail-slider-arrow {
	left: 20px;
}

.news-detail-slider-arrow-container-right .news-detail-slider-arrow {
	right: 20px;
}

.news-detail-slider-control {
	position: absolute;
	bottom: 10px;
	z-index: 110;
	margin: 0;
	padding: 0;
	width: 100%;
	text-align: center;
	word-spacing: -4px;
}

.news-detail-slider-control li {
	display: inline-block;
	margin: 0 3px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #fff;
	word-spacing: -4px;
	opacity: .5;
}

.news-detail-slider-control li:hover,
.news-detail-slider-control li.current {
	background: #fff;
	opacity: 1;
}

.news-detail-slider-arrow,
.news-detail-slider-control li {
	-webkit-transition: opacity .3s ease;
	-moz-transition: opacity .3s ease;
	-ms-transition: opacity .3s ease;
	-o-transition: opacity .3s ease;
	transition: opacity .3s ease;
}

/* endregion */

.news-detail-body {}

.news-detail-title,
.news-detail-title a {
	margin: 0;
	padding: 2px 0 15px;
	border-bottom: none;
	color: #000;
	font-size: 18px;
	font-family: var(--ui-font-family-secondary, var(--ui-font-family-open-sans));
	font-weight: var(--ui-font-weight-semi-bold, 600);
}

.news-detail .card-title a:hover {
	border-bottom-color: transparent;
	text-decoration: none;
}

.news-detail-view,
.news-detail-date,
.news-detail-comments,
.news-detail-author,
.news-detail-other {
	padding-bottom: 5px;
	color: #a4a4a4;
	white-space: nowrap;
	font-size: 13px;
}

.news-detail-view i.fa,
.news-detail-date i.fa,
.news-detail-comments i.fa,
.news-detail-author i.fa,
.news-detail-tags i.fa,
.news-detail-other i.fa {
	width: 13px;
	color: #b4b4b4;
}

.news-detail-tags {
	padding-bottom: 5px;
	color: #a4a4a4;
	font-size: 13px;
}

.news-detail-content {
	margin-bottom: 5px;
	font-size: 14px;
}

 .yt-comment-container {
            display: flex;
            gap: 16px;
            max-width: 100%;
            background-color: #ffffff;
            padding: 16px;
            border-radius: 8px;
        }

       
.yt-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: #f27025;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 500;
            font-size: 16px;
            flex-shrink: 0;
            user-select: none;
}

.yt-comment-box {
            flex-grow: 1;
            display: flex;
            flex-direction: column;
}

.yt-comment-input {
            width: 100%;
            border: none;
            border-bottom: 1px solid #e5e5e5;
            font-size: 14px;
            line-height: 20px;
            padding-bottom: 4px;
            outline: none;
            resize: none;
            background: transparent;
            color: #0f0f0f;
            font-family: inherit;
            transition: border-color 0.2s ease;
}

.yt-comment-input:focus {
            border-bottom: 2px solid #0f0f0f;
            padding-bottom: 3px; 
}

.yt-action-buttons {
            display: none;
            justify-content: flex-end;
            gap: 8px;
            margin-top: 8px;
}


.yt-btn {
            font-family: inherit;
            font-size: 14px;
            font-weight: 500;
            border: none;
            border-radius: 18px;
            padding: 0 16px;
            height: 36px;
            cursor: pointer;
            transition: background-color 0.2s ease;
        }

.yt-btn-cancel {
            background-color: transparent;
            color: #0f0f0f;
}

.yt-btn-cancel:hover {
            background-color: rgba(0, 0, 0, 0.05);
}


.yt-btn-submit {
            background-color: #f27025;
            color: white;
}

.yt-btn-submit:hover {
            background-color: #d66a2b;
}

        
.yt-comment-box.active .yt-action-buttons {
            display: flex;
}

.yt-comments-list {
            max-width: 100%;
            margin-top: 24px;
            display: flex;
            flex-direction: column;
            gap: 20px;
            background-color: #ffffff;
            padding: 16px;
            border-radius: 8px;
        }

.yt-comment-item {
            display: flex;
            gap: 16px;
}


.yt-comment-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 500;
            font-size: 16px;
            flex-shrink: 0;
            user-select: none;
}

.yt-comment-content {
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            gap: 4px;
}


.yt-comment-header {
            display: flex;
            align-items: center;
            gap: 8px;
        }

.yt-comment-author {
            font-size: 13px;
            font-weight: 500;
            color: #0f0f0f;
            cursor: pointer;
}

.yt-comment-author.author-owner {
            background-color: #888888;
            color: white;
            padding: 2px 6px;
            border-radius: 12px;
            font-size: 12px;
}

.yt-comment-time {
            font-size: 12px;
            color: #606060;
}


.yt-comment-text {
            font-size: 14px;
            line-height: 20px;
            color: #0f0f0f;
}

.yt-comment-actions {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-top: 4px;
}

.yt-action-btn {
            background: transparent;
            border: none;
            cursor: pointer;
            font-size: 13px;
            padding: 4px 8px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            gap: 4px;
            color: #0f0f0f;
            transition: background-color 0.1s;
}

.yt-action-btn:hover {
            background-color: rgba(0, 0, 0, 0.05);
}

.yt-likes-count {
            font-size: 12px;
            color: #606060;
}

.yt-reply-link {
            background: transparent;
            border: none;
            font-size: 12px;
            font-weight: 500;
            color: #0f0f0f;
            cursor: pointer;
            padding: 4px 12px;
            border-radius: 12px;
}

.yt-reply-link:hover {
            background-color: rgba(0, 0, 0, 0.05);
}

.yt-replies-toggle {
            font-size: 14px;
            font-weight: 500;
            color: #065fd4;
            cursor: pointer;
            margin-top: 6px;
            display: inline-block;
            width: max-content;
            padding: 4px 8px;
            border-radius: 12px;
}

.yt-replies-toggle:hover {
            background-color: #def0ff;
}

.yt-guest-fields {
    display: none; /* По умолчанию скрыты, показываем при фокусе */
    gap: 12px;
    margin-bottom: 12px;
}

.yt-guest-input {
    flex: 1;
    border: none;
    border-bottom: 1px solid #e5e5e5;
    font-size: 14px;
    padding: 6px 0;
    outline: none;
    color: #0f0f0f;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.yt-guest-input:focus {
    border-bottom: 2px solid #f27025; 
}

.yt-comment-box.active .yt-guest-fields {
    display: flex;
}

.title-comment-video{
    margin: 0 0 16px 0;
    font-size: 18px;
    font-weight: 500;
    text-align: left;
}

@media(max-width:768px){

    .yt-comment-box.active .yt-guest-fields{
       flex-direction: column;
    }

}


/* End */
/* /local/templates/coffe/components/bitrix/news.detail/bootstrap_v4_video/style.css?17812430899057 */
