/* Begin of setup for the CSS. */
.blog__subtitle {
  margin-bottom: 0;
}

/* Blog Index */
.blog-index {
  display: flex;
  flex-wrap: wrap;
}

.blog-index__wrapper {
  margin: 0 auto;
  display: grid;
  justify-content: center;
  grid-auto-rows: minmax(30px, auto);
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.blog-index__wrapper-list {
  margin-bottom: 0;
}

.blog-index-list__wrapper {
  display: flex;
  flex-direction: column;
  row-gap: 0;
}

.blog-index__post {
  flex: 0 0 100%;
  margin-bottom: 0;
  width: 100%;
  transition: all .3s ease;
}
.blog-index__post:hover {
  transform: scale(1.02);
  box-shadow: 0px 0px 10px 2px rgba(166,166,166,0.8);
}

.blog-index__post-container {
  padding: 27px 24px 32px;
}
.blog-index__post-title {
  display: -webkit-box;
  margin: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.blog-index--text_image .blog-index__post-title {
  margin-bottom: 32px;
  -webkit-line-clamp: 2;
}
.two-columns-blog-content .blog-index__post-title {
  -webkit-line-clamp: 4;
}
.blog-index__post-title>* {
  margin-bottom: 0;
}
.blog-author-heading {
  font-size: 12px;
  text-decoration: none;
  color: #767676;
  font-weight: 600;
  margin: 0;
  padding-right: 7px;
  border-right: 1px solid #767676;
}
.blog-index__post-author-name {
  margin: 0;
  text-decoration: none;
  color: #767676; 
  font-weight: 600;
  transition: all .3s ease;
}
.blog-index__post-author-name:hover {
  color: #00b2ef; 
  font-weight: 600;
  text-decoration: none;
}
.blog-index__post-content {
  margin-bottom: 0.5em;
}
.blog-index--text_image .blog-index__post-content {
  margin: 0 0 32px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.blog-index__post-content-image {
  width: 100%;
  height: 204px;
  object-fit: cover;
  vertical-align: middle;
  border-radius: 7px;
}
.blog-index__post-time {
  font-weight: 600;
}
.blog-index__post-timestamp {
  display: block;
  color: #767676; 
  font-size: 12px;
}
.blog-index__post-timestamp svg,
.blog-index__post-time svg {
  fill: var(--body);
}
.blog-index__post-tags {
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  align-items: center;
  gap: 10px;
}

.blog-index__date-time-read {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
}

.blog-index__post-author {
  align-items: center;
  display: flex;
  gap: 7px;
}
.blog-index__post-author-image {
  border-radius: 50%;
  height: auto;
  margin-right: 0.35rem;
  width: 30px;
}
.blog-index__post-image {
  height: auto;
  max-width: 100%;
}
.blog-index__post-image--small,
.blog-index__post-title,
.blog-index__post-timestamp,
.blog-index__post-author,
.blog-index__post-image {
  margin: 0;
}

/* Blog Index Featured Post */
.blog-index__featured-post {
  width: 100%;
  margin-bottom: 26px;
  background: #F5F4EF;
  transition: all .3s ease;
}
.blog-index__featured-post:hover {
  transform: scale(1.02);
  box-shadow: 0px 0px 10px 2px rgba(166,166,166,0.8);
}
.blog-index__featured-post .blog-index__post-title > h5 {
  font-size: 40px;
  margin-bottom: 15px;
}
.blog-index__post .blog-index__post-title > h5 {
  font-size: 20px;
  margin-bottom: 15px;
}

.blog-index__featured-post .blog-index__post-content-image {
  width: 100%;
  height: 330px;
  object-fit: cover;
}

.blog-index__featured-post-content {
  padding: 30px;
}

/* Blog Index List */
.blog-index__author-date--list {
  display: flex;
  column-gap: 10px;
  flex-direction: row;
  margin-bottom: 20px;
}
.two-columns-blog-content .blog-index__author-date--list {
  margin-top: 8px;
  margin-bottom: 28px;
}

.blog-index__post-author--list {
  align-items: baseline;
}

.blog-author__heading--list {
  padding-right: 5px;
  margin-bottom: 0;
}

.blog-index__post-image-link--list {
  width: 50%;
}

.blog-index__post-image--list {
  max-height: 246px;
  max-width: 400px;
}

.blog-index__image-summary--list {
  display: flex;
  column-gap: 20px;
  flex-direction: row-reverse;
}

.blog-index__post-content--list {
  position: relative;
  width: 50%;
}

/* Big Title Two Columns */
.big-title-two-columns-blog-post:not(:last-child) {
  margin-bottom: 48px;
}
.big-title-two-columns-blog-post__title {
  text-decoration: none;
  display: -webkit-box;
  margin: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.big-title-two-columns-blog-post__title>* {
  margin-bottom: 8px;
}
.big-title-two-columns-blog-post__header {
  display: flex;
  flex-wrap: wrap;
}
.big-title-two-columns-blog-post__author-heading {
  margin: 0;
}
.big-title-two-columns-blog-post__author-heading a {
  text-decoration: none;
}
.big-title-two-columns-blog-post__date-time {
  display: flex;
  flex-grow: 1;
}
.big-title-two-columns-blog-post__header {
  margin-bottom: 20px;
  gap: 8px;
}
.big-title-two-columns-blog-post__content {
  display: flex;
  flex-direction: row-reverse;
  grid-gap: 20px;
  justify-content: start;
}

.big-title-two-columns-blog-post__image-link {
  width: 50%;
}

.big-title-two-columns-blog-post__image-link img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.big-title-two-columns-blog-post__summary {
  width: 50%;
  display: grid;
  align-content: space-between;
  justify-items: start;
}
.big-title-two-columns-blog-post__summary-text {
  display: -webkit-box;
  margin: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}
.big-title-two-columns-blog-index__tags {
  margin-top: 20px;
  padding: 12px 0;
  display: flex;
  grid-gap: 16px;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.10);
  border-bottom: 1px solid rgba(0, 0, 0, 0.10);
}

.big-title-two-columns-blog-index__tags> :is(h1,h2,h3,h4,h5,h6) {
  margin-bottom: 0;
}
a.big-title-two-columns-blog-index__tag-link {
  margin: 0 !important;
  padding: 0 4px;
  display: flex;
  grid-gap: 16px;
  align-items: center;
  text-transform: uppercase;
  text-decoration: none;
}
.big-title-two-columns-blog-index__tag-link small {
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}
/* Two Columns Blog Post */
.two-columns-blog-post {
  display: flex;
  align-items: start;
  height: 100%;
}

.two-columns-blog-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 24px;
  width: 50%;
  height: 100%;
}


.two-columns-blog__upper-content {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.two-columns-blog__post-tags .blog-index__tag-link {
  margin-bottom: 4px;
}

.two-columns-blog-content .blog-index__date-time-read {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.two-columns-blog-content .blog-index__post-time {
  font-size: 16px;
}

.two-columns-blog-post a.blog-index__post_image {
  width: 50%;
  height: 100%;
}

.two-columns-blog-post .blog-index__post_image img {
  height: 100%;
  width: 100%;
  object-position: center;
  object-fit: cover;
}

.two-columns-blog-post .blog-index__author-date--list {
  width: 100%;
}

/* Text Image */
.text-image__post-author-name,
.text-image__post-author-name:hover {
  color: var(--body);
  text-decoration: none;
}

.text-image__content {
  align-items: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.text-image__container {
  display: flex;
  margin-bottom: 80px;
  gap: 24px;
  padding: 0;
}

.text-image__text-container,
.text-image__image-container {
  width: 50%;
  position: relative;
}

.text-image__image-container {
  overflow: hidden;
  height: 350px;
}

.text-image__post-author-image {
  width: 50px;
  height: 50px;
}

.text-image-blog-post__header {
  grid-gap: 10px;
  display: flex;
  align-items: center;
}
.content_blog_time_author {
  display: flex;
  column-gap: 16px;
}
img.blog-index-imagen {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.blog-index__data {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-size: 16px;
}

.text-imagen-blog__post-tags {
  position: absolute;
  bottom: 22px;
  left: 22px;
}

.text-image-blog-post__header,
.blog-index--text_image .blog-index__post-time {
  position: relative;
}

.blog-index--text_image .blog-index__post-time:after,
.text-image-blog-post__header:after {
  content: "";
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 16px;
  background-color: var(--body);
}

.blog-index__post-timestamp,
.blog-index--text_image .blog-index__post-time {
  display: flex;
  align-items: center;
}

.blog-index__post-time svg,
.blog-index__post-timestamp svg {
  margin-right: 10px;
  margin-left: 10px;
}

/* Tags */
a.blog-index__tag-link {
  display: inline-block;
  text-decoration: none;
}
a.blog-index__tag-link:hover,
.blog-index__post-title a:hover {
  text-decoration: none;
}

.blog-index__tag-link h6 {
  margin: 0;
}

h6 .blog-index__tag-link,
.blog-index__post-tags h6 {
  margin: 0;
}

/* Card */
.blog-index__featured-post .blog-index__post-content,
.blog-index__post--card .blog-index__post-content {
  margin-bottom: 0;
}

.blog-index__post--card .blog-index__post-author,
.blog-index__featured-post--card .blog-index__post-author {
  margin-bottom: 20px;
}

.blog-index__post--card .blog-index__date-time-read,
.blog-index__featured-post--card .blog-index__date-time-read {
  margin: 14px 0 8px;
}

.blog-index__featured-post--card .blog-index__post-content-summary {
  margin-bottom: 20px;
  font-size: 16px;
}
.blog-index__post--card .blog-index__post-content-summary {
  margin-bottom: 20px;
  font-size: 14px;
}

.blog-index__post--card .blog-index__post-container {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.blog-index__post.blog-index__post--card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-index__button a {
  text-align: left;
}

{# Button #}
.blog-index__post-content__button {
  transition: all .3s ease;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 16px;
  text-decoration: none;
  display: flex;
  width: max-content;
}
.blog-index__post-content__button:hover {
  text-decoration: none;
}

/* Media Queries */
@media (max-width: 992px) {
  .blog-index__wrapper {
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
  }
  .blog-index__wrapper.blog-index--text_image {
    gap: 0;
  }
  .blog-index__featured-post {
    margin-bottom: 64px;
  }

  .big-title-two-columns-blog-post__summary {
    width: 100%;
  }

  .two-columns-blog-post .blog-index__post_image img {
    height: 315px;
  }

  .big-title-two-columns-blog-post__content {
    flex-direction: column;
  }

  .text-image-blog-post__header {
    margin-top: 32px;
  }

  .blog-index__featured-post-content {
    padding: 40px 24px;
  }

  .two-columns-blog-post a.blog-index__post_image,
  .two-columns-blog-post .two-columns-blog-content {
    width: 100%;
  }

  .two-columns-blog-post {
    flex-direction: column;
    width: 100%;
  }

  .big-title-two-columns-blog-post__image-link {
    width: 100%;
  }

  .text-image__text-container,
  .text-image__image-container {
    max-height: initial;
    width: 100%;
  }

  .text-image__container {
    flex-direction: column-reverse;
    padding: 0;
    margin-bottom: 0px;
  }

  .blog-index__data {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 0;
  }

  .text-image-blog-post__header:after {
    content: none;
  }

  .blog-index__post-time svg {
    margin-left: 0;
  }

  .content_blog_time_autor {
    display: flex;
    gap: 10px;
  }

  .two-columns-blog__upper-content {
    padding: 0;
  }

  .text-image__content {
    width: 100%;
    padding: 32px;
    margin-bottom: 80px;
  }

  .blog-index__post-content {
    margin-bottom: 20px;
  }

  .text-image__container {
    gap: 0;
  }

  .big-title-two-columns-blog-post__header {
    margin-top: 30px;
  }
}

@media(max-width: 767px) {
  .blog-index--text_image .blog-index__post-title {
    margin-bottom: 20px;
    -webkit-line-clamp: 3;
  }
  .blog-index--text_image .blog-index__post-content {
    margin: 0 0 20px;
    -webkit-line-clamp: 4;
  }
  .blog-index__image-summary--list {
    flex-direction: column;
  }
  .blog-index__post-image-link--list,
  .blog-index__post-content--list {
    width: 100%;
    padding-bottom: 1rem;
  }
}
.blog-index__load-more__button {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}
.blog-index__load-more__button-link {
  color: #FFFFFF;
  background: #EDAE4B;
  border: 0px none;
  transition: all .3s ease;
  border-radius: 10px;
  padding: 12px 15px;
  font-size: 18px;
  text-decoration: none;
  display: flex;
  width: max-content;
  font-weight: 600;
}
.blog-index__load-more__button-link:hover,
.blog-index__load-more__button-link:active,
.blog-index__load-more__button-link:focus {
  color: #FFFFFF;
  background: #d9a045;
  border: 0px none;
  border-radius: 10px;
  padding: 12px 15px;
  font-size: 18px;
  text-decoration: none;
  display: flex;
  width: max-content;
  font-weight: 600;
}
/* End of setup for the CSS. */

.blog-index__post-card-container { 
  opacity: 1;
}
.blog-index__post-card-container.hidden { 
  display: none;
  opacity: 0;
}
@keyframes fadeIn { from { 
  opacity: 0; 
  transform: translateY(10px);
  } to { 
    opacity: 1; 
    transform: translateY(0);
  } 
}
.fade-in { 
  animation: fadeIn 0.5s ease forwards; 
}