.blog {
	.page-title {
		@media (max-width: 576px) {
			padding-left: 10px;
			padding-right: 10px;
		}
	}

	.blog-col {
		margin-bottom: 40px;

		@media (max-width: 576px) {
			padding: 0 13px 0 20px;
		}
	}

	.blog-btn-more {
		text-align: center;
		margin-top: 60px;

		@media (max-width: 576px) {
			margin: 20px auto 40px;
		}

		a {
			border: 2px solid #ff8852;
			border-radius: 7px;
			width: 187px;

			&:hover {
				color: #fff;
			}
		}
	}
}

.blog-item {
	margin: 0 5px;

	.blog-card {
		height: 422px;
		position: relative;
		border-radius: 10px;
		overflow: hidden;

		@media (max-width: 576px) {
			height: 365px;
		}
	}

	.blog-link {
		text-decoration: none;
		color: #546e7a;
		text-align: center;
		border-radius: 10px;

		&::after {
			content: '';
			border-radius: 10px;
			position: absolute;
			top: 0;
			left: 0;
			bottom: 0;
			right: 0;
			background: linear-gradient(
				180deg,
				rgba(125, 145, 142, 0) 0%,
				#3a3a3a 78.32%
			);
		}

		img {
			width: 100%;
			height: 100%;
			object-fit: cover;
			border-radius: 10px;
			transition: all 0.5s ease-in-out;
		}

		&:hover {
			img {
				transform: scale(1.2);
			}
		}

		.blog-date {
			position: absolute;
			z-index: 1;
			top: 20px;
			right: 20px;
			font-style: normal;
			font-weight: 500;
			font-size: 15px;
			color: #ffffff;
		}

		.blog-content {
			position: absolute;
			z-index: 1;
			right: 20px;
			left: 20px;
			bottom: 30px;
			overflow: hidden;
			max-height: 137px;
			text-align: right;

			h3 {
				font-style: normal;
				font-weight: bold;
				font-size: 20px;
				color: #ffffff;
				margin-bottom: 15px;
				line-height: 35px;

				@media (max-width: 576px) {
					font-size: 16px;
				}

				&.small {
					font-size: 18px;
				}
			}

			p {
				font-style: normal;
				font-weight: normal;
				font-size: 14px;
				text-align: justify;
				color: #ffffff;
				margin-bottom: 0;
				line-height: 25px;

				@media (max-width: 576px) {
					font-size: 13px;
				}
			}
		}
	}
}

.blog-swiper {
	position: relative;
	background: #ffffff;
	box-shadow: 0px 10px 40px rgba(109, 109, 109, 0.15);
	border-radius: 20px;
	margin-bottom: 150px;

	@media (max-width: 576px) {
		background: none;
		box-shadow: none;
		border-radius: 0;
		margin-bottom: 65px;
	}

	.swiper-slide {
		@media (max-width: 576px) {
			width: 260px !important;
			margin-right: 30px;
			margin-top: -30px;
			padding: 35px 0;
		}
	}

	.blog-swiper-item {
		height: 333px;
		position: relative;

		a {
			text-decoration: none;
		}

		@media (max-width: 576px) {
			display: flex;
			align-items: center;
			flex-direction: column-reverse;
			justify-content: space-between;
			height: 500px;
			width: 260px;
			background: #ffffff;
			box-shadow: 0px 10px 40px rgba(109, 109, 109, 0.15);
			border-radius: 20px;

			& > div {
				padding: 0;
			}

			.blog-swiper-item-content {
				height: 285px;
				overflow: hidden;
				position: relative;
			}
		}

		img {
			width: 100%;
			height: 333px;
			object-fit: cover;
			border-radius: 0 20px 20px 0;

			@media (max-width: 576px) {
				height: 200px;
				border-radius: 0 0 20px 20px;
			}
		}

		h3 {
			margin-top: 40px;
			font-style: normal;
			font-weight: bold;
			font-size: 20px;
			color: #546e7a;
			padding-left: 20px;
			line-height: 33px;

			@media (max-width: 576px) {
				margin-top: 0;
				padding: 24px 16px 5px;
				font-size: 16px;
			}
		}

		p {
			margin-top: 20px;
			font-style: normal;
			font-weight: normal;
			font-size: 14px;
			text-align: justify;
			padding-left: 60px;
			line-height: 26px;
			color: #78909c;

			@media (max-width: 576px) {
				font-size: 13px;
				margin: 0;
				padding: 5px 16px;
			}
		}

		span {
			font-style: normal;
			font-weight: 500;
			font-size: 12px;
			color: #546e7a;
			bottom: 27px;
			position: absolute;

			@media (max-width: 576px) {
				bottom: 10px;
				right: 16px;
				display: none;
			}
		}
	}

	.swiper-prev,
	.swiper-next {
		position: absolute;
		background-repeat: no-repeat;
		width: 60px;
		height: 60px;
		color: #000;
		border-radius: 50%;
		z-index: 100;
		top: 50%;
		transform: translateY(-50%);
		cursor: pointer;

		@media (max-width: 576px) {
			display: none;
		}

		&.swiper-button-disabled {
			opacity: 0.7;
			cursor: default;
		}
	}

	.swiper-next {
		background-image: url('/assets/images/arrow-right-purple.png');
		right: -25px;
	}

	.swiper-prev {
		background-image: url('/assets/images/arrow-left-purple.png');
		left: -25px;
	}
}

.blog-view-title {
	font-style: normal;
	font-weight: 500;
	font-size: 20px;
	color: #455464;
	position: relative;
	padding-bottom: 12px;
	margin-bottom: 40px;

	&:after {
		content: '';
		position: absolute;
		width: 89px;
		height: 4px;
		right: 0;
		bottom: 0;
		background: #48577c;
		border-radius: 2px;
	}
}

.blog-view-breadcrumb {
	display: flex;
	margin-bottom: 80px;
	font-size: 13px;

	@media (max-width: 576px) {
		flex-direction: column;
		margin-bottom: 60px;
	}

	a {
		color: #78909c;
		text-decoration: none;
		padding: 0 10px;
		border-left: 1px solid #d8d8d8;

		@media (max-width: 576px) {
			&::before {
				content: '> ';
			}
		}

		&:last-child {
			border: 0;
		}
	}
}

.blog-view-cover {
	object-fit: cover;
	height: 400px;
	border-radius: 10px;

	@media (max-width: 576px) {
		width: 100%;
		height: auto;
	}
}

.blog-view-text {
	text-align: justify;
	color: #455464;

  img {
    border-radius: 5px;
  }

	@media (max-width: 576px) {
		padding: 0 10px;
	}
}

.blog-view-price {
	font-style: normal;
	font-weight: bold;
	font-size: 25px;
	color: #455464;
	margin-bottom: 40px;
	display: block;

	.blog-price {
		&.blog-no-old-price {
			margin-top: 10px;
		}
	}

	.blog-old-price {
		span,
		small {
			opacity: 0.5;
			text-decoration: line-through;
		}

		span {
			font-size: 18px;
		}
	}

	.blog-no-price {
		font-size: 15px;
		margin-top: 20px;
		display: block;
	}
}

.blog-view-groping {
	position: relative;
	margin-bottom: 15px;

	&:before {
		content: '•';
		color: #ff8852;
		font-size: 40px;
		position: absolute;
		line-height: 1;
	}

	span {
		font-weight: normal;
		font-weight: 400;
		font-size: 18px;
		text-align: center;
		color: #6f7e8d;
		margin-right: 30px;
	}

	h3 {
		display: inline;
		width: 78px;
		height: 31px;
		font-weight: 700;
		font-size: 18px;
		line-height: 31px;
		text-align: center;
		color: #455464;
	}
}

.blog-view-description-wrapper {
	margin-top: 60px;
}

.blog-view-description {
	border-top: 1px solid rgba(0, 0, 0, 0.2);
	border-bottom: 1px solid rgba(0, 0, 0, 0.2);
	margin-bottom: -1px;

	.blog-view-desc {
		display: flex;
		align-items: center;
		justify-content: space-between;
		cursor: pointer;

		.blog-view-text {
			padding: 10px;
			font-style: normal;
			font-weight: 400;
			font-size: 18px;
			color: #455464;
		}
	}

	.blog-view-accordion {
		height: 0;
		overflow: hidden;
		transition: all 0.4s ease-in-out;
		-webkit-transition: all 0.4s ease-in-out;
		-moz-transition: all 0.4s ease-in-out;
		-ms-transition: all 0.4s ease-in-out;
		-o-transition: all 0.4s ease-in-out;

		.blog-view-accordion-wrapper {
			font-size: 14px;
			line-height: 25px;
			text-align: justify;
			padding: 10px;
			color: #455464;
		}
	}

	.blog-details-table {
		width: 100%;
		tr {
			width: 100%;
			font-size: 15px;

			td {
				padding: 5px 10px;
			}

			td:nth-child(2) {
				text-align: left;
			}
		}
		tr:nth-child(odd) {
			background: #fff;
		}
	}
}

.blog-view-action {
	position: relative;
	width: 100%;
	height: 100%;

	.blog-view-action-item {
		position: absolute;
		top: 580px;
		width: 100%;
	}
}

.blog-pagination {
	display: flex;
	flex-direction: row-reverse;
	justify-content: center;
	align-items: center;
	margin-top: 15px;
	margin-bottom: 20px;

	a,
	span {
		display: flex;
		justify-content: center;
		align-items: center;
		background: #ffffff;
		border: 1px solid #dfe3e8;
		border-radius: 4px;
		font-weight: bold;
		font-size: 14px;
		text-align: center;
		color: #455464;
		width: 32px;
		height: 32px;
		text-decoration: none;
		margin: 0 4px;
	}

	span {
		&.disabled {
			background: #919eab;
			opacity: 0.5;
			color: #c4cdd5;
		}
	}

	a {
		&.active,
		&:hover {
			border: 1px solid #4200ff;
		}
	}
}
