/**
 * Информационные страницы — значения сняты с боевого (страница «О нас»).
 */

.pos-info .site-content { padding-top: 0; }
.pos-info .site-main { margin: 0; }
.pos-info .inside-article { padding: 0; background: none; }
.pos-info-grid, .pos-info-grid * { box-sizing: border-box; }

/* ---------- Крошки ---------- */
.pos-info .site-main .pos-crumbs {
	margin: 50px 0 40px;
	padding-left: 5px;
	color: #2f2620;
	font-family: var(--pos-font-head);
	font-size: 14px;
	line-height: 20px;
	text-transform: uppercase;
}
.pos-crumbs a { color: #2f2620; }
.pos-crumbs a:hover { color: #4fad10; }
.pos-crumbs .pos-crumb:last-of-type { font-weight: 700; }
.pos-info .pos-crumbs .pos-crumb-sep {
	color: #2f2620;
	display: inline-block;
	width: 25px;
	text-align: center;
	white-space: pre;
	word-spacing: -4px;
}

/* ---------- Сетка ---------- */
.pos-info-grid {
	display: grid;
	grid-template-columns: 328px minmax(0, 1fr);
	column-gap: 30px;
	align-items: start;
	margin: 0 0 60px;
}

/* ---------- Левая колонка ---------- */
.pos-side { font-family: var(--pos-font-head); }

.pos-side__box {
	padding: 20px 30px 30px;
	box-shadow: 0 0 24px -2px rgba(120, 119, 120, .3);
}
.pos-side__menu { margin: 10px 0 0; padding: 0; list-style: none; }
.pos-side__menu li {
	position: relative;
	margin-bottom: 4px;
	padding-left: 30px;
	font-size: 16px;
	line-height: 22.86px;
}
.pos-side__menu li::before {
	content: "";
	position: absolute;
	top: -3px;
	left: 0;
	width: 26px;
	height: 23px;
	background: url("../images/header/chekbox.jpg") center no-repeat;
}
.pos-side__menu a { color: #9a988c; }
.pos-side__menu a:hover { color: #4fad10; }
.pos-side__menu .current-menu-item > a { color: #9bde00; font-weight: 700; }

.pos-side__perks {
	margin-top: 35px;
	padding: 20px 35px 5px;
	border: 1px solid #f3f3f3;
	background: #fff;
}
.pos-side__perk {
	position: relative;
	min-height: 56px;
	padding-bottom: 20px;
}
.pos-side__perk img { width: 35px; height: auto; vertical-align: top; }
.pos-side__perk span {
	display: inline-block;
	padding: 4px 0 0 10px;
	color: #2f2620;
	font-size: 12px;
	line-height: 1.43;
}
.pos-side__perk a {
	display: block;
	margin-left: 49px;
	color: #4eab10;
	font-size: 14px;
	text-transform: uppercase;
}
.pos-side__perk a:hover { color: #3b8a0b; }

.pos-side__pay {
	margin-top: 30px;
	padding: 20px 35px 30px;
	border: 1px solid #f3f3f3;
	background: #fff;
	text-align: center;
}
.pos-side__pay-title {
	color: #2f2620;
	font-weight: 700;
	font-size: 18px;
	text-transform: uppercase;
}
.pos-side__pay img { width: 100%; height: auto; margin-top: 13px; }

.pos-side__blog {
	position: relative;
	margin: 30px 0 0;
	padding-bottom: 20px;
	border: 1px solid #f3f3f3;
	font-weight: 700;
	text-align: center;
}
.pos-side__blog-title {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 50px;
	background: rgba(255, 255, 255, .72);
	color: #2f2620;
	font-size: 18px;
	line-height: 48px;
	text-transform: uppercase;
}
.pos-side__blog-title span { font-size: 25px; }
.pos-side__blog img { display: block; width: 100%; height: auto; }
.pos-side__blog-sub {
	margin: 10px 0;
	color: #2f2620;
	font-size: 18px;
	line-height: 1.2;
}
.pos-side__blog-btn {
	position: relative;
	display: block;
	width: 250px;
	max-width: calc(100% - 20px);
	height: 50px;
	margin: 0 auto;
	overflow: hidden;
	border-radius: 50px;
	background: #4fad10;
	color: #fff;
	font-family: var(--pos-font-body);
	font-weight: 500;
	font-size: 16px;
	line-height: 50px;
	text-transform: uppercase;
}
.pos-side__blog-btn:hover { color: #fff; }
.pos-side__blog-btn::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 2em;
	height: 100%;
	background: rgba(255, 255, 255, .3);
	transform: translateX(-4em) skewX(-45deg);
}
@media (prefers-reduced-motion: no-preference) {
	.pos-side__blog-btn:hover::before { animation: posPageLight .5s; }
}
@keyframes posPageLight {
	from { transform: translateX(-4em) skewX(-45deg); }
	to { transform: translateX(16em) skewX(-45deg); }
}

/* ---------- Текст страницы ---------- */
.pos-info-main {
	color: #333;
	font-family: var(--pos-font-head);
	font-size: 14px;
	line-height: 20px;
}
.pos-info .entry-header { margin: 0; }
.pos-info h1.entry-title {
	margin: 20px 0 10px;
	color: #333;
	font-family: var(--pos-font-head);
	font-weight: 400;
	font-size: 36px;
	line-height: 1.1;
}
.pos-info .entry-content { margin: 0; }
.pos-info .entry-content h2 {
	margin: 20px 0 10px;
	color: #333;
	font-family: var(--pos-font-head);
	font-weight: 400;
	font-size: 30px;
	line-height: 1.1;
}
.pos-info .entry-content h3 {
	margin: 20px 0 10px;
	color: #333;
	font-family: var(--pos-font-head);
	font-weight: 400;
	font-size: 24px;
	line-height: 1.1;
}
.pos-info .entry-content p { margin: 0 0 10px; }
.pos-info .entry-content ol,
.pos-info .entry-content ul { margin: 0 0 10px; padding-left: 40px; }
.pos-info .entry-content li { margin: 0; }
.pos-info .entry-content a { color: #337ab7; }
.pos-info .entry-content a:hover { color: #23527c; text-decoration: underline; }
.pos-info .entry-content img { max-width: 100%; height: auto; }
.pos-info .entry-content .alignright { float: right; margin: 0 0 20px 20px; }
.pos-info .entry-content .alignleft { float: left; margin: 0 20px 20px 0; }
.pos-info .entry-content table { width: 100%; border-collapse: collapse; }
.pos-info .entry-content td,
.pos-info .entry-content th { padding: 6px 10px; border: 1px solid #e6e6e6; }
.pos-info .entry-content td p,
.pos-info .entry-content th p { margin: 0; }
.pos-info .entry-content p:empty { display: none; }

/* Товары внутри страницы (например, «Акции») — 4 в ряд: колонка текста уже каталога. */
.pos-info .entry-content ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-left: 0; }

@media (max-width: 1120px) {
	.pos-info-grid { grid-template-columns: 270px minmax(0, 1fr); }
	.pos-side__box { padding: 10px; }
}

@media (max-width: 991px) {
	.pos-info-grid { display: block; margin: 0 0 40px; }
	.pos-info .entry-content ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.pos-side { display: none; }
}

@media (max-width: 767px) {
	.pos-info .site-main .pos-crumbs { margin: 25px 0; }
	.pos-info h1.entry-title { font-size: 28px; }
	.pos-info .entry-content h2 { font-size: 22px; }
	.pos-info .entry-content h3 { font-size: 19px; }
	.pos-info .entry-content ol,
	.pos-info .entry-content ul { padding-left: 22px; }
	.pos-info .entry-content ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-left: 0; }
	.pos-info .entry-content .alignright,
	.pos-info .entry-content .alignleft { float: none; display: block; margin: 0 auto 16px; }
	.pos-info .entry-content table { display: block; overflow-x: auto; }
}

/* 404: формы поиска под текстом на боевом нет */
.error404 .pos-info-main .search-form { display: none; }

/* Информационные страницы, блог, 404: поля по краям на телефоне и планшете (на компьютере отступы даёт сетка). */
@media (max-width: 1023px) {
	.pos-info .site-main { padding-left: 15px; padding-right: 15px; }
}

/* Видеоплейлист WordPress ([playlist] на «О нас»): плеер при запуске ставит себе min-width на тысячи px — держим в ширине колонки. */
.pos-info .wp-playlist, .pos-info .wp-video, .pos-info .mejs-container { max-width: 100%; min-width: 0 !important; }
.pos-info .mejs-container { width: 100% !important; }
