/* Commercial Equipment Installed – single project section. Figma node 6748:12442. */

/* Overrides the legacy .single-project-section-8 padding from main.css:
   vertical rhythm between sections is owned globally. */
.single-project-section-equipment {
    padding: 0;
}

.single-project-section-equipment .single-project-equipment {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 50px;
    width: 100%;
}

/* ---------- Heading block: badge + H2 + lead, centred, gap 20px ---------- */

.single-project-section-equipment .single-project-equipment__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

/* Figma pill is 168x40 with a 1px inside stroke and the label box at x30/y10,
   so the 30/10 inset is 1px border + 29/9 padding, and the label box is 20px
   tall. 1.25 reproduces that 20px at 16px and still scales on the mobile
   override – Chrome's `normal` leading here is 19px, one short of the pill. */
.single-project-section-equipment .single-project-equipment__badge {
    display: inline-flex;
    align-items: center;
    padding: 9px 29px;
    border: 1px solid #ACACAC;
    border-radius: 36px;
    background: #FAFAFA;
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: normal;
    color: #7F7F7F;
    white-space: nowrap;
}

.single-project-section-equipment .single-project-equipment__title {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: Unbounded, sans-serif;
    font-size: 32px;
    font-weight: 400;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
    text-transform: uppercase;
    color: #171B1C;
    overflow-wrap: break-word;
}

.single-project-section-equipment .single-project-equipment__lead {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: Montserrat, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
    color: #7F7F7F;
    overflow-wrap: break-word;
}

/* ---------- Equipment cards, gap 20px ---------- */

.single-project-section-equipment .single-project-equipment__list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}

.single-project-section-equipment .single-project-equipment__item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
    padding: 25px;
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 1px 1.5px 0 rgba(0, 0, 0, 0.1), 0 1px 1px 0 rgba(0, 0, 0, 0.1);
    overflow-wrap: break-word;
}

.single-project-section-equipment .single-project-equipment__num {
    flex-shrink: 0;
    font-family: Unbounded, sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
    color: #D0D0D0;
    white-space: nowrap;
}

.single-project-section-equipment .single-project-equipment__body {
    display: flex;
    flex: 1 0 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    min-width: 0;
}

/* Hugs its text the way the Figma label does – it must not stretch to the
   card, otherwise a centred/justified sibling would key off the wrong width. */
.single-project-section-equipment .single-project-equipment__name {
    max-width: 100%;
    margin: 0;
    padding: 0;
    font-family: Montserrat, sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: normal;
    color: #171B1C;
}

/* 1.219 is Montserrat's own ascent+descent, i.e. the leading Figma applies at
   every size. Chrome rounds those metrics to whole pixels and lands on 18px
   for 14px text instead of 17.07px, which stacks up to +3px on a 3-line
   paragraph, so the ratio is spelled out for the body copy only. */
.single-project-section-equipment .single-project-equipment__meta,
.single-project-section-equipment .single-project-equipment__desc {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.219;
    letter-spacing: normal;
    color: #7F7F7F;
}

.single-project-section-equipment .single-project-equipment__meta strong,
.single-project-section-equipment .single-project-equipment__desc strong {
    font-weight: 600;
    color: #171B1C;
}

/* ---------- Mobile (Figma supplies the 1430px frame only) ---------- */

@media screen and (max-width: 767px) {
    .single-project-section-equipment .single-project-equipment {
        gap: 30px;
    }
    .single-project-section-equipment .single-project-equipment__head {
        gap: 15px;
    }
    .single-project-section-equipment .single-project-equipment__badge {
        padding: 8px 20px;
        font-size: 14px;
        text-align: center;
        white-space: normal;
    }
    .single-project-section-equipment .single-project-equipment__title {
        font-size: 22px;
    }
    .single-project-section-equipment .single-project-equipment__lead {
        font-size: 15px;
    }
    .single-project-section-equipment .single-project-equipment__list {
        gap: 15px;
    }
    .single-project-section-equipment .single-project-equipment__item {
        gap: 12px;
        padding: 18px;
    }
    .single-project-section-equipment .single-project-equipment__num {
        font-size: 24px;
    }
    .single-project-section-equipment .single-project-equipment__name {
        font-size: 18px;
    }
}
