.formacao {
  .card {
    border: 2px solid #F40100;
    border-radius: 8px 32px 64px 32px;
    
    overflow: hidden;
    position: relative;

    height: auto;
    min-height: 500px;

    box-shadow: 0px 0px 32px 0px #0000001A;

  }

  .card-header {
    margin: -2px 0 -2px -2px;
    padding: 0; 

    border: none;
    width: 37%;

    background-color: #F40100;
    border-radius: 8px 0 64px 32px!important;
    background-image: url("../../../../images/mapa-brasil-mais.png");
    background-repeat: no-repeat;
    background-position: top 50% right 50%;

    h5 {
      padding: 10px;
    }
  }

  .card-title {
    font-weight: 500;
    font-size: 12px;
    color: #0A0A0A;
    background-color:  #FFE7E7;
    padding: 5px;
    border-radius: 8px 4px 8px 4px;
    width: fit-content;
  }

  .card-body ul li {
    font-weight: 500;
    font-size: 12px;
    margin-bottom: 4px;
  }

  .card-text {
    font-weight: 700;
    font-size: 20px;
    color: #0A0A0A;
    margin-bottom: 12px;
  }

  hr:not([size]) {
    height: 1px;
    background-color: #0A0A0A!important;
    opacity: 1;
  }

   .titulo-programa {
    font-weight: 600;
    font-size: 11.2px;
    text-align: center;
    white-space: wrap;

    span {
      font-weight: 500;
      font-size: 22.4px;
    }
  }

}

.formacao-programa {
  .card-body {
    height: auto;
    min-height: auto !important;
    width: 63%;
    padding-bottom: 90px;
  }
}

.info-card {
  font-weight: 500;
  font-size: 12px;
  color: #0A0A0A;
}

.saude-mental {
  .card {
    border: 2px solid var(--bg-card);
  }
  
  .card-title {
    background-color:  var(--bg-tag);
  }

  .card-header {
    background-color: var(--bg-card);
  }

  .botao-card-curso {
    border: 2px solid var(--bg-card);
  }
}

.botao-card-curso:hover {
  color: #fff;
}

@media only screen and (max-width: 768px) {
  .formacao {
    .card {
      min-height: 600px;
    }

    .card-header {
      margin: 0; 
      padding: 40px;
      width: 100%;
    }

    .card-body {
      width: 100%;
      /* min-height: 500px ; */
    }
  }

}

@media only screen and (min-width: 992px) and (max-width: 1200px) {
  .formacao {
    .card {
      min-height: 600px;
    }
  }
}

.dark-mode {
  .card-title {
    background-color: #FFE7E7;
  }

  .saude-mental {
    .card-title {
      background-color: var(--bg-tag);
      color: #000;
    }
  }

  .saude-mulher {
    .card-title {
      background-color: #FFE7E7;
      color: #000;
    }
  }
}


