#top{
    position:sticky !important;
    top:0;
    z-index: 1000;
}
.window_display{
    padding: 2rem;
    display: flex;
    margin: 0 auto;
    height: auto;
    gap:1rem;
    position: relative;
    align-items: flex-start;
}
.window_blog{
width:70%;
padding:2rem;
position: relative;
}
.window_index{
width: 30%;
height:auto;
padding:2rem;
}
.title-section{
    color: #bb3925;
    font-size: 2.281rem !important;
}
.img_article{
    margin-top:2rem;
    max-width:100%;
    height: auto;
}
.article_img{
    margin-top:1rem;
    max-width:100%;
    display: flex;
    flex-direction: column;
    gap:10px;
}
.article_index{
    margin: 0 auto;
    margin-top: 5rem;
    padding: 2rem;
    max-width: 70%;
    border-radius: 20px;
    height: auto;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.index_list{
    font-size:1.125rem;
    color: #bb3925;
    line-height: 1.3;
}

.icon_index{
    margin-bottom:-4px;
    margin-right:6px;
    display:inline-block;
}
.index_list_title{
    margin-bottom: 0.7rem;
    font-weight: 800;
    font-size: 1.266rem;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1.6px;
}
.index_list_element{
    color:#52246a;
    margin-top:5px;
    margin-left:5px;
}
.index_list_element_beta{
    color:#6a3288;
    margin-left:20px;
}
 .element_link{
    display: inline-block;
    transition: all 0.3s ease;
    text-decoration: none;
    color:#52246a;
}
.beta_link{
    transition: all 0.3s ease;
    text-decoration: none;
    color:#52246a;
}
.element_link:hover{
color:#f3ad16;
margin-left:2px;
}
.beta_link:hover{
color: #f3ad16;
margin-left:2px;
}

/*Contenido del blog*/
.article_content{
    position: relative;
    margin-top:5rem;
    margin-left:-2rem;
    max-width: 115%; /*Cambiar esto hace que el gap tenga efecto con el índice derecho*/
}
.content_title{
    margin-bottom:1rem;
    margin-top: 2rem;
    font-size:1.802rem;
    color: #52246a;
}
.content_title_beta{
    margin-top: 20px;
    margin-bottom:10px;
    margin-left: 10px;
    font-size:1.424rem;
    color: #52246a;
}
.content_stand{
    margin: 0 auto;
    margin-top: 3rem;
    margin-bottom: 3rem;
    background-color: #52246a;
    width:60%;
    height: auto;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    transition: all 0.3s ease;
}
.content_stand:hover{
    background-color:#f3ad16;
}
.content_stand:hover .content_text_stand{
    color: #551a11;
}
.content_text{
    margin-top:10px;
    margin-left:10px;
    font-size:1.125rem;
    line-height:1.2;
    color: #551a11;
}
.content_text_stand{
    font-size:1.266rem;
    line-height:1.2;
    color: #fff;
    transition: all 0.3s ease;
}
.img_footer{
    text-align: center;
    font-style: italic;
    margin-bottom: 2rem;
    font-size:1rem;
    line-height:1.2;
    color: #551a11;
}
.source_text{
    margin-top:40px;
    margin-left:10px;
    text-align: left;
    font-size:1rem;
    line-height:1.1;
    color: #551a11;
}
.source_link{
    margin-left:10px;
    font-style: italic;
    text-decoration: underline;
    color: #52246a;
}
/*Contenido del blog, parte derecha*/
.basic_info, .index_articles, .sticky_index{
    line-height:1.5;
    margin-bottom:2rem;
    border-radius:20px;
    height: auto;
    width:100%;
    padding:1rem;
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.index_articles{
    padding-top:2rem;
    padding-bottom:2rem;
}
.time_svg{
    margin-right:-2px;
    margin-bottom:-1px;
}
.tag_svg{
    margin-right:-3px;
    margin-bottom:-2px;
}
.more_svg{
    margin-right:-3px;
    margin-bottom:-2px;
}
.recent_title{
    color:#bb3925;
    font-weight:600;
    font-size:1.266rem;
    margin-bottom:20px;
    text-decoration: underline 1.5px #bb3925;
    text-underline-offset: 4px;
}
.recent_articles{
    list-style: none;
    padding: 0;
    margin: 0;
}
.recent_articles_item {
    display: flex;
    align-items: center; 
    gap: 15px;           
    margin-bottom: 10px;  
    overflow: hidden;
    border-radius:10px;
    text-decoration: none;   
    color: #fff;        
    background-color: #52246a;  
    transition: all 0.3s ease; 
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
.recent_articles_item:hover {
    background-color: #bb3925;
    color:#fff;
    transform: translateY(-1px);
}
.recent_articles_item img {
    filter: brightness(80%); /* Ajusta el porcentaje (0% es negro total, 100% es su estado original) */
    transition: filter 0.3s ease; /* Hace que el cambio al hacer hover sea fluido */
    width: 60px;   /* Ajusta el ancho según prefieras */
    height: 60px;  /* Ajusta el alto según prefieras */
    object-fit: cover; /* Evita que la imagen se deforme */
    flex-shrink: 0;    /* Evita que la foto se reduzca si el texto es muy largo */
}
.recent_articles_item:hover img {
    filter: brightness(100%);
}
.article_text {
    font-size: 14px;
    font-weight: 500;
}
.index_more{
    display: flex;
    color:#52246a;
    margin-top:20px;
    justify-content: center;
    transition: all 0.3s ease;
}
.index_more:hover{
    color:#bb3925;
    transform: scale(1.05);
}
/*Sección posterior al blog*/
.window_author{
    position: relative;
    width: 50%;
    margin-left:5rem;
    border-radius: 20px;
    margin-bottom: 5rem;
    height:auto;
    background-color: #f3ad16;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}
.avatar-container {
  position: absolute;
  top: -25px; /* Hace que sobresalga por arriba */
  left: -30px; /* Hace que sobresalga por la izquierda */
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 2px solid #bb3925; /* Pequeño reborde blanco */
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  background-color: #fff;
  transition: all 0.3s ease;
}
.avatar-container:hover{
    transform:scale(102%);
}
.avatar-container img {
  width: 100%;      /* Ocupa todo el ancho del círculo */
  height: 100%;     /* Ocupa todo el alto del círculo */
  object-fit: cover;/* Mantiene la proporción de la foto y recorta los bordes para que encaje */
  display: block;   /* Elimina espacios en blanco debajo de la imagen */
}
.card-content {
    color: #551a11;
  display: flex;
  flex-direction: column; /* Distribuye los elementos verticalmente (a lo alto) */
  gap: 8px; /* Espaciado uniforme entre líneas */
  margin: 0 auto;
  text-align:center;
  padding:2rem;
}
.name_author {
    margin-left:7rem;
    color: #bb3925;
    text-align: left;
  font-size: 1.25rem;
  font-weight:600;
}
.prof-age-line {
  display: flex;
  margin-left:7rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}
.profession_author{
    font-weight: 600;
}
.quote_author {
  font-style: italic;
  margin-top:2rem;
  font-size: 0.95rem;
  margin-top: 4px;
}
.date_author {
  font-size: 0.8rem;
  align-self: flex-end; /* Colocado en la esquina izquierda inferior del flujo */
}

/* --- Contenedor de la barra de progreso de lectura --- */
.reading-progress-container {
  position: fixed;
  top: 80px; /* Justo debajo de tu nav (ajusta según los px de tu barra de navegación) */
  left: 0;
  width: 100%;
  height: 4px;
  background: #f3ad16;
  z-index: 998;
}

/* Relleno de la barra */
.reading-progress-bar {
  height: 100%;
  width: 0%;
  background: #ec2e11; /* El color índigo que usas en tus botones */
  transition: width 0.1s ease-out;
}
.social-share-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 8px;
}

.share-title {
  font-size: 15px;
  font-weight: 600;
  color: #52246a;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icon:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

/* Estilo específico para ajustar el SVG de X dentro del botón */
.social-icon .x-logo {
  width: 16px;
  height: 16px;
  fill: #ffffff;
}

/* Colores de marca y correo */
.social-icon.whatsapp { background-color: #25d366; }
.social-icon.telegram { background-color: #229ed9; }
.social-icon.x-twitter { background-color: #000000; }
.social-icon.linkedin { background-color: #0a66c2; }
.social-icon.facebook { background-color: #1877f2; }
.social-icon.email { background-color: #52246a; }