/* =========================================
   INDUSTRY GRID
========================================= */

.industry-grid {

    margin: 0 auto;


    box-sizing: border-box;
    padding: 80px 0;


}

.industry-grid .container {
    display: grid;

    grid-template-columns: 1.1fr 0.9fr;

    column-gap: 15px;

    color: var(--industry-text-color);

    border: none;
    outline: none;
}


/* =========================================
   INTRO
========================================= */

.industry-grid__intro {
    padding-top: 15px;
}


/* =========================================
   TITLE
========================================= */

.industry-grid__title {
    margin: 0 0 16px;

    max-width: 642px;


    line-height: 1.05;

    font-weight: 700;

    color: var(--industry-title-color);
}


/* =========================================
   SUBTITLE
========================================= */

.industry-grid__subtitle {
    max-width: 340px;

    margin: 0 0 8px;


    line-height: 1.4;

    font-weight: 700;

    color: var(--industry-text-color);
}


/* =========================================
   DESCRIPTION
========================================= */

.industry-grid__description {
    width: 100%;
    max-width: 642px;

    margin: 0;


    line-height: 1.6;

    font-weight: 400;

    color: var(--industry-text-color);

    opacity: 0.8;
}


/* =========================================
   INDUSTRY ITEMS / GRID
========================================= */

.industry-grid__items {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    width: 100%;

    min-height: 190px;

    padding-top: 12px;

    box-sizing: border-box;

    border: none;

    outline: none;
}


/* =========================================
   GRID ITEM
========================================= */

.industry-grid__item {
    min-height: 92px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    box-sizing: border-box;

    text-align: center;

    color: var(--industry-text-color);

    /*
     * ONLY INTERNAL GRID LINES
     */
    border-left: 1px solid var(--industry-border-color);

    border-bottom: 1px solid var(--industry-border-color);
}


/* =========================================
   REMOVE OUTER EDGES
========================================= */

/* First row */

.industry-grid__item:nth-child(-n + 3) {
    border-top: none;
}


/* First column */

.industry-grid__item:nth-child(3n + 1) {
    border-left: none;
}


/* Bottom row */

.industry-grid__item:nth-child(n + 4) {
    border-bottom: none;
}


/* =========================================
   ICON
========================================= */

.industry-grid__icon {
    width: 28px;

    height: 28px;

    margin-bottom: 10px;

    object-fit: contain;

    display: block;

    border: none;

    outline: none;

    /*
     * COLOR IS CONTROLLED BY PHP
     *
     * White:
     * brightness(0) invert(1)
     *
     * Grey #515151:
     * brightness(0) invert(31.8%)
     *
     * Black:
     * brightness(0)
     */

    filter: var(--industry-icon-filter);
}


/* =========================================
   ITEM TEXT
========================================= */

.industry-grid__item p {
    margin: 0;




    line-height: 1.3;

    font-weight: 400;

    color: var(--industry-text-color);
}


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

@media (max-width: 900px) {

    .industry-grid {
        max-width: 100%;

        grid-template-columns: 0.9fr 1.1fr;

        column-gap: 20px;

        padding: 25px 20px;
    }


    .industry-grid .container {
        display: block;
    }

    .industry-grid__item {
        border: none ! important;
    }


    /* SUBTITLE */

    .industry-grid__subtitle {
        max-width: 280px;
    }


    /* DESCRIPTION */


    /* GRID */

    .industry-grid__items {
        min-height: 170px;

        padding-top: 10px;
    }


    /* GRID ITEM */

    .industry-grid__item {
        min-height: 82px;
    }


    /* ICON */

    .industry-grid__icon {
        width: 25px;

        height: 25px;

        margin-bottom: 8px;
    }


    /* TEXT */



}


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

@media (max-width: 650px) {


    .industry-grid__item {
        width: 100%;
        margin-bottom: 15px;
    }

    .industry-grid {

        grid-template-columns: 1fr;

        row-gap: 30px;

        padding: 30px 20px;
    }


    /* INTRO */

    .industry-grid__intro {
        padding-top: 0;
    }


    /* TEXT WIDTH */

    .industry-grid__title,
    .industry-grid__subtitle,
    .industry-grid__description {
        max-width: 100%;
    }




    /* SUBTITLE */



    /* DESCRIPTION */



    /* TWO-COLUMN GRID */

    .industry-grid__items {

        grid-template-columns: repeat(1, 1fr);

        min-height: auto;

        width: 100%;

        padding-top: 8px;
    }


    /* GRID ITEMS */

    .industry-grid__item {

        min-height: 90px;

        border-left: 1px solid var(--industry-border-color);

        border-bottom: 1px solid var(--industry-border-color);

        border-top: none;
    }


    /* FIRST COLUMN */

    .industry-grid__item:nth-child(2n + 1) {
        border-left: none;
    }


    /* FIRST ROW */

    .industry-grid__item:nth-child(-n + 2) {
        border-top: none;
    }


    /* BOTTOM ROW */

    .industry-grid__item:nth-child(n + 5) {
        border-bottom: none;
    }


    /* ICONS */

    .industry-grid__icon {
        width: 25px;

        height: 25px;

        margin-bottom: 8px;
    }


    /* TEXT */

    .industry-grid__item p {


        line-height: 1.3;

    }

}


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

@media (max-width: 400px) {

    .industry-grid {

        padding: 25px 15px;

        row-gap: 25px;
    }





    /* DESCRIPTION */

    .industry-grid__description {



        line-height: 1.55;
    }


    /* GRID */

    .industry-grid__items {
        padding-top: 6px;
    }


    /* GRID ITEM */

    .industry-grid__item {
        min-height: 82px;
    }


    /* ICON */

    .industry-grid__icon {

        width: 23px;

        height: 23px;

        margin-bottom: 7px;
    }


    /* ITEM TEXT */



}