/* SINGLE OPINION CSS - single-opinion.css */

/* ===== CONTENEDOR PRINCIPAL ===== */
.single-opinion-desktop {
    padding: 30px;

  /*  background: white;
    border-radius: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);*/
}

/* ===== HEADER DEL ARTÍCULO ===== */
.single-opinion-header {
    margin-bottom: 30px;
    padding-bottom: 25px;
}

/* Título principal */
.article-title-main {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
    color: #212529;
    margin-bottom: 15px;
  
}

/* Nombre del autor en rojo */
.author-name-red {
         font-size: 25px;
    font-weight: 600;
    color: #e41339;
    margin-bottom: 5px;
    text-transform: none;
    padding-left: 25px;
    margin-top: 15px;
}

/* Cita destacada en el header */
.article-quote-header {
 
    padding-left: 25px;

    
}

.article-quote-header p {
    margin: 0;
    font-size: 20px;
    line-height: 1.5;
    color: #495057;
    font-weight: bold;
}

/* Botones sociales en header */
.social-share-header {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
    margin-left: 25px;
}

.social-btn-header {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

  .social-share {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        background: #e0e0e0;
        border-radius: 50%;
        text-decoration: none;
        color: #000;
        transition: background 0.3s;
        margin-right: 8px;
    }  

.social-btn-header:hover {
    background: #e9ecef;
    color: #495057;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Avatar grande en header */
.author-avatar-header {
    position: sticky;
    top: 20px;
}

.author-avatar-large {
   
    border-radius: 50%;
    object-fit: cover;
    
}

.author-avatar-default-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    border: 4px solid #e9ecef;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* ===== SEPARADOR ===== */
.header-separator {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, #dc3545, transparent);
    margin: 30px 0;
}

/* ===== CONTENIDO DEL ARTÍCULO ===== */
.article-content-main {
    margin-bottom: 40px;
}

/* Imagen destacada */
.featured-image-container {
    margin-bottom: 30px;
    text-align: center;
}

.featured-image-main {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Contenido de texto */
.article-text-content {
    font-size: 20px;
    line-height: 1.7;
    color: #333;
    
}



.article-text-content h2,
.article-text-content h3,
.article-text-content h4 {
    color: #212529;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.article-text-content h2 {
    font-size: 1.6rem;
    border-bottom: 2px solid #dc3545;
    padding-bottom: 10px;
}

.article-text-content h3 {
    font-size: 1.4rem;
}

.article-text-content h4 {
    font-size: 1.2rem;
}

.article-text-content blockquote {
    background: #f8f9fa;
    border-left: 4px solid #dc3545;
    padding: 20px;
    margin: 25px 0;
    font-style: italic;
    font-size: 1.1rem;
}

.article-text-content ul,
.article-text-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.article-text-content li {
    margin-bottom: 8px;
}

/* Enlaces en el contenido */
.article-text-content a {
    color: #dc3545;
    text-decoration: underline;
}

.article-text-content a:hover {
    color: #b02a37;
    text-decoration: none;
}

/* Videos de YouTube embebidos */
.article-text-content iframe {
    max-width: 100%;
    margin: 25px 0;
    border-radius: 8px;
}

/* ===== BIO DEL AUTOR - ACTUALIZADA ===== */
.author-bio{
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 25px;
    margin-top: 40px;
}

.author-bio-container {
    width: 100%;
}

/* Avatar pequeño en bio */
.author-avatar-bio {
    text-align: left;
}

.author-avatar-small {
    
    border-radius: 50%;
    object-fit: cover; 
    
}

.author-avatar-default-small {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    border: 3px solid #dee2e6;
}

/* Información del autor */
.author-bio-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #dc3545;
    margin-bottom: 10px;
}

.author-bio-description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #495057;
    margin-bottom: 15px;
}

/* Redes sociales horizontales debajo de la bio */
.author-social-links-horizontal {
    display: flex;
    gap: 8px;
    align-items: center;
}

.author-social-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.author-social-btn:hover {
    transform: scale(1.1);
    text-decoration: none;
    color: white;
}

/* Colores específicos de redes del autor */
.author-social-btn.facebook {
    background: #e41339;
}

.author-social-btn.twitter {
    background: #e41339;
}

.author-social-btn.twitter-dos {
    background: #e41339;
}

.author-social-btn.instagram {
    background: #e41339;
}

.author-social-btn.youtube {
    background: #e41339;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1199px) {
    .article-title-main {
        font-size: 1.8rem;
    }
    
    .author-avatar-large,
    .author-avatar-default-large {
        
    }
    
    .single-opinion-desktop {
        padding: 20px;
    }
}

@media (max-width: 991px) {
    .article-title-main {
        font-size: 28px;
    }
    
    .author-name-red {
        font-size: 20px;
    }
     .article-text-content blockquote  p{

        margin-left: 5.5rem;
    }
    .author-avatar-large,
    .author-avatar-default-large { 
        
    }
    
    .social-btn-header {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
    
    .article-text-content { 
        font-size: 1rem;
    }
    
    /* Responsive para bio */    
    .author-avatar-default-small {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .author-bio-name {
        font-size: 20px;
       margin-top: 7px;  
    }
    
    .author-bio-description {
        font-size:18px;
        margin-top: 18px !important;
    }
    
    .author-social-btn {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
    .article-text-content p{
        font-size: 20px;
    }
    .article-quote-header p {
           font-size: 18px;  
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .social-share-header,
    .author-social-links-horizontal {
        display: none;
    }
    
    .single-opinion-desktop {
        box-shadow: none;
        padding: 0;
    }
    
    .article-text-content {
        font-size: 12pt;
        line-height: 1.5; 
    }
}