.cateagory-body-section {
    width: 85%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 30px 0px;
}

.cateagory-top {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 40%;
}

.cateagory-head {
    margin: 0;
    font-size: 40px;
    color: #000;
    font-weight: 700;
}

.cateagory-para {
    font-size: 18px;
    margin: 0;
    line-height: 1.3em;
    color: #000;
}

.cateagory-two-section {
    display: flex;
    gap: 25px;
}

.cateagory-two-section-grid {
    width: 50%;
}

.cateagory-two-section-grid.r {
    display: flex;
    align-items: center;
    /* vertically center */
    justify-content: flex-start;
    /* align left */
    height: 350px;
    /* match image height */
    padding: 0 15px;
}


/* Wrapper for the image */
.cateagory-img-wrapper {
    width: 100%;
    height: 350px;
    /* set height as needed */
}

/* Image styling */
.cateagory-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.cateagory-para.b {
    margin: 0;
    line-height: 1.4em;
    font-size: 15px;
    color: #535353;
    margin: 0 auto;
}

.category-date {
    font-size: 13px;
    font-weight: 400;
    margin: 0;
    color: #808080;
    display: flex;

    gap: 5px;
}

.cateagory-two-section-grid-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 100%;
    /* prevent overflow */
}

.cateagory-grid-section {
    display: flex;
    gap: 15px;
}

.cateagory-grid-section-l {
    width: 75%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cateagory-grid-section-r {
    width: 25%;
}

.category-mid-section-l {
    width: 75%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-mid-section-r {
    width: 25%;
}

.cateagory-bottom-side {
    width: 100%;
}
body.dark-mode .cateagory-head {
    color: #ffffff;
}
body.dark-mode .cateagory-para{
    color: #ffffff;
}



@media (max-width: 767px) {
    .cateagory-body-section {
    width: 100%;
    gap: 15px;
}
.cateagory-top {
    width: 100%;
}
.cateagory-two-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cateagory-two-section-grid {
    width: 100%;
}
.cateagory-two-section-grid.r {
    height: auto;
    padding: 0 0px;
}
.cateagory-grid-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cateagory-grid-section-l {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cateagory-grid-section-r {
    width: 100%;
}
}