/**
 * Fichier  : /pages/homepage/section-2/assets/css/pillars.css
 * Fonction : présentation des piliers de l’expérience FWPL
 */


/* ==================================================
   PILLARS
================================================== */

#league .pillars {
    margin-bottom: 7em;
}

#league .pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

#league .pillars {
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
}


/* ==================================================
   PILLAR
================================================== */

#league .pillar {
    position: relative;
}

#league .pillar {
    min-height: 300px;
}

#league .pillar {
    padding: 2.5em;
}

#league .pillar {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 4em;
}

#league .pillar:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, .1);
}

#league .pillar > span {
    font-family: 'title-font';
    font-size: 3.5em;
    line-height: 1;
    color: rgba(255, 255, 255, .12);
}

#league .pillar > div {
    display: flex;
    flex-direction: column;
    gap: .75em;
}

#league .pillar small {
    font-family: 'content-font';
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, .42);
}

#league .pillar h3 {
    font-family: 'title-font';
    font-size: 3em;
    text-transform: uppercase;
    line-height: .95;
    color: var(--color-white);
}

#league .pillar p {
    max-width: 320px;
}

#league .pillar p {
    font-family: 'content-font';
    font-size: 13px;
    line-height: 1.65;
    color: rgba(255, 255, 255, .58);
}


/* ==================================================
   ACCENT
================================================== */

#league .pillar.accent {
    background:
        linear-gradient(145deg, rgba(212, 173, 86, .18), rgba(212, 173, 86, .035)),
        rgba(255, 255, 255, .02);
}

#league .pillar.accent::before {
    content: '';
}

#league .pillar.accent::before {
    position: absolute;
    top: -1px;
    left: 0;
}

#league .pillar.accent::before {
    width: 100%;
    height: 3px;
}

#league .pillar.accent::before {
    background: var(--gradient-primary-short);
}

#league .pillar.accent > span,
#league .pillar.accent h3 {
    color: var(--color-primary-light);
}


/* ==================================================
   TABLET
================================================== */

@media (max-width: 1100px) {

    #league .pillar {
        padding: 2em;
    }

}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 800px) {

    #league .pillars {
        margin-bottom: 5em;
    }

    #league .pillars {
        grid-template-columns: 1fr;
    }

    #league .pillar {
        min-height: auto;
    }

    #league .pillar {
        gap: 2.5em;
    }

    #league .pillar:not(:last-child) {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
    }

}
