.wm-services-section {
    width: 100%;
    padding: 50px 0;
    box-sizing: border-box;
}

.wm-services-section *,
.wm-services-section *::before,
.wm-services-section *::after {
    box-sizing: border-box;
}

.wm-services-list {
    display: flex;
    flex-direction: column;
    gap: 34px;
}

.wm-service-item {
    --wm-service-color: #a61600;
    --wm-service-soft-color: rgba(238, 91, 68, 0.12);

    display: grid;
    grid-template-columns: 0.95fr 1.25fr;
    gap: 38px;
    align-items: center;
}

.wm-service-item.wm-service-reverse {
    grid-template-columns: 1.25fr 0.95fr;
}

.wm-service-reverse .wm-service-content {
    order: 2;
}

.wm-service-reverse .wm-service-image {
    order: 1;
}

.wm-service-content {
    max-width: 420px;
}

.wm-service-number {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    color: var(--wm-service-color);
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1;
    font-weight: 800;
}

.wm-service-number-text {
    opacity: 0.45;
}

.wm-service-number-line {
    opacity: 1;
}

.wm-service-content h3 {
    margin: 0 0 15px;
    color: var(--wm-service-color);
    font-size: clamp(20px, 2vw, 28px);
    line-height: 1.05;
    font-weight: 800;
}

.wm-service-short-description {
    display: -webkit-box;
    margin: 0 0 16px;
    color: #555;
    font-size: 14px;
    line-height: 1.65;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.wm-service-image {
    overflow: hidden;
    border-radius: 18px;
    background: #111;
    height: clamp(260px, 28vw, 390px);
}

.wm-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Repeating service colors */
.wm-service-item:nth-child(3n + 1) {
    --wm-service-color: #a61600;
    --wm-service-soft-color: rgba(238, 91, 68, 0.12);
}

.wm-service-item:nth-child(3n + 1) .wm-service-content h3 {
    color: #1f1f1f;
}

.wm-service-item:nth-child(3n + 2) {
    --wm-service-color: #74479e;
    --wm-service-soft-color: rgba(116, 71, 158, 0.12);
}

.wm-service-item:nth-child(3n + 3) {
    --wm-service-color: #507d5a;
    --wm-service-soft-color: rgba(80, 125, 90, 0.12);
}

/* Footer shared */
.wm-service-footer {
    margin-top: 16px;
}

.wm-service-footer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.wm-service-footer-icon img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    display: block;
}

/* Box: one icon + one text + custom background */
.wm-service-footer-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 18px;
    border-radius: 18px;
    background: var(--wm-service-soft-color);
}

.wm-service-footer-box p {
    margin: 0;
    color: #555;
    font-size: 12px;
    line-height: 1.45;
}

/* List: each item icon + text */
.wm-service-footer-list {
    display: grid;
    gap: 9px;
    padding: 0;
    list-style: none;
}

.wm-service-footer-list li {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #333;
    font-size: 13px;
    line-height: 1.45;
}

.entry-content ul, .entry-content ol {
    padding-left: 0;
}

/* Tags: text only */
.wm-service-footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wm-service-footer-tags span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 7px 12px;
    background: var(--wm-service-soft-color);
    color: var(--wm-service-color);
    font-size: 12px;
    font-weight: 700;
}

.wm-service-item-link {
    display: contents;
    color: inherit;
    text-decoration: none;
}
/* Tablet */
@media (max-width: 991px) {
    .wm-service-item,
    .wm-service-item.wm-service-reverse {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .wm-service-image {
        height: 280px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .wm-services-section {
        padding: 40px 0;
    }

    .wm-services-list {
        gap: 42px;
    }

    .wm-service-item,
    .wm-service-item.wm-service-reverse {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .wm-service-reverse .wm-service-content,
    .wm-service-reverse .wm-service-image {
        order: initial;
    }

    .wm-service-content {
        max-width: 100%;
    }

    .wm-service-image {
        height: 280px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .wm-services-section {
        padding: 32px 0;
    }

    .wm-service-image {
        height: 230px;
        border-radius: 14px;
    }

    .wm-service-footer-box {
        padding: 14px;
        border-radius: 14px;
    }

    .wm-service-footer-tags span {
        padding: 6px 10px;
        font-size: 11px;
    }
}