/*----Grid View-----*/
.cwp-post {
	background: #ffffff;
	border: 1px solid #e0e0e0;
	border-radius: 5px;
	filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.102218));
	margin: 10px 0px;
	overflow: hidden;
	transition: 300ms;
}

.cwp-post:hover {
	filter: none;
}

.cwp-post-thumbnail {
	height: 220px;
	width: 100%;
	position: relative;
}

.cwp-post .cwp-post-thumbnail img {
	height: 100%;
	object-fit: cover;
	transition: 300ms;
	width: 100%;
}

/*-------List View------*/
.list-view .cwp-col-12 {
	width: 100% !important;
}

.list-view .cwp-post {
	align-items: flex-start;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	position: relative;
}

.list-view .cwp-post-thumbnail {
	width: 30%;
	min-height: 160px;
	height: 185px;
}

.list-view .cwp-post-content-container {
	width: 70%;
}

.list-view .cwp-post-content {
	padding: 30px 20px;
}

.list-view .cwp-post-content h4 {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 100%;
}

.list-view ul.cwp-post-terms {
	padding: 20px 20px 0 20px;
}

.cwp-promoted-post {
	border: 1px solid #ddbb2a;
	border-radius: 4px;
	color: #ddbb2a;
	cursor: default;
	display: inline-block;
	font-size: 10px;
	line-height: 1;
	padding: 2px 5px;
	position: relative;
	top: -2px;
}

.cwp-post-content {
	padding: 15px;
}

.cwp-post-content h4 {
	font-size: 20px;
	font-weight: bold;
	line-height: 1.3;
	margin: 0 0 5px 0;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}

.cwp-post-content p {
	font-size: 14px;
	line-height: 1.3;
	margin: 0 0 0 0;
}

.cwp-post-terms {
	align-items: center;
	border-top: 1px solid #e0e0e0;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	line-height: 1.5;
	list-style: none;
	margin: 0;
	padding: 15px 15px 10px;
}

.cwp-post-terms li {
	margin: 0 5px 5px 0;
}

.cwp-post-terms li a {
	display: block;
	font-size: 12px;
	background: #f6f6f6;
	max-width: 100px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	padding: 8px 8px;
	font-weight: 500;
	text-transform: capitalize;
	border-radius: 210px;
	line-height: 10px;
	color: #343A40;
}

/*---Save button-------*/
.cwp-archive-save {
	position: absolute;
	background: rgba(0, 0, 0, 0) linear-gradient(0deg, rgba(0, 0, 0, .9) 8%, rgba(0, 0, 0, 0) 94%) repeat scroll 0 0;
	bottom: 0;
	padding: 15px 14px 5px 14px;
	width: 100%;
}

.cwp-archive-save .cwp-single-save-btns.cwp-single-widget {
	float: right;
	color: #fff;
}

span.cwp-main.cwp-save-post svg:nth-child(2) {
	display: none;
}

span.cwp-main.cwp-saved-post svg:first-child {
	display: none;
}

.cwp-single-save-btns.cwp-single-widget span.cwp-main,
.cwp-single-share-btn.cwp-single-widget span.cwp-main {
	cursor: pointer;
}
.cwp-post-boosted {
	padding: 1px 10px;
	position: absolute;
	top: 15px;
	left: 15px;
	background: #FFBB00;
	border-radius: 12px;
	color: #000000;
	font-weight: 500;
	font-size: 13px;
}
 .news-card {
      
      background-color: #fff;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

    .news-image-container {
      position: relative;
      overflow : hidden
    }

    .news-image-container img {
      width: 100%;
      display: block;
      border-top-left-radius: 16px;
      border-top-right-radius: 16px;
      transition: 0.6s;
    }
    .news-image-container img:hover {
       scale: 1.1;
       
    }
    .news-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: #eef9f4;
    color: #004551 !important;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    border: 1px solid #004551 !important;
    }
    .news-pos-date {
    position: relative;
}
    .news-date {
      position: absolute;
      bottom: -16px;
      right: 12px;
      background-color: #003c3b;
      color: #fff;
      padding: 8px 10px;
      border-radius: 6px;
      font-size: 12px;
      font-weight: bold;
      text-align: center;
    }

    .news-date span {
      display: block;
      font-size: 10px;
      font-weight: normal;
    }

    .news-content {
      padding: 24px 20px 20px;
    }

    .news-title h2 {
    font-size: 25px !important;
    margin: 0px !important;
    font-weight: 600 !important;
    color: #004551 !important;
    line-height : 30px !important;
}

    .news-button {
      display: inline-block;
      padding: 10px 18px;
      background-color: #f7a600;
      color: #004551 !important;
      font-weight: bold;
      text-decoration: none;
      border-radius: 30px;
      font-size: 14px;
      transition: background-color 0.3s;
      margin-top : 27px !important;
      border: 1px solid #FF9700 !important;
    }

    .news-button:hover {
    background-color: transparent !important;
    color: #FF9700 !important;
}
a.news-button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
}
   
    

@media only screen and (max-width: 767px) {
        .cwp-row .cwp-col-12.pharmed-canvas {
        width: 100% !important;
    }
    .news-title h2 {
    font-size: 20px !important;
    line-height: 25px !important;
}
}
.team-card {
  
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  text-align: center;
  font-family: 'Arial', sans-serif;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.team-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  height: 2px;
  background-color: #FF9700;
  transition: width 0.4s ease, left 0.4s ease;
}

.team-card:hover::after {
  width: 100%;
  left: 0;
}

.image-wrapper {
  position: relative;
  overflow: hidden;
}

.image-wrapper img {
  width: 100%;
  display: block;
  transition: 0.3s ease;
}

.social-icons {
  position: absolute;
  top: 35%;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.social-icons a {
  background: #FFA500;
  color: #fff !important;
  padding: 6px 8px;
  border-radius: 4px;
  font-size: 14px;
  text-decoration: none;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.4s ease;
}

.social-icons a:nth-child(1) { transition-delay: 0.05s; }
.social-icons a:nth-child(2) { transition-delay: 0.1s; }
.social-icons a:nth-child(3) { transition-delay: 0.15s; }
.social-icons a:nth-child(4) { transition-delay: 0.2s; }

.team-card:hover .social-icons a {
  opacity: 1;
  transform: translateX(0);
}
.social-icons a:hover {
    background: #fff !important;
    color : #FF9700 !important;
}

.info {
  padding: 32px;
}

.info h3 {
  font-size: 25px !important;
  color: #004551;
  display: inline-block;
  margin-bottom: 4px;
}

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