/******************* General ********************/
body {
  background: var(--degradade-yellow);
}
.hs-blog-post .content-wrapper{
  max-width: var(--max-width-bp);
  margin: 0 auto;
  width: 100%;
  margin-top: 40px !important;
  margin-bottom: 60px !important;
}

/* Blog CTA */
.body-container--blog-post .hs-cta-img,
img#hs-cta-img-7a197f25-7a4c-4eb5-9aef-d1ad98f5423f {
  float: unset !important;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px; !important;
  max-width: 100%;
  height: auto;
}


/********************* Hero *********************/
.blog-hero {
  position: relative;
  min-height: 500px; 
  display: flex;
  align-items: flex-end;  
  background-size: cover;
  background-position: center;  
  overflow: hidden;
  margin-bottom: 30px;
  background-color: var(--dark-500); 
}
.blog-hero__padding {
  padding: 70px 80px;
}
.b-radius {
  border-radius: 12px; 
}
@media (max-width: 991px) {
  .blog-hero__padding {
    padding: 50px 60px;
  }
}
@media (max-width: 767px) {
  .blog-hero__padding {
    padding: 20px 40px;
  }
}
@media (max-width: 567px) {
  .blog-hero__padding {
    padding: 15px 20px;
  }
}
.blog-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,0.8) 100%);
  z-index: 1;
}

.blog-hero__container {
  position: relative;
  z-index: 2; 
  width: 100%;
}

.blog-hero__tags-wrapper {
  display: flex;
  flex-wrap: wrap; 
  gap: 10px;  
  margin-bottom: 15px;
}

.blog-hero__tag a {
  display: inline-block;
  color: var(--white-color);
  padding: 6px 8px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--white-color);
  transition: background 0.3s ease;
  border-radius: 8px;
  background: rgba(46, 51, 61, 0.85);
}

.blog-hero__tag a:hover {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px); 
}

.blog-hero__title {
  color: var(--white-color);
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 15px 0;
  line-height: 1.2;
}
@media (max-width: 767px) {
  .blog-hero__title {
    font-size: 32px;
  }
}
.blog-hero__date {
  color: var(--white-color);
  font-size: 16px;
  font-weight: bold;
}

/* Hero cuando NO hay imagen */
.blog-hero.no-image {
  min-height: 300px;
  background: var(--dark-500); 
  align-items: center;
  text-align: center;
}
.blog-hero.no-image .blog-hero__tag {
  justify-content: center;
}

/********************* Content ***********************/
/* Back */
.blog-back {
  margin-bottom: 32px;
}
.blog-back a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: bold;
  color: var(--black-color);
}
.blog-back svg {
  width: 18px;
}
.blog-back svg,
.blog-back svg path {
  fill: var(--black-color);
  -webkit-transition: all 0.15s linear;
  -moz-transition: all 0.15s linear;
  -o-transition: all 0.15s linear;
  transition: all 0.15s linear;
}
.blog-back a:hover svg,
.blog-back a:hover svg path {
  fill: var(--green-500);
} 

/* Body */
.blog-content {
  margin-left: 0 !important;
}
.blog-post__body>span>:not(:first-child):is(h1,h2,h3,h4,h5,h6) {
  padding-top: 24px;
}
/* Body Video */
.hs-embed-content-wrapper {
  padding: 28px;
  background: var(--degradade-pink);
  border-radius: 12px;
}
.hs-embed-content-wrapper > div {
  border-radius: 6px;
}
@media(min-width: 768px) {
  .blog-content {
    padding-right: 5%;
  }
}
/* Sidebar */
.blog-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 70px; 
  height: fit-content;  
  display: flex !important;
  flex-direction: column;
  gap: 30px;
}

.sidebar-card {
  background: #ffffff;
  border-radius: 15px; /* Bordes redondeados como en la imagen */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); /* Sombra suave */
  padding: 30px;
  overflow: hidden;
}

/* Estilos del Autor */
.author-card__image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
  object-fit: cover;
}

.author-card__name {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 5px 0;
  color: var(--black-color);
  margin-bottom: 0 !important;
}

.author-card .role {
  margin-top: 4px;
  display: block;
  font-size: 14px;
  color: var(--green-500);
  font-weight: 600; 
}

.author-card__bio {
  margin-top: 15px;
  font-size: 14px;
  color: var(--black-color);
  margin: 0;
  font-weight: 700;
}

/* Contenedor del CTA Dark */
.cta-global-wrapper {
  background-color: #333; /* Fondo oscuro del CTA */
  color: #fff;
  padding: 0; /* Para que el contenido del CTA ajuste bien */
}