

/* Start:/local/templates/intrasevice/components/bitrix/news/case/style.css?178775400616686*/
/* ============================================================
   /case/ — раздел «Кейсы»: список сценариев и детальные страницы.
   Один язык с главной и /capabilities/: холодная светлая полоса-шапка,
   белые карточки 20px с мягкой тенью, градиентный акцент #9E0EC1 → #d22bbf.

   Файл — style.css шаблона комплексного компонента bitrix:news, поэтому
   подключается и на списке, и на детальной, и только в этом разделе.
   Грузится ДО template style.css, из-за этого селекторы, спорящие со
   старыми правилами (.content p, .header-v2 h1, .scenario .container),
   намеренно взяты весом выше — через двойной класс на секции.
   Маркер: INTRA-MODERN-CASE-2026
   ============================================================ */

/* ============================================================
   Шапка: общая полоса для списка и детальной
   ============================================================ */
section.header.case-hero,
.header-v2.case-detail-hero {
	margin-top: 34px;
	margin-bottom: 0;
	text-align: left;
}
.case-hero__band {
	position: relative;
	overflow: hidden;
	border-radius: 26px;
	padding: clamp(34px, 4.4vw, 58px) clamp(22px, 4vw, 60px);
	background: linear-gradient(135deg, #fafaff 0%, #f4f4fb 52%, #edecf7 100%);
	box-shadow: 0 12px 34px rgba(106, 43, 196, .07);
	text-align: center;
}
.case-hero__band--detail { text-align: left; }
/* мягкие световые пятна по углам */
.case-hero__band::before,
.case-hero__band::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}
.case-hero__band::before {
	right: -90px;
	top: -130px;
	width: 340px;
	height: 340px;
	background: radial-gradient(circle, rgba(106, 43, 196, .10) 0%, rgba(106, 43, 196, 0) 68%);
}
.case-hero__band::after {
	left: -80px;
	bottom: -150px;
	width: 320px;
	height: 320px;
	background: radial-gradient(circle, rgba(106, 43, 196, .07) 0%, rgba(106, 43, 196, 0) 70%);
}

.header.case-hero h1,
.header-v2.case-detail-hero h1 {
	position: relative;
	z-index: 1;
	margin: 0;
	padding: 0;
	font-size: clamp(28px, 3.8vw, 44px);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -.02em;
	color: #1b1726;
}
/* старые мобильные правила центрируют .header-v2 h1 и .content h2 —
   в разделе держим их по левому краю, иначе акцентная полоса уезжает от текста */
.header-v2.case-detail-hero h1 { text-align: left; }
.header.case-hero h1 strong {
	font-weight: 800;
	background: linear-gradient(135deg, #9E0EC1, #d22bbf);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: #9E0EC1;
}
.header.case-hero h1::after,
.header-v2.case-detail-hero h1::after {
	content: "";
	display: block;
	width: 64px;
	height: 4px;
	border-radius: 3px;
	margin: 18px auto 0;
	background: linear-gradient(90deg, #9E0EC1, #d22bbf);
}
.header-v2.case-detail-hero h1::after { margin: 18px 0 0; }

.case-hero__lead {
	position: relative;
	z-index: 1;
	max-width: 760px;
	margin: 20px auto 0;
	font-size: clamp(16px, 1.35vw, 19px);
	line-height: 1.6;
	color: #4b4658;
}

/* «← Все сценарии» на детальной */
.case-detail-hero .case-back {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 18px;
	padding: 7px 17px 7px 13px;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 6px 18px rgba(158, 14, 193, .10);
	font-size: 14px;
	font-weight: 700;
	color: #6a2bc4;
	text-decoration: none;
	transition: color .18s ease, box-shadow .18s ease;
}
.case-detail-hero .case-back::before { content: "\2190"; font-size: 15px; line-height: 1; }
.case-detail-hero .case-back:hover {
	color: #9E0EC1;
	text-decoration: none;
	box-shadow: 0 10px 24px rgba(158, 14, 193, .18);
}

/* ============================================================
   Список сценариев — сетка карточек с номерами
   ============================================================ */
.scenario.case-modern {
	margin-bottom: 0;
	padding: clamp(40px, 4.6vw, 68px) 0 clamp(8px, 1.4vw, 18px);
}
.scenario.case-modern .container { max-width: 1200px; }

.case-modern .case-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 22px;
	margin: 0;
}

.case-card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: auto;
	padding: 28px 28px 24px;
	background: #fff;
	border: none;
	border-radius: 20px;
	box-shadow: 0 8px 24px rgba(24, 12, 34, .06);
	overflow: hidden;
	transition: transform .22s ease, box-shadow .22s ease;
}
.case-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #9E0EC1, #d22bbf);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .3s ease;
	z-index: 2;
}
.case-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(158, 14, 193, .14);
}
.case-card:hover::before { transform: scaleX(1); }

/* номер сценария — как бейджи 01..06 на главной */
.case-card__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: linear-gradient(135deg, #9E0EC1, #d22bbf);
	color: #fff;
	-webkit-text-fill-color: #fff;
	font-size: 18px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.01em;
	box-shadow: 0 6px 16px rgba(158, 14, 193, .25);
}

.case-card__title {
	margin: 18px 0 0;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -.01em;
	color: #241f38;
}
.case-card .case-card__link {
	display: inline;
	height: auto;
	line-height: inherit;
	font-size: inherit;
	font-weight: inherit;
	color: #241f38;
	text-decoration: none;
	transition: color .18s ease;
}
/* растянутая ссылка — кликается вся карточка */
.case-card__link::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
}
.case-card:hover .case-card__link,
.case-card .case-card__link:hover,
.case-card .case-card__link:focus { color: #9E0EC1; text-decoration: none; }

.case-card__text {
	margin: 12px 0 22px;
	font-size: 15px;
	line-height: 1.6;
	color: #5a5666;
}
.case-card__text p { margin: 0 0 10px; }
.case-card__text p:last-child { margin-bottom: 0; }

.case-card__more {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 8px;
	margin-top: auto;
	padding: 10px 19px;
	border-radius: 999px;
	background: rgba(158, 14, 193, .08);
	font-size: 14px;
	font-weight: 700;
	color: #9E0EC1;
	transition: background .18s ease, color .18s ease;
}
.case-card:hover .case-card__more { background: #9E0EC1; color: #fff; }
.case-card__arrow { transition: transform .18s ease; }
.case-card:hover .case-card__arrow { transform: translateX(4px); }

/* ============================================================
   Детальная страница сценария — типографика статьи вместо
   старой вёрстки с жёстким padding-left: 100px
   ============================================================ */
.content.case-detail {
	padding: clamp(30px, 3.4vw, 48px) 0 0;
}
.content.case-detail .container { max-width: 1200px; }

/* колонка чтения: ограничиваем только прямых потомков контейнера,
   чтобы двухколоночная вёрстка кейса про CRM (.row / .col-md-8) осталась во всю ширину */
.content.case-detail > .container > p,
.content.case-detail > .container > ul,
.content.case-detail > .container > ol,
.content.case-detail > .container > h2,
.content.case-detail > .container > h3 { max-width: 880px; }

.content.case-detail p {
	padding-left: 0;
	margin: 0 0 20px;
	font-size: clamp(16px, 1.3vw, 18px);
	line-height: 1.72;
	color: #4b4658;
}
.content.case-detail b,
.content.case-detail strong { color: #241f38; font-weight: 700; }

.content.case-detail h2,
.content.case-detail h3 {
	padding-left: 0;
	font-weight: 800;
	letter-spacing: -.02em;
	text-align: left;
	color: #1b1726;
}
.content.case-detail h2 {
	margin: 46px 0 18px;
	font-size: clamp(22px, 2.4vw, 30px);
	line-height: 1.2;
}
.content.case-detail h3 {
	margin: 34px 0 14px;
	font-size: clamp(19px, 1.9vw, 23px);
	line-height: 1.25;
}
.content.case-detail h2::after {
	content: "";
	display: block;
	width: 48px;
	height: 4px;
	border-radius: 3px;
	margin: 14px 0 0;
	background: linear-gradient(90deg, #9E0EC1, #d22bbf);
}
.content.case-detail > .container > *:first-child { margin-top: 0; }

/* маркированные списки — градиентные точки вместо дисков */
.content.case-detail .container ul {
	list-style: none;
	padding-left: 0;
	margin: 0 0 26px;
	font-size: clamp(16px, 1.3vw, 18px);
	line-height: 1.65;
}
.content.case-detail .container ul li {
	position: relative;
	padding: 0 0 0 26px;
	margin-bottom: 10px;
	line-height: 1.65;
	font-size: inherit;
	color: #4b4658;
}
.content.case-detail .container ul li:last-child { margin-bottom: 0; }
.content.case-detail .container ul li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: .6em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: linear-gradient(135deg, #9E0EC1, #d22bbf);
}
/* вложенные списки — кольцо вместо заливки, чтобы уровень читался */
.content.case-detail .container ul ul,
.content.case-detail .container ol ul {
	margin: 10px 0 0;
	padding-left: 24px;
}
.content.case-detail .container ul ul li::before {
	background: none;
	box-shadow: inset 0 0 0 2px #9E0EC1;
}

/* маркированный список сразу после нумерованного — продолжение последнего пункта,
   поэтому подтягиваем его под текст пунктов, а не под бейджи */
.content.case-detail > .container > ol + ul {
	margin-top: -18px;
	padding-left: 62px;
}

/* нумерованные списки — скруглённые градиентные бейджи */
.content.case-detail ol {
	list-style: none;
	counter-reset: my-counter;
	padding-left: 0;
	margin: 0 0 30px;
}
.content.case-detail ol > li {
	position: relative;
	min-height: 46px;
	margin: 0 0 14px;
	padding: 10px 0 10px 62px;
	font-size: clamp(16px, 1.3vw, 18px);
	line-height: 1.6;
	color: #4b4658;
}
.content.case-detail ol > li:last-child { margin-bottom: 0; }
.content.case-detail ol > li::before {
	content: counter(my-counter);
	counter-increment: my-counter;
	position: absolute;
	left: 0;
	top: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: linear-gradient(135deg, #9E0EC1, #d22bbf);
	color: #fff;
	font-size: 18px;
	font-weight: 800;
	line-height: 1;
	text-align: center;
	box-shadow: 0 6px 16px rgba(158, 14, 193, .25);
}

/* длинные адреса и ссылки в тексте не должны распирать колонку на узких экранах */
.content.case-detail p,
.content.case-detail li,
.content.case-detail a { overflow-wrap: break-word; }

/* ссылки в тексте */
.content.case-detail a {
	color: #9E0EC1;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid rgba(158, 14, 193, .35);
	transition: color .18s ease, border-color .18s ease;
}
.content.case-detail a:hover {
	color: #d22bbf;
	border-bottom-color: #d22bbf;
	text-decoration: none;
}

/* скриншоты — мягкая тень и скругление вместо жёсткой чёрной */
.content.case-detail img {
	max-width: 100%;
	height: auto;
	border-radius: 14px;
	box-shadow: 0 10px 28px rgba(24, 12, 34, .12);
}

/* значок-подсказка «?» — чёткий кружок вместо размытого jpg */
.content.case-detail .hint-icon-q-img {
	position: static;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 17px;
	height: 17px;
	min-height: 0;
	margin: 0 0 0 5px;
	border-radius: 50%;
	background: rgba(158, 14, 193, .12);
	color: #9E0EC1;
	font-style: normal;
	font-weight: 700;
	font-size: 10px;
	line-height: 1;
	vertical-align: middle;
	cursor: help;
	border-bottom: 0;
	transition: background .18s ease;
}
.content.case-detail .hint-icon-q-img > img { display: none; }
.content.case-detail .hint-icon-q-img::before { content: "?"; position: static; }
.content.case-detail .hint-icon-q-img:hover { background: rgba(158, 14, 193, .22); }

/* ============================================================
   Низ детальной — каллаут с CTA
   ============================================================ */
.case-outro {
	padding: clamp(34px, 4vw, 56px) 0 clamp(48px, 5vw, 80px);
}
.case-outro .container { max-width: 1200px; }
.case-outro__card {
	display: flex;
	align-items: center;
	gap: clamp(18px, 2.4vw, 32px);
	padding: clamp(24px, 2.8vw, 34px) clamp(24px, 3vw, 40px);
	border-radius: 24px;
	background: linear-gradient(135deg, #fafaff 0%, #f4f4fb 52%, #edecf7 100%);
	box-shadow: 0 12px 34px rgba(106, 43, 196, .07);
}
.case-outro__body { flex: 1 1 auto; }
.case-outro .case-outro__title {
	margin: 0;
	padding-left: 0;
	font-size: clamp(19px, 1.7vw, 23px);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -.01em;
	color: #241f38;
}
.case-outro .case-outro__text {
	margin: 8px 0 0;
	padding-left: 0;
	font-size: 16px;
	line-height: 1.55;
	color: #5a5666;
}
.case-outro__actions {
	flex: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.case-outro .case-outro__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 236px;
	height: 52px;
	padding: 0 26px;
	border: 0;
	border-radius: 12px;
	font-family: 'Raleway', sans-serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .03em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	transition: transform .2s ease, box-shadow .2s ease, background-color .25s ease, color .25s ease;
}
.case-outro .case-outro__btn--primary {
	background: #9ecb2c;
	color: #22320a;
	box-shadow: 0 8px 20px rgba(144, 204, 13, .30);
}
.case-outro .case-outro__btn--primary:hover {
	background: #a8d834;
	color: #22320a;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 14px 28px rgba(144, 204, 13, .40);
}
.case-outro .case-outro__btn--ghost {
	background: #fff;
	color: #9E0EC1;
	box-shadow: 0 6px 18px rgba(158, 14, 193, .10);
}
.case-outro .case-outro__btn--ghost:hover {
	background: #9E0EC1;
	color: #fff;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 14px 28px rgba(158, 14, 193, .24);
}

/* ============================================================
   Адаптив
   ============================================================ */
@media (max-width: 992px) {
	.case-outro__card {
		flex-direction: column;
		align-items: flex-start;
	}
	.case-outro__actions {
		flex-direction: row;
		flex-wrap: wrap;
		width: 100%;
	}
	.case-outro .case-outro__btn { flex: 1 1 236px; }
}
@media (max-width: 768px) {
	section.header.case-hero,
	.header-v2.case-detail-hero { margin-top: 22px; }
	.scenario.case-modern .container,
	.content.case-detail .container { max-width: 100%; }
	.case-modern .case-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
	.case-card { padding: 24px 22px 20px; }
	.case-card__title { font-size: 18px; margin-top: 16px; }
	.case-card__text { font-size: 14.5px; }
	.content.case-detail ol > li { padding: 8px 0 8px 52px; min-height: 40px; }
	.content.case-detail ol > li::before { width: 40px; height: 40px; border-radius: 12px; font-size: 16px; }
}
@media (max-width: 560px) {
	.case-modern .case-grid { grid-template-columns: 1fr; }
	.case-hero__band { border-radius: 20px; }
	.case-outro__card { border-radius: 20px; }
	.case-outro .case-outro__btn { min-width: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.case-card,
	.case-card::before,
	.case-card__more,
	.case-card__arrow,
	.case-outro .case-outro__btn { transition: none; }
	.case-card:hover { transform: none; }
	.case-outro .case-outro__btn:hover { transform: none; }
}

/* End */


/* Start:/local/templates/intrasevice/components/bitrix/news/case/bitrix/news.list/.default/style.css?1787754006150*/
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;
}

/* End */
/* /local/templates/intrasevice/components/bitrix/news/case/style.css?178775400616686 */
/* /local/templates/intrasevice/components/bitrix/news/case/bitrix/news.list/.default/style.css?1787754006150 */
