/* section start */

 /* Card Container */
 .card-container {
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  box-sizing: border-box;
}

/* Title section */
.card-title {
  background-color: #E2F2E4;
  padding: 15px 0 15px 0;
  width: 100%;
  border-radius: 0px 20px 0 0;
  text-align: left;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}
.title_row{
  background-color: #E2F2E4;
  border-radius: 20px 0px 0 0;

}
.card-title h2{
  color: #333;
  font-weight: bold;
  font-size: 18px;
  padding-right: 10%;
}

/* Image styling */
.news-card-img {
  width: 303px;
  height: 300px;
  border-radius: 40px;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5); 
}
.img-div{
  top: 5%;
 justify-content: center;
  z-index: 2;
  position: absolute;
 }

/* Content section */
.card-content {
    width: 65%;
    display: flex;
    background-color: white;
    width: 100%;
    display: flex;
    padding: 28px 20px 20px 0;
    background-color: white;
    padding-right: 10%;
}

.card-text {
  flex-grow: 1;
  text-align: left;
}

.card-text h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #333;
}

.card-text p {
  font-size: 14px;
  color: #555;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
}

.card-tags span {
  background-color: #d8f8d6;
  color: #3D8F3D;
  padding: 5px 15px;
  border-radius: 15px;
  font-size: 12px;
  margin-right: 10px;
  margin-bottom: 10px;
}

/* Button styling */
.news .card-button {
  background-color: #76c6ba;
  color: white;
  padding: 15px 60px;
  text-align: center;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.news .card-button:hover {
  background-color: #65b6ba;
}
.news .text-justify{
  text-align: justify;
}


.news .card-title h2 a{
  /* margin-left: 33%; */
  color: #333;
  font-weight: bold;
  font-size: 18px;
  text-decoration: underline;
  z-index: 3;
}

.news .card-title h2 a:hover{
  color: #4D898C;
  text-decoration: underline;
  z-index: 3;
}



/* multi card css */
.news-border{
	border-radius: 40px 40px 40px 40px !important;
}
.newstitle {
  padding: 20px !important;
font-weight: normal;    
line-height: 33px;
background-color: #fff !important;
}
.newsdate{
  padding: 0px 0px 0px 20px;
}
.newstext{
	padding: 1em;
}
.news-subtitle span {
  margin-right: 0.5em; 
}

.news-subtitle span:last-child {
  margin-right: 0; 
}
/* section End */



/* Responsive code start */

/*  iPhone 5 */
/* @media only screen and (min-device-width: 320px) and (max-device-height: 640px){
  .news .card-title{
    padding-left: 20px;
    padding-right:20px;
  }
  .news .card-title h2 a a{
      margin-left: 0%;
      font-size: 16px;
  }

  .news .card-text{
    padding-left:0px;
  }
  .news .img-div{
    margin-left: 0px;
  }
  .news .card-content{
    width: 100%;
    margin-left: 0%;
  }
    .news .card-button{
      font-size: 14px;
      padding: 14px 20px;
      left: 50%;
    }

    
} */


@media only screen and (min-device-width: 320px) and (max-device-width: 428px) and (-webkit-min-device-pixel-ratio: 2) {
  .news .card-title h2 a{
    margin-left: 0%;
    font-size: 16px;
  }
  .card-text{
    padding-left:0;
  }

  .news .img-div{
    margin-left: 0px;
  }
  .news .card-content{
    width: 100%;
    margin-left: 0%;
  }

  .news .card-button{
    padding: 14px 40px;
    left: 50%;
    font-size: 14px;
  } 
}


/* iphone 12 pro */
/* @media only screen and (min-device-width: 390px) and (max-device-height: 932px) and (-webkit-min-device-pixel-ratio: 2){
  
  .news .card-title h2 a{
      margin-left: 0%;
      font-size: 16px;
  }

  .news .card-title{
    padding-left: 20px;
    padding-right:20px;
  }
  .news .card-text{
    padding-left:0px;
  }

  .news .img-div{
    margin-left: 0px;
  }
  .news .card-content{
    width: 100%;
    margin-left: 0%;
  }

  .news .card-button{
    padding: 14px 45px;
    left: 50%;
    font-size: 14px;
  }

} */



/* ipad */

/* iPads (portrait and landscape) ----------- */
/* ipad  mini */
@media only screen and (min-width: 992px) and (max-width: 1200px) and (-webkit-min-device-pixel-ratio: 1) {
  .news .img-div{
    align-items: center;
  }
  .news .news-card-img{
    width: 200px;
    height: 220px;
  }
}


/* ipad pro */
/* @media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (-webkit-min-device-pixel-ratio: 2) {
  .news .img-div{
    margin-left: 30px;
  }
  
  .news .card-title{
    padding-left: 20px;
    padding-right:20px;
  }

  .news .news-card-img{
    width: 300px;
    height: 320px;
  }
  .news .card-title h2 a{
    margin-left: 38%;
  }

  .news .card-text{
    padding-left: 25px;
  }
  
  .card-button{
    left: 50%;
  }

  .news .card-content{
    margin-left: 34%;
  }
} */


 /* by mayuri */

 @media only screen and (min-width: 320px) and (max-width: 767px) {
  .card-content {
    padding: 25px 25px 0 25px;
  }

  .card-button-div {
    display: flex;
    justify-content: center; 
    align-items: center;
  }

  .card-title {
    text-align: center;
    padding-left: 5px;
    padding-right: 5px;
  }
  .card-title h2{
    padding-right: 0;
  }
  .news .card-title h2 a{
    text-decoration: none;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  
  .news-card-img{
    display: none;  
  }
  .card-title h2{
   text-align: center;
  }
  
  .card-text{
    padding: 25px;
    padding-bottom: 0;
  }
  .card-content {
    padding-right: 0;
  }
  .card-button-div{
    display: flex;
    justify-content: center; 
    align-items: center; 
  }
  .card-title {
    text-align: center;
    padding-left: 5px;
    padding-right: 5px;
  }
  .card-title h2{
    padding-right: 0;
  }
  .news .card-title h2 a{
    text-decoration: none;
  }

}


/* pagination Responsive Code End */
#pagination-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; 
}

#pagination-links .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 5px; 
}