/**
 * WP Smart Index & Link Engine - Frontend Styles
 */

.wp-sil-autolink {
    color: #2563eb;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.wp-sil-autolink:hover {
    color: #1d4ed8;
    text-decoration-color: #1d4ed8;
}

/* Minimal Callout Box */
.wp-sil-related-box.wp-sil-style-minimal {
    margin: 28px 0;
    padding: 14px 20px;
    background: #f8fafc;
    border-left: 4px solid #3b82f6;
    border-radius: 0 8px 8px 0;
    font-size: 15px;
    line-height: 1.6;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.wp-sil-related-box.wp-sil-style-minimal .wp-sil-box-prefix {
    font-weight: 700;
    color: #1e293b;
    margin-right: 6px;
}

.wp-sil-related-box.wp-sil-style-minimal .wp-sil-box-link {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.wp-sil-related-box.wp-sil-style-minimal .wp-sil-box-link:hover {
    text-decoration: underline;
    color: #1d4ed8;
}

/* Card with Thumbnail */
.wp-sil-related-box.wp-sil-style-card {
    margin: 32px 0;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wp-sil-related-box.wp-sil-style-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.wp-sil-box-thumb {
    width: 90px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.wp-sil-box-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wp-sil-box-body {
    flex-grow: 1;
}

.wp-sil-box-body .wp-sil-box-prefix {
    font-size: 12px;
    font-weight: 700;
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 4px;
}

.wp-sil-box-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.wp-sil-box-title a {
    color: #1e293b;
    text-decoration: none;
}

.wp-sil-box-title a:hover {
    color: #2563eb;
}
