/* .newsdetails .news-consultation-first{
	padding: 25px 40px 0px 40px;font-size: 16px;
	}
	.news-consultation{
		padding: 20px 40px 0px 40px;font-size: 16px;
	}
	.news-consultation-last{
		padding: 20px 40px 30px 40px;font-size: 16px;
	} */

    
 .newsdetails .regulatory-card-img {
    width: 80%; 
    height: auto; 
    border-radius: 40px;
	  margin-left: 40px;
    margin-top: -70px;
}

.newsdetails .card-container {
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 0;
    box-sizing: border-box;
}

.newsdetails .card-title {
    background-color: #E2F2E4;
    padding: 30px;
    width: 100%;
    border-radius: 20px 20px 0 0;
    text-align: left;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

.newsdetails .card-content {
    padding: 20px;
    background-color: white;
    box-sizing: border-box;
}

.newsdetails .img-div {
    margin-right: 15px; /* Margin between image and text */
}

.newsdetails .text-content {
    overflow: hidden; /* Clear floats and ensure proper content wrapping */
}

.card-title h2{
    margin-left: 33%;
    color: #333;
    font-weight: bold;
    font-size: 18px;
  }
  
  .p-font{
    font-size: 16px;
    text-align: justify;
  }
  .news-img-div{
    display: flex;
    justify-content: center;
  }

  .new-keyword-show{
    border: 1px solid #9370DB;
    background-color: #9370DB54;
    padding: 4px 9px !important;
    font-weight: bold;
    font-size: 12px;
    color: #000;
    border-radius: 2px;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Light background and border for the first keyword */

  .new-keyword-show:nth-child(1) {
      background-color: #FFFAF0;
      border: 1px solid #FFD700;
  }

  /* Light background and border for the second keyword */
  .new-keyword-show:nth-child(2) {
      background-color: #F0F8FF;
      border: 1px solid #4682B4;
  }

  /* Light background and border for the third keyword */
  .new-keyword-show:nth-child(3) {
      background-color: #E6E6FA;
      border: 1px solid #6A5ACD;
  }

  /* Light background and border for the fourth keyword */
  .new-keyword-show:nth-child(4) {
      background-color: #FFF0F5;
      border: 1px solid #FF1493;
  }

  .new-keyword-show:nth-child(5) {
      background-color: #FF8C0054;
      border: 1px solid #FF8C00;
  }

  .new-keyword-show:nth-child(6) {
      background-color: #CD853F54;
      border: 1px solid #CD853F;
  }



/* Continue with more nth-child rules for additional styles */
  @media only screen and (max-width: 768px) {
 
    .newsdetails .card-title h2 {
        margin-left:0px;
        font-size: 18px;
        text-align: center;
    }

    .newsdetails .card-content {
        padding: 10px;
    }

	.newsdetails .text-content{
		padding: 25px;
     text-align: justify;
	}

	.p-font{
        text-align: justify;
        padding: 0px 20px 20px 20px;
    }

    .newsdetails .regulatory-card-img{
        width: 350px;
        height: 300px;
        margin-left: 0px;
        margin-top: 0px;
        padding: 15px;
    }
}

@media only screen and (max-width: 600px) {
    .newsdetails .regulatory-card-img{
        width: 400px;
        height: 350px;
    }
}

/* Tablets (portrait and landscape) */
@media only screen and (min-width: 601px) and (max-width: 768px) {
    .newsdetails .regulatory-card-img{
        width: 350px;
        height: 300px;
    }
}




/* iPads (portrait and landscape) ----------- */
@media only screen and (min-width : 768px) and (max-width : 991px) {
    /* .img-div{
        margin-left: 30px;
      }
      
      .regulatory-card-img{
        width: 350px;
        height: 300px;
      }
      .card-title h2{
        margin-left: 38%;
      }
    
      .card-text{
        padding-left: 25px;
      }
      
      .card-button{
        left: 50%;
      }
    
      .regulatory-section .card-content{
        margin-left: 34%;
      }
    
    
      .top-serach .search-box{
        margin-bottom: -8px;
        width: 100%;
        
      }
      .top-serach .top-dropdown-country{
        width: 100%;
        margin-right: 4px;
        float: none;
      }
      .top-serach .top-dropdown-sort-by{
        width: 100%;
        float: none;
      }
  
      .newsdetails .text-content{
          margin-left: 46px;
      } */
      .newsdetails .card-title h2 {
        margin-left:0px;
        font-size: 18px;
        text-align: center;
    }

    .newsdetails .card-content {
        padding: 10px;
    }

	.newsdetails .text-content{
		 padding: 0 35px;
     text-align: justify;
	}

	.p-font{
        text-align: justify;
        padding: 0px 20px 20px 20px;
    }

    .newsdetails .regulatory-card-img{
        width: 500px;
        height: 350px;
        margin-left: 0px;
        margin-top: 0px;
        padding: 15px;
    }
    
}



/* ipad pro */
@media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (-webkit-min-device-pixel-ratio: 2) {
    .img-div{
      margin-left: 30px;
    }
    
    .regulatory-card-img{
      width: 300px;
      height: 320px;
    }
    .card-title h2{
      margin-left: 38%;
    }
  
    .card-text{
      padding-left: 25px;
    }
    
    .card-button{
      left: 50%;
    }
  
    .regulatory-section .card-content{
      margin-left: 34%;
    }
  
  
    .top-serach .search-box{
      margin-bottom: -8px;
      width: 100%;
      
    }
    .top-serach .top-dropdown-country{
      width: 100%;
      margin-right: 4px;
      float: none;
    }
    .top-serach .top-dropdown-sort-by{
      width: 100%;
      float: none;
    }

    .newsdetails .text-content{
        margin-left: 46px;
    }
  }
  

/* @media (max-width: 768px) {
    .newsdetails .regulatory-card-img{
        width: 350px;
        height: 350px;
    }
} */
