/* centralmedia24.kz: parts on every page, as on the WP site (2026-11-23) — the footer
   (templates/sites/main/cm24/_footer.html) and the sidebar mail widget (…/_newsletter.html).
   Rows and columns: static/cm24/layout.css. */

/* page rows: the sidebar width of the theme options (theme.css sets it on .ts-row / .has-el-gap) */
.page-row {
	--sidebar-c-width: calc(var(--sidebar-width) + var(--grid-gutter-h) + var(--sidebar-c-pad));
}

/* ---- sidebar «Есть чем поделиться?»: the mail button */
.mail-button {
	display: inline-block;
	padding: 12px 24px;
	border-radius: 3px;
	background-color: #69727d;
	color: #fff;
	fill: #fff;
	font-size: 15px;
	line-height: 1;
	text-align: center;
	transition: all 0.3s;
}
.mail-button:hover,
.mail-button:focus,
.mail-button:visited {
	color: #fff;
}
.mail-button > span {
	display: flex;
	justify-content: center;
}

/* ---- footer */

.site-footer {
	--blocks-gap: 0;
	padding: 60px 0 40px;
	background-color: #fa5005;
	color: var(--body-color, var(--c-contrast-700));
}
.site-footer img {
	max-width: 100%;
	height: auto;
}
.footer-cols {
	margin-bottom: 20px;
}

/* ---- logo, licence, socials: a plain stack (the socials' negative bottom margin stays inside) */
.site-footer .about {
	display: block;
	padding-right: calc(var(--col-gutter) + 40px);
}
.site-footer .logo {
	margin-bottom: 8px;
}
.site-footer .license {
	margin: 0 0 8px;
	line-height: 1.5em;
	color: #fff;
}
.site-footer .about .spc-social {
	justify-content: flex-start;
	--spc-social-fs: 17px;
	--spc-social-space: 12px;
	--c-spc-social: #efefef;
}

/* ---- «Рубрики», «Информация», «Сканируй»: a heading over lists side by side */
.footer-cols > .col > .stack {
	--blocks-gap: 0;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-content: flex-start;
}
.footer-cols .block-head {
	width: 100%;
	margin-bottom: 20px;
	--space-below: 0px;
}
.footer-cols .block-head .heading {
	font-size: 17px;
	color: #fff;
}
.rubrics .ts-el-list {
	--spacing: 10px;
}
.rubrics .ts-el-list .item {
	font-size: 17px;
}
.rubrics .ts-el-list + .ts-el-list {
	margin-left: 25px;
}

/* icon + text links */
.icon-list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.icon-list li,
.icon-list a {
	display: flex;
	align-items: center;
}
.icon-list li {
	position: relative;
}
.icon-list li:not(:last-child) {
	padding-bottom: 5px;
}
.icon-list li:not(:first-child) {
	margin-top: 5px;
}
.icon-list a {
	width: 100%;
	font-size: 17px;
}
.icon-list .ico {
	display: flex;
	position: relative;
}
.icon-list svg {
	width: 17px;
	height: 17px;
	margin-right: 4.25px;
	fill: #fff;
	transition: fill 0.3s;
}
.icon-list .text {
	align-self: center;
	padding-left: 5px;
	transition: color 0.3s;
}
.info .icon-list:first-of-type {
	margin-right: 10px;
}
.info .icon-list + .icon-list {
	margin-left: 10px;
}

.scan .qr {
	width: 100%;
	text-align: center;
}
.scan .qr img {
	display: inline-block;
	vertical-align: middle;
}

/* ---- line, copyright, legal links */
.site-footer .divider {
	padding: 20px 0;
}
.site-footer .divider::before {
	border-top-color: #ffffff30;
}
.footer-bottom {
	margin-top: 10px;
}
.site-footer .copyright {
	font-size: 13px;
	color: #fff;
}
.site-footer .legal .ts-el-list {
	--spacing: 30px;
	--sep-weight: 1px;
	--sep-style: solid;
	--sep-height: 12px;
	justify-content: flex-end;
	text-align: right;
}
.site-footer .legal .ts-el-list .item {
	color: #fff;
	font-size: 13px;
}
.site-footer .legal .ts-el-list a {
	color: inherit;
}

@media (max-width: 1024px) {
	.site-footer .about {
		padding-right: calc(var(--col-gutter) + 30px);
	}
	.rubrics .ts-el-list {
		width: 100%;
		margin-bottom: 10px;
	}
	.rubrics .ts-el-list + .ts-el-list {
		margin-left: 0;
	}
	.info .icon-list:first-of-type {
		margin: 0 0 10px;
	}
	.info .icon-list + .icon-list {
		margin-left: 0;
	}
	.site-footer .copyright {
		text-align: center;
	}
	.site-footer .legal .ts-el-list {
		justify-content: center;
		text-align: center;
	}
}
@media (min-width: 768px) and (max-width: 1024px) {
	.footer-bottom .col {
		width: 100%;
	}
}
@media (max-width: 767px) {
	.site-footer {
		padding: 40px 0 50px;
	}
	.site-footer .about {
		padding-right: var(--col-gutter);
		padding-bottom: 20px;
	}
	.site-footer .license {
		text-align: center;
	}
	.site-footer .about .spc-social {
		justify-content: center;
		--spc-social-fs: 16px;
		--spc-social-space: 10px;
	}
	.footer-cols > .col > .stack {
		margin-bottom: 10%;
	}
	.rubrics .ts-el-list {
		width: auto;
	}
	.rubrics .ts-el-list + .ts-el-list {
		margin: 0 0 0 50px;
	}
	.info .icon-list:first-of-type {
		margin: 0 10px 0 0;
	}
	.info .icon-list + .icon-list {
		margin-left: 10px;
	}
	.site-footer .divider {
		padding: 10px 0;
	}
	.site-footer .legal .ts-el-list {
		margin-top: 15px;
	}
}
