/* ============================================
   FORÇAR CORES E PERMITIR TÍTULOS COMPLETOS
   ============================================ */
.n10-portal-2026 {
  max-width: 1240px;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-sm);
  background-color: var(--portal-bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.n10-portal-2026 .n10-title-light a,
.n10-portal-2026 .n10-title-dark a,
.n10-portal-2026 .n10-title-dark-small a,
.n10-portal-2026 .n10-title-dark-feed a {
  text-decoration: none !important; display: block; word-wrap: break-word;
}
.n10-portal-2026 .n10-title-light a { color: var(--portal-text-light) !important; transition: opacity 0.2s ease; }
.n10-portal-2026 .n10-title-light a:hover { opacity: 0.85; }
.n10-portal-2026 .n10-title-dark a,
.n10-portal-2026 .n10-title-dark-small a,
.n10-portal-2026 .n10-title-dark-feed a { color: var(--portal-text-dark) !important; transition: color 0.2s ease; }
.n10-portal-2026 .n10-title-dark a:hover,
.n10-portal-2026 .n10-title-dark-small a:hover,
.n10-portal-2026 .n10-title-dark-feed a:hover { color: var(--portal-brand) !important; }

.card-badge-wrap { margin-bottom: 8px; }
.n10-badge { display: inline-block; background-color: var(--portal-brand); color: #fff !important; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; padding: 4px 8px; border-radius: 2px; }
.n10-badge-text { display: inline-block; color: var(--portal-brand); font-size: 0.75rem; font-weight: 800; text-transform: uppercase; margin-bottom: 6px; }

/* ============================================
   HERO SECTION (Mantido)
   ============================================ */
.portal-hero-section { margin-bottom: var(--space-xl); }
.portal-hero-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
.hero-card-main, .hero-card-sub { position: relative; background-size: cover; background-position: center; border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 250px; }
.hero-card-main { min-height: 400px; }
.hero-card-sub.is-text-only { min-height: auto; border-radius: 0; border-bottom: 1px solid var(--portal-border); background-color: transparent; justify-content: center; }
.hero-card-sub.is-text-only:last-child { border-bottom: none; }
.hero-card-sub.is-text-only .card-overlay-content { padding: var(--space-sm) 0; }
.hero-card-main:not(.is-text-only)::after, .hero-card-sub:not(.is-text-only)::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0) 100%); z-index: 1; transition: opacity 0.3s ease; }
.hero-card-main:hover::after, .hero-card-sub:hover::after { opacity: 0.85; }
.card-link-layer { position: absolute; inset: 0; z-index: 3; }
.card-overlay-content { position: relative; z-index: 2; padding: var(--space-md); width: 100%; box-sizing: border-box; }
.hero-card-main .n10-title-light, .hero-card-main .n10-title-dark { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; line-height: 1.1; margin: 0 0 10px; letter-spacing: -0.02em; }
.hero-card-sub .n10-title-light, .hero-card-sub .n10-title-dark { font-size: 1.15rem; font-weight: 700; line-height: 1.25; margin: 0 0 8px; }
.card-meta time { color: rgba(255,255,255,0.7); font-size: 0.8rem; }
.is-text-only .card-meta time { color: var(--portal-text-muted); }

/* ============================================
   11 BLOCOS EDITORIAIS 2026
   ============================================ */
.portal-categories-wrapper { display: flex; flex-direction: column; gap: var(--space-xl); margin-bottom: var(--space-xl); }
.portal-category-module { display: block; border-radius: var(--radius-md); }
.module-header { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 2px solid var(--portal-text-dark); padding-bottom: 8px; margin-bottom: var(--space-lg); }
.module-title { font-size: 1.5rem; font-weight: 800; margin: 0; text-transform: uppercase; letter-spacing: -0.02em; }
.module-title a { color: var(--portal-text-dark) !important; text-decoration: none; }
.module-view-all { font-size: 0.85rem; font-weight: 600; color: var(--portal-text-muted) !important; text-decoration: none; }

/* GLOBALS PARA OS BLOCOS */
.lead-thumb { display: block; border-radius: var(--radius-sm); overflow: hidden; margin-bottom: var(--space-sm); background: #eee; }
.lead-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.module-lead-post:hover .lead-thumb img { transform: scale(1.02); }
.module-lead-post .n10-title-dark { font-size: 1.75rem; font-weight: 800; line-height: 1.2; margin: 0 0 10px; letter-spacing: -0.02em; }
.lead-excerpt { color: var(--portal-text-muted); font-size: 1.05rem; line-height: 1.5; margin: 0 0 12px; }

/* 1. LAYOUT PADRÃO */
.module-layout-standard { display: grid; grid-template-columns: 1fr; gap: var(--space-lg); }
.module-layout-standard .lead-thumb { aspect-ratio: 16/9; }
.module-side-posts { display: flex; flex-direction: column; }
.module-list-item { display: flex; gap: var(--space-sm); padding: 16px 0; border-bottom: 1px solid var(--portal-border); }
.module-list-item:first-child { padding-top: 0; }
.module-list-item:last-child { border-bottom: none; padding-bottom: 0; }
.list-content { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.module-list-item .n10-title-dark-small { font-size: 1.1rem; font-weight: 700; line-height: 1.3; margin: 0 0 6px; }
.list-thumb { width: 110px; height: 80px; flex-shrink: 0; border-radius: var(--radius-sm); overflow: hidden; }
.list-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* 2. LAYOUT GRID */
.module-layout-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-md); }
.grid-card .grid-thumb { display: block; border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 12px; aspect-ratio: 16/9; }
.grid-card .grid-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.grid-card:hover .grid-thumb img { transform: scale(1.04); }
.grid-card .n10-title-dark-small, .grid-card .n10-title-light { font-size: 1.1rem; line-height: 1.3; margin: 0; }

/* 3. LAYOUT LISTA TEXTUAL */
.module-layout-text-list { display: flex; flex-direction: column; }
.text-list-item { display: flex; gap: 24px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--portal-border); }
.text-list-item:first-child { padding-top: 0; }
.text-list-item:last-child { border-bottom: none; }
.post-time-accent { font-size: 0.9rem; font-weight: 700; color: var(--portal-brand); min-width: 60px; flex-shrink: 0; text-transform: uppercase; }
.text-list-item .n10-title-dark { font-size: 1.3rem; font-weight: 700; margin: 0; }

/* 4. LAYOUT JORNAL CLÁSSICO */
.module-layout-classic-news { display: grid; grid-template-columns: 1fr; gap: var(--space-lg); }
.module-layout-classic-news .lead-thumb { aspect-ratio: 4/3; }
.classic-text-wrap { display: flex; flex-direction: column; }
.classic-text-item { padding: 20px 0; border-top: 1px solid var(--portal-border); display: flex; flex-direction: column; justify-content: center; }
.classic-text-item:first-child { padding-top: 0; border-top: none; }
.classic-text-item .n10-title-dark-small { font-size: 1.25rem; font-weight: 800; line-height: 1.3; margin: 0; }

/* 5. DESTAQUE TOPO */
.module-layout-top-lead { display: flex; flex-direction: column; gap: var(--space-lg); }
.module-layout-top-lead .lead-thumb { aspect-ratio: 21/9; }
.top-lead-subgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-md); }

/* 6. COMPACTA */
.module-layout-compact-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-md); }
.compact-card { display: flex; gap: var(--space-sm); align-items: center; background: var(--portal-bg-alt); padding: 12px; border-radius: var(--radius-sm); border: 1px solid var(--portal-border); }
.compact-thumb { width: 80px; height: 80px; flex-shrink: 0; border-radius: 4px; overflow: hidden; }
.compact-thumb img { width: 100%; height: 100%; object-fit: cover; }
.compact-card .n10-title-dark-small { font-size: 1rem; line-height: 1.3; margin: 0; }

/* 7. OVERLAY GRID (NOVO) */
.module-layout-overlay-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-md); }
.overlay-card { position: relative; background-size: cover; background-position: center; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 3/4; display: flex; flex-direction: column; justify-content: flex-end; }
.overlay-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent 60%); z-index: 1; transition: opacity 0.3s; }
.overlay-card:hover::after { opacity: 0.8; }
.overlay-card .card-overlay-content { position: relative; z-index: 2; padding: var(--space-md); }
.overlay-card .n10-title-light { font-size: 1.15rem; font-weight: 800; line-height: 1.25; margin: 0; }

/* 8. SEÇÃO ESCURA (NOVO) */
.portal-category-module.is-dark { background-color: #111; padding: var(--space-lg); }
.portal-category-module.is-dark .module-header { border-bottom-color: #333; }
.portal-category-module.is-dark .module-title a { color: #fff !important; }
.portal-category-module.is-dark .module-view-all { color: #888 !important; }

/* 9. CARTÕES MINIMALISTAS (NOVO) */
.module-layout-minimal-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-lg); }
.minimal-card { background: #fff; border-top: 4px solid var(--portal-brand); padding: var(--space-md) 0; box-shadow: 0 4px 10px rgba(0,0,0,0.02); transition: transform 0.2s; }
.minimal-card:hover { transform: translateY(-2px); }
.minimal-card .n10-badge-text { font-size: 0.7rem; margin-bottom: 8px; }
.minimal-card .n10-title-dark-small { font-size: 1.2rem; font-weight: 800; margin: 0 0 10px; }

/* 10. HORIZONTAL SCROLL (NOVO) */
.module-layout-horizontal-scroll { display: flex; overflow-x: auto; gap: var(--space-md); scroll-snap-type: x mandatory; padding-bottom: var(--space-md); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.module-layout-horizontal-scroll::-webkit-scrollbar { display: none; }
.scroll-card { flex: 0 0 75%; max-width: 300px; scroll-snap-align: start; }
.scroll-thumb { display: block; border-radius: var(--radius-md); overflow: hidden; margin-bottom: 12px; aspect-ratio: 4/5; }
.scroll-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* 11. REVISTA ASSIMÉTRICA (NOVO) */
.module-layout-magazine-asymmetric { display: grid; grid-template-columns: 1fr; gap: var(--space-md); }
.magazine-lead.overlay-card { aspect-ratio: 16/9; }
.magazine-sub { display: flex; flex-direction: column; gap: var(--space-md); }
.magazine-sub-item { padding: 0; border: none; }
.magazine-sub-item .list-thumb { width: 140px; height: 100px; }

/* ============================================
   LATEST NEWS E ADS
   ============================================ */
.portal-latest-feed { margin-bottom: var(--space-xl); }
.feed-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-lg); }
.feed-card-minimal { display: flex; flex-direction: column; }
.feed-thumb { aspect-ratio: 16/9; border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 12px; }
.feed-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.feed-card-minimal:hover .feed-thumb img { transform: scale(1.03); }
.feed-content .n10-title-dark-feed { font-size: 1.15rem; font-weight: 700; line-height: 1.3; margin: 0; }

.portal-ads-footer { padding: var(--space-xl) 0; border-top: 1px solid var(--portal-border); }
.ads-wrapper { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-lg); }
.ad-slot { width: 336px; height: 336px; background-color: #f5f5f5; display: flex; align-items: center; justify-content: center; }

/* ============================================
   DESKTOP MEDIA QUERIES EDITORIAIS
   ============================================ */
@media (min-width: 992px) {
  /* Heros */
  .portal-hero-grid.layout-bento { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, minmax(250px, 1fr)); }
  .layout-bento .hero-card-main { grid-column: 1 / 3; grid-row: 1 / 3; }
  .layout-bento .hero-card-item-2 { grid-column: 3 / 4; grid-row: 1 / 2; }
  .layout-bento .hero-card-item-3 { grid-column: 4 / 5; grid-row: 1 / 2; }
  .layout-bento .hero-card-item-4 { grid-column: 3 / 4; grid-row: 2 / 3; }
  .layout-bento .hero-card-item-5 { grid-column: 4 / 5; grid-row: 2 / 3; }

  .portal-hero-grid.layout-classic { grid-template-columns: repeat(4, 1fr); grid-template-rows: minmax(420px, auto) minmax(250px, 1fr); }
  .layout-classic .hero-card-main { grid-column: 1 / -1; grid-row: 1 / 2; }
  .layout-classic .hero-card-main .n10-title-light { font-size: 2.8rem; text-align: center; max-width: 80%; margin: 0 auto 10px; }
  .layout-classic .hero-card-main .card-overlay-content { align-items: center; padding-bottom: 40px; }
  .layout-classic .hero-card-item-2 { grid-column: 1 / 2; grid-row: 2 / 3; }
  .layout-classic .hero-card-item-3 { grid-column: 2 / 3; grid-row: 2 / 3; }
  .layout-classic .hero-card-item-4 { grid-column: 3 / 4; grid-row: 2 / 3; }
  .layout-classic .hero-card-item-5 { grid-column: 4 / 5; grid-row: 2 / 3; }

  .portal-hero-grid.layout-dynamic { grid-template-columns: 2.5fr 1fr 1fr 1fr; grid-template-rows: repeat(2, minmax(250px, 1fr)); }
  .layout-dynamic .hero-card-main { grid-column: 1 / 2; grid-row: 1 / 3; }
  .layout-dynamic .hero-card-item-2 { grid-column: 2 / 5; grid-row: 1 / 2; }
  .layout-dynamic .hero-card-item-2 .n10-title-light { font-size: 1.6rem; }
  .layout-dynamic .hero-card-item-3 { grid-column: 2 / 3; grid-row: 2 / 3; }
  .layout-dynamic .hero-card-item-4 { grid-column: 3 / 4; grid-row: 2 / 3; }
  .layout-dynamic .hero-card-item-5 { grid-column: 4 / 5; grid-row: 2 / 3; }

  .portal-hero-grid.layout-list { grid-template-columns: 2.5fr 1.5fr; grid-template-rows: repeat(4, minmax(120px, auto)); }
  .layout-list .hero-card-main { grid-column: 1 / 2; grid-row: 1 / 5; min-height: 480px; }
  .layout-list .hero-card-sub.is-text-only { grid-column: 2 / 3; }
  .layout-list .hero-card-sub.is-text-only .card-overlay-content { padding: var(--space-sm) var(--space-md); }

  .portal-hero-grid.layout-editorial { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(250px, 1fr)); }
  .layout-editorial .hero-card-main { grid-column: 1 / 2; grid-row: 1 / 3; }
  .layout-editorial .hero-card-item-2 { grid-column: 2 / 3; grid-row: 1 / 2; }
  .layout-editorial .hero-card-item-3 { grid-column: 3 / 4; grid-row: 1 / 2; }
  .layout-editorial .hero-card-item-4 { grid-column: 2 / 3; grid-row: 2 / 3; }
  .layout-editorial .hero-card-item-5 { grid-column: 3 / 4; grid-row: 2 / 3; }
  .layout-editorial .hero-card-sub.is-text-only { border-radius: var(--radius-sm); border: 1px solid var(--portal-border); background-color: var(--portal-bg-alt); justify-content: flex-start; }
  .layout-editorial .hero-card-sub.is-text-only .card-overlay-content { padding: var(--space-md); }
  .layout-editorial .hero-card-sub.is-text-only .n10-title-dark { font-size: 1.25rem; font-weight: 800; line-height: 1.35; }

  /* Módulos */
  .module-layout-standard { grid-template-columns: 2.5fr 1fr; gap: var(--space-xl); }
  .module-layout-standard .module-list-item { padding: 0 0 16px 0; }
  .module-layout-standard .list-thumb { display: none; }
  .module-layout-standard .module-list-item .n10-title-dark-small { font-size: 1.25rem; }

  .module-layout-classic-news { grid-template-columns: 2fr 1fr; gap: var(--space-xl); }
  
  .module-layout-horizontal-scroll { grid-template-columns: repeat(4, 1fr); display: grid; overflow-x: visible; }
  .scroll-card { max-width: none; }
  
  .module-layout-magazine-asymmetric { grid-template-columns: 2fr 1fr; gap: var(--space-xl); }
  .magazine-lead.overlay-card { aspect-ratio: auto; height: 100%; }
  .magazine-sub { justify-content: space-between; }
  
  .feed-grid { grid-template-columns: repeat(4, 1fr); }
}