/* ReadWeave */
.rw-panel,
#readweave-box {
    margin-top: 32px;
    padding-top: 18px;
    border-top: 1px solid #ddd;
    font-family: inherit;
    background: transparent;
}

.rw-panel-title {
    margin: 0 0 14px 0 !important;
    padding: 0 !important;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
    list-style: none !important;
}

.rw-results-scroll {
    overflow-y: auto;
    padding-right: 8px;
    border: 0;
}

.rw-height-compact .rw-results-scroll { max-height: 260px; }
.rw-height-standard .rw-results-scroll { max-height: 420px; }
.rw-height-tall .rw-results-scroll { max-height: 620px; }

.rw-item {
    display: flex;
    gap: 14px;
    margin: 0 0 18px 0 !important;
    padding: 0 0 14px 0 !important;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    list-style: none !important;
}

.rw-item:last-child {
    border-bottom: 0;
    padding-bottom: 0 !important;
}

.rw-thumb-wrap {
    flex: 0 0 90px;
}

.rw-thumb {
    display: block;
    width: 90px;
    height: 68px;
    object-fit: cover;
    border-radius: 4px;
}

.rw-content {
    min-width: 0;
    flex: 1 1 auto;
}

.rw-title {
    display: block;
    margin: 0 0 4px 0 !important;
    padding: 0 !important;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 600;
    text-decoration: none;
    word-break: normal;
    overflow-wrap: anywhere;
}

.rw-title:hover {
    text-decoration: underline;
}

.rw-meta {
    margin: 0 0 4px 0;
    font-size: 13px;
    line-height: 1.4;
    color: #666;
}

.rw-source,
.rw-author {
    color: #666;
    text-decoration: none;
}

.rw-author::before {
    content: " • ";
}

.rw-snippet {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

.rw-empty-state,
.rw-loading {
    font-size: 14px;
    color: #666;
    padding: 8px 0;
}

@media (max-width: 640px) {
    .rw-item {
        gap: 10px;
    }
    .rw-thumb-wrap {
        flex-basis: 72px;
    }
    .rw-thumb {
        width: 72px;
        height: 54px;
    }
    .rw-title {
        font-size: 16px;
    }
}
