/**
 * Nerd Legacy — Refinamento editorial: sem uppercase, tipografia leve, botões e categorias
 * Carregado após nerdlegacy-refine.css
 */

/* ==========================================================================
   1 — REMOVER UPPERCASE EM TÍTULOS, HERO, EXCERPTS, METADADOS
   ========================================================================== */

.section-title .subtitle,
.section-title h6,
.section-title-area .subtitle,
h6.subtitle,
.nl-hero-5 .hero-content span,
.nl-hero-5 .hero-content h1,
.nl-hero-5 .hero-content h1 a,
.nl-hero-5 .hero-content p,
.nl-hero-5 .hero-content .social,
.news-card-items-3 .content h6,
.news-card-items-3 .content h6 a,
.news-card-items-3 .content.style-2 h4,
.news-card-items-3 .content.style-2 h4 a,
.news-box-items-5 .news-content h3,
.news-box-items-5 .news-content h3 a,
.news-left-items-5 .news-content h3,
.news-left-items-5 .news-content h3 a,
.nl-news-strip-title,
.nl-news-strip-meta,
.date-list,
.gt-date,
.nl-main-news-grid .section-title .subtitle,
.nl-archive-carousel-section .section-title .subtitle,
.nl-cat-card,
.nl-category-cards .nl-cat-card span {
    text-transform: none !important;
}

/* Bootstrap utility override only for content areas (not admin) */
.news-section-3 .text-uppercase,
.news-section-5 .text-uppercase,
.section-title-area .text-uppercase,
.nl-archive-carousel-section .text-uppercase {
    text-transform: none !important;
}

/* ==========================================================================
   2 — HIERARQUIA DE PESO (tipografia mais leve)
   ========================================================================== */

/* Hero título */
.nl-hero-5 .hero-content h1,
.nl-hero-5.nl-hero-clean .hero-content h1 {
    font-weight: 600 !important;
}

/* Títulos de posts/cards */
.news-card-items-3 .content h6,
.news-card-items-3 .content h6 a,
.news-box-items-5 .news-content h3,
.news-box-items-5 .news-content h3 a,
.news-left-items-5 .news-content h3 a,
.nl-main-news-grid .news-card-items-3 .content.style-2 h4 {
    font-weight: 500 !important;
}

/* Excerpt e corpo */
.nl-hero-5 .hero-content p,
.news-card-items-3 .content.style-2 p,
.news-box-items-5 .news-content p,
.nl-news-strip-title {
    font-weight: 400 !important;
}

/* Metadados */
.nl-hero-5 .hero-content .social,
.date-list,
.gt-date,
.nl-news-strip-meta,
.news-card-items-3 .content .gt-date {
    font-weight: 400 !important;
}

/* ==========================================================================
   4 — BOTÃO "VER TODAS": HOVER SEM FUNDO BRANCO
   ========================================================================== */

.section-title-area a.theme-btn.style-border,
.section-title-area a.gt-theme-btn.style-border,
.section-title-area a.theme-btn.style-border:hover,
.section-title-area a.gt-theme-btn.style-border:hover {
    background-color: transparent !important;
    border-color: var(--theme) !important;
    color: var(--theme) !important;
}
.section-title-area a.theme-btn.style-border:hover,
.section-title-area a.gt-theme-btn.style-border:hover {
    color: var(--theme) !important;
    background-color: transparent !important;
}

/* ==========================================================================
   5 — CATEGORIAS: EVITAR DUPLICIDADE / OVERLAP
   ========================================================================== */

section.news-section-5 .nl-category-cards,
.nl-categories-section .nl-category-cards {
    position: relative;
    z-index: 1;
}
.nl-category-cards .row {
    position: relative;
    z-index: 1;
}
.nl-category-cards .nl-cat-card {
    position: relative;
    z-index: 1;
}
