/* ============================================
   ESTILOS GERAIS DO PLUGIN RSS EXTERNAL BLOGS
   ============================================ */

/* Container principal */
.rss-external-blogs {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    margin: 20px 0;
    width: 100%;
    box-sizing: border-box;
}

/* Reset para garantir consistência */
.rss-external-blogs * {
    box-sizing: border-box;
}

/* ============================================
   LAYOUT: LISTA (padrão)
   ============================================ */
.rss-external-blogs.rss-layout-list .rss-item {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    margin-bottom: 10px;
    display: block;
}

.rss-external-blogs.rss-layout-list .rss-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* ============================================
   LAYOUT: GRID (CORRIGIDO)
   ============================================ */
.rss-external-blogs.rss-layout-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
}

.rss-external-blogs.rss-layout-grid .rss-item {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    margin: 0 !important;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    break-inside: avoid;
}

.rss-external-blogs.rss-layout-grid .rss-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Container do conteúdo dentro do grid */
.rss-external-blogs.rss-layout-grid .rss-item-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
}

/* ============================================
   LAYOUT: COMPACTO
   ============================================ */
.rss-external-blogs.rss-layout-compact {
    display: block;
}

.rss-external-blogs.rss-layout-compact .rss-item {
    padding: 10px 0;
    margin-bottom: 5px;
    border-bottom: 1px dashed #eee;
    display: block;
}

.rss-external-blogs.rss-layout-compact .rss-item:last-child {
    border-bottom: none;
}

/* ============================================
   ESTILOS DE CONTEÚDO (compatíveis com todos layouts)
   ============================================ */
.rss-item-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    line-height: 1.4;
}

.rss-external-blogs.rss-layout-grid .rss-item-title {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.3;
}

.rss-external-blogs.rss-layout-compact .rss-item-title {
    font-size: 15px;
    margin-bottom: 5px;
}

.rss-item-title a {
    color: #2271b1;
    text-decoration: none;
    transition: color 0.2s;
    display: block;
}

.rss-item-title a:hover {
    color: #135e96;
    text-decoration: underline;
}

.rss-item-meta {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.rss-item-date .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.rss-item-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 8px;
}

.rss-external-blogs.rss-layout-grid .rss-item-excerpt {
    font-size: 13px;
    line-height: 1.5;
    flex: 1;
    margin-bottom: 10px;
}

.rss-external-blogs.rss-layout-compact .rss-item-excerpt {
    font-size: 13px;
    line-height: 1.4;
}

.rss-item-source {
    font-size: 12px;
    color: #777;
    font-style: italic;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.rss-external-blogs.rss-layout-grid .rss-item-source {
    margin-top: 10px;
    padding-top: 10px;
}

.rss-source-label {
    font-weight: 600;
}

.rss-item-source a {
    color: #555;
    text-decoration: none;
}

.rss-item-source a:hover {
    text-decoration: underline;
}

.rss-no-items {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 4px;
    text-align: center;
    color: #6c757d;
    grid-column: 1 / -1;
}

/* ============================================
   ESTILOS PARA IMAGENS NO GRID
   ============================================ */
.rss-item-image {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.rss-image-link {
    display: block;
    overflow: hidden;
    border-radius: 4px;
    text-decoration: none;
}

.rss-image-link:hover .rss-item-image {
    transform: scale(1.05);
}

/* IMAGEM NO TOPO (para grid) */
.rss-external-blogs.rss-image-top .rss-item-image-top {
    margin-bottom: 15px;
}

.rss-external-blogs.rss-layout-grid.rss-image-top .rss-item-image-top {
    margin-bottom: 12px;
    flex-shrink: 0;
}

.rss-external-blogs.rss-image-top .rss-item-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Alturas específicas para imagens no grid */
.rss-external-blogs.rss-layout-grid.rss-image-top .rss-item-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.rss-external-blogs.rss-layout-grid.rss-image-top.rss-image-size-medium .rss-item-image {
    height: 150px;
}

.rss-external-blogs.rss-layout-grid.rss-image-top.rss-image-size-large .rss-item-image {
    height: 200px;
}

.rss-external-blogs.rss-layout-grid.rss-image-top.rss-image-size-full .rss-item-image {
    height: 250px;
}

.rss-external-blogs.rss-layout-grid.rss-image-top.rss-image-size-thumbnail .rss-item-image {
    height: 120px;
}

/* IMAGEM À ESQUERDA/DIREITA (mais para layout lista) */
.rss-external-blogs.rss-image-left .rss-item-content,
.rss-external-blogs.rss-image-right .rss-item-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.rss-external-blogs.rss-image-left .rss-item-image-side {
    flex: 0 0 150px;
}

.rss-external-blogs.rss-image-right .rss-item-content {
    flex-direction: row-reverse;
}

.rss-external-blogs.rss-image-right .rss-item-image-side {
    flex: 0 0 150px;
}

/* ============================================
   ROLAGEM INFINITA E BOTÃO "CARREGAR MAIS"
   ============================================ */

/* Container dos itens */
.rss-feed-items {
    width: 100%;
}

.rss-external-blogs.rss-layout-grid .rss-feed-items {
    display: contents;
}

/* Container do botão "Carregar mais" */
.rss-load-more-container {
    text-align: center;
    margin: 30px 0;
    padding-top: 20px;
    border-top: 1px solid #eee;
    grid-column: 1 / -1;
    width: 100%;
}

/* Botão "Carregar mais" */
.rss-load-more-btn {
    padding: 12px 30px;
    font-size: 16px;
    background: #2271b1;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.rss-load-more-btn:hover {
    background: #135e96;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.rss-load-more-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.rss-item-count {
    font-size: 14px;
    opacity: 0.8;
    margin-left: 8px;
}

/* Loading indicator */
.rss-loading-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #666;
    font-size: 14px;
    margin: 20px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
    grid-column: 1 / -1;
}

.rss-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #2271b1;
    border-radius: 50%;
    animation: rss-spin 1s linear infinite;
}

@keyframes rss-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Trigger para infinite scroll */
.rss-infinite-scroll-trigger {
    height: 1px;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    grid-column: 1 / -1;
}

/* Final do feed */
.rss-feed-end {
    text-align: center;
    padding: 20px;
    color: #666;
    font-style: italic;
    border-top: 1px solid #eee;
    margin-top: 20px;
    grid-column: 1 / -1;
}

/* Animação para novos itens */
.rss-item-new {
    animation: rss-fadeInUp 0.5s ease-out;
}

@keyframes rss-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVIDADE ESPECÍFICA PARA GRID
   ============================================ */
@media (max-width: 1024px) {
    .rss-external-blogs.rss-layout-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .rss-external-blogs.rss-layout-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .rss-external-blogs.rss-layout-grid .rss-item {
        min-height: 280px;
        padding: 12px;
    }
    
    .rss-external-blogs.rss-layout-grid.rss-image-top .rss-item-image {
        height: 150px;
    }
    
    /* Forçar layout vertical para imagens lado a lado em mobile */
    .rss-external-blogs.rss-image-left .rss-item-content,
    .rss-external-blogs.rss-image-right .rss-item-content {
        flex-direction: column;
    }
    
    .rss-external-blogs.rss-image-left .rss-item-image-side,
    .rss-external-blogs.rss-image-right .rss-item-image-side {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .rss-load-more-btn {
        padding: 10px 20px;
        font-size: 14px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .rss-external-blogs.rss-layout-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .rss-external-blogs.rss-layout-grid .rss-item {
        min-height: auto;
        padding: 15px;
    }
    
    .rss-external-blogs.rss-layout-grid.rss-image-top .rss-item-image {
        height: 160px;
    }
}

/* ============================================
   WIDGET STYLES
   ============================================ */
.widget_rss_external_blogs_widget .rss-external-blogs.rss-layout-grid {
    grid-template-columns: 1fr;
    gap: 10px;
}

.widget_rss_external_blogs_widget .rss-item {
    padding: 10px 0;
}

.widget_rss_external_blogs_widget .rss-item-title {
    font-size: 16px;
}

/* ============================================
   ESTILOS PARA PÁGINA DE CONFIGURAÇÕES ADMIN
   (mantenha como estava)
   ============================================ */

.rss-settings-wrap {
    max-width: 1200px;
}

.rss-settings-section {
    background: white;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

/* ... resto dos estilos admin (mantenha como estava) ... */

/* ============================================
   DEBUG E ERROS
   ============================================ */
.rss-error {
    padding: 15px;
    background: #ffe6e6;
    border-left: 4px solid #ff0000;
    color: #cc0000;
    border-radius: 4px;
    margin: 10px 0;
    grid-column: 1 / -1;
}

.rss-debug {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 4px;
    border: 1px solid #ddd;
    margin: 20px 0;
}

.rss-debug h3 {
    margin-top: 0;
    color: #333;
}

/* Clearfix para garantir que nada quebre o grid */
.rss-external-blogs.rss-layout-grid::after {
    content: '';
    display: table;
    clear: both;
}
/* ============================================
   ESTILOS PARA LEITURA INTERNA DE ARTIGOS RSS
   ============================================ */

/* Container do artigo completo */
.rss-article-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

@media (max-width: 992px) {
    .rss-article-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Cabeçalho do artigo */
.rss-article-header {
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.rss-breadcrumb {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.rss-breadcrumb a {
    color: #2271b1;
    text-decoration: none;
}

.rss-breadcrumb a:hover {
    text-decoration: underline;
}

.rss-article-title {
    font-size: 36px;
    line-height: 1.3;
    margin: 0 0 20px 0;
    color: #333;
}

.rss-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.rss-article-date,
.rss-article-source {
    display: flex;
    align-items: center;
    gap: 5px;
}

.rss-article-date .dashicons,
.rss-article-source .dashicons {
    font-size: 16px;
}

.rss-article-featured-image {
    margin: 20px 0;
}

.rss-article-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
}

/* Conteúdo do artigo */
.rss-article-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.rss-article-paragraph {
    margin-bottom: 1.5em;
}

.rss-article-list {
    margin-left: 20px;
    margin-bottom: 1.5em;
}

.rss-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 20px 0;
}

.rss-article-content h2,
.rss-article-content h3,
.rss-article-content h4 {
    margin-top: 2em;
    margin-bottom: 1em;
    color: #222;
}

.rss-article-content blockquote {
    border-left: 4px solid #2271b1;
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #555;
}

.rss-article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.rss-article-content table th,
.rss-article-content table td {
    border: 1px solid #ddd;
    padding: 10px;
}

/* Rodapé do artigo */
.rss-article-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.rss-article-tags {
    margin-bottom: 20px;
}

.rss-tag {
    display: inline-block;
    background: #f0f0f0;
    padding: 5px 10px;
    border-radius: 3px;
    margin-right: 5px;
    font-size: 14px;
    color: #666;
}

.rss-article-navigation {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Sidebar */
.rss-article-sidebar {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.rss-related-articles h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
}

.rss-related-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rss-related-list li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
}

.rss-related-list li:last-child {
    border-bottom: none;
}

.rss-related-list a {
    color: #2271b1;
    text-decoration: none;
    display: block;
    font-size: 14px;
    line-height: 1.4;
}

.rss-related-list a:hover {
    text-decoration: underline;
}

/* Botão "Leia mais" nos itens da lista */
.rss-read-more {
    margin-top: 15px;
}

.rss-read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #2271b1;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 15px;
    border: 2px solid #2271b1;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.rss-read-more-link:hover {
    background: #2271b1;
    color: white;
    text-decoration: none;
}

.rss-read-more-link .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Artigo não encontrado */
.rss-article-not-found {
    max-width: 600px;
    margin: 50px auto;
    text-align: center;
    padding: 40px;
    background: #f9f9f9;
    border-radius: 8px;
}

.rss-article-not-found h1 {
    color: #333;
    margin-bottom: 20px;
}

.rss-article-not-found .button {
    margin-top: 20px;
}

/* Classes para links externos vs internos */
.rss-external-blogs a.external {
    color: #2271b1;
}

.rss-external-blogs a:not(.external) {
    color: #333;
    text-decoration: none;
}

.rss-external-blogs a:not(.external):hover {
    color: #2271b1;
    text-decoration: underline;
}
/* Estilos para links internos vs externos */
.rss-internal-link {
    color: #333;
    text-decoration: none;
}

.rss-internal-link:hover {
    color: #2271b1;
    text-decoration: underline;
}

.rss-external-link {
    color: #2271b1;
    text-decoration: none;
}

.rss-external-link:hover {
    color: #135e96;
    text-decoration: underline;
}

.rss-source-link {
    color: #666;
    font-style: italic;
    text-decoration: none;
}

.rss-source-link:hover {
    color: #2271b1;
    text-decoration: underline;
}
/* Estilos para debug de imagens */
.rss-debug-images {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 5px;
    margin: 20px 0;
    border-left: 4px solid #2271b1;
}

.rss-debug-images h3 {
    margin-top: 0;
    color: #333;
}

.rss-debug-item {
    border: 1px solid #ddd;
    padding: 15px;
    margin: 10px 0;
    background: white;
    border-radius: 3px;
}

.rss-debug-item h4 {
    margin-top: 0;
    color: #2271b1;
}

.rss-debug-item details {
    margin-top: 10px;
}

.rss-debug-item summary {
    cursor: pointer;
    font-weight: bold;
    color: #666;
    padding: 5px;
    background: #f9f9f9;
    border-radius: 3px;
}

.rss-debug-item pre {
    background: #f8f8f8;
    padding: 10px;
    font-size: 12px;
    overflow: auto;
    border-radius: 3px;
    border: 1px solid #eee;
}
/* ============================================
   ESTILOS PARA ARTIGOS RELACIONADOS EM CARTAO
   (IMAGEM ACIMA DO TÍTULO)
   ============================================ */

.rss-related-articles {
    margin-bottom: 40px;
}

.rss-related-articles h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #333;
    font-size: 22px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2271b1;
}

.rss-related-articles h3 .dashicons {
    color: #2271b1;
    font-size: 24px;
}

.rss-related-count {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
    border-left: 3px solid #2271b1;
}

/* Grid de cartões */
.rss-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.rss-related-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.rss-related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
    border-color: #2271b1;
}

/* Imagem do cartão (AGORA ACIMA DO TÍTULO) */
.rss-related-card-image {
    position: relative;
    overflow: hidden;
    height: 180px;
}

.rss-related-card-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.rss-related-image-link:hover .rss-related-card-thumbnail {
    transform: scale(1.05);
}

.rss-related-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(34, 113, 177, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rss-related-card-image:hover .rss-related-image-overlay {
    opacity: 1;
}

.rss-read-more-mini {
    color: white;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Conteúdo do cartão (abaixo da imagem) */
.rss-related-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.rss-related-card-title {
    margin: 0 0 12px 0;
    font-size: 18px;
    line-height: 1.4;
    color: #333;
}

.rss-related-card-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.rss-related-card-title a:hover {
    color: #2271b1;
    text-decoration: none;
}

/* Meta informações */
.rss-related-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.rss-related-card-date,
.rss-related-card-source {
    display: flex;
    align-items: center;
    gap: 5px;
}

.rss-related-card-date .dashicons,
.rss-related-card-source .dashicons {
    font-size: 14px;
    color: #888;
}

/* Excerpt */
.rss-related-card-excerpt {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    margin-bottom: 15px;
    flex: 1;
}

/* Rodapé do cartão */
.rss-related-card-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.rss-related-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2271b1;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 15px;
    background: #f8f9fa;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.rss-related-card-link:hover {
    background: #2271b1;
    color: white;
    text-decoration: none;
}

.rss-related-card-link .dashicons {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.rss-related-card-link:hover .dashicons {
    transform: translateX(3px);
}

/* Estado quando não há artigos relacionados */
.rss-no-related {
    text-align: center;
    padding: 40px 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 2px dashed #ddd;
}

.rss-no-related-icon {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 20px;
}

.rss-no-related p {
    margin-bottom: 20px;
    color: #666;
    font-size: 16px;
}

.rss-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    font-size: 16px;
    background: #2271b1;
    color: white;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.rss-view-all-btn:hover {
    background: #135e96;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.rss-view-all-btn .dashicons {
    font-size: 18px;
}

/* Tags na sidebar - atualizado */
.rss-article-tags-sidebar {
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    border-left: 4px solid #2271b1;
}

.rss-article-tags-sidebar h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    font-size: 18px;
}

.rss-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rss-tag-cloud {
    display: inline-block;
    padding: 8px 16px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.rss-tag-cloud:hover {
    background: #2271b1;
    color: white;
    border-color: #2271b1;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(34, 113, 177, 0.2);
}

/* Estatísticas - atualizado */
.rss-article-stats {
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    border-left: 4px solid #28a745;
}

.rss-article-stats h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    font-size: 18px;
}

.rss-stats-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rss-stats-list li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rss-stats-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.rss-stats-list li strong {
    color: #333;
    font-weight: 600;
}

.rss-stats-list li:not(:last-child) strong::after {
    content: ":";
}

/* Responsividade */
@media (max-width: 1200px) {
    .rss-related-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 992px) {
    .rss-article-container {
        grid-template-columns: 1fr;
    }
    
    .rss-related-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .rss-article-sidebar {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .rss-related-grid {
        grid-template-columns: 1fr;
    }
    
    .rss-related-card-image {
        height: 200px;
    }
    
    .rss-tags-cloud {
        justify-content: center;
    }
    
    .rss-stats-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .rss-related-card-content {
        padding: 15px;
    }
    
    .rss-related-card-title {
        font-size: 16px;
    }
    
    .rss-related-card-meta {
        flex-direction: column;
        gap: 8px;
    }
}