/* ============================================================
   Detalle de artículo de blog: layout de dos columnas,
   sidebar (compartir + otros artículos) y meta del post.
   ============================================================ */

.post-single {
    background-color: #FFF;
}

/* Meta del artículo (fecha / autor) */
.post-meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.post-meta-item {
    color: #8a8a8a;
    font-size: 13px;
}

.post-meta-item i {
    color: #7F3019;
    margin-right: 4px;
}

/* Cuerpo del artículo */
.post-description {
    color: #444444;
    font-size: 16px;
    line-height: 1.8;
}

.post-description p {
    margin-bottom: 1.25rem;
}

.post-description img {
    height: auto;
    max-width: 100%;
}

.post-description h2,
.post-description h3,
.post-description h4 {
    color: #531F10;
    font-weight: 700;
    margin: 1.5rem 0 0.75rem;
}

.post-description a {
    color: #7F3019;
}

/* Sidebar */
.blog-sidebar {
    position: sticky;
    top: 90px;
}

.sidebar-widget {
    background-color: #FDFDFD;
    border: 1px solid #EEE7DD;
    border-radius: 10px;
    margin-bottom: 32px;
    padding: 24px;
}

.sidebar-widget-title {
    border-bottom: 2px solid #EEE7DD;
    color: #531F10;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 20px;
    padding-bottom: 12px;
}

/* Botones para compartir */
.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.share-btn {
    align-items: center;
    border-radius: 8px;
    color: #FFF;
    display: inline-flex;
    font-size: 18px;
    height: 44px;
    justify-content: center;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
    width: 44px;
}

.share-btn:hover {
    color: #FFF;
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, .18);
}

.share-btn-facebook { background-color: #1877F2; }
.share-btn-x        { background-color: #000000; }
.share-btn-whatsapp { background-color: #25D366; }
.share-btn-telegram { background-color: #229ED9; }
.share-btn-linkedin { background-color: #0A66C2; }
.share-btn-pinterest{ background-color: #E60023; }
.share-btn-email    { background-color: #6C757D; }

/* Otros artículos */
.sidebar-articles {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-article {
    border-bottom: 1px solid #F0EDEA;
}

.sidebar-article:last-child {
    border-bottom: 0;
}

.sidebar-article-link {
    align-items: center;
    display: flex;
    gap: 12px;
    padding: 12px 0;
}

.sidebar-article-link:hover {
    text-decoration: none;
}

.sidebar-article-img {
    background-color: #F5F5F5;
    border-radius: 6px;
    flex: 0 0 72px;
    height: 54px;
    overflow: hidden;
}

.sidebar-article-img img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.sidebar-article-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.sidebar-article-title {
    color: #333333;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    transition: color .2s ease;
}

.sidebar-article-link:hover .sidebar-article-title {
    color: #7F3019;
}

.sidebar-article-date {
    color: #8a8a8a;
    font-size: 12px;
}

/* Responsive */
@media (max-width: 991.98px) {
    .blog-sidebar {
        position: static;
        margin-top: 32px;
    }
}
