/*
 * Классы ядра WordPress.
 *
 * Выбранное из theme.css Hello Elementor — то, что действительно может
 * встретиться на этом сайте. Не взято: ширины .site-main (правило
 * исключает body[class*=elementor-page-], а других страниц здесь нет),
 * оформление комментариев (закрыты на всех 66 записях) и классы
 * блочного редактора.
 */

/* Ссылка для клавиатуры и скринридера: не видна, пока не получит фокус. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #eee;
	clip: auto !important;
	clip-path: none;
	color: #333;
	display: block;
	font-size: 1rem;
	height: auto;
	inset-block-start: 5px;
	inset-inline-start: 5px;
	line-height: normal;
	padding: 12px 24px;
	text-decoration: none;
	width: auto;
	z-index: 100000;
}

/* Выравнивание картинок из редактора. */
.alignright {
	float: right;
	margin-inline-start: 1rem;
}

.alignleft {
	float: left;
	margin-inline-end: 1rem;
}

.aligncenter {
	clear: both;
	display: block;
	margin-inline: auto;
}

/* Подписи под картинками. */
.wp-caption {
	margin-block-end: 1.25rem;
	max-width: 100%;
}

.wp-caption img {
	display: block;
	margin-inline: auto;
}

.wp-caption-text,
.gallery-caption {
	display: block;
	font-size: 0.8125rem;
	line-height: 1.5;
	margin: 0;
	padding: 0.75rem;
}

/* Запасные шаблоны темы: страница, список, 404. */
.page-content a {
	text-decoration: underline;
}

.post .entry-title a {
	text-decoration: none;
}

.post .wp-post-image {
	max-height: 500px;
	object-fit: cover;
	width: 100%;
}

@media (max-width: 991px) {
	.post .wp-post-image {
		max-height: 400px;
	}
}

@media (max-width: 575px) {
	.post .wp-post-image {
		max-height: 300px;
	}
}

.pagination .nav-links {
	display: flex;
	gap: 1rem;
	justify-content: center;
	margin: 20px auto;
}

.post-password-form {
	margin: 50px auto;
	max-width: 500px;
}

.post-password-form p {
	align-items: flex-end;
	display: flex;
	width: 100%;
}

.post-password-form [type="submit"] {
	margin-inline-start: 3px;
}

.sticky {
	display: block;
	position: relative;
}

.hide {
	display: none !important;
}
