/* BE Auto Blog Navigation - CSS */

.be-abn-container {
    background: #f8f9fa;
    max-width: 700px;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 2rem;
    margin: 2rem auto;
    background-image: linear-gradient(135deg, #f8f9fa 0%, #f0f2f5 100%);
}

.be-abn-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #212529;
    margin: 1rem 0 !important;
    padding: 0;
}

.be-abn-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.be-abn-list li {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.be-abn-list li:before {
    content: "â";
    position: absolute;
    left: 0;
    font-weight: bold;
}

.be-abn-link {
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
    font-size: 0.95rem;
}

.be-abn-link:hover {
    text-decoration: underline;
    padding-left: 0.25rem;
}

.be-abn-link:focus {
    text-decoration: underline;
    outline-offset: 2px;
    border-radius: 2px;
}

/* H2 headdings - visual indicator */
main h2,
.post-content h2,
article h2,
.entry-content h2,
.content h2,
section h2,
.col-12 h2,
.article-detail h2 {
    scroll-margin-top: 6.25rem; /* 100px offset from top */
    position: relative;
}

/* Anchor link indikÃ¡tor */
main h2[id]:hover::before,
.post-content h2[id]:hover::before,
article h2[id]:hover::before,
.entry-content h2[id]:hover::before,
.content h2[id]:hover::before,
section h2[id]:hover::before,
.col-12 h2[id]:hover::before,
.article-detail h2[id]:hover::before {
    content: "#";
    position: absolute;
    left: -1.5rem;
    color: #999;
    font-size: 0.875rem;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 768px) {
    .be-abn-container {
        padding: 1rem;
        margin: 1.5rem 0;
    }
    
    .be-abn-title {
        font-size: 1rem;
    }
    
    .be-abn-link {
        font-size: 0.9rem;
    }
    
    main h2[id]:hover::before,
    .post-content h2[id]:hover::before,
    article h2[id]:hover::before,
    .entry-content h2[id]:hover::before,
    .content h2[id]:hover::before,
    section h2[id]:hover::before {
        display: none;
    }
}

/* Dark mode (optional - enable in plugin settings) */
.be-abn-container.be-abn-dark {
    background: #2d2d2d;
    border-color: #404040;
    background-image: linear-gradient(135deg, #2d2d2d 0%, #242424 100%);
}

.be-abn-container.be-abn-dark .be-abn-title {
    color: #e0e0e0;
}

.be-abn-container.be-abn-dark .be-abn-link {
    color: #4ba3ff;
}

.be-abn-container.be-abn-dark .be-abn-link:hover {
    color: #6db3ff;
}

.be-abn-container.be-abn-dark .be-abn-list li:before {
    color: #4ba3ff;
}

