﻿
:root {
    /* Paleta institucional (compatible con tus CSS) */
    --accent-light: #50E00E; /* verde vibrante */
    --accent-dark: #0b3105; /* verde bosque */
    --bg-light: #D7F1EA; /* menta clara */
    --bg-dark: #e5e5e5; /* gris neutro */
    --ink-900: #0D0F10;
    --ink-600: #444;
    --ink-400: #6b7280;
    --card-bg: #ffffff;
    --ring: rgba(0,0,0,.08);
}

/* --- Layout base --- */
.b1t-rss-shell {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, "Poppins", Arial, sans-serif;
    color: var(--ink-900);
    background: linear-gradient(135deg,var(--bg-light),var(--bg-dark));
    min-height: 100svh;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.b1t-rss-chip {
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg,var(--accent-light),var(--accent-dark));
    box-shadow: 0 6px 16px rgba(11,49,5,.25);
}

/* --- Grid de tarjetas --- */
.b1t-rss-main {
    max-width: 1100px;
    margin: 18px auto;
    padding: 0 clamp(12px,3vw,20px) 40px;
}

.b1t-rss-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat( auto-fill, minmax(260px, 1fr) );
}

.b1t-rss-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 28px rgba(0,0,0,.08);
    border: 1px solid var(--ring);
    display: flex;
    flex-direction: column;
    transform: translateZ(0);
    transition: transform .18s ease, box-shadow .18s ease, border-color .2s ease;
}

    .b1t-rss-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 36px rgba(0,0,0,.12);
        border-color: rgba(80,224,14,.25);
    }

.b1t-rss-media {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    background: #f3f4f6;
}

.b1t-rss-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.b1t-rss-h3 {
    margin: 0;
    font-size: clamp(15px, 2.1vw, 18px);
    line-height: 1.25;
    font-weight: 800;
    color: var(--ink-900);
}

.b1t-rss-meta {
    font-size: 12px;
    color: var(--ink-400);
    display: flex;
    align-items: center;
    gap: 8px;
}

.b1t-rss-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-light);
    display: inline-block;
}

.b1t-rss-desc {
    color: var(--ink-600);
    font-size: 14px;
    line-height: 1.45;
}

.b1t-rss-footer {
    margin-top: auto;
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed var(--ring);
}

.b1t-rss-link {
    color: #0b3105;
    font-weight: 800;
    text-decoration: none;
}

    .b1t-rss-link:hover {
        text-decoration: underline;
    }

/* Skeletons */
.b1t-rss-skel {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg,#f3f4f6, #e9ecef, #f3f4f6);
    animation: b1t-shine 1.2s linear infinite;
}

@keyframes b1t-shine {
    0% {
        background-position: -200% 0
    }

    100% {
        background-position: 200% 0
    }
}

.b1t-rss-skel.card {
    height: 320px;
    border-radius: 16px;
}

/* Toast */
.b1t-rss-toast {
    position: fixed;
    inset: auto 12px 12px auto;
    background: #111;
    color: #fff;
    padding: 10px 14px;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(0,0,0,.28);
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: .25s ease;
}

    .b1t-rss-toast.is-on {
        opacity: 1;
        transform: translateY(0);
    }
