@charset "UTF-8";
/**
 * @ news.css
 *
 * 
 */

/* ==============================
    .news
  ============================== */
.news__item {
  padding: 45px 0 15px;
  border-bottom: 1px solid #d6c6df;
  display: flex;
  gap: 10px 20px;
  align-items: baseline;
}
.news__item:first-child {
  padding-top: 0;
}
/* .news__body {
  display: flex;
  align-items: flex-start;
  gap: 10px 20px;
} */
.news__date {
  display: block;
  font-size: 1.8rem;
  /* margin-bottom: 20px; */
  color: #4d4d4d;
  flex-shrink: 0;
}
/* .news__cate {
  font-size: 1.8rem;
  background: var(--color-accent);
  width: 160px;
  padding: 1px 10px;
  color: #fff;
  text-align: center;
  flex-shrink: 0;
} */
.news__link {
  display: block;
  font-size: 1.8rem;
  font-weight: var(--fw-medium);
  line-height: 1.6;
}

@media screen and (max-width: 1024px) {
  .news__items {
    margin-top: 0 !important;
  }
  .news__item:first-child {
    padding-top: 0;
  }
  .news__date {
    font-size: 1.6rem;
  }
  .news__cate {
    font-size: 1.4rem;
    width: fit-content;
  }
  .news__link {
    font-size: 1.6rem;
  }
}

@media screen and (max-width: 768px) {
  .news__item {
    flex-direction: column;
  }
  .news__body {
    flex-direction: column;
  }
}

/* ==============================
    single-news.php
  ============================== */
.single-news .content__title {
  font-size: 3rem;
  font-weight: bold;
  color: var(--color-accent);
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.5;
}
.single-news .content__date {
  width: fit-content;
  margin: 0 0 50px auto;
}
.single-news .u-btn--fill.u-btn--fill-back {
  margin: 100px auto auto;
  padding-left: 80px;
}
@media screen and (max-width: 768px) {
  .single-news .content__title {
    font-size: 2.5rem;
  }
}
