@media screen and (max-width: 1250px) {
  .wrapper {
    width: auto;
    margin: 0 15px;
  }
  .footer-wrapper {
    margin-bottom: 15px;
  }
  .search-form-wrapper {
    flex-direction: column;
  }
  .search-form {
    width: 96%;
  }
  .search-form .searchfield {
    width: 100%;
  }
  .search-term select {
    max-width: 350px;
  }
  .search-form .searchfield {
    height: 40px;
  }
  .search-form .searchsubmit {
    height: 40px;
    width: 80px;
    font-size: 17px;
  }
  .primary_menu_container ul {
    overflow-x: auto;
    justify-content: left;
  }
  .primary_menu_container ul li a {
    white-space: nowrap;
    margin: 10px 0;
  }
}

@media screen and (max-width: 1030px) {
  .content_bagi {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media screen and (max-width: 745px) {
  .footer-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .container_post_kedua_2 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 730px) {
  .flex-search-field {
    flex-direction: column;
    width: 100%;
  }
  .flex-search-field .search-term {
    flex-shrink: 1;
    width: 96%;
  }
}

@media screen and (max-width: 670px) {
  .wrapper-button-lamar {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media screen and (max-width: 630px) {
  .info-post-index .info-lengkap ul {
    grid-template-columns: repeat(1, 1fr);
  }
  .form_lamar_button {
    flex-direction: column;
  }
  .info-post-index {
    display: block;
    gap: 15px;
  }

  .info-post-index .image img {
    display: block;
    margin: 20px auto;
  }
}

@media screen and (max-width: 560px) {
  .footer-wrapper {
    grid-template-columns: repeat(1, 1fr);
  }
  .footer-about {
    grid-row: 1;
  }

  .container_post_kedua_2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .nf-field-element ul li {
    float: none !important;
    text-wrap: nowrap;
  }

  .footer-menu ul {
    flex-direction: column;
    gap: 20px;
  }

  .search-term select {
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
  }

  .container_post_utama article {
    padding-bottom: 10px;
  }

  .header-wrapper {
    flex-direction: column;
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 430px) {
  .info-post-index {
    grid-template-columns: auto;
  }
  .info-post-index .image {
    display: block;
    margin: 0 auto;
  }
  .info-post-index .date-ago {
    text-align: center;
  }
  .pagination ul {
    flex-wrap: wrap;
  }
}
