.ymx-featured-widget {
    padding: 0;
}

.ymx-featured-card {
    position: relative;
    padding: 18px 16px 16px;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.08);
    background: var(--ymx-bg-card);
    box-sizing: border-box;
    overflow: visible;
}

.ymx-featured-tag {
    position: absolute;
    top: -1px;
    left: 20px;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 0 0 4px 4px;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.ymx-featured-link {
    display: block;
    text-decoration: none;
    color: inherit;
    margin-top: 8px;
}

.ymx-featured-name {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 8px;
    word-break: break-word;
    transition: opacity 0.2s;
}

.ymx-featured-link:hover .ymx-featured-name {
    opacity: 0.8;
}

.ymx-featured-desc {
    font-size: 12px;
    color: var(--ymx-text-secondary);
    line-height: 1.7;
    word-break: break-word;
}

.ymx-featured-link:hover .ymx-featured-desc {
    color: #444;
}

body.ymx-dark-mode .ymx-featured-card {
    border-color: rgba(255,255,255,0.08);
}

body.ymx-dark-mode .ymx-featured-desc {
    color: #aaa;
}

body.ymx-dark-mode .ymx-featured-link:hover .ymx-featured-desc {
    color: #ccc;
}
