@media screen and (min-width: 1921px) {
  .acasa-hero-section .hero-slide-1 {
    padding-left: 70px;
    padding-right: 70px;
  }
}

@media screen and (max-width: 1440px) {
  .navbar-expand-xl .navbar-nav {
    gap: 15px;
  }
}
@media screen and (max-width: 1300px) {
  .navbar-expand-xl .navbar-nav .search-toggle {
    margin-left: 10px;
  }
  #main-navbar .btn-write svg {
    display: none;
  }
  .navbar-expand-xl .navbar-nav {
    gap: 10px;
  }
  .view-post-page .categories-grid .categories-item-wrapper {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .view-post-page .view-post-page-content {
    max-width: 70%;
    flex: 0 0 70%;
  }

  .view-post-page .articole-recomandate {
    max-width: 30%;
    flex: 0 0 30%;
  }

  .view-post-page .articole-recomandate .categories-item-wrapper {
    max-width: 100%;
    flex: 0 0 100%;
  }

  .post_container .blog-content {
    max-width: 70%;
    flex: 0 0 70%;
    min-width: inherit;
  }

  .post_container .similar_posts {
    max-width: 30%;
    flex: 0 0 30%;
    min-width: inherit;
  }
}

@media screen and (max-width: 1199px) {
  .item-search {
    list-style: none;
  }

  .navbar-expand-xl .navbar-nav li:not(:last-of-type):hover::before {
    display: none;
  }
}

@media screen and (max-width: 991px) {
  #main-navbar .navbar-brand {
    margin-right: auto;
  }
  header .item-search {
    margin-left: 0px;
  }
  .publica-continut-hero-section-title {
    padding: 0;
  }
  .publica-continut-section-1 .publica-continut-section-1-form {
    padding: 0;
  }
  .navbar-expand-xl .navbar-nav {
    align-items: flex-start;
  }

  .navbar-expand-xl .navbar-nav {
    gap: 20px;
  }
  .contact-section .contact-form-text {
    border-top-right-radius: 50px;
    border-bottom-left-radius: 0px;
  }
  .contact-section .contact-form-content {
    border-top-right-radius: 0px;
    border-bottom-left-radius: 50px;
  }
  .search-wrapper {
    padding-right: 5vw;
    padding-left: 5vw;
  }

  .logo {
    padding-left: 0px;
  }
  #main-navbar-collapse .navbar-nav {
    flex-direction: column;
  }

  .navbar-toggler {
    padding: 10px;
    right: -10px;
  }

  .search-toggle {
    padding: 10px;
    position: relative;
    right: -10px;
  }

  .view-post-page .categories-grid .categories-item-wrapper {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .view-post-page .view-post-page-content {
    max-width: 60%;
    flex: 0 0 60%;
  }

  .view-post-page .articole-recomandate {
    max-width: 40%;
    flex: 0 0 40%;
  }

  .acasa-hero-section .hero-slide-1 .module-text {
    max-width: 100%;
  }

  footer .footer-content {
    display: grid;
    grid-template: auto / repeat(4, 1fr);
    gap: 40px 0;
  }

  footer .social-i {
    grid-column: 1/5;
    margin-left: auto;
    margin-right: auto;
  }

  footer .footer-gdpr {
    grid-column: 1/5;
  }

  .view-post-page .view-post-page-content {
    padding: 0;
  }

  .view-post-page-right .view-post-page-content {
    padding-right: 0px;
    padding-left: 20px;
  }

  .view-post-page .view-post-page-content {
    padding-right: 20px;
  }

  .view-post-page .view-post-title {
    padding: 0;
  }

  .view-post-page .articole-recomandate {
    padding: 0;
  }

  .acasa-hero-section .hero-slide-1 {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .post_container .blog-content {
    max-width: 65%;
    flex: 0 0 65%;
    padding-right: 20px;
  }

  .post_container .similar_posts {
    max-width: 35%;
    flex: 0 0 35%;
    padding-left: 20px;
  }

  .post-container-all {
    padding: 0;
  }

  .post_container .post-buttons {
    flex-direction: column;
    gap: 20px 0;
  }

  .post_container .post-buttons .btn-primary {
    justify-content: center;
  }

  #cookie_notice {
    margin-left: 5vw;
    margin-right: 5vw;
  }
}

@media screen and (max-width: 820px) {
  .post_container .blog-content {
    max-width: 60%;
    flex: 0 0 60%;
    padding-right: 15px;
  }

  .post_container .similar_posts {
    max-width: 40%;
    flex: 0 0 40%;
    padding-left: 15px;
  }
}

@media screen and (max-width: 800px) {
  .search-wrapper #search,
  .search-wrapper #search:focus {
    max-width: 100%;
  }

  .search-results {
    max-width: 100%;
  }
  .search-wrapper {
    padding-top: 30px;
  }
  .search-content {
    padding-top: 50px;
  }
  .search-results .search-results-content .search-results-img-text {
    flex-direction: column;
  }

  .search-results .search-results-content .search-results-img-text a img {
    max-height: 360px;
    aspect-ratio: 16/9;
    min-width: inherit;
    max-width: inherit;
  }

  .search-wrapper a.search-hide:before,
  .search-wrapper a.search-hide:after {
    height: 20px;
  }

  .search-wrapper a.search-hide {
    width: 20px;
    height: 20px;
  }

  footer .footer-content {
    grid-template: auto / repeat(2, 1fr);
    gap: 40px 0;
    justify-items: center;
  }

  footer .social-i {
    grid-column: 1/3;
  }

  footer .footer-gdpr {
    grid-column: 1/3;
  }

  footer .footer-menu {
    align-items: flex-start;
    max-width: 200px;
  }
}

@media screen and (max-width: 760px) {
  .post_container .blog-content {
    max-width: 100%;
    flex: 0 0 100%;
    padding-right: 0px;
  }

  .post_container .similar_posts {
    max-width: 100%;
    flex: 0 0 100%;
    padding-left: 0px;
  }

  .post_container .post-buttons {
    flex-direction: row;
    gap: 20px;
  }

  .post_container .similar_posts {
    border-left: 0;
  }

  .post_container .similar_posts .categories-grid {
    display: grid;
    grid-template: auto / 1fr 1fr;
    gap: 15px 30px;
  }

  .post_container .similar_posts .similar-posts-content .similar-posts-content-title {
    text-align: center;
  }

  .post_container .follow-us {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .post_container .similar-posts-view-post .similar-posts-view-post-title {
    text-align: center;
  }
  .post_container .follow-us {
    margin-top: 50px;
  }
}

@media screen and (max-width: 620px) {
  .post_container .post-buttons {
    flex-direction: column;
    gap: 20px;
  }
}

@media screen and (max-width: 576px) {
  header.fixed .logo {
    max-width: 150px;
  }

  header .logo {
    max-width: 200px;
    width: 100%;
  }
  .publica-continut-section-1 .upload-file input {
    display: none;
  }

  .publica-continut-section-1 .upload-file:not(.agreement-radio):not(.checkout-gdpr):not(.checkbox) label {
    border-radius: 50px;
    justify-content: center;
    width: 100%;
  }
  .contact-section .contact-form-text {
    border-top-right-radius: 30px;
    border-top-left-radius: 30px;
  }
  .contact-section .contact-form-content {
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
  }
  .contact-section {
    margin-top: 140px;
    padding-bottom: 50px;
  }
  .contact-section .contact-form-content {
    padding: 20px;
  }
  .contact-section .contact-form-text {
    padding: 20px;
  }
  .post_container {
    padding-top: 130px;
  }
  .view-post-page .view-post-page-content {
    max-width: 100%;
    flex: 0 0 100%;
  }

  .view-post-page-right .view-post-page-content {
    padding-right: 0px;
    padding-left: 0px;
  }

  .view-post-page .view-post-page-content {
    padding-right: 0px;
  }

  .view-post-page .view-post-title {
    margin-bottom: 10px;
  }

  .view-post-page-right {
    flex-direction: column-reverse;
  }

  .view-post-page-right .view-post-title {
    order: 1;
  }

  .view-post-page .articole-recomandate {
    margin-top: 40px;
  }

  .view-post-page .articole-recomandate {
    max-width: 100%;
    flex: 0 0 100%;
  }

  .articole-recomandate .articole-recomandate-img {
    border: 0;
    position: relative;
    height: 500px;
    clip-path: inset(0);
  }

  .articole-recomandate .articole-recomandate-img img {
    object-fit: contain;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
  }

  .reclama-title {
    display: flex;
  }

  .logo {
    max-height: 50px;
  }

  header.fixed .logo {
    max-height: 40px;
  }

  footer .footer-menu {
    max-width: 100%;
  }

  footer .footer-content {
    grid-template: auto / repeat(1, 1fr);
  }

  footer .social-i {
    grid-column: 1/2;
    margin-left: 0;
  }

  footer .footer-gdpr {
    grid-column: 1/2;
  }

  .container-fluid .acasa-hero-section .slick-arrow {
    display: none !important;
  }

  header.fixed .search-wrapper.show {
    top: 61px;
  }

  .post_container .similar_posts .categories-grid {
    grid-template: auto / 1fr;
  }

  .post_container .similar_posts .blog-category-item .category-item-inner {
    flex-direction: column;
  }

  .post_container .similar_posts .blog-category-item .categ-image-wrapper {
    max-width: 100%;
    max-height: 50%;
    padding-top: 50%;
    padding-right: 100%;
  }

  #cookie_notice {
    padding: 40px 20px;
  }
}

@media screen and (max-width: 450px) {
  .post_container .share-section {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}

@media screen and (max-width: 320px) {
  .post_container .share-section .icon-section {
    gap: 10px;
  }

  .post_container .share-section .icon-section .share-icon {
    min-width: 40px;
    min-height: 40px;
  }

  .post_container .share-section .icon-section .share-icon svg {
    max-width: 16px;
    max-height: 16px;
  }
}
