/* @import url('http://example.com/example_style.css'); */

/***********************************************/
/* CSS @imports must be at the top of the file */
/* Add them above this section                 */
/***********************************************/

/*****************************************/
/* Start your style declarations here    */
/*****************************************/

.blog-single__content-text{
  padding-bottom: 20px; 
}

.blog-single .dnd-section>.row-fluid{
  max-width: 1280px !important;
}

.blog-single p, .blog-single h1, .blog-single h2, .blog-single h3, .blog-single h4, .blog-single h5, .blog-single h6{
  color: #6A6A6A;
}

.blog-single blockquote{
  background-color: #e8f4ff;
  border-left: 0;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}

.blog-single blockquote:before{
  background-image: url(https://49075644.fs1.hubspotusercontent-na1.net/hubfs/49075644/Group%2063.png);
  background-repeat: no-repeat;
  background-position: center;
  content: " ";
  display: block;
  height: 60px;
  width: 80px;
}

.blog-single blockquote p{ 
  color: #021D34;
  font-size: 20px;
  font-style: italic; 
  border-left: 2px solid #f18627;
  margin: 0;
  padding: 20px;
  width: calc(100% - 80px);
}


.blog-single .blog-single__background-image{
  background-image: url(https://49075644.fs1.hubspotusercontent-na1.net/hub/49075644/hubfs/banner-background.jpg);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 150px 20px 40px;
}

.blog-single__hero-content{
  display: flex;
  align-items: center;
}

.blog-single table{
  width: 100%;
}

.blog-single h1{
  font-weight: 600;
  font-size: 38px;
  line-height: 1;
  font-family: Montserrat, sans-serif !important;
  text-align: left;
  line-height: 1.4;
}

@media screen and (max-width: 992px){
  .blog-single__hero-content{
    flex-direction: column;
    gap: 20px;
  }

  .blog-single h1{
    font-size: 35px;
    text-align: center;
  }

}

/*--- Se oculto ---*/
.blog-single__category{
  background-color: #021D34;
  padding: 8px 24px;
  border-radius: 50px;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: none;
}

.blog-single__featured-image img{
  border-radius: 12px;
  box-shadow: 10px 10px 35px 1px rgba(0,0,0,0.46);
}

.blog-single__related{
  background-color: #F0F0EF;
}

.blog-single__form-subscription{
  background-image: url(https://49075644.fs1.hubspotusercontent-na1.net/hubfs/49075644/background-banner.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 10px;
  padding: 40px 30px;
  margin: 0 0 40px 0;
}

.blog-single .wrapper-content img{
  max-width: 100%;
  height: auto;
}

@media screen and (max-width: 992px){
  .blog-single__form-subscription{
    background-image: url(https://49075644.fs1.hubspotusercontent-na1.net/hubfs/49075644/background-banner.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 10px;
    padding: 40px 30px;
    margin: 40px 0;
  }
}

.blog-single__form-subscription h3, .blog-single__form-subscription div, .blog-single__form-subscription label{
  color: #fff;
  text-align: center;
}

.blog-single__form-subscription .form-title{
  display: none;
}

.blog-single__form-subscription .hs-button{
  width: 100%;
}

.blog-single__button-consulting{
  background-color: #F18627 !important;
  border: 1px solid #F18627 !important;
  border-radius: 6px !important;
  
}

.blog-single__author{
  text-align: left;
}

@media screen and (max-width: 992px){
  .blog-single__author{
    text-align: center;
  }

}

.blog-single .subscription-form__title{
  font-size: 30px;
  color: #fff;
  text-align: center;
}

.share { display:flex; align-items:center; gap:.75rem; font-family:inherit; margin-bottom: 20px;}
@media screen and (max-width: 992px){
  .share{
    justify-content: center;
  }
}

.hs-button, .hs_email input{
  border-radius: 6px !important;
}



.share__label { font-weight:600; }
.share__buttons { display:flex; gap:.5rem; }
.share__btn {
  width:36px; height:36px; display:inline-grid; place-items:center;
  border-radius:50%; background:#0a66c2; /* azul corporativo */
  text-decoration:none; line-height:0; transition:transform .15s ease, opacity .15s ease;
}
.share__btn svg { width:18px; height:18px; fill:#fff; }
.share__btn:hover { transform:translateY(-1px); opacity:.9; }
.share__btn:active { transform:translateY(0); opacity:.8; }
/* Accesibilidad con teclado */
.share__btn:focus-visible{ outline:2px solid #111; outline-offset:2px; }
  .share__label{ color:#000000; }
}

/* Buscador */
  
  .grid {
    opacity: 1;
    transition: opacity .4s ease;
    margin-top: 30px;
  }
  .grid.is-fading {
    opacity: 0;
  }

  .search{
    border-radius: 100px;
    margin: 8px auto 18px;
    padding: 5px 15px;
    position: relative;
    width: min(500px, 100%);
    background: white;
    border: 1px solid #9D9D9C;
  }
  .search__input{
    width:100%; height:44px; padding:0 48px 0 16px;
    background:var(--bg-soft); color:#9D9D9C;
    border:1px solid transparent; border-radius:999px; outline:none;
    transition:border .2s, box-shadow .2s;
  }
  .search__input::placeholder{color:var(--muted)}
  .search__input:focus{border-color:var(--brand); box-shadow:0 0 0 3px rgba(30,107,255,.25)}
  .search__btn{
    position:absolute; right:6px; top:50%; transform:translateY(-50%);
    min-width:32px; border:0; border-radius:999px;
    background: #0B95D3;
    display:grid; place-items:center; cursor:pointer; box-shadow:var(--shadow);
  }
  .search__btn:hover{
    background: #0B95D3;
    border: 0;
  }
  .search__btn svg{width:18px; height:18px; fill:white}

  /* Pestañas */
  .tabs{
    align-items: center;
    display: flex;
    flex-wrap: nowrap; 
    gap: 8px;
    justify-content: space-between;
    margin: 10px 0 18px;
    flex-direction: row;
  }
  
  @media screen and (max-width: 992px){
    .tabs{
      overflow-x: scroll;
    }
    
    .blog-single__content-form__form-content{
      display: none;
    }
       
  }

  @media screen and (min-width: 992px){
      .blog-single__content-form{
        border-left: 1px solid #ccc;
        padding: 0 20px;
      }

    }

  .tab{
    appearance:none; border-radius:15px;
    border: 0;
    background: #fff; color: #B1B1B1; padding: 15px 10px; cursor:pointer;
    transition:all .2s; font-weight:600; letter-spacing:.1px;
    width: 100%;
    justify-content: center;
  }
  .tab[aria-selected="true"], .tab:hover{background: #063052; color: #fff; border: 0;}
  .tab:focus-visible{outline:3px solid rgba(30,107,255,.35)}

  /* Grid */
  .grid{display:grid; gap:14px; grid-template-columns:repeat(12,1fr)}
  @media (max-width: 1199px){ .grid{grid-template-columns:repeat(8,1fr)}}
  @media (max-width: 767px){ .grid{grid-template-columns:repeat(4,1fr)}} 

  .card{
    grid-column:span 4; position:relative; overflow:hidden; border-radius:12px;
    background:var(--card); min-height:480px; display:flex; align-items:flex-end;
    box-shadow:var(--shadow); isolation:isolate;
  }
  .card--wide{grid-column:span 6; min-height:220px}
  @media (max-width: 767px){ .card{grid-column:span 4} .card--wide{grid-column:span 4} }

  .card__img{
    position:absolute; inset:0; background-size:cover; background-position:center;
    filter:saturate(110%) brightness(.9); transform:scale(1.02); transition:transform .35s ease;
  }
  .card::after{
    content:""; position:absolute; inset:0;
    background:linear-gradient(180deg, rgba(6,10,18,.05) 0%, rgba(6,10,18,.55) 55%, rgba(6,10,18,.85) 100%);
    z-index:0;
  }
  .card:hover .card__img{transform:scale(1.06)}
  .card__body{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    position: relative;
    z-index: 1;
    height: 100%;
  }
  
  .card__body h3{
    color: #fff;
    font-weight: bold;
  } 

.new-related{
  margin-top: 40px;
}

  .pills{
    display:flex;
    gap:6px;
    margin-bottom:8px;
    flex-wrap:wrap}
  .pill{
    font-size:.72rem;
    background: rgba(46,71,93,0.20);
    backdrop-filter: blur(10px);
    color: #fff;
    background: rgba(10,136,193,0.15);
    padding:4px 8px; border-radius:999px;
    text-transform:uppercase;
  }
  .card h3{font-size:1rem; margin:0 44px 0 0; text-shadow:0 1px 0 rgba(0,0,0,.35); text-align: left;}

  .card__cta{
    position:absolute; right:20px; top:20px; width:36px; height:36px;
    border-radius:999px; background:rgba(255,255,255,.2); z-index: 10;
    display:grid; place-items:center; background: rgba(185,185,185,0.15); backdrop-filter:blur(6px);
    transition:transform .2s, background .2s, border-color .2s;
  }
  .card__cta svg{width:18px; height:18px; fill:white}
  .card:hover .card__cta{transform:translateX(2px); background:rgba(255,255,255,.2); border-color:rgba(255,255,255,.25)}

  /* Paginación */
  .pager{display:flex; align-items:center; gap:6px; justify-content:center; margin:18px 0 0}
  .pager button, .pager span{
    min-width:32px; display:grid; place-items:center; border-radius:8px; border:1px solid #D7D7D7;
    background:#fff; color: #D7D7D7; cursor:pointer; font-weight:600;
  }
  .pager .is-active{background: #fff; border-color:#0A67B1; color: #9D9D9C;}
  .pager .arrow{font-size:18px; line-height:1; background-color: #0A67B1; color: #fff;}
  .pager button[disabled]{opacity:.45; cursor:not-allowed}

/* Ocultar cards sin quitarlas del DOM */
.card.is-hidden { display: none; }

/* Fade en la grid del panel activo */
.grid { transition: opacity 180ms ease; }
.grid.fade-out { opacity: 0; }
.grid.fade-in  { opacity: 1; }

/* Paginación opcional */
.pager.is-hidden { display: none; }
.pager__btn[aria-current="page"] { font-weight: 700; text-decoration: underline; }
.pager__ellipsis { padding: 0 .5rem; }