/* Blog page */

@media only screen and (max-width: 900px) {
  .blog__related-items {
    flex-direction: column;
  }
  .blog__related-image-box {
    width: 100%;
    height: 20.7rem;
    border-radius: 10px;
    background-color: var(--color-grey-light-1);
  }
}

@media only screen and (max-width: 700px) {
  .blog__related-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
  }

  .blog__related-items {
    flex: 0 0 calc(50% - 1rem);
    box-sizing: border-box;
  }
}

@media only screen and (max-width: 600px) {
  .blog__related-row {
    flex-wrap: wrap;
    gap: 7rem;
  }

  .blog__related-row > * {
    flex: 0 0 calc(100% - 1rem); /* 2 columns */
  }

  .blog__related-items {
    flex-direction: column;
    align-items: center;
  }

  .blog__header {
    margin-left: 0;
  }

  .blog__related-image-box {
    width: 90%;
    height: 25rem;
    border-radius: 10px;
    background-color: var(--color-grey-light-1);
  }
  .blog {
    justify-content: center;
    align-items: center;
  }
  .blog__reading-time::after {
    width: 45rem;
  }
  .blog__question {
    width: 90%;
    margin: 0 auto;
    padding-top: 2rem;
  }

  .blog__question-text {
    font-size: 1.6rem;
  }

  .blog__paragraph {
    font-size: 1.8rem;
    width: 50ch;
  }

  .blog__quote-text {
    font-size: 2.4rem;
  }

  .box-2 {
    width: 90%;
  }
}

@media only screen and (max-width: 375px) {
  .blog {
    justify-content: center;
    align-items: flex-start;
  }

  .blog__quote {
    width: 100%;
  }

  .blog__reading-time::after {
    width: 25rem;
  }

  .blog__related-image-box {
    width: 100%;
    height: 25rem;
  }

  .blog__paragraph {
    width: 40ch;
    font-size: 1.8rem;
  }

  .blog__quote-text {
    font-size: 2rem;
  }

  .blog__question {
    width: 100%;
  }

  .box-1 {
    width: 110%;
  }

  .box-2 {
    width: 100%;
  }
}
