.category-body-section{
    padding: 30px 0px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.category-top {
  position: relative; /* Needed for the overlay and centering */
  background-image: url('./images/48.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 300px;
  display: flex;
  justify-content: center;  /* Centers horizontally */
  align-items: center;      /* Centers vertically */
  overflow: hidden;         /* Ensures overlay doesn't spill out */
}

/* Black transparent overlay */
.category-top::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2); /* Adjust 0.4 for more/less transparency */
  z-index: 1;
}

/* Content sits above overlay */
.category-grid-section {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: center; /* optional: centers text */
}

.category-title {
  margin: 0;
  font-size: 44px;
  font-weight: 500;
  color: #fff;
}
.category-minititle{
    margin: 0;
    font-size: 20px;
    color: #fff;
    font-weight: 500;
}
.category-content{
    display: flex;
    gap: 30px;
}
.category-content-section-l{
    width: 50%;
}
.category-content-section-r{
    width: 50%;
    display: flex;
    flex-direction: column;
 gap: 15px;
}
.main-img.category{
width: 100%;
height: 350px;
}
.grid-category{
    margin: 0;
    font-size: 16px;
    color: #565656;
    text-transform: uppercase;
    font-weight: 500;
}
.grid-box-head{
    margin: 0;
    color: #161616;
    font-size: 30px;
    font-weight: 600;
}
.grid-date{
    margin: 0;
    font-size: 15px;
    color: #565656;
    font-weight: 500;
}
.grid-para{
    margin: 0;
    font-size: 18px;
        font-family: "PT Serif", serif;
    line-height: 1.5;
color: #565656;
}
.grid-para.b{
    margin: 0;
    font-size: 17px;
        font-family: "PT Serif", serif;
    line-height: 1.3;
color: #565656;
}

.grid-para.author{
    text-decoration: underline;
    font-style: italic;
    font-size: 16px;
}
@media (max-width: 767px){
    .category-content{
    flex-direction: column;
    gap: 20px;
}
.category-content-section-l{
    width: 100%;
}
.category-content-section-r{
    width: 100%;
}
.main-img.category{
width: 100%;
height: 200px;
}
.grid-box-head{
    font-size: 20px;
}
.grid-category{
    font-size: 16px;
}
.grid-date{
    font-size: 16px;
}
.grid-para{
    font-size: 14px;
    line-height: 1.3;
}
}
@media (min-width: 768px) and (max-width: 991.98px){
        .category-content{
    flex-direction: column;
    gap: 20px;
}
.category-content-section-l{
    width: 100%;
}
.category-content-section-r{
    width: 100%;
}
}
@media (min-width: 992px) and (max-width: 1200px) {
    .grid-box-head{
    font-size: 24px;
}
.grid-category{
    font-size: 16px;
}
.grid-date{
    font-size: 16px;
}
.grid-para{
    font-size: 16px;
    line-height: 1.3;
}
}
@media (min-width: 1201px) and (max-width: 1400px) {}