.pce-wrap,
.pce-wrap * {
    box-sizing: border-box;
}

.pce-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.pce-media {
    width: 50%;
    height: 350px;
    display: flex;
    gap: 14px;
    overflow: hidden;
    min-width: 0;
}

.pce-image-item {
    min-width: 0;
    height: 100%;
    overflow: hidden;
    border-radius: 18px;
    background: #eee;
}

.pce-image-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pce-content {
    width: 50%;
    min-width: 0;
}

.pce-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    padding: 11px 22px;
    margin: 0 0 24px;
    border-radius: 999px;
    background: #000;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .18em;
    line-height: 1.1;
    text-transform: uppercase;
    text-align: center;
}

.pce-heading {
    margin: 0 0 20px;
    color: #050505;
    font-size: clamp(34px, 3vw, 54px);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: .01em;
}

.pce-description {
    max-width: 700px;
    margin: 0 0 32px;
    color: #474747;
    font-size: 18px;
    line-height: 1.8;
}

.pce-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 62px;
    padding: 16px 40px;
    border-radius: 10px;
    background: #000;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1.2;
    text-decoration: none !important;
    transition: transform .2s ease, background-color .2s ease;
}

.pce-button:hover,
.pce-button:focus {
    background: #222;
    color: #fff;
    transform: translateY(-1px);
}

/* Tablet */
@media (max-width: 1024px) {
    .pce-wrap {
        flex-direction: column;
        align-items: stretch;
        gap: 34px;
    }

    .pce-media,
    .pce-content {
        width: 100% !important;
    }

    .pce-media {
        height: 330px;
    }

    .pce-heading {
        font-size: clamp(32px, 6vw, 48px);
    }

    .pce-description {
        max-width: 800px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .pce-wrap {
        gap: 26px;
    }

    .pce-media {
        height: auto !important;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px !important;
        overflow: visible;
    }

    .pce-image-item,
    .pce-media .pce-image-item {
        width: auto !important;
        flex: none !important;
        height: 200px;
        border-radius: 14px;
    }

    .pce-image-item:nth-child(3):last-child,
    .pce-image-item:nth-child(5):last-child {
        grid-column: 1 / -1;
    }

    .pce-badge {
        margin-bottom: 18px;
        padding: 9px 15px;
        font-size: 11px;
        letter-spacing: .13em;
    }

    .pce-heading {
        margin-bottom: 16px;
        font-size: clamp(30px, 9vw, 42px);
        line-height: 1.1;
    }

    .pce-description {
        margin-bottom: 24px;
        font-size: 16px;
        line-height: 1.65;
    }

    .pce-button {
        width: 100%;
        min-height: 56px;
        padding: 15px 22px;
        font-size: 15px;
    }
}
