.wellness-block-wrap {
    padding: 120px 0 0;
}

.wellness-title {
    margin-bottom: 20px !important;
}

.wellness-header {
    margin-bottom: 40px;
}

.wellness-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wellness-row {
    display: flex;
    gap: 20px;
}

.wellness-row.is-half .wellness-card {
    flex: 1 1 50%;
}

.wellness-row.is-full .wellness-card {
    flex: 1 1 100%;
}

.wellness-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.wellness-row.is-half .wellness-card {
    width: 491px;
    min-height: 255px;
}

.wellness-row.is-full .wellness-card {
    min-height: 255px;
}

.wellness-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.wellness-card:hover img {
    transform: scale(1.08);
}
.is-half .wellness-card::after {
     content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
     height: 45%;
    background: linear-gradient(rgba(0, 0, 0, 0.02), 100%);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    transition: all 0.5s ease-in-out;
     mask-image: linear-gradient(180deg, transparent 0%, black 45%);
    pointer-events: none;
    z-index: 0;

}

.wellness-label {
    position: absolute;
    bottom: 18px;
    left: 28px;
    color: #FFF;
    font-size: 23px;
    font-style: normal;
    font-weight: 300;
    line-height: 140%; 
    z-index: 1;
}

.wellness-overlay {
    position: absolute;
    top: 0;
    right: 64px;
    bottom: 0;
    width: 30%;
    display: flex;
    align-items: center;
    padding: 24px 30px;
    z-index: 3;
}

.wellness-overlay p {
    color: #fff;
    font-size: 26px;
    font-weight: 300;
    line-height: 1.5;
    margin: 0;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

@media (max-width: 1199.98px) {
    .wellness-block-wrap {
        padding: 80px 0 0;
    }

    .wellness-title {
        font-size: 32px;
    }

    .wellness-overlay{
        padding: 0;

    }
    .wellness-overlay p {
        font-size: 22px;
    }
    .wellness-label{
        font-size: 22px;
    }
   .wellness-header {
        margin-bottom: 32px;
    }
    .wellness-row.is-half .wellness-card{
        min-height: 200px;
    }
    .wellness-row.is-full .wellness-card{
        max-height: 200px;

    }
}

@media (max-width: 767.98px) {
    .wellness-block-wrap {
        padding: 60px 0 0;
    }

    .wellness-title {
        font-size: 28px;
    }

    /* Stack half-row images on mobile */
    .wellness-row.is-half {
        flex-direction: column;
    }

    .wellness-row.is-half .wellness-card {
        aspect-ratio: 4 / 3;
        flex: 1 1 100%;
    }
    .wellness-row.is-half .wellness-card{
        width: auto;
    }
    .wellness-row.is-full{
        width: 100%;
    }

    .wellness-row.is-full .wellness-card {
        min-height: 200px;
        width: 100%;
        flex: 1 1 100%;
    }
     .wellness-row.is-half .wellness-card{
        max-height: 200px;
    }


      .wellness-overlay {
        width: 55%;        /* 100% se kam — sirf right side pe rahega */
        right: 0;          /* right side se lagao */
        left: auto;        /* left override hatao */
        top: 0;
        bottom: 0;
        background: none;  /* gradient hatao — black blue wala rahega */
        align-items: center;
        padding: 20px;
    }

    .wellness-overlay p {
        font-size: 20px;   
        text-align: left;
    }

    .wellness-header {
        margin-bottom: 24px;
    }
   

    .is-full .wellness-card::after {
          content: '';
          position: absolute;
          top: 0;
          right: 0;
          width: 100%;
          height: 100%;
          background: #000202;
          -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
          border-radius: 12px;
          transition: all 0.5s ease-in-out;
          mask-image: linear-gradient(to left, black 0%, transparent 50%);
          -webkit-mask-image: linear-gradient(to left, black 0%, transparent 60%);
          pointer-events: none;
          z-index: 0;
        }

        .is-full .wellness-card img {
            object-position: 35%;
        }
}