:root {

    --red-color: rgba(255, 0, 0, 0.7);

    --black-color: #212121;

    --ligth-red-color: rgba(255, 0, 0, 1);

    --dark-gray: #252525;

    --body-bcgr-color: #f7f7f7;

    --body-alternative-bcgr-color: gray;


    --main-font-color: #212121;

    --spec-font-color: #d85f1e;

    --alternative-font-color: #fff;


    --title-color: #000;

    --no-active: #cfcfcf;

    --light-gray: #ddd;

    --gray-color-1: #fbfbfb;

    --orange-color: #d85d1f;

    --blue-color: #0081af;

    --border-color: #f5f5f5;

    --bcgr-footer-color: #7d8182;

    --white-color: #fff;

    --yellow-color: #ffc100;

    --dark-red-color: #9d4b1b;

    --light-gray-color: #dadada;

    --for-use-inf-1-color: #d75f23;

    --for-use-inf-2-color: #c74602;

    --for-use-inf-3-color: #af3e02;

    --for-use-inf-4-color: #9a3700;

    --for-use-inf-light-color: #f5d6c4;

    --gray-color: #9f9f9f;

    --gray-background-color: rgba(159, 159, 159, 0.7);

    --red-transparent-color: rgba(216, 95, 30, 0.75);


    --content-width: 1200px;

    --standard-padding: 15px;

}

@font-face {
    font-family: "icons";
    src: url("/wp-content/themes/featherlab/fonts/icons/icomoon.woff") format("woff");
}

@font-face {
    font-family: "spec";
    src: url("/wp-content/themes/featherlab/fonts/Intro.woff2") format("woff2");
    font-style: normal;
    font-weight: 300;
}

@font-face {
    font-family: "main";
    src: url("/wp-content/themes/featherlab/fonts/opensans/OpenSans-Light.ttf") format("truetype");
    font-style: normal;
    font-weight: 300;
}

@font-face {
    font-family: "main";
    src: url("/wp-content/themes/featherlab/fonts/opensans/OpenSans-Medium.ttf") format("truetype");
    font-style: normal;
    font-weight: 500;
}

@font-face {
    font-family: "main";
    src: url("/wp-content/themes/featherlab/fonts/opensans/OpenSans-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: "main";
    src: url("/wp-content/themes/featherlab/fonts/opensans/OpenSans-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
}

@font-face {
    font-family: "main";
    src: url("/wp-content/themes/featherlab/fonts/opensans/OpenSans-ExtraBold.ttf") format("truetype");
    font-style: normal;
    font-weight: 800;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    background: #fff;
    color: var(--main-font-color);
}

body {
    font-family: main !important;
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    padding: 15px 0;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    background-color: var(--body-bcgr-color);
}

a {
    color: var(--alternative-font-color);
    text-decoration: none;
}

a:visited {
    color: var(--alternative-font-color);
}

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

address,
.address {
    display: block;
}

li {
    display: block;
    list-style-type: none;
}

.p:not(:last-child) {
    margin-bottom: .5rem;
}

.section {}

.site-header {
    /*    background-color: #ebebeb;*/
}

.site-footer {
    background-color: var(--black-color);
    color: var(--alternative-font-color);
    font-size: .9rem;
}

.site-header {
    font-size: .9rem;
}

.header-info-block {
    padding: 15px 0;
}

.logo-block {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    text-decoration: none;
}

.logo-block .a {
    display: block;
}

.logo-block .img-wrapper {
    width: 40%;
}

.logo-block .img-wrapper .img {
    max-width: 100%;
}

.section.banner .img-wrapper .img {
    border-top: 5px solid var(--black-color);
}

.logo-block .slogon {
    width: 60%;
    padding-left: 20px;
    font-size: 1.35rem;
}

.logo-block .slogon span {
    display: block;
    margin-bottom: .25rem;
}

.contacts {
    text-align: right;
}

.contacts .a {
    display: inline-block;
    text-decoration: none;
    display: block;
}

.contacts span {
    display: block;
    padding: 5px 5px 5px 45px;
}

.contacts .btn {
    padding: 5px 5px 5px 45px;
    /*border: 1px solid var(--light-gray);
    border-radius: 4px;*/
    margin-bottom: 5px;
    /*    padding-left: 45px;    */
}

.work-time .p span {
    display: block;
    margin-bottom: .25rem;
}

div.work-time {
    padding-left: 100px;
}

.site-main {
    padding-bottom: 30px;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    background-color: var(--black-color);
    color: var(--alternative-font-color);
    min-height: 45px;
}

.main-nav a {
    color: var(--body-bcgr-color);
}

.main-nav .li {
    list-style-type: none;
}

.main-nav .a {
    padding: 7px 15px;
    text-decoration: none;
}

.main-nav .menu-item {
    list-style-type: none;
    transition: .25s;
}

.main-nav .menu-item:hover a {
    background-color: var(--alternative-font-color);
    color: var(--black-color);
}

.main-nav .menu-item a {
    display: block;
    padding: 15px;
    text-decoration: none;
}

.main-nav .menu-item:not(:last-child) {
    margin-right: 5px;
}

.main-nav .current-menu-item,
.main-nav .current-category-parent>a {
    font-weight: 600;
}

.menu-item-has-children {
    position: relative;
}

.menu-item-has-children .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--orange-color);
    box-shadow: 4px 8px 9px #0000003b;
    z-index: 1;
    min-width: 290px;
}

.menu-item-has-children:hover .sub-menu {
    display: block;
}

.main-nav .sub-menu .menu-item,
.main-nav .sub-menu .menu-item:last-child {
    margin: 0;
}

.sub-menu .menu-item a {
    display: block;
    transition: .25s;
    margin: 0;
}

.sub-menu .menu-item a:hover {
    background-color: var(--orange-color);
}

a.news-preview {
    text-decoration: none;
}

.news-preview {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.news-preview .date-place {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    font-size: 10px;
    padding: 0 15px;
    line-height: 15px;
    text-align: center;
    color: #838383;
}

.site-footer .container {
    padding-top: 15px;
    padding-bottom: 15px;
}

.news {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    text-decoration: none;
    background-color: white;
    border-radius: 10px;
    padding: 15px;
    transition: .25s;
}

.news:hover {
    /*    box-shadow: 0 0 0 #000;*/
    box-shadow: 0 0px 10px 0px #bbb
}

.news-thumbnail {
    position: relative;
}

.news-thumbnail {
    position: relative;
    width: 25%;
    min-width: 25%;
    /*margin-right: 30px;*/
}

.news-thumbnail .proportion-saver {
    width: 100%;
    padding-bottom: 67%;
}

.news-thumbnail .proportion-saver .wp-post-image {
    position: absolute;
    height: 100%;
    width: auto;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
}


/*  Блок для сохранения пропорций фото. Общие стили */

.proportion-saver {
    position: relative;
    width: 100%;
    padding-bottom: 67%;
    overflow: hidden;
}

.proportion-saver .img-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.proportion-saver .img-wrapper .img {
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    height: 100%;
    width: auto;
    transform: translate(-50%, -50%);
}

/*  / Блок для сохранения пропорций фото. Общие стили */


/* section banner */

.section.banner {
    position: relative;
}

.section.banner .container {
    position: absolute;
    width: 100%;
    max-width: var(--content-width);
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.section.banner .h1 {
    font-family: "spec";
    font-size: 34px;
    max-width: 670px;
}

.section.banner .h1 .small-text {
    font-size: 18px;
    font-weight: normal;
}



.current-menu-parent>a,
.current-menu-item>a {
    font-weight: 600;
    color: #AF4835;
}

.address-wrapper {
    margin-bottom: 30px;
}


/* стили для редактора */

.alignright {
    float: right;
    margin-left: 30px;
}

.alignleft {
    float: left;
    margin-right: 30px;
}

.entry-content p {
    /*    text-indent: 2rem;*/
    line-height: 1.5rem;
    margin-bottom: 1rem;
}

.entry-content p img {
    margin-bottom: 30px;
    display: block;
    max-width: 100%;
}

.entry-content a {
    text-underline-offset: .25rem;
    text-decoration-style: dashed;
}

.entry-content .post-galery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
}

.old-site-body .entry-content .post-galery img {
    display: block;
    width: calc(50% - 7.5px);
    height: auto;
    margin: 0 15px;
    align-items: flex-start;
    margin-bottom: 15px;
}

.old-site-body .entry-content>*>img.fullwidth {
    max-width: 100%;
    width: 100%;
    height: auto;
}

.entry-content .post-galery img:nth-child(1n) {
    margin-left: 0;
}

.entry-content .post-galery img:nth-child(2n) {
    margin-right: 0;
}

/* /стили для редактора */


.poster-preview {
    text-decoration: none;
    position: relative;
    padding-bottom: 15px;
}

.poster-preview .date-place {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    font-size: 10px;
    padding: 0 15px;
    line-height: 15px;
    text-align: center;
    color: #838383;
}

.poster-preview .proportion-saver {
    position: relative;
    padding-bottom: 140%;
    overflow: hidden;
}


.show-preview .proportion-saver {
    position: relative;
    padding-bottom: 67%;
    overflow: hidden;
}

/*  news-section */


.section>.container {
    padding-top: 15px;
}



.news-link {
    position: relative;
}

.date-wrp {
    position: absolute;
    bottom: 0;
    left: 15px;
    font-size: 12px;
    color: #7a7a7a;
    line-height: 15px;
}

.left-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 200px;
    height: 100%;
    background-color: var(--black-color);
    z-index: 99999;
}



.page-404 {
    display: flex;
    justify-content: center;
    align-items: center;
}


.left-block .img {
    background-image: url(/wp-content/themes/featherlab/img/404.png);
    background-repeat: no-repeat;
    margin-left: 500px;
    height: 500px;
    width: 348px;
}

.right-block {
    width: 100%;
    height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.right-block .h1 {
    font-size: 170px;
    color: var(--orange-color);
    padding: 0;
}

.right-block .second {
    font-size: 65px;
    color: var(--dark-red-color);
}

.right-block .third {
    font-size: 20px;
    color: var(--bcgr-footer-color);
}

.about-project-nav .p {
    text-align: center;
    background-color: var(--black-color);
    color: var(--alternative-font-color);
    padding: 15px;
    transition: background-color .25s;
    margin: 0 -15px;
    border-left: 1px solid var(--alternative-font-color);
    font-weight: 600;
}

.about-project-nav .p:hover {
    background-color: var(--orange-color);
}



.about-project-nav-second .proportion-saver {
    padding-bottom: 150%;
}

.about-project-nav-second .proportion-saver:before {
    content: "\e918";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-family: "icons";
    font-size: 192px;
    color: var(--orange-color);
    line-height: 281px;
    text-align: center;
}

.about-project-nav-second .description {
    margin: 50px;
}

.about-project-nav-second .p {
    color: var(--black-color);
    padding: 15px;
    transition: background-color .25s;
    margin: 0 -15px;
    font-weight: 800;
}

.over-collaction-not-bold {
    border-top: 1px solid var(--light-gray-color);
    padding-top: 40px;
    padding-bottom: 40px;
}

.about-project-nav-second .red {
    color: var(--orange-color);
}

.about-project-nav-second .italic {
    font-style: italic;
}



.about-project-nav-third .up {
    color: var(--orange-color);
    font-size: 100px;
    font-weight: 700;
}

.about-project-nav-third .red {
    color: var(--orange-color);
    font-size: 21px;
    font-weight: 700;
}

.about-project-nav-third .right {
    border-left: 1px solid var(--light-gray-color);
    padding-left: 120px;
}

.about-project-nav-third .down {
    color: var(--black-color);
    font-weight: 600;

}


/* .about-project-nav-third .proportion-saver:before{
    content: "\e919";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-family: "icons";
    font-size: 192px;
    color: var(--light-gray-color);
    line-height: 281px;
    text-align: center;
} */

.about-project-nav-third {
    padding-bottom: 5%;
}

.about-project-nav-fourth .col-md-1 {
    border-bottom: 1px solid var(--dark-red-color);
}

.about-project-nav-fourth {
    font-weight: 600;
    text-align: center;
    font-size: 25px;
    color: var(--orange-color);
}

.about-project-nav-fifth {
    display: flex;
    font-weight: 800;
    text-align: center;
}

.about-project-nav-fifth .p {
    padding: 20px 70px 20px 70px;
}



.button.download {
    position: relative;
    border: none;
    border-top: 1px solid var(--dark-red-color);
    color: var(--orange-color);
    background: none;
    width: 130px;
    padding: 15px 15px 15px 45px;

}

.button.download:before {
    content: "\e90e";
    position: absolute;
    left: 0;
    top: 0;
    width: 45px;
    height: 100%;
    text-align: center;
    font-size: 35px;
    line-height: 53px;
}

.about-project-nav-seventh {
    display: grid;
    justify-content: center;
    align-content: center;
    justify-items: center;
}

.about-project-nav-seventh .col-md-8 {
    display: grid;
    justify-items: center;
    row-gap: 15px;

}

.about-project-nav-seventh .first {
    background-color: var(--orange-color);
    color: var(--alternative-font-color);
    font-size: 26px;
    font-weight: 750;
    padding: 5px 50px 5px 50px;
    text-align: center;
}

.about-project-nav-seventh .first .right {
    font-size: 21px;
    font-weight: 600;
}

.about-project-nav-seventh .second {
    text-align: center;
    max-width: 550px;
    color: var(--main-font-color);
    font-size: 21px;
    font-weight: 800;
}

.about-project-nav-seventh .third {
    text-align: center;
}

.upper-nav {
    background-image: url('/wp-content/themes/featherlab/img/main_collection_bg.jpg');
    height: 100px;
    justify-content: center;
    margin-bottom: 60px;
    margin-top: 10px;
}

.upper-nav .span {
    display: flex;
    justify-content: center;
    color: var(--alternative-font-color);
    font-size: 19px;
    background-image: url("/wp-content/themes/featherlab/img/forum_add.png");
    background-repeat: no-repeat;
    width: 410px;
    height: 100px;
    align-items: center;
    font-weight: 600;
    padding-left: 50px;
}

.forum-about-project-nav .p {
    text-align: center;
    border: 1px solid var(--light-gray-color);
    color: var(--main-font-color);
    padding: 15px;
    transition: background-color .25s;
}

.forum-about-project-nav .p:hover {
    background-color: var(--orange-color);
    color: var(--alternative-font-color);
}

.forum-about-project-nav .row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.forum-about-project-nav .p,
.select {
    margin-bottom: 0;
}

.forum-about-project-nav .select {
    border: none;
    border-bottom: 1px solid var(--light-gray-color);
    padding: 5px 15px 5px 15px;
    margin-left: 15px;
    background-color: #fff;
}

.container {
    padding: 0;
}

.forum-about-project-nav {
    padding: 15px;
}

.container .forum {
    padding-top: 15px;
    padding-bottom: 15px;
}

.container .forum .about-comment {
    border-bottom: 1px solid var(--light-gray-color);
}

.container .forum .about-place {
    font-size: 13px;
    font-style: italic;
    color: var(--gray-color);
    background-color: white;
}

.w3-center {
    display: flex;
    justify-content: center;
    align-items: start;
}

.w3-center .w3-button {
    font-weight: 500;
    font-size: 13px;
    color: var(--black-color);
    transition: background-color .25s;
}

.w3-center .w3-bar {
    position: relative;
    top: 25px;
}

.w3-center .previos-page {
    position: relative;
    padding: 40px 15px 15px 15px;
}

.w3-center .previos-page:before {
    content: "\e907";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 30px;
    line-height: 53px;
    color: var(--black-color);
    margin-top: 10px;
}

.w3-center .next-page {
    position: relative;
    padding: 40px 15px 15px 15px;
    margin-left: 10px;
}

.w3-center .next-page:after {
    content: "\e913";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 30px;
    line-height: 53px;
    color: var(--black-color);
    margin-top: 10px;
}

.w3-center .w3-button {
    position: relative;
    padding: 40px 0px 45px 15px;
}

.w3-center .w3-button:after {
    content: "\e90c";
    position: absolute;
    left: 4px;
    bottom: 0px;
    font-size: 30px;
    line-height: 53px;
    color: var(--black-color);
}

.w3-center .w3-button:hover,
.w3-button:hover::after,
.w3-center .previos-page:hover::before .w3-center .next-page:hover::after {
    color: var(--orange-color);
}

.feather-compilations,
.feather-collection-by,
.new-on-forum {
    background-color: var(--dark-gray);
}

.useful-information {
    padding: 15px;
}

.useful-information .col-md-4 {
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    background-color: var(--black-color);
    color: var(--alternative-font-color);
    padding: 15px;
    transition: background-color .25s;
    margin: 0 0 0 0;
    border-left: 1px solid var(--alternative-font-color);
    font-weight: 600;
    font-size: 13px;
    height: 50px;
}

.useful-information .col-md-4:hover {
    background-color: var(--orange-color);
}

.useful-information .first-child {
    margin-left: 0;
}

.pages-for-useful-information {
    background-image: url(/wp-content/themes/featherlab/img/inf_background.png);
    height: 1080px;
}

.useful-information.first-child {
    border-bottom: 1px solid var(--light-gray-color);
    padding-top: 0;
}

.useful-information.last-child {
    padding-bottom: 0;
}

.useful-information-second {
    display: flex;
    justify-content: end;
    background-image: url(/wp-content/themes/featherlab/img/inf_banner.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    padding: 120px 15px 200px;
}

.useful-information-second .first {
    color: var(--alternative-font-color);
    font-size: 21px;
    font-weight: 600;
}

.useful-information-second .second {
    color: var(--main-color);
    padding-top: 30px;
    font-weight: 800;
}

.container-fluid.second {
    background-image: url(/wp-content/themes/featherlab/img/inf-background.png);
}

.useful-information-second .third {
    color: var(--main-color);
    padding-top: 70px;
    font-weight: 600;

}

.useful-information-second .third .a {
    color: var(--alternative-font-color);
    color: var(--dark-red-color);
    /* background-color: var(--dark-red-color); */
    /* background: linear-gradient(270deg, transparent 0, var(--dark-red-color) 81px, var(--dark-red-color) 81px, var(--dark-red-color) 100%);
    padding-right: 81px;
    padding: 10px 81px 10px 10px; */
    /* text-decoration-line: dashed;
    text-decoration-color: var(--dark-red-color);
    text-underline-offset: 10px;
    text-decoration-thickness: 5px; */
    text-decoration: dashed;
    text-shadow: 1px 0 1px rgba(255, 255, 255, .5), 0 1px 1px rgba(255, 255, 255, .5), 0 -1px 1px rgba(255, 255, 255, .5), -1px 0 1px rgba(255, 255, 255, .5);
}

.useful-information-third .without-border-left {
    border-left: none;
    border-bottom: 5px solid var(--orange-color);
    text-align: center;
    margin: 0 220px 45px;
}

.circle .p {
    font-size: 85px;
    font-weight: 900;
}

.useful-information-third .col-md-8 {
    display: grid;
    align-items: center;
    grid-template-columns: 370px 85%;
}

.useful-information-third .p {
    color: var(--main-color);
    font-weight: 800;
}

.useful-information-third .span {
    color: var(--orange-color);
    font-weight: 800;
}

.circle {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100px;
    min-width: 100px;
    background-color: var(--for-use-inf-light-color);
    border-radius: 50%;
    align-self: center;
    margin: 5px 50px 5px 0;
}

.circle .first {
    color: var(--for-use-inf-1-color);
}

.circle .second {
    color: var(--for-use-inf-2-color);
}

.circle .third {
    color: var(--for-use-inf-3-color);
}

.circle .fourth {
    color: var(--for-use-inf-4-color);
}

.useful-information-third .icon.first:before {
    content: "\e90d";
    position: absolute;
    top: -20px;
    left: -20px;
    font-size: 90px;
    color: var(--alternative-font-color);
    text-align: center;
}

.useful-information-third .icon.second:before {
    content: "\e912";
    position: absolute;
    top: -20px;
    left: -20px;
    font-size: 90px;
    color: var(--alternative-font-color);
    text-align: center;
}

.useful-information-third .icon.third:before {
    content: "\e914";
    position: absolute;
    top: -20px;
    left: -20px;
    font-size: 90px;
    color: var(--alternative-font-color);
    text-align: center;
}

.useful-information-third .icon.fourth:before {
    content: "\e901";
    position: absolute;
    top: -20px;
    left: -20px;
    font-size: 90px;
    color: var(--alternative-font-color);
    text-align: center;
}

.useful-information-third .left {
    display: flex;
}

.circle.big {
    height: 170px;
    width: 170px;

}

.circle.big.first {
    background-color: var(--for-use-inf-1-color);
}

.circle.big.second {
    background-color: var(--for-use-inf-2-color);
}

.circle.big.third {
    background-color: var(--for-use-inf-3-color);
}

.circle.big.fourth {
    background-color: var(--for-use-inf-4-color);
}

.useful-information-third .row {
    justify-content: space-between;
}

.hr {
    display: flex;
    background-color: var(--orange-color);
    height: 1px;
    margin-top: 50px;
}

.useful-information-fourth {
    margin-top: 110px;
}

.useful-information-fourth .col-md-2 {
    direction: rtl;
}

.useful-information-fourth .circle {
    position: relative;
    background-color: var(--orange-color);
    width: 55px;
}

.circle .exclamation-mark:after {
    content: "\e904";
    font-size: 90px;
    color: var(--alternative-font-color);
    text-align: center;
    width: 70px;
}

.useful-information-fifth .span {
    font-weight: 600;
}

.useful-information-fifth .col-md-11 {
    padding-left: 20px;
    padding-top: 35px;
    padding-right: 60px;
}

.useful-information-fifth .first .col-md-11 {
    padding-top: 50px;

}

.useful-information-fifth .second .col-md-11 {
    padding-bottom: 95px;
}

.useful-information-fifth .first .hr {
    margin-top: 65px;
}

.h2 .span {
    color: var(--orange-color);
}

.category-3,
.category-6 {
    background-image: url(/wp-content/themes/featherlab/img/systematics_bg.png);
}

.collection-alfabet .letter {
    transition: background-color .25s;
    font-weight: 600;
    color: var(--main-font-color);
    font-size: 21px;
    padding: 10px 16px;
    margin-bottom: 30px;
    margin-top: 30px;
    background-color: var(--light-gray);
    border-left: 2px solid var(--alternative-font-color);
    min-width: 50px;
    height: 50px;
    text-align: center;
}

.collection-alfabet .letter:not(.letter.big):hover {
    background-color: var(--orange-color);
    color: var(--alternative-font-color);
}

.collection-alfabet .row {
    flex-wrap: nowrap;
}

.category-3 .main-content .hr {
    color: var(--light-gray);
    margin-left: 340px;
    width: 1488px;
    margin-top: 0;
    border: 1px solid var(--light-gray);
    border-bottom-width: 0;
}

/* .accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
}

.active, .accordion:hover {
    background-color: #ccc; 
}

.panel {
    padding: 0 18px;
    display: none;
    background-color: white;
    overflow: hidden;
} */

.collection-sistematic .row {
    display: flex;
    border-bottom: 1px solid var(--light-gray);
    padding: 25px 0;
    flex-wrap: nowrap;

}

.collection-sistematic .sistematic-item {
    display: flex;
    align-items: end;
    justify-content: center;
    background-image: url(/wp-content/themes/featherlab/img/color-preview_new.jpg);
    margin-right: 3px;
    transition: background-color .25s;
    height: 250px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: center;
}

.collection-sistematic .a {
    overflow: hidden;
}

.collection-sistematic .italic {
    display: flex;
    justify-content: space-evenly;
    font-style: italic;
    color: var(--gray-color);
    font-size: 14px;
}

.collection-sistematic .p {
    display: flex;
    justify-content: space-evenly;
    margin: 0;
    font-weight: 600;
    font-size: 14px;
}

.collection-sistematic .h4 {
    display: flex;
    justify-content: space-evenly;
    text-align: center;
    padding: 2px 0;
    font-size: 15px;
}

/* .collection-sistematic .sistematic-item:hover{
    background-color: var(--red-transparent-color); 
}*/

.collection-sistematic .row.last-child {
    border: none;
}

.collection-alfabet .letter.big {
    font-size: 25px;
    background-color: var(--orange-color);
    padding: 20px 25px;
    min-width: 75px;
    min-height: 75px;
}

/* .collection-alfabet*/
.category-list {
    list-style: none;
    column-count: 3;
}

/* .collection-sistematic .category-list {
    list-style: none;
    max-width: 400px;
    transform: translateX(-50%);
    left: 50%;
    position: relative;
} */

.category-list .li {
    page-break-inside: avoid;
    break-inside: avoid;
    display: flex;
    justify-content: center;
    background-color: var(--light-gray);
    margin-bottom: 15px;
}

.collection-alfabet .species {
    display: block;
    font-weight: 400;
    color: var(--main-font-color);
    font-size: 18px;
    padding: 10px 16px;


    transition: background-color .25s;
    /* border-right: 2px solid var(--alternative-font-color); */
}

.collection-alfabet .li:hover {
    background-color: var(--orange-color);
    color: var(--alternative-font-color);
}

.collection-alfabet .species:hover {
    color: var(--alternative-font-color);
}

/*  / news-section */

.category-17 .news-link .proportion-saver {
    padding-bottom: 142%;
}

.category-17 .proportion-saver img,
.category-17 .proportion-saver .img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    width: 100%;
    height: auto;
}

.registr-form-wrp {
    display: flex;
    justify-content: center;
}

.img-wrp {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.square {
    padding-bottom: 100%;
}

.rectangle {
    padding-bottom: 60%;
}

.proportion-saver {
    position: relative;
    /*  border: 1px solid grey;*/
}

.img-wrp .img {
    position: absolute;
    top: 50%;
    left: 50%;
    height: auto;
    width: 125px;
    transform: translate(-50%, -50%);
}

.img {
    max-width: 100%;
}

/* Old site design */

.old-site-body {
    padding-top: 10px;
    background: linear-gradient(to bottom, #61a1ff, #b8dcff 500px, #b8dcff);
    font-size: .9rem;
}

.old-site-body .site-header .container {
    background-color: transparent;
    padding: 0;
}

.old-site-body .site-header .top-block-wrapper {
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    /*margin-left: -15px;
    margin-right: -15px;*/
}

.old-site-body .site-header .top-block {
    min-height: 83px;
    border-bottom: 10px solid #8e969c;
    margin: 0;
    background-color: var(--gray-color-1);
}


.old-site-body .container {
    background-color: var(--white-color);
}

.old-site-body .container .contacts .h2 {
    margin-bottom: 0;
}

.old-site-body .main-nav {
    position: relative;
    background-color: #0060ad;
    margin: 0;
    padding: 10px;
}

.old-site-body .main-nav .ul {
    display: flex;
    flex-wrap: wrap;
}

.old-site-body .main-nav .menu-item {
    display: block;
    border-right: 1px solid #fff;
    margin-right: 0;
}

.old-site-body .main-nav .menu-item a {
    padding: 0 10px;
    display: block;
    font-weight: 600;
}

.old-site-body .main-nav .menu-item a:hover {
    color: #AF4835;
    background-color: transparent;
}

.old-site-body .banner-section .container {
    min-height: 286px;
    background: url(/wp-content/themes/uokm/img/banner1.jpg), linear-gradient(to bottom, #95caf6, #f0f0f0);
    background-repeat: no-repeat;
    background-position: right top;
    padding: 30px 15px;
}

.old-site-body .banner-section.goncharov .container {
    background: url(/wp-content/themes/uokm/img/banner_goncharov.jpg), linear-gradient(to bottom, #95caf6, #f0f0f0);
    background-repeat: no-repeat;
    background-position: right top;
    background-size: auto 100%;
}

.old-site-body .banner-section.yazikov .container {
    /*    background: url(/wp-content/uploads/2023/03/lit-muz-yazik.jpeg), linear-gradient(to bottom, #95caf6, #f0f0f0);*/
    background: url(/wp-content/uploads/2023/03/lit-muz-yazik.jpeg), #fff;
    background-repeat: no-repeat;
    background-position: right top;
    background-size: auto 100%;
}

.old-site-body .banner-section .contacts {
    background-color: #fff;
    /*    min-width: 320px;*/
    max-width: 415px;
    border: 1px solid var(--border-color);
    padding: 15px;
}

.old-site-body .banner-section .h2 {
    font-size: 15px;
    color: #ff4500;
    padding: 0 0 15px 0;
    text-align: left;
}

.old-site-body .banner-section .p {
    font-size: .85rem;
    text-align: left;
    margin-bottom: .1rem;
}

.old-site-body .banner-section .address {
    margin-bottom: .5rem;
}

.old-site-body .site-main {
    display: flex;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.old-site-body .site-main .container {
    background-color: var(--white-color);
    padding-bottom: 30px;
}

.upper-title {
    display: flex;
}

.h2,
.title {
    color: var(--main-font-color);
    font-size: 21px;
    padding: 10px 16px;
    text-transform: uppercase;
    margin-bottom: 30px;
    margin-top: 30px;
    border-left: 10px solid var(--orange-color);
}

.h2.title.right {
    border-left: 1px solid var(--light-gray-color);
}

.h2.front-page {
    color: var(--alternative-font-color);
    font-size: 21px;
    padding: 10px 16px;
    text-transform: uppercase;
    margin-bottom: 30px;
    margin-top: 30px;
    border-left: 10px solid var(--orange-color);
}

/* feather lab styles */

.feather-compilations .h3 {
    position: absolute;
    top: 0;
    left: var(--standard-padding);
    right: var(--standard-padding);
    color: var(--alternative-font-color);
    padding: 15px;
    background: linear-gradient(to bottom, black, transparent);
}

.feather-collection-by .section-background {
    background-image: url('/wp-content/themes/featherlab/img/main_collection_bg.jpg');
}

.by-systematic .h3 {
    display: flex;
    flex-direction: column;
    padding-top: 150px;
    text-align: center;
    margin-bottom: 20px;
    color: var(--black-color);
}

.by-systematic .h3:before {
    content: '\e908';
    font-family: 'icons';
    color: var(--orange-color);
    font-size: 117px;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: normal;
    align-self: center;
}




.by-alphabet .h3 {
    display: flex;
    flex-direction: column;
    padding-top: 150px;
    text-align: center;
    margin-bottom: 20px;
    color: var(--black-color);
}

.by-alphabet .h3:after {
    content: '\e900';
    font-family: 'icons';
    color: var(--orange-color);
    font-size: 117px;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: lighter;
    align-self: center;
}

.date-and-name {
    padding: 15px;
}

.date-and-name .date {
    border-right: 2px solid black;
    padding-right: 5px;
}

.icon {
    position: relative;
    display: block;
    width: 50px;
    height: 50px;
}

.icon:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    font-family: 'icons';
    font-size: 23px;
    text-align: center;
    line-height: 50px;
    font-weight: bold;
}

.icon.comment:after {
    content: '\e90f';
    text-align: right;
    padding-right: 5px;
}

.comments-count .number {
    width: 50px;
    height: 50px;
    padding: 15px 5px 15px 7px;
    overflow: hidden;
}

.comments-count {
    display: flex;
    justify-content: space-between;
    background-color: var(--black-color);
    color: var(--white-color);
}

.about-comment {
    display: flex;
    background-color: var(--white-color);
    justify-content: space-between;
    flex: 1;
}



.comment-status.wait {
    background: rgb(85 85 85 / 70%);
}

*:after,
*:before {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    font-family: 'icons';
}

.comment-status.wait .icon:after {
    content: '\e911';
    text-align: center;
}

.comment-status .icon {
    margin: 0 10px;
}

.comment-status.answered .icon:after {
    content: '\e915';
    text-align: center;
}

.comment-status.answered .icon {
    /*    border-right: 2px solid var(--white-color);*/
}

.comment-status.answered .icon:before {
    content: '';
    position: absolute;
    left: 100%;
    top: 0;
    width: 13px;
    height: 100%;
    border-right: 2px solid var(--white-color);
}

.comment-status.answered {
    background-color: #0080007a;
}

.comment-status {
    position: absolute;
    top: 45px;
    left: var(--standard-padding);
    /*    min-width: 100px;    */
    max-width: 370px;
    max-width: calc(100% - 60px);
    z-index: 1;
    display: flex;
    align-items: center;
    color: ver(--white-color);
    padding: 15px;
}

.comment-status .icon:after {
    color: var(--white-color);
    width: 100%;
    display: block;
    line-height: 50px;
    font-size: 40px;
    font-weight: normal;
}

.comment-status .icon {
    width: 50px;
}

.comment-status.answered .descr {
    padding-left: 15px;
    color: var(--alternative-font-color);
    max-width: 275px;
}

.feather-description-request {
    position: relative;
}

.feather-description-request .img-container {
    position: relative;
    background-color: var(--white-color);

}

/* End feather lab styles */



.compilation-item {
    margin-bottom: var(--standard-padding);
}

.old-site-body .left-sidebar {
    max-width: 290px;
    padding: 0 15px 0 0;
}

.old-site-body .left-sidebar .content-wrapper {
    padding: 15px 0;
    margin-bottom: 15px;
}

.old-site-body .left-sidebar .title {
    text-align: center;
}

.old-site-body .left-sidebar .li {
    list-style-type: none;
    margin-bottom: 15px;
    padding: 0 15px;
}

.old-site-body .left-sidebar .a {
    font-size: .9rem;
    text-decoration: none;
    transition: .25s;
    line-height: 1.25rem;
}

.old-site-body .left-sidebar .a:hover {
    color: var(--orange-color)
}

.old-site-body .left-sidebar>* {
    background-color: #fff;
    /*    border: 1px solid var(--border-color);*/
    border: 1px solid transparent;
}

.old-site-body .site-footer .container {
    padding: 30px;
    background-color: var(--bcgr-footer-color);
}

.old-site-body .main-content {
    width: calc(100% - 305px);
    margin: 0 0 0 15px;
    padding: 15px;
    background-color: #fff;
    /*    border: 1px solid var(--border-color);*/
    border: 1px solid transparent;
}

.old-site-body .main-content .h3 {
    font-size: .9rem;
    line-height: 1.1rem;
}

.old-site-body .main-content>article.container {
    overflow: auto;
}

.old-site-body .main-content .news-link {
    display: flex;
    flex-wrap: wrap;
    text-decoration: none;
    margin-bottom: 30px;
    padding: 15px;
    /*    background-color: #f7f7f7;*/
    background-color: var(--white-color);
    transition: .25s;
    box-shadow: 0 0 4px 0 #0000002e;
}

.old-site-body .main-content .news-link:hover {
    /*box-shadow: 0 0 6px 0 #5c5c5c;*/
    box-shadow: 0 0 4px 0 #939191;
}

.old-site-body .main-content .news-link .h3 {
    padding: 0;
}

.old-site-body .main-content .news-link:last-child {
    margin-bottom: 0;
}

.old-site-body .main-content .img-preview {
    width: 200px;
}

.old-site-body .main-content .text-preview {
    position: relative;
    width: 75%;
    padding: 15px 15px 30px 15px;
}

.old-site-body .site-footer {
    /*    background-color: transparent;*/
    border-top: 10px solid #646464;
}

/*.old-site-body .site-footer .container{
    
}*/

.category-11 .news-thumbnail {
    margin-right: 0;
}

.single-post .entry-title {
    font-size: 1rem;
    line-height: 1.1rem;
}

article>.content .date-wrp {
    position: static;
}

.old-site-body .entry-content img {
    max-width: 50%;
}

.old-site-body .entry-content p,
.old-site-body .entry-content div,
.old-site-body .entry-content li {
    font-family: sans !important;
    margin-bottom: .5rem;
}

.old-site-body .entry-content ol,
.old-site-body .entry-content ul {
    padding-left: 2rem;
}

.old-site-body .entry-content p span {
    line-height: 1.1rem;
    margin-bottom: 1rem;
    font-size: 1rem !important;
}

.old-site-body .backward-link {
    text-align: right;
    padding: 15px;
}

.old-site-body .backward-link .a {
    text-decoration-style: dashed;
    text-underline-offset: .5rem;
}

.pushkin-card {
    display: block;
}

.img-container {
    position: relative;
    padding: 0 15px;
}

.img-container>.img,
.img-container>img {
    display: block;
    margin: 0 auto;
}

.pushkin-card .proportion-saver {
    padding-bottom: 75% !important;
}

.pushkin-card {
    height: auto;
    width: 100%;
}

.left-sidebar .what-is-pc,
.left-sidebar .how-i-get-pc {
    display: block;
    border: 0;
    background-color: transparent;
    margin-bottom: 15px;
    padding-left: 15px;
    font-style: italic;
}

.left-sidebar .content-wrapper .h3 {
    text-align: center;
}

.btn-wrapper {
    /*display: flex;
    justify-content: center;
    text-align: center;
    background-color: var(--gray-color-1);
    padding-bottom: 45px;*/
    display: flex;
    justify-content: center;
    text-align: center;
    background-color: var(--gray-color-1);
    margin-bottom: 45px;
    padding: 15px;
    border: 1px solid var(--orange-color);
    border-radius: 10px;
}

.a.btn.buy-ticket {
    position: relative;
    padding: 25px 15px;
    display: block;
    background-color: #ff7c7c;
    width: 290px;
    text-align: center;
    font-size: 22px;
    text-decoration: none;
    border-radius: 4px;
    color: #fff;
    font-weight: 600;
}

.buy-ticket span {
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
    font-size: 12px;
}

.left-sidebar .content-wrapper.important {
    padding: 0;
}

.content-wrapper.important .h3 {
    padding: 0 15px;
    font-size: 1rem;
}

.content-wrapper.important .img-container {
    margin-bottom: 15px;
}


.old-site-body .section-wm-news>.container {
    padding-top: 15px;
}


.old-site-body .branch .li {
    /*    padding-top: 15px;*/
    padding-left: 30px;
}


.premiya-goncharova .h3 {
    padding: 0 15px;
    font-size: 1rem;
}

.old-site-body .premiya-goncharova .a {
    text-decoration: none;
}

.section.banners {
    overflow: hidden;
    margin-bottom: 30px;
}

.section.banners .a {
    padding: 0;
}


.old-site-body .banner-section.konsp-kv .container {
    background-image: url('/wp-content/uploads/2023/03/konsp_kv.jpg'), linear-gradient(to bottom, #95caf6, #f0f0f0);
}

.extra-fields {
    background: red;
}

.route-page-link .news-thumbnail {
    width: 100%;
}

.route-page-link {
    position: relative;
    overflow: hidden;
}

.route-page-link .news-thumbnail .proportion-saver {
    padding-bottom: 100%;
}

.category-26 .text-preview {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: -1;
}

.category-26 .entry-content .img {
    width: 100%;
    max-width: 100%;
}



/* / Old site design */


/*       media queries        */



.placeholder-block {
    height: 100px;
    background-color: gray;
}


.collection-sistematic .row.order {
    justify-content: center;
}

.section>.container.order {
    padding-top: 0;
    padding-bottom: 65px;
}

.collection-sistematic .category-list .li {
    page-break-inside: avoid;
    break-inside: avoid;
    display: flex;
    justify-content: center;
    background-color: var(--light-gray);
    margin-bottom: 15px;
    flex-direction: column;
}

.collection-sistematic .species {
    display: block;
    font-weight: 400;
    color: var(--main-font-color);
    font-size: 18px;
    transition: background-color .25s;
    text-align: center;
}

.collection-sistematic .li:hover {
    background-color: var(--orange-color);
    color: var(--alternative-font-color);
}

.collection-sistematic .species:hover {
    color: var(--alternative-font-color);
}

.collection-sistematic .italic {
    display: flex;
    justify-content: space-evenly;
    font-style: italic;
    color: var(--gray-color);
    font-size: 14px;
}

.collection-sistematic .order span {
    color: var(--alternative-font-color);
}

/* Добавление пера на форум */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: var(--gray-background-color);
}

.modal-content {
    background-color: var(--alternative-font-color);
    margin: 5% auto;
    width: 80%;
    max-width: 600px;
}

.inner-header {
    height: 50px;
    /* Фиксированная высота */
    background-color: var(--orange-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
    width: 100%;
    /* На всю ширину modal-content */
}

.modal-content .first-child {
    border-left: none;
    border-bottom: 3px solid var(--orange-color);
    text-align: center;
    margin: 20px 240px;
    font-weight: 600;
}

.separator {
    width: calc(100% - 40px);
    height: 1px;
    background-color: #ddd;
    margin: 15px 20px;
    /* Теперь используем margin вместо auto */
}

.modal-content .second-child {
    border-left: none;
    border-bottom: 3px solid var(--orange-color);
    text-align: center;
    margin: 20px 105px;
    font-weight: 600;
}

.modal-content .third-child {
    border-left: none;
    border-bottom: 3px solid var(--orange-color);
    text-align: center;
    margin: 20px 165px;
    font-weight: 600;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 10px;
    z-index: 2;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
}

.feather-form {
    padding: 20px 20px 1px 20px;
}

.feather-form .form-group {
    margin-bottom: 15px;
}

.feather-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.feather-form input[type="text"],
.feather-form input[type="email"],
.feather-form textarea,
.feather-form select {
    width: 100%;
    padding: 8px;
    border: none;
    background-color: var(--light-gray-color);
}

.form-group textarea {
    width: calc(100% - 40px);
    margin-left: 20px;
    margin-right: 20px;
    background-color: var(--light-gray-color);
    border: none;
    padding: 10px 10px 0 10px;
    /* 10px отступ сверху и слева */
    font-style: italic;
}

.checkbox-group {
    display: flex;
    align-items: center;
    width: calc(100% - 40px);
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 15px;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
}

.checkbox-group label {
    font-size: 12px;
}

.submit-button {
    margin: 20px 0;
    border: 3px solid var(--orange-color);
    width: 20%;
    left: 50%;
    position: relative;
    transform: translateX(-50%);
    background-color: var(--alternative-font-color);
    font-size: 18px;
    font-weight: 600;
    height: 50px;
    width: 300px;
    cursor: pointer;
}

.submit-button:hover {
    background-color: var(--for-use-inf-light-color);
    color: var(--orange-color);
}

.photo-upload-container {
    text-align: center;
    padding: 0 20px;
    /* Добавляем боковые отступы */
    margin-bottom: 15px;
}

.upload-area {
    display: flex;
    justify-content: center;
}

.upload-plus-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    cursor: pointer;
    transition: all 0.3s;
    background-color: var(--light-gray-color);
    text-align: center;
}

.upload-plus-btn:hover {
    border-color: var(--orange-color);
    background-color: var(--for-use-inf-light-color);
}

.plus-icon {
    font-size: 48px;
    font-weight: lighter;
    color: var(--gray-color);
    line-height: 1;
    transition: all 0.3s;
}

.upload-plus-btn:hover .plus-icon {
    color: var(--orange-color);
    transform: scale(1.1);
}

.preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 15px;
}

.preview-item {
    position: relative;
    width: 100px;
    height: 100px;
    border: 1px solid #eee;
    margin-top: 10px;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-item .remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--red-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    border: none;
    line-height: 1;
    padding: 0;
}

.preview-item .remove-btn:hover {
    background: var(--ligth-red-color);
}

/* /Добавление пера на форум */

/* Подборка фотографий по цвету пера с главной страницы*/
.feather-filters {
    margin-bottom: 20px;
    display: flex;
    width: calc(33.33% - 20px);
}

.feather-filter-btn {
    padding: 10px 17px;
    background: var(--body-bcgr-color);
    border: 3px solid var(--light-gray-color);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 18px;
    border-left: none;
}

.feather-filter-btn[data-size="all"] {
    border-left: 3px solid var(--light-gray-color);
}

.feather-filter-btn:hover {
    color: var(--alternative-font-color);
    background: var(--orange-color);
}

.feather-filter-btn.active {
    color: var(--alternative-font-color);
    background-color: var(--orange-color);
}

.feathers-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.feather-item {
    width: calc(33.33% - 20px);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    height: 400px;
    background-color: #fff;
    border: 1px solid var(--light-gray-color);
    overflow: hidden;
}

.feather-item img {
    width: 100%;
    min-height: calc(87% - 60px);
    object-fit: contain;
    object-position: center;
    box-sizing: border-box;
    background-color: var(--light-gray-color);
}

.feather-item .h3 {
    width: 100%;
    background-color: var(--black-color);
    color: var(--alternative-font-color);
    text-align: center;
    padding: 15px 10px;
    margin: 0;
    box-sizing: border-box;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.upper-button {
    text-align: center;
    margin: 20px 0;
}

.upper-button .button {
    left: 50%;
    position: relative;
    transform: translateX(-50%);
    padding: 10px 40px;
    background-color: var(--body-bcgr-color);
    color: var(--black-color);
    border: none;
    cursor: pointer;
    display: none;
    border: 3px solid var(--black-color);
    font-size: 22px;
    transition: all 0.3s;
}

.upper-button .button:hover {
    background-color: var(--orange-color);
    color: var(--alternative-font-color);
}

/* /Подборка фотографий по цвету пера с главной страницы*/

/* Шаблон категории птицы*/
.meta-field {
    position: relative;
    flex: 1;
}

.meta-field.latin {
    max-width: 270px;
    padding-left: 90px; 
}

.meta-field.risk {
    max-width: 0px;
    padding-left: 90px;
}

.meta-field strong {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    text-align: center;
}

.container-meta-fields {
    display: flex;
    padding: 50px 0px;
}

.post-slider-container {
    margin: 40px 0;
}

.slider-navigation {
    display: flex;
    align-items: center;
    gap: 15px;
}

.post-slider {
    flex: 1;
    overflow: hidden;
}

.category-slider {
    width: 100%;
    overflow: hidden;
    flex-grow: 1;
}

.slider-wrapper {
    display: flex;
    width: 100%;
}

.slider-slide {
    flex: 0 0 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

.slider-slide img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.slider-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ddd;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.slider-button:hover {
    background: #f0f0f0;
}

.slider-button svg {
    width: 24px;
    height: 24px;
    color: #333;
}

.slider-pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 8px;
}

.slider-pagination-bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-pagination-bullet.active {
    background: #333;
}

.meta-field.latin::before {
    content: "\e906";
    position: absolute;
    top: -20px;
    left: -20px;
    font-size: 90px;
    color: var(--orange-color);
    text-align: center;
}

.meta-field.risk::before {
    content: "\e905";
    position: absolute;
    top: -20px;
    /* left: -20px; */
    font-size: 30px;
    color: var(--orange-color);
    text-align: center;
}

.category-posts{
    padding-top: 20px;
}

/* Стили для popup */
.media-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}

.popup-container {
    position: relative;
    width: 90%;
    height: 90%;
    margin: 2% auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.popup-slide {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.popup-slide.active {
    display: flex;
}

.popup-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.popup-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.popup-nav:hover {
    background: white;
}

.popup-prev {
    left: 20px;
}

.popup-next {
    right: 20px;
}

.popup-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 15px;
    border-radius: 20px;
    z-index: 1001;
}

.author_photo{
    display: flex;
    position: absolute;
    justify-self: right;
}
/* Шаблон категории птицы*/

/* ==================== */
/*  КНОПКА БУРГЕР      */
/* ==================== */
.mobile-menu-toggle {
    display: none;              /* скрыта на десктопе */
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
    width: 40px;
    height: 40px;
    outline: none;
}

/* Контейнер для трёх полосок */
.burger {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Полоски */
.burger-line {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--main-font-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-line:nth-child(1) { top: 20%; }
.burger-line:nth-child(2) { top: 50%; transform: translateY(-50%); }
.burger-line:nth-child(3) { bottom: 20%; }

/* Состояние "открыто" – превращение в крестик */
.mobile-menu-toggle.open .burger-line:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}
.mobile-menu-toggle.open .burger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.mobile-menu-toggle.open .burger-line:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* ==================== */
/*  АДАПТИВНОСТЬ       */
/* ==================== */
@media (max-width: 1280px) {
    .mobile-menu-toggle {
        display: block;         /* показываем кнопку */
    }

    .left-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100vh;
        background-color: var(--black-color); 
        box-shadow: 2px 0 10px rgba(0,0,0,0.3);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
        overflow-y: auto;
        padding-top: 60px;
    }

    .left-nav.open {
        transform: translateX(0);
    }

    h1, .h1 {
        padding: 15px 25px;
    }

    h3, .h3 {
        padding: -1px 25px;
    }

    .section.banner .h1 {
        font-size: 18px;
        max-width: 260px;
    }

    .section.banner .h1 .small-text {
        font-size: 11px;
    }

    .feather-compilations .row {
        flex-wrap: nowrap;              /* отключаем перенос */
        overflow-x: auto;               /* горизонтальный скролл */
        scroll-snap-type: x mandatory;  /* фиксация по точкам */
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;           /* чтобы скроллбар не наезжал */
    }

    .feather-compilations .compilation-item {
        /* Отменяем 100% ширину, заданную col-sm-12 */
        flex: 0 0 30%;                  /* ширина карточки — 85% экрана */
        max-width: 85%;
        scroll-snap-align: start;       /* привязка к началу карточки */
    }

    /* Убираем лишние отступы у строки, если нужно */
    .feather-compilations .row.no-gutters {
        margin-left: 0;
        margin-right: 0;
    }

    .row{
        flex-wrap: nowrap;
    }

    
    
    div.work-time {
    padding-left: 40px;
    }

    .img{
        max-width: 80%;
    }

    .section.banner .img-wrapper .img {
    max-width: 100%;
    }

    .collection-sistematic .row {
        flex-wrap: wrap;           /* разрешаем перенос */
        margin: 0 -5px;           /* компенсируем отступы карточек */
        border-bottom: none;
        padding: 0;
    }

    .collection-sistematic .sistematic-item {
        flex: 0 0 49%;
        max-width: 50%;
        padding: 0 5px;
        margin-bottom: 4px;
        height: auto;
        /* Сохраняем пропорции как на 1920×1080: col-md-2~200px / height 250px = 4:5 */
        aspect-ratio: 4 / 5;
    }

    /* Опционально: корректировка внутренних отступов текста для маленьких экранов */
    .collection-sistematic .sistematic-item-content {
        padding: 10px;
    }

    .collection-sistematic .h4 {
        font-size: 14px;
        padding: 5px 0;
    }

    .collection-sistematic .italic,
    .collection-sistematic .p {
        font-size: 12px;
    }

    /* Перенос букв в несколько строк */
    .collection-alfabet .row {
        flex-wrap: wrap !important;   /* разрешаем перенос */
        justify-content: center;      /* центрируем по желанию, можно flex-start */
        gap: 8px;                    /* отступы между буквами */
        padding-left: 15px;
    }

    /* Стили самих букв */
    .collection-alfabet .letter {
        flex: 0 0 auto;
        padding: 8px 12px;           /* уменьшаем отступы для экономии места */
        margin-bottom: 0px;         /* вертикальный отступ между рядами */
        font-size: 16px;
        background-color: var(--light-gray);
        border-radius: 4px;          /* скругляем уголки, по желанию */
        text-decoration: none;
        transition: background-color 0.25s;
        justify-content: center;
        display: flex;
        align-items: center;
    }

    /* Активная/выбранная буква (большая) */
    .collection-alfabet .letter.big {
        font-size: 24px;
        padding: 10px 20px;
        background-color: var(--orange-color);
        color: var(--alternative-font-color);
        width: auto;
        min-width: auto;
        min-height: auto;
        margin-top: 10px;
    }

    /* Список видов: с 3 колонок на 1 или 2 */
    .category-list {
        column-count: 1 !important;   /* на узких экранах одна колонка */
        padding-left: 0;
    }

    .category-3 .main-content .hr {
        margin-left: 0;
        margin-top: 10px;
    }

    .container.collection-alfabet.fourth-child{
        padding: 15px 0;
    }

    .collection-alfabet .letter {
        margin-top: 10px;
    }

    .useful-information .row{
        flex-wrap: wrap;
    }

    .useful-information-second {
    background-size: auto;
    }

    .useful-information-third .without-border-left {
        margin: 0;
    }

    .useful-information-third .circle {
        margin: 5px;
        height: 50px;
        min-width: 50px;
    }

    .circle {
        margin: 5px;
    }

    .useful-information-fifth .hr {
        display: none;
    }
    
    .useful-information-fifth .col-md-11 {
        padding-right: 0;
    }
    
    .circle.big {
        height: auto;
        width: 50px;
    }

    .useful-information-third .col-md-8 {
    display: grid;
    align-items: center;
    grid-template-columns: 130px 140%;
    }

    .useful-information-third .icon.first:before,
    .useful-information-third .icon.second:before,
    .useful-information-third .icon.third:before,
    .useful-information-third .icon.fourth:before
    {
    top: 50%;
    left: 50%;
    font-size: 30px;
    transform: translate(-50%, -50%);
    }

    .icon {
    position: relative;
    display: block;
    width: 50px;
    height: 50px;
    }

    .circle .p {
    font-size: 30px;
    }

   .useful-information-third .row {
    padding: 10px 0;
    }

    .about-project-nav .row{
        flex-wrap: wrap;
    }

    .about-project-nav-second .col-xs-0{
        display: none;
    }

    .about-project-nav-second .description {
        margin: 0;
    }

    .about-project-nav-third .right {
    border-left: 0;
    padding-left: 0;
    }

    .about-project-nav-third .up {
    font-size: 60px;
    }

    .about-project-nav-fifth .p {
    padding: 20px 0;
    }

    .about-project-nav-fourth,
    .about-project-nav-seventh {
        padding-top: 20px;
    }

    .about-project-nav-fifth .col-xs-0{
        display: none;
    }

    .about-project-nav-fifth,
    .about-project-nav-seventh .third {
        text-align: left;
    }

    .useful-information .col-md-4,
    .about-project-nav .p {
        border-bottom: 1px solid var(--alternative-font-color);
        border-left: 0;
    }

    .container.about-project-nav{
        padding: 15px;
    }

    .row.forum,
    .forum-about-project-nav .row{
        flex-wrap: wrap;
    }

    .forum-about-project-nav .row.col-md-4.col-xs-12{
        flex-wrap: nowrap;
        padding-bottom: 10px;
    }

    .forum-about-project-nav .select {
        margin-left: 0;
    }

    .modal-content .first-child,
    .modal-content .second-child,
    .modal-content .third-child{
        margin: 20px
    }
}

/* ============================================================ */
/*  BREAKPOINT 1: 1280px – 769px                               */
/* ============================================================ */
@media (min-width: 769px) and (max-width: 1280px) {

    /* Баннер */
    .section.banner .h1 {
        font-size: 24px;
        max-width: 420px;
    }

    .section.banner .h1 .small-text {
        font-size: 14px;
    }

    /* Подборки — горизонтальный скролл, карточки по 3 */
    .feather-compilations .compilation-item {
        flex: 0 0 30%;
        max-width: 30%;
    }

    /* Коллекция по систематике / алфавиту */
    .feather-collection-by .section-background .row {
        flex-wrap: wrap;
    }

    .feather-collection-by .by-systematic,
    .feather-collection-by .by-alphabet {
        flex: 0 0 50%;
        max-width: 50%;
    }

    /* useful-information — исправляем 140% → auto */
    .useful-information-third .col-md-8 {
        grid-template-columns: 130px auto;
        overflow: hidden;
    }

    /* useful-information-second — уменьшаем падинги */
    .useful-information-second {
        padding: 60px 15px 100px;
        background-size: cover;
    }

    .useful-information-second .first {
        font-size: 17px;
    }

    /* Хедер */
    .logo-block .slogon {
        font-size: 1.1rem;
    }

    /* Страница коллекции: 2 колонки — сохраняем пропорции как на 1920×1080 */
    .collection-sistematic .sistematic-item {
        flex: 0 0 49%;
        max-width: 50%;
        height: auto;
        aspect-ratio: 4 / 5;
    }
}

/* ============================================================ */
/*  BREAKPOINT 2: 768px – 426px                                */
/* ============================================================ */
@media (max-width: 768px) {

    /* --- Общее --- */
    .row {
        flex-wrap: wrap !important;
    }

    /* --- Хедер --- */
    .logo-block .img-wrapper {
        width: 30%;
    }

    .logo-block .slogon {
        font-size: 1rem;
        padding-left: 10px;
    }

    .header-info-block .row {
        flex-direction: column;
    }

    .contacts {
        text-align: left;
        margin-top: 10px;
    }

    /* --- Баннер: текст на левую половину экрана --- */
    .section.banner .h1 {
        font-size: 18px;
        max-width: 50%;
        padding: 10px 30px;
    }

    .section.banner .h1 .small-text {
        font-size: 12px;
    }

    /* --- Подборки фотографий: горизонтальный скролл --- */
    .feather-compilations .row {
        flex-wrap: nowrap !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .feather-compilations .compilation-item {
        flex: 0 0 75%;
        max-width: 75%;
        scroll-snap-align: start;
    }

    /* Убираем лишнее пространство справа от фото */
    .feather-compilations .compilation-item .a {
        display: block;
        overflow: hidden;
    }

    .feather-compilations .compilation-item img {
        width: 100%;
        display: block;
        height: auto;
    }

    /* --- Коллекция по систематике / алфавиту --- */
    .feather-collection-by .section-background .row {
        flex-direction: column;
    }

    .feather-collection-by .by-systematic,
    .feather-collection-by .by-alphabet {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
        padding: 20px 15px;
        border-bottom: 1px solid rgba(255,255,255,0.15);
    }

    /* --- useful-information (ссылки на посты) --- */
    .useful-information .row {
        flex-wrap: wrap !important;
    }

    .useful-information .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
        height: auto;
        border-left: none;
        border-bottom: 1px solid var(--alternative-font-color);
        padding: 0;
    }

    /* --- useful-information-second: убираем фото, меняем цвет текста --- */
    .useful-information-second {
        background-image: none !important;
        background-color: var(--body-bcgr-color);
        padding: 40px 15px 60px;
        justify-content: center;
    }

    .useful-information-second .col-md-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .useful-information-second .first {
        color: var(--main-font-color);
        font-size: 15px;
        line-height: 1.4;
    }

    .useful-information-second .second,
    .useful-information-second .third {
        padding-top: 15px;
        color: var(--main-font-color);
    }

    /* --- useful-information-third (4 шага):
         flex-подход вместо grid — кружки не сжимаются --- */
    .useful-information-third .col-md-8 {
        display: flex;
        align-items: center;
        gap: 12px;
        overflow: hidden;
        /* Отменяем grid из 1280px-блока */
        grid-template-columns: unset;
    }

    .useful-information-third .left {
        display: flex;
        align-items: center;
        flex-shrink: 0;    /* запрещаем сжиматься */
        gap: 6px;
    }

    .useful-information-third .circle.big {
        flex-shrink: 0;
        height: 55px;
        width: 55px;
    }

    .useful-information-third .circle:not(.big) {
        flex-shrink: 0;
        height: 45px;
        min-width: 45px;
        margin: 0;
    }

    .useful-information-third .p {
        flex: 1;
        min-width: 0;          /* разрешаем переносить текст */
        font-size: 14px;
    }

    .useful-information-third .without-border-left {
        margin: 0 0 20px;
        font-size: 16px;
    }

    .circle .p {
        font-size: 22px;
    }

    /* --- useful-information-fourth: кружок больше колонки --- */
    .useful-information-fourth {
        margin-top: 40px;
    }

    .useful-information-fourth .col-md-2 {
        overflow: visible;
        position: relative;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
    }

    .useful-information-fourth .circle {
        width: 80px;
        height: 100px;
        /* выходим за пределы колонки */
        margin: 0 -12px;
    }

    .useful-information-fourth .hr {
        flex: 1;
        margin-top: 0;
        align-self: center;
    }

    /* --- useful-information-fifth --- */
    .useful-information-fifth .hr {
        display: none;
    }

    .useful-information-fifth .col-md-11 {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 15px;
    }

    /* --- Коллекция систематика: сохраняем пропорции 4:5 --- */
    .collection-sistematic .row {
        flex-wrap: wrap !important;
    }

    .collection-sistematic .sistematic-item {
        flex: 0 0 49%;
        max-width: 50%;
        height: auto;
        aspect-ratio: 4 / 5;
        margin-bottom: 4px;
    }

    /* --- Алфавит --- */
    .collection-alfabet .row {
        flex-wrap: wrap !important;
        justify-content: center;
        gap: 6px;
        padding: 10px;
    }

    .collection-alfabet .letter {
        font-size: 15px;
        padding: 8px 12px;
        margin: 0;
        min-width: 40px;
        height: 40px;
    }

    /* --- Форум: comment-status answered — текст не наезжает на картинку --- */
    .comment-status {
        position: relative;
        top: auto;
        left: auto;
        max-width: 100%;
        flex-wrap: nowrap;
        overflow: hidden;
    }

    .comment-status.answered .descr {
        max-width: calc(100% - 70px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 12px;
    }

    /* --- Футер --- */
    .site-footer .row {
        flex-direction: column;
    }

    /* --- О проекте --- */
    .about-project-nav-third .right {
        border-left: none;
        padding-left: 0;
    }

    .about-project-nav-third .up {
        font-size: 40px;
    }

    .about-project-nav-third .red {
        font-size: 18px;
    }
}

/* ============================================================ */
/*  BREAKPOINT 3: 425px – 321px                                */
/* ============================================================ */
@media (max-width: 425px) {

    /* --- Хедер --- */
    .logo-block {
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo-block .img-wrapper {
        width: 50%;
    }

    .logo-block .slogon {
        width: 100%;
        text-align: center;
        padding: 5px 0 0;
        font-size: 0.9rem;
    }

    /* --- Баннер: текст на левую половину --- */
    .section.banner .h1 {
        font-size: 15px;
        max-width: 50%;
        padding: 8px 30px;
    }

    .section.banner .h1 .small-text {
        font-size: 11px;
    }

    /* --- Подборки --- */
    .feather-compilations .compilation-item {
        flex: 0 0 88%;
        max-width: 88%;
    }

    .feather-compilations .compilation-item .a {
        display: block;
        overflow: hidden;
    }

    .feather-compilations .compilation-item img {
        width: 100%;
        display: block;
        height: auto;
    }

    /* --- Коллекция по систематике / алфавиту --- */
    .feather-collection-by .by-systematic,
    .feather-collection-by .by-alphabet {
        padding: 15px 10px;
    }

    .feather-collection-by .h3.filter-name {
        font-size: 16px;
    }

    /* --- Коллекция по систематике: пропорции 4:5 --- */
    .collection-sistematic .sistematic-item {
        flex: 0 0 49%;
        max-width: 50%;
        height: auto;
        aspect-ratio: 4 / 5;
        margin-bottom: 4px;
    }

    /* --- useful-information-second: убираем фото, меняем цвет --- */
    .useful-information-second {
        background-image: none !important;
        background-color: var(--body-bcgr-color);
        padding: 25px 10px 40px;
        justify-content: center;
    }

    .useful-information-second .first {
        color: var(--main-font-color);
        font-size: 13px;
    }

    .useful-information-second .second,
    .useful-information-second .third {
        color: var(--main-font-color);
    }

    /* --- useful-information-third: flex, кружки не сжимаются --- */
    .useful-information-third .col-md-8 {
        display: flex;
        align-items: center;
        gap: 10px;
        overflow: hidden;
        grid-template-columns: unset;
    }

    .useful-information-third .left {
        display: flex;
        align-items: center;
        flex-shrink: 0;
        gap: 5px;
    }

    .useful-information-third .circle.big {
        flex-shrink: 0;
        height: 50px;
        width: 50px;
    }

    .useful-information-third .circle:not(.big) {
        flex-shrink: 0;
        height: 40px;
        min-width: 40px;
        margin: 0;
    }

    .useful-information-third .p {
        flex: 1;
        min-width: 0;
        font-size: 13px;
    }

    .useful-information-third .without-border-left {
        font-size: 14px;
    }

    .circle .p {
        font-size: 18px;
    }

    .useful-information-third .icon.first:before,
    .useful-information-third .icon.second:before,
    .useful-information-third .icon.third:before,
    .useful-information-third .icon.fourth:before {
        font-size: 24px;
    }

    /* --- useful-information-fourth: кружок больше колонки --- */
    .useful-information-fourth .col-md-2 {
        overflow: visible;
        position: relative;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
    }

    .useful-information-fourth .circle {
        width: 80px;
        height: 100px;
        margin: 0 -12px;
    }

    .useful-information-fourth .hr {
        flex: 1;
        margin-top: 0;
        align-self: center;
    }

    /* --- Навигация форума --- */
    .forum-about-project-nav .row {
        flex-wrap: wrap !important;
        flex-direction: column;
    }

    .forum-about-project-nav .p {
        width: 100%;
    }

    /* --- О проекте nav --- */
    .about-project-nav-fifth .p {
        padding: 15px;
    }

    /* --- Хедер навигация --- */
    .main-nav {
        flex-wrap: wrap;
    }

    .main-nav .menu-item a {
        padding: 10px;
        font-size: 13px;
    }

    /* --- Пагинация --- */
    .w3-center .w3-bar {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ============================================================ */
/*  BREAKPOINT 4: 320px и ниже                                 */
/* ============================================================ */
@media (max-width: 320px) {

    /* --- Хедер --- */
    .logo-block .img-wrapper {
        width: 60%;
    }

    .logo-block .slogon {
        font-size: 0.8rem;
    }

    /* --- Баннер: текст на левую половину --- */
    .section.banner .h1 {
        font-size: 13px;
        max-width: 55%;
        padding-left: 25px;
        padding-top: 0;
    }

    .section.banner .h1 .small-text {
        font-size: 10px;
    }

    /* --- h2 заголовки --- */
    .h2.title,
    .h2.front-page {
        font-size: 15px;
        padding: 10px 5px;
        border-left: 5px solid var(--orange-color);
    }

    h2.title.without-border-left{
        border-left: none
    }

    /* --- Подборки --- */
    .feather-compilations .compilation-item {
        flex: 0 0 95%;
        max-width: 95%;
    }

    .feather-compilations .h3 {
        font-size: 13px;
    }

    .feather-compilations .compilation-item .a {
        display: block;
        overflow: hidden;
    }

    .feather-compilations .compilation-item img {
        width: 100%;
        display: block;
        height: auto;
    }

    /* --- Коллекция систематика: пропорции 4:5 --- */
    .collection-sistematic .sistematic-item {
        flex: 0 0 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 4 / 5;
        margin-right: 0;
    }

    /* --- useful-information-second: убираем фото, меняем цвет --- */
    .useful-information-second {
        background-image: none !important;
        background-color: var(--body-bcgr-color);
        padding: 15px 8px 30px;
        justify-content: center;
    }

    .useful-information-second .first {
        color: var(--main-font-color);
        font-size: 11px;
        line-height: 1.3;
    }

    .useful-information-second .second,
    .useful-information-second .third {
        color: var(--main-font-color);
    }

    /* --- useful-information-third: flex, кружки не сжимаются --- */
    .useful-information-third .col-md-8 {
        display: flex;
        align-items: center;
        gap: 8px;
        overflow: hidden;
        grid-template-columns: unset;
    }

    .useful-information-third .left {
        display: flex;
        align-items: center;
        flex-shrink: 0;
        gap: 4px;
    }

    .useful-information-third .circle.big {
        flex-shrink: 0;
        height: 50px;
        width: 50px;
    }

    .useful-information-third .circle:not(.big) {
        flex-shrink: 0;
        height: 34px;
        min-width: 34px;
        margin: 0;
    }

    .useful-information-third .p {
        flex: 1;
        min-width: 0;
        font-size: 12px;
    }

    .useful-information-third .without-border-left {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .circle .p {
        font-size: 15px;
        margin: 0;
    }

    .useful-information-third .icon.first:before,
    .useful-information-third .icon.second:before,
    .useful-information-third .icon.third:before,
    .useful-information-third .icon.fourth:before {
        font-size: 18px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    /* --- useful-information ссылки --- */
    .useful-information .col-md-4 {
        font-size: 12px;
    }

    /* --- useful-information-fourth: кружок больше колонки --- */
    .useful-information-fourth .col-md-2 {
        overflow: visible;
        position: relative;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
    }

    .useful-information-fourth .circle {
        width: 70px;
        height: 100px;
        margin: 0 -10px;
    }

    .useful-information-fourth .hr {
        flex: 1;
        margin-top: 0;
        align-self: center;
    }

    /* --- Коллекция: 1 колонка --- */
    .feather-collection-by .h3.filter-name {
        font-size: 14px;
    }

    /* --- Алфавит --- */
    .collection-alfabet .letter {
        font-size: 13px;
        padding: 6px 9px;
        min-width: 34px;
        height: 34px;
    }

    /* --- Футер --- */
    .site-footer {
        font-size: 0.75rem;
    }

    /* --- Навигация --- */
    .main-nav .menu-item a {
        padding: 8px;
        font-size: 12px;
    }

    /* --- Форум: upper-nav — адаптируем .span под ширину экрана --- */
    .upper-nav {
        height: auto;
        min-height: 70px;
        margin-bottom: 30px;
    }

    .upper-nav .span {
        width: 100%;
        height: auto;
        min-height: 70px;
        padding: 15px 15px 15px 20px;
        font-size: 14px;
        background-size: contain;
        background-position: right center;
        justify-content: flex-start;
        background-image: none;
        color: var(--black-color);
    }

    /* --- Форум: модальное окно под ширину экрана --- */
    .modal-content {
        width: 100%;
        max-width: 100%;
        margin: 0;
        min-height: 100vh;
        border-radius: 0;
    }

    .modal-content .first-child {
        margin: 15px 20px;
    }

    .modal-content .second-child {
        margin: 15px 20px;
    }

    .modal-content .third-child {
        margin: 15px 20px;
    }

    .submit-button {
        width: calc(100% - 40px);
        left: auto;
        transform: none;
        margin: 15px 20px;
        font-size: 16px;
    }

    .feather-form {
        padding: 10px 15px 1px;
    }

    .form-group textarea {
        width: calc(100% - 30px);
        margin-left: 15px;
        margin-right: 15px;
    }

    .checkbox-group {
        width: calc(100% - 30px);
        margin-left: 15px;
        margin-right: 15px;
    }

    .about-project-nav-fourth .col-md-1 {
        padding-right: 0;
    }
}

/* last string */