/* ==========================================================================
   Запись (Article.dc.html)
   ========================================================================== */

.oa-phead--article .oa-phead__main {
	max-width: 980px;
}

.oa-phead--article .oa-phead__body {
	--ph-pad: 26px 4px 6px;
	--ph-pad-t: 36px 12px 14px;
}

.oa-phead--article .oa-phead__title {
	line-height: 1.12;
}

.oa-article-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.oa-article-meta__date {
	padding: 6px 12px;
	border-radius: var(--oa-r-pill);
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #FFFFFF;
	font-size: 13px;
	font-weight: 700;
}

.oa-article-meta__lang {
	display: flex;
	align-items: center;
	gap: 6px;
	height: auto;
	min-height: 32px;
	padding: 6px 12px;
	color: var(--oa-on-dark);
	font-weight: 700;
}

.oa-article-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--oa-gap);
	align-items: start;
}

.oa-article {
	background: #FFFFFF;
	border-radius: var(--oa-r-section);
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
}

.oa-article__figure {
	margin: 0;
	border-radius: 22px;
	overflow: hidden;
	background: var(--oa-photo);
}

.oa-article__figure img {
	width: 100%;
	height: auto;
}

/* Текст записи: 17/1.75, первый абзац — вводный */
.oa-article__content {
	max-width: 720px;
	font-size: 17px;
	line-height: 1.75;
	color: #3A3E37;
}

.oa-article__content > * + * {
	margin-top: 18px;
}

.oa-article__content > p:first-child {
	font-family: var(--oa-font-head);
	font-size: 18px;
	line-height: 1.45;
	font-weight: 500;
	color: var(--oa-ink);
}

.oa-article__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	padding-top: 18px;
	border-top: 1px solid var(--oa-line);
}

.oa-backbtn {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 48px;
	padding: 0 20px 0 8px;
	border-radius: var(--oa-r-pill);
	background: var(--oa-ink);
	color: #FFFFFF;
	font-size: 14px;
	font-weight: 700;
	transition: transform 0.2s ease, background 0.2s ease;
}

.oa-backbtn:hover {
	transform: translateY(-2px);
	background: var(--oa-ink-hover);
}

.oa-backbtn__circle {
	width: 34px;
	height: 34px;
	border-radius: var(--oa-r-pill);
	background: var(--oa-accent);
	display: flex;
	align-items: center;
	justify-content: center;
}

.oa-backbtn__circle svg {
	stroke: var(--oa-on-accent);
}

.oa-share {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
}

.oa-share__label {
	font-size: 13px;
	font-weight: 700;
	color: var(--oa-muted);
}

.oa-share__btn {
	width: 44px;
	height: 44px;
	min-height: 44px;
	padding: 0;
	justify-content: center;
	gap: 0;
}

.oa-share__toast:empty {
	display: none;
}

.oa-share__toast {
	position: absolute;
	right: 0;
	bottom: calc(100% + 8px);
	padding: 8px 12px;
	border-radius: 12px;
	background: var(--oa-ink);
	color: #FFFFFF;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

/* Боковая колонка */
.oa-article-aside {
	display: none;
	flex-direction: column;
	gap: 16px;
}

.oa-article-aside__catalog {
	border-radius: 32px;
	background: var(--oa-ink);
	color: #FFFFFF;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.oa-article-aside__title {
	font-family: var(--oa-font-head);
	font-size: 18px;
	line-height: 1.25;
	font-weight: 500;
}

.oa-article-aside__text {
	font-size: 14px;
	line-height: 1.55;
	color: var(--oa-on-dark-5);
}

.oa-article-aside__contacts {
	border-radius: 32px;
	background: #FFFFFF;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.oa-article-aside__phone {
	font-size: 17px;
}

.oa-article-aside__mail {
	font-size: 15px;
	font-weight: 700;
	color: var(--oa-text);
}

@media (min-width: 640px) {
	.oa-article {
		padding: 24px;
	}

	.oa-article__content > p:first-child {
		font-size: 20px;
	}
}

@media (min-width: 1024px) {
	.oa-article-grid {
		grid-template-columns: minmax(0, 1fr) 320px;
	}

	.oa-article {
		padding: 32px;
	}

	.oa-article__content > p:first-child {
		font-size: 22px;
	}

	.oa-article-aside {
		display: flex;
		position: sticky;
		top: 84px; /* под закреплённой шапкой (v2.1) */
	}
}

/* Светлый чип на тёмной шапке («Читать на казахском»); раньше жил в стилях главной */
.oa-hchip {
	height: 34px;
	display: inline-flex;
	align-items: center;
	padding: 0 14px;
	border-radius: var(--oa-r-pill);
	background: rgba(255, 255, 255, 0.08);
	color: #FFFFFF;
	font-size: 13px;
	font-weight: 700;
	transition: background 0.2s ease;
}

.oa-hchip:hover {
	background: rgba(255, 255, 255, 0.16);
}
