/* ============================================
   Grade do Glossário Frontend [nt_glossario]
   ============================================ */

.ntg-glossary-wrapper {
    font-family: var(--wp--preset--font-family--system-font, -apple-system, sans-serif);
    max-width: 1200px;
    margin: 0 auto;
}

/* Menu Alfabético */
.ntg-alphabet-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #e2e4e7;
    padding-bottom: 20px;
}

.ntg-alphabet-menu a, .ntg-alphabet-menu span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    width: auto;
    height: 36px;
    padding: 0 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: #1d2327;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.ntg-alphabet-menu a:hover {
    background-color: #f0f0f1;
    border-color: #8c8f94;
}

.ntg-alphabet-menu span.disabled {
    color: #a7aaad;
    background-color: #f6f7f7;
    cursor: not-allowed;
    border-color: #e2e4e7;
}

/* Grid de Letras */
.ntg-glossary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Caixa da Letra */
.ntg-letter-box {
    background: #fff;
    border: 1px solid #e2e4e7;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
}

.ntg-letter-title {
    font-size: 28px;
    color: #1d2327;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f1;
}

/* Lista de Termos */
.ntg-term-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.ntg-term-list li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f1;
}

.ntg-term-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.ntg-term-list a {
    color: #3c434a;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.ntg-term-list a:hover {
    color: #2271b1;
}

/* Botão Ver Mais */
.ntg-btn-more {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: opacity 0.2s;
}

.ntg-btn-more:hover {
    opacity: 0.85;
}

/* ============================================
   Página Single do Termo (Resumo e FAQ)
   ============================================ */

.ntg-single-summary {
    background-color: #f8f9f9;
    border-left: 4px solid #2271b1;
    padding: 24px;
    margin-bottom: 35px;
    border-radius: 0 8px 8px 0;
}

.ntg-single-summary h3 {
    margin-top: 0;
    font-size: 18px;
    color: #1d2327;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ntg-single-summary h3::before {
    content: "\f348"; /* Ícone de lista do Dashicons */
    font-family: dashicons;
    color: #2271b1;
}

.ntg-single-summary ul {
    margin-bottom: 0;
    padding-left: 20px;
}

.ntg-single-summary li {
    margin-bottom: 8px;
}

/* Container do FAQ */
.ntg-faq-container {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #e2e4e7;
}

.ntg-faq-container > h2 {
    font-size: 22px;
    margin-bottom: 25px;
}

.ntg-faq-item {
    margin-bottom: 25px;
}

.ntg-faq-item h3 {
    font-size: 17px;
    color: #2271b1;
    margin-bottom: 10px;
}