@media (max-width: 575.98px) {

  /* Hero */
  .hero-section {
    height: 280px;
  }

  /* Blog container */
  .blog-container {
    margin-top: -180px;
    border-radius: 10px;
  }

  /* Featured image */
  .featured-image {
    height: 220px;
    margin: 12px;
  }

  /* Resources */
  .resources-box {
    margin-top: 20px;
  }

  .resources-box h5 {
    font-size: 20px;
  }

  .resource-item img {
    width: 100px;
    height: 70px;
  }

  .resource-item h6 {
    font-size: 13px;
  }

  /* Text content */
  .bottom-text {
    margin-left: 12px;
    margin-top: 10px;
  }

  .bottom-text h2 {
    font-size: 22px;
    line-height: 1.3;
  }

  .bottom-text p {
    font-size: 15px;
    line-height: 24px;
  }

  .bottom-text .text-muted {
    font-size: 15px;
    gap: 10px;
  }
}


@media (min-width: 576px) and (max-width: 767.98px) {

  .hero-section {
    height: 320px;
  }

  .blog-container {
    margin-top: -220px;
    border-radius: 12px;
  }

  .featured-image {
    height: 260px;
    margin: 14px;
  }

  .resources-box h5 {
    font-size: 22px;
  }

  .resource-item img {
    width: 120px;
    height: 80px;
  }

  .bottom-text h2 {
    font-size: 24px;
  }

  .bottom-text p {
    font-size: 15.5px;
  }
}


@media (min-width: 768px) and (max-width: 991.98px) {

  .hero-section {
    height: 400px;
  }

  .blog-container {
    margin-top: -280px;
  }

  .featured-image {
    height: 300px;
  }

  .resources-box h5 {
    font-size: 24px;
  }

  .resource-item img {
    width: 140px;
    height: 90px;
  }

  .bottom-text h2 {
    font-size: 26px;
  }

  .bottom-text p {
    font-size: 16px;
  }
}


@media (min-width: 992px) and (max-width: 1199.98px) {

  .hero-section {
    height: 460px;
  }

  .blog-container {
    margin-top: -320px;
  }

  .featured-image {
    height: 340px;
  }

  .resource-item img {
    width: 150px;
    height: 95px;
  }

  .bottom-text h2 {
    font-size: 27px;
  }
}


@media (min-width: 1200px) and (max-width: 1399.98px) {

  .hero-section {
    height: 500px;
  }

  .blog-container {
    max-width: 1340px;
  }

  .featured-image {
    height: 375px;
  }
}


@media (min-width: 1400px) {

  .hero-section {
    height: 560px;
  }

  .blog-container {
    max-width: 1440px;
  }

  .bottom-text h2 {
    font-size: 30px;
  }

  .bottom-text p {
    font-size: 17px;
    line-height: 28px;
  }
}
