.spec-section {
    width: 100%;
    background: #ffffff;
}

.spec-section__inner {
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 4.1667vw, 5rem);
    max-width: 120rem;
    margin: 0 auto;
    padding: clamp(2rem, 4.6875vw, 5.625rem) clamp(1.25rem, 16.6667vw, 20rem) clamp(3rem, 9.375vw, 11.25rem);
}

.spec-section__content {
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 6.25vw, 7.5rem);
}

.spec-section__header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    column-gap: clamp(2rem, 9.8958vw, 11.875rem);
    row-gap: 1.5rem;
}

.spec-section__title {
    flex: 1 1 21.75rem;
    max-width: 36.25rem;
    margin: 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: clamp(2.25rem, 3.75vw, 4.5rem);
    line-height: 1;
    color: #0D0D0D;
}

.spec-section__meta {
    flex: 0 0 auto;
    max-width: 31.9375rem;
    margin: 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 0.75rem;
    line-height: 1.2;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0D0D0D;
    white-space: nowrap;
}

.spec-section__table {
    display: flex;
    flex-direction: column;
    gap: clamp(1.5rem, 2.0833vw, 2.5rem);
}

.spec-section__rows {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 0;
}

.spec-section__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 0 1rem 1.5rem;
    border-bottom: 1px solid rgba(13, 13, 13, 0.2);
}

.spec-section__row dt {
    margin: 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    text-transform: uppercase;
    color: #0D0D0D;
}

.spec-section__row dd {
    margin: 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.2;
    text-transform: uppercase;
    color: #0D0D0D;
    text-align: right;
}

.spec-section__footnote {
    margin: 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 0.75rem;
    line-height: 1.2;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0D0D0D;
}

.spec-section__gallery {
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 4.1667vw, 5rem);
    width: 100%;
}

.spec-section__gallery-row {
    display: flex;
    align-items: flex-start;
    gap: clamp(2rem, 4.1667vw, 5rem);
    width: 100%;
}

.spec-section__gallery-img {
    min-width: 0;
    min-height: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spec-section__gallery-img--square {
    flex: 0 0 29.1667%;
    aspect-ratio: 1 / 1;
}

.spec-section__gallery-img--wide {
    flex: 1 1 0;
    aspect-ratio: 2.2143 / 1;
}

.spec-section__gallery-img--big {
    flex: 1 1 0;
    aspect-ratio: 1 / 1;
}

.spec-section__gallery-stack {
    flex: 0 0 29.1667%;
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 4.1667vw, 5rem);
}

.spec-section__gallery-stack .spec-section__gallery-img {
    flex: none;
    width: 100%;
}

@media (max-width: 1024px) {
    .spec-section__inner {
        padding-left: var(--airion-edge-padding);
        padding-right: var(--airion-edge-padding);
    }

    .spec-section__title {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
    }

    .spec-section__meta {
        flex: 1 1 auto;
        min-width: 0;
        white-space: normal;
    }

    .spec-section__row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .spec-section__row dd {
        text-align: left;
    }

    .spec-section__gallery-row {
        flex-direction: column;
    }

    .spec-section__gallery-img--square,
    .spec-section__gallery-img--wide,
    .spec-section__gallery-img--big {
        flex: none;
        width: 100%;
        aspect-ratio: 4 / 3;
    }

    .spec-section__gallery-stack {
        flex: none;
        width: 100%;
        flex-direction: row;
    }

    .spec-section__gallery-stack .spec-section__gallery-img {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        aspect-ratio: 1 / 1;
    }
}
