/* --- 1. The "Wired" Highlight Style --- */
a.sil-wired {
    text-decoration: none;
    background-image: linear-gradient(120deg, rgba(255, 208, 0, 0.4) 0%, rgba(255, 208, 0, 0.4) 100%);
    background-repeat: no-repeat;
    background-size: 100% 0.4em;
    background-position: 0 88%;
    transition: background-size 0.25s ease-in;
    color: inherit;
    font-weight: 600;
}

a.sil-wired:hover {
    background-size: 100% 100%; /* Expands to full background on hover */
    color: #000;
}

/* --- 2. The "Popovers" (Notion Style) --- */
/* The Card Container (Hidden by default) */
.sil-popup-card {
    position: absolute;
    z-index: 9999;
    width: 280px;
    background: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-radius: 8px;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.2s;
    transform: translateY(10px);
    pointer-events: none;
}

/* Show state */
.sil-popup-card.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sil-popup-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    background-color: #f5f5f5;
}

.sil-popup-content {
    padding: 12px 16px;
}

.sil-popup-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 6px 0;
    line-height: 1.4;
    color: #333;
}

.sil-popup-meta {
    font-size: 12px;
    color: #888;
    display: flex;
    justify-content: space-between;
}

/* --- 3. The "Content Block" (Interruption Box) --- */
.sil-block-box {
    margin: 30px 0;
    padding: 20px;
    border-left: 4px solid #0073aa;
    background-color: #f9f9f9;
    border-radius: 0 4px 4px 0;
    display: flex;
    align-items: center;
}

.sil-block-box p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

.sil-block-icon {
    font-size: 24px;
    margin-right: 15px;
}