:root {
  --primary-color: #6e8efb;
  --secondary-color: #a777e3;
  --text-dark: #2b2d42;
  --text-light: rgba(255, 255, 255, 0.8);
  --bg-light: rgba(255, 255, 255, 0.1);
  --bg-insight: rgba(255, 243, 224, 0.6);
  --border-radius: 16px;
  --box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

main.Knowledge-Repository {
  display: block;
  width: 90%;
  max-width: 1200px;
  padding: 20px;
  margin: 2rem auto;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--box-shadow);
}

.hero-container {
  position: relative;
  height: 200px;
  overflow: hidden;
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
}

.hero-image {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  height: 100%;
  width: 100%;
}

.hero-content {
  background: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin: 1rem 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.Topic-Title {
  color: white;
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.SubTopic {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
}

.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;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

.Topic-Navigation {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
}

/* Mantendo estilos de texto legíveis */
.Content, .References {
  color: var(--text-dark);
}

/* Ajustes para mobile */
@media (max-width: 768px) {
  main.Knowledge-Repository {
    width: 95%;
    padding: 15px;
  }
  
  .Topic-Title {
    font-size: 1.8rem;
  }
}




/* Container principal com layout horizontal */
.hero-content-horizontal {
    display: flex;
    color: rgb(108, 170, 241);
    flex-direction: column;
    align-items: center;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Container dos botões com layout horizontal */
.buttons-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin-top: 20px;
}

/* Estilização dos botões */
.buttons-container .btn {
    display: inline-block;
    padding: 12px 20px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 140px;
    border: none;
    cursor: pointer;
}

/* Efeitos de hover nos botões */
.buttons-container .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #2575fc 0%, #6a11cb 100%);
}

/* Responsividade para telas menores */
@media (max-width: 768px) {
    .buttons-container {
        gap: 8px;
    }
    
    .buttons-container .btn {
        min-width: 120px;
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .buttons-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .buttons-container .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .hero-content-horizontal {
        padding: 15px;
    }
}




.hero-image {
  background: linear-gradient(135deg, rgba(110,142,251,0.6), rgba(167,119,227,0.6)),
              url('./../img/hero-bg.png') no-repeat center center;
  background-size: cover;
  height: 100%;
  width: 100%;
}
