.boldpo-post-slider-2-block-wrap {

	@keyframes boldpoFadeIn {
		from {
			opacity: 0;
			transform: translateX(15px);
		}

		to {
			opacity: 1;
			transform: translateX(0);
		}
	}

	.boldpo-post-slider-2 {
		display: block; // Swiper needs block, children are absolute

		.boldpo-grid-item-inner {
			@media screen and (max-width: 575px) {
				flex-wrap: wrap;
			}
		}

		.boldpo-blog-content {
			padding-top: 10px;

			&.fade-in {
				transition: transform 0.3s ease, opacity 0.5s ease;
				animation: boldpoFadeIn 1s ease both;
			}
		}

		.boldpo-grid-item {
			position: relative;
			transition: all .5s ease;
			overflow: hidden;

			&:hover {
				.boldpo-blog-img {
					&.boldpo-animate {
						overflow: hidden;

						img {
							transition: transform var(--boldpo-preset-hover-transition);
						}

						&.left_right {
							&:hover img {
								transform: translateX(15px) scale(1.1);
							}
						}

						&.top_bottom {
							&:hover img {
								transform: translateY(15px) scale(1.1);
							}
						}
					}
				}
			}

			img {
				max-width: 100%;
				height: auto;
				display: block;
				object-fit: cover;
				transition: transform var(--boldpo-preset-hover-transition);
			}

			i {
				font-size: 16px;
			}

			.boldpo-blog-date-top {
				z-index: 1;
				background-color: var(--boldpo-preset-color-primary);

				h4 {
					margin: 0;
					color: #fff;
					font-size: 36px;
					line-height: 1;
				}

				position: absolute;
				top: 0;
				right: 0;
				display: inline-block;
				padding: 20px;
				padding-bottom: 6px;
				border-radius: 4px;
				color: #fff;
				margin: 25px;

				h4,
				span {
					color: inherit;
				}
			}

			.boldpo-blog-img {
				max-width: 100%;
				height: auto;
				display: block;
				margin: 0 auto;
				overflow: hidden;
				width: 100%;
				position: relative;

				img {
					display: block;
					object-fit: cover;
					width: 100%;
				}

				&.boldpo-animate {
					overflow: hidden;

					img {
						transition: transform var(--boldpo-preset-hover-transition);
					}

					&.left_right {
						&:hover img {
							transform: translateX(15px) scale(1.1);
						}
					}

					&.top_bottom {
						&:hover img {
							transform: translateY(15px) scale(1.1);
						}
					}
				}
			}

			.boldpo-blog-title {
				font-weight: bold;
				margin-top: 10px;
				margin-bottom: 5px;
				font-size: 36px;
				font-weight: 600;
				color: var(--boldpo-preset-color-contrast-1);
				a {
					color: currentColor;
					transition: var(--boldpo-preset-hover-transition);
					text-decoration: none;
				}
			}

			.boldpo-read-more {
				display: inline-block;
				margin-top: 10px;
				text-decoration: none;

				.boldpo-read-more-link {
					display: inline-flex;
					align-items: center;
					text-decoration: none;
					padding: 7px 16px;
					background-color: var(--boldpo-preset-color-primary);
					color: var(--boldpo-preset-color-white);
					font-size: 14px;
					font-weight: 600;
					transition: 0.3s ease-in-out;

					&:hover {
						background-color: var(--boldpo-preset-color-secondary);
					}
				}

				.boldpo-read-more-icon.after {
					margin-left: 6px;
					top: 1px;
				}

				.boldpo-read-more-icon.before {
					margin-right: 6px;
					top: 1px;
				}
			}

			.boldpo-blog-excerpt {
				font-size: 18px;
				margin-bottom: 20px;
				margin-top: 20px;

				a {
					color: currentColor;
				}
			}

			.boldpo-video-wrapper {
				iframe {
					width: 100%;
				}
			}

			.boldpo-last-modified {
				color: #fff;
				font-size: 0.75rem;
				text-transform: uppercase;
			}

			a {
				&:hover {
					color: var(--boldpo-preset-color-primary);
				}
			}

		}


		.boldpo-grid-item-inner {
			position: relative;
		}

		.boldpo-grid-item {
			position: relative;

			.boldpo-blog-content {
				position: absolute;
				bottom: 0;
				padding: 30px;
				display: flex;
				flex-direction: column;
				height: -webkit-fill-available;
				justify-content: flex-end;
			}

			.boldpo-overlay-all {
				position: absolute;
				bottom: 0;
				left: 0;
				width: 100%;
				height: 100%;
				background-image: linear-gradient(to top, #000, transparent);
			}

			&.boldpo-has-video {
				.boldpo-blog-content {
					height: auto !important;
				}

				.boldpo-overlay-all {
					height: 40%;
				}
			}

			.boldpo-blog-img img {
				height: 400px;
				object-fit: cover;
				width: 100%;
			}

			.boldpo-blog-title,
			.boldpo-post-metas,
			.boldpo-post-categories,
			.boldpo-blog-excerpt,
			.boldpo-read-more .boldpo-read-more-link {
				color: #fff;
			}

			a {
				&:hover {
					color: var(--boldpo-preset-color-primary);
				}
			}
		}

		.swiper-pagination-bullets {
			position: relative;
			text-align: right;
			right: 38px;
			left: unset;
			bottom: 60px;

			.swiper-pagination-bullet {
				background-color: var(--boldpo-preset-color-white);

				&.swiper-pagination-bullet-active {
					background-color: var(--boldpo-preset-color-white);
					;
				}
			}
		}

		.nav-btn {
			background-color: #fff;
			border-radius: 5px;
			transition: var(--boldpo-preset-hover-transition);
			top: 45%;

			&.swiper-button-prev {
				left: 30px;
			}

			&.swiper-button-next {
				right: 30px;
			}

			svg {
				height: 20px;
				width: 20px;

				path {
					fill: currentColor;
					stroke: currentColor;
				}
			}

			&:focus {
				outline: none;
			}

			&:hover {
				background-color: var(--boldpo-preset-color-primary);

				svg {
					path {
						fill: currentColor;
						stroke: currentColor;
					}
				}
			}
		}

		&.style-3 {
			.boldpo-grid-item {
				.boldpo-blog-content {
					// Override base: reset bottom/height/justify and center the content
					bottom: unset;
					height: auto;
					justify-content: center;
					// Center positioning
					top: 50%;
					left: 50%;
					transform: translate(-50%, -50%) !important;
					width: 100%;
					max-width: 750px;
					// Style
					align-items: center;
					text-align: center;
					padding: 40px 30px;
				}

				.boldpo-overlay-all {
					height: 100%;
					background-image: linear-gradient(to top,
							rgba(0, 0, 0, 0.75) 0%,
							rgba(0, 0, 0, 0.45) 50%,
							rgba(0, 0, 0, 0.25) 100%);
				}

				.boldpo-post-categories {
					margin-bottom: 12px;
				}

				.boldpo-blog-title {
					a {
						color: #fff;
					}
				}

				.boldpo-post-metas {
					display: flex;
					flex-direction: row;
					justify-content: center;
					flex-wrap: wrap;
					gap: 12px;
				}
			}

			.nav-btn {
				display: none;
				border-radius: 100%;
				height: 36px;
				width: 36px;
				color: var(--boldpo-preset-color-contrast-2);

				&:hover {
					color: var(--boldpo-preset-color-white);
				}

				&.swiper-button-prev {
					left: 20px;
				}

				&.swiper-button-next {
					right: 20px;
				}

				svg {
					height: 12px;
					width: auto;
				}
			}

			&:hover {
				.nav-btn {
					display: flex;
				}
			}

			.swiper-pagination-bullets {
				text-align: center;
				right: unset;
				bottom: 50px;
			}
		}

		&.style-2 {
			.boldpo-overlay-all {
				height: 80%;
			}

			.nav-btn {
				display: none;
				border-radius: 100%;
				height: 32px;
				width: 32px;
				color: var(--boldpo-preset-color-contrast-2);

				&:hover {
					color: var(--boldpo-preset-color-white);
				}

				&.swiper-button-prev {
					left: 20px;
				}

				&.swiper-button-next {
					right: 20px;
				}

				svg {
					height: 12px;
					width: auto;
				}
			}

			&:hover {
				.nav-btn {
					display: flex;
				}
			}
		}
	}
}