/* ==========================================
   Firouze Design System
   Cards v1.0
========================================== */


/*=========================================================
  SERVICES DESKTOP — 1100px / 5 CARDS
=========================================================*/

@media (min-width: 992px) {

    /*-----------------------------------------
      MAIN SERVICES CONTAINER
    -----------------------------------------*/

    .web-taxonomy-section {

        width: 1050px;
        max-width: 1050px;

        margin-left: auto;
        margin-right: auto;

        padding-left: 0;
        padding-right: 0;

        box-sizing: border-box;

    }


    /*-----------------------------------------
      REMOVE BOOTSTRAP ROW SPACING
    -----------------------------------------*/

    .web-taxonomy-section > .row {

        width: 100%;

        margin-left: 0;
        margin-right: 0;

        padding-left: 0;
        padding-right: 0;

    }


    .web-taxonomy-section .col-12 {

        width: 100%;

        padding-left: 0;
        padding-right: 0;

    }


    /*-----------------------------------------
      SERVICES GRID
    -----------------------------------------*/

    .web-taxonomy-section
    .col-12 > .row {

    width: 1080px;
    max-width: 1080px;

    display: flex;
    flex-wrap: wrap;

    justify-content: center;

    gap: 25px;

    margin: 0 auto;

    padding: 0;

    box-sizing: border-box;

    }


    /*-----------------------------------------
      SERVICE CARD
    -----------------------------------------*/

    .web-taxonomy-section
    .cardtop {

        width: 100%;

width: 190px;

max-width: 190px;
        min-width: 190;

        height: 245px;

        display: flex;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        box-sizing: border-box;

        text-decoration: none !important;

    }


    /*-----------------------------------------
      IMAGE
    -----------------------------------------*/

    .web-taxonomy-section
    .cardtop img {

        width: 100%;

        height: auto;

        display: block;

        object-fit: contain;

        margin-bottom: 10px;

    }


    /*-----------------------------------------
      TITLE
    -----------------------------------------*/

    .web-taxonomy-section
    .cardtop p {

        margin: 0 0 12px 0;

        padding: 0;

        line-height: 1.7;

        text-align: center;

    }


    /*-----------------------------------------
      REMOVE EXTRA UNDERLINE
    -----------------------------------------*/

    .web-taxonomy-section
    .cardtop,
    .web-taxonomy-section
    .cardtop:hover {

        text-decoration: none !important;

    }

}

/*=========================================================
  SERVICES MOBILE
=========================================================*/

@media (max-width: 991px) {

    /*-----------------------------------------
      INNER ROW
    -----------------------------------------*/

    .web-taxonomy-section .col-12 > .row {

        display: flex;

        flex-wrap: wrap;

        justify-content: center;

        gap: 20px;

        margin-left: 0;

        margin-right: 0;

    }


    /*-----------------------------------------
      SERVICE CARD
    -----------------------------------------*/

    .web-taxonomy-section .cardtop {

        flex: 0 0 calc(50% - 10px);

        width: calc(50% - 10px);

        max-width: 200px;

        height: 280px;

        margin: 0 !important;

        display: flex;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        box-sizing: border-box;

    }


    /*-----------------------------------------
      IMAGE
    -----------------------------------------*/

    .web-taxonomy-section .cardtop img {

        width: 190px;

        height: 220px;

        max-width: 100%;

        object-fit: contain;

        margin-bottom: 0;

    }


    /*-----------------------------------------
      TITLE
    -----------------------------------------*/

    .web-taxonomy-section .cardtop p {

        font-size: 14px;

        margin-top: 0;

        margin-bottom: 4px;

        padding: 0;

        line-height: 1.4;

        text-align: center;

    }


    /*-----------------------------------------
      REMOVE EXTRA HOVER LINE
    -----------------------------------------*/

    .web-taxonomy-section .cardtop.hvr-underline-from-center2::before {

        display: none !important;

    }


    /*-----------------------------------------
      MORE BUTTON
    -----------------------------------------*/

    .web-taxonomy-more {

        width: 100%;

        display: flex;

        justify-content: center;

        margin-top: var(--space-lg);

        margin-bottom: var(--space-3xl);

    }

}


/*=========================================================
  SERVICES MORE BUTTON — ALL DEVICES
=========================================================*/

.web-taxonomy-more {

    width: 100%;

    display: flex;

    justify-content: center;

    margin-top: var(--space-lg);

    margin-bottom: var(--space-3xl);

}