.header {
  margin-bottom: 0;
}
.header__wrapper {
  padding-top: 50px;
}
.header__content {
  width: 100%;
}
.header__post {
  display: flex;
}
.header__post-img {
  width: 100%;
  height: 467px;
  object-fit: cover;
  border-radius: 12px;
}
.header__post-img-link {
  width: 41%;
  margin-right: 60px;
}
.header__post-content {
  width: 59%;
}
.header__post-title {
  text-align: left;
  margin-bottom: 12px;
}
.header__post-date {
  margin-bottom: 20px;
  display: flex;
}
.header__post-date img {
  margin-right: 4px;
}
.header__post-date__date {
  margin-right: 32px !important;
}
.header__post-date__likes {
  margin-right: 20px !important;
}
.header__post-date__likes img {
  height: 18px;
  width: 18px;
}
.header__post-date__comments img {
  height: 18px;
  width: 20px;
}
.header__post-annotation {
  font-size: 24px;
  margin-bottom: 32px;
}
.header__btn-title {
  margin-right: 12px;
}

.search {
  margin-bottom: 56px;
}
.search__cats-find {
  padding-top: 40px;
  padding-bottom: 40px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 1px;
  margin-bottom: 20px;
}
.search__cats {
  display: flex;
  align-items: center;
}
.search__cat {
  margin-right: 20px;
}
.search__cat:last-child {
  margin-right: 0;
}
.search__find img {
  fill: #fff;
  margin-right: 8px;
}
.search__form {
  display: flex;
  align-items: center;
}
.search__form input {
  border: none;
  width: 311px;
}
.search__form input:-webkit-autofill,
.search__form input:-webkit-autofill:hover,
.search__form input:-webkit-autofill:focus {
  -webkit-text-fill-color: rgba(255, 255, 255, 0.8);
  -webkit-box-shadow: 0 0 0px 1000px #292B2E inset;
  box-shadow: 0 0 0px 1000px #292B2E inset;
  transition: background-color 5000s ease-in-out 0s;
  caret-color: rgba(255, 255, 255, 0.8);
}
.search__form-mobile {
  display: none;
}
.search__sort {
  display: flex;
  justify-content: flex-end;
}
.search__sort-box {
  display: flex;
  align-items: center;
}
.search__sort-box a:hover {
  color: #fff;
}
.search__sort-selected {
  display: flex;
  align-items: center;
}
.search__sort-selected span {
  color: #fff;
  margin-right: 4px;
}
.search__sort-item {
  margin-right: 32px;
}
.search__sort-item:last-child {
  margin-right: 0;
}

.posts {
  margin-bottom: 80px;
}
.posts__mobile-show {
  display: none;
}
.posts__box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 20px;
}
.posts__post {
  width: 31.4%;
  margin-bottom: 40px;
}
.posts__post-img {
  height: 246px;
  width: 100%;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 12px;
}
.posts__post-title {
  margin-bottom: 12px;
}
.posts__post-date {
  margin-bottom: 20px;
  display: flex;
}
.posts__post-date__date {
  margin-right: 20px;
}
.posts__post-date__likes {
  display: flex;
  align-items: center;
  margin-right: 12px;
}
.posts__post-date__comments {
  display: flex;
  align-items: center;
}
.posts__post-date img {
  margin-right: 4px;
}
.posts__pages {
  display: flex;
  justify-content: center;
}
.posts__pages-box {
  display: flex;
  align-items: center;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
}
.posts__pages-box a, .posts__pages-box span {
  margin-right: 32px;
  color: #E5E80C;
  cursor: pointer;
}
.posts__pages-box a:last-child {
  margin-right: 0;
}
.posts__pages-box a:hover {
  color: #fff;
}
.posts__page-selected {
  color: #fff !important;
}
.posts__next {
  margin-right: 0 !important;
}

@media (max-width: 1199px) {
  .header {
    height: 620px;
  }
  .header__post-img {
    height: 388px;
  }
  .header__post-annotation {
    font-size: 20px;
  }
  .search {
    margin-bottom: 48px;
  }
  .search__cats-find {
    padding-top: 32px;
    flex-direction: column-reverse;
    padding-bottom: 28px;
  }
  .search__find {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 1px;
  }
  .search__cats {
    flex-wrap: wrap;
    margin-bottom: 0px;
  }
  .search__cat {
    margin-bottom: 4px;
  }
  .posts {
    margin-bottom: 66px;
  }
  .posts__post {
    margin-bottom: 32px;
  }
  .posts__post-img {
    height: 200px;
    border-radius: 12px;
  }
  .posts__pages-box {
    padding: 32px;
  }
}
@media (max-width: 991px) {
  .header {
    height: 520px;
  }
  .header__wrapper {
    padding-top: 60px;
  }
  .header__post-img {
    height: 300px;
    object-fit: cover;
  }
  .header__post-img-link {
    margin-right: 40px;
  }
  .header__post-content {
    word-wrap: break-word;
  }
  .header__post-title {
    font-size: 32px;
    margin-bottom: 8px;
  }
  .header__post-date {
    font-size: 14px;
    margin-bottom: 12px;
    line-height: normal;
  }
  .header__post-date__likes img {
    height: 16px;
    width: 16px;
  }
  .header__post-date__comments img {
    height: 16px;
    width: 18px;
  }
  .header__post-annotation {
    font-size: 18px;
    margin-bottom: 24px;
  }
  .posts__post {
    width: 48%;
    margin-bottom: 32px;
  }
  .posts__post-img {
    height: 234px;
    border-radius: 12px;
  }
  .posts__post-title {
    margin-bottom: 8px;
  }
  .posts__post-date {
    margin-bottom: 12px;
  }
  .posts__pages-box {
    padding: 32px;
  }
}
@media (max-width: 767px) {
  .header {
    height: 600px;
  }
  .header__wrapper {
    padding-top: 48px;
  }
  .header__post-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  .header__post-img-link {
    width: 100%;
    margin-bottom: 12px;
    margin-right: 0;
  }
  .header__post {
    flex-direction: column;
    position: relative;
  }
  .header__btn img {
    height: auto;
    width: auto;
  }
  .header__post-content {
    width: 100%;
  }
  .header__post-annotation {
    margin-bottom: 20px;
  }
  .header__btn-title {
    margin-right: 8px;
  }
  .search {
    margin-bottom: 40px;
  }
  .posts {
    margin-bottom: 60px;
  }
  .posts__post-img {
    height: 176px;
    object-fit: cover;
    margin-bottom: 12px;
  }
  .posts__post-title {
    font-size: 20px;
  }
  .posts__box {
    margin-bottom: 8px;
  }
  .posts__pages-box {
    padding: 25px;
  }
  .posts__pages-box a, .posts__pages-box span {
    margin-right: 20px;
  }
}
@media (max-width: 575px) {
  .header {
    height: auto;
  }
  .header__wrapper {
    padding: 104px 0 60px 0;
  }
  .header__post-img {
    height: 192px;
    width: 100%;
    object-fit: cover;
  }
  .search {
    margin-bottom: 32px;
  }
  .search__cats-find {
    padding-top: 20px;
    padding-bottom: 16px;
  }
  .search__find {
    padding-bottom: 20px;
    margin-bottom: 20px;
  }
  .search__form input {
    width: 100%;
  }
  .search__form-mobile {
    display: flex;
  }
  .search__form-standart {
    display: none;
  }
  .search__sort {
    justify-content: center;
  }
  .search__sort-item {
    margin-right: 12px;
  }
  .posts {
    margin-bottom: 40px;
  }
  .posts__mobile-show {
    display: block;
  }
  .posts__mobile-hide {
    display: none;
  }
  .posts__box {
    margin-bottom: 0;
  }
  .posts__post {
    width: 100%;
  }
  .posts__post-img {
    width: 100%;
  }
  .posts__pages-box {
    padding: 20px;
  }
}
@media (max-width: 400px) {
  .header__post-img {
    height: 192px;
    width: 100%;
    object-fit: cover;
  }
  .search {
    margin-bottom: 32px;
  }
  .search__cats-find {
    padding-top: 20px;
    padding-bottom: 16px;
  }
  .search__find {
    padding-bottom: 20px;
    margin-bottom: 20px;
  }
  .search__form input {
    width: 100%;
  }
  .search__form-mobile {
    display: flex;
  }
  .search__form-standart {
    display: none;
  }
  .search__sort {
    justify-content: center;
  }
  .search__sort-item {
    margin-right: 12px;
  }
  .posts {
    margin-bottom: 40px;
  }
  .posts__mobile-show {
    display: block;
  }
  .posts__mobile-hide {
    display: none;
  }
  .posts__box {
    margin-bottom: 0;
  }
  .posts__post {
    width: 100%;
  }
  .posts__post-img {
    width: 100%;
  }
  .posts__pages-box {
    padding: 20px;
  }
}

/*# sourceMappingURL=style.css.map */
