/* ===== RecifeRock: correções independentes de tema ===== */

/* Imagens de notícia em largura total (faixas 2005) */
.entry-content img[src*="/img/noticias/"] {
    width: 100%;
    height: auto;
}

/* Tabelas legadas do Dreamweaver expandem quando têm imagens de notícia */
.entry-content table:has(img[src*="/img/noticias/"]) {
    width: 100% !important;
    max-width: 100%;
}
.entry-content table:has(img[src*="/img/noticias/"]) td {
    text-align: center;
    vertical-align: middle;
    padding: 4px !important;
}

/* Card de post legado (tabela com fundo claro): texto escuro p/ contraste */
.entry-content table[bgcolor] {
    color: #111;
}
.entry-content table[bgcolor] b,
.entry-content table[bgcolor] strong,
.entry-content table[bgcolor] font {
    color: #111;
}
.entry-content table[bgcolor] a {
    color: #1a5dab;
}

/* Destaque do link de galeria: contorno laranja */
.entry-content a[href*="/fotos/"] {
    display: inline-block;
    border: 3px solid #FF8C00;
    padding: 4px;
    background: rgba(255, 140, 0, 0.12);
    text-decoration: none;
}
.entry-content a[href*="/fotos/"]:hover {
    background: rgba(255, 140, 0, 0.25);
    border-color: #ffa733;
}

/* CTA "Clique na foto abaixo..." */
.rr-cta-galeria {
    display: inline-block;
    border: 2px dashed #FF8C00;
    padding: 6px 12px;
    margin: 4px 0;
    color: #FF8C00 !important;
    background: rgba(255, 140, 0, 0.08);
    font-weight: bold;
    border-radius: 6px;
}

/* Placeholder de vídeo morto / serviço descontinuado */
.rr-video-morto {
    border: 1px solid #444;
    background: #111;
    border-radius: 8px;
    padding: 24px 16px;
    margin: 12px 0;
    text-align: center;
    color: #aaa;
}
.rr-video-morto .rr-vm-icone {
    font-size: 36px;
    margin-bottom: 8px;
}
.rr-video-morto .rr-vm-titulo {
    font-size: 16px;
    font-weight: bold;
    color: #FF8C00;
    margin-bottom: 4px;
}
.rr-video-morto .rr-vm-texto {
    font-size: 13px;
}

/* Esconde trackbacks/pingbacks das páginas */
#trackbacks-list {
    display: none;
}

/* YouTube/Vimeo iframes responsivos */
.entry-content iframe[src*="youtube"], .entry-content iframe[src*="vimeo"] {
    max-width: 100%;
    height: auto;
    aspect-ratio: 16/9;
}
