/* ===== Sistema Integrado de Gestión ===== */

/* Section titles (h2) */
.sig-section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0943b5;
  margin: 2.5rem 0 1rem;
}

.sig-section-title:first-of-type {
  margin-top: 1.5rem;
}

/* Subsection titles (h3) */
.sig-subsection-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0943b5;
  margin: 1.5rem 0 0.75rem;
}

/* Section content */
.sig-section-content {
  line-height: 1.7;
  color: #4b4b4b;
  margin-bottom: 1rem;
}

.sig-section-content ul {
  padding-left: 1.5rem;
  margin: 0.5rem 0;
}

.sig-section-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Mapas intro */
.sig-mapas-intro {
  color: #4b4b4b;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Process map container (inline SVG) */
.sig-mapa-container {
  margin: 1.5rem auto;
  max-width: 500px;
  overflow: visible;
}

/* Aprobado date */
.sig-aprobado {
  font-size: 1rem;
  font-weight: 700;
  color: #0943b5;
  margin: 1rem 0;
}

/* Download links */
.sig-download-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.sig-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid #c7013d;
  border-radius: 8px;
  background: #fff;
  color: #4b4b4b;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.sig-download-btn:hover {
  background-color: #c7013d;
  color: #fff;
}

.sig-download-btn svg {
  flex-shrink: 0;
  color: #c7013d;
}

.sig-download-btn:hover svg {
  color: #fff;
}

.sig-download-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.sig-download-date {
  color: #4b4b4b;
  font-size: 0.95rem;
}

/* Historial list */
.sig-historial-list {
  padding-left: 1.5rem;
  margin: 0.5rem 0 1.5rem;
}

.sig-historial-list li {
  margin-bottom: 0.4rem;
  line-height: 1.5;
}

.sig-historial-list a {
  color: #0943b5;
  text-decoration: underline;
}

.sig-historial-list a:hover {
  color: #072d7a;
}

/* Accordion body link lists */
.node--sig .organigrama-accordion__body ul {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
}

.node--sig .organigrama-accordion__body li {
  margin-bottom: 0.35rem;
  line-height: 1.5;
}

.node--sig .organigrama-accordion__body a {
  color: #0943b5;
  text-decoration: underline;
}

.node--sig .organigrama-accordion__body a:hover {
  color: #072d7a;
}

/* Responsive */
@media (max-width: 768px) {
  .sig-section-title {
    font-size: 1.35rem;
  }

  .sig-download-btn {
    font-size: 0.9rem;
    padding: 0.7rem 1rem;
  }
}
