@media screen and (max-width: 1300px) {
  .banner img {
    display: none;
  }

  .banner::after {
    content: "";
    display: block;
    background-image: url("../images/banner-guias-portaria798-1200x186.png");
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 186px;
  }

  .pdf-column {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .download-item {
    width: 48%;
    margin: 10px 0;
    margin-bottom: 60px;
  }

  .blog-video {
    flex-direction: column;
  }

  .blog img,
  .video img {
    max-width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .logo img {
    max-width: 150px;
  }

  .banner img {
    display: none;
  }

  .banner::after {
    content: "";
    display: block;
    background-image: url("../images/banner-guias-portaria798-767x186.png");
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 186px;
  }

  header {
    text-align: center;
  }

  .banner img {
    max-width: 100%;
  }

  .pdf-column img {
    max-width: 100%;
  }

  .download {
    width: 70%;
    margin: 20px auto;
  }
}

@media screen and (max-width: 576px) {
  .logo img {
    max-width: 120px;
  }

  .banner img {
    display: none;
  }

  .banner::after {
    content: "";
    display: block;
    background-image: url("../images/banner-agroceres-mobile.webp");
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 186px;
  }

  .blog span,
  .video span {
    font-size: 14px;
    padding: 6px 12px;
  }

  .pdf-column {
    flex-direction: column;
    text-align: center;
  }

  .pdf-column img {
    max-width: 100%;
  }

  .download-item {
    width: 80%;
    margin: 20px auto;
  }
}

@media screen and (max-width: 400px) {
  .pdf-column {
    flex-direction: column;
    align-items: center;
  }

  .download-item {
    width: 90%;
    margin: 20px auto;
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 320px) {
  .pdf-column {
    flex-direction: column;
    align-items: center;
  }

  .download-item {
    width: 100%;
    margin: 20px auto;
    margin-bottom: 20px;
  }

  .blog,
  .video {
    padding: 5px;
    margin: 10px 0;
  }
}
