﻿/* page news */

.page-news .page-header {
  display: block;
  margin-bottom: clamp(50px, 8vw, 100px);
}

.page-news .page--description {
  margin-top: 0;
  color: #000;
}

.news-categories {
  color: #838383;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 29px; /* 131.818% */
  gap: 27px;
  border-bottom: 1px solid #000;
  margin-bottom: clamp(2rem, 6vw, 74px);
  padding-bottom: 25px;
}

.news-categories li {
  flex-shrink: 0;
}

.news-categories .on {
  color: #1eff1e;
}

.news-categories a,
.news-grid .title a,
.news-grid .more a {
  color: inherit;
  text-decoration: none;
}

.news-grid {
  gap: 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.news-grid .card {
  border-bottom: 1px solid #1eff1e;
  padding-bottom: 14px;
  height: 100%;
}
.news-grid .card-image {
  aspect-ratio: 1.743;
}
.news-grid .card-info {
  flex-grow: 1;
}
.news-grid .title {
  color: #000;
  font-size: 38px;
  font-style: normal;
  font-weight: 700;
  line-height: 43px; /* 113.158% */
  letter-spacing: -1.9px;
  text-wrap: balance;
  margin-bottom: 0;
  margin-bottom: 32px;
}

.news-grid .excerpt {
  color: #444;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: -0.5px;
  margin: -1rem 0 1.5rem;
}

.news-grid .card-info .more {
  margin-top: auto;
  font-size: 25px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px; /* 120% */
  letter-spacing: -1.25px;
  text-transform: capitalize;
  color: #838383;
}

.news-grid .card:hover .more {
  color: #000;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

.news-grid .card-info {
  position: relative;
}
.news-grid .date {
  position: absolute;
  left: 0;
  bottom: calc(100% + 1rem);
  background-color: #1eff1e;
  padding: 10px 1rem 10px 0.75rem;
  text-align: center;
  width: 194px;
  font-size: 20px;
  font-style: normal;
  font-weight: 300;
  line-height: 30px; /* 150% */
  letter-spacing: -1px;
  text-transform: capitalize;
}

.news-grid-pagination {
  justify-content: center;
  margin-block: clamp(5rem, 10vw, 167px) clamp(7rem, 12vw, 197px);
  color: #000;
  font-size: 25px;
  font-style: normal;
  font-weight: 300;
  line-height: 25px; /* 100% */
  letter-spacing: -1.25px;
  text-transform: capitalize;
  align-items: center;
  gap: 14px;
}

.news-grid-pagination > * {
  display: block;
}
.news-grid-pagination a {
  height: 30px;
  display: grid;
  place-content: center;
  cursor: pointer;
}
.news-grid-pagination img {
  transition: all 0.3s;
}
.news-grid-pagination .prev img {
  transform: rotate(180deg);
}
.news-grid-pagination img {
  filter: brightness(0);
}
.news-grid-pagination a:hover img {
  transform: translateY(-3px);
}
.news-grid-pagination a.prev:hover img {
  transform: rotate(180deg) translateY(3px);
}

.news-authors {
  border-top: 1px solid #000;
  padding-top: 18px;
}

.news-authors h2 {
  color: #ff6cf5;
  text-align: center;
  font-size: 35px;
  font-style: normal;
  font-weight: 300;
  line-height: 42px; /* 120% */
  letter-spacing: -1.75px;
  text-transform: uppercase;
}

.author-list {
  justify-content: center;
  margin-block: 58px 128px;
  padding-inline: 40px;
  gap: 1rem 3rem;
  flex-wrap: wrap;
}

.author-list .author {
  color: #838383;
  font-size: 30px;
  font-style: normal;
  font-weight: 300;
  line-height: 42px;
  letter-spacing: -1.5px;
  text-transform: capitalize;
}

.author-list .author span {
  color: #000;
}

@media screen and (max-width: 1380px) {
  .news-grid {
    gap: 4rem 2rem;
  }
  .news-grid .title {
    font-size: 32px;
    line-height: 38px;
    letter-spacing: -1.5px;
  }
  .author-list {
    padding-inline: 0;
  }
}
@media screen and (max-width: 980px) {
  .news-grid {
    gap: 3rem 1rem;
  }
  .news-grid .title {
    font-size: 26px;
    line-height: 30px; /* 113.158% */
    letter-spacing: -1px;
  }

  .news-grid .card-info .more {
    font-size: 20px;
    line-height: 25px;
  }
  .news-grid .date {
    font-size: 16px;
    line-height: 16px;
    width: 150px;
  }
  .news-categories {
    font-size: 20px;
    line-height: 25px; /* 131.818% */
    padding-bottom: 1rem;
  }
}

@media screen and (max-width: 820px) {
  .news-authors h2 {
    font-size: 30px;
    line-height: 32px;
    letter-spacing: -1.25px;
  }
  .page-news .page--description {
    margin-inline: auto;
  }
}

@media screen and (max-width: 720px) {
  .news-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .author-list .author {
    font-size: 24px;
    line-height: 30px;
    letter-spacing: -1.25px;
    text-align: center;
  }
}

@media screen and (max-width: 620px) {
  .news-categories {
    font-size: 18px;
    line-height: 22px;
    padding-bottom: 0.5rem;
    margin-bottom: 24px;
  }
}

@media screen and (max-width: 520px) {
  .news-grid .title {
    font-size: 24px;
    line-height: 28px;
    letter-spacing: -0.6px;
  }

  .news-grid .card-info .more {
    font-size: 18px;
    line-height: 22px;
  }

  .news-grid-pagination {
    font-size: 20px;
  }
  .news-authors h2 {
    font-size: 26px;
    line-height: 30px;
    letter-spacing: -1px;
  }
  .author-list .author {
    font-size: 20px;
    line-height: 23px;
    letter-spacing: -1px;
  }
  .author-list {
    margin-block: 2rem 5rem;
  }
}

/* single */

.news-article .article-body {
  max-width: 1036px;
  width: 100%;
  color: #000;
  font-size: 28px;
  font-style: normal;
  font-weight: 300;
  line-height: 33px;
  letter-spacing: -1.4px;
}

.single-news .news-categories {
  margin-bottom: 25px;
}

.single-news .back-btn {
  color: #000;
  text-align: center;
  font-size: 25px;
  font-style: normal;
  font-weight: 300;
  line-height: 30px; /* 120% */
  letter-spacing: -1.25px;
}

.single-news .back-btn img {
  display: inline-block;
  margin-right: 10px;
  filter: brightness(0);
  transform: rotate(180deg) translateY(3px);
}

.news-article .article-header {
  display: block;
  margin-block: 67px 13px;
}

.news-article .article-image {
  aspect-ratio: 1.743;
}

.news-article .article-body {
  margin-bottom: clamp(3rem, 8vw, 117px);
}
.news-article .article-body * + * {
  margin-bottom: 2rem;
}

.news-article .article-body li {
  list-style: disc;
  list-style-position: inside;
  margin-bottom: 0;
}

.news-article .article-body ol li {
  list-style: decimal;
}

.news-article .article-body img,
.news-article .article-body figure {
  max-width: 100%;
  height: auto;
}

.news-article .article-body figure {
  margin: 2rem 0;
}

.news-article .article-body figcaption {
  color: #838383;
  font-size: 0.7em;
  margin-top: 0.5rem;
}

.news-article .article-body a {
  color: inherit;
  text-decoration: underline;
}

.preview-banner {
  background: #fff8d6;
  border: 1px solid #e6d27a;
  color: #5c4e00;
  padding: 0.85rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.preview-banner a {
  margin-left: 0.5rem;
  color: inherit;
  font-weight: 600;
}

.news-article .article-title {
  color: #000;
  font-size: 75px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: -3.75px;
  padding-block: 63px 25px;
  border-bottom: 1px solid #b6b6b6;
}

.news-article .article-date {
  width: fit-content;
  background-color: #1eff1e;
  position: absolute;
  bottom: 100%;
  color: #000;
  font-size: 20px;
  font-style: normal;
  font-weight: 300;
  line-height: 30px; /* 150% */
  letter-spacing: -1px;
  text-transform: capitalize;
  padding: 10px 1rem;
  width: 194px;
  text-align: center;
}

.news-article .article-header .info {
  position: relative;
}
.news-article .article-author {
  text-align: right;
  color: #838383;
  font-size: 30px;
  font-style: normal;
  font-weight: 300;
  line-height: 30px; /* 100% */
  letter-spacing: -1.5px;
  text-transform: capitalize;
  margin-top: 16px;
}

@media screen and (max-width: 1520px) {
  .news-article .article-title {
    font-size: 60px;
    letter-spacing: -3px;
  }
}
@media screen and (max-width: 1180px) {
  .news-article .article-title {
    font-size: 45px;
    letter-spacing: -2px;
    padding-top: 50px;
  }
  .news-article .article-header {
    margin-top: 50px;
  }
}
@media screen and (max-width: 720px) {
  .news-article .article-header {
    margin-top: 2rem;
  }
  .news-article .article-title {
    font-size: 36px;
    letter-spacing: -1.5px;
    padding-top: 2rem;
  }
  .news-article .article-author {
    font-size: 22px;
    letter-spacing: -1px;
  }
  .news-article .article-body {
    font-size: 20px;
    letter-spacing: -1px;
    line-height: 120%;
  }
  .single-news .back-btn {
    font-size: 20px;
  }
  .single-news .back-btn img {
    width: 30px;
    transform: rotate(180deg) translateY(3px);
  }
}
@media screen and (max-width: 560px) {
  .news-article .article-date {
    width: 150px;
    font-size: 16px;
    padding-inline: 0.5rem;
  }
}
@media screen and (max-width: 460px) {
  .news-article .article-title {
    font-size: 30px;
    letter-spacing: -1.25px;
  }
  .news-article .article-author {
    font-size: 20px;
    letter-spacing: -0.5px;
  }
  .news-article .article-body {
    font-size: 18px;
    letter-spacing: -0.5px;
  }
}


