@import "common.css";

/**********
*** SECTION BLOG START ***
**********/
.wrapper {
  background: var(--white-400) url(../img/blog/blog-self-page.jpg) center top no-repeat;
  background-size: cover;
}

.article {
  padding: 108px 0 43px;
}

@media screen and (max-width: 992px) {
  .article {
    padding: 43px 0;
  }
}

.article__title {
  font-size: 80px;
  line-height: 96px;
  font-weight: 500;
  color: var(--black);
  margin: 0 0 22px;
}

@media screen and (max-width: 992px) {
  .article__title {
      font-size: 60px;
      line-height: 76px;
      margin-bottom: 26px;
  }
}

@media screen and (max-width: 768px) {
  .article__title {
      font-size: 30px;
      line-height: 36px;
      margin-bottom: 27px;
  }
}

.article__labels-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media screen and (max-width: 768px) {
  .article__labels-wrapper {
    display: block;
  }
}

.article__labels {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

@media screen and (max-width: 768px) {
  .article__labels {
    margin-bottom: 10px;
    flex-wrap: wrap;
  }
}

.article__label {
  margin: 0 10px 10px 0;
  background-color: var(--grey);
  padding: 16px 15px 14px;
  color: var(--grey-200);
  font-size: 14px;
  line-height: 14px;
}

.article__date {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 20px;
  color: var(--grey-400);
}

.article__light {
  background: url(../img/blog/artcivle_light.jpg) center top no-repeat;
  background-size: cover;
  padding: 40px;
  margin-bottom: 22px;
}

@media screen and (max-width: 768px) {
  .article__light {
    padding: 20px;
  }
}

.article__light-title {
  color: var(--white);
  font-size: 22px;
  line-height: 26px;
  margin: 0 0 20px;
}

.article__light-text {
  color: var(--grey);
  font-size: 16px;
  line-height: 23px;
}

.article__paragraph {
  color: var(--grey-200);
  font-size: 18px;
  line-height: 30px;
  margin: 0 0 30px;
}

li.article__paragraph {
  margin-bottom: 20px;
}

.article__data {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--grey-900);
  margin-bottom: 30px;
  padding-bottom: 49px;
}

@media screen and (max-width: 992px) {
  .article__data {
    display: block; 
  }
}

.article__blog-title {
  color: var(--black-100);
  font-size: 22px;
  line-height: 26px;
  font-weight: 500;
  margin: 0 0 20px;
}

.article__social-row,
.article__social {
  display: flex;
  align-items: center;
}

@media screen and (max-width: 992px) {
  .article__social {
    display: block;
  }
}

.article__social-row > img {
  min-width: 30px;
  margin-right: 10px;
  display: block;
  line-height: 0;
}

.article__social-row > span {
  font-weight: 500px;
  font-size: 16px;
  line-height: 23px;
  color: var(--grey-200);
}

.article__social-row:first-child {
  margin-right: 40px;
}

@media screen and (max-width: 992px) {
  .article__social-row:nth-child(n) {
    margin: 0 0 20px;
  }
}
ul.list {
  list-style-type: disc;
  padding-left: 20px;
}
ul.list>li {
  padding: 8px;
}
.article__next-post {
  display: flex;
  align-items: center;
  border-radius: 20px;
  padding: 10px;
  border: 1px solid var(--grey-900);
}

.article__next-post::after {
  content: url(../img/blog/icon_right_outline.svg);
  margin-left: auto;
  display: block;
  line-height: 0;
}

.article__next-post-img {
  min-width: 50px;
  max-width: 50px;
  height: auto;
  margin-right: 10px;
  display: block;
  line-height: 0;
}

.article__next-post-text {
  margin-right: 40px;
}

.article__next-post-text > span:first-child {
  font-size: 14px;
  line-height: 20px;
  color: var(--grey-200);
  display: block;
}

.article__next-post-text > span:last-child {
  display: block;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--grey-200);
}

.blog__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr auto;
  grid-gap: 30px;
  margin-bottom: 20px;
}

@media screen and (max-width: 992px) {
  .blog__row {
      display: block;
  }
}

.blog__item {
  text-align: left;
}

@media screen and (max-width: 992px) {
  .blog__item {
      max-width: 375px;
      margin: 0 auto 20px;
  }
}

.blog__content {
  padding: 20px 0;
}

.blog__labels {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 5px;
}

.blog__label {
  font-weight: 500;
  font-size: 12px;
  line-height: 12px;
  color: var(--grey-200);
  padding: 9px 10px 7px;
  border: 1px solid var(--grey-900);
  margin: 0 10px 10px 0;
}

.blog__link,
.blog__caption,
.blog__caption a {
  color: var(--black);
  font-weight: 500;
  font-size: 26px;
  line-height: 31px;
}

.blog__caption {
  margin: 0 0 20px;
}

.blog__setting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.blog__date {
  font-weight: 500;
  font-size: 12px;
  line-height: 12px;
  color: var(--grey-400);
}

.blog__link:hover {
  text-decoration: underline;
}

.blog__pic {
  width: 360px;
  height: 220px;
  object-fit: cover;
}

@media screen and (max-width: 992px) {
  .blog__pic {
    height: 204px;
    width: 100%;
  }
}
/**********
*** SECTION BLOG END ***
**********/