.diagramacao-2col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.diagramacao-2col img {
  flex-shrink: 1;
  object-fit: none;
}

.diagramacao-2col p,
.diagramacao-2col ul {
  line-height: 1.7;
  padding-bottom: 0.4rem;
}

@media (min-width: 768px) {
  .diagramacao-2col {
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
  }
}

/* Table styles */
.ciman__table {
  /* min-width: 280px; */
  /* margin: 0 auto 2rem; */
  font-size: 0.7rem;
}
.ciman__table th,
.ciman__table td {
  padding: 0.2rem;
  text-align: center;
}
.ciman__table-obs {
  text-transform: none;
  font-weight: 400;
}
.ciman__table i {
  font-size: 1.4rem;
}
.fa-regular {
  color: rgba(0, 0, 0, 0.5);
}
.ciman__table a {
  text-decoration: none;
  color: var(--primary-color-500);
}
.ciman__table a:hover {
  color: var(--primary-color-600);
}
table {
  width: auto;
}
.equipe--ul {
  font-size: 0.9rem;
}

iframe {
  display: block;
  width: calc(90% - 1rem);
  height: auto;
  margin: 0 0.5rem 1rem 0.5rem;
  padding: 0;
  border: 0;
  overflow: hidden;
}

@media (min-width: 768px) {
  .ciman__table {
    font-size: 0.75rem;
  }
  .ciman__table th,
  .ciman__table td {
    padding: 0.4rem 1rem;
    text-align: center;
  }
  .ciman__table tr {
    height: 2.5rem;
  }
}

/* Tables container */
.tables-tile {
  width: 100%;
  overflow-x: auto;
}

.tables-tile .ciman__table {
  table-layout: auto;
}

.tables-tile .ciman__table th:first-child,
.tables-tile .ciman__table td:first-child {
  text-align: left;
  white-space: nowrap;
}

/* Lista de datas dentro da célula "Datas" de cada mês, quebrando a linha conforme o espaço disponível */
.ciman__lista-datas {
  display: flex;


  flex-wrap: wrap;
  gap: 0.6rem 0.75rem;
}

.ciman__data-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  text-decoration: none;
  color: var(--primary-color-500);
  white-space: nowrap;
}

.ciman__data-item a:hover {
  color: var(--primary-color-600);
}

.ciman__mensagem-vazia {
  color: var(--neutral-gray-500);
  font-style: italic;
}

/* Seletor de anos dos boletins */
.ciman__seletor-ano {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.5rem;
}

.ciman__botao-ano {
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem 1.5rem;
  border: 2px solid var(--primary-color-500);
  border-radius: 999px;
  background-color: transparent;
  color: var(--primary-color-500);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 200ms ease-out, color 200ms ease-out;
}

.ciman__botao-ano:hover {
  background-color: var(--primary-color-50);
}

.ciman__botao-ano:focus-visible {
  outline: 3px solid var(--primary-color-400);
  outline-offset: 2px;
}

.ciman__botao-ano--ativo {
  background-color: var(--primary-color-500);
  color: var(--text-on-dark);
}

.ciman__botao-ano--ativo:hover {
  background-color: var(--primary-color-600);
}

.ciman__erro-carregamento {
  color: var(--feedback-error);
  font-weight: 600;
  text-align: center;
}

/* Tabela de camadas de referência dos cruzamentos */
.ciman__table-camadas th,
.ciman__table-camadas td {
  text-align: center;
  padding-right: 0.4rem;
}

.ciman__table-camadas th:nth-child(1),
.ciman__table-camadas td:nth-child(1),
.ciman__table-camadas th:nth-child(2),
.ciman__table-camadas td:nth-child(2),
.ciman__table-camadas th:nth-child(3),
.ciman__table-camadas td:nth-child(3),
.ciman__table-camadas td:nth-child(4) {
  text-align: left;
}