/* ----- blog list (deprecated) -------------------------------------- */
/* wrapper */
#blog.wrapper {
  padding: 150px 25%;
}
/* ----- blog items grid -------------------------------------- */
.blog-grid {
  display: grid;
  gap: 40px;
}

/* ----- blog item (deprecated) -------------------------------------- */
.blog-item {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: center;
}

.blog-item-bg {
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  transition: all 0.5s;
}

/* blog item hover effect */
.blog-item-bg:hover {
  transform: scale(1.1);
}
.blog-item-bg:hover .blog-item-content {
  transform: scale(0.9);
}

.blog-item-bg:hover .blog-item-overlay {
  opacity: 0.6;
}

/* blog item overlay */
.blog-item-overlay {
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: 1;

  /* background: linear-gradient(-90deg, rgb(0, 0, 0, 0) 50%, rgb(0, 0, 0) 100%); */
  background: black;
  opacity: 0.4;

  transition: all 0.5s;
}

/* blog item content */
.blog-item-content {
  padding: 50px 100px;

  position: relative;
  z-index: 2;
  transition: all 0.5s;
}

/* blog item fonts */
.blog-item h6,
.blog-item h5 {
  margin-bottom: 10px;
}
.blog-item h4 {
  margin-bottom: 5px;
}
.blog-item h6.blog-detail {
  margin-bottom: 0;
  font-weight: 500;
}

/* blog item bgs */
.blog-item:nth-child(1) {
  background-position: bottom;
}
.blog-item:nth-child(3) {
  background-position: bottom;
}

/* ----- blog grid ----- */

/* ----- blog article -------------------------------------- */

/* ----- article nav ----- */
.jpadding-nav {
  padding: 15px 60px !important;
}
/* ----- article (showcase) wrapper ----- */
/* #blog-article.wrapper {
  padding: 60px 0 150px 0;
} */
#blog-article.wrapper {
  padding: 60px 60px 150px 60px;
}
/* article showcase */
/* .showcase-blog {
  min-height: 85vh;
  margin-bottom: 50px;
} */
.showcase-blog {
  min-height: 70vh;
  margin-bottom: 50px;
}
/* article content */
.blog-content-wrapper {
  padding: 0 calc(30% - 60px);
}
.blog-title {
  margin-bottom: 60px;
}
.blog-bottom hr {
  margin-bottom: 70px;
}

/* article fonts */
.blog-title h6 {
  font-size: 14px;
  letter-spacing: 0.15em;
}
.blog-title h4 {
  letter-spacing: 0;
  font-size: 1.8rem;
}
.blog-title h5 {
  letter-spacing: 0;
}
.blog-content h5 {
  letter-spacing: 0.15em;
  font-size: 1.4rem;
}
.blog-content p {
  margin-bottom: 60px;
  text-align: justify;
}

.blog-content li{
  margin-bottom: 30px;
}

/* blog image */
.newsroom-article-illustration{
  width: 100%;
  height: auto;
}

.article-image-caption{

}

/* article socials */
.blog-socials .jbtn-icon {
  font-size: 0.8rem;
  background-color: #000000;
  border: solid 1px #000000;
}
.blog-socials .jbtn-icon:hover {
  background-color: #c0c0c0;
  border: 1px solid #c0c0c0;
  color: #000;
}
.blog-socials .jbtn-icon a {
  color: white;
}
.blog-socials a.jbtn-icon {
  color: white;
}

/* article photos */

.article-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: center;
  gap: 15px;

  margin-bottom: 60px;
}
.article-photo-grid img {
  height: 250px;
  width: auto;
}
.article-photo-grid p {
  text-align: center;
}
.grid-span-3 {
  grid-column: span 3;
}

/* article gallery */
#gallery {
  /* margin-bottom: 60px; */
}
p.gallery-caption {
  margin-top: 15px;
  text-align: center;
}
/* article unite gallery text style */
.ug-gallery-wrapper {
  font-family: "Red Hat Display";
}
.ug-lightbox .ug-lightbox-numbers {
  /* font-size: 16px; */
}
.ug-lightbox .ug-textpanel-title,
.ug-lightbox .ug-textpanel-description {
  font-family: "Red Hat Display";
  /* font-size: 20px; */
}

/* ----- article light mode -------------------------------------- */
.light-mode {
  background-color: white;
  color: black;
}
.light-mode h6 {
  color: #8b8b8b;
}
.light-mode a {
  color: black;
}
.light-mode a:hover {
  /* color: #8b8b8b; */
}
.light-mode hr {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* ----- next articles -------------------------------------- */
.next-articles {
  margin-top: 70px;
}
#blog-article hr {
  margin-top: 70px;
  border-top: 1px solid #c0c0c0;
}
.next-articles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 15px;
  margin-top: 30px;
}

/* next article card fonts */
.next-article-card-content h4 {
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  margin-bottom: 5px;
}
.next-article-card-content h5 {
  font-size: 0.8rem;
  letter-spacing: 0;
  margin-bottom: 5px;
}
.next-article-card-content h6 {
  margin-bottom: 5px;
  font-size: 0.5rem;
}
.next-article-card-content h6.blog-detail {
  margin-bottom: 0;
}

/* next artcle card img */
.next-article-card-img {
  height: 200px;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  margin-bottom: 20px;
  transition: all 0.5s;
}
.next-article-card-logo {
  background-size: contain;
  background-color: black;
}
.next-article-card {
  position: relative;
  overflow: hidden;
}
.next-article-card:hover .next-article-card-img {
  transform: scale(1.1);
  /* margin-bottom: 30px; */
}

/* ----- bg zoom effect on hover (deprecated) -------------------------------------- */
.content {
  width: 300px;
  height: 200px;
  border: 1px solid #000000;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.content div {
  width: 100%;
  height: 100%;
  background: url("http://w3docs.com/uploads/media/default/0001/03/66cf5094908491e69d8187bcf934050a4800b37f.jpeg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: all 1s;
}
.content div:hover {
  transform: scale(1.5);
}

/* temp */
.main {
  position: relative;
  display: grid;
  overflow: hidden;
}
.bg {
  grid-area: 1/1;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: all 0.5s;
}
.main:hover .bg {
  scale: 1.1;
}
.content {
  width: 100%;
  height: 100%;
  grid-area: 1/1;
  z-index: 3;
  padding: 50px 100px;
}

/* ----- responsive ------------------------------------------------------------------------------- */

@media (max-width: 1600px) {
  /* items wrapper */
  #blog.wrapper {
    padding: 150px 20%;
  }
  /* article wrapper */
  /* #blog-article.wrapper {
    padding: 150px 25%;
  } */
}
@media (max-width: 1400px) {
  /* items wrapper */
  #blog.wrapper {
    padding: 150px 15%;
  }
}
@media (max-width: 1200px) {
  /* article wrapper */
  /* #blog-article.wrapper {
    padding: 150px 20%;
  } */
  /* article content wrapper */
  .blog-content-wrapper {
    padding: 0 calc(20% - 60px);
  }
}
@media (max-width: 900px) {
  /* items wrapper */
  #blog.wrapper {
    padding: 150px 10%;
  }
  /* article wrapper */
  /* #blog-article.wrapper {
    padding: 150px 15%;
  } */
  /* article content wrapper */
  .blog-content-wrapper {
    padding: 0 calc(15% - 60px);
  }
}
@media (max-width: 700px) {
  /* item content */
  .blog-item-content {
    padding: 50px;
  }
  /* next articles grid */
  .next-articles-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
}
@media (max-width: 576px) {
  /* items wrapper */
  #blog.wrapper {
    padding: 150px 30px;
  }
  /* article wrapper */
  /* #blog-article.wrapper {
    padding: 150px 10%;
  } */
  /* article content wrapper */
  .blog-content-wrapper {
    padding: 0;
  }
  /* item content */
  .blog-item-content {
    padding: 30px;
  }
  .blog-item-content h4 {
    font-size: 1rem;
  }
  .blog-item-content h5 {
    font-size: 0.8rem;
  }
  /* next articles img */
  .next-article-card-img {
    height: 120px;
  }
}
@media (max-width: 420px) {
  /* items wrapper */
  #blog.wrapper {
    padding: 150px 15px;
  }
  /* ----- article nav ----- */
  .jpadding-nav {
    padding: 15px 30px !important;
  }
  /* article wrapper */
  #blog-article.wrapper {
    padding: 60px 30px 150px 30px;
  }
  /* article content wrapper */
  .blog-content-wrapper {
    padding: 0;
  }
  /* item content */
  .blog-item-content {
    padding: 50px 30px;
  }
  .blog-item-content h4 {
    font-size: 0.9rem;
  }
  .blog-item-content h5 {
    font-size: 0.7rem;
  }
  /* next articles grid */
  .next-articles-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  /* next article card fonts */
  .next-article-card-content h4 {
    font-size: 0.8rem;
    /* letter-spacing: 0.15em; */
    margin-bottom: 5px;
  }
  .next-article-card-content h5 {
    font-size: 0.6rem;
    /* letter-spacing: 0.15em; */
    margin-bottom: 5px;
  }
  .next-article-card-content h6 {
    margin-bottom: 5px;
    font-size: 0.45rem;
    letter-spacing: 0.15em;
  }
  /* next articles img */
  .next-article-card-img {
    height: 210px;
  }
  .blog-socials .jbtn-icon {
    width: 25px;
    height: 25px;
  }
}
