/* =========================================
   ESTILOS DE LA ENTRADA (USANDO FUENTE DEL SITIO)
   ========================================= */

/* --- 1. HERO SECTION --- */
.entry-hero {
    position: relative;
    height: 60vh;
    min-height: 450px;
    background-color: #15233A;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    margin-top: 0;
}

.entry-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(21,35,58,0.4) 0%, rgba(21,35,58,0.9) 100%);
    z-index: 1;
}

.entry-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.3s;
}

.entry-date-badge {
    display: inline-block;
    background-color: #187495;
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.entry-hero h1 {
    /* Eliminada la fuente forzada, heredará la del sitio */
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.entry-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: #cbd5e1;
}

.entry-author-avatar {
    width: 45px;
    height: 45px;
    background-color: #ffffff;
    color: #15233A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
}

/* --- 2. CUERPO DEL ARTÍCULO --- */
.entry-body-section {
    background-color: #ffffff;
    padding: 5rem 0;
}

.entry-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.entry-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #334155;
}

.entry-content h2 { 
    color: #15233A; 
    font-weight: 700; 
    margin-top: 3rem; 
    margin-bottom: 1rem; 
    font-size: 2rem; 
    line-height: 1.2;
}

.entry-content h3 { 
    color: #187495; 
    font-weight: 600; 
    margin-top: 2rem; 
    margin-bottom: 1rem; 
    font-size: 1.5rem; 
}

.entry-content p { margin-bottom: 1.5rem; }
.entry-content strong { color: #15233A; font-weight: 700; }
.entry-content ul, .entry-content ol { margin-bottom: 1.5rem; padding-left: 2rem; }
.entry-content li { margin-bottom: 0.5rem; }

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.entry-content blockquote {
    border-left: 5px solid #187495;
    background-color: #F0F9FF;
    padding: 2rem;
    margin: 2rem 0;
    font-style: italic;
    color: #15233A;
    border-radius: 0 12px 12px 0;
}

/* --- 3. FOOTER Y RESPONSIVE --- */
.entry-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.btn-back {
    color: #15233A;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s;
}
.btn-back:hover { color: #187495; }

.share-area span { margin-right: 10px; color: #64748b; font-weight: 600; }
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background-color: #f1f5f9;
    color: #15233A;
    margin-left: 5px;
    text-decoration: none;
    transition: all 0.3s;
}
.share-btn:hover {
    background-color: #15233A;
    color: #ffffff;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .entry-hero h1 { font-size: 2.2rem; }
    .entry-hero { height: auto; padding: 6rem 0; }
    .entry-footer { flex-direction: column; align-items: flex-start; }
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}