/* Componentes específicos do Knowledge Repository */
.Topic {
  margin-bottom: 3rem;
  animation: fadeIn 0.6s ease forwards;
}

.SubTopic-Title {
  color: var(--secondary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.Content {
  margin-bottom: 1.5rem;
}

.Content p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.Definition-Box, .Personal-Insight, .Practical-Example {
  background: rgba(255, 255, 255, 0.7);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin: 1.5rem 0;
  border-left: 4px solid var(--primary-color);
  color: var(--text-dark);
}

.Personal-Insight {
  background: var(--bg-insight);
  border-left-color: #ff9800;
}

.Comparison-Table table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.Comparison-Table th {
  background: var(--primary-color);
  color: white;
  padding: 12px;
}

.Comparison-Table td {
  padding: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.References {
  background: rgba(245, 245, 245, 0.8);
  padding: 1.5rem;
  border-radius: var(--border-radius);
}

.Phoneme-Table-Auxiliary {
  background: rgba(248, 249, 250, 0.9) !important;
  border-left: 4px solid #2c3e50;
}

/* Animações */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Ajustes para telas pequenas */
@media (max-width: 480px) {
  .SubTopic {
    padding: 1rem;
  }
  
  .Topic-Navigation {
    flex-direction: column;
  }
}
















/* Estilos Específicos para o Footer de Navegação */
.nav-footer-wrapper {
    margin-top: 3rem;
    position: relative;
}

.nav-footer-gradient {
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px 16px 0 0;
}

.nav-footer-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 0 0 16px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.nav-footer-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.3s ease;
    text-align: center;
    min-width: 150px;
}

.nav-footer-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.nav-footer-btn-primary {
    background: rgba(110, 142, 251, 0.7);
}

.nav-footer-btn-primary:hover {
    background: rgba(110, 142, 251, 0.9);
}

/* Responsividade */
@media (max-width: 768px) {
    .nav-footer-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-footer-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .nav-footer-gradient {
        height: 60px;
    }
}



/* Container de largura total */
.full-width-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Seção de conteúdo da página */
.page-content-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Container para botões horizontais */
.buttons-horizontal-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin-top: 25px;
}

/* Estilização dos botões para manter consistência */
.buttons-horizontal-container .btn {
    display: inline-block;
    padding: 12px 20px;
    background-color: #4a6fc7;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s ease;
    text-align: center;
    min-width: 140px;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.buttons-horizontal-container .btn:hover {
    background-color: #3a5bb0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Responsividade */
@media (max-width: 992px) {
    .buttons-horizontal-container {
        gap: 10px;
    }
    
    .buttons-horizontal-container .btn {
        min-width: 130px;
        padding: 10px 16px;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .page-content-section {
        padding: 15px;
    }
    
    .buttons-horizontal-container {
        gap: 8px;
    }
    
    .buttons-horizontal-container .btn {
        min-width: 120px;
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .buttons-horizontal-container {
        flex-direction: column;
        align-items: center;
    }
    
    .buttons-horizontal-container .btn {
        width: 100%;
        max-width: 280px;
    }
}