/* =========================================================================
   article-rol-otca.css
   Доп. стили для страницы «Роль отца в воспитании ребёнка».
   Подключается поверх article-uspokoit.css.
   ========================================================================= */

/* =========================================================================
   1. СОДЕРЖАНИЕ — 2 колонки (переопределяем 2-колоночный вариант)
   ========================================================================= */

.article-toc {
	grid-template-columns: 1fr 1fr;
	grid-template-rows: repeat(3, auto);
}

@media (max-width: 650px) {
	.article-toc {
		grid-template-columns: 1fr;
		grid-template-rows: none;
	}
}


/* =========================================================================
   2. ТРОЙКА КАЧЕСТВ (Гибкость / Социальность / Смысл)
   ========================================================================= */

.qualities-trio {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	margin: 30px 0 24px;
}

.quality-item {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	text-align: center;
}

.quality-icon {
	height: 130px;
	flex-shrink: 0;
	line-height: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.quality-icon svg {
	height: 130px;
	width: auto;
}

.quality-label {
	font-size: 18px;
	font-weight: 500;
	text-transform: uppercase;
	color: #021688;
	letter-spacing: 0.04em;
}

@media (max-width: 650px) {
	.qualities-trio {
		flex-direction: row;
		gap: 10px;
	}

	.quality-icon {
		height: 60px;
	}

	.quality-icon svg {
		height: 60px;
		width: auto;
	}

	.quality-label {
		font-size: 11px;
	}
}


/* =========================================================================
   3. БЛОК СРАВНЕНИЯ (Биологический отец vs Папа)
   ========================================================================= */

.comparison-box {
	display: flex;
	flex-direction: column;
	gap: 24px;
	background: #021688;
	border-radius: 34px;
	padding: 30px;
	margin: 30px 0;
	border: none;
}

.comparison-box__card {
	background: #fff;
	border-radius: 20px;
	padding: 20px;
}

.comparison-box__card p {
	font-size: 30px !important;
	line-height: 90% !important;
	font-weight: 300;
	color: #021688;
	margin: 0 !important;
}

.comparison-box__card p strong {
	font-weight: 700;
}

@media (max-width: 650px) {
	.comparison-box {
		padding: 16px;
		gap: 12px;
		border-radius: 20px;
	}

	.comparison-box__card {
		padding: 16px;
		border-radius: 14px;
	}

	.comparison-box__card p {
		font-size: 16px !important;
	}
}


/* =========================================================================
   4. АККОРДЕОНЫ — переопределение для этой статьи
   ========================================================================= */

.article-accordion__item {
	background: #B2CAE4;
	border-radius: 34px;
}

.article-accordion__item.is-open {
	background: #B2CAE4;
}


/* =========================================================================
   5. КАРТОЧКИ ДЕЙСТВИЙ ДЛЯ МАМ (раздел «Без отца»)
   ========================================================================= */

.action-cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin: 30px 0;
}

.action-card {
	background: #021688;
	border-radius: 34px;
	padding: 30px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
}

.action-card__title {
	font-size: 18px;
	font-weight: 500;
	text-transform: uppercase;
	color: #fff;
	line-height: 110%;
	display: block;
}

.action-card p {
	font-size: 18px !important;
	line-height: 1.45 !important;
	font-weight: 300;
	color: #fff !important;
	margin: 0 !important;
}

@media (max-width: 650px) {
	.action-cards {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.action-card {
		padding: 20px;
		border-radius: 24px;
		gap: 16px;
	}

	.action-card__title {
		font-size: 13px;
	}

	.action-card p {
		font-size: 13px !important;
	}
}


/* =========================================================================
   6. ПОДЗАГОЛОВОК ДЕЙСТВИЙ
   ========================================================================= */

.action-lead {
	font-size: 22px;
	font-weight: 500;
	text-transform: uppercase;
	color: #021688;
	margin: 24px 0 0;
	line-height: 110%;
	display: block;
}

@media (max-width: 650px) {
	.action-lead {
		font-size: 15px;
	}
}


.action-slider-nav {
	display: none;
}

/* =========================================================================
   7. ACTION-CARDS СЛАЙДЕР (мобайл) — CSS scroll snap
   ========================================================================= */

@media (max-width: 650px) {
	.action-cards-slider {
		display: flex !important;
		flex-direction: row !important;
		gap: 12px !important;
		overflow-x: scroll;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		margin: 20px 0 12px;
	}

	.action-cards-slider::-webkit-scrollbar {
		display: none;
	}

	.action-cards-slider .action-card {
		flex: 0 0 calc(100% - 32px);
		scroll-snap-align: start;
		scroll-snap-stop: always;
		box-sizing: border-box;
		min-height: 310px;
		padding: 30px;
		gap: 24px;
		border-radius: 34px;
	}

	.action-cards-slider .action-card__title {
		font-size: 20px;
		line-height: 110%;
	}

	.action-cards-slider .action-card p {
		font-size: 20px !important;
		line-height: 90% !important;
	}

	/* Стрелки снизу */
	.action-slider-nav {
		display: flex !important;
		align-items: center;
		gap: 8px;
		margin-bottom: 20px;
	}

	.action-slider-prev,
	.action-slider-next {
		width: 20px;
		height: 33px;
		border: none;
		background: none center/contain no-repeat;
		cursor: pointer;
		padding: 0;
		flex-shrink: 0;
	}

	.action-slider-prev {
		background-image: url("data:image/svg+xml;utf8,<svg width='16' height='33' viewBox='0 0 16 33' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M16 0.500001L0.956474 15.5435C0.428228 16.0718 0.428227 16.9282 0.956473 17.4565L16 32.5' stroke='%23021688' stroke-linecap='round'/></svg>");
	}

	.action-slider-next {
		background-image: url("data:image/svg+xml;utf8,<svg width='16' height='33' viewBox='48 0 16 33' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M48 32.5L63.0435 17.4565C63.5718 16.9282 63.5718 16.0718 63.0435 15.5435L48 0.500001' stroke='%23021688' stroke-linecap='round'/></svg>");
	}
}


