

/* Start:/local/components/bitrix/news.detail/templates/flat/style.css?178773072822571*/
.bx-newsdetail {}
.bx-newsdetail-block {
	padding: 0 14px;
	margin-bottom: 40px;
}
@media (min-width: 992px) {
	.bx-newsdetail .bx-newsdetail-container:nth-child(3n+1) {
		clear: both;
	}
}
@media (min-width: 768px) and (max-width: 991px) {
	.bx-newsdetail .bx-newsdetail-container:nth-child(2n+1) {
		clear: both;
	}
}
/* POST FORMATS */
.bx-newsdetail-img,
.bx-newsdetail-audio,
.bx-newsdetail-youtube,
.bx-newsdetail-slider {
	position: relative;
	text-align: center;
	margin-bottom: 20px;
}
.bx-newsdetail-slider img,
.bx-newsdetail-img img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 100%;
}
.bx-newsdetail-video {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	opacity: 0.7;
	z-index: 1;
	-webkit-transition: opacity .3s ease;
	   -moz-transition: opacity .3s ease;
	    -ms-transition: opacity .3s ease;
	     -o-transition: opacity .3s ease;
	        transition: opacity .3s ease;
	background: url("/local/components/bitrix/news.detail/templates/flat/images/bx-video.png") no-repeat center;
}
.bx-newsdetail-video:hover {
	opacity: 1;
}
/* POST FORMATS /// SLIDER */
.bx-newsdetail-slider {
	width: 100%;
	height: 0;
	padding-bottom: 56.25%;
	overflow: hidden;
}
.bx-newsdetail-slider-container {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
}
.bx-newsdetail-slider-slide {
	float: left;
	z-index: 100;
}
.bx-newsdetail-slider-arrow-container-left,
.bx-newsdetail-slider-arrow-container-right {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 15%;
	cursor: pointer;
}
.bx-newsdetail-slider-arrow-container-left {
	left: 0;
}
.bx-newsdetail-slider-arrow-container-right {
	right: 0;
}
.bx-newsdetail-slider-arrow {
	position: absolute;
	line-height: 34px;
	vertical-align: middle;
	color: #fff;
	cursor: pointer;
	font-size: 48px;
	height: 48px;
	width: 20px;
	top: 50%;
	margin-top: -24px;
	z-index: 110;
	opacity: .5;
	text-shadow:0 0 2px rgba(0,0,0,.5);
}
.bx-newsdetail-slider-arrow-container-left:hover .bx-newsdetail-slider-arrow,
.bx-newsdetail-slider-arrow-container-right:hover .bx-newsdetail-slider-arrow {
	color: #FFF;
	display: block;
	opacity: 1;
}
.bx-newsdetail-slider-arrow-container-left .bx-newsdetail-slider-arrow {
	left: 20px;
}
.bx-newsdetail-slider-arrow-container-right .bx-newsdetail-slider-arrow {
	right: 20px;
}
.bx-newsdetail-slider-control {
	margin: 0;
	padding: 0;
	position: absolute;
	width: 100%;
	bottom: 10px;
	z-index: 110;
	text-align: center;
	word-spacing: -4px;
}
.bx-newsdetail-slider-control li {
	display: inline-block;
	border-radius: 50%;
	background: #fff;
	width: 10px;
	height: 10px;
	word-spacing: -4px;
	margin: 0 3px;
	opacity: .5;
}
.bx-newsdetail-slider-control li:hover,
.bx-newsdetail-slider-control li.current {
	background: #FFF;
	opacity: 1;
}
.bx-newsdetail-slider-arrow,
.bx-newsdetail-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;
}
/* /// */
.bx-newsdetail-title,
.bx-newsdetail-title a {
	color: #000;
	margin: 0;
	padding: 2px 0 15px;
	font-size: 18px;
	border-bottom: none;
	font-family: var(--ui-font-family-secondary, var(--ui-font-family-open-sans));
	font-weight: var(--ui-font-weight-semi-bold, 600);
}
.bx-newsdetail-title a:hover {
	text-decoration: none;
	border-bottom-color: transparent;
}
.bx-lg .bx-newsdetail-title {
	font-size: 24pt;
}
.bx-md .bx-newsdetail-title {
	font-size: 20pt;
}
.bx-xs .bx-newsdetail-title {
	font-size: 18pt;
}
.bx-newsdetail-separator,
.bx-newsdetail-view,
.bx-newsdetail-date,
.bx-newsdetail-comments,
.bx-newsdetail-author,
.bx-newsdetail-other {
	color: #a4a4a4;
	font-size: 13px;
	padding-bottom: 5px;
	white-space: nowrap;
}
.bx-newsdetail-rating,
.bx-newsdetail-separator,
.bx-newsdetail-date{
	display: inline-block;
}
.bx-newsdetail-separator {
	margin: 0 10px;
}
.bx-newsdetail-view i.fa,
.bx-newsdetail-date i.fa,
.bx-newsdetail-comments i.fa,
.bx-newsdetail-author i.fa,
.bx-newsdetail-tags i.fa,
.bx-newsdetail-other i.fa {
	width: 13px;
	color: #b4b4b4;
}
.bx-newsdetail-tags {
	color: #a4a4a4;
	font-size: 13px;
	padding-bottom: 5px;
}
.bx-newsdetail-content {
	font-size: 14px;
	margin-bottom: 5px;
}






























































/* ============================================================ */
/* TECH NEWS DETAIL — анимированная градиентная рамка (CSS-only) */
/* Вращающийся conic-gradient = эффект сканера                   */
/* ============================================================ */

.bx-newsdetail {
    font-family: 'Montserrat', sans-serif;
    position: relative;
    padding: 40px 0 80px;
}

/* === БЛОК: контейнер === */
.bx-newsdetail .bx-newsdetail-block {
    position: relative;
    padding: 60px 70px 50px;
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, .05);
    overflow: hidden;
    isolation: isolate;
}

/* === СЛОЙ 1: вращающийся градиентный «сканер» === */
.bx-newsdetail .bx-newsdetail-block::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: conic-gradient(
        from 0deg,
        #E11F2B 0deg,
        #FF6B7A 60deg,
        #FFFFFF 120deg,
        rgba(255, 255, 255, 0) 180deg,
        #FFFFFF 240deg,
        #FF6B7A 300deg,
        #E11F2B 360deg
    );
    transform: translate(-50%, -50%);
    z-index: 0;
    animation: techBorderSpin 8s linear infinite;
    opacity: 0.85;
}

@keyframes techBorderSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* === СЛОЙ 2: белый внутренний фон === */
.bx-newsdetail .bx-newsdetail-block::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: #FFFFFF;
    border-radius: 18px;
    z-index: 1;
    pointer-events: none;
}

/* === Контент поверх слоёв + появление === */
.bx-newsdetail .bx-newsdetail-block > * {
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    animation: detailFadeIn .7s cubic-bezier(.2, .8, .2, 1) forwards;
}

@keyframes detailFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

/* Каскадные задержки */
.bx-newsdetail .bx-newsdetail-block > *:nth-child(1) { animation-delay: .1s; }
.bx-newsdetail .bx-newsdetail-block > *:nth-child(2) { animation-delay: .25s; }
.bx-newsdetail .bx-newsdetail-block > *:nth-child(3) { animation-delay: .4s; }
.bx-newsdetail .bx-newsdetail-block > *:nth-child(4) { animation-delay: .5s; }
.bx-newsdetail .bx-newsdetail-block > *:nth-child(5) { animation-delay: .6s; }
.bx-newsdetail .bx-newsdetail-block > *:nth-child(6) { animation-delay: .7s; }
.bx-newsdetail .bx-newsdetail-block > *:nth-child(n+7) { animation-delay: .8s; }

/* === МЕДИА-БЛОКИ === */
.bx-newsdetail .bx-newsdetail-img,
.bx-newsdetail .bx-newsdetail-youtube,
.bx-newsdetail .bx-newsdetail-audio,
.bx-newsdetail .bx-newsdetail-slider {
    position: relative;
    z-index: 2;
    margin: 0 0 40px;
    padding-bottom: 0 !important;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    text-align: center;
}

.bx-newsdetail .bx-newsdetail-youtube,
.bx-newsdetail .bx-newsdetail-audio,
.bx-newsdetail .bx-newsdetail-slider {
    height: 460px;
    background: #F7F8F9;
}

/* Картинка — центрированная, без растяжения и фона */
.bx-newsdetail .bx-newsdetail-img {
    height: auto;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bx-newsdetail .bx-newsdetail-img img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 520px !important;
    object-fit: contain !important;
    display: block;
    margin: 0 auto;
}

.bx-newsdetail .bx-newsdetail-slider-slide img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    display: block;
}

.bx-newsdetail .bx-newsdetail-youtube iframe,
.bx-newsdetail .bx-newsdetail-audio iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

.bx-newsdetail .bx-newsdetail-audio {
    height: 166px;
}

/* === ЗАГОЛОВОК С ВЕРТИКАЛЬНЫМ МАРКЕРОМ === */
.bx-newsdetail .bx-newsdetail-title {
    position: relative;
    padding: 0 0 28px 44px;
    margin: 0 0 32px;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 42px !important;
    line-height: 52px !important;
    font-weight: 600 !important;
    color: #1F1F1F !important;
    letter-spacing: -.5px;
    border: 0 !important;
}

.bx-newsdetail .bx-newsdetail-title::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 0;
    width: 4px;
    height: 0;
    background: #E11F2B;
    border-radius: 2px;
    animation: markerDraw .8s cubic-bezier(.4, 0, .2, 1) .5s forwards;
}

@keyframes markerDraw {
    to { height: calc(100% - 44px); }
}

.bx-newsdetail .bx-newsdetail-title::after {
    content: '';
    position: absolute;
    top: 8px;
    left: -3px;
    width: 10px;
    height: 10px;
    background: #E11F2B;
    border-radius: 50%;
    opacity: 0;
    animation: markerDot .4s ease-out 1.2s forwards;
}

@keyframes markerDot {
    from { opacity: 0; transform: scale(0); }
    to   { opacity: 1; transform: scale(1); }
}

/* === КОНТЕНТ === */
.bx-newsdetail .bx-newsdetail-content {
    position: relative;
    padding: 0 0 0 44px;
    margin: 0 0 40px;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 16px !important;
    line-height: 28px !important;
    color: #4A4A4A;
}

.bx-newsdetail .bx-newsdetail-content p {
    margin-bottom: 18px;
}

.bx-newsdetail .bx-newsdetail-content a {
    color: #E11F2B;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.bx-newsdetail .bx-newsdetail-content a:hover {
    opacity: .75;
}

/* === МЕТА-ИНФОРМАЦИЯ === */
.bx-newsdetail .bx-newsdetail-view,
.bx-newsdetail .bx-newsdetail-date,
.bx-newsdetail .bx-newsdetail-tags,
.bx-newsdetail .bx-newsdetail-author,
.bx-newsdetail .bx-newsdetail-comments,
.bx-newsdetail .bx-newsdetail-other {
    position: relative;
    padding: 6px 0 6px 44px !important;
    margin: 0 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    line-height: 22px !important;
    color: #777777 !important;
    white-space: normal !important;
}

.bx-newsdetail .bx-newsdetail-view i.fa,
.bx-newsdetail .bx-newsdetail-date i.fa,
.bx-newsdetail .bx-newsdetail-tags i.fa,
.bx-newsdetail .bx-newsdetail-author i.fa,
.bx-newsdetail .bx-newsdetail-comments i.fa,
.bx-newsdetail .bx-newsdetail-other i.fa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px !important;
    height: 26px;
    margin-right: 12px;
    margin-left: -36px;
    font-size: 12px !important;
    color: #E11F2B !important;
    background: rgba(225, 31, 43, .08);
    border: 1px solid rgba(225, 31, 43, .15);
    border-radius: 50%;
    transition: all .3s ease;
    vertical-align: middle;
}

.bx-newsdetail .bx-newsdetail-view:hover i.fa,
.bx-newsdetail .bx-newsdetail-date:hover i.fa,
.bx-newsdetail .bx-newsdetail-tags:hover i.fa,
.bx-newsdetail .bx-newsdetail-author:hover i.fa,
.bx-newsdetail .bx-newsdetail-comments:hover i.fa {
    background: #E11F2B;
    color: #FFFFFF !important;
}

.bx-newsdetail .bx-newsdetail-other i.fa:empty,
.bx-newsdetail .bx-newsdetail-other i.fa[class="fa"] {
    display: none;
}

/* === СЛАЙДЕР === */
.bx-newsdetail .bx-newsdetail-slider {
    position: relative;
    height: 460px;
}

.bx-newsdetail .bx-newsdetail-slider-container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
}

.bx-newsdetail .bx-newsdetail-slider-slide {
    float: left;
    height: 100%;
    z-index: 1;
}

.bx-newsdetail .bx-newsdetail-slider-arrow-container-left,
.bx-newsdetail .bx-newsdetail-slider-arrow-container-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20%;
    cursor: pointer;
    z-index: 10;
}

.bx-newsdetail .bx-newsdetail-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .95);
    color: #E11F2B !important;
    font-size: 22px !important;
    line-height: 48px !important;
    text-align: center;
    opacity: 0;
    transition: all .35s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
    margin-top: 0 !important;
    text-shadow: none !important;
    border: 1px solid rgba(225, 31, 43, .15);
}

.bx-newsdetail .bx-newsdetail-slider-arrow-container-left .bx-newsdetail-slider-arrow {
    left: 20px;
}

.bx-newsdetail .bx-newsdetail-slider-arrow-container-right .bx-newsdetail-slider-arrow {
    right: 20px;
}

.bx-newsdetail .bx-newsdetail-slider-arrow-container-left:hover .bx-newsdetail-slider-arrow,
.bx-newsdetail .bx-newsdetail-slider-arrow-container-right:hover .bx-newsdetail-slider-arrow {
    opacity: 1;
    background: #E11F2B;
    color: #FFFFFF !important;
    border-color: #E11F2B;
}

.bx-newsdetail .bx-newsdetail-slider-control {
    position: absolute;
    left: 0;
    bottom: 16px;
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
    z-index: 10;
    list-style: none;
}

.bx-newsdetail .bx-newsdetail-slider-control li {
    display: inline-block;
    width: 28px !important;
    height: 3px !important;
    margin: 0 3px !important;
    border-radius: 2px;
    background: #FFFFFF;
    opacity: .5;
    cursor: pointer;
    transition: all .3s ease;
}

.bx-newsdetail .bx-newsdetail-slider-control li:hover,
.bx-newsdetail .bx-newsdetail-slider-control li.current {
    background: #E11F2B;
    opacity: 1;
    width: 44px !important;
}

/* === РАЗДЕЛИТЕЛЬ И РЕЙТИНГ === */
.bx-newsdetail .bx-newsdetail-separator {
    display: none;
}

.bx-newsdetail .bx-newsdetail-rating {
    padding: 20px 0 20px 44px !important;
}

.bx-newsdetail .bx-newsdetail-rating .bx-rating,
.bx-newsdetail .bx-newsdetail-rating .bx-vote-star {
    color: #E11F2B !important;
}

/* === КНОПКА «ВОЗВРАТ К СПИСКУ» === */
.bx-newsdetail p a[href*="news"] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #E11F2B;
    background: transparent;
    border: 1.5px solid #E11F2B;
    border-radius: 30px;
    text-decoration: none;
    transition: all .35s ease;
    letter-spacing: .3px;
    margin-top: 30px;
}

.bx-newsdetail p a[href*="news"]::before {
    content: '←';
    transition: transform .35s ease;
}

.bx-newsdetail p a[href*="news"]:hover {
    background: #E11F2B;
    color: #FFFFFF;
    box-shadow: 0 10px 25px rgba(225, 31, 43, .28);
}

.bx-newsdetail p a[href*="news"]:hover::before {
    transform: translateX(-4px);
}

/* === АДАПТИВНОСТЬ === */
@media (max-width: 991.98px) {
    .bx-newsdetail .bx-newsdetail-block {
        padding: 45px 40px 40px;
    }

    .bx-newsdetail .bx-newsdetail-youtube,
    .bx-newsdetail .bx-newsdetail-slider {
        height: 380px;
    }

    .bx-newsdetail .bx-newsdetail-title {
        font-size: 32px !important;
        line-height: 42px !important;
        padding-left: 34px;
    }

    .bx-newsdetail .bx-newsdetail-content {
        padding-left: 34px;
    }

    .bx-newsdetail .bx-newsdetail-view,
    .bx-newsdetail .bx-newsdetail-date,
    .bx-newsdetail .bx-newsdetail-tags,
    .bx-newsdetail .bx-newsdetail-author,
    .bx-newsdetail .bx-newsdetail-comments,
    .bx-newsdetail .bx-newsdetail-other {
        padding-left: 34px !important;
    }

    .bx-newsdetail .bx-newsdetail-view i.fa,
    .bx-newsdetail .bx-newsdetail-date i.fa,
    .bx-newsdetail .bx-newsdetail-tags i.fa,
    .bx-newsdetail .bx-newsdetail-author i.fa,
    .bx-newsdetail .bx-newsdetail-comments i.fa {
        margin-left: -30px;
    }
}

@media (max-width: 767.98px) {
    .bx-newsdetail {
        padding: 20px 0 50px;
    }

    .bx-newsdetail .bx-newsdetail-block {
        padding: 35px 28px 32px;
        border-radius: 14px;
    }

    .bx-newsdetail .bx-newsdetail-block::after {
        border-radius: 12px;
    }

    .bx-newsdetail .bx-newsdetail-youtube,
    .bx-newsdetail .bx-newsdetail-slider {
        height: 280px;
        margin-bottom: 28px;
    }

    .bx-newsdetail .bx-newsdetail-title {
        font-size: 26px !important;
        line-height: 34px !important;
        padding-left: 28px;
        padding-bottom: 20px;
        margin-bottom: 22px;
    }

    .bx-newsdetail .bx-newsdetail-title::before {
        width: 3px;
    }

    .bx-newsdetail .bx-newsdetail-title::after {
        left: -3px;
        width: 9px;
        height: 9px;
    }

    .bx-newsdetail .bx-newsdetail-content {
        padding-left: 28px;
        font-size: 15px !important;
        line-height: 25px !important;
    }

    .bx-newsdetail .bx-newsdetail-view,
    .bx-newsdetail .bx-newsdetail-date,
    .bx-newsdetail .bx-newsdetail-tags,
    .bx-newsdetail .bx-newsdetail-author,
    .bx-newsdetail .bx-newsdetail-comments,
    .bx-newsdetail .bx-newsdetail-other {
        padding-left: 28px !important;
        font-size: 13px !important;
    }

    .bx-newsdetail .bx-newsdetail-view i.fa,
    .bx-newsdetail .bx-newsdetail-date i.fa,
    .bx-newsdetail .bx-newsdetail-tags i.fa,
    .bx-newsdetail .bx-newsdetail-author i.fa,
    .bx-newsdetail .bx-newsdetail-comments i.fa {
        margin-left: -26px;
        width: 22px !important;
        height: 22px;
    }

    .bx-newsdetail .bx-newsdetail-slider-arrow {
        width: 40px !important;
        height: 40px;
        line-height: 40px !important;
    }
}

@media (max-width: 575.98px) {
    .bx-newsdetail .bx-newsdetail-block {
        padding: 28px 20px 26px;
    }

    .bx-newsdetail .bx-newsdetail-youtube,
    .bx-newsdetail .bx-newsdetail-slider {
        height: 220px;
        margin: 0 -20px 24px;
        width: calc(100% + 40px);
        border-radius: 0;
    }

    .bx-newsdetail .bx-newsdetail-title {
        font-size: 22px !important;
        line-height: 30px !important;
        padding-left: 22px;
    }

    .bx-newsdetail .bx-newsdetail-content {
        padding-left: 22px;
        font-size: 14px !important;
        line-height: 23px !important;
    }

    .bx-newsdetail .bx-newsdetail-view,
    .bx-newsdetail .bx-newsdetail-date,
    .bx-newsdetail .bx-newsdetail-tags,
    .bx-newsdetail .bx-newsdetail-author,
    .bx-newsdetail .bx-newsdetail-comments,
    .bx-newsdetail .bx-newsdetail-other {
        padding-left: 22px !important;
    }

    .bx-newsdetail .bx-newsdetail-view i.fa,
    .bx-newsdetail .bx-newsdetail-date i.fa,
    .bx-newsdetail .bx-newsdetail-tags i.fa,
    .bx-newsdetail .bx-newsdetail-author i.fa,
    .bx-newsdetail .bx-newsdetail-comments i.fa {
        margin-left: -22px;
    }
}


/* ===================================================== */
/* КНОПКА «ВОЗВРАТ К СПИСКУ» В ДЕТАЛЬНОЙ НОВОСТИ        */
/* ===================================================== */

/* Отступ для абзаца с кнопкой */
.container.my-5 .bx-newsdetail ~ p:last-of-type,
.container.my-5 > p:has(a[href*="/news/index.php"]) {
  margin: 0 0 0;
}

/* Сама кнопка */
.container.my-5 .bx-newsdetail ~ p > a[href*="/news/index.php"],
.container.my-5 > p > a[href*="/news/index.php"],
.container.my-5 p a[href*="/news/index.php"] {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  padding: 12px 28px !important;
  background: transparent !important;
  border: 1.5px solid #E11F2B !important;
  border-radius: 30px !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  font-weight: 600 !important;
  color: #E11F2B !important;
  letter-spacing: 0.3px;
  text-decoration: none !important;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.35s ease !important;
}

/* Стрелка слева */
.container.my-5 .bx-newsdetail ~ p > a[href*="/news/index.php"]::before,
.container.my-5 > p > a[href*="/news/index.php"]::before,
.container.my-5 p a[href*="/news/index.php"]::before {
  content: '←';
  display: inline-block;
  font-size: 16px;
  line-height: 1;
  transform: translateY(-1px);
  transition: transform 0.35s ease;
}

/* Ховер */
.container.my-5 .bx-newsdetail ~ p > a[href*="/news/index.php"]:hover,
.container.my-5 > p > a[href*="/news/index.php"]:hover,
.container.my-5 p a[href*="/news/index.php"]:hover {
  background: #E11F2B !important;
  border-color: #E11F2B !important;
  color: #FFFFFF !important;
  box-shadow: 0 10px 25px rgba(225, 31, 43, 0.28) !important;
  transform: translateY(-2px);
}

/* Анимация стрелки при ховере */
.container.my-5 .bx-newsdetail ~ p > a[href*="/news/index.php"]:hover::before,
.container.my-5 > p > a[href*="/news/index.php"]:hover::before,
.container.my-5 p a[href*="/news/index.php"]:hover::before {
  transform: translateX(-4px);
}

/* Фокус для доступности */
.container.my-5 .bx-newsdetail ~ p > a[href*="/news/index.php"]:focus-visible,
.container.my-5 > p > a[href*="/news/index.php"]:focus-visible,
.container.my-5 p a[href*="/news/index.php"]:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 4px rgba(225, 31, 43, 0.18) !important;
}

/* Активное состояние */
.container.my-5 .bx-newsdetail ~ p > a[href*="/news/index.php"]:active,
.container.my-5 > p > a[href*="/news/index.php"]:active,
.container.my-5 p a[href*="/news/index.php"]:active {
  transform: translateY(0);
}

/* Мобильная версия */
@media (max-width: 575.98px) {
  .container.my-5 .bx-newsdetail ~ p > a[href*="/news/index.php"],
  .container.my-5 > p > a[href*="/news/index.php"],
  .container.my-5 p a[href*="/news/index.php"] {
    padding: 10px 22px !important;
    font-size: 13px !important;
  }

  .container.my-5 .bx-newsdetail ~ p:last-of-type,
  .container.my-5 > p:has(a[href*="/news/index.php"]) {
    margin-top: 24px;
  }
}
/* End */
/* /local/components/bitrix/news.detail/templates/flat/style.css?178773072822571 */
