/* Fichier CSS : /asset/css/page/reality/science.css */
.science-container {
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
  padding-bottom: 0;
}
.science-index-container {
  /* Conteneur principal */
}
html[data-theme="dark"] .science-index-container {
  background-color: #1a1a1a;
  border-color: #333333;
}
.science-index-container h2 {
  font-weight: bold;
  color: #004487;
  margin-top: 0;
  margin-bottom: 15px;
  text-align: center;
  letter-spacing: 1px;
}
html[data-theme="dark"] .science-index-container h2 {
  color: #8EC5FF;
  font-weight: normal !important;
}
.science-index-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.science-index-list li {
  margin: 0;
}
.science-index-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background-color: #ffffff !important;
  color: #111111 !important;
  border: 1px solid #e0d8cc;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
html[data-theme="dark"] .science-index-list a {
  background-color: #111111 !important;
  color: #ffffff !important;
  border: none;
  font-weight: normal !important;
}
.science-index-list a:hover {
  background-color: #e6e6e6 !important;
  border-color: #d0c8bc;
}
html[data-theme="dark"] .science-index-list a:hover {
  background-color: #333333 !important;
  border-color: #555555;
}
.science-index-icon {
  width: 30px;
  height: 30px;
  object-type: contain;
  border: none;
}
.science-section {
  margin-left: 15px;
}
.science-section h3.science_h2 {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.2rem;
  color: #004487;
  margin-left: 0;
}
html[data-theme="dark"] .science-section h3.science_h2 {
  color: #8ec5ff;
  font-weight: normal !important;
}
.science-h2-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.science_tex {
  padding: var(--space-sm) var(--space-md);
  border-radius: 6px;
  margin-bottom: 15px;
  margin-left: -15px;
}
html[data-theme="dark"] .science_tex {
  color: #e0e0e0;
  font-weight: normal !important;
}
.fact-block {
  background: #F4F8FB;
  border: 1px solid #e0e0e0;
  padding: var(--space-md) var(--space-md) 0 var(--space-md);
  border-radius: 8px;
  margin-bottom: var(--space-sm);
  margin-left: -15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
html[data-theme="dark"] .fact-block {
  background-color: #222222;
  border-color: #333333;
}
.fact-block h4 {
  font-size: 1.1rem;
  color: #004487;
  margin-top: 0;
  margin-bottom: 10px;
}
html[data-theme="dark"] .fact-block h4 {
  color: #8ec5ff;
  font-weight: normal !important;
}
.fact-block p {
  line-height: 1.5;
  margin-bottom: 15px;
  color: black;
}
html[data-theme="dark"] .fact-block p {
  color: #e0e0e0;
  font-weight: normal !important;
}
/* ------------------------------------------- */
/* CONTENEUR RESPONSIVE (TOUTES TAILLES)      */
/* ------------------------------------------- */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 15px;
}
.table-responsive::-webkit-scrollbar {
  height: 8px;
}
.table-responsive::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}
html[data-theme="dark"] .table-responsive::-webkit-scrollbar-track {
  background: #222222;
}
.table-responsive::-webkit-scrollbar-thumb {
  background: #004487;
  border-radius: 4px;
}
html[data-theme="dark"] .table-responsive::-webkit-scrollbar-thumb {
  background: #8ec5ff;
}
/* Style du tableau des grandes organisations (Mode Clair) */
.science-org-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0;
  margin-bottom: 15px;
  background-color: #ffffff;
}
html[data-theme="dark"] .science-org-table {
  background-color: #000000;
}
.science-org-table th,
.science-org-table td {
  padding: 12px 15px;
  border: 1px solid #dcdcdc;
  text-align: left;
  font-size: 0.95rem;
  color: black;
}
html[data-theme="dark"] .science-org-table th,
html[data-theme="dark"] .science-org-table td {
  color: #e0e0e0;
  border-color: #333333;
  font-weight: normal !important;
}
.science-org-table th {
  background-color: rgba(0, 0, 0, 0.05);
  font-weight: bold;
  color: black;
}
html[data-theme="dark"] .science-org-table th {
  background-color: #333333;
  color: #ffffff;
  font-weight: normal !important;
}
.science-org-table a.org-link {
  color: #0066cc;
  text-decoration: underline;
}
html[data-theme="dark"] .science-org-table a.org-link {
  color: #8ec5ff;
  text-decoration: underline;
  font-weight: normal !important;
}
.science-org-table a.org-link:hover {
  color: #004499;
}
html[data-theme="dark"] .science-org-table a.org-link:hover {
  color: #b4d8ff;
}
/* Badges PMID / DOI */
.science-ref-badge {
  margin-top: 6px;
  font-size: 0.85rem;
}
.science-ref-badge a {
  display: inline-block;
  padding: 2px 6px;
  background-color: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  color: #0066cc;
  text-decoration: underline;
  font-family: monospace;
}
html[data-theme="dark"] .science-ref-badge a {
  background-color: #2a2a2a;
  border-color: #444444;
  color: #8ec5ff;
  font-weight: normal !important;
}
.science-ref-badge a:hover {
  background-color: rgba(0, 102, 204, 0.1);
  border-color: #0066cc;
  color: #004499;
}
.source-tag {
  display: inline-block;
  margin-top: 15px;
  margin-bottom: 15px;
  padding: 8px 12px;
  background-color: rgba(0, 102, 204, 0.1);
  color: #0066cc;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
}
html[data-theme="dark"] .source-tag {
  background-color: rgba(142, 197, 255, 0.15);
  color: #8ec5ff;
  font-weight: normal !important;
}
.source-tag:hover {
  background-color: rgba(0, 102, 204, 0.2);
}
html[data-theme="dark"] .source-tag:hover {
  background-color: rgba(142, 197, 255, 0.3);
  color: #b4d8ff;
}
@media (max-width: calc(635 / 16 * 1rem)) {
  .science-section h3.science_h2 {
    font-size: 1.1rem;
  }
  .science-org-table th,
  .science-org-table td {
    padding: 8px 10px;
    font-size: 0.85rem;
  }
  .science-org-table th:nth-child(1),
  .science-org-table td:nth-child(1) {
    min-width: 130px;
    max-width: 150px;
  }
  .science-org-table th:nth-child(2),
  .science-org-table td:nth-child(2) {
    min-width: 70px;
    max-width: 90px;
  }
  .science-org-table th:nth-child(3),
  .science-org-table td:nth-child(3) {
    min-width: 200px;
    max-width: 260px;
  }
  .science-h2-icon {
    width: 35px !important;
    height: 35px !important;
    object-fit: contain;
  }
}