/*----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;
}
.nextwp-auto-blog-card-1 {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.nextwp-auto-blog-card-1-thumbnail {
  position: relative;
  overflow: hidden;
  border-radius: 6px 6px 0px 0px;
}

.nextwp-auto-blog-card-1-date {
  position: absolute;
  left: 24px;
  top: 24px;
  z-index: 9;
  background: #bf3617;
  width: fit-content;
  border-radius: 6px;
  padding: 11px 14px;
  font-weight: 600;
  font-size: 14px;
  line-height: 18px;
  text-align: center;
  color: #ffffff;
}

.nextwp-auto-blog-card-1-thumbnail img {
  width: 100%;
  border-radius: 6px 6px 0px 0px;
  margin: -1px 0 0 0;
  transition: 2s;
}

.nextwp-auto-blog-card-1-thumbnail img:hover {
  transform: scale(1.1);
}

.nextwp-auto-blog-card-1-content {
  padding: 24px;
}

.nextwp-auto-blog-card-1-cat {
  font-weight: 600;
  font-size: 13px;
  line-height: 20px;
  color: #9a9a9a;
  margin: 0 0 2px 0;
  transition: 0.3s;
}

.nextwp-auto-blog-card-1-cat:hover {
  color: #bf3617;
}

.nextwp-auto-blog-card-1-title {
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  color: #111111;
  margin: 0 0 23px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: 0.3s;
}

.nextwp-auto-blog-card-1-title:hover {
  color: #034c8c;
}

.nextwp-auto-blog-card-1-read-more {
  color: #034c8c;
  font-weight: 700;
  font-size: 15px;
  line-height: 20px;
  border-bottom: 1px solid transparent;
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
}

.nextwp-auto-blog-card-1-read-more svg {
  margin: 1px 0 -1px 0;
}

.nextwp-auto-blog-card-1-read-more:hover {
  border-color: #034c8c;
}

.nextwp-auto-blog-card-1-content a:hover {
  color: #034c8c;
}

@media (max-width: 768px) {
  .nextwp-auto-blog-card-1-date {
    left: 10px;
    top: 10px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .nextwp-auto-blog-card-1-content {
    padding: 12px;
  }

  .nextwp-auto-blog-card-1-title {
    font-size: 14px;
    line-height: 20px;
    margin: 0 0 15px 0;
  }

  .nextwp-auto-blog-card-1-read-more {
    font-size: 13px;
  }
}
/*----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;
}
.nextwp-auto-card-1 {
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0px 0px 0px 1px #e0e0e0 inset;
  display: flex;
  justify-content: space-between;
}

.nextwp-auto-card-1-thumbnail {
  display: flex;
  justify-content: center;
  padding: 12px;
  max-width: 130px;
  max-height: 130px;
  position: relative;
}

.nextwp-auto-card-1-thumbnail img {
 width: 100%;
 height: 100% !important;
 object-fit: contain;
}

.nextwp-auto-card-1-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.nextwp-auto-card-1-title {
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  color: #111111;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}

.nextwp-auto-card-1-star-list {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nextwp-auto-card-1-star-list .star-rating {
  margin-bottom: 16px;
}

.nextwp-auto-card-1-star-list.woocommerce .star-rating::before {
  color: #e0e0e0;
}

.nextwp-auto-card-1-price {
  display: flex;
  gap: 4px;
  justify-content: flex-end;
  color: #bf3617;
  font-weight: 700;
  font-size: 16px;
  line-height: 23.4px;
  margin: 0 0 16px 0;
}

.nextwp-auto-card-1-price del {
  color: #00000080;
  font-size: 14px;
  font-weight: 400;
  line-height: 23.4px;
}

.nextwp-auto-card-1-quick-view {
  display: flex;
  align-items: center;
  width: fit-content;
  margin-left: auto;
  gap: 7px;
  color: #034c8c;
  position: relative;
  font-weight: 700;
  font-size: 15px;
  line-height: 20px;
  transition: 0.3s;
  cursor: pointer;
  border-bottom: 1px solid transparent;
}

.nextwp-auto-card-1-quick-view:hover {
  border-color: #034c8c;
}

.nextwp-auto-card-1-tags {
  position: absolute;
  left: 12px;
  top: 12px;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.nextwp-auto-card-1-tags p {
  padding: 6px;
  color: #000000;
  width: fit-content;
  border-radius: 6px;
  font-family: Inter;
  font-weight: 700;
  font-size: 11px;
  line-height: 11px;
}

.nextwp-auto-card-1-tags .tag-sale {
  background: #f29f05;
}

.nextwp-auto-card-1-tags .tag-new {
  background: #04bf33;
  color: #ffffff;
}

/* card-2 */

.nextwp-auto-card-1.card-2 {
  flex-direction: column;
}

.card-2 .nextwp-auto-card-1-thumbnail {
  min-width: 100%;
  max-height: 166px;
}

.card-2 .nextwp-auto-card-1-content {
  padding-top: 0px;
}

.card-2 .nextwp-auto-card-1-price {
  justify-content: start;
}

.card-2 .nextwp-auto-card-1-quick-view {
  margin: 0 0 0 0;
}

.nextwp-auto-card-1-star-list.woocommerce .star-rating::before,
.woocommerce .star-rating span::before {
  color: #f29f05 !important;
}

@media (max-width: 1024px) {
  .cwp-row .cwp-col-12 {
    width: 25%;
  }
}

@media (max-width: 768px) {
  .nextwp-auto-card-1 {
    flex-direction: column;
  }

  .nextwp-auto-card-1-thumbnail {
    max-width: 100%;
    width: 100%;
    max-height: max-content;
  }

  .nextwp-auto-card-1-thumbnail img {
    height: 100% !important;
    object-fit: cover;
  }

  .nextwp-auto-card-1-price {
    justify-content: start;
    margin: 0 0 10px 0;
  }

  .nextwp-auto-card-1-quick-view {
    margin-left: 0;
  }

  .cwp-row .cwp-col-12 {
    width: 50%;
  }
}
