/**
 * Блок товара «Новая усиленная H-образная станина — уникальная разработка WEISAN»
 * (block-good-lathe-frame.php). Своя вёрстка (15.11.2026), размеры сняты с прежней:
 *  - фон #ecf0f5; контейнер 1200 / 960 / 640, на телефоне макет 360px,
 *    растянутый по ширине экрана (zoom ставит good-frame.js);
 *  - от 1200 карточки рядом (595 + 10 + 595), уже — друг под другом;
 *  - фото станины в карточке лежит поверх справа снизу, на телефоне — в потоке
 *    между описанием и списком;
 *  - кнопка «Читать больше о различиях станин» ведёт на /new210h; вокруг —
 *    зелёное свечение (размытые на 26px подложки) и стрелки; при наведении на кнопку кнопка, свечение и картинка над ней уменьшаются до 0,98
 *    за 0,1 с — как было;
 *  - межстрочные интервалы в целых px, как округляла Tilda (49, 34, 20, 18…).
 */

.wsn-gfr {
	overflow: hidden;
	background: #ecf0f5;
	font-family: var(--t-text-font, 'Montserrat'), Arial, sans-serif;
	color: #222937;
}

.wsn-gfr * { box-sizing: border-box; }

.wsn-gfr__in {
	position: relative;
	width: 1200px;
	margin-left: calc(50% - 600px);
	padding: 120px 0 135px;
}

/* общий CSS Tilda ставит h2 «text-wrap: pretty» — переносы были бы другие */
.wsn-gfr h2 { text-wrap-style: auto; }

.wsn-gfr__title {
	width: 909px;
	margin: 0;
	font-size: 40px;
	font-weight: 400;
	line-height: 49px;
	letter-spacing: -1.5px;
	color: #222937;
}

.wsn-gfr__title span { font-weight: 500; }

/* ---------- карточки ---------- */

.wsn-gfr__cards {
	display: flex;
	gap: 10px;
	margin-top: 50px;
}

.wsn-gfr__card {
	position: relative;
	width: 595px;
	min-height: 412px;
	padding: 20px 20px 0;
	border-radius: 24px;
	letter-spacing: -.1px;
}

.wsn-gfr__card_old { background: #fff; color: #000; }
.wsn-gfr__card_new { background: #3d93ff; color: #fff; }

.wsn-gfr__ctitle {
	font-size: 24px;
	font-weight: 500;
	line-height: 34px;
}

.wsn-gfr__ctitle span,
.wsn-gfr__lt span,
.wsn-gfr__badge-text span { font-weight: 600; }

.wsn-gfr__card_old .wsn-gfr__ctitle { width: 440px; }
.wsn-gfr__card_new .wsn-gfr__ctitle { width: 291px; }

.wsn-gfr__cdesc {
	width: 395px;
	margin-top: 6px;
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
}

/* у белой карточки тексты с прозрачностью 0,8, а значки-крестики — без неё */
.wsn-gfr__card_old .wsn-gfr__cdesc,
.wsn-gfr__card_old .wsn-gfr__lt { opacity: .8; }

/* «Жёсткость, которой РАНЬШЕ НЕ БЫЛО…» — белый контур-стрелка с прозрачностью 0,3 */
.wsn-gfr__badge {
	position: relative;
	width: 355px;
	margin-top: 25px;
}

.wsn-gfr__badge svg {
	display: block;
	width: 100%;
	height: auto;
	opacity: .3;
}

.wsn-gfr__badge-text {
	position: absolute;
	top: 13px;
	left: 15px;
	width: 303px;
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
}

.wsn-gfr__cimg {
	position: absolute;
	top: 191px;
	left: 343px;
	display: block;
	width: 242px;
	max-width: none;
	height: auto;
}

.wsn-gfr__list {
	position: relative;
	margin: 138px 0 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
}

.wsn-gfr__card_new .wsn-gfr__list { margin-top: 28px; }

.wsn-gfr__list li {
	position: relative;
	margin: 0;
	padding: 0 0 0 27px;
}

.wsn-gfr__list li + li { margin-top: 10px; }

.wsn-gfr__lt { display: block; }

/* ширина подписи у каждого пункта своя — как были переносы */
.wsn-gfr__card_old .wsn-gfr__list li:nth-child(1) { width: 422px; }
.wsn-gfr__card_new .wsn-gfr__list li:nth-child(1) { width: 308px; }
.wsn-gfr__list li:nth-child(2) { width: 267px; }
.wsn-gfr__list li:nth-child(3) { width: 296px; }

.wsn-gfr__list img {
	position: absolute;
	left: 0;
	top: 0;
	display: block;
	width: 19px;
	height: 19px;
}

/* штамп «Запатентовано» поверх карточек */
.wsn-gfr__stamp {
	position: absolute;
	top: 93px;
	left: 953px;
	display: block;
	width: 376px;
	max-width: none;
	height: auto;
}

/* ---------- кнопка со свечением ---------- */

.wsn-gfr__cta {
	position: relative;
	height: 163px;
	margin-top: 20px;
}

.wsn-gfr__cta > * { position: absolute; display: block; }

.wsn-gfr__glow {
	border-radius: 23px;
	background: #5fee88;
	filter: blur(26px);
}

.wsn-gfr__glow_img { top: 15px; left: calc(50% - 91px); width: 183px; height: 118px; }
.wsn-gfr__glow_btn { top: 113px; left: calc(50% - 157px); width: 315px; height: 50px; }

.wsn-gfr__thumb { top: 14px; left: calc(50% - 92px); width: 185px; max-width: none; height: auto; }

.wsn-gfr__arrow { top: 0; width: 97px; max-width: none; height: auto; }
.wsn-gfr__arrow_l { left: calc(50% - 209px); }
.wsn-gfr__arrow_r { left: calc(50% + 112px); }

.wsn-gfr__btn {
	top: 113px;
	left: calc(50% - 157px);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 315px;
	height: 50px;
	border-radius: 30px;
	background: #5fee88;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.55;
	letter-spacing: -.1px;
	color: #222937;
	text-align: center;
	text-decoration: none;
}

.wsn-gfr__btn:hover,
.wsn-gfr__btn:focus { color: #222937; text-decoration: none; }

.wsn-gfr__glow,
.wsn-gfr__thumb,
.wsn-gfr__btn { transition: transform .1s; }

.wsn-gfr__cta:has(.wsn-gfr__btn:hover) .wsn-gfr__glow,
.wsn-gfr__cta:has(.wsn-gfr__btn:hover) .wsn-gfr__thumb,
.wsn-gfr__cta:has(.wsn-gfr__btn:hover) .wsn-gfr__btn { transform: scale(.98); }

/* ---------- 960–1199 ---------- */

@media (max-width: 1199px) {
	.wsn-gfr__in { width: 960px; margin-left: calc(50% - 480px); padding: 120px 20px; }

	.wsn-gfr__title { width: 709px; font-size: 30px; line-height: 37px; letter-spacing: -.5px; }

	.wsn-gfr__cards { flex-direction: column; }
	.wsn-gfr__card { width: auto; }
	/* у правой (синей) карточки текст на 1px выше — так было */
	.wsn-gfr__card_new { padding-top: 19px; }
	.wsn-gfr__card_new .wsn-gfr__list { margin-top: 29px; }

	.wsn-gfr__card_old .wsn-gfr__cimg { top: 81px; left: 512px; width: 363px; }
	.wsn-gfr__card_new .wsn-gfr__cimg { top: 75px; left: 512px; width: 363px; }

	.wsn-gfr__stamp { top: 666px; left: 745px; width: 247px; }

	/* уже 1200 стрелки стоят на 10px выше картинки и кнопки, чем на десктопе */
	.wsn-gfr__cta { height: 173px; margin-top: 10px; }
	.wsn-gfr__thumb { top: 24px; }
	.wsn-gfr__glow_img { top: 25px; }
	.wsn-gfr__glow_btn,
	.wsn-gfr__btn { top: 123px; }
	.wsn-gfr__arrow_l { left: calc(50% - 199px); }
	.wsn-gfr__arrow_r { left: calc(50% + 102px); }
}

/* ---------- 640–959 ---------- */

@media (max-width: 959px) {
	.wsn-gfr__in { width: 640px; margin-left: calc(50% - 320px); }

	.wsn-gfr__title { width: 486px; }
	.wsn-gfr__cards { margin-top: 13px; }

	.wsn-gfr__card_old .wsn-gfr__cimg { top: 181px; left: 342px; width: 250px; }
	.wsn-gfr__card_new .wsn-gfr__cimg { top: 175px; left: 342px; width: 250px; }

	.wsn-gfr__stamp { top: 724px; left: 435px; width: 230px; }

	.wsn-gfr__cta { margin-top: 22px; }
}

/* ---------- уже 640: макет 360px, zoom по ширине экрана ---------- */

@media (max-width: 639px) {
	.wsn-gfr__in { width: 360px; margin-left: 0; padding: 100px 16px; }

	.wsn-gfr__title { width: 298px; font-size: 26px; line-height: 32px; }
	.wsn-gfr__cards { margin-top: 40px; }

	.wsn-gfr__card { min-height: 0; padding: 16px; border-radius: 18px; }
	.wsn-gfr__card_new { padding-bottom: 15px; }

	.wsn-gfr__ctitle { font-size: 20px; line-height: 27px; }
	.wsn-gfr__card_old .wsn-gfr__ctitle { width: 238px; }
	.wsn-gfr__card_new .wsn-gfr__ctitle { width: 262px; }

	.wsn-gfr__cdesc { font-size: 13px; line-height: 18px; }
	.wsn-gfr__card_old .wsn-gfr__cdesc { width: 269px; margin-top: 12px; }
	.wsn-gfr__card_new .wsn-gfr__cdesc { width: 312px; margin-top: 10px; }

	.wsn-gfr__badge { width: 296px; margin-top: 20px; }
	.wsn-gfr__badge-text { top: 10px; left: 12px; width: 256px; font-size: 12px; line-height: 17px; }

	/* фото станины — в потоке между описанием и списком */
	.wsn-gfr__card .wsn-gfr__cimg { position: static; width: 200px; margin-left: 48px; }
	.wsn-gfr__card_old .wsn-gfr__cimg { margin-top: 20px; }
	.wsn-gfr__card_new .wsn-gfr__cimg { margin-top: 18.9px; }

	.wsn-gfr__list { font-size: 13px; line-height: 18px; }
	.wsn-gfr__card_old .wsn-gfr__list { margin-top: 7.4px; }
	.wsn-gfr__card_new .wsn-gfr__list { margin-top: 13.6px; }

	.wsn-gfr__stamp { top: 938px; left: 228px; width: 153px; }

	.wsn-gfr__cta { margin-top: 6px; }
	.wsn-gfr__glow_img { left: calc(50% - 90px); }
	.wsn-gfr__glow_btn,
	.wsn-gfr__btn { left: calc(50% - 142px); width: 285px; }
	.wsn-gfr__btn { font-size: 13px; }
	.wsn-gfr__thumb { left: calc(50% - 91px); }
	.wsn-gfr__arrow_l { left: calc(50% - 178px); }
	.wsn-gfr__arrow_r { left: calc(50% + 83px); }

	.wsn-gfr__in { padding-bottom: 100px; }
}
