/* =====================================================
   Minuto Tendencias Argentina — Frontend Styles
   ===================================================== */

.mta-widget {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 24px;
}

.mta-widget__header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px 12px;
    background: #f7f7f7;
    border-bottom: 1px solid #e8e8e8;
}

.mta-widget__icon { font-size: 18px; }

.mta-widget__title {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    flex: 1;
    color: #1a1a1a;
}

.mta-widget__badge {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #e8f4fd;
    color: #1a73e8;
    padding: 3px 8px;
    border-radius: 20px;
}

.mta-widget__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mta-widget__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}

.mta-widget__item:last-child { border-bottom: none; }
.mta-widget__item:hover { background: #fafafa; }

.mta-widget__pos {
    min-width: 24px;
    font-size: 13px;
    font-weight: 700;
    color: #bbb;
    padding-top: 2px;
    text-align: right;
}

.mta-widget__item:nth-child(-n+3) .mta-widget__pos {
    color: #e8463a;
}

.mta-widget__content { flex: 1; min-width: 0; }

.mta-widget__keyword {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

.mta-widget__keyword:hover { color: #1a73e8; text-decoration: underline; }

.mta-widget__traffic {
    display: inline-block;
    font-size: 11px;
    color: #888;
    margin-top: 2px;
}

.mta-widget__news {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
}

.mta-widget__news li {
    font-size: 12px;
    color: #555;
    line-height: 1.4;
    padding: 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mta-widget__news a {
    color: #444;
    text-decoration: none;
}

.mta-widget__news a:hover { color: #1a73e8; text-decoration: underline; }

.mta-widget__source {
    font-size: 11px;
    color: #aaa;
    font-style: italic;
}

.mta-widget__error {
    padding: 16px;
    color: #c0392b;
    font-size: 13px;
}

.mta-widget__footer {
    padding: 10px 16px;
    font-size: 11px;
    color: #aaa;
    background: #fafafa;
    border-top: 1px solid #f0f0f0;
}

.mta-widget__footer a { color: #1a73e8; text-decoration: none; }
.mta-widget__footer a:hover { text-decoration: underline; }

/* Estilo compact */
.mta-widget--compact .mta-widget__item { padding: 7px 14px; }
.mta-widget--compact .mta-widget__keyword { font-size: 13px; }
