/**
 * 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-3-block-wrap {

	&,
	& *,
	& *::before,
	& *::after {
		box-sizing: border-box;
	}

	.boldpo-post-list-3 {
		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;

			&.boldpo-upper-metas {
				margin-top: 0px !important;
			}

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

			@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-divider {
				margin: 0;
				background-color: var(--boldpo-preset-color-border);
				height: 1px;
				border: none;
			}

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

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

			img {
				max-width: 100%;
				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;
				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-size: 1.025rem;
				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-post-categories {
				margin-bottom: 20px;
			}

			.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 {
				height: auto;
				position: absolute;
				left: 40px;
				bottom: 20px;
				padding: 20px 0;
			}

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

					img {
						height: 575px;
					}
				}

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

			}
		}

		.boldpo-list-col-two-wrap {
			.boldpo-list-item-inner {
				justify-content: space-between;
			}
		}

		&.style-default,
		&.style-3,
		&.style-4,
		&.style-5,
		&.style-6 {
			.boldpo-list-col-one-wrap {
				.boldpo-blog-img {
					position: relative;

					img {
						height: 474px;
					}
				}
			}

			.boldpo-list-col-two-wrap {
				.boldpo-blog-img {
					position: relative;
					width: 100px;
					height: 100px;

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

				.boldpo-blog-content {
					padding-left: 20px;

					width: calc(100% - 100px);

				}
			}

		}

		&.style-1,
		&.style-2 {
			.boldpo-list-col-one-wrap {
				.boldpo-blog-img {
					position: relative;

					img {
						height: 547px;
					}
				}
			}

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

					.boldpo-blog-img {
						position: relative;
						width: 100px;
						height: 100px;

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

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

		&.style-2 {
			flex-direction: row-reverse;
		}

		&.style-3 {
			.boldpo-list-col-one-wrap {
				.boldpo-blog-img {
					position: relative;

					img {
						height: 700px;
					}
				}
			}

			.boldpo-list-col-two-wrap {
				.boldpo-post-metas {
					margin: 0 0 20px;
				}
			}

		}

		&.style-4,
		&.style-5 {

			.boldpo-blog-excerpt {
				color: var(--boldpo-preset-color-contrast-2);
			}

			.boldpo-list-col-one-wrap {
				.boldpo-blog-img {
					height: 310px;

					img {
						height: 100%;
					}
				}

				.boldpo-blog-content {
					position: unset;
					width: 100%;
				}

				.boldpo-blog-title,
				.boldpo-post-metas,
				.boldpo-post-categories,
				.boldpo-blog-excerpt,
				.boldpo-read-more a {
					color: var(--boldpo-preset-color-contrast-1);
				}

				.boldpo-blog-excerpt {
					margin-top: 10px;
				}
			}

			.boldpo-list-col-two-wrap {
				.boldpo-list-item-inner {
					justify-content: space-between;

					.boldpo-blog-img {
						width: 124px;
						height: 80px;
					}

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

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

				}
			}
		}

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

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

		&.style-6 {
			flex-direction: row-reverse;

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

			.boldpo-list-col-one-wrap {
				.boldpo-list-item {
					.boldpo-list-item-inner {
						padding: 0 !important;

					}

					.boldpo-blog-img {
						height: 445px;
					}
				}
			}

		}
	}


	.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;
		}
	}
}