.umkm-page {
    width: 100%;
    box-sizing: border-box;
    background: #f7f7f7;
    padding: 48px 20px 110px;
}

.umkm-heading {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 38px;
    text-align: center;
}

.umkm-heading h1 {
    margin: 0 0 15px;
    font-family: "Raleway", sans-serif;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.35;
    color: #111;
}

.umkm-heading p {
    max-width: 900px;
    margin: 0 auto;
    font-family: "Raleway", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    color: #222;
}

.umkm-card {
    width: 100%;
    max-width: 1000px;
    min-height: 300px;
    margin: 0 auto 28px;
    padding: 28px 34px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.umkm-gallery {
    width: 100%;
}

.main-photo {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #d8d8d8;
}

.main-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.thumbnail-list {
    width: 100%;
    margin-top: 8px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

.thumbnail {
    width: 100%;
    height: 50px;
    overflow: hidden;
    background: #d8d8d8;
}

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

.umkm-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.umkm-content h2 {
    margin: 0 0 8px;
    font-family: "Raleway", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: #111;
}

.description {
    max-width: 400px;
    margin: 0;
    font-family: "Raleway", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
    color: #222;
}

.address {
    margin: 23px 0 0;
    font-family: "Raleway", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #222;
}

.whatsapp-button {
    width: fit-content;
    margin-top: auto;
    padding: 8px 14px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    box-sizing: border-box;
    background: #008f3c;
    color: #ffffff;
    border-radius: 20px;
    text-decoration: none;
    font-family: "Raleway", sans-serif;
    font-size: 11px;
    font-weight: 500;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.18);
    transition: background 0.2s ease, transform 0.2s ease;
}

.whatsapp-button:hover {
    background: #007b34;
    transform: translateY(-1px);
}

.whatsapp-icon {
    width: 14px;
    height: 14px;
    display: block;
    object-fit: contain;
    flex-shrink: 0;
}

.livelihood {
    width: 100%;
    max-width: 1000px;
    margin: 70px auto 0;
}

.livelihood > h2 {
    margin: 0 0 28px;
    text-align: center;
    font-family: "Raleway", sans-serif;
    font-size: 23px;
    font-weight: 500;
    line-height: 1.4;
    color: #111;
}

.livelihood-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 18px;
}

.livelihood-card {
    min-height: 58px;
    padding: 10px 16px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
    border-radius: 11px;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.10);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.livelihood-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.13);
}

.livelihood-card h3 {
    margin: 0 0 2px;
    font-family: "Raleway", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
    color: #111;
}

.livelihood-card span {
    font-family: "Raleway", sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: #555;
}

@media (max-width: 900px) {
    .umkm-page {
        padding-left: 25px;
        padding-right: 25px;
    }

    .umkm-card {
        padding: 25px;
        gap: 25px;
    }

    .main-photo {
        height: 205px;
    }

    .umkm-heading h1 {
        font-size: 27px;
    }
}

@media (max-width: 700px) {
    .umkm-page {
        padding: 38px 15px 80px;
    }

    .umkm-heading {
        margin-bottom: 30px;
    }

    .umkm-heading h1 {
        font-size: 23px;
    }

    .umkm-heading p {
        font-size: 13px;
        line-height: 1.6;
    }

    .umkm-card {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 20px;
        margin-bottom: 22px;
    }

    .main-photo {
        height: 230px;
    }

    .umkm-content {
        min-height: 210px;
    }

    .umkm-content h2 {
        font-size: 17px;
    }

    .description {
        font-size: 14px;
    }

    .address {
        font-size: 13px;
        margin-top: 20px;
    }

    .whatsapp-button {
        margin-top: 25px;
        padding: 8px 13px;
        gap: 6px;
        font-size: 11px;
    }

    .whatsapp-icon {
        width: 14px;
        height: 14px;
    }

    .livelihood {
        margin-top: 55px;
    }

    .livelihood > h2 {
        font-size: 20px;
        margin-bottom: 22px;
    }

    .livelihood-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 450px) {
    .umkm-page {
        padding-left: 12px;
        padding-right: 12px;
    }

    .umkm-heading h1 {
        font-size: 20px;
    }

    .umkm-heading p {
        font-size: 12px;
    }

    .umkm-card {
        padding: 15px;
    }

    .main-photo {
        height: 200px;
    }

    .thumbnail {
        height: 55px;
    }

    .whatsapp-button {
        padding: 7px 12px;
        gap: 6px;
        font-size: 10px;
    }

    .whatsapp-icon {
        width: 13px;
        height: 13px;
    }

    .livelihood-card {
        min-height: 58px;
        padding: 10px 14px;
    }

    .livelihood-card h3 {
        font-size: 15px;
    }
}