/* Blog Sidebar Component */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Sidebar Cards */
.sidebar-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8eef3;
    transition: all 0.3s ease;
}

.sidebar-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Sidebar Title */
.sidebar-title {
    color: #043249;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e8eef3;
}

.sidebar-title i {
    color: #d7ae75;
    font-size: 1.3rem;
}

/* Author Card */
.author-card {
    background: linear-gradient(135deg, #043249 0%, #065a7d 100%);
    color: white;
    text-align: center;
}

.author-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid #d7ae75;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.author-info h4 {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.author-badge {
    background: linear-gradient(135deg, #d7ae75 0%, #c09559 100%);
    color: #043249;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.author-bio {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Info Card */
.info-card {
    border-left: 4px solid #d7ae75;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.info-list li:hover {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    transform: translateX(5px);
}

.info-list li i {
    color: #d7ae75;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.info-content strong {
    color: #043249;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-content span {
    color: #666;
    font-size: 0.95rem;
}

/* Related Posts Card */
.related-card {
    border-left: 4px solid #750037;
}

.related-posts-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-post-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.related-post-item:hover {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    transform: translateX(5px);
    border-color: #d7ae75;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.related-post-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post-item:hover .related-post-image img {
    transform: scale(1.1);
}

.related-post-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.related-post-content h5 {
    color: #043249;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.read-more {
    color: #d7ae75;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more i {
    transition: transform 0.3s ease;
}

.related-post-item:hover .read-more i {
    transform: translateX(5px);
}

/* CTA Card */
.cta-card {
    background: linear-gradient(135deg, #750037 0%, #5a002a 100%);
    color: white;
    text-align: center;
    border: none;
}

.cta-icon {
    margin-bottom: 15px;
}

.cta-icon i {
    font-size: 3rem;
    color: #d7ae75;
}

.cta-card h4 {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 20px;
}

/* Sidebar Buttons */
.btn-sidebar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    border: none;
    cursor: pointer;
}

.btn-sidebar.btn-primary {
    background: linear-gradient(135deg, #d7ae75 0%, #c09559 100%);
    color: #043249;
}

.btn-sidebar.btn-primary:hover {
    background: linear-gradient(135deg, #c09559 0%, #a8834d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(192, 149, 89, 0.4);
}

.btn-sidebar.btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #1ebe57 100%);
    color: white;
}

.btn-sidebar.btn-whatsapp:hover {
    background: linear-gradient(135deg, #1ebe57 0%, #17a647 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.btn-sidebar i {
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .blog-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .sidebar-card {
        padding: 20px;
    }

    .author-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .blog-sidebar {
        grid-template-columns: 1fr;
    }

    .sidebar-card {
        padding: 20px;
    }

    .author-avatar {
        width: 70px;
        height: 70px;
    }

    .info-list li {
        padding: 10px;
    }

    .related-post-image {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .sidebar-card {
        padding: 18px;
        border-radius: 12px;
    }

    .sidebar-title {
        font-size: 1rem;
    }

    .author-avatar {
        width: 60px;
        height: 60px;
    }

    .author-info h4 {
        font-size: 1.2rem;
    }

    .info-list li i {
        font-size: 1.3rem;
    }

    .related-post-image {
        width: 60px;
        height: 60px;
    }

    .related-post-content h5 {
        font-size: 0.9rem;
    }

    .cta-icon i {
        font-size: 2.5rem;
    }

    .btn-sidebar {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}
