/* ── Zenon RSS Feed — frontend styles ── */

.zrf-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, 1fr);
}

.zrf-cols-1 { grid-template-columns: 1fr; }
.zrf-cols-2 { grid-template-columns: repeat(2, 1fr); }
.zrf-cols-3 { grid-template-columns: repeat(3, 1fr); }
.zrf-cols-4 { grid-template-columns: repeat(4, 1fr); }

.zrf-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
}

.zrf-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    transform: translateY(-3px);
}

.zrf-thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.zrf-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s;
}

.zrf-card:hover .zrf-thumb img {
    transform: scale(1.04);
}

.zrf-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}

.zrf-title {
    font-size: 17px;
    line-height: 1.3;
    margin: 0;
}

.zrf-title a {
    color: inherit;
    text-decoration: none;
}

.zrf-title a:hover {
    text-decoration: underline;
}

.zrf-excerpt {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.zrf-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: inherit;
    text-decoration: none;
    margin-top: auto;
    opacity: 0.65;
    transition: opacity 0.2s, gap 0.2s;
}

.zrf-card:hover .zrf-more {
    opacity: 1;
    gap: 8px;
}

/* Editor placeholder */
.zrf-editor-placeholder {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: #f8f9fa;
    border: 1px dashed #ccc;
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .zrf-cols-3,
    .zrf-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .zrf-grid {
        grid-template-columns: 1fr !important;
    }
}
