@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
}

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

html {
  box-sizing: border-box;
  font-size: 62.5%;
}

@font-face {
  font-family: "Microsoft YaHei", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 400;
  src: local("Microsoft YaHei"), url("public/fonts/Microsoft YaHei.ttf") format("ttf");
}
body {
  font-family: "Microsoft YaHei", sans-serif;
  font-weight: 400;
  line-height: 1;
  color: #3b3b3d;
  width: 100%;
  min-height: 100vh;
  font-size: 1.1rem;
}

@media (orientation: landscape) and (max-width: 500px) {
  body {
    font-family: "Microsoft YaHei", sans-serif;
    font-weight: 400;
    line-height: 1.1;
    color: #3b3b3d;
    width: 100%;
    min-height: 100vh;
    font-size: 1.1rem;
  }
}
@media (orientation: landscape) and (min-width: 501px) and (max-width: 1200px) {
  body {
    font-family: "Microsoft YaHei", sans-serif;
    font-weight: 400;
    line-height: 1.3;
    color: #3b3b3d;
    background-color: #c4c4c4;
    width: 100vw;
    min-height: 100vh;
    font-size: 1.3rem;
  }
}
@media (orientation: landscape) and (min-width: 1201px) {
  body {
    font-family: "Microsoft YaHei", sans-serif;
    font-weight: 400;
    line-height: 1.5;
    color: #3b3b3d;
    background-color: #c4c4c4;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
    font-size: 1.5rem;
  }
}
h1 {
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 2rem;
  padding-bottom: 0.8rem;
  padding-top: 2rem;
  word-break: normal;
}

@media (orientation: landscape) and (min-width: 501px) and (max-width: 1200px) {
  h1 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 2rem;
    padding-bottom: 1rem;
    padding-top: 3rem;
    word-break: normal;
  }
}
@media (orientation: landscape) and (min-width: 1200px) {
  h1 {
    font-size: 4rem;
    font-weight: 600;
    line-height: 5rem;
    padding-bottom: 1rem;
    padding-top: 5rem;
    word-break: normal;
  }
}
h2 {
  font-size: 1.5rem;
  font-weight: 600;
}

@media (orientation: landscape) and (min-width: 501px) and (max-width: 1200px) {
  h2 {
    font-size: 2rem;
    font-weight: 600;
  }
}
@media (orientation: landscape) and (min-width: 1200px) {
  h2 {
    font-size: 3rem;
    font-weight: 600;
  }
}
h3 {
  font-size: 1.3rem;
  font-weight: 600;
}

@media (orientation: landscape) and (min-width: 501px) and (max-width: 1200px) {
  h3 {
    font-size: 1.7rem;
    font-weight: 600;
  }
}
@media (orientation: landscape) and (min-width: 1200px) {
  h3 {
    font-size: 2rem;
    word-break: normal;
    font-weight: 400;
  }
}
h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

@media (orientation: landscape) and (min-width: 501px) and (max-width: 1200px) {
  h4 {
    font-size: 1.3rem;
    font-weight: 600;
  }
}
@media (orientation: landscape) and (min-width: 1200px) {
  h4 {
    font-size: 1.6rem;
    word-break: normal;
    font-weight: 600;
  }
}
p {
  padding-bottom: 1rem;
  word-break: normal;
}

a {
  text-decoration: underline;
  color: inherit;
}

::-moz-selection {
  background-color: #3b3b3d;
  color: #ffffff;
}

::selection {
  background-color: #3b3b3d;
  color: #ffffff;
}

input[type=submit] {
  background-color: #1d6933;
  color: #ffffff;
  padding: 0.7rem 3rem 0.7rem 3rem;
  font-size: 1.5rem;
  font-family: inherit;
  /*padding: 0.2rem 1.1rem 0.2rem 1.1rem;
  background-color: variables.$grey;  
  width: fit-content;
  font-size: 1.1rem;*/
  cursor: pointer;
  border: none;
}
input[type=submit]:hover {
  color: #c4c4c4;
  padding: 0.7rem 3rem 0.7rem 3rem;
  font-size: 1.5rem;
  border: none;
}

input {
  border: 1px solid #c4c4c4;
  padding: 0.7rem 4rem 0.7rem 1.5rem;
  font-family: inherit;
  font-size: 1rem;
}
input:focus {
  border: 1px solid #c4c4c4;
}
input:active {
  border: 1px solid #1d6933;
}
input:hover {
  border: 1px solid #89878e;
}

@media (orientation: landscape) and (min-width: 501px) and (max-width: 1200px) {
  input {
    border: 1px solid #c4c4c4;
    padding: 0.7rem 4rem 0.7rem 1.5rem;
    font-family: inherit;
    font-size: 1.2rem;
  }
  input:focus {
    border: 1px solid #c4c4c4;
  }
  input:active {
    border: 1px solid #1d6933;
  }
  input:hover {
    border: 1px solid #89878e;
  }
}
@media (orientation: landscape) and (min-width: 1201px) {
  input {
    border: 1px solid #c4c4c4;
    padding: 0.7rem 4rem 0.7rem 1.5rem;
    font-family: inherit;
    font-size: inherit;
  }
  input:focus {
    border: 1px solid #c4c4c4;
  }
  input:active {
    border: 1px solid #1d6933;
  }
  input:hover {
    border: 1px solid #89878e;
  }
}
select {
  border: 1px solid #c4c4c4;
  color: inherit;
  padding: 0.7rem 4rem 0.7rem 1.5rem;
  font-family: inherit;
  box-shadow: none;
  font-size: 1rem;
}
select:focus {
  border: 1px solid #c4c4c4;
}
select:active {
  border: 1px solid #1d6933;
}
select:hover {
  border: 1px solid #89878e;
}
select:open {
  border: 1px solid #89878e;
}

@media (orientation: landscape) and (min-width: 501px) and (max-width: 1200px) {
  select {
    border: 1px solid #c4c4c4;
    color: inherit;
    padding: 0.7rem 4rem 0.7rem 1.5rem;
    font-family: inherit;
    font-size: 1.2rem;
    box-shadow: none;
  }
  select:focus {
    border: 1px solid #c4c4c4;
  }
  select:active {
    border: 1px solid #1d6933;
  }
  select:hover {
    border: 1px solid #89878e;
  }
  select:open {
    border: 1px solid #89878e;
  }
}
@media (orientation: landscape) and (min-width: 1201px) {
  select {
    border: 1px solid #c4c4c4;
    color: inherit;
    padding: 0.7rem 4rem 0.7rem 1.5rem;
    font-family: inherit;
    box-shadow: none;
    font-size: inherit;
  }
  select:focus {
    border: 1px solid #c4c4c4;
  }
  select:active {
    border: 1px solid #1d6933;
  }
  select:hover {
    border: 1px solid #89878e;
  }
  select:open {
    border: 1px solid #89878e;
  }
}
option {
  color: inherit;
  font-family: inherit;
  font-size: 1rem;
}
option:hover {
  background-color: #1d6933;
}
option:checked {
  font-weight: 800;
}

@media (orientation: landscape) and (min-width: 501px) and (max-width: 1200px) {
  option {
    color: inherit;
    font-family: inherit;
    font-size: 1.2rem;
  }
  option:hover {
    background-color: #1d6933;
  }
  option:checked {
    font-weight: 800;
  }
}
@media (orientation: landscape) and (min-width: 1201px) {
  option {
    color: inherit;
    font-family: inherit;
    font-size: inherit;
  }
  option:hover {
    background-color: #1d6933;
  }
  option:checked {
    font-weight: 800;
  }
}
button {
  margin: 0px;
  border: none;
  background-color: inherit;
  font-family: inherit;
}

header {
  width: 100%;
  position: relative;
  background-color: #ffffff;
}

@media (min-width: 1201px) {
  header {
    width: 1200px;
    margin: auto;
    position: relative;
    background-color: #ffffff;
  }
}
main {
  width: 100%;
  position: relative;
  background-color: #ffffff;
}

@media (min-width: 1201px) {
  main {
    width: 1200px;
    margin: auto;
    position: relative;
    background-color: #ffffff;
  }
}
footer {
  width: 100%;
  position: relative;
}

@media (min-width: 1201px) {
  footer {
    width: 1200px;
    margin: auto;
    position: relative;
  }
}
nav {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

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

ul {
  list-style-position: inside;
  padding-left: 1.5rem;
}

ol {
  list-style-position: inside;
  padding-left: 1.5rem;
}

li {
  padding-bottom: 1.6rem;
  padding-left: 1.5rem;
}

.margin-s {
  margin: 1.2rem;
}

.margin-bottom-s {
  margin-bottom: 1.2rem;
}

.margin-bottom-m {
  margin-bottom: 1.5rem;
}

.margin-bottom-l {
  margin-bottom: 3.2rem;
}

.padding-s {
  padding: 1.2rem;
}

.padding-m {
  padding: 1.5rem;
}

.padding-bottom-s {
  padding-bottom: 1.2rem;
}

.padding-bottom-m {
  padding-bottom: 1.5rem;
}

.padding-top-s {
  padding-top: 1.2rem;
}

.padding-top-m {
  padding-top: 1.5rem;
}

.padding-left-s {
  padding-left: 1.2rem;
}

.margin-auto {
  margin: auto;
}

@media (orientation: landscape) and (min-width: 501px) and (max-width: 1200px) {
  .margin-s {
    margin: 1.6rem;
  }
  .margin-bottom-s {
    margin-bottom: 1.2rem;
  }
  .margin-bottom-m {
    margin-bottom: 2rem;
  }
  .margin-bottom-l {
    margin-bottom: 2.8rem;
  }
  .padding-s {
    padding: 1.6rem;
  }
  .padding-m {
    padding: 2.4rem;
  }
  .padding-bottom-s {
    padding-bottom: 1.6rem;
  }
  .padding-bottom-m {
    padding-bottom: 3.2rem;
  }
  .padding-top-s {
    padding-top: 1.6rem;
  }
  .padding-top-m {
    padding-top: 3.2rem;
  }
  .padding-left-s {
    padding-left: 1.6rem;
  }
}
@media (orientation: landscape) and (min-width: 1200px) {
  .margin-s {
    margin: 2rem;
  }
  .margin-bottom-s {
    margin-bottom: 1.5rem;
  }
  .margin-bottom-m {
    margin-bottom: 2.5rem;
  }
  .margin-bottom-l {
    margin-bottom: 4rem;
  }
  .padding-s {
    padding: 2rem;
  }
  .padding-m {
    padding: 3rem;
  }
  .padding-bottom-s {
    padding-bottom: 2rem;
  }
  .padding-bottom-m {
    padding-bottom: 4rem;
  }
  .padding-top-s {
    padding-top: 2rem;
  }
  .padding-top-m {
    padding-top: 4rem;
  }
  .padding-left-s {
    padding-left: 2rem;
  }
}
.flex {
  display: flex;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.flex-around {
  display: flex;
  justify-content: space-around;
}

.flex-gor-center {
  align-items: center;
}

.flex-columns {
  display: flex;
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
  row-gap: 2rem;
}

.grid-70-30 {
  display: grid;
  grid-template-columns: 70% 30%;
}

.grid-30-70 {
  display: grid;
  grid-template-columns: 30% 70%;
}

.grid-40-60 {
  display: grid;
  grid-template-columns: 40% 60%;
}

.grid-60-40 {
  display: grid;
  grid-template-columns: 60% 40%;
}

.grid-50-50 {
  display: grid;
  grid-template-columns: 50% 50%;
}

.grid-25-25-25-25 {
  display: grid;
  grid-template-columns: repeat(4, 23.5%);
  -moz-column-gap: 2%;
       column-gap: 2%;
  justify-items: center;
  align-items: start;
}

.grid-25-75 {
  display: grid;
  grid-template-columns: 24% 74%;
  -moz-column-gap: 2%;
       column-gap: 2%;
  justify-items: center;
}

.grid-33-33-33 {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 32.6666%);
  -moz-column-gap: 2%;
       column-gap: 2%;
  justify-items: center;
}

.align-center {
  align-items: center;
}

.content-center {
  justify-content: center;
}

.center-vert {
  justify-items: center;
}

.relative {
  position: relative;
}

.text-right {
  text-align: right;
}

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

.width-100 {
  width: 100%;
}

.no-decor {
  text-decoration: none;
}

.underlined {
  text-decoration: underline;
}

.background-main {
  background-color: #1d6933;
}

.white-text {
  color: #ffffff;
}

.header-container {
  margin-top: 1.5rem;
}

.header-logo {
  color: #1d6933;
  font-size: 2.5rem;
  font-weight: 600;
  text-decoration: none;
}

.icon-sm {
  height: 2rem;
  width: auto;
  margin-left: 0.5rem;
}

.header-menu_link {
  text-decoration: none;
  color: #1d6933;
}

.menu-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  row-gap: 1.2rem;
  align-items: end;
}

.nav-block {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

/* навигация */
.nav-link {
  text-decoration: none;
  padding: 0.5rem 1rem 0.5rem 1rem;
}

.nav-link-active {
  background-color: #1d6933;
  color: #ffffff;
}

.nav-link-active:hover {
  color: #c4c4c4;
}

.nav-link-inactive {
  color: #3b3b3d;
}

.nav-link-inactive:hover {
  color: #c4c4c4;
}

@media (orientation: landscape) and (min-width: 501px) and (max-width: 1200px) {
  .icon-sm {
    height: 2.5rem;
    width: auto;
    margin-left: 0.5rem;
  }
  .nav-link {
    text-decoration: none;
    padding: 0.5rem 1.2rem 0.5rem 1.2rem;
  }
}
@media (orientation: landscape) and (width > 1200px) {
  .header-logo {
    color: #1d6933;
    font-size: 3.5rem;
    font-weight: 600;
    text-decoration: none;
  }
  .icon-sm {
    height: 3.5rem;
    width: auto;
    margin-left: 0.5rem;
  }
  .nav-link {
    text-decoration: none;
    padding: 0.7rem 3rem 0.7rem 3rem;
  }
  .menu-block {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
  }
}
.search-wrapper {
  position: relative;
  margin-left: 1.2rem;
}

.global-search-field {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  padding: 0.4rem 1.5rem 0.4rem 0.7rem;
  background-color: #c4c4c4;
}

.global-search-field:focus {
  background-color: #c4c4c4;
}

.search-button {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #3b3b3d;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  /*transition: color 0.2s;*/
}

.search-button:hover {
  color: #1d6933;
}

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

.flash {
  border: 1px solid #c4c4c4;
  padding: 1rem;
  width: -moz-fit-content;
  width: fit-content;
}

.flash-success {
  border: none;
  background-color: #1d6933;
  color: #ffffff;
}

/* Анимация для уведомлений */
@keyframes searchNotificationSlideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@media (min-width: 1201px) {
  .search-wrapper {
    position: relative;
    margin-left: 2.5rem;
  }
  .global-search-field {
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    padding: 0.7rem 4rem 0.7rem 1.5rem;
    background-color: #c4c4c4;
  }
}
/*футер */
.footer-block {
  background-color: #1d6933;
  color: #c4c4c4;
  padding: 1.2rem;
}

.footer-image {
  height: 8rem;
  width: auto;
}

.footer-text {
  text-decoration: none;
  padding-bottom: 0.9rem;
  color: #c4c4c4;
}

.age {
  color: #c4c4c4;
  font-size: 1.2rem;
}

@media (orientation: landscape) and (min-width: 501px) and (max-width: 1200px) {
  .footer-block {
    background-color: #1d6933;
    color: #c4c4c4;
    padding: 2.4rem;
  }
  .footer-image {
    height: 12rem;
    width: auto;
  }
  .footer-text {
    text-decoration: none;
    padding-bottom: 1rem;
    color: #c4c4c4;
  }
  .age {
    color: #c4c4c4;
    font-size: 1.4rem;
  }
}
@media (orientation: landscape) and (min-width: 1200px) {
  .footer-block {
    background-color: #1d6933;
    color: #c4c4c4;
    padding: 3rem;
  }
  .footer-image {
    height: 15rem;
    width: auto;
  }
  .age {
    color: #c4c4c4;
    font-size: 1.8rem;
  }
}
.banner-icon1 {
  height: 2.6rem;
  width: auto;
  position: absolute;
  right: 3.7rem;
  top: 1.5rem;
}

.banner-icon2 {
  height: 2rem;
  width: auto;
  position: absolute;
  right: 1.5rem;
  top: 0.8rem;
}

.banner-icon3 {
  height: 2rem;
  width: auto;
  position: absolute;
  right: 1rem;
  top: 3.7rem;
}

@media (orientation: landscape) {
  .banner-icon1 {
    height: 5.6rem;
    width: auto;
    position: absolute;
    right: 10rem;
    top: 4rem;
  }
  .banner-icon2 {
    height: 4rem;
    width: auto;
    position: absolute;
    right: 3rem;
    top: 1rem;
  }
  .banner-icon3 {
    height: 4rem;
    width: auto;
    position: absolute;
    right: 1rem;
    top: 8rem;
  }
}
@media (orientation: landscape) and (width > 1200px) {
  .banner-icon1 {
    height: 7rem;
    width: auto;
    position: absolute;
    right: 10rem;
    top: 4rem;
  }
  .banner-icon2 {
    height: 5rem;
    width: auto;
    position: absolute;
    right: 3rem;
    top: 1rem;
  }
  .banner-icon3 {
    height: 5rem;
    width: auto;
    position: absolute;
    right: 1rem;
    top: 8rem;
  }
}
.mat-date {
  font-size: 0.8rem;
}

.mat-category {
  color: #1d6933;
  font-weight: 600;
  font-size: 1rem;
}

.card-image-s {
  width: 14vw;
  height: auto;
}

.card-white-main-img {
  width: 100%;
  height: auto;
}

.grey-block {
  background-color: #c4c4c4;
}

.content-block {
  display: grid;
  grid-template-columns: repeat(2, 49%);
  gap: 2%;
  justify-items: center;
  align-items: start;
}

@media (min-width: 501px) {
    .content-block {
    display: grid;
    grid-template-columns: repeat(4, 23.5%);
    -moz-column-gap: 2%;
         column-gap: 2%;
    justify-items: center;
    align-items: start;
  }
}

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

.art-card {
  display: grid;
  grid-template-columns: 54% 44%;
  gap: 2%;
}

@media (orientation: landscape) and (min-width: 501px)  {
  .card-white-main-img {
    width: 100%;
    height: auto;
  }
  
  .mat-date {
    font-size: 1rem;
  }
  .art-card {
    display: grid;
    grid-template-columns: 74% 24%;
    gap: 2%;
  }
}
@media (orientation: landscape) and (min-width: 1024px)  {
    .card-white-main-img {
    width: 100%;
    height: auto;
  }
  .content-block {
    display: grid;
    grid-template-columns: repeat(4, 23.5%);
    -moz-column-gap: 2%;
         column-gap: 2%;
    justify-items: center;
    align-items: start;
  }
  .mat-date {
    font-size: 1rem;
  }
  .art-card {
    display: grid;
    grid-template-columns: 74% 24%;
    gap: 2%;
  }
}

 
 
  .art-card {
    display: grid;
    grid-template-columns: 74% 24%;
    gap: 2%;
  }
}
.news-block {
  display: flex;
  flex-direction: column;
}

.news-icon {
  height: 5.1rem;
  width: auto;
  position: absolute;
  top: -1.3rem;
  left: -1.3rem;
}

.categories-block {
  background-color: #1d6933;
  color: #ffffff;
  padding: 1.2rem 1.2rem 0.3rem 1.2rem;
}

.category-link {
  padding-bottom: 1.4rem;
  font-size: 0.9rem;
}
.category-link:hover {
  color: #c4c4c4;
}

.category-icon {
  height: 6rem;
  width: auto;
  position: absolute;
  top: -5.8rem;
  right: 0rem;
}

.about-link {
  font-weight: 600;
  font-size: 1.1rem;
}

.mat-main-icon {
  position: absolute;
  top: 0rem;
  left: -1rem;
  height: 22rem;
  width: auto;
}

.more-title {
  padding-top: 4rem;
  padding-bottom: 2rem;
  font-size: 2rem;
  position: relative;
}

.more-icon {
  position: absolute;
  right: -1.5rem;
  top: 5.5rem;
  height: 4rem;
  width: auto;
}

.about-project-icon {
  height: 14rem;
  width: auto;
  margin: auto;
}

.about-contacts-icon {
  position: absolute;
  left: 0.3rem;
  top: 0.3rem;
  height: 2.5rem;
  width: auto;
}

.about-email {
  font-weight: 800;
  font-size: 1.5rem;
}

.about-label {
  font-size: 1.2rem;
}

.about-text-field {
  height: 20rem;
}

.about-text-field-icon {
  position: absolute;
  right: 0.5rem;
  top: 16rem;
  height: 6rem;
  width: auto;
}

.error-image {
  position: absolute;
  right: -1rem;
  bottom: -1.5rem;
  height: 6rem;
  width: auto;
}

.padding-error {
  padding-bottom: 15rem;
  padding-top: 8rem;
}

.academy-icon {
  position: absolute;
  right: 0.5rem;
  top: -8.8rem;
  height: 9rem;
  width: auto;
}

.dich-icon {
  height: 5rem;
  width: auto;
}

@media (orientation: landscape) and (min-width: 501px) and (max-width: 1200px) {
  .news-block {
     display: grid;
  grid-template-columns: 48% 50%;
  gap: 2%;
  }
  .news-icon {
    height: 6.4rem;
    width: auto;
    position: absolute;
    top: -1.6rem;
    left: -1.9rem;
  }
  .about-link {
    font-weight: 600;
    font-size: 1.3rem;
  }
  .category-icon {
    height: 9rem;
    width: auto;
    position: absolute;
    top: -8.5rem;
    right: 0rem;
  }
  .categories-block {
    background-color: #1d6933;
    color: #ffffff;
    padding: 1.9rem 1.9rem 0.6rem 1.9rem;
  }
  .category-link {
    padding-bottom: 1.6rem;
    font-size: inherit;
  }
  .category-link:hover {
    color: #c4c4c4;
  }
  .academy-icon {
    position: absolute;
    right: 0.5rem;
    top: -10.8rem;
    height: 11rem;
    width: auto;
  }
  .about-project-icon {
    height: 20rem;
    width: auto;
    margin: auto;
  }
  .dich-icon {
    height: 7rem;
    width: auto;
  }
  .about-contacts-icon {
    position: absolute;
    left: -0.3rem;
    top: 0.7rem;
    height: 3.5rem;
    width: auto;
  }
  .mat-main-icon {
    position: absolute;
    top: 2rem;
    left: -2rem;
    height: 55rem;
    width: auto;
  }
  .more-title {
    padding-top: 3rem;
    padding-bottom: 2rem;
    font-size: 1.8rem;
    position: relative;
  }
  .more-icon {
    position: absolute;
    right: -1.5rem;
    top: 4rem;
    height: 5rem;
    width: auto;
  }
  .error-image {
    position: absolute;
    right: -1rem;
    bottom: -2.2rem;
    height: 8rem;
    width: auto;
  }
}
@media (orientation: landscape) and (min-width: 1201px) {
  .news-block {
     display: grid;
  grid-template-columns: 48% 50%;
  gap: 2%;
  }
  .news-icon {
    height: 8rem;
    width: auto;
    position: absolute;
    top: -1.6rem;
    left: -1.9rem;
  }
  .categories-block {
    background-color: #1d6933;
    color: #ffffff;
    padding: 3rem 3rem 1rem 3rem;
  }
  .about-link {
    font-weight: 600;
    font-size: 1.6rem;
  }
  .category-icon {
    height: 12rem;
    width: auto;
    position: absolute;
    top: -11.5rem;
    right: 0rem;
  }
  .categories-block {
    background-color: #1d6933;
    color: #ffffff;
    padding: 2.4rem 2.4rem 0.8rem 2.4rem;
  }
  .category-link {
    font-size: inherit;
    padding-bottom: 2rem;
  }
  .category-link:hover {
    color: #c4c4c4;
  }
  .about-project-icon {
    height: 25rem;
    width: auto;
    margin: auto;
  }
  .about-contacts-icon {
    position: absolute;
    left: -0.5rem;
    top: 0.5rem;
    height: 5rem;
    width: auto;
  }
  .academy-icon {
    position: absolute;
    right: 0.5rem;
    top: -14.8rem;
    height: 15rem;
    width: auto;
  }
  .dich-icon {
    height: 10rem;
    width: auto;
  }
  .about-email {
    font-weight: 800;
    font-size: 1.8rem;
  }
  .about-text-field-icon {
    position: absolute;
    right: 0.5rem;
    top: 18rem;
    height: 8rem;
    width: auto;
  }
  .error-image {
    position: absolute;
    right: -1rem;
    bottom: -2.5rem;
    height: 10rem;
    width: auto;
  }
  .mat-main-icon {
    position: absolute;
    top: 2rem;
    left: -2rem;
    height: 68rem;
    width: auto;
  }
  .more-title {
    padding-top: 4rem;
    padding-bottom: 2rem;
    font-size: 2rem;
    position: relative;
  }
  .more-icon {
    position: absolute;
    right: -1.5rem;
    top: 4.5rem;
    height: 7rem;
    width: auto;
  }
}
.editor-title {
  padding-top: 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.editor-button {
  background-color: #1d6933;
  padding: 1rem 0.5rem 1rem 0.5rem;
  font-size: 1.1rem;
  color: #ffffff;
}
.editor-button:hover {
  color: #c4c4c4;
}

.delete-button {
  background-color: #89878e;
  padding: 1rem 0.5rem 1rem 0.5rem;
  font-size: 1.1rem;
  color: #ffffff;
}
.delete-button:hover {
  color: red;
}

.editor-mat-card {
  display: grid;
  grid-template-columns: 38% 60%;
  -moz-column-gap: 2%;
       column-gap: 2%;
  border: 1px solid #89878e;
  margin-top: 2rem;
  padding: 1rem;
}

.editor-sub-button {
  background-color: #c4c4c4;
  padding: 0.7rem 0.3rem 0.7rem 0.3rem;
  color: #3b3b3d;
}
.editor-sub-button:hover {
  color: #ffffff;
}

.editor-images-block {
  display: flex;
  flex-direction: column;
  row-gap: 4rem;
  align-items: start;
}

@media (min-width: 1201px) {
  .editor-images-block {
    display: grid;
    grid-template-columns: repeat(3, 31.3%);
    -moz-column-gap: 2%;
         column-gap: 2%;
    row-gap: 4rem;
    align-items: start;
  }
}
.adv-item {
  border: 1px solid #89878e;
  margin-top: 2rem;
  padding: 1rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  padding: 20px;
}

.image-item {
  border: 1px solid #c4c4c4;
  padding: 10px;
  cursor: pointer;
  transition: all 0.3s;
}

.image-item:hover {
  border-color: #1d6933;
}

.image-item.selected {
  border-color: #1d6933;
  background-color: #ffffff;
}

.image-item img {
  width: 100%;
  height: 120px;
  -o-object-fit: cover;
     object-fit: cover;
}

.image-meta {
  margin-top: 8px;
  font-size: 12px;
}

.image-meta .alt-text {
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #3b3b3d;
  overflow: scroll;
}

.modal-content {
  background-color: #ffffff;
  margin: 5% auto;
  padding: 20px;
  width: 100%;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #c4c4c4;
}

.selected {
  border: 1px solid #1d6933;
}

.logo {
  text-align: center;
  margin-bottom: 30px;
}

.logo h1 {
  color: #3b3b3d;
  font-size: 24px;
  margin-bottom: 5px;
}

.logo p {
  color: #3b3b3d;
  font-size: 14px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: #3b3b3d;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #c4c4c4;
  background-color: #ffffff;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: #1d6933;
}

.submit-btn {
  width: -moz-fit-content;
  width: fit-content;
  padding: 2rem;
  color: #ffffff;
  border: none;
  background-color: #1d6933;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}

.submit-btn:hover {
  color: #c4c4c4;
}

.error-message {
  background: #fee;
  color: #c33;
  padding: 10px;
  margin-bottom: 20px;
  display: none;
  font-size: 14px;
}

.error-message.show {
  display: block;
}

.login-block {
  padding-top: 8rem;
  padding-bottom: 8rem;
  margin: auto;
  width: 100%;
}

@media (min-width: 1201px) {
  .login-block {
    margin: auto;
    width: 50%;
  }
}
/* Стили для статей сгенерированных через EJS */
.article-item {
  border: 1px solid #c4c4c4;
  margin-bottom: 2rem;
}

.article-meta {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  font-size: 1.4rem;
  font-family: inherit;
}

/* Ваши собственные стили для поиска */
.custom-search {
  display: flex;
  gap: 10px;
  margin: 20px;
}

.custom-search input {
  padding: 10px 15px;
  border: 1px solid #1d6933;
}

@media (orientation: landscape) and (min-width: 501px) and (max-width: 1200px) {
  .editor-title {
    padding-top: 0;
    font-size: 1.5rem;
    font-weight: 600;
  }
  .editor-button {
    background-color: #1d6933;
    padding: 1.5rem 0.7rem 1.5rem 0.7rem;
    color: #ffffff;
    font-size: 1.3rem;
  }
  .editor-button:hover {
    color: #c4c4c4;
  }
  .delete-button {
    background-color: #89878e;
    padding: 1.5rem 0.7rem 1.5rem 0.7rem;
    color: #ffffff;
    font-size: 1.3rem;
  }
  .delete-button:hover {
    color: red;
  }
  .editor-sub-button {
    background-color: #c4c4c4;
    padding: 1rem 0.5rem 1rem 0.5rem;
    color: #3b3b3d;
  }
  .editor-sub-button:hover {
    color: #ffffff;
  }
  .editor-mat-card {
    display: grid;
    grid-template-columns: 18% 80%;
    -moz-column-gap: 2%;
         column-gap: 2%;
    border: 1px solid #89878e;
    margin-top: 2rem;
    padding: 1rem;
  }
}
@media (orientation: landscape) and (min-width: 1201px) {
  .editor-title {
    padding-top: 0;
    font-size: 1.6rem;
    font-weight: 600;
  }
  .editor-button {
    background-color: #1d6933;
    padding: 2rem 1rem 2rem 1rem;
    color: #ffffff;
    font-size: 1.5rem;
  }
  .editor-button:hover {
    color: #c4c4c4;
  }
  .delete-button {
    background-color: #89878e;
    padding: 2rem 1rem 2rem 1rem;
    color: #ffffff;
    font-size: 1.5rem;
  }
  .delete-button:hover {
    color: red;
  }
  .editor-sub-button {
    background-color: #c4c4c4;
    padding: 1rem 0.5rem 1rem 0.5rem;
    color: #3b3b3d;
  }
  .editor-sub-button:hover {
    color: #ffffff;
  }
  .editor-mat-card {
    display: grid;
    grid-template-columns: 18% 80%;
    -moz-column-gap: 2%;
         column-gap: 2%;
    border: 1px solid #89878e;
    margin-top: 2rem;
    padding: 1rem;
  }
}
.first-adv {
  width: 100%;
  position: relative;
  background-color: #ffffff;
}

.adv-text {
  color: #c4c4c4;
  font-size: 0.8rem;
}

@media (orientation: landscape) {
  .adv-text {
    color: #c4c4c4;
    font-size: 1.2rem;
  }
}
@media (orientation: landscape) and (min-width: 1201px) {
  .first-adv {
    width: 1200px;
    margin: auto;
    position: relative;
    background-color: #ffffff;
  }
  .adv-text {
    color: #c4c4c4;
    font-size: 1.4rem;
  }
}
#filter-container {
  background-color: #ffffff;
}

.filter-wrapper {
  border: 1px solid #c4c4c4;
}

.filter-header {
  padding-bottom: 1.6rem;
}

.filter-form {
  margin-bottom: 0;
  position: relative;
}

#categoryFilter {
  width: 100%;
  margin-right: 1.6rem;
  font-size: 1rem;
}

#searchInput {
  width: 100%;
  margin-right: 1.1rem;
  font-size: 1rem;
}

.filter-group input,
.filter-group select {
  transition: all 0.3s;
}

.filter-group input:focus,
.filter-group select:focus {
  outline: none;
  border-color: #1d6933;
}

.search-form-icon {
  position: absolute;
  top: -55%;
  right: -0.7rem;
  height: 3.5rem;
  width: auto;
}

/* Стили для кнопок выбора типа материала */
.material-type-btn {
  text-decoration: none;
  padding: 0.5rem 2.4rem 0.5rem 2.4rem;
  cursor: pointer;
  border: none;
  font-size: 1.2rem;
  font-family: inherit;
  background-color: #c4c4c4;
}
.material-type-btn:hover {
  color: #ffffff;
}

.material-type-btn.active {
  background-color: #1d6933;
  color: #ffffff;
}
.material-type-btn.active:hover {
  color: #c4c4c4;
}

/* Скрытое поле для хранения значения */
#materialTypeInput {
  display: none;
}

.filter-actions {
  display: flex;
  gap: 12px;
}

.filter-actions button {
  padding: 1rem 1.8rem;
  border: none;
  cursor: pointer;
  font-size: 1.6rem;
  font-weight: 500;
  transition: all 0.2s;
}

.btn-primary {
  background: #1d6933;
  color: #ffffff;
  padding: 0.5rem 2.4rem 0.5rem 2.4rem;
  font-size: 1.3rem;
  border: none;
}

.btn-primary:hover {
  color: #c4c4c4;
}

#resetFilters {
  background-color: #ffffff;
  color: inherit;
  text-decoration: underline;
  font-family: inherit;
  border: none;
  font-size: inherit;
}
#resetFilters:hover {
  color: #c4c4c4;
}

.article-item {
  width: 100%;
  border: 1px solid #c4c4c4;
  margin-bottom: 2rem;
}
.article-item:hover {
  border: 1px solid #89878e;
}

.article-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.article-title a:hover {
  color: #c4c4c4;
}

.article-excerpt {
  color: #3b3b3d;
  line-height: 1rem;
  margin-bottom: 1.2rem;
  font-size: 1rem;
}

.article-meta {
  display: flex;
  gap: 1.2rem;
  font-family: inherit;
  flex-wrap: wrap;
  align-items: start;
}

.article-date {
  font-size: 1rem;
}

.article-category {
  color: #1d6933;
  font-weight: 600;
  font-size: 1rem;
}

.article-img {
  padding: 1.6rem;
  width: 20rem;
  height: auto;
}

.no-results {
  text-align: center;
  padding: 60px 20px;
  background: #ffffff;
  border: 1px solid #c4c4c4;
}

.no-results-icon {
  height: 9rem;
  width: auto;
  margin-bottom: 2rem;
}

.no-results h4 {
  font-size: 2.2rem;
}

.no-results p {
  margin: 0 0 2rem 0;
}

.no-results strong {
  font-weight: 600;
}

@media (orientation: landscape) and (min-width: 501px) and (max-width: 1200px) {
  .article-img {
    padding: 1.6rem;
    width: 20rem;
    height: auto;
  }
  .article-excerpt {
    color: #3b3b3d;
    line-height: 1.3;
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
  }
  .search-form-icon {
    position: absolute;
    top: -70%;
    right: -0.7rem;
    height: 5rem;
    width: auto;
  }
  #searchInput {
    width: 100%;
    font-size: 1.3rem;
    margin-right: 1.3rem;
  }
  #categoryFilter {
    width: 100%;
    margin-right: 1.6rem;
    font-size: 1.3rem;
  }
}
@media (orientation: landscape) and (min-width: 1201px) {
  .filter-header {
    padding-bottom: 2rem;
  }
  #categoryFilter {
    width: 100%;
    margin-right: 2rem;
  }
  #searchInput {
    width: 100%;
    font-size: 1.6rem;
    margin-right: 2rem;
  }
  .material-type-btn {
    text-decoration: none;
    padding: 0.7rem 3rem 0.7rem 3rem;
    cursor: pointer;
    border: none;
    font-size: 1.5rem;
    font-family: inherit;
    background-color: #c4c4c4;
  }
  .material-type-btn:hover {
    color: #ffffff;
  }
  .filter-actions {
    display: flex;
    gap: 15px;
  }
  .filter-actions button {
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s;
  }
  .btn-primary {
    background: #1d6933;
    color: #ffffff;
    padding: 0.7rem 3rem 0.7rem 3rem;
    font-size: 1.6rem;
    border: none;
  }
  .article-excerpt {
    color: #3b3b3d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
  }
  .article-meta {
    display: flex;
    gap: 1.5rem;
    font-family: inherit;
    flex-wrap: wrap;
    align-items: center;
  }
  .article-date {
    font-size: 1.2rem;
  }
  .article-category {
    color: #1d6933;
    font-weight: 600;
    font-size: 1.2rem;
  }
  .article-img {
    padding: 2rem;
    width: 25rem;
    height: auto;
  }
  #searchInput {
    width: 100%;
    margin-right: 1.6rem;
  }
  #categoryFilter {
    width: 100%;
    margin-right: 1.6rem;
    font-size: 1.6rem;
  }
}/*# sourceMappingURL=style.css.map */

summary {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

@media (orientation: landscape) and (min-width: 501px) and (max-width: 1200px) {
  summary {
    font-size: 1.7rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
  }
}
@media (orientation: landscape) and (min-width: 1200px) {
  summary {
    font-size: 2rem;
    word-break: normal;
    font-weight: 400;
    margin-bottom: 0.5rem;
  }
}

.important-text {
  background-color: #c4c4c4;
  padding: 1rem;
}

@media (orientation: landscape) and (min-width: 501px) and (max-width: 1200px) {
  .important-text {
    background-color: #c4c4c4;
  padding: 1.5rem;
  }
}
@media (orientation: landscape) and (min-width: 1200px) {
  .important-text {
    background-color: #c4c4c4;
  padding: 2rem;
  }
}