
.main_section_two {
  display: flex;
  gap: 25px;
  width: 100%;
}

.left_section_two {
  width: 70%;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.right_section_two {
  width: 30%
}
.link_for_another{
  width: 100%;
}
.news_card {
  display: flex;
  gap: 20px;
  background: #fff;
  padding: 15px;
  border-radius:var(--border-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.news_left {
  flex: 1
}

.news_img {
  width: 200px;
  height: 150px;
  overflow: hidden;
  border-radius: var(--border-radius);
}

.news_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition)
}

.news_card:hover .news_img img {
  transform: scale(1.1)
}

.news_left h2{
  margin: 10px 0;
  font-size: var(--big-card-fsize);
  transition: var(--transition);
  
}
.news_card:hover .news_left h2{
  color: var(--blue-color);
}

.news_left p {
  color: #555;
  font-size: var(----para-fsize);
  padding-bottom: 15px;

}


/* CATEGORY */
.category-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.redmore-div {
    /* width: 280px; */
    padding-bottom: 10px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    padding: 9px 20px;
    font-size: 17px;
    justify-content: space-between;
    border-radius: 6px;
    color: #ffff;
    background: linear-gradient(331deg, #0bbcd6, #FC1CB2);
    margin-bottom: 15px;
}

.icon-main {
    display: flex;
    position: relative;
}
.icon-main i:nth-child(2) {
    position: absolute;
    right: -12px;
}
.category-card {
  height: 90px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: var(--border-radius);
  margin-bottom: 3px;
}

/* Image Tag Styling */
.category-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; 
  transition: transform 0.5s ease-in-out;
  z-index: 1; 
  border-radius: var(--border-radius);
}

/* Zoom Effect on Hover */
.category-card:hover img {
  transform: scale(1.1);
  border-radius: var(--border-radius);
}

/* Overlay Layer */
.overlay {
  position: relative;
  z-index: 2; /* Sits above the image */
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); 
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  box-sizing: border-box;
  transition: background 0.3s ease;
}

.category-card:hover .overlay {
  background: rgba(0, 0, 0, 0.2);
}

/* Glassmorphism Text Blocks */
.label, .count {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: white;
  padding: 7px 20px;
  border-radius: 8px;
  font-weight: bold;
  font-size: var(--small-card-fsize);
  text-transform: capitalize;
  pointer-events: none; /* Mouse hover passes through to the card */
}

.count {
  padding: 7px 15px;
  min-width: 30px;
  text-align: center;
}