/*
Theme Name: Diário Oficial - Laranjal do Jari
Theme URI: https://laranjaldojari.ap.gov.br/
Author: Fábio Silva
Author URI: https://chat.openai.com/
Description: Tema WordPress enxuto para o Diário Oficial Municipal de Laranjal do Jari. Baseado em Bootstrap 5, acessível e responsivo.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
Text Domain: dof-laranjal
*/


:root
{--brand:#0f4bb8;--brand-dark:#44AB54;--green:#44AB54;--yellow:#F5B427}
.bg-brand{background:var(--brand)}
.bg-brand-dark{background:var(--brand-dark)}
.text-brand{color:var(--brand)}

/* --- UI micro-adjustments --- */
:
.btn-download { background: var(--brand); border-color: var(--brand); color:#44AB54; }
.btn-download:hover, .btn-download:focus { background: var(--brand-dark); border-color: var(--brand-dark); color:#fff; }
.btn-view { background:#f3f4f6; border-color:#e5e7eb; color:#111; }
.btn-view:hover, .btn-view:focus { background:#e9ecef; border-color:#dfe3e6; color:#111; }
.table.dof-table tbody tr { border-top: 1px solid #e6e9ef; }
.table.dof-table td { padding-top: 18px; padding-bottom: 18px; }
.table.dof-table th { color:#6b7280; font-weight:600; }





/* ===== Diário Oficial — Estilos Globais ===== */
:root{
  --ldj-azul:#315598;
  --ldj-verde:#44AB54;
  --ldj-amarelo:#F5B427;
}

/* HERO (index & single) */
.hero-diario,
.hero-diario-single{
  background: linear-gradient(180deg, #3a5dac 0%, #274a9b 100%);
  color:#fff;
}
.hero-diario{ padding:48px 0 40px; text-align:center; }
.hero-diario-single{ padding:42px 0; }
.hero-diario .icone,
.hero-diario-single .icone{
  font-size:44px; line-height:1; display:inline-flex; width:56px; height:56px;
  align-items:center; justify-content:center; border-radius:12px; background:#ffffff1a;
  margin-right:.5rem;
}
.hero-diario h1{ font-weight:700; margin:0; font-size:clamp(24px,3vw,40px); }
.hero-diario p{ opacity:.95; margin:8px 0 0; font-size:clamp(14px,1.6vw,18px); }

/* Botão toggle filtros */
.toggle-filtros.btn{ background:#2e57a2; border:0; }
.toggle-filtros.btn:hover{ background:#284d90; }

/* Cartão de filtros (index) */
.filtros-card{ margin-top:-28px; border:0; box-shadow:0 6px 20px rgba(0,0,0,.08); }
.filtros-card .card-header{ background:#fff; border-bottom:0; padding:20px 20px 0; }
.form-control::placeholder{ color:#6c757d; }
.btn-buscar{ min-width:120px; }

/* Títulos de seção e contagem (index) */
.sec-titulo{ font-weight:700; font-size:1.5rem; }
.pub-count{ color:#6c757d; }

/* Cards de publicações (index) */
.pub-card .badge-pdf{
  background:#e8f7eb; color:#208b3a; font-weight:600; border-radius:999px;
  padding:.35rem .6rem; font-size:.8rem;
}
.pub-card .btn-prim{ background:#213a75; color:#fff; }
.pub-card .btn-prim:hover{ background:#1a2f60; color:#fff; }
.pub-card .btn-light{ border:1px solid #e9ecef; }
.card-title{ font-weight:700; font-size:1.02rem; }
.card-text{ color:#5f6b7a; }

/* Ratio para embed PDF no single (fallback se o tema não tiver) */
.ratio{ position:relative; width:100%; }
.ratio > iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.ratio-4x3{ padding-top:75%; }
