/* Noticias FEED - Frontend */

.fnr-news {
    margin: 1.5em 0;
    font-family: inherit;
}

.fnr-no-results {
    padding: 1em 1.2em;
    background: #f8f9fa;
    border-left: 4px solid #6c757d;
    color: #495057;
    border-radius: 0 6px 6px 0;
}

/* LISTA */
.fnr-format-list .fnr-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.fnr-format-list .fnr-item {
    padding: 0.85em 0;
    border-bottom: 1px solid #e9ecef;
}
.fnr-format-list .fnr-item:last-child { border-bottom: none; }
.fnr-format-list .fnr-title {
    font-weight: 600;
    font-size: 1.05em;
    text-decoration: none;
    color: #1a1a1a;
    line-height: 1.4;
}
.fnr-format-list .fnr-title:hover {
    color: #0d6efd;
    text-decoration: underline;
}

/* TARJETAS + GRID */
.fnr-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}
.fnr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5em;
}
.fnr-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s ease;
    height: 100%;
}
.fnr-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.fnr-card-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f1f3f5;
}
.fnr-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.fnr-card:hover .fnr-card-image img { transform: scale(1.03); }
.fnr-card-body { padding: 1.1em 1.25em 1.25em; }
.fnr-card-title {
    margin: 0 0 0.4em;
    font-size: 1.15em;
    line-height: 1.35;
}
.fnr-card-title a {
    color: #1a1a1a;
    text-decoration: none;
}
.fnr-card-title a:hover { color: #0d6efd; }
.fnr-card-excerpt {
    margin: 0.6em 0 0;
    font-size: 0.92em;
    color: #495057;
    line-height: 1.5;
}

/* COMPACTO */
.fnr-format-compact .fnr-compact {
    list-style: none;
    margin: 0;
    padding: 0;
}
.fnr-format-compact .fnr-item {
    padding: 0.45em 0;
    border-bottom: 1px dotted #dee2e6;
    font-size: 0.95em;
    line-height: 1.4;
}
.fnr-format-compact .fnr-item:last-child { border-bottom: none; }
.fnr-format-compact a {
    color: #1a1a1a;
    text-decoration: none;
}
.fnr-format-compact a:hover {
    color: #0d6efd;
    text-decoration: underline;
}
.fnr-format-compact .fnr-date,
.fnr-format-compact .fnr-source {
    font-size: 0.85em;
    color: #6c757d;
}

/* EXTRACTO */
.fnr-format-excerpt .fnr-item {
    padding: 1.25em 0;
    border-bottom: 1px solid #e9ecef;
}
.fnr-format-excerpt .fnr-item:last-child { border-bottom: none; }
.fnr-format-excerpt .fnr-title {
    margin: 0 0 0.35em;
    font-size: 1.2em;
    line-height: 1.35;
}
.fnr-format-excerpt .fnr-title a {
    color: #1a1a1a;
    text-decoration: none;
}
.fnr-format-excerpt .fnr-title a:hover { color: #0d6efd; }
.fnr-format-excerpt .fnr-excerpt {
    margin: 0.6em 0;
    color: #495057;
    line-height: 1.55;
}
.fnr-read-more {
    display: inline-block;
    margin-top: 0.4em;
    font-size: 0.9em;
    font-weight: 600;
    color: #0d6efd;
    text-decoration: none;
}
.fnr-read-more:hover { text-decoration: underline; }

/* META + TAGS */
.fnr-meta {
    font-size: 0.82em;
    color: #6c757d;
    margin-top: 0.3em;
}
.fnr-tag {
    display: inline-block;
    background: #e7f1ff;
    color: #0d6efd;
    padding: 1px 7px;
    border-radius: 10px;
    font-size: 0.9em;
    margin-right: 3px;
}

@media (max-width: 600px) {
    .fnr-grid { grid-template-columns: 1fr; }
}
