/* =========================================================
   TOUR FACTS
   ========================================================= */

.tour-facts {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin: 0;
    padding: 14px 0;
}


/* =========================================================
   TOUR FACT
   ========================================================= */

.tour-fact {
    display: flex;
    align-items: center;
    gap: 8px;

    min-width: 0;
    min-height: 42px;

    padding: 3px 10px;
}

.tour-fact:first-child {
    padding-left: 0;
}

.tour-fact:last-child {
    padding-right: 0;
}


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

.tour-fact > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 28px;

    width: 28px;
    height: 28px;

    color: var(--color-primary);
    background-color: var(--color-primary-light);

    border-radius: 5px;

    font-size: 13px;
    line-height: 1;
}


/* =========================================================
   CONTENT
   ========================================================= */

.tour-fact > div {
    display: flex;
    flex-direction: column;
    justify-content: center;

    min-width: 0;
    height: 100%;

    gap: 1px;
}


.tour-fact strong {
    display: block;

    margin: 0;

    color: var(--color-text);

    font-family: var(--font-family);

    font-size: 12px;
    font-weight: 700;

    line-height: 1.25;

    white-space: nowrap;
}


.tour-fact span {
    display: block;

    margin: 0;

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

    font-family: var(--font-family);

    font-size: 10.5px;
    font-weight: 400;

    line-height: 1.25;

    white-space: nowrap;

    overflow: hidden;
    text-overflow: ellipsis;
}


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

@media (max-width: 1000px) {

    .tour-facts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 12px;
    }

    .tour-fact {
        padding: 3px 10px;
    }

    .tour-fact:nth-child(3n + 1) {
        padding-left: 0;
    }

    .tour-fact:nth-child(3n) {
        padding-right: 0;
    }

}


/* =========================================================
   MOBILE TOUR FACTS
   ========================================================= */

@media (max-width: 700px) {

    .tour-facts {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(3, auto);
        grid-auto-flow: column;

        column-gap: 16px;
        row-gap: 5px;

        padding: 9px 0;
    }

    .tour-fact {
        display: flex;
        align-items: center;

        min-width: 0;
        min-height: 42px;

        gap: 7px;
        padding: 3px 0;
    }

    /* ICON */

    .tour-fact > i {
        flex: 0 0 32px;

        width: 30px;
        height: 30px;

        border-radius: 6px;

        font-size: 13px;
    }

    /* TEXT */

    .tour-fact > div {
        min-width: 0;

        display: flex;
        flex-direction: column;
        justify-content: center;

        gap: 1px;
    }

    .tour-fact strong {
        font-size: 12px;
        font-weight: 800;
        line-height: 1.2;

        white-space: nowrap;
    }

    .tour-fact span {
        font-size: 11.5px;
        line-height: 1.25;

        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}


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

@media (max-width: 420px) {

    .tour-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(3, auto);
        grid-auto-flow: column;

        column-gap: 10px;
        row-gap: 2px;

        padding: 6px 0;
    }

    .tour-fact {
        min-height: 34px;

        gap: 5px;
        padding: 2px 0;
    }

    /* ICON */

    .tour-fact > i {
        flex: 0 0 26px;

        width: 26px;
        height: 26px;

        border-radius: 5px;

        font-size: 12px;
    }

    /* TEXT */

    .tour-fact > div {
        gap: 0;
    }

    .tour-fact strong {
        font-size: 12px;
        font-weight: 700;
        line-height: 1.15;
    }

    .tour-fact span {
        font-size: 11px;
        line-height: 1.15;

        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}