/* ---- тема Scaffold ---- */
/*
Theme Name: Scaffold
Theme URI: https://olympusthemes.com/themes/scaffold/
Author: DannyCooper
Author URI: https://olympusthemes.com/
Description: Scaffold is a lightweight starter theme built using core WordPress functions. It doesn't use any frameworks or libraries, this makes it fast, simple and easy to customize! The clean, fast, standards-compliant code ensures Scaffold is Search Engine Optimized (SEO). WPML-compatible.
Version: 1.3.1
License: GNU General Public License v2 or later
Text Domain: scaffold
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, two-columns, right-sidebar, custom-background, custom-header, custom-menu, custom-logo, editor-style, featured-images, full-width-template, threaded-comments, translation-ready, blog, e-commerce
GitHub Theme URI: https://github.com/DannyCooper/scaffold

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Structure
# Header
# Primary Nav
# Content
	## Posts and Pages
	## Content Navigation
	## Comments
# Sidebar
	## Widgets
# Footer
# Infinite Scroll
# Media
	## Captions
	## Galleries
# Responsive
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/

html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

body {
	color: #303135;
	font-family: Georgia;
	font-size: 16px;
	line-height: 1.6;
	overflow-wrap: break-word;
}

nav,
label,
input {
	font-family: sans-serif;
	font-size: 14px
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: sans-serif;
	line-height: 1.25;
	color: #2d2e33;
}

p {
	margin: 0 0 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background-color: #fff; /* Fallback for when there is no custom background color defined. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

.widget ul,
.widget ol {
	margin: 0;
	padding: 0 0 0 1em
}

.comments-area ol {
	list-style: none;
	padding: 0
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
	vertical-align: bottom;
}

figure {
	margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */
}

table {
	font-family: sans-serif;
	margin: 0 0 1.5em;
	width: 100%;
	font-size: 14px;
}

table th {
	border-bottom: 2px solid;
	padding: 10px;
	text-align: left
}

table td {
	padding: 10px 10px 0;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/

label {
	font-size: 14px;
	color: #9e9e9e;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background-color: #e6e6e6;
	padding: 8px;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 8px;
}

select {
	border: 1px solid #ccc;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/

a {
	color: #253e80;
}

a:hover,
a:focus,
a:active {
	color: #253e80;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

.sidebar-1 a {
	text-decoration: none
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

.screen-reader-text {
	display: none;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

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

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.wrapper:before,
.wrapper:after,
.navigation:before,
.navigation:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.wrapper:after,
.navigation:after {
	clear: both;
}

/*--------------------------------------------------------------
# Structure
--------------------------------------------------------------*/

.wrapper {
	max-width: 1040px;
	margin-left: auto;
	margin-right: auto;
}

.site-content {
	padding-bottom: 25px
}

.page-template-full-width .content-area,
.post-template-full-width .content-area {
	width: 100%;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

.site-header {
	text-align: center;
	min-height: 173px;
	padding: 50px 0;
}

.site-title {
	margin: 0;
	font-family: sans-serif;
	font-weight: 300;
	font-size: 40px;
	line-height: 1.2
}

.site-title a {
	text-decoration: none;
	color: #253e80;
}

.site-description {
	color: #8e8e8e;
	margin: 0
}

/*--------------------------------------------------------------
# Primary Nav
--------------------------------------------------------------*/

.menu-1 {
	background-color: #253e80;
	font-size: 14px;
	margin-bottom: 50px
}

.menu-1 {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}

.menu-1 ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.menu-1 li {
	float: left;
	position: relative;
}

/* Align the navigation with the rest of the content. */
.menu-1 .nav-menu > li:first-child {
	margin-left: -20px
}

.menu-1 a {
	display: block;
	text-decoration: none;
}

.menu-1 ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	left: -999em;
	z-index: 99999;
}

.menu-1 ul ul ul {
	left: -999em;
	top: 0;
}

.menu-1 ul ul a {
	width: 200px;
	text-align: left;
	border-top: 1px solid rgba(255, 255, 255, 0.25);
	border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.menu-1 ul ul li {
	background-color: #182b5f;
}

.menu-1 li:hover,
.menu-1 li.focus {
	background-color: #182b5f
}

.menu-1 ul li:hover > ul,
.menu-1 ul li.focus > ul {
	left: auto;
}

.menu-1 ul ul li:hover > ul,
.menu-1 ul ul li.focus > ul {
	left: 100%;
}

.menu-1 a {
	padding: 20px;
	color: rgba(255, 255, 255, 0.8);
}

.menu-1 .sub-menu li:hover {
	background-color: #0c1a40
}

.menu-1 li.page_item_has_children > a:after,
.menu-1 li.menu-item-has-children > a:after {
	content: '\25bc';
	font-size: 7px;
	vertical-align: 1px;
	padding-left: 5px;
	opacity: .75
}
.menu-1 li li.page_item_has_children > a:after,
.menu-1 li li.menu-item-has-children > a:after {
	content: '\25b6';
	font-size: 7px;
	vertical-align: 1px;
	padding-left: 5px;
	opacity: .75
}

/* Small menu. */
.menu-toggle {
	display: none
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

.content-area {
	width: 600px;
	float: left;
}

.post-thumbnail {
	margin-bottom: 16px
}

.entry-header {
	margin-bottom: 16px
}

.entry-title {
	font-size: 30px;
	margin: 0;
}

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

.entry-meta {
	font-size: 14px;
	color: #929292
}
.entry-meta a {
	color: #929292;
	text-decoration: none
}

.edit-link {
	float: right;
}

.page .edit-link {
	float: none;
}

.entry-footer {
	border-bottom: 1px solid #e4e4e4;
	border-top: 1px solid #e4e4e4;
	padding: 20px 0;
	margin: 0 0 50px;
	font-size: 14px;
}

.entry-footer span {
	display: block;
}
.entry-footer a {
	text-decoration: none;
	color: #303135
}

.comments-closed .entry-footer {
	margin-bottom: 0;
}

.more-link {
	text-decoration: none;
}

/*--------------------------------------------------------------
## Posts and Pages
--------------------------------------------------------------*/

.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.blog .hentry {
	margin: 0 0 3em;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

/*--------------------------------------------------------------
## Archives
--------------------------------------------------------------*/

.archive-header {
	margin-bottom: 25px;
}

.archive-header .archive-title {
	font-size: 16px
}

.archive-header .archive-description {
	font-size: 16px;
	border-bottom: 1px solid #e4e4e4;
}

.archive .post {
	margin-bottom: 50px;
	border-bottom: 1px solid #e4e4e4;
	padding-bottom: 26px;
}

/*--------------------------------------------------------------
## Content Navigation
--------------------------------------------------------------*/

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

.post-navigation,
.posts-navigation {
	margin-bottom: 25px;
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.nav-links a {
	text-decoration: none;
	color: #303135;
}

.post-navigation .nav-links a  {
	font-weight: bold
}
.post-navigation .nav-links a span {
	text-decoration: underline;
	font-weight: normal
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/

.comments-area .comment-body {
	border-bottom: 1px solid #e4e4e4;
	padding-bottom: 20px;
	margin-bottom: 20px;
}

.comments-area ul.children {
	margin: 0 0 0 25px;
	padding: 0;
	list-style: none;
}

.comments-area .children .comment-body  {
	padding: 0 0 25px 0;
	margin: 25px 0;
}

.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

.comment-meta {
	margin-bottom: 16px
}

.comment-meta a {
	text-decoration: none
}
.comment-author a {
	color: #303135;
	text-decoration: none;
	font-weight: bold;
}

.comment-author img {
	float: left;
	margin-right: 10px;
}

.comment-author cite {
	font-style: normal;
	color: #303135;
	font-weight: bold
}

.comment-metadata a {
	color: gray;
	font-size: 14px;

}

.logged-in-as a {
	text-decoration: none;
	color: gray;
	font-size: 14px
}

.comment-reply-link {
	text-decoration: none
}

#cancel-comment-reply-link {
	text-decoration: none;
	color: #bb0404;
	font-weight: normal;
	font-style: italic;
	float: right;
}

.comment-respond input {
	width: 100%;
}

.comment-form-author {
	width: 47.5%;
	float: left;
	margin-right: 5%;
}
.comment-form-email {
	width: 47.5%;
	float: left;
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/

.sidebar-1 {
	width: 300px;
	float: right;
	font-size: 14px;
}

/*--------------------------------------------------------------
## Widgets
--------------------------------------------------------------*/

.widget {
	margin: 0 0 25px;
}

.widget-title {
	margin-top: 0;
	margin-bottom: .5em
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.site-footer .site-info {
	border-top: 1px solid #ccc;
	padding: 25px 0;
	font-size: 14px;
	text-align: right;
}

/*--------------------------------------------------------------
# Infinite Scroll
--------------------------------------------------------------*/

/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/

.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/

.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
	font-size: 14px
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/

.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/

@media screen and (max-width: 600px) {

	#site-menu {
		display: none;
	}

	.menu-1 {
		background: none
	}

	.menu-1 a {
		border-top: 1px solid rgba(255, 255, 255, 0.10);
	}

	.menu-toggle {
		color: white;
		margin: 0 auto;
		width: 100%;
    border: 0;
    border-radius: 0;
	}

	.toggled .menu-toggle {
		color: white;
		margin: 0 auto
	}

	/* Small menu. */
	.menu-toggle,
	.menu-1.toggled #site-menu {
		display: block;
	}

	.menu-1 li {
		float: none;
	  width: 100%;
	}

	.menu-1 ul ul {
		position: relative;
		float: none;
		left: auto;
		display: none
	}

	.menu-1 ul li:hover > ul,
	.menu-1 ul li.focus > ul {
		display: block;
	}

	.menu-1 ul ul a {
		width: 100%;
	}

	.menu-1 ul ul ul {
		left: auto
	}

	.menu-1 ul ul li:hover > ul,
	.menu-1 ul ul li.focus > ul {
		left: auto;
	}

}

@media screen and (max-width: 1040px) {
	.site-content,
	.content-area,
	.sidebar-1 {
		width: 100%;
		float: none
	}

	.site-content,
	.site-info {
		padding: 0 20px;
	}

	.menu-1 .nav-menu > li:first-child {
	  margin-left: 0;
	}
}


/* ---- wp-img-auto-sizes-contain-inline-css ---- */
img:is([sizes=auto i],[sizes^="auto," i]){contain-intrinsic-size:3000px 1500px}

/* ---- wp-block-library-inline-css ---- */
:root{--wp-block-synced-color:#7a00df;--wp-block-synced-color--rgb:122 , 0 , 223;--wp-bound-block-color:var(--wp-block-synced-color);--wp-editor-canvas-background:#ddd;--wp-admin-theme-color:#007cba;--wp-admin-theme-color--rgb:0 , 124 , 186;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-10--rgb:0 , 107 , 160.5;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-theme-color-darker-20--rgb:0 , 90 , 135;--wp-admin-border-width-focus:2px}@media (min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}:root .has-very-light-gray-background-color{background-color:#eee}:root .has-very-dark-gray-background-color{background-color:#313131}:root .has-very-light-gray-color{color:#eee}:root .has-very-dark-gray-color{color:#313131}:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(135deg,#00d084,#0693e3)}:root .has-purple-crush-gradient-background{background:linear-gradient(135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .has-hazy-dawn-gradient-background{background:linear-gradient(135deg,#faaca8,#dad0ec)}:root .has-subdued-olive-gradient-background{background:linear-gradient(135deg,#fafae1,#67a671)}:root .has-atomic-cream-gradient-background{background:linear-gradient(135deg,#fdd79a,#004a59)}:root .has-nightshade-gradient-background{background:linear-gradient(135deg,#330968,#31cdcf)}:root .has-midnight-gradient-background{background:linear-gradient(135deg,#020381,#2874fc)}:root{--wp--preset--font-size--normal:16px;--wp--preset--font-size--huge:42px}:root .has-text-align-center{text-align:center}:root .has-text-align-left{text-align:left}:root .has-text-align-right{text-align:right}.aligncenter{clear:both}html :where(.has-border-color){border-style:solid}html :where([style*=border-color]){border-style:solid}html :where([style*=border-top-color]){border-top-style:solid}html :where([style*=border-right-color]){border-right-style:solid}html :where([style*=border-bottom-color]){border-bottom-style:solid}html :where([style*=border-left-color]){border-left-style:solid}html :where([style*=border-width]){border-style:solid}html :where([style*=border-top-width]){border-top-style:solid}html :where([style*=border-right-width]){border-right-style:solid}html :where([style*=border-bottom-width]){border-bottom-style:solid}html :where([style*=border-left-width]){border-left-style:solid}html :where(img[class*=wp-image-]){height:auto;max-width:100%}:where(figure){margin:0 0 1em}html :where(.is-position-sticky){--wp-admin--admin-bar--position-offset:var(--wp-admin--admin-bar--height,0)}@media screen and (max-width:600px){html :where(.is-position-sticky){--wp-admin--admin-bar--position-offset:0}}

/* ---- wp-block-heading-inline-css ---- */
h1:where(.wp-block-heading).has-background,h2:where(.wp-block-heading).has-background,h3:where(.wp-block-heading).has-background,h4:where(.wp-block-heading).has-background,h5:where(.wp-block-heading).has-background,h6:where(.wp-block-heading).has-background{padding:1.25em 2.375em}h1.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h1.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h2.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h2.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h3.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h3.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h4.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h4.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h5.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h5.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h6.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h6.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]){rotate:180deg}

/* ---- wp-block-image-inline-css ---- */
.wp-block-image>figure>a{display:inline-block}.wp-block-image img{box-sizing:border-box;height:auto;max-width:100%;vertical-align:bottom}.wp-block-image .aligncenter{display:table}.wp-block-image .aligncenter>figcaption{caption-side:bottom;display:table-caption}.wp-block-image .aligncenter{margin-left:auto;margin-right:auto}.wp-block-image :where(figcaption){margin-bottom:1em;margin-top:.5em}@supports ((-webkit-mask-image:none) or (mask-image:none)) or (-webkit-mask-image:none){.wp-block-image.is-style-circle-mask img{border-radius:0;-webkit-mask-image:url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50"/></svg>');mask-image:url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50"/></svg>');mask-mode:alpha;-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain}}:root :where(.wp-block-image.is-style-rounded img,.wp-block-image .is-style-rounded img){border-radius:9999px}.wp-block-image figure{margin:0}.wp-lightbox-container button:focus,.wp-lightbox-container button:hover,.wp-lightbox-container button:not(:hover):not(:active):not(.has-background){background-color:#5a5a5a40;border:none}.wp-lightbox-overlay .wp-lightbox-close-button:focus,.wp-lightbox-overlay .wp-lightbox-close-button:hover,.wp-lightbox-overlay .wp-lightbox-close-button:not(:hover):not(:active):not(.has-background){background:none;border:none}.wp-lightbox-overlay .wp-lightbox-close-button:has(.wp-lightbox-close-text:not([hidden])) .wp-lightbox-close-icon svg{height:1em;width:1em}.wp-lightbox-overlay .wp-lightbox-navigation-button-next:focus,.wp-lightbox-overlay .wp-lightbox-navigation-button-next:hover,.wp-lightbox-overlay .wp-lightbox-navigation-button-next:not(:hover):not(:active):not(.has-background),.wp-lightbox-overlay .wp-lightbox-navigation-button-prev:focus,.wp-lightbox-overlay .wp-lightbox-navigation-button-prev:hover,.wp-lightbox-overlay .wp-lightbox-navigation-button-prev:not(:hover):not(:active):not(.has-background){background:none;border:none;padding:0 8px}.wp-lightbox-overlay .wp-lightbox-navigation-button-next:has(.wp-lightbox-navigation-text:not([hidden])) .wp-lightbox-navigation-icon svg,.wp-lightbox-overlay .wp-lightbox-navigation-button-prev:has(.wp-lightbox-navigation-text:not([hidden])) .wp-lightbox-navigation-icon svg{display:block;height:1.5em;width:1.5em}@keyframes show-content-image{0%{visibility:hidden}99%{visibility:hidden}to{visibility:visible}}@keyframes turn-on-visibility{0%{opacity:0}to{opacity:1}}@keyframes turn-off-visibility{0%{opacity:1;visibility:visible}99%{opacity:0;visibility:visible}to{opacity:0;visibility:hidden}}@keyframes lightbox-zoom-in{0%{transform:translate(calc((-100vw + var(--wp--lightbox-scrollbar-width))/2 + var(--wp--lightbox-initial-left-position)),calc(-50vh + var(--wp--lightbox-initial-top-position))) scale(var(--wp--lightbox-scale))}to{transform:translate(-50%,-50%) scale(1)}}@keyframes lightbox-zoom-out{0%{transform:translate(-50%,-50%) scale(1);visibility:visible}99%{visibility:visible}to{transform:translate(calc((-100vw + var(--wp--lightbox-scrollbar-width))/2 + var(--wp--lightbox-initial-left-position)),calc(-50vh + var(--wp--lightbox-initial-top-position))) scale(var(--wp--lightbox-scale));visibility:hidden}}

/* ---- wp-block-paragraph-inline-css ---- */
.has-drop-cap:not(:focus):first-letter{float:left;font-size:8.4em;font-style:normal;font-weight:100;line-height:.68;margin:.05em .1em 0 0;text-transform:uppercase}body.rtl .has-drop-cap:not(:focus):first-letter{float:none;margin-left:.1em}:root :where(p.has-background){padding:1.25em 2.375em}:where(p.has-text-color:not(.has-link-color)) a{color:inherit}

/* ---- wp-block-separator-inline-css ---- */
.wp-block-separator{border:none;border-top:2px solid}:root :where(.wp-block-separator.is-style-dots){height:auto;line-height:1;text-align:center}:root :where(.wp-block-separator.is-style-dots):before{color:currentColor;content:"···";font-family:serif;font-size:1.5em;letter-spacing:2em;padding-left:2em}

/* ---- global-styles-inline-css ---- */
:root{--wp--preset--aspect-ratio--square:1;--wp--preset--aspect-ratio--4-3: 4/3;--wp--preset--aspect-ratio--3-4: 3/4;--wp--preset--aspect-ratio--3-2: 3/2;--wp--preset--aspect-ratio--2-3: 2/3;--wp--preset--aspect-ratio--16-9: 16/9;--wp--preset--aspect-ratio--9-16: 9/16;--wp--preset--color--black:#000;--wp--preset--color--cyan-bluish-gray:#abb8c3;--wp--preset--color--white:#fff;--wp--preset--color--pale-pink:#f78da7;--wp--preset--color--vivid-red:#cf2e2e;--wp--preset--color--luminous-vivid-orange:#ff6900;--wp--preset--color--luminous-vivid-amber:#fcb900;--wp--preset--color--light-green-cyan:#7bdcb5;--wp--preset--color--vivid-green-cyan:#00d084;--wp--preset--color--pale-cyan-blue:#8ed1fc;--wp--preset--color--vivid-cyan-blue:#0693e3;--wp--preset--color--vivid-purple:#9b51e0;--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple:linear-gradient(135deg,#0693e3 0%,#9b51e0 100%);--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan:linear-gradient(135deg,#7adcb4 0%,#00d082 100%);--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange:linear-gradient(135deg,#fcb900 0%,#ff6900 100%);--wp--preset--gradient--luminous-vivid-orange-to-vivid-red:linear-gradient(135deg,#ff6900 0%,#cf2e2e 100%);--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray:linear-gradient(135deg,#eee 0%,#a9b8c3 100%);--wp--preset--gradient--cool-to-warm-spectrum:linear-gradient(135deg,#4aeadc 0%,#9778d1 20%,#cf2aba 40%,#ee2c82 60%,#fb6962 80%,#fef84c 100%);--wp--preset--gradient--blush-light-purple:linear-gradient(135deg,#ffceec 0%,#9896f0 100%);--wp--preset--gradient--blush-bordeaux:linear-gradient(135deg,#fecda5 0%,#fe2d2d 50%,#6b003e 100%);--wp--preset--gradient--luminous-dusk:linear-gradient(135deg,#ffcb70 0%,#c751c0 50%,#4158d0 100%);--wp--preset--gradient--pale-ocean:linear-gradient(135deg,#fff5cb 0%,#b6e3d4 50%,#33a7b5 100%);--wp--preset--gradient--electric-grass:linear-gradient(135deg,#caf880 0%,#71ce7e 100%);--wp--preset--gradient--midnight:linear-gradient(135deg,#020381 0%,#2874fc 100%);--wp--preset--font-size--small:13px;--wp--preset--font-size--medium:20px;--wp--preset--font-size--large:36px;--wp--preset--font-size--x-large:42px;--wp--preset--spacing--20:.44rem;--wp--preset--spacing--30:.67rem;--wp--preset--spacing--40:1rem;--wp--preset--spacing--50:1.5rem;--wp--preset--spacing--60:2.25rem;--wp--preset--spacing--70:3.38rem;--wp--preset--spacing--80:5.06rem;--wp--preset--shadow--natural:6px 6px 9px rgba(0,0,0,.2);--wp--preset--shadow--deep:12px 12px 50px rgba(0,0,0,.4);--wp--preset--shadow--sharp:6px 6px 0 rgba(0,0,0,.2);--wp--preset--shadow--outlined:6px 6px 0 -3px #fff , 6px 6px #000;--wp--preset--shadow--crisp:6px 6px 0 #000}:where(body) {margin:0}:where(.is-layout-flex){gap:.5em}:where(.is-layout-grid){gap:.5em}.is-layout-flex > :is(*, div){margin:0}.is-layout-grid > :is(*, div){margin:0}body{padding-top:0;padding-right:0;padding-bottom:0;padding-left:0}:root :where(.wp-element-button, .wp-block-button__link){background-color:#32373c;border-width:0;color:#fff;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;padding-top: calc(0.667em + 2px);padding-right: calc(1.333em + 2px);padding-bottom: calc(0.667em + 2px);padding-left: calc(1.333em + 2px);text-decoration:none;text-transform:inherit}

/* ---- настройки темы ---- */
.menu-1{background-color:#000}.menu-1 li:hover{background-color:#000}.menu-toggle{background-color:#000}

/* ---- настройки темы ---- */
.site-title a{color:#000}.site-header{min-height:0}

/* ---- custom-background-css ---- */
body.custom-background{background-image:url(/assets/img/1.jpg);background-position:left top;background-size:auto;background-repeat:repeat;background-attachment:fixed}

/* ---- classic-theme-styles-inline-css ---- */
.wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none}

/* ---- настройки темы ---- */
.menu-1{background-color:#000}.menu-1 li:hover,.menu-1 li.focus{background-color:#000}.menu-1 ul ul li{background-color:#000}.menu-1 .sub-menu li:hover{background-color:#000}.menu-toggle{background-color:#000}.toggled .menu-toggle{background-color:#000}

/* ---- собственные дополнения статической версии ---- */

/* Меню: пункты по центру, как и заголовок сайта.
   В теме они идут float:left и прижимались к левому краю. */
#site-menu {
  text-align: center;
}
#site-menu > li {
  float: none;
  display: inline-block;
  text-align: left;
}

/* Подвал по центру.
   Тема задаёт .site-info { text-align: right } и свою верхнюю линию, поэтому
   правило на родителе не помогало, а линий получалось две. */
.site-footer {
  text-align: center;
}
.site-footer .site-info {
  text-align: center;
  border-top: 0;
  padding-top: 0;
  margin: 0;
}

/* Контакты: телефон и почта ссылками, но без «синевы» */
.entry-content a[href^="tel:"],
.entry-content a[href^="mailto:"],
.widget a[href^="tel:"],
.widget a[href^="mailto:"] {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted #999;
}
.entry-content a[href^="tel:"]:hover,
.entry-content a[href^="mailto:"]:hover,
.widget a[href^="tel:"]:hover,
.widget a[href^="mailto:"]:hover {
  border-bottom-color: #000;
}

.portal-login {
  max-width: 22em;
  margin: 1.5em 0;
}
.portal-row {
  margin: 0 0 1em;
}
.portal-row label {
  display: block;
  margin-bottom: .35em;
  font-size: .95em;
}
.portal-row input {
  width: 100%;
  padding: .55em .7em;
  border: 1px solid #bbb;
  background: #fff;
  font: inherit;
  box-sizing: border-box;
}
.portal-row input:focus {
  outline: 2px solid #000;
  outline-offset: 1px;
}
.portal-row button {
  padding: .6em 2em;
  border: 0;
  background: #000;
  color: #fff;
  font: inherit;
  cursor: pointer;
}
.portal-row button:hover {
  background: #333;
}
.portal-error {
  color: #b3261e;
  font-size: .95em;
}

.site-footer {
  margin-top: 2em;
  padding: 1.5em 0;
  border-top: 1px solid #ddd;
  font-size: .85em;
  color: #555;
}
.site-footer a {
  color: #555;
}

/* область аккредитации — длинные перечни читаются лучше с ограничением строки */
.entry-content {
  overflow-wrap: break-word;
}

/* ---- область аккредитации: справочник с поиском ---- */

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.services-intro {
  margin-bottom: 1.2em;
}

.services-search {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(250, 250, 250, .97);
  padding: .8em 0;
  margin-bottom: .5em;
  border-bottom: 1px solid #ddd;
}
.services-search input {
  width: 100%;
  padding: .65em .8em;
  font: inherit;
  border: 1px solid #999;
  background: #fff;
  box-sizing: border-box;
}
.services-search input:focus {
  outline: 2px solid #000;
  outline-offset: 1px;
}
.services-count {
  margin: .5em 0 0;
  font-size: .9em;
  color: #555;
}

.svc-item {
  border-bottom: 1px solid #e3e3e3;
}
.svc-item summary {
  display: flex;
  align-items: baseline;
  gap: .7em;
  padding: .7em .2em;
  cursor: pointer;
  list-style: none;
}
.svc-item summary::-webkit-details-marker { display: none; }
.svc-item summary::before {
  content: "+";
  flex: 0 0 auto;
  width: 1em;
  color: #888;
  font-weight: bold;
}
.svc-item[open] summary::before { content: "−"; }
.svc-item summary:hover { background: #f2f2f2; }

.svc-num {
  flex: 0 0 auto;
  min-width: 2.2em;
  color: #888;
  font-size: .9em;
}
.svc-name { flex: 1 1 auto; }
.svc-params-count {
  flex: 0 0 auto;
  font-size: .8em;
  color: #777;
  border: 1px solid #ddd;
  border-radius: 1em;
  padding: .1em .6em;
}

.svc-params {
  margin: 0 0 .9em;
  padding-left: 3.6em;
  list-style: none;
}
.svc-params li {
  padding: .18em 0;
  font-size: .95em;
  color: #333;
  border-bottom: 1px dotted #eee;
}

.services-empty {
  padding: 1.5em 0;
  color: #555;
}

@media (max-width: 640px) {
  .svc-params { padding-left: 1.2em; }
  .svc-params-count { display: none; }
}

/* Заголовок сайта: в теме он тонкий (300), название организации из шести
   слов выглядело блёкло для главного элемента страницы. */
.site-title {
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Бланк заявки в боковой панели: значок обтекается текстом, поэтому текст
   идёт на всю ширину колонки — как адрес в соседнем блоке, — а не жмётся
   в узкий столбец справа от картинки. Размер шрифта тоже как у соседей. */
.widget-blank .blank-link {
  display: block;
  overflow: hidden;                 /* обтекание не должно вылезать из блока */
  text-decoration: none;
  color: inherit;
  padding: .4em 0;
}
.widget-blank .blank-link:hover .blank-text {
  text-decoration: underline;
}
.widget-blank img {
  float: left;
  width: 40px;
  height: 40px;
  max-width: none;
  margin: .1em .7em .2em 0;
}
.widget-blank .blank-text {
  display: block;
  line-height: 1.35;
  text-align: left;
}

/* Подсветка совпадений в живом поиске */
.svc-item mark {
  background: #ffe9a8;
  color: inherit;
  padding: 0 .1em;
}

/* Полоса уведомления об обработке данных.
   display: flex перебивает встроенное правило браузера [hidden]{display:none},
   поэтому скрытие атрибутом hidden нужно прописать явно — иначе полоса висит
   на экране даже после согласия, и нажатие кнопки выглядит бесполезным. */
.cookie-bar[hidden] {
  display: none;
}
.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 1.2em;
  padding: .9em 1.4em;
  background: #1a1a1a;
  color: #f0f0f0;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, .25);
}
.cookie-text {
  flex: 1 1 auto;
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}
.cookie-text a {
  color: #fff;
  text-decoration: underline;
}
.cookie-ok {
  flex: 0 0 auto;
  padding: .6em 2.2em;
  border: 0;
  background: #fff;
  color: #000;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.cookie-ok:hover { background: #e0e0e0; }
.cookie-ok:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

@media (max-width: 640px) {
  .cookie-bar {
    flex-direction: column;
    align-items: stretch;
    gap: .8em;
    text-align: left;
  }
  .cookie-ok { width: 100%; }
}
