/*!
Theme Name: sibgazovik
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.1
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: sibgazovik
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

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

sibgazovik is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

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

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

:root {
  --accent: #2c4392;
  --text-accent: #1e3a6b;
  --text-gray: #97a4ba;
  --accent-hover: #6074b5;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  /* word-break: break-word; */
}

*,
*::after,
*::before {
  box-sizing: border-box;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
  color: #1e3a6b;
  overflow-x: hidden;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
  /* color: #404040; */
  font-family:
    "Open Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen-Sans,
    Ubuntu,
    Cantarell,
    "Helvetica Neue",
    sans-serif;
  font-size: 20px;
  line-height: 1.33;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
  margin-bottom: 0.75em;
  margin-top: 1.5em;
}

p {
  margin-bottom: 1em;
}

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;
  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;
}

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

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

big {
  font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
  background: #fff;
}

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

ul,
ol {
  margin: 0 0 1.5em 3em;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

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

dt {
  font-weight: 700;
}

dd {
  margin: 0 1.5em 1.5em;
}

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

img {
  height: auto;
  max-width: 100%;
}

figure {
  margin: 1em 0;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

/* Links
--------------------------------------------- */
a {
  color: var(--accent);
  color: #1e3a6b;
}
/*
a:visited {
  color: #800080;
}

a:hover,
a:focus,
a:active {
  color: #191970;
}

a:focus {
  outline: thin dotted;
} */

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

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

input {
  outline: none;
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1;
  padding: 0.6em 1em 0.4em;
}

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

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
  /* 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: 3px; */
}

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; */
}

select {
  border: 1px solid #ccc;
}

textarea {
  width: 100%;
}

.date {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 20px;
  color: var(--text-gray);
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
  display: block;
  width: 100%;
}

.main-navigation ul {
  display: none;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.main-navigation ul ul {
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  float: left;
  position: absolute;
  top: 100%;
  left: -999em;
  z-index: 99999;
  flex-direction: column;
  width: max-content;
}

.main-navigation ul ul ul {
  left: -999em;
  top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
  display: block;
  left: auto;
}

.main-navigation ul ul a {
  /* width: 200px; */
  padding-left: 10px;
  padding-right: 10px;
}
@media (hover: hover) {
  .main-navigation ul li:hover > ul {
    left: auto;
  }
}
/* .main-navigation ul li:hover > ul, */
.main-navigation ul li.focus > ul {
  left: auto;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  display: block;
  text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
  display: block;
}

@media screen and (min-width: 1100px) {
  .menu-toggle {
    display: none !important;
  }

  .main-navigation ul {
    display: flex;
  }
}

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

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
  display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  text-align: end;
  flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
  display: block;
}

/* .post,
.page {
  margin: 0 0 1.5em;
} */

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

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}

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

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

.bypostauthor {
  display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
  margin: 0 0 1.5em;
}

.widget select {
  max-width: 100%;
}

/* 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 logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

/* 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;
}

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

/* Galleries
--------------------------------------------- */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

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

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

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

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

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

/* Alignments
--------------------------------------------- */
.alignleft {
  /*rtl:ignore*/
  float: left;

  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  /*rtl:ignore*/
  float: right;

  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

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

ul {
  list-style: none;
}

.container {
  max-width: 1810px;
  padding: 0 15px;
  margin: 0 auto;
}

.btn,
input.wpcf7-submit,
input.button,
.search-form .search-submit {
  background-color: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
  padding: 20px 28px;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
  text-align: center;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  line-height: 1;
  cursor: pointer;
}
.btn svg,
input.wpcf7-submit svg {
  flex-shrink: 0;
}
.btn--second {
  background-color: #fff;
  color: var(--accent);
}

/* SITE LAYOUT */
.site-container {
  display: grid;
  column-gap: 4%;
  row-gap: 80px;
  /* grid-template-columns: 76% 20%; */
  grid-template-columns: minmax(0, 70%) minmax(340px, 26%);
}
section + section {
  margin-top: 80px;
}

@media (max-width: 1023px) {
  .site-container {
    grid-template-columns: 100%;
  }
}

/* .site-content {
  flex: 1 1 auto;
}
.site-sidebar {
  flex: 1 1 558px;
} */
/*===================== HEADER =====================*/

.site-header__top-menu {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 15px;
  border-bottom: 1px solid var(--accent);
  max-width: 1660px;
  margin: 0 auto;
}

.site-header__top-menu li a,
.site-header__top-menu li span {
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--accent);
  text-decoration: none;
  padding: 10px 0;
}

@media (max-width: 1615px) {
  .site-header__top-menu li a,
  .site-header__top-menu li span {
    font-size: 20px;
  }
}
@media (max-width: 1100px) {
  .site-header__top-menu li:nth-child(2),
  .site-header__top-menu li:nth-child(3) {
    display: none;
  }
}

.site-header__mid {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  align-items: center;
  margin-top: 25px;
  margin-bottom: 25px;
}

.site-header__logo {
  max-width: 200px;
}
.site-header__title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  line-height: 1;
  color: var(--accent);
}
.site-header__title span {
  font-size: 22px;
  font-style: italic;
}

@media (max-width: 1300px) {
  .site-header__title {
    font-size: 32px;
  }
  .site-header__title span {
    font-size: 20px;
  }
  .site-header__logo {
    width: 180px;
  }
}
@media (max-width: 1023px) {
  .site-header__title {
    font-size: 28px;
  }
  .site-header__title span {
    font-size: 18px;
  }
}
.site-header__btns {
  display: flex;
  gap: 20px;
  align-items: center;
}
.site-header__btns > .btn {
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
@media (max-width: 1615px) {
  .site-header__btns {
    flex-direction: column;
  }
  .site-header__btns > .btn {
    padding-top: 13px;
    padding-bottom: 13px;
  }
}

.site-header__bottom {
  background-color: var(--accent);
}
.site-header__bottom-container {
  display: flex;
  align-items: center;
  position: relative;
}
.header-search {
  align-self: baseline;
}
@media (min-width: 1100px) {
  .header-search {
    align-self: center;
  }
}
.header-search label {
  display: none;
}
.header-search input {
  position: absolute;
  top: calc(100% + 20px);
  right: 0;
  width: 500px;
  z-index: 2;
  max-width: 100%;
}
.header-search .search__button-only .wp-block-search__button {
  background-color: var(--accent);
}
.wp-block-search.wp-block-search__button-only .wp-block-search__button {
  background-color: var(--accent);
}
.wp-block-search__button svg {
  width: 30px;
  height: 30px;
}
/*===================== MAIN MENU =====================*/
.main-menu {
  display: flex;
  justify-content: space-between;
  background-color: var(--accent);
}
.main-menu a {
  padding: 25px 5px;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  background-color: var(--accent);
}
@media (max-width: 1615px) {
  .main-menu a {
    font-size: 20px;
  }
}
.menu-item-has-children > a {
  display: flex;
  align-items: center;
  /* justify-content: center; */
  gap: 6px;
}
.menu-item-has-children > a .dropdown-toggle {
  position: relative;
  width: 100%;
  padding: 10px 0;
}
.menu-item-has-children > a .dropdown-toggle::after {
  display: block;
  content: "";
  background: url("/wp-content/themes/sibgazovik/image/iconns/arrow.svg")
    no-repeat center;
  width: 15px;
  height: 15px;
  background-size: contain;
}
@media (min-width: 1100px) {
  .menu-item-has-children > a .dropdown-toggle {
    padding: 0;
  }
  .menu-item-has-children > a {
    align-items: baseline;
  }
}

.main-menu .sub-menu a {
  background-color: var(--text-accent);
}

/*=====================MAIN SLIDER =====================*/
.main-slider {
  margin-bottom: 80px;
}
.main-slider .swiper-slide {
  padding-bottom: 36.2%;
  position: relative;
  min-height: 435px;
}

.main-slider .swiper-slide__img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
}
.main-slider .swiper-slide__content {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  color: #fff;
  padding: 20px 10%;

  display: flex;
  flex-direction: column;
  gap: 40px;
}

.main-slider .swiper-slide__title {
  margin-top: 110px;
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  /* margin-bottom: 40px; */
}

@media (max-width: 1600px) {
  .main-slider .swiper-slide__title {
    margin-top: 50px;
  }
}
@media (max-width: 1300px) {
  .main-slider .swiper-slide__title {
    margin-top: 40px;
    font-size: 48px;
  }
}
.main-slider .swiper-slide__text {
  font-size: 24px;
  font-weight: 700;
  max-width: 640px;

  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.main-slider .swiper-slide__btn {
  width: 270px;
  font-size: 24px;
  line-height: 1;
}
.main-slider .swiper-button-next,
.main-slider .swiper-button-prev {
  width: 48px;
  height: 48px;
  padding: 10px 0;
  background: var(--accent);
  border-radius: 50%;
}

.main-slider .swiper-button-next::after {
  font-size: 23px;
  margin-left: 7px;
  color: #fff;
}
.main-slider .swiper-button-prev::after {
  font-size: 23px;
  margin-right: 7px;
  color: #fff;
}

.main-slider .swiper-pagination {
  bottom: 40px;
}

.main-slider .swiper-pagination .swiper-pagination-bullet {
  width: 16px;
  height: 16px;
  margin: 0 14px;
  background-color: #d9d9d9;
}
.main-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #e31e24;
}

@media (max-width: 1023px) {
  .main-slider .swiper-slide {
    min-height: 465px;
  }
  .main-slider .swiper-pagination {
    bottom: 8px;
  }
  .main-slider .swiper-pagination .swiper-pagination-bullet {
    height: 16px;
    width: 16px;
    margin: 0 14px;
  }

  .main-slider .swiper-slide__title {
    margin-top: 20px;
    font-size: 40px;
  }
}
@media (max-width: 767px) {
  .main-slider .swiper-slide__title {
    margin-top: 20px;
    font-size: 36px;
  }
  .main-slider .swiper-slide__content {
    position: relative;
    padding: 20px 20px 40px;
    gap: 30px;
  }
  .main-slider .swiper-slide {
    padding: 0;
  }
  .main-slider .swiper-button-next,
  .main-slider .swiper-button-prev {
    display: none;
  }
}
.h2-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;

  position: relative;

  padding-bottom: 20px;
  margin-top: 0;
  margin-bottom: 40px;

  font-size: 32px;
  font-weight: 700;
}
.h2-title::after {
  content: "";
  width: 235px;
  background-color: var(--accent);
  height: 3px;
  bottom: 0;
  left: 0;
  position: absolute;
}

.h2-title__link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 24px;
}
.h2-title__link:hover {
  text-decoration: underline;
}
.h2-title__link::before {
  content: "";
  display: block;
  height: 33px;
  width: 33px;
  background: url("/wp-content/themes/sibgazovik/image/iconns/d-circle.png")
    no-repeat center;
  background-size: contain;
  flex-shrink: 0;
}

@media (max-width: 1100px) {
  .h2-title {
    font-size: 28px;
  }
  .h2-title__link {
    font-size: 22px;
  }

  .h2-title::after {
    width: 205px;
  }
}
@media (max-width: 767px) {
  .h2-title {
    font-size: 22px;
  }
  .h2-title__link {
    font-size: 18px;
  }
  .h2-title::after {
    width: 175px;
  }
  .h2-title__link::before {
    width: 25px;
    height: 25px;
  }
}
/*===================== NEWS SHORT =====================*/

.news__items {
  display: flex;
  flex-wrap: wrap;
  gap: 60px 40px;
}
.news__item {
  flex: 0 0 calc((100% - 40px * 3) / 4);
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-decoration: none;
  /* color:; */
}

@media (max-width: 1100px) {
  .news__item {
    flex: 0 0 calc((100% - 40px * 1) / 2);
  }
}
@media (max-width: 767px) {
  .news__item {
    flex: 0 0 100%;
  }
}
.news__item-img {
  position: relative;
  padding-bottom: 84%;
}
.news__item-img img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
}
.news__item-date {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 20px;
  color: var(--text-gray);
}
.news__item-title {
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
}

/*===================== JORNAL   =====================*/

.jornal__items {
  display: flex;
  gap: 80px 50px;
  flex-wrap: wrap;
}
.jornal__item {
  display: flex;
  gap: 20px;
  font-size: 20px;
  flex: 0 0 calc((100% - 2 * 50px) / 3);
}
@media (max-width: 1615px) {
  .jornal__item {
    flex: 0 0 calc((100% - 1 * 50px) / 2);
  }
}
@media (max-width: 1150px) {
  .jornal__item {
    flex: 1 0 100%;
  }
}
@media (max-width: 375px) {
  .jornal__item {
    font-size: 18px;
  }
}
.jornal__item-img {
  /* padding-bottom: calc(142% / 3); */
  height: 185px;
  position: relative;
  flex: 0 0 130px;
  align-self: flex-start;
}
.jornal__item-img img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
}

@media (max-width: 375px) {
  .jornal__item-img {
    height: 150px;
    flex-basis: 100px;
  }
}

.jornal__item-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.jornal__item-top {
  color: var(--text-gray);
  font-weight: 700;
}
.jornal__item-title {
  font-weight: 700;

  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.jornal__item-text {
  font-weight: 400;

  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.jornal__item-btn {
  margin-top: 20px;
  /* padding: 18px 15px; */
  padding: 18px 8px;
  max-width: 210px;
}
.jornal__year-group:first-child {
  margin-top: 60px;
}
.jornal__year-group + .jornal__year-group {
  margin-top: 60px;
}

.jornal__item-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 15px;
}
/*===================== members-slider =====================*/
.members-slider-container {
  padding: 0 100px;
  position: relative;
}
.members-slider {
  padding-bottom: 90px;
}

@media (max-width: 1300px) {
  .members-slider-container {
    padding: 0 50px;
  }
}
@media (max-width: 767px) {
  .members-slider-container {
    padding: 0;
  }
  .members-slider .swiper-slide__title {
    padding: 0 20px;
  }
  .members-slider-container .swiper-button-next:after,
  .members-slider-container .swiper-button-prev:after {
    font-size: 30px;
  }
  .members-slider {
    padding-bottom: 0;
  }
  .members-slider-container .swiper-pagination {
    display: none;
  }
}

.members-slider .swiper-slide-img {
  padding-bottom: 30%;
  position: relative;
  display: block;
}
.members-slider .swiper-slide-title {
  margin-top: 15px;
  display: block;
  text-decoration: none;
  text-align: center;
}
.members-slider .swiper-slide-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.members-slider .swiper-slide__title {
  font-weight: 700;
  font-size: 24px;
  text-decoration: none;
  text-align: center;
  margin-top: 20px;
}

.members-slider .swiper-pagination .swiper-pagination-bullet {
  width: 16px;
  height: 16px;
  margin: 0 14px;
  background-color: #d9d9d9;
  opacity: 1;
}
.members-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent);
}
/*===================== SiDEBAR SECITON =====================*/
.site-sidebar section {
  border-radius: 8px;
  border: 1px solid var(--accent);
}
.site-sidebar section + section {
  margin-top: 25px;
}
/* experts-side */
.experts-side {
  padding: 25px 40px;
}
.experts-side__title {
  font-size: 32px;
  margin-bottom: 1.1em;
  margin-top: 0;
  text-align: center;
}
.experts-side-slider-container {
  padding: 0 40px;
  position: relative;
  font-weight: 700;
}

.experts-side-slider .swiper-slide {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  font-weight: 700;
}
.experts-side-slider .swiper-slide img {
  max-width: 205px;
  margin: 0 auto;
}

.experts-side-slider .swiper-slide .swiper-slide__title {
  font-size: 24px;
}
.experts-side-slider .swiper-slide .swiper-slide__text {
  font-size: 20px;
}

.experts-side__btn {
  margin-top: 40px;
}
@media (max-width: 767px) {
  .experts-side {
    padding: 25px 0;
  }
  .experts-side-slider-container {
    padding: 0 20px;
  }
  .experts-side__btn {
    margin: 40px 20px 0;
  }
}
/* ===================== NEWS PAGE ===================== */

.page-template-template-news .news-grid {
  margin-top: 80px;
}

.news-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  margin-bottom: 35px;
}

.new-grid__btns {
  width: 100%;
  display: flex;
  gap: 50px;
}
.new-grid__btn {
  flex: 0 0 calc((100% - 50px * 2) / 3);
  font-size: 28px;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .new-grid__btn {
    padding: 13px 8px;
  }
}

.news-grid__item {
  flex: 0 0 calc((100% - 50px * 2) / 3);
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-decoration: none;
}
@media (max-width: 767px) {
  .new-grid__btns {
    flex-wrap: wrap;
    gap: 25px;
  }
  .new-grid__btn {
    flex: 0 0 100%;
  }
  .news-grid__item {
    flex: 0 0 100%;
  }
}
.news-grid__item-img {
  position: relative;
  padding-bottom: 84%;
}
.news-grid__item-img img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
}

.news-grid__item-title {
  font-size: 22px;
  font-weight: 700;
}
.news-grid__item-date {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 20px;
  color: var(--text-gray);
}

.news-grid__h2-title {
  width: 100%;
  margin: 0;
}

.news-grid--member .news-grid__item-img {
  padding-bottom: 25%;
}
.news-grid--member .news-grid__item-img img {
  object-fit: contain;
}
.news-grid--member .news-grid__item-title {
  text-align: center;
}

/*=====================  POST PAGE  =====================*/

.post-page__title {
  font-size: 42px;
  color: #fff;
  background: url("/wp-content/themes/sibgazovik/image/bg-post-title.jpg")
    no-repeat center;
  background-size: cover;
  padding: 45px 0px;
  margin-top: 0;
}

@media (max-width: 1100px) {
  .post-page__title {
    font-size: 38px;
  }
}
@media (max-width: 767px) {
  .post-page__title {
    font-size: 32px;
  }
}

.menu-side-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  width: 100%;
}
.menu-side {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
}
.menu-side li {
  border-bottom: 1px solid var(--text-gray);
}
.menu-side li:last-child {
  border: none;
}
.menu-side li a {
  display: inline-block;
  padding: 10px 20px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 24px;
  text-decoration: none;
}
.suggest-news {
  padding: 30px 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.suggest-news__btn {
  width: calc(100% - 60px);
  text-transform: uppercase;
}

/*=====================  FOOTER  =====================*/
.site-footer {
  padding-top: 24px;
  background-color: #ebedec;
  font-size: 24px;
  color: #1e3a6b;
  font-weight: 700;
  margin-top: 80px;
}
.site-footer a {
  text-decoration: none;
}
.footer-container {
  display: flex;
  gap: 35px 25px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer__col {
  display: flex;
}

.footer__logo {
  width: 200px;
  align-self: center;
}
.footer__btns {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.footer__menu,
#menu-footer {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 0;
  padding: 0;
}
.footer__menu a,
.footer__menu span,
#menu-footer a {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #1e3a6b;
  padding: 3px 0;
}

.footer__title {
  max-width: 300px;
  display: flex;
  flex-direction: column;
}
.footer__title span {
  font-style: italic;
  margin-top: 50px;
  font-size: 20px;
}

.footer__bottom {
  background-color: var(--accent);
  color: #fff;
  padding: 20px;
  text-align: center;
  /* margin: 0 auto; */
  margin-top: 40px;
}
.footer__bottom-container {
  display: flex;
  justify-content: end;
  align-items: center;
  position: relative;
  min-height: 48px;
  gap: 10px;
}
.footer__copy {
  margin: 0 auto;
}
.footer__up {
  border-radius: 50%;
  width: 48px;
  height: 48px;
  background-color: #fff;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  /* position: absolute;
  top: 50%;
  transform: translateY(-50%); */
}

@media (max-width: 1615px) {
  .footer__col:nth-child(4) {
    order: 1;
  }
  .footer__col:nth-child(2) {
    flex-grow: 1;
  }
}
@media (max-width: 1300px) {
  .footer__menu,
  #menu-footer {
    gap: 0px;
  }
  .footer__col:nth-child(3) {
    order: 2;
  }
  .footer__col:nth-child(5) {
    order: 3;
  }
}
@media (max-width: 969px) {
  .site-footer {
    font-size: 20px;
  }
  .footer__col:nth-child(3) {
    flex: 1 0 40%;
  }
  .footer__col:nth-child(4) {
    order: 5;
  }
  .footer__bottom {
    font-size: 16px;
  }
}
.footer__menu .footer__8t {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: start;
}
/*===================== TABS =====================*/
.tabs-container {
  padding: 10px 0 0px;
}

/* Заголовки-кнопки */
.tabs-side .tabs-header {
  display: flex;
  gap: 8px;
  padding: 0 20px;
  justify-content: space-between;
  border-bottom: 1px solid var(--accent);
}

.tabs-side .tab-btn {
  padding: 18px 0px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 22px;
  position: relative;
  transition: all 0.3s ease;
}

@media (max-width: 1615px) {
  .tabs-side .tab-btn {
    font-size: 20px;
  }
}
@media (max-width: 375px) {
  .tabs-side .tabs-header {
    padding: 0 15px;
  }
  .tabs-side .tab-btn {
    font-size: 17px;
  }
}
.tab-btn:hover {
}

/* Активная кнопка */
.tab-btn.active {
}

.tabs-side .tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

/* Контент */
.tabs-content {
  /* min-height: 150px; */
  min-height: 90px;
}
.tabs-side .tab-pane {
  padding: 0px 20px;
}
.tab-pane {
  display: none;

  animation: fadeIn 0.3s ease;
}

.tab-pane.active {
  display: flex;
  flex-direction: column;
}

.tab-pane-list {
  padding: 0;
  margin: 0;
}
.tab-pane-list > li {
  padding: 24px 0;
  border-bottom: 1px solid var(--accent);
}
.tab-pane-list > li a {
  text-decoration: none;
}
.tab-pane-list-item-date {
  color: var(--text-gray);
  font-size: 20px;
}
.tab-pane-list-item-title {
  font-weight: 700;
  font-size: 24px;
}

.tab-pane-link {
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 24px auto;
  font-size: 24px;
  text-decoration: none;
}

@media (max-width: 1300px) {
  .tab-pane-list-item-title {
    font-size: 20px;
  }
  .tab-pane-list-item-date {
    font-size: 18px;
  }
  .tab-pane-link {
    font-size: 20px;
  }
  .tab-pane-link svg {
    width: 20px;
  }
}
@media (max-width: 767px) {
  .tab-pane-list > li {
    padding: 18px 0;
  }
  .tab-pane-list-item-title {
    font-size: 18px;
  }
  .tab-pane-list-item-date {
    font-size: 16px;
  }
}

/* Анимация появления */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================== CONTACT FORM 7 CF7 ====================== */
.wpcf7-form {
  text-align: center;
}
.wpcf7-form > p > label {
  display: flex;
  justify-content: end;
  /* align-items: center; */
  text-align: right;
  /* width: 100%; */
  /* margin: 0 auto; */
  /* max-width: 540px; */
}
.wpcf7-form > p > label > span {
  flex: 0 0 50%;
  text-align-last: left;
}
.wpcf7-form > p > label > span > input {
  border: none;
  border-bottom: 1px solid var(--accent);
  border-radius: 0;
  padding-left: 8px;
}

input.wpcf7-submit {
  margin: 0 auto;
  padding: 10px 30px;
}

.entry-header {
  text-align: center;
}

@media (max-width: 767px) {
  .site-header__mid,
  .site-header__top {
    display: none !important;
  }
}

.magazine-post-image-wrapper {
  display: flex;
  gap: 20px;
}

.magazine-post-image-wrapper .post-thumbnail {
  flex: 0 0 auto;
  max-width: 500px;
}
.theme-excerpt {
  margin-bottom: 20px;
}

.page-numbers {
  display: flex;
  margin: 0;
  padding: 0;
  gap: 10px;
}

/* Навигация по записям */
.post-navigation .nav-links {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 30px 0;
}
.nav-links a {
  text-decoration: none;
}
.nav-links a:hover .nav-title {
  text-decoration: underline;
}

/* Подпись "Следующая статья:" — на своей строке */
.post-navigation .nav-subtitle {
  display: block; /* <-- вот это переносит название на новую строку */
  margin-bottom: 4px;
}

/* Название статьи — новая строка + FZ и bold */
.post-navigation .nav-title {
  display: block; /* на всякий случай, чтобы точно с новой строки */
  font-size: 24px; /* <-- ваш FZ */
  font-weight: 700; /* <-- ваш bold */
}

/* ЦЕЛИ И ЗАДАЧИ GOALS */
.page-template-template-associan-goal .h2-title {
  font-size: 24px;
  padding-bottom: 15px;
  margin-bottom: 20px;
}
.page-template-template-associan-goal .h2-title::after {
  width: 315px;
}

.flex {
  display: flex;
  margin: 0 -15px;
  flex-wrap: wrap;
  row-gap: 40px;
  margin-bottom: 50px;
}
.col-2 {
  flex: 0 0 50%;
  padding: 0 15px;
  font-weight: 700;
}
.col-1 {
  flex: 0 0 100%;
  padding: 0 15px;
  font-weight: 700;
}

.goal__items {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
}

.goal__item {
  display: flex;
  flex-wrap: wrap;
  flex: 0 0 calc(50% - 50px);
  gap: 15px;
  align-content: start;
}

.goal__item-title {
  font-size: 22px;
  flex-basis: 100%;
  font-weight: 700;
}

.goal__item-img {
  flex: 0 0 85px;
}
.goal__item-text {
  flex: 1 1 1px;
}
.association-goal__gimn-wrapper {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}
.association-goal__gimn {
  text-transform: uppercase;
  display: inline-flex;
}
@media (max-width: 767px) {
  .association-goal__gimn-wrapper {
    flex-direction: column;
  }
  .association-goal__gimn {
    align-self: center;
  }
}
/* Memebers PAGE СТРАНИЦА ЧЛЕНЫ АССОЦИАЦИИ */
.members-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 80px 50px;
  margin-bottom: 35px;
}

.members-grid__item {
  flex: 0 0 calc((100% - 50px * 2) / 3);
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-decoration: none;
}
@media (max-width: 767px) {
  .members-grid__item {
    flex: 0 0 100%;
  }
}
.members-grid__item-wrapper-img {
  padding: 50px;
}
.members-grid__item-img {
  position: relative;
  padding-bottom: 25%;
}
.members-grid__item-img img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: contain;
}
.members-grid__item-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 0.5em;
  text-decoration: none;
}
.members-grid__item-content {
  display: flex;
  flex-direction: column;
  background-color: #ebedec;
  padding: 30px 60px 30px;
  flex-grow: 1;
}

.members-grid__item-adress {
  margin-bottom: auto;
}
.members-grid__item-list {
  padding: 0;
  margin: 15px 0 10px;
  /* margin-bottom: 10px; */
}
/* .members-grid__item-adress + .members-grid__item-link {
  margin-top: 15px;
} */
.members-grid__item-link {
  display: flex;
  gap: 15px;
  align-items: center;
  border-top: 1px solid black;
  padding: 3px;
  min-height: 33px;
  text-decoration: none;
}
.members-grid__item-list li:last-child {
  border-bottom: 1px solid black;
}

.members-grid__item-link img {
  width: 20px;
}

.post-page__content ul {
  list-style: disc;
  padding-left: 20px;
  margin-left: 20px;
}
.post-page__content ol {
  padding-left: 20px;
  margin-left: 20px;
}

.member__contacts {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.tabs-container--member .tabs-header {
  display: flex;
  justify-content: start;
  gap: 20px;
  margin-bottom: 45px;
}

.tabs-container--member .btn--second.active {
  color: #fff;
  background-color: var(--accent);
}

/* SOVET PAGE СОСТАВ АССОЦИАЦИИ  */

.sovet__items {
  display: flex;
  gap: 50px 100px;
  flex-wrap: wrap;
  justify-content: center;
}
.sovet__items.jccenter {
  justify-content: center;
}
@media (min-width: 768px) {
  .sovet__items {
    display: flex;
    gap: 50px;
    flex-wrap: nowrap;
    justify-content: start;
  }
}
@media (min-width: 1024px) {
  .sovet__items {
    gap: 50px 100px;
  }
}

.sovet__item {
  display: flex;
  flex-direction: column;
  width: 100%;
  width: 400px;
  text-align: center;
}
@media (min-width: 768px) {
  .sovet__item {
    width: 400px;
  }
}
.sovet__item-img {
  max-width: 300px;
  margin: 0 auto 20px;
}
.sovet__item-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;

  display: flex;
  justify-content: center;
}
.sovet__item-title div {
  padding-bottom: 10px;
  border-bottom: 3px solid var(--accent);
}
.sovet__item-text {
}

.sovet-hor__items {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.sovet-hor__item {
  max-width: 100%;
  width: 600px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--accent);
}

.sovet-hor__item-title {
  font-weight: 700;
  font-size: 24px;
}

/* COntact page Контакты  */
.contact-page__items {
  display: flex;
  flex-wrap: wrap;
  gap: 80px 50px;
  margin-bottom: 35px;
}

.contact-page__item {
  flex: 0 0 calc((100% - 50px * 2) / 3);
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  padding-top: 15px;
}

@media (max-width: 767px) {
  .contact-page__item {
    flex: 0 0 100%;
  }
}
.contact-page__item + .contact-page__item::before {
  content: "";
  position: absolute;
  width: 3px;
  height: 150px;
  left: -27px;
  top: 0;
  background-color: var(--accent);
}

.contact-page__item-title {
}

.contact-page__item-link {
  font-weight: 700;
  text-decoration: none;
}

a.contact-page__item-link:hover {
  text-decoration: underline;
}

.contact-page__item-btn {
  width: fit-content;
}

.post-page__content {
  margin-bottom: 80px;
}

.nav-links {
  display: flex;
  gap: 10px;
}

/* Удаление ссылки у страницы войти */
.page-id-3718 .wpum-action-links li:first-child {
  display: none !important;
}

.form-page .container {
  max-width: 1100px;
}
.page-id-3718 .site-main .container {
  max-width: 500px;
}

.page-id-3718 .wpum-action-links {
  text-align: right;
  margin-top: -50px;
}

.page-id-3719 .wpum-action-links {
  display: none;
}

.fieldset-user_cover {
  display: none;
}

.member-actions {
  display: flex;
  gap: 20px;
}

/* ТЕСТ */
/* Алфавитный указатель */
.alphabet {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 20px 0;
}
.alphabet__letter {
  display: inline-block;
  min-width: 32px;
  text-align: center;
  padding: 4px 8px;
  text-decoration: none;
  /* color: #333; */
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  transition:
    background 0.15s,
    color 0.15s;
}
.alphabet__letter:hover {
  background: #f0f0f0;
}
.alphabet__letter--disabled {
  color: #ccc;
  border-color: #eee;
  cursor: default;
  pointer-events: none;
}

/* Поиск */
.members-search {
  position: relative;
  max-width: 1000px;
  margin: 0 0 30px;
}
.members-search input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  box-sizing: border-box;
}
.members-search__suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ccc;
  border-top: none;
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 320px;
  overflow-y: auto;
  display: none;
  z-index: 100;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}
.members-search__suggestions li {
  border-bottom: 1px solid #eee;
}
.members-search__suggestions li:last-child {
  border-bottom: none;
}
.members-search__suggestions a {
  display: block;
  padding: 10px 12px;
  text-decoration: none;
  color: #333;
}
.members-search__suggestions a:hover {
  background: #f5f5f5;
}

/* Группы по буквам */
.members-grid__group {
  scroll-margin-top: 20px; /* подгони под высоту шапки, если она фиксированная */
  margin-bottom: 30px;
}
.members-grid__group-title {
  font-size: 26px;
  margin: 20px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid #eee;
}
.members-grid__group-items {
  /* если .members-grid у тебя был grid/flex, здесь можно оставить как есть,
       или продублировать его раскладку, например: */
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.search-form {
  display: flex;
  align-items: center;
  width: 700px;
  max-width: 100%;
  gap: 15px;
}
.search-form label {
  width: 100%;
}
.search-form .search-field {
  width: 100%;
}
/* search page */
.search-form .search-submit {
  display: inline-flex;
  padding: 15px 28px;
}

.experts-page-rnd-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: wrap;
}

.pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

@media (max-width: 767px) {
  .pagination-wrap {
    flex-direction: column;
    gap: 20px;
    align-items: start;
  }
  .news-page-btn {
    align-self: center;
  }
}

/* SEARCH PAGE */
.search article + article {
  margin-top: 80px;
}
.search-card {
  display: flex;
  align-items: center;
  gap: 20px 50px;
}

.search-card__img {
  max-width: 400px;
  flex-shrink: 0;
}
@media (max-width: 1200px) {
  .search-card__img {
    max-width: 300px;
  }
}
.search-card__content {
  display: flex;
  flex-direction: column;
}
.search-card .entry-header h2 {
  margin-top: 0;
}
.search-card .entry-header a {
  text-decoration: none;
}

.search-card .entry-summary {
  margin: 0;
}

@media (max-width: 768px) {
  .search-card {
    flex-direction: column;
  }
  .search-card__img {
    max-width: max-content;
  }
  .search-card .entry-header h2 {
    font-size: 24px;
  }
  .search article + article {
    margin-top: 60px;
  }
}

/* account form */
.wpum-account-page .wpcf7-form {
  text-align: left;
}

.wpum-account-page .wpcf7-form > p > label {
  display: inline;
}

.wpum-account-page input.wpcf7-submit {
  margin: 0;
}
