/* NaijaSabi SEO Pro — Frontend Styles
   Loaded on all public-facing pages via wp_enqueue_scripts */

/* Related reading box */
.nsp-related-box {
    background: #f8f9ff;
    border: 1.5px solid #e0e7ff;
    border-radius: 12px;
    padding: 20px 24px;
    margin-top: 36px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.nsp-related-title {
    font-weight: 700;
    color: #0f3460;
    font-size: 15px;
    margin: 0 0 12px;
}

.nsp-related-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nsp-related-list li {
    padding: 7px 0;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.nsp-related-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.nsp-rel-cat {
    background: #0f3460;
    color: #fff;
    font-size: 10px;
    padding: 2px 7px;
    border-radius: 3px;
    white-space: nowrap;
    font-weight: 700;
    letter-spacing: 0.3px;
    flex-shrink: 0;
}

/* Inline internal links */
.nsp-internal-link {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: #0f3460;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
    transition: color 0.15s, text-decoration-color 0.15s;
}

.nsp-internal-link:hover {
    color: #0f3460;
    text-decoration-color: #e94560;
}

/* Pillar page styles */
.nsp-pillar-page {
    max-width: 100%;
}

.nsp-pillar-intro {
    margin-bottom: 24px;
    line-height: 1.8;
}

.nsp-toc-box {
    background: #fff8e1;
    border: 1.5px solid #ffe082;
    border-radius: 10px;
    padding: 18px 22px;
    margin: 24px 0 32px;
}

.nsp-toc-title {
    font-weight: 700;
    color: #5d4037;
    margin: 0 0 10px;
    font-size: 15px;
}

.nsp-toc-list {
    margin: 0;
    padding-left: 20px;
}

.nsp-toc-list li {
    margin-bottom: 6px;
    font-size: 14px;
}

.nsp-toc-list a {
    color: #0f3460;
    text-decoration: none;
}

.nsp-toc-list a:hover {
    text-decoration: underline;
    color: #e94560;
}

.nsp-pillar-footer {
    background: #f0f4ff;
    border-radius: 8px;
    padding: 14px 18px;
    margin-top: 32px;
    font-size: 14px;
    color: #444;
    border-left: 4px solid #0f3460;
    border-radius: 0 8px 8px 0;
}

@media (max-width: 600px) {
    .nsp-related-box {
        padding: 16px;
    }
    .nsp-related-list li {
        flex-wrap: wrap;
    }
}
