/* * {
  line-height: 28px;
} */

body.blog,
body.review,
body.guide {
  background-color: #f7f7f7;
}

.main-title {
  font-size: 3rem;
  text-align: center;
}

#blogg-container {
  max-width: 1200px;
  width: 90vw;
  padding: 5vh 0;
  padding-top: 0;
  margin: auto;
}

a {
  text-decoration: none;
}

.title-row {
  text-align: center;
}

.article-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 2rem;
}

@media only screen and (min-width: 700px) {
  .blogg-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (min-width: 1050px) {
  .blogg-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.article-container a {
  display: block;
  height: 100%;
}

.article-excerpt p {
  font-size: 14px;
  line-height: 1.5;
  color: #808080;
  font-weight: 300;
  border-top: 1px solid #efeded;
  margin: 0;
  padding-top: 1rem;
}

.category-container {
  font-size: 14px;
  color: #b5b5b5;
  margin-bottom: -15px;
  font-weight: 300;
}

.article-container > div {
  -webkit-box-shadow: 0px 0px 3px 3px rgb(0 0 0 / 4%);
  box-shadow: 0px 0px 3px 3px rgb(0 0 0 / 4%);
  background-color: white;
  border: 1px solid #d6d6d6;
  transition: 0.2s;
}

.article-container > div:hover {
  -webkit-box-shadow: 0px 0px 7px 7px rgb(0 0 0 / 5%);
  box-shadow: 0px 0px 7px 7px rgb(0 0 0 / 5%);
}

.article-box {
  padding: 1rem;
}

.article-box-upper {
  display: flex;
  justify-content: space-between;
  padding-bottom: 5px;
}

.article-box-upper-text {
  margin-right: 1rem;
  min-height: 97px;
}

.article-box h3 {
  margin-bottom: 0;
}

.score-container p {
  margin: 5px 0;
  font-size: 14px;
}

.article-box-upper img {
  width: 100%;
  max-height: 90px;
  max-width: 210px;
  object-fit: contain;
}

/* Author Container */

.post-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: -1.5rem;
}

.post-author * {
  font-size: 14px;
  line-height: 1.5;
  color: #808080;
  font-weight: 300;
}

.article-box-lower {
  display: flex;
  flex-direction: column-reverse;
}

.article-box .post-author img {
  display: none;
}

@media screen and (max-width: 550px) {
  .article-box .post-author {
    display: block;
  }

  .article-box .post-author .last-modified {
    margin-top: -0.8rem;
  }
}

.blogg-nav {
  text-align: center;
  margin: 3rem 0 1rem 0;
}

.blogg-nav .screen-reader-text {
  display: none;
}

.blogg-nav .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 16px;
}

.blogg-nav .nav-links .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  line-height: 1;
  padding: 4px;
  min-width: 32px;
  color: var(--third-color);
  text-decoration: none;
  background-color: #f8f8f8;
  border-radius: 0.2rem;
  border: 1px solid #dbdbdb;
  box-shadow: 0px 0px 5px #dbdbdb;
}

.blogg-nav .nav-links .page-numbers.current {
  background-color: #dbdbdb;
  box-shadow: 0px 0px 5px #dbdbdb;
}

.blogg-nav .nav-links .page-numbers:hover {
  background-color: #dbdbdb;
}

.blogg-nav .nav-links .dots {
  background: none;
  border: none;
  box-shadow: none;
  pointer-events: none;
  padding: 0;
  min-width: auto;
}

.navigation.pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media only screen and (max-width: 1100px) {
  .article-box-upper {
    flex-direction: column-reverse;
  }

  .category-container {
    margin-top: 5px;
    margin-bottom: unset;
  }

  .article-box h3 {
    margin-top: 0;
  }

  .article-box-upper-text {
    min-height: unset;
    margin-bottom: 0.5rem;
  }

  .article-box-upper img {
    object-fit: cover;
    max-width: none;
  }

  .reviews .article-box-upper img {
    object-fit: contain;
    margin: auto;
    max-width: 250px;
  }
}

@media screen and (max-width: 750px) {
  .title-row {
    margin-bottom: 0;
  }

  .article-container {
    grid-template-columns: unset;
  }

  .article-box-upper {
    flex-direction: unset;
  }

  .review .article-box-upper img {
    margin: unset;
    max-width: 180px;
  }
}

@media screen and (max-width: 470px) {
  .article-box-upper {
    flex-direction: column-reverse;
  }

  .review .article-box-upper img {
    margin: auto;
    max-width: 220px;
  }
}
