/* ============================================================
   Smart Internal Links Pro — Front-end: "Also Interested In" block
   This file is only loaded on single post pages.
   ============================================================ */

.sil-also-interested {
    margin: 2.5em 0 1.5em;
    padding: 1.25em 1.5em 1.25em 1.4em;
    background: #f9f7ff;
    border-left: 4px solid #7c3aed;
    border-radius: 0 8px 8px 0;
    font-size: 0.95em;
}

.sil-also-title {
    margin: 0 0 0.65em;
    font-size: 0.8em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #7c3aed;
    line-height: 1;
}

.sil-also-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.45em;
}

.sil-also-item {
    display: flex;
    align-items: center;
    gap: 0.5em;
    padding: 0;
    margin: 0;
}

/* Arrow bullet */
.sil-also-item::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    background-color: #7c3aed;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.sil-also-item a {
    color: #1d2327;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s;
    line-height: 1.4;
}

.sil-also-item a:hover {
    color: #7c3aed;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .sil-also-interested {
        background: rgba(124, 58, 237, 0.08);
        border-left-color: #a78bfa;
    }

    .sil-also-title {
        color: #a78bfa;
    }

    .sil-also-item::before {
        background-color: #a78bfa;
    }

    .sil-also-item a {
        color: #e5e7eb;
    }

    .sil-also-item a:hover {
        color: #a78bfa;
    }
}

/* Responsive: tighten on small screens */
@media (max-width: 480px) {
    .sil-also-interested {
        padding: 1em 1.1em 1em 1em;
        border-radius: 0 6px 6px 0;
    }
}
