.posts-wrapper, .post-listing {
  position: relative;
}

.textbox {
  display: block;
}

.textbox {
  box-sizing: border-box;
}

.textbox {
  width: 100%;
}

.posts-wrapper {
  display: grid;
}

.textbox {
  padding: 0.85em 1em 0.75em;
  line-height: 1.35em;
  border: 0;
  outline: none;
  border-radius: 0;
  background-color: #eeeeee;
  color: #1A2298;
  font-weight: normal;
  transition: background-color 250ms;
}
.textbox::placeholder {
  color: #888888;
}
.textbox:hover {
  background-color: #f8f8f8;
}
.textbox:focus {
  background-color: #f8f8f8;
  outline: solid 2px #666666;
  outline-offset: 0;
}
.textbox:disabled {
  background-color: #eeeeee;
  color: #888888;
  cursor: not-allowed;
}

textarea.textbox {
  min-height: 8em;
  resize: vertical;
}

select.textbox {
  padding-right: 44px;
  background-image: linear-gradient(45deg, transparent 50%, #666666 50%), linear-gradient(135deg, #666666 50%, transparent 50%);
  background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.post-listing .img-wrapper {
  border-radius: 5px;
}

@media screen and (min-width: 1921px) {
  .posts-wrapper {
    padding-left: 7.5%;
    padding-right: 7.5%;
  }
}
@media screen and (min-width: 1441px) and (max-width: 1920px) {
  .posts-wrapper {
    padding-left: 5%;
    padding-right: 5%;
  }
}
@media screen and (min-width: 1121px) and (max-width: 1440px) {
  .posts-wrapper {
    padding-left: 5%;
    padding-right: 5%;
  }
}
@media screen and (min-width: 761px) and (max-width: 1120px) {
  .posts-wrapper {
    padding-left: 3em;
    padding-right: 3em;
  }
}
@media screen and (max-width: 760px) {
  .posts-wrapper {
    padding-left: 5%;
    padding-right: 5%;
  }
}

@media screen and (min-width: 1201px) {
  .posts-wrapper {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}
@media screen and (min-width: 761px) and (max-width: 1200px) {
  .posts-wrapper {
    padding-top: 4.5em;
    padding-bottom: 4.5em;
  }
}
@media screen and (max-width: 760px) {
  .posts-wrapper {
    padding-top: 3em;
    padding-bottom: 3em;
  }
}

.post-listing h2 {
  font-size: clamp(1rem, 1.15vw, 1.125rem);
}

.post-listing p, .textbox {
  font-size: 0.9375rem;
}

.post-listing h2 {
  margin-bottom: 0.6em;
  line-height: 1.25em;
  font-weight: 600;
}

.post-listing h2 {
  font-weight: 500;
}

.post-listing p {
  font-weight: normal;
  line-height: 1.6em;
}

.post-listing p {
  margin-bottom: 1.25em;
}

.posts-wrapper {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3em;
}
@media screen and (max-width: 1120px) {
  .posts-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media screen and (max-width: 600px) {
  .posts-wrapper {
    grid-template-columns: 1fr;
  }
}

.post-listing .img-wrapper {
  aspect-ratio: 16/10;
  margin-bottom: 1em;
}
