/*<--------------------------------------------------->
<!-- ProblemaCards (section component) -->
<!----------------------------------------------------->
* Description: Three-card grid inside #problema, each card
*              carries a numbered label, headline, and body.
* Dependencies: style.css (custom properties, sectionHeader)
<!--------------------------------------------------->*/

/*###################################################*/
/*...................................................*/
/* problema                                          */
/*...................................................*/
/*###################################################*/

.problema {
    display: flex;
    align-items: center;
    justify-content: center;
    
}

/*###################################################*/
/*...................................................*/
/* end problema                                      */
/*...................................................*/
/*###################################################*/

/*###################################################*/
/*...................................................*/
/* problema cards grid                               */
/*...................................................*/
/*###################################################*/

.problemaCards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 3rem;
    border: 1px solid hsla(0, 0%, 100%, 0.08);
    border-radius: 12px;
    overflow: hidden;

    @media (min-width: 768px) {
        grid-template-columns: repeat(3, 1fr);
    }
}

/*###################################################*/
/*...................................................*/
/* end problema cards grid                           */
/*...................................................*/
/*###################################################*/

/*###################################################*/
/*...................................................*/
/* problema card                                     */
/*...................................................*/
/*###################################################*/

.problemaCard {
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-bottom: 1px solid hsla(0, 0%, 100%, 0.08);

    &:last-child {
        border-bottom: none;
    }

    @media (min-width: 768px) {
        border-bottom: none;
        border-right: 1px solid hsla(0, 0%, 100%, 0.08);
        padding: 2.5rem 2rem;

        &:last-child {
            border-right: none;
        }
    }

    @media (min-width: 991px) {
        padding: 3rem 2.5rem;
    }
}

.problemaCardNum {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    color: hsla(0, 30%, 96%, 0.3);
    letter-spacing: 0.05em;
    line-height: 1;
}

.problemaCardTitle {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1rem, 1.4vw, 1.35rem);
    font-weight: 700;
    line-height: 1.2;
    color: hsla(0, 0%, 100%, 1);
}

.problemaCardBody {
    margin: 0;
    font-family: var(--font-body);
    font-size: clamp(0.8rem, 0.95vw, 0.95rem);
    line-height: 1.65;
    color: hsla(0, 30%, 96%, 0.5);
}

/*###################################################*/
/*...................................................*/
/* end problema card                                 */
/*...................................................*/
/*###################################################*/

/*###################################################*/
/*...................................................*/
/* problema bubble */
/*...................................................*/
/*###################################################*/


.problemaBubbles{
    list-style: none;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
    flex-direction: column;
    padding: 0.5rem;
    margin: 3rem 0 0;

    @media (min-width: 768px) {
      flex-direction: row;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
    }
}

.problemaBubble{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.3rem;
    padding: 0.3rem;
    border-radius: 9px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.08);

    & span {
        white-space: nowrap;
    }
}

.fa-circle-arrow-right{
    font-size: 1rem;
    color: var(--contrast);
}

/*###################################################*/
/*...................................................*/
/* end problema bubble */
/*...................................................*/
/*###################################################*/
