:root {
  --primary-bg-color: rgb(246, 246, 246);
  --primary-color: #b80d0d;
  --text-color: #121212;
  --link-color: #b80d0d;
}

.blog-header {
  border-bottom: 1px solid #e5e5e5;
}

.blog-header-logo {
  font-size: 2.25rem;
}

.blog-header-logo:hover {
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--main-font);
}

.display-4 {
  font-size: 2.5rem;
}

main .container.blog {
  padding-bottom: 120px !important;
}

@media (min-width: 768px) {
  .display-4 {
    font-size: 3rem;
  }
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.flex-auto {
  flex: 0 0 auto;
}

.h-250 {
  height: 250px;
}

.bg-light {
  background-color: #f7f7f7;
}

.blog-archives-links {
  background-color: #f7f7f7;
  margin-top: 2rem;
}

.bg-light,
.blog-archives-links {
  border-radius: 4px;
  padding: 3rem;
}

.aside form {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 1rem;
}

.aside form input {
  border: 1px solid #ddd;
  padding: 0.75rem;
  width: calc(100% - 40px);
}

.aside form input::placeholder {
  color: #ddd !important;
}

.aside form button {
  background-color: var(--primary-color);
  border: 0;
  border-radius: 4px;
  width: 40px;
  height: 40px;
}

.blog-archives-links li {
  border-bottom: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

.blog-archives-links li a:active,
.blog-archives-links li a:focus,
.blog-archives-links li a {
  color: #666666;
  text-decoration: none;

  transition: all 0.35s ease;
}

.blog-archives-links li a:hover {
  color: var(--primary-color);
}

.aside-banner {
  margin-top: 2rem;
}

.aside-banner a {
  display: block;
}

.aside-banner img {
  max-width: 100%;
}

/* Pagination */
.blog-pagination {
  margin-bottom: 4rem;
}

.blog-index,
.blog-post-page {
  font-size: 16px;
}

.blog-index .section-intro {
  margin-bottom: 4rem;
}

.blog-index .post-meta {
  margin-bottom: 1.5rem;
}

/*
* Blog posts
*/
article.blog-post {
  line-height: 24px;
  margin-bottom: 50px;
}

.blog-post nav.blog-post-article-index {
  background: #eee;
  margin-bottom: 3rem;
  margin-top: 3rem;
  padding: 2rem;
}

article.blog-post h5 {
  font-size: 16px;
}

article.blog-post ul {
  padding-left: 2rem;
}

.blog-post .form-wrp h2 {
  margin-bottom: 2rem;
}

.blog-post-title {
  /*color: var(--primary-color);*/
  font-size: 4.5rem;
}
.blog-post-meta {
  color: #727272;
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.blog-post-meta__cat {
  color: var(--primary-color);
  font-size: 1.8rem;
  font-weight: 600;
}

.blog-post-meta__cat,
.blog-post-meta__date {
  display: block;
}

.blog-post-cat {
  color: var(--primary-color);
  display: block;
  font-size: 14px;
  margin-bottom: 2rem;
}

.blog-post-abstract {
  font-weight: 700;
}

.blog-post nav.blog-post-article-index h5 {
  color: var(--primary-color);
  font-size: 2.8rem;
  font-weight: 600;
}

.blog-post nav.blog-post-article-index ul {
  list-style: none;
  padding-left: 0;
}

.blog-post nav.blog-post-article-index ul li {
  align-items: center;
  display: flex;
  gap: 1rem;
}

.blog-post nav.blog-post-article-index ul li a:active,
.blog-post nav.blog-post-article-index ul li a:focus,
.blog-post nav.blog-post-article-index ul li a {
  color: #000;

  transition: all 0.35s ease;
}

.blog-post nav.blog-post-article-index ul li a:hover {
  color: var(--primary-color);
}

.blog-post nav.blog-post-article-index ul li span {
  line-height: 1;
}

.blog-post nav.blog-post-article-index ul li svg {
  width: 18px;
}

.blog-post img,
.blog-post p {
  margin-bottom: 2.5rem;
}

.blog-post .item__content a strong {
  color: var(--primary-color);
}

.blog-post__cta {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin-bottom: 4rem;
}

.blog-post__cta h3 {
  color: var(--primary-color);
  margin-top: 25px;
}

.blog-post__cta a.btn {
  background-color: var(--primary-color);
  border-radius: 4px;
  color: #fff;
  padding: 1.5rem 4.75rem;
  text-transform: uppercase;
}

.blog-post-bottom {
  align-items: center;
  border-top: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;
}

.blog-post-bottom__back-to a {
  align-items: center;
  display: flex;
  font-size: 1.2rem;
  font-weight: 600;
  gap: 0.5rem;
  text-transform: uppercase;
}

.blog-post-bottom__back-to a span {
  line-height: 1;
}

.blog-post-bottom__back-to svg {
  width: 18px;
}

.blog-post-bottom__share {
  align-items: center;
  display: flex;
  gap: 1rem;
}

.blog-post-bottom__share ul {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  margin-bottom: 0;
  padding-left: 0;
}

.blog-post-bottom__share ul li svg {
  width: 30px;
}

.blog-post-bottom__share > span {
  font-size: 1.2rem;
  text-transform: uppercase;
}

.blog-post-related-articles {
  margin-top: 8rem;
}

.blog-post-related-articles h2 {
  margin-bottom: 2rem;
}

.blog-post-related-articles .slick-prev,
.blog-post-related-articles .slick-next {
  background-color: var(--primary-color);
  border: 0;
  position: absolute;
  text-indent: -9999px;
  z-index: 3;
}

.blog article .content .buttons-wrp a {
  text-transform: uppercase;
}

.widget-latest-posts {
  margin: 4rem 0 2rem;
}

.widget-latest-posts ul {
  list-style: none;
  padding-left: 0;
}

.widget-latest-posts ul li {
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.widget-latest-posts ul li .post-widget-thumbnail {
  border-radius: 4px;
  overflow: hidden;
  width: 130px;
}

.widget-latest-posts ul li .post-widget-body {
  width: calc(100% - 130px);
}

.widget-latest-posts ul li .post-widget-body a,
.widget-latest-posts ul li .post-widget-body .date {
  font-size: 13px;
}

.widget-latest-posts ul li .post-widget-body a {
  color: #b80e0e;
  font-weight: 600;
  text-decoration: none;
}

.widget-latest-posts ul li img {
  height: auto;
  max-width: 100%;
}

.blog .slick-slide {
  padding: 0 20px;
}

.blog .slick-prev,
.blog .slick-next {
  top: 110px;
}

.blog .slick-next {
  right: -15px;
}

.blog .slick-prev {
  left: -15px;
}

.blog .location-list {
  margin: 0;
}

.blog .location-list .box4-item > article > a {
  display: block;
}

.blog .location-list .box4-item > article > a > img {
  object-fit: cover;
  height: 230px;
}

.blog-post-page,
.blog-post-page p,
.blog .location-list .box4-item > article .content p.desc,
.blog .section-intro p {
  font-size: 18px;
}

.blog-post-page h2:not(.blog-post-title) {
  font-size: 32px;
  margin-bottom: 25px;
  margin-top: 25px;
}

.blog-post-page .slick-slide img {
  height: 230px;
  object-fit: cover;
  width: 100%;
}

@media (min-width: 992px) and (max-width: 1400px) {
  .widget-latest-posts ul li {
    flex-direction: column;
  }

  .widget-latest-posts ul li .post-widget-body,
  .widget-latest-posts ul li .post-widget-thumbnail img,
  .widget-latest-posts ul li .post-widget-thumbnail {
    width: 100%;
  }
}

@media (min-width: 1400px) {
  .news_detail #breadcrumb-wrp .container,
  .blog_list #breadcrumb-wrp .container,
  .container.blog {
    width: 1170px !important;
  }

  .blog-post-abstract {
    font-size: 20px;
  }
}

@media (min-width: 1600px) {
  .news_detail #breadcrumb-wrp .container,
  .blog_list #breadcrumb-wrp .container,
  .container.blog {
    width: 1420px !important;
  }
}

/*
* Footer
*/
.blog-footer {
  padding: 2.5rem 0;
  color: #727272;
  text-align: center;
  background-color: #f9f9f9;
  border-top: 0.05rem solid #e5e5e5;
}
.blog-footer p:last-child {
  margin-bottom: 0;
}

/***** LAM *****/

blockquote {
  border-left: 5px solid var(--primary-color);
}

/*a,
a:active,
a:focus,
a:visited,
a:hover {
  color: var(--link-color);
}*/

a.view-more,
a.view-more:active,
a.view-more:focus,
a.view-more:visited,
a.view-more:hover {
  color: #fff;
}

.text-primary {
  color: var(--link-color) !important;
}

.text-muted {
  color: #6c757d !important;
}

.blog-main .card {
  border: 0;
}

.blog-main .card-img-top {
  border-bottom-left-radius: var(--bs-card-inner-border-radius);
  border-bottom-right-radius: var(--bs-card-inner-border-radius);
}

.blog-btn {
  background-color: transparent;
  border: 2px solid #b80d0d;
  border-radius: 0.25rem;
  color: #b80d0d;
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  margin-top: 1.25rem;
  padding: 0.75rem 2.75rem;
  text-transform: uppercase;
}

.blog-main .card .blog-btn {
  width: 100%;
}

.position-sticky {
  position: -webkit-sticky !important;
  position: sticky !important;

  top: 10rem;
}

.blog-index .location-list .box4-item {
  padding: 0 10px;
}

.blog-index .pagination li.active a,
.blog-index .pagination li:hover a {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #fff !important;
}

.blog-index .pagination li:hover a svg path {
  fill: #fff;
}

.blog-index .pagination li a {
  color: var(--primary-color);
}

.blog-index .pagination > li > a,
.blog-index .pagination > li > span {
  margin: 0 5px;
  padding: 3px 10px;

  border-radius: 50%;
  border-color: var(--primary-color);
  width: 40px;
  height: 40px;

  display: flex;
  justify-content: center;
  align-items: center;
}

.blog-index .pagination li:hover a {
  color: #fff;
}

/**** Blog Post ****/
.blog-post-data {
  display: block;
  font-size: 14px;
  margin-top: 1rem;
}

.blog-post img.header-img {
  margin-bottom: 2rem;
  max-height: 350px;
  object-fit: cover;
  object-position: bottom;
  width: 100%;
}

.blog-post img {
  max-width: 100%;
}

@media (min-width: 768px) {
  .h-md-250 {
    height: 250px;
  }
}

.aside {
  margin-top: 4rem;
  padding-left: 0;
}

.aside h4 {
  font-size: 2.5rem;
  font-weight: 600;
}

.related-articles-slider .slick-list {
  margin: 0 -15px;
}

@media (min-width: 992px) {
  .aside {
    margin-top: 0;
    padding-left: 4rem;
  }

  .blog-post nav.blog-post-article-index {
    padding: 3rem;
  }

  .blog-post nav.blog-post-article-index h5 {
    margin-bottom: 2rem;
  }

  .blog-post nav.blog-post-article-index ul li {
    margin-bottom: 1rem;
  }

  .blog-post-related-articles h2 {
    font-size: 3rem;
  }
}

/**** Autor Box ****/

.author-box {
  margin-bottom: 0.5rem;
}

.author-box p {
  font-size: 14px;
  margin-bottom: 0;
}

.author-box__name {
  font-weight: 600;
  text-decoration: underline;
}

.blog-post-bottom__author-box {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 2rem;
  background-color: #f9f9f9;
  border-radius: 0.5rem;

  @media (min-width: 768px) {
    flex-direction: row;
  }
}

.blog-post-bottom__author-box__image {
  width: 12rem;
  height: 12rem;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: clip;
}

.blog-post-bottom__author-box__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.blog-post-bottom__author-box__info h5 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.blog-post-bottom__author-box__info p {
  font-size: 16px;
  text-wrap: balance;
}

.blog-post__cta .btn {
  white-space: pre-wrap;
}
