#RISC-Blocks_Spotlight-container {
  display: flex;
  width: 100%;
  margin-bottom: 62px; /* Espaço abaixo do slider */
  margin-top: -130px;
}

.RISC-Blocks_Spotlight-imagens {
  background-color: black;
  flex: 0 0 530px; /* Largura fixa em 530px */
  height: 400px; /* Altura fixa em 400px */
  position: relative; /* Posição relativa para posicionar a imagem absolutamente */
  overflow: hidden; /* Impede que a imagem exceda o tamanho do container */
}

.RISC-Blocks_Spotlight-imagem {
  height: 100%; /* Altura total do container */
  width: 100%; /* Largura total do container */
  display: flex; /* Usa flexbox para alinhar a imagem */
  justify-content: center; /* Centraliza horizontalmente */
}

.RISC-Blocks_Spotlight-imagem img {
  height: 100%; /* Faz a imagem pelo menos preencher a altura total */
  width: 100%; /* Faz a imagem pelo menos preencher a largura total */
  object-fit: cover; /* Garante que a imagem cubra toda a área, cortando o excesso */
}

.RISC-Blocks_Spotlight-titulos {
  display: flex;
  flex-direction: column;
  flex: 1;
  background-color: white;
  height: 400px; /* Altura igual à das imagens */
}

.RISC-Blocks_Spotlight-titulo {
  flex: 1;
  color: #515151cc;
  background-color: #f2f2f2;
  transition: background-color 0.5s, color 0.5s;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 20px;
  margin: 0;
  border: none;
}

.highlight {
  background-image: linear-gradient(260deg, #c0c0c0, #e0e0e0);
  color: #282828;
  transition: background-color 0.5s, color 0.5s;
}

@media (max-width: 850px) {
  #RISC-Blocks_Spotlight-container {
    flex-direction: column;
  }

  .RISC-Blocks_Spotlight-imagens {
    width: 100%; /* Largura é 100% da tela */
    height: auto; /* Altura ajusta-se automaticamente */
    flex: 0 0 330px; /* Largura fixa em 530px */
  }

  .RISC-Blocks_Spotlight-imagem img {
    object-fit: cover; /* Mantém o cover mesmo em dispositivos móveis */
  }

  .RISC-Blocks_Spotlight-titulos {
    order: 1;
    height: auto; /* Altura automática para dispositivos móveis */
  }

  .RISC-Blocks_Spotlight-titulo {
    text-align: center;
    justify-content: center;
    padding: 10px;
  }
}

.read-more-button {
  background-color: white;
  color: black;
  text-decoration: none;
  padding: 5px 10px;
  border: 1px solid black;
  border-radius: 5px;
  font-size: 12px;
  margin-right: 20px;
  align-self: center;
}
