html {
    scroll-behavior: smooth;
}

/* HOME PUBLICO */
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

.topo-diario {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: Anton, sans-serif;
}

.item-publicacao {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Filtro de dia - estilo da imagem */
.filtro-dia-card {
    max-width: 600px;
    margin: 0 auto;
}

.filtro-dia-label {
    font-size: 0.95rem;
    color: #495057 !important;
    margin-bottom: 0.75rem;
}

.filtro-dia-input-wrap {
    position: relative;
    margin-bottom: 1rem;
}

.filtro-dia-input {
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    padding: 0.5rem 2.5rem 0.5rem 0.75rem;
    font-size: 1rem;
}

.filtro-dia-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    pointer-events: none;
}

.filtro-dia-semana {
    display: flex;
    justify-content: space-between;
    gap: 0.25rem;
}

.filtro-dia-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 0.25rem;
    border-radius: 0.375rem;
    text-decoration: none;
    color: #495057;
    transition: all 0.2s;
}

.filtro-dia-item:hover {
    background-color: #f8f9fa;
    color: inherit;
}

.filtro-dia-item.ativo {
    background-color: #007bff;
    color: #fff;
}

.filtro-dia-numero {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
}

.filtro-dia-abrev {
    font-size: 0.7rem;
    text-transform: uppercase;
    margin-top: 0.15rem;
}

#calendario-diario {
    color: #495057;
    background-color: #FFF;
    font-weight: bold;
}

.item-publicacao h6, .item-publicacao .info{
    text-transform: uppercase;
}

/************************************************************************************/
.card-view-label {
    top: -12px;
    font-size: .9rem
}

.header-publico,
footer {
    background-color: #1A2A4C;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #ffffff;
}

.dou-categoria-header {
    background: linear-gradient(135deg, #1a3a6b 0%, #2d5a9e 100%);
    cursor: pointer;
    transition: all .2s;
    user-select: none;
}

.dou-categoria-header:hover {
    background: linear-gradient(135deg, #152f58 0%, #254d87 100%);
}

.dou-tipo-header {
    cursor: pointer;
    border-left: 3px solid #1a3a6b !important;
    transition: background .15s;
    user-select: none;
}

.dou-tipo-header:hover {
    background: #eef2f9 !important;
}

.dou-pub-row:hover {
    background: #f8f9ff;
}

.toggle-cat-icon,
.toggle-icon {
    transition: transform .2s;
}

.rotated {
    transform: rotate(90deg);
}

.sidebar-card {
    font-size: .82rem;
}

.sidebar-card .card-header {
    padding: .5rem .75rem;
}

.badge-pub {
    font-size: .7rem;
    font-weight: 600;
}

.btn-xs {
    padding: .15rem .4rem;
    font-size: .72rem;
}

.status-bar {
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 6px 12px;
    font-size: .75rem;
}

/* Restaura formatação dentro do editor Summernote */
.note-editable u {
    text-decoration: underline;
}
.note-editable s,
.note-editable strike {
    text-decoration: line-through;
}
.note-editable ul {
    list-style-type: disc;
    padding-left: 1.5em;
}
.note-editable ol {
    list-style-type: decimal;
    padding-left: 1.5em;
}
}

/* Modal de publicação - conteúdo */
.publicacao-texto {
    max-height: 50vh;
    overflow-y: auto;
}

.publicacao-texto table {
    font-size: 0.9rem;
}

/* Pesquisa avançada - modal */
.pesquisa-resultados-lista {
    max-height: 50vh;
    overflow-y: auto;
}

.pesquisa-avancada-toggle a {
    text-decoration: none;
}

.pesquisa-avancada-toggle a:hover {
    color: #495057 !important;
}

#opcoes-avancadas {
    background: #f8f9fa;
    border-radius: 0.375rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

#opcoes-avancadas .custom-control {
    margin-bottom: 0.25rem;
}
.titulo-home > a > p{
    margin-bottom: 0;
}