/* ==========================================================
   SOLO-GYM
   Equipment
========================================================== */

.sg-equipment {
    width: 100%;
    padding: 110px 0 130px;

    background: #0d0d0d;
    color: #fff;
}

.sg-equipment .sg-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}


/* ==========================================================
   HEADER
========================================================== */

.sg-equipment__header {
    max-width: 760px;

    margin: 0 auto 85px;

    text-align: center;
}


.sg-equipment__eyebrow {
    display: inline-block;

    margin-bottom: 18px;

    color: #eab308;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}


.sg-equipment__title {
    margin: 0;

    color: #fff;

    font-size: clamp(44px, 6vw, 76px);
    line-height: .98;
    font-weight: 800;
    letter-spacing: -.045em;
}


.sg-equipment__intro {
    max-width: 650px;

    margin: 26px auto 0;

    color: #999;

    font-size: 18px;
    line-height: 1.65;
}


/* ==========================================================
   EQUIPMENT LIST
========================================================== */

.sg-equipment__list {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    column-gap: 70px;
    row-gap: 70px;
}


/* ==========================================================
   CATEGORY
========================================================== */

.sg-equipment__category {
    min-width: 0;
}


.sg-equipment__category-header {
    display: flex;
    align-items: center;

    gap: 20px;

    margin-bottom: 18px;
}


.sg-equipment__category-header::after {
    content: "";

    flex: 1;

    height: 1px;

    background: rgba(255, 255, 255, .14);
}


.sg-equipment__category-title {
    flex: 0 0 auto;

    margin: 0;

    color: #eab308;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: .16em;
    line-height: 1.2;
    text-transform: uppercase;
}


/* ==========================================================
   ITEMS
========================================================== */

.sg-equipment__items {
    margin: 0;
    padding: 0;

    list-style: none;

    border-top: 1px solid rgba(255, 255, 255, .07);
}


.sg-equipment__item {
    display: flex;
    align-items: center;

    min-height: 52px;

    padding: 12px 4px;

    border-bottom: 1px solid rgba(255, 255, 255, .07);

    color: #d2d2d2;

    transition:
        color .2s ease,
        padding-left .2s ease,
        background .2s ease;
}


.sg-equipment__item:hover {
    padding-left: 10px;

    background: rgba(255, 255, 255, .025);

    color: #fff;
}


/* ==========================================================
   ITEM MARK
========================================================== */

.sg-equipment__item-mark {
    flex: 0 0 auto;

    width: 5px;
    height: 5px;

    margin-right: 15px;

    border-radius: 50%;

    background: #eab308;

    opacity: .65;

    transition:
        opacity .2s ease,
        transform .2s ease;
}


.sg-equipment__item:hover
.sg-equipment__item-mark {
    opacity: 1;

    transform: scale(1.35);
}


.sg-equipment__item-text {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
}


/* ==========================================================
   LAST CATEGORY – FACILITIES
========================================================== */

.sg-equipment__category:last-child {
    grid-column: 1 / -1;

    max-width: 760px;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 900px) {

    .sg-equipment {
        padding: 80px 0 100px;
    }


    .sg-equipment .sg-container {
        width: min(100% - 32px, 700px);
    }


    .sg-equipment__header {
        margin-bottom: 60px;
    }


    .sg-equipment__intro {
        font-size: 16px;
    }


    .sg-equipment__list {
        column-gap: 35px;
        row-gap: 55px;
    }


    .sg-equipment__item-text {
        font-size: 14px;
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 600px) {

    .sg-equipment {
        padding: 65px 0 80px;
    }


    .sg-equipment .sg-container {
        width: calc(100% - 24px);
    }


    .sg-equipment__header {
        margin-bottom: 50px;
    }


    .sg-equipment__eyebrow {
        margin-bottom: 14px;
    }


    .sg-equipment__title {
        font-size: 43px;
    }


    .sg-equipment__intro {
        margin-top: 20px;

        font-size: 15px;
        line-height: 1.55;
    }


    /*
     * One category per row.
     */

    .sg-equipment__list {
        display: grid;

        grid-template-columns: 1fr;

        gap: 45px;
    }


    .sg-equipment__category:last-child {
        grid-column: auto;

        max-width: none;
    }


    .sg-equipment__category-header {
        gap: 14px;

        margin-bottom: 15px;
    }


    .sg-equipment__category-title {
        font-size: 11px;
    }


    .sg-equipment__item {
        min-height: 49px;

        padding: 11px 2px;
    }


    .sg-equipment__item:hover {
        padding-left: 6px;
    }


    .sg-equipment__item-mark {
        width: 4px;
        height: 4px;

        margin-right: 12px;
    }


    .sg-equipment__item-text {
        font-size: 14px;
        line-height: 1.4;
    }

}