.list-course {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 colunas */
  gap: 30px; /* Espaçamento entre os boxes */
  padding: 0;
  list-style: none;
}

.list-course li {
  background-color: #f5f5f5;
  border-radius: 8px;
  padding: 0;
  list-style: none;
  overflow: hidden;
  box-shadow: 5px 5px 7px rgba(0, 0, 0, 0.3);
}

.course-link {
  height: 100%;
  display: flex;
  background-size: auto;
  background-position: center;
}

.course-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  position: relative;
  z-index: 2;
}

.curso-sigla {
  background-color: #95292d;
  color: #fff;
  padding: 5px 10px;
  border-bottom-right-radius: 8px;
  font-weight: bold;
  margin: 0;
  width: fit-content;
}

.curso-nome {
  text-align: center;
  margin: 10px 0;
  padding: 15px;
  text-transform: uppercase;
  font-size: 0.9rem;
  line-height: 1.3rem;
  font-weight: 400;
}

.list-course .course-link .course-details .elementor-button.btn-vercurso {
  align-self: center;
  margin-bottom: 15px !important;
  background-color: var(--e-global-color-el_color_7);
  background-image: var(--e-global-color-el_color_7);
  font-weight: 400 !important;
  text-transform: uppercase !important;
  font-size: 0.8rem !important;
  text-decoration: none !important;
  border: 1px solid var(--e-global-color-el_color_7_1) !important;
  color: var(--e-global-color-el_color_7_1) !important;
  background: transparent;
}

.list-course .course-link .course-details .elementor-button.btn-vercurso:hover {
  background-color: var(--e-global-color-el_color_7_1);
  background-image: var(--e-global-color-el_color_7_1);
  color: var(--e-global-color-el_color_0) !important;
}

/* Responsividade para telas menores */
@media (max-width: 1024px) {
  .list-course {
    grid-template-columns: repeat(3, 1fr); /* 3 colunas para telas médias */
  }
}

@media (max-width: 768px) {
  .list-course {
    grid-template-columns: repeat(2, 1fr); /* 2 colunas para telas menores */
  }
}

@media (max-width: 480px) {
  .list-course {
    grid-template-columns: repeat(1, 1fr); /* 1 coluna para telas pequenas */
  }
}

.header-curso {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  height: 300px;
  background-size: auto;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  justify-content: center;
}

.header-curso:before {
  content: "";
  position: absolute;
  background: #fff;
  height: 100%;
  width: 100%;
  opacity: 0.5;
  z-index: 1;
}

.tit-curso-det {
  position: relative;
  z-index: 2;
  text-align: center;
}

.tit-curso-det p {
  background-color: #95292d;
  color: #fff;
  padding: 5px 10px;
  border-bottom-right-radius: 8px;
  font-weight: bold;
  margin: 0;
  width: fit-content;
  margin: 0 auto;
}

.tit-curso-det h1 {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 2.2em;
  margin-top: 20px;
}

.content-curso {
}

.content-curso > div {
  display: flex;
  justify-content: space-between; /* Mantém os itens alinhados */
  gap: 10px; /* Adiciona espaçamento entre os itens */
  background-color: #f3f3f3;
  border: 1px solid #dedede;
  padding: 20px;
}

.content-curso .item {
  flex: 1; /* Distribui igualmente o espaço disponível */
  display: flex;
  flex-direction: column;
  align-items: center; /* Centraliza o conteúdo */
  text-align: center; /* Centraliza o texto */
  justify-content: center;
  border-left: 1px solid #dddddd;
}

.content-curso .item:first-child {
  border-left: none;
}

.content-curso > h4 {
  margin-top: 30px;
}

.content-curso .item img {
  max-width: 135px;
}

.item p {
  text-transform: uppercase;
  font-weight: 300;
  font-size: 0.8em;
}

.item h4 {
  font-size: 1em;
  text-transform: uppercase;
  font-weight: 600;
}

/* LISTA DE TURMAS */
/* Reset básico */
.calendario-cursos {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: Arial, sans-serif;
}

/* Estilo do item da lista */
.calendario-cursos li {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(38, 50, 56, 0.1);
  margin-bottom: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(38, 50, 56, 0.1);
}

.calendario-cursos li:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(38, 50, 56, 0.2);
}

/* Layout das seções */
.sec-part1,
.sec-part2 {
  padding: 20px;
}

.sec-part1 {
  border-bottom: 1px solid rgba(38, 50, 56, 0.1);
}

/* Estilo da sigla do curso */
.sigla {
  color: #95292d;
  font-weight: bold;
  text-transform: uppercase;
  margin: 0 0 10px 0;
  font-size: 1.2em;
}

/* Nome do curso */
.curso-name {
  color: #263238;
  margin: 0 0 15px 0;
  font-size: 1.4em;
  line-height: 1.3;
  text-transform: capitalize;
}

/* Informações do curso */
.sec-part1 p {
  color: #263238;
  margin: 8px 0;
  font-size: 0.95em;
}

.sec-part1 p strong {
  color: #95292d;
  margin-left: 5px;
}

/* Botão de interesse */
.button-grid {
  display: inline-block;
  background-color: #95292d;
  color: #fff !important;
  padding: 12px 24px;
  text-decoration: none !important;
  border-radius: 4px;
  transition: background-color 0.2s ease;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.9em;
}

.button-grid:hover {
  background-color: rgba(149, 41, 45, 0.9);
}

/* Layout responsivo */
@media (min-width: 768px) {
  .calendario-cursos li {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .sec-part1 {
    border-bottom: none;
    flex: 1;
  }

  .sec-part2 {
    padding-left: 0;
  }
}
