/**
 * Blog SEO Styles - WinkelvanHugo
 * Breadcrumbs, TOC, author box, related products, Hugo CTA
 */

/* Breadcrumbs */
.blog-breadcrumbs {
    margin-bottom: var(--wvh-space-6);
}

.blog-breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--wvh-space-1);
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: var(--wvh-text-sm);
    color: var(--wvh-gray-500);
}

.blog-breadcrumbs__item a {
    color: var(--wvh-gray-500);
    text-decoration: none;
}

.blog-breadcrumbs__item a:hover {
    color: var(--wvh-orange);
}

.blog-breadcrumbs__sep {
    margin: 0 var(--wvh-space-1);
    color: var(--wvh-gray-300);
}

.blog-breadcrumbs__item--current {
    color: var(--wvh-gray-700);
    font-weight: 500;
}

/* Table of Contents */
.blog-toc {
    background: var(--wvh-gray-50, #f9fafb);
    border: 1px solid var(--wvh-gray-200, #e5e7eb);
    border-radius: var(--wvh-radius-lg);
    padding: var(--wvh-space-6);
    margin-bottom: var(--wvh-space-8);
}

.blog-toc__title {
    font-size: var(--wvh-text-base);
    font-weight: 700;
    margin: 0 0 var(--wvh-space-3) 0;
    display: flex;
    align-items: center;
    gap: var(--wvh-space-2);
    cursor: pointer;
}

.blog-toc__title svg {
    flex-shrink: 0;
}

.blog-toc__list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: toc;
}

.blog-toc__list li {
    counter-increment: toc;
    margin-bottom: var(--wvh-space-2);
}

.blog-toc__list li::before {
    content: counter(toc) ".";
    color: var(--wvh-orange);
    font-weight: 600;
    margin-right: var(--wvh-space-2);
}

.blog-toc__list a {
    color: var(--wvh-gray-700);
    text-decoration: none;
    font-size: var(--wvh-text-sm);
}

.blog-toc__list a:hover {
    color: var(--wvh-orange);
}

/* Author Box */
.blog-author-box {
    display: flex;
    gap: var(--wvh-space-4);
    align-items: flex-start;
    padding: var(--wvh-space-6);
    background: var(--wvh-gray-50, #f9fafb);
    border-radius: var(--wvh-radius-lg);
    border: 1px solid var(--wvh-gray-200, #e5e7eb);
    margin-top: var(--wvh-space-8);
}

.blog-author-box__photo img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.blog-author-box__name {
    font-size: var(--wvh-text-base);
    display: block;
    margin-bottom: var(--wvh-space-2);
}

.blog-author-box__bio {
    font-size: var(--wvh-text-sm);
    color: var(--wvh-gray-600);
    margin: 0 0 var(--wvh-space-3) 0;
    line-height: 1.6;
}

.blog-author-box__whatsapp {
    display: inline-flex;
    align-items: center;
    gap: var(--wvh-space-2);
    background: #25D366;
    color: #fff;
    padding: var(--wvh-space-2) var(--wvh-space-4);
    border-radius: var(--wvh-radius-md);
    font-size: var(--wvh-text-sm);
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.blog-author-box__whatsapp:hover {
    background: #1da851;
    color: #fff;
}

/* Related Products */
.blog-related-products {
    margin-top: var(--wvh-space-10);
    padding-top: var(--wvh-space-8);
    border-top: 1px solid var(--wvh-gray-200);
}

.blog-related-products__title {
    font-size: var(--wvh-text-2xl);
    margin: 0 0 var(--wvh-space-6) 0;
}

.blog-related-products__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--wvh-space-4);
}

@media (min-width: 768px) {
    .blog-related-products__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.blog-product-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--wvh-gray-200);
    border-radius: var(--wvh-radius-lg);
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}

.blog-product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.blog-product-card__image {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--wvh-gray-50, #f9fafb);
}

.blog-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.blog-product-card__info {
    padding: var(--wvh-space-3);
}

.blog-product-card__name {
    font-size: var(--wvh-text-sm);
    font-weight: 600;
    margin: 0 0 var(--wvh-space-1) 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-product-card__price {
    font-size: var(--wvh-text-sm);
    font-weight: 700;
    color: var(--wvh-orange);
}

.blog-related-products__cta {
    text-align: center;
    margin-top: var(--wvh-space-6);
}

.blog-related-products__button {
    display: inline-flex;
    align-items: center;
    gap: var(--wvh-space-2);
    background: var(--wvh-orange);
    color: #fff;
    padding: var(--wvh-space-3) var(--wvh-space-6);
    border-radius: var(--wvh-radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.blog-related-products__button:hover {
    background: var(--wvh-orange-dark, #e05500);
    color: #fff;
}

/* Category Link Block */
.blog-category-link {
    display: flex;
    align-items: center;
    gap: var(--wvh-space-3);
    padding: var(--wvh-space-4) var(--wvh-space-6);
    background: linear-gradient(135deg, var(--wvh-orange), #ff8c42);
    color: #fff;
    border-radius: var(--wvh-radius-lg);
    text-decoration: none;
    font-weight: 600;
    margin-top: var(--wvh-space-6);
    transition: transform 0.2s, box-shadow 0.2s;
}

.blog-category-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
    color: #fff;
}

/* Hugo CTA Block */
.blog-hugo-cta {
    display: flex;
    gap: var(--wvh-space-4);
    align-items: center;
    padding: var(--wvh-space-6);
    background: #fff;
    border: 2px solid var(--wvh-orange);
    border-radius: var(--wvh-radius-lg);
    margin-top: var(--wvh-space-8);
}

.blog-hugo-cta__photo img {
    border-radius: 50%;
    width: 64px;
    height: 64px;
    object-fit: cover;
}

.blog-hugo-cta__content h3 {
    margin: 0 0 var(--wvh-space-1) 0;
    font-size: var(--wvh-text-base);
}

.blog-hugo-cta__content p {
    margin: 0 0 var(--wvh-space-3) 0;
    font-size: var(--wvh-text-sm);
    color: var(--wvh-gray-600);
}

.blog-hugo-cta__buttons {
    display: flex;
    gap: var(--wvh-space-3);
    flex-wrap: wrap;
}

.blog-hugo-cta__wa,
.blog-hugo-cta__email {
    display: inline-flex;
    align-items: center;
    gap: var(--wvh-space-2);
    padding: var(--wvh-space-2) var(--wvh-space-4);
    border-radius: var(--wvh-radius-md);
    font-size: var(--wvh-text-sm);
    font-weight: 600;
    text-decoration: none;
}

.blog-hugo-cta__wa {
    background: #25D366;
    color: #fff;
}

.blog-hugo-cta__wa:hover {
    background: #1da851;
    color: #fff;
}

.blog-hugo-cta__email {
    background: var(--wvh-gray-100, #f3f4f6);
    color: var(--wvh-gray-700);
}

.blog-hugo-cta__email:hover {
    background: var(--wvh-gray-200, #e5e7eb);
}

/* Responsive */
@media (max-width: 640px) {
    .blog-author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .blog-hugo-cta {
        flex-direction: column;
        text-align: center;
    }
    
    .blog-hugo-cta__buttons {
        justify-content: center;
    }
}
