@charset "utf-8";

/* CSS Document */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  outline: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

:root {
  --primary: #e8703c !important;
  --secondary: #1b447a !important;
  --white: #ffffff !important;
  --black: #666666 !important;
  --font-title: "Exo", sans-serif !important;
  --fonts: "Roboto", sans-serif !important;
}

/* blog list */
.main-blog {
  background-color: #fff;
  width: 100%;
}

/* large blog */
.large-blog {
  width: 100%;
  padding: 15px;
  background-color: #f5f5f5;
  border-radius: 20px;
  padding: 15px;
  border: 1px solid #d9d9d9;
  height: auto;
  margin-bottom: 30px;
}

.large-blog-img {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.large-blog-img img {
  border-radius: 15px;
  width: 100%;
  transition: all 0.3s;
}

.large-blog-img:hover img {
  transform: scale(1.05);
  transition: all 0.3s;
}

.large-blog-img .overlay {
  width: 0;
  height: 0;
  background-color: rgba(0, 0, 0, 0.2);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  border-radius: 10px;
  transition: all 0.3s;
}

.large-blog-img:hover .overlay {
  width: 100%;
  height: 100%;
  transition: all 0.3s;
}

.large-blog-title-div {
  position: relative;
  height: 100%;
}

.large-blog-title {
  position: absolute;
  bottom: 0;
  width: 100%;
}

.large-blog-title h3 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 10px;
}

.large-blog-title p {
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 40px;
}

.large-blog-title a {
  color: var(--primary);
  transition: all 0.3s;
}

.large-blog-title h3:hover {
  color: var(--primary);
  transition: all 0.3s;
}

.large-blog-title a:hover {
  color: var(--secondary);
  transition: all 0.3s;
}

/* blog list */
.main-blog-div {
  background-color: #f5f5f5;
  border-radius: 20px;
  padding: 15px;
  border: 1px solid #d9d9d9;
  height: 100%;
}

.main-blog-img {
  position: relative;
  width: 100%;
  margin-top: 15px;
  overflow: hidden;
  border-radius: 15px;
}

.main-blog-img .overlay {
  width: 0;
  height: 0;
  background-color: rgba(0, 0, 0, 0.2);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  border-radius: 10px;
  transition: all 0.3s;
}

.main-blog-div:hover .main-blog-img .overlay {
  width: 100%;
  height: 100%;
  transition: all 0.3s;
}

.main-blog-img img {
  width: 100%;
  border-radius: 10px;
  transition: all 0.3s;
}

.main-blog-div:hover img {
  transform: scale(1.05);
  transition: all 0.3s;
}

.main-blog-div h4 {
  width: 100%;
  color: var(--black);
  font-size: 18px;
  line-height: 26px;
  font-weight: 600;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  height: 50px;
  -webkit-box-orient: vertical;
  transition: all 0.3s;
}

.main-blog-div:hover h4 {
  color: var(--primary);
  transition: all 0.3s;
}

.main-blog-div p {
  width: 100%;
  color: var(--black);
  font-size: 16px;
  font-weight: 400;
  margin: 0;
}

/* blog detail */
.blog-detail-img {
  width: 100%;
  border-radius: 20px;
  margin-bottom: 30px;
}

.blog-detail-description {
  width: 100%;
  font-family: var(--fonts) !important;
}

.blog-detail-description h3 {
  font-size: 30px;
  font-weight: 700;
  color: var(--black);
  font-family: var(--fonts) !important;
}

.blog-detail-description h4 {
  font-size: 26px;
  font-weight: 700;
  color: var(--black);
  font-family: var(--fonts) !important;
}

.blog-detail-description h5 {
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
  font-family: var(--fonts) !important;
}

.blog-detail-description h6 {
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  font-family: var(--fonts) !important;
}

.blog-detail-description p {
  font-size: 16px;
  font-weight: 400;
  color: var(--black);
  font-family: var(--fonts) !important;
}

.blog-detail-description ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.blog-detail-description ul li {
  font-size: 16px;
  line-height: 24px;
  padding: 5px 0 0 17px;
  font-weight: 400;
  color: var(--black);
  font-family: var(--fonts) !important;
  background-image: url(../images/orange_arrow.png);
  background-position: left 10px;
  background-repeat: no-repeat;
  background-size: 8px;
}

.blog-detail-description h3 a,
.blog-detail-description h4 a,
.blog-detail-description h5 a,
.blog-detail-description h6 a,
.blog-detail-description p a,
.blog-detail-description ul li a {
  color: var(--primary);
  transition: all 0.3s;
}

.blog-detail-description h3 a:hover,
.blog-detail-description h4 a:hover,
.blog-detail-description h5 a:hover,
.blog-detail-description h6 a:hover,
.blog-detail-description p a:hover,
.blog-detail-description ul li a:hover {
  color: var(--secondary);
  transition: all 0.3s;
}

.blog-detail-description h3 span,
.blog-detail-description h4 span,
.blog-detail-description h5 span,
.blog-detail-description h6 span,
.blog-detail-description p span,
.blog-detail-description ul li span {
  font-weight: 700;
}

.share-blog {
  margin-top: 30px;
  width: 100%;
  border: 1px solid #d8d8d8;
  border-radius: 20px;
}

.share-blog h6 {
  color: var(--black);
  font-size: 16px;
  font-weight: 600;
  line-height: 30px;
  margin: 15px 0;
  text-align: center;
}

.back {
  color: var(--primary);
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s;
}

.back:hover {
  color: var(--secondary);
  transition: all 0.3s;
}

.netx-prev {
  width: 100%;
  height: 160px;
  padding: 15px;
  background-color: #f5f5f5;
  border: 1px solid #d9d9d9;
  border-radius: 15px;
  position: relative;
}

.netx-prev-img {
  width: 200px;
  height: 100%;
  position: relative;
}

.netx-prev-img img {
  position: absolute;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 15px;
}

.next-prev-text {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  padding: 15px 15px 15px 230px;
}

.next-prev-text h5 {
  font-size: 18px;
  line-height: 24px;
  color: var(--black);
  font-family: var(--font-title) !important;
  font-weight: 600;
  height: 70px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3; /* Standard property */
  -webkit-box-orient: vertical;
  margin-bottom: 15px;
  transition: all 0.3s;
}

.next-prev-text p {
  font-size: 16px;
  color: var(--black);
  font-weight: 400;
  margin: 0;
}

.netx-prev:hover .next-prev-text h5 {
  color: var(--primary);
  transition: all 0.3s;
}

/* responsive */

@media only screen and (max-width: 1400px) {
}

@media only screen and (max-width: 1200px) {
}

@media only screen and (max-width: 1100px) {
}

@media only screen and (max-width: 992px) {
  .large-blog-title {
    position: relative;
    bottom: unset;
    width: 100%;
    margin-top: 20px;
  }

  .main-blog-div h4 {
    font-size: 16px;
    height: 45px;
    line-height: 22px;
  }

  .main-blog-div p {
    font-size: 14px;
  }

  .large-blog-title h3 {
    font-size: 16px;
    line-height: 22px;
  }

  .large-blog-title p {
    font-size: 14px;
  }

  .netx-prev {
    height: 140px;
  }

  .netx-prev-img {
    width: 100px;
    height: 100%;
    position: relative;
  }

  .netx-prev-img img {
    position: absolute;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border-radius: 5px;
  }

  .next-prev-text {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    padding: 15px 15px 15px 130px;
  }

  .next-prev-text h5 {
    font-size: 16px;
  }

  .next-prev-text p {
    font-size: 14px;
  }
}

@media only screen and (max-width: 767px) {
  .blog-detail-description h3 {
    font-size: 22px;
  }
  .blog-detail-description h4 {
    font-size: 20px;
  }
  .blog-detail-description h5 {
    font-size: 18px;
  }
  .blog-detail-description h6 {
    font-size: 16px;
  }
  .blog-detail-description p {
    font-size: 14px;
  }
  .blog-detail-description ul li {
    font-size: 14px;
    line-height: 20px;
  }
}

@media only screen and (max-width: 640px) {
}

@media only screen and (max-width: 600px) {
}

@media only screen and (max-width: 568px) {
}

@media only screen and (max-width: 480px) {
}

@media only screen and (max-width: 360px) {
}
