/* ==========================================================
   Minaçu Agora — tema visual (camada por cima do Varient)
   Remover a linha deste arquivo em partials/_header.php
   volta o visual original.
   ========================================================== */
:root {
    --brand: #a30d0d;
    --brand-dark: #7d0606;
    --brand-soft: #fdecec;
    --ink: #16181d;
    --muted: #6b7280;
    --line: #e7e8ec;
    --page: #f3f4f6;
    --card: #ffffff;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 4px 14px rgba(16, 24, 40, .06);
    --shadow-hover: 0 6px 24px rgba(16, 24, 40, .12);
}

/* ---------- base ---------- */
html, body { overflow-x: hidden; }
body { background: var(--page); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { transition: color .15s ease; }
a:hover, a:focus, a:active { color: var(--brand); }
img { max-width: 100%; }
#sidebar img, .widget img, .bn-lg-sidebar img, .bn-content img, .ad-container img { max-width: 100% !important; height: auto; }

/* ---------- barra do topo ---------- */
.top-bar { background: var(--brand-dark) !important; border: 0; }
.top-bar a, .top-bar li, .top-bar span { color: rgba(255, 255, 255, .9) !important; }
.top-bar a:hover { color: #fff !important; }

/* ---------- cabeçalho / menu ---------- */
.header, .logo-banner { background: #fff; }
.nav-top { background: #fff; }
.navbar-default.main-menu {
    background: #fff;
    border: 0;
    border-top: 1px solid var(--line);
    box-shadow: 0 6px 18px rgba(16, 24, 40, .06);
}
.navbar-default .navbar-nav > li > a {
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--ink) !important;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > .active > a { color: var(--brand) !important; background: transparent !important; }
.navbar-default .navbar-nav > .active > a::after,
.navbar-default .navbar-nav > li > a:hover:after { background-color: var(--brand) !important; height: 3px; border-radius: 3px 3px 0 0; }
.megamenu .dropdown-menu, .navbar .dropdown-menu {
    border: 1px solid var(--line);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-hover);
}
.navbar-toggle { background-color: var(--brand) !important; border-color: var(--brand) !important; border-radius: 10px; }

/* ---------- conteúdo em "cartões" ---------- */
#wrapper { padding-top: 24px; }
#content .section,
.section-category, .section-block-1, .section-block-2, .section-block-3, .section-block-4, .section-block-5,
.section-latest-posts {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px 18px 6px;
    margin-bottom: 24px;
}

/* títulos de seção: um estilo só, com a cor da marca */
.section-head {
    border-bottom: 1px solid var(--line) !important;
    margin-bottom: 18px;
    position: relative;
}
.section-head .title {
    background: transparent !important;
    padding: 0 0 10px 14px !important;
    position: relative;
    font-size: 17px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.section-head .title::before {
    content: "";
    position: absolute;
    left: 0; top: 2px; bottom: 12px;
    width: 4px;
    border-radius: 4px;
    background: var(--brand);
}
#wrapper .section-head .title,
#wrapper .section-head .title a,
#wrapper .section-head .title span { color: var(--ink) !important; }
#wrapper .section-head .title a:hover { color: var(--brand) !important; }
#wrapper .section-head .title a, .widget-head .title { font-weight: 800 !important; }
.section-head .title::after { display: none !important; }
.section-head .link-view-all, .section-head .view-all { color: var(--muted); font-weight: 600; }
.section-head .link-view-all:hover { color: var(--brand); }

/* ---------- imagens arredondadas e com zoom suave ---------- */
.post-item-image, .post-item-mid .post-item-image, .post-item-small .left, .img-container,
.featured-slider-item, .featured-item, .first-tmp-slider .owl-item, .post-item-horizontal .item-image {
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.post-item-image img, .post-item-small .left img, .item-image img, .featured-slider-item img {
    transition: transform .4s ease;
}
.post-item-mid:hover .post-item-image img,
.post-item-small:hover .left img,
.post-item-horizontal:hover .item-image img,
.featured-slider-item:hover img { transform: scale(1.04); }

/* destaque do topo */
.slider-container, .featured-slider-container, #featured { border-radius: var(--radius); overflow: hidden; }
.featured-slider-item .caption, .featured-item .caption {
    background: linear-gradient(to top, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .35) 60%, rgba(0, 0, 0, 0) 100%);
}

/* legibilidade do texto sobre as fotos do destaque */
#featured .overlay, .featured-box .overlay, .featured-slider-item .overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .55) 45%, rgba(0, 0, 0, .9) 100%) !important;
    opacity: 1 !important;
}
#featured .caption .title, #featured .caption .title a { text-shadow: 0 1px 3px rgba(0, 0, 0, .55); }
#featured .caption .post-meta, #featured .caption .post-meta a, #featured .caption .post-meta span { color: rgba(255, 255, 255, .85) !important; }

/* títulos dos posts */
.post-item-mid .title, .post-item-small .title, .post-item-horizontal .title, .caption .title {
    font-weight: 700;
    line-height: 1.35;
}
.post-item-mid .title a, .post-item-small .title a, .post-item-horizontal .title a { color: var(--ink); }
.post-item-mid .title a:hover, .post-item-small .title a:hover, .post-item-horizontal .title a:hover { color: var(--brand); }
.post-meta, .post-meta span, .post-meta a { color: var(--muted) !important; }

/* etiquetas de categoria: mantêm a cor da categoria, só ficam mais "pílula" */
.category-label {
    border-radius: 999px !important;
    padding: 3px 10px !important;
    font-weight: 700;
    letter-spacing: .02em;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
}

/* ---------- barra lateral ---------- */
#sidebar .widget {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 16px;
    margin-bottom: 24px;
    overflow: hidden;
}
.widget-head {
    background: transparent !important;
    border-bottom: 1px solid var(--line) !important;
    margin-bottom: 14px;
    padding: 0 0 10px !important;
}
.widget-head .title {
    background: transparent !important;
    color: var(--ink) !important;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .03em;
    padding: 0 0 0 12px !important;
    position: relative;
}
.widget-head .title::before {
    content: "";
    position: absolute;
    left: 0; top: 1px; bottom: 1px;
    width: 4px;
    border-radius: 4px;
    background: var(--brand);
}
.bn-lg-sidebar, .bn-content { border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; }

/* ---------- botões ---------- */
.btn-custom, .btn-load-more:hover, .newsletter-button, .btn-subscribe {
    background-color: var(--brand) !important;
    border-color: var(--brand) !important;
    color: #fff !important;
}
.btn-custom:hover { background-color: var(--brand-dark) !important; border-color: var(--brand-dark) !important; }
.btn-load-more {
    border-radius: 999px !important;
    border: 2px solid var(--brand) !important;
    color: var(--brand);
    font-weight: 700;
    transition: all .15s ease;
}
.btn-load-more:hover { color: #fff !important; }
.pagination > .active > a, .pagination > .active > span { background-color: var(--brand) !important; border-color: var(--brand) !important; }

/* ---------- página do post ---------- */
.post-content {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    margin-bottom: 24px;
}
.post-content .title { font-weight: 800; line-height: 1.25; }
.post-text { font-size: 17px; line-height: 1.75; }
.post-image, .post-image img, .post-text img { border-radius: var(--radius-sm); }
.post-tags .tag-list li a { border-radius: 999px; }
.post-tags .tag-list li a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- rodapé ---------- */
#footer { background: #121317; }
#footer .footer-widget .title { color: #fff; font-weight: 800; letter-spacing: .03em; }
#footer .newsletter-button, #footer .btn-custom { border-radius: 0 10px 10px 0; }
#footer .newsletter-input { border-radius: 10px 0 0 10px; }
.footer-copyright { background: #0b0c0f; border-top: 1px solid rgba(255, 255, 255, .06); }

/* ---------- celular ---------- */
@media (max-width: 767px) {
    #wrapper { padding-top: 14px; }
    #content .section,
    .section-category, .section-block-1, .section-block-2, .section-block-3, .section-block-4, .section-block-5,
    .section-latest-posts, #sidebar .widget, .post-content {
        border-radius: 12px;
        padding: 14px 14px 4px;
        margin-bottom: 16px;
    }
    .section-head .title { font-size: 15px; }
    .post-text { font-size: 16px; }
}
