.unidades-title {
   color: var(--Preto, #000);

    /* Desktop/Título - Acontece */
    font-family: Poppins;
    font-size: 38px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
}

.unidades-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
}

.unidades-card-link {
    text-decoration: none;
    display: block;
    margin-bottom: 20px;
}

.unidades-card-link:hover{
    opacity: 0.8;
}

/* Orange cards (has_student) */
.unidades-card-large {
    background-color: #F47F29;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 20px;
    height: 100px;
    width: 100%;
}

/* Gray cards (no student) */
.unidades-card-small {
    background-color: #78767B;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 20px;
    height: 100px;
    width: 100%;
}

.unidades-card-title {
    padding-bottom: 8px;
    color: var(--Branco, #FFF);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: Poppins;
    font-size: 19px;
    font-style: normal;
    font-weight: 500;
    text-transform: uppercase;
}

.unidades-card-subtitle {
   color: var(--Branco, #FFF);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: Poppins;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    text-transform: uppercase;
    padding-bottom: 0;
    margin-bottom: 0;
}

/* Responsive styles */
@media (max-width: 767px) {
    .unidades-section {
        margin: 20px auto;
    }
    
    .unidades-title {
        font-size: 24px;
        text-align: center;
    }
    
    .unidades-card-link {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .unidades-row {
        justify-content: flex-start;
    }
    
    /* Make the cards take up the full width of their column */
    .unidades-card-large,
    .unidades-card-small {
        height: 100px;
        width: 100%;
    }
}

@media (max-width: 1500px) {
  .unidades-card-title {
        font-size: 17px;
    }

    .unidades-card-subtitle {
        font-size: 13px;
    }
}

@media (max-width: 1300px) {
  .unidades-card-title {
        font-size: 15px;
    }

    .unidades-card-subtitle {
        font-size: 12px;
    }
}