/* ============================================================
   post-lista.css — Estilos da listagem de posts (accordion)
   ============================================================ */

.search-box-default { margin-top: 30px; margin-bottom: 30px; }
.search-box-faq     { max-width: 860px; margin: 30px auto 30px; }

/* Accordion genérico */
.accordion__content {
  display: none;
  padding: 15px;
  border: 1px solid #e1e1e1;
  border-top: none;
}

.accordion__title {
  cursor: pointer;
  position: relative;
  padding: 15px;
  background-color: #f5f5f5;
  border: 1px solid #e1e1e1;
  margin-top: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.accordion-active {
  background-color: #e9e9e9;
  font-weight: bold;
}

.accordion__rotate {
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.accordion__title-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Accordion de estado (CCT / Legislação) */
.state-accordion {
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}
.state-summary {
  background: #2c3e50;
  color: white;
  padding: 15px;
  cursor: pointer;
  font-weight: bold;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.state-summary::-webkit-details-marker { display: none; }
.state-content {
  padding: 10px;
  background: #f9f9f9;
}
.card-list {
  padding: 10px;
  background: white;
}
.card-item {
  padding: 15px 10px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}
.card-item:last-child { border-bottom: none; }
.card-item p { margin-bottom: 5px; }

.btn-doc {
  display: inline-block;
  margin-top: 5px;
  color: #e74c3c;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 12px;
  background: #fdf2f1;
  border-radius: 4px;
  border: 1px solid #fadbd8;
}
.btn-doc:hover {
  text-decoration: none;
  background: #fadbd8;
  color: #c0392b;
}
