:root {
  /* Archify brand colors */
  --blue-archi-lighter: #80DEFE;      
  --blue-archi-light: #006EE5;      
  --blue-archi-dark: #0122ad;      
  --background-blue-light: #F6FAFF; 
  --text-blue-dark: #212e41;     
  --background-white: #ffffff;
  --background-anim: #DBE3F0;    
    

  /* Spacing */
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;

  /* Typography */
  --font-family: 'Times New Roman', Times, serif;
}

#cause-cons{
    display: flex;
    flex-direction: row;
    padding: 2rem 0rem;
    margin: 2rem 0rem;
    min-height: 100vh;
}

#cause-cons .columns {
    display: flex;
    flex-direction: column;
    width: 50%;
    text-align: center;
    padding: 0px 5%;
    margin: 3rem 0px;
}

#cause-cons .title{
    text-align: center;
    justify-content: center;
    width: auto;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}
#cause-cons .subtitle{
    text-align: center;
    justify-content: center;
    width: auto;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    
    padding: 5rem 0rem;
}
#cause-cons .description{
    text-align: center;
    justify-content: center;
    width: auto;
    font-size: clamp(0.95rem, 1vw, 1rem);
    padding-top: 5rem;
}
#cause-cons .title-separator{
    border: none;
    border-top: 2px solid var(--blue-archi-light);
    margin: 0rem 40%;
}

#cause-cons #col1{
    border-right: 1.5px solid var(--blue-archi-dark);
}


.cause-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

#cause-cons .cause-item {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    width: 190px;
}

#cause-cons .cause-icon-wrap {
    box-sizing: border-box;
    flex-shrink: 0;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 2px solid #1e6fd9;
    overflow: hidden;
    margin: 0 auto 2rem auto;   /* centers the wrap itself in case parent isn't centering it */
    display: flex;
    align-items: center;
    justify-content: center;
}

#cause-cons .cause-icon {
    display: block;
    max-width: 70%;
    max-height: 70%;
    margin: 0 auto;               /* belt-and-suspenders centering */
    object-fit: contain;
}

#cause-cons .cause-title {
    display: block;
    width: 100%;
    font-size: clamp(0.95rem, 1.2vw, 2rem);
    line-height: 1.3;
}



@media (max-width: 1400px) {

    #cause-cons .cause-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0rem 1rem 1rem 0rem;
    }

    #cause-cons .cause-icon-wrap {
        width: 100px;
        height: 100px;
    }
    #cause-cons .cause-item {
        width: 100px;
    }

}



@media (max-width: 1024px) {

    #cause-cons{
        flex-direction: column;
    }

    #cause-cons .subtitle{
        padding: 3rem 0rem;
    }

    #cause-cons .columns {
        width: 100%;
    }

    #cause-cons #col1{
        border-right: 0px solid var(--blue-archi-dark);
    }
    #cause-cons #col1{
        border-right: 0px solid var(--blue-archi-dark);
    }

    #cause-cons .cause-list {
        gap: 1rem;
    }

    #cause-cons .cause-icon-wrap {
        width: 64px;
        height: 64px;
        margin-bottom: 1rem;
    }
    #cause-cons .cause-item {
        width: 200px;
    }
}




@media (max-width: 480px) {


    #cause-cons .title{
    }
    #cause-cons .subtitle{
    }
    #cause-cons .description{
    }
    
    #cause-cons .cause-item {
        width: 80px;
    }
}
