/**
 * The following styles get applied both on the front of your site
 * and in the editor.
 *
 * Replace them with your own styles or remove the file completely.
 */

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

	.boldpo-post-list-2 {
		box-sizing: border-box;
		margin-bottom: 0px;

		.boldpo-blog-content {
			line-height: 1.4;
			width: 70%;
			display: flex;
			flex-direction: column;
			justify-content: flex-start;
			height: -webkit-fill-available;

			@media screen and (max-width: 767px) {
				padding-top: 8px;
				padding-bottom: 8px;
			}

			@media screen and (max-width: 1024px) {
				justify-content: center;
			}
		}


		.boldpo-list-item {
			position: relative;
			transition: var(--boldpo-preset-hover-transition);
			box-sizing: border-box;

			.boldpo-list-item-inner {
				align-items: self-start;
				display: flex;
				overflow: hidden;
				box-sizing: border-box;
			}

			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;
				text-align: center;
				border-radius: 4px;
				color: #fff;
				margin: 25px;

				h4,
				span {
					color: inherit;
				}

				@media screen and (max-width: 767px) {
					display: none;
				}

				@media screen and (max-width: 1024px) {
					display: none;
				}
			}

			.boldpo-blog-img {
				position: relative;
				width: 30%;
				max-width: 100%;
				height: auto;
				display: block;
				margin: 0 auto;
				overflow: hidden;
				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: 0;
				color: var(--boldpo-preset-color-contrast-1);
				@media screen and (max-width: 767px) {
					font-size: 1em;
				}

				a {
					color: currentColor;
					transition: var(--boldpo-preset-hover-transition);
					text-decoration: none;
				}
			}

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

				@media screen and (max-width: 767px) {
					display: 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 {
				margin-bottom: 20px;
				font-size: 18px;
				color: var(--boldpo-preset-color-contrast-2);

				a {
					color: currentColor;
				}

				@media screen and (max-width: 767px) {
					display: none;
				}

				@media screen and (max-width: 1024px) {
					display: none;
				}
			}

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

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


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

		}

		.boldpo-list-col-one-wrap {

			.boldpo-list-item-inner {
				flex-direction: column;
			}

			.boldpo-blog-content {
				width: 100%;
				padding: 20px 0;
			}

			.boldpo-list-item {
				.boldpo-blog-img {
					position: relative;
					width: 100%;

					img {
						height: 100%;
					}
				}
			}
		}

		.boldpo-post-metas {
			&.boldpo-post-metas-style-1 {
				.bldpost-meta {
					position: relative;

					&:not(:first-child) {
						&::before {
							content: "";
							position: absolute;
							left: -11px;
							top: 6px;
							width: 5px;
							height: 5px;
							background: currentColor;
							border-radius: 100%;
						}
					}
				}

				a {
					text-decoration: none;

					&:hover {
						text-decoration: underline;
					}
				}
			}
		}

		&.style-default,
		&.style-4 {
			.boldpo-list-col-one-wrap {
				.boldpo-post-categories {
					position: absolute;
					top: 0;
					left: 0;
					right: auto;
				}
			}

			.boldpo-list-col-two-wrap {
				.boldpo-blog-content {
					padding-left: 20px;
				}

			}

		}

		&.style-1 {
			.boldpo-blog-content {
				padding-left: 20px;
			}
		}

		&.style-1,
		&.style-2 {
			.boldpo-list-item-divider {
				background-color: var(--boldpo-preset-color-border);
				height: 1px;
				margin: 0;
				border: none;
			}

			.boldpo-blog-content {
				width: calc(100% - 40px);
			}

			.boldpo-list-col-one-wrap {

				.boldpo-list-item-inner {
					flex-direction: column;
				}

				.boldpo-blog-content {
					height: auto;
					position: absolute;
					left: 20px;
					bottom: 20px;
					padding: 20px 0;
				}

				.boldpo-list-item {

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

				}
			}


		}

		&.style-2 {
			.boldpo-list-item-inner {
				flex-direction: row-reverse;
			}

			.boldpo-blog-content {
				padding-right: 20px;
			}
		}

		&.style-3 {


			.boldpo-list-col-one-wrap {

				.boldpo-list-item-inner {
					flex-direction: column;
				}

				.boldpo-blog-content {
					height: auto;
					position: absolute;
					left: 40px;
					bottom: 20px;
				}

				.boldpo-list-item {
					.boldpo-blog-img {
						position: relative;
						width: 100%;
					}

					.boldpo-blog-title {
						margin: 20px 0 0 0;
					}

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

				}




				.boldpo-blog-content {
					padding: 20px 0;
				}
			}

			.boldpo-list-col-two-wrap {
				.boldpo-blog-content {
					padding: 0 0 0 20px;
				}
			}
		}

		&.style-4 {
			.boldpo-list-col-two-wrap {
				.boldpo-list-item-inner {
					flex-direction: row-reverse;
				}

				.boldpo-blog-content {
					padding-right: 20px;
					padding-left: 0;
					width: calc(100% - 64px);
				}

				.boldpo-list-item {
					.boldpo-blog-img {
						width: 64px;
						height: 70px;

						img {
							height: 100%;
							width: 100%;
						}
					}

					.boldpo-post-metas {
						margin: 15px 0 5px;
					}
				}

			}




		}


	}


	.boldpo-pagination {
		margin-top: 40px;
		display: flex;
		justify-content: center;
		gap: 8px;

		a,
		span {
			display: inline-flex;
			justify-content: center;
			align-items: center;
			width: 30px;
			height: 30px;
			font-size: 14px;
			border-radius: 50%;
			text-decoration: none;
			transition: var(--boldpo-preset-hover-transition);
			box-shadow: 0 5px 10px #0e0d0d1a;
		}

		span.current {
			cursor: default;
		}
	}
}