/* Estilos específicos para los posts del blog */
.blog-post {
    padding-top: 100px;
    padding-bottom: 60px;
}

.blog-header {
    margin-bottom: 3rem;
}

.blog-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.blog-featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    margin: 2rem 0;
}

.blog-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2B3134;
}

.blog-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.blog-content p {
    margin-bottom: 1.5rem;
}

.blog-content img {
    max-width: 100%;
    border-radius: 10px;
    margin: 2rem 0;
}

.blog-tags {
    margin: 3rem 0;
}

.blog-tags .tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(140, 80, 241, 0.1);
    color: var(--secondary-color);
    border-radius: 20px;
    margin: 0.3rem;
    font-size: 0.9rem;
}

.blog-share {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 2rem 0;
    margin: 2rem 0;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.author-box {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    margin: 3rem 0;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.author-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0.5rem;
}

.related-posts {
    margin-top: 4rem;
}

.related-posts h3 {
    margin-bottom: 2rem;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .blog-title {
        font-size: 2rem;
    }

    .blog-featured-image {
        height: 300px;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* Estilos para tags */
.blog-tags {
    margin: 2rem 0;
    padding: 1rem 0;
    border-top: 1px solid #eee;
}

.tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    background-color: #f0f7ff;
    border: 1px solid #cce3ff;
    border-radius: 50px;
    color: #0066cc;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
}

.tag:hover {
    background-color: #e1f0ff;
    border-color: #99c7ff;
    transform: translateY(-1px);
    cursor: pointer;
}

/* Estilos para botones de compartir */
.blog-share {
    margin: 2rem 0;
    padding: 2rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.blog-share h4 {
    margin-bottom: 1.5rem;
    text-align: center;
    color: #333;
}

.share-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.share-button {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    color: white !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.share-button i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.share-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
    text-decoration: none;
}

.share-button.facebook {
    background-color: #1877f2;
}

.share-button.twitter {
    background-color: #1da1f2;
}

.share-button.linkedin {
    background-color: #0077b5;
}

.share-button.whatsapp {
    background-color: #25d366;
}

.share-button.copy {
    background-color: #6c757d;
}

@media (max-width: 768px) {
    .share-button {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .share-button span {
        display: none;
    }

    .share-button i {
        margin-right: 0;
        font-size: 1.2rem;
    }
}

/* Añadir al final de blog.css */

/* Estilos para la sección del especialista */
.specialist-section {
    margin: 4rem 0;
    padding: 2rem 0;
}

.specialist-banner {
    background: linear-gradient(135deg, #1a237e 0%, #0277bd 100%);
    border-radius: 20px;
    padding: 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.specialist-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    transform: translate(100px, -150px);
}

.specialist-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.specialist-image {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.specialist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.specialist-info {
    flex-grow: 1;
}

.specialist-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.specialist-badge i {
    margin-right: 0.5rem;
}

.specialist-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.specialist-description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.specialist-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-item i {
    font-size: 1.2rem;
    opacity: 0.8;
}

.specialist-cta {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    background: white;
    color: #1a237e;
    border: none;
    transition: all 0.3s ease;
}

.specialist-cta:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.9);
    color: #1a237e;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Media queries para responsividad */
@media (max-width: 768px) {
    .specialist-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .specialist-image {
        margin: 0 auto;
        width: 150px;
        height: 150px;
    }

    .specialist-banner {
        padding: 2rem;
    }

    .specialist-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .specialist-info h2 {
        font-size: 2rem;
    }
}