/*
Theme Name: MH Magazine lite Child (TDI Brasil)
Theme URI: https://tdibrasil.org
Description: Child theme do MH Magazine lite para o Portal TDI Brasil. Mantém as customizações (Mfwks): Google Analytics/Adsense, SDK e botão "curtir" do Facebook, e os estilos .tg/.cor usados no conteúdo — tudo via hooks/functions, sem sobrescrever templates, para permitir atualizar o tema-pai com segurança.
Template: mh-magazine-lite
Author: TDI Brasil
Version: 1.0.0
*/

/* ===== Mfwks added — estilos usados DENTRO do conteúdo dos posts (tabelas e cores) ===== */

.tg  {border-collapse:collapse;border-spacing:0;border-color:#ccc;}
.tg td{font-family:Arial, sans-serif;font-size:14px;padding:5px 20px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;border-color:#ccc;color:#333;background-color:#fff;}
.tg th{font-family:Arial, sans-serif;font-size:14px;font-weight:normal;padding:5px 20px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;border-color:#ccc;color:#333;background-color:#f0f0f0;}
.tg .tg-yw4l{vertical-align:top}
.tg .tg-b7b8{background-color:#f9f9f9;vertical-align:top}
@media screen and (max-width: 767px) {.tg {width: auto !important;}.tg col {width: auto !important;}.tg-wrap {overflow-x: auto;-webkit-overflow-scrolling: touch;}}

.cor1{color:#d9111b}
.cor2{color:#e76b18}
.cor3{color:#dda05e}
.cor4{color:#53b939}
.cor5{color:#433aed}

/* Centraliza a legenda da imagem DESTACADA (como era com o <center> original).
   Escopado só ao figure da destacada — não afeta legendas dentro do corpo do post. */
.entry-thumbnail .wp-caption-text { text-align: center; }

/* =================================================================
   Customizações do tema antigo portadas para o child (2026-06-14)
   ================================================================= */

/* (A) Cor de destaque própria: a 2.10.0 passou a usar #e64946 (vermelho);
   restaura o laranja #f8880c usado na produção. */
blockquote { border-left: 5px solid #f8880c; }
a:hover { color: #f8880c; }
.mh-header-tagline { color: #f8880c; }
.mh-main-nav { border-bottom: 5px solid #f8880c; }
.mh-main-nav li:hover { background: #f8880c; }
.mh-main-nav .menu > .current-menu-item { background: #f8880c; }
.slicknav_btn { background: #f8880c; }
.slicknav_menu { background: #f8880c; }
.slicknav_nav .slicknav_item:hover, .slicknav_nav a:hover { background: #f8880c; }
.mh-main-nav-wrap .slicknav_nav ul { border-top: 1px solid #f8880c; }
.mh-subheading { background: #f8880c; }
.mh-meta a:hover { color: #f8880c; }
.entry-content a { color: #f8880c; }
.entry-content a:hover { color: #f8880c; }
.entry-tags li:hover { background: #f8880c; }
.entry-tags .fa, .entry-tags .far, .entry-tags .fab { background: #f8880c; }
.page-numbers:hover, .mh-loop-pagination .current, .mh-comments-pagination .current, a:hover .pagelink { background: #f8880c; }
.pagelink { background: #f8880c; }
.bypostauthor .mh-comment-meta-author:after { color: #f8880c; }
.mh-comment-meta-links .comment-reply-link:before { color: #f8880c; }
.mh-comment-info { color: #f8880c; }
#respond #cancel-comment-reply-link:before { color: #f8880c; }
.required { color: #f8880c; }
input[type=text]:hover, input[type=email]:hover, input[type=tel]:hover, input[type=url]:hover, textarea:hover { border: 1px solid #f8880c; }
input[type=submit] { background: #f8880c; }
.mh-widget-title { border-bottom: 3px solid #f8880c; }
.mh-slider-widget .flex-control-paging li a.flex-active { background: #f8880c; }
.mh-slider-caption { border-bottom: 3px solid #f8880c; }
.mh-posts-large-caption { background: #f8880c; }
.mh-posts-stacked-meta { background: #f8880c; }
.mh-tabbed-widget a:hover { color: #f8880c; }
.mh-tab-buttons { border-bottom: 3px solid #f8880c; }
.mh-tab-button.active, .mh-tab-button.active:hover { background: #f8880c; }
.mh-footer-widget .mh-tab-button.active { background: #f8880c; }
.tagcloud a:hover, .mh-widget .tagcloud a:hover, .mh-footer-widget .tagcloud a:hover { background: #f8880c; }

/* (B) Títulos sem capitalização (remove o text-transform: uppercase nesses seletores). */
.mh-header-text { text-transform: none; }
.mh-main-nav { text-transform: none; }
.entry-tags li { text-transform: none; }
.mh-post-nav span { text-transform: none; }
.mh-comment-meta-date { text-transform: none; }
.mh-comment-meta-links { text-transform: none; }
input[type=submit] { text-transform: none; }
.search-form input { text-transform: none; }
.mh-widget-title { text-transform: none; }
.mh-posts-large-caption { text-transform: none; }
.mh-posts-stacked-meta { text-transform: none; }
.mh-tab-comment-author { text-transform: none; }
.tagcloud a { text-transform: none; }

/* (C) Helpers que estavam no CSS Adicional do Customizer (post 5601). */
.tab { overflow-x: auto; }
.tab table, .tab td, .tab th { vertical-align: middle; }
.tac { text-align: center; }
