
.falkpedia-container {
    padding-top: 5rem; /* Menos margem que o 7em original para um visual mais denso */
    text-align: center;
}

.falkpedia-header {
    margin-bottom: 3rem;
}

.falkpedia-title {
    font-size: 1.5em;
    font-weight: 800; /* Forte impacto */
    color: var(--text-dark);    
    
    /* Linha de destaque minimalista sob o título */
    display: inline-block;
    padding-bottom: 0.25rem;
    border-bottom: 3px solid var(--color-primary);
    letter-spacing: 0.0875em;
}

.falkpedia-tagline {
    margin-top: 1em;
    margin-bottom: 1em;
    font-size: 1em;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1.5;
}

.falkpedia-tagline b {
    color: var(--color-primary); /* Destaque no hashtag */
    font-weight: 700;
}

/* --- CAIXA DE FILTRO (Box onde as letras estão) --- */

.falkpedia-filter-box {
    max-width: 80vw;
    margin: 0 auto;
    background-color: white;
    
    /* Estilo clean: borda sutil e sombra suave */
    border: 1px solid var(--border-light);
    border-radius: 8px; /* Cantos levemente arredondados */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 1em; /* Padding interno generoso */
    margin-bottom: 1em;
}

/* --- SUBHEADER "FILTRAR POR LETRA" --- */

.filter-subtitle {
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-muted);
    font-size: 0.75em;
    letter-spacing: 0.1em;
    margin: 0;
    padding: 0 0 1rem 0; /* Espaço abaixo para separar das letras */
    
    /* Remove a borda azul do subheader para um visual mais limpo */
    /* Se quiser manter uma linha, use: border-bottom: 1px solid var(--border-light); */
}

/* --- NAVEGAÇÃO DE LETRAS --- */

.falkpedia-letters-nav {
    display: flex;
    flex-wrap: wrap; /* Garante que as letras quebrem a linha se necessário */
    justify-content: center; /* Centraliza as letras */
    gap: 0.5rem 0.8rem; /* Espaçamento moderno entre os itens */
}

.falkpedia-let {
    display: block; /* Para melhor controle do padding e margem */
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--text-muted);
    padding: 0.2em 0.4em; /* Padding sutil */
    transition: all 0.2s ease-out; /* Transição suave para hover */
    border-radius: 4px; /* Pequenos arredondamentos */
}

.falkpedia-let:hover {
    background-color: var(--color-primary);
    color: #ececec;
}

/* --- ESTADOS INTERATIVOS (HOVER / ACTIVE) --- */

.falkpedia-letter:hover,
.falkpedia-letter.active {
    background-color: var(--falk-blue);
    color: white;
    box-shadow: 0 2px 5px rgba(22, 113, 253, 0.3); /* Sombra que destaca o clique */
}


.falkpedia-content,
input.falkpedia-search,
#search-input {
    background-color: white;
    text-align: center !important;
    padding: 1em 0.5em;
    margin-bottom: 1.25em;
    border: 1px solid #ececec;
    border-radius: 0.5em;
    -moz-border-radius: 0.5em;
    -webkit-border-radius: 0.5em;
}

input.falkpedia-search,
#search-input {
    font-size: 0.975em;
    padding: 1.025em 0.5em;
}

h3.falkpedia-subheader {
    text-align: left;
    text-transform: uppercase;
    font-weight: bold;
    color: #646a6f;
    font-size: 0.875em;
    letter-spacing: .0875em;
    margin: 2em 0 0.1em 0;
    padding: 1.15em;
}

h3.falkpedia-subheader span {
    border-bottom: 0.15em solid #1671fd;
    padding-bottom: 0.15em;
}

h3.falkpedia-subheader.subtitle {
    margin: 0.1em 0;
    padding: 0.75em 0.75em 0.25em 0.75em;
}

h3.falkpedia-subheader b,
.falkpedia-letter:hover,
.falkpedia-letter.active {
    text-align: center !important;
    -webkit-border-radius: 0.25em;
    -moz-border-radius: 0.25em;
    border-radius: 0.25em;
    background-color: #1671fd;
    color: white;
    font-weight: 500;
    padding: 0.15em 0.5em 0.2em 0.55em;
    margin: 1em 0.15em !important;
}

.sticky {
    position: -webkit-sticky;
    /* Safari */
    position: sticky !important;
    z-index: 999 !important;
}

.falkpedia-header {
    background-color: #f3f3f3;
    margin-bottom: 2em;
    border-radius: 0.5em;
    padding: 0.15em 1em;
    -moz-border-radius: 0.5em;
    -webkit-border-radius: 0.5em;
}

.falkpedia-header header h2 {
    margin: 0 !important;
    text-align: left;
    text-transform: uppercase;
    font-weight: bold;
    color: #646a6f;
    font-size: 0.875em;
    letter-spacing: .0875em;
    padding: 1.15em 1.15em 1.15em 0;
}

.falkpedia-letter {
    font-size: 1.1em;
    padding: 0.15em 0.5em 0.2em 0.55em;
    margin: 1em 0.15em !important;
    color: #666666;
}

.falkpedia-item {
    /* O container interno do conteúdo */
    min-height: 25vh; /* Ajuste o min-height se 30vh for demais, mas mantenha-o */
    padding: 0;
    display: flex; /* Permite alinhar o conteúdo verticalmente */
    flex-direction: column;
}

/* --- TÍTULO DO TERMO (H4) --- */

.falkpedia-item h4.searchterm {
    /* Destaque o título com cor e negrito */
    font-size: 1.35em; /* Aumenta o tamanho do título */
    font-weight: 700; /* Mais negrito que 600 */
    color: var(--color-primary); /* Usa a cor principal para dar destaque imediato */
    padding: 1.25em 1em 0.5em 1em; /* Mais padding no topo e menos embaixo */
    text-align: center; /* Centraliza o título para melhor leitura no card */
    margin: 0;
}

/* --- DESCRIÇÃO DO TERMO (P) --- */

.falkpedia-item p {
    /* Garante a legibilidade do texto */
    font-size: 0.95em; /* Pouco maior que 0.9em para melhor leitura */
    font-weight: 400;
    line-height: 1.75; /* Diminui o line-height de 1.75em para ser mais compacto */
    color: var(--text-dark);
    text-align: justify; /* Mantém a justificação, mas left é mais comum e limpo */
    padding: 0.5em 1em 1em 1em; /* Padding ajustado para respiro interno */
    margin: 0;
}