.header {
    top: 0;
}

/* Estilo para la línea de progreso del artículo */
#progress-bar {
    position: fixed;
    top: 60px;
    left: 0;
    width: 0%; /* El ancho se actualizará dinámicamente */
    height: 6px;
    background: #299926;
    z-index: 1000; /* Asegura que esté encima de otros elementos */
}

/* Estilo para la imagen principal */
.main-image {
    max-width: 1280px;
    margin: 20px auto;
    text-align: center;
    padding: 0 10px;
}

.main-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px; /* Bordes redondeados */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra suave */
}

/* Estilo para el contenido del artículo */
.article-content {
    max-width: 850px;
    margin: 20px auto;
    padding: 0 10px;
    line-height: 1.6;
    background: #fff;
    border-radius: 10px;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
}

.article-content h1 {
    font-size: 2rem;
    color: #299926;
    margin-bottom: 10px;
}

.meta-data {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 20px;
}

.article-content h2 {
    /* color: #299926; */
    margin-top: 20px;
}

figure {
    text-align: center;
    margin: 20px 0;
}

figure img {
    max-width: 100%;
    border-radius: 10px;
}

figcaption {
    font-size: 0.9rem;
    color: #555;
    margin-top: 5px;
}

hr {
    border: 0;
    border-top: 1px solid #ddd;
    margin: 20px 0;
}

/* Estilo para el botón de compartir */
#share-button {
    background: #299926;
    color: white;
    border: none;
    margin: 15px 0;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    float: left;
}

#share-button:hover {
    background: #5a2780;
}
