/* =============================
   guide.css
   ============================= */

.guide-section .row {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(128, 128, 128, 0.25);
}
.guide-section .row:first-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Titres */
.guide-section .row h2 {
  padding-left: 0.75rem;
  border-left: 4px solid #006B62;
  margin-bottom: 1rem;
}
.guide-section .row h3 {
  color: #009589;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}
.guide-section .row h4 {
  color: #00BDB0;
  font-weight: 600;
  font-size: inherit;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.guide-section .row h5 {
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #006B62;
  margin-top: 1rem;
  margin-bottom: 0.4rem;
  cursor: default;
  border: none;
  display: block;
  background: none;
  padding: 0;
}

/* Texte */
.guide-section .row p {
  line-height: 1.7;
  margin-bottom: 0.75rem;
}
.guide-section .row ul {
  line-height: 1.8;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}
.guide-section .row ul li {
  margin-bottom: 0.25rem;
}

/* Images cartes */
.guide-section .row figure {
  margin: 1rem 0;
}
.guide-section .row figure figcaption {
  font-size: inherit;
  opacity: 1.0;
  margin-top: 0.4rem;
  font-style: italic;
}
.guide-section .row .img-thumbnail {
  border: 2px solid rgba(0, 149, 137, 0.4);
  border-radius: 8px;
}

/* Images illustratives inline */
.guide-section .inline-img {
  margin: 10px;
  max-width: 100%;
}

/* =============================
   Table
   ============================= */

/* Lignes du tableau cliquables */
.table-section tbody tr {
  cursor: pointer;
  transition: background 0.15s;
}
.table-section tbody tr:hover {
  background: rgba(0, 149, 137, 0.08);
}

/* Blockquote de description (affiché au clic) */
.table-section blockquote {
  border-left: 3px solid #009589;
  margin: 0.5rem 0 0 1rem;
  padding: 0.4rem 0.75rem;
  background: rgba(0, 149, 137, 0.05);
  border-radius: 0 8px 8px 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* h4 dans les blockquotes (Ennemi, Coffre, Vendeur, Aléa) */
.table-section blockquote h4 {
  font-size: 0.75rem;
  color: #00BDB0;
  margin: 0.5rem 0 0.25rem;
}

/* =============================
   Table — green style
   ============================= */

.table-section .table-bordered {
  border-color: rgba(0, 149, 137, 0.25);
  border-radius: 8px;
  overflow: hidden;
}
.table-section .table-bordered th,
.table-section .table-bordered td {
  border-color: rgba(0, 149, 137, 0.25);
  padding: 0.5rem 0.75rem;
  vertical-align: middle;
}
.table-section .table-bordered thead th {
  color: #00BDB0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: inherit;
  background: rgba(0, 149, 137, 0.08);
  border-bottom: 2px solid rgba(0, 149, 137, 0.4);
}

.table-section tbody tr:hover {
  background: rgba(0, 149, 137, 0.08);
}

/* Désactive l'interactivité visuelle */
.table-section.no-click tbody tr {
  cursor: default;
}

/* Blockquote déplié */
.table-section blockquote {
  border-left: 3px solid #009589;
  margin: 0.5rem 0 0 0;
  padding: 0.5rem 0.75rem;
  background: rgba(0, 149, 137, 0.05);
  border-radius: 0 8px 8px 0;
  font-size: inherit;
  line-height: 1.6;
}
.table-section blockquote h4 {
  font-size: inherit;
  color: #00BDB0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0.5rem 0 0.25rem;
}
.table-section blockquote p {
  margin: 0.2rem 0;
  font-size: inherit;
}

.table-icon {
  float: left;
  display: block;
  margin-right: 10px;
  vertical-align: middle;
}

.table-icon-sm  { height: 20px; width: 20px; }
.table-icon-md  { height: 32px; width: 32px; }
.table-icon-lg  { height: 40px; width: 40px; }

/* =============================
   Bloc astuce générique
   ============================= */
.tip-box {
  border: 2px solid #009589;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  background: rgba(0, 149, 137, 0.05);
}
.tip-box h4 {
  color: #009589;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

/* Rangs verrouillés — Grande compagnie */
.rank-locked {
  color: #ff0000;
  opacity: 0.7;
}

.rank-locked b::before {
  content: "🔒 ";
  font-size: 0.75em;
  opacity: 0.6;
}