/*
Theme Name:  Listeo ChildTheme
Theme URI: http://listeo.pro
Author: Purethemes
Author URI: http://themeforest.net/user/purethemes
Description: Directory WordPress Theme by Purethemes
Version: 1.0
License: ThemeForest
License URI: http://themeforest.net/licenses
Text Domain: listeo
Domain Path: /languages/
Tags: light, responsive-layout, post-formats, theme-options, translation-ready, two-columns
Template:  listeo
*/

h1, .womens-health-post .post-content h2, .blog-archive-title h2, .blog-archive-main-title h2 {
	font-family: "Salty Ages", sans-serif!important;
}

.womens-health-post .post-content h2 {
	margin-top: 8px;
	margin-bottom: 0;
}

.womens-health-post .post-content h2 a {
	color: #000;
	font-size: 35px;
}

.womens-health-post .post-content h2 a:hover {
	color: #d6938c;
}

.womens-health-post .post-content {
	padding:5px 0 0 0;
	min-height: 135px;
}

.womens-health-post .post-meta li {
	background-color: #fff;
	padding: 0 12px 0 0;
}

.womens-health-post .post-meta li a {
	color: #d6938c;
	font-size: 16px;
	font-weight: 300;
}

.womens-health-post img {
	object-fit: cover;
	border-radius: 2%;
}

.blog-archive-title h2 {
	text-align: center;
	padding: 40px 0 30px 0;
	font-size: 50px;
	border-top: 1px solid #E8E8E8;
}

.blog-archive-main-title h2 {
	text-align: center;
	padding: 40px 0 10px 0;
	font-size: 50px;
}

.blog-filter-links {
	margin-bottom: 60px;
	text-align: center;
	justify-content: center;
}

.blog-filter-links a {
	color: #d6938c;
	border: 1px solid #d6938c;
	border-radius: 20px;
	padding: 8px 10px;
	margin-right: 15px;
	display: inline-block;
	margin-bottom: 15px;
	white-space: nowrap;
}

.blog-filter-links a:hover, .blog-filter-links a:active, .blog-filter-links a:focus {
	color: #fff;
	background-color: #d6938c;
}

.bg-primary {
	background-color: #d6938c;
}


/**
Slider styles
*/
@media screen and (max-width: 800px) {
	/* Dont show opacity on mobile */
	.owl-carousel .owl-item {
		opacity: 1!important;
	}
}

.owl-carousel {
	position: relative;
}

.owl-carousel .post-content {
	text-align: left;
	margin-left: 10px;
}

.owl-item {
	transition: opacity 0.3s ease;
}

.owl-nav-custom {
	position: absolute !important; /* or relative/fixed depending on your layout */
	top: 50%;
	transform: translateY(-50%);
	z-index: 99999 !important;
	width: 100%;
	padding-left: 80px;
	padding-right: 80px;
}

.position-relative {
	position: relative;
}

.carousel-wrapper,
.carousel-wrapper .owl-carousel,
.carousel-wrapper .container, /* Or whatever parent container exists */
.carousel-wrapper .row {
	overflow: visible !important;
}

.carousel-wrapper {
	min-height: 300px;
}

.carousel-wrapper {
	position: relative;
	overflow: visible !important;
	z-index: 1;
}

.owl-nav-custom {
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	transform: translateY(-40%);
	z-index: 999999 !important;
	display: flex;
	justify-content: space-between;
	padding: 0 1rem;
	pointer-events: none;
}

.owl-nav-custom .owl-prev-custom,
.owl-nav-custom .owl-next-custom {
	pointer-events: auto;
}


.owl-prev-custom, .owl-next-custom {
	border: 1px solid black !important; /* Black border */
	border-radius: 50%; /* Circle shape */
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px; /* Adjust size */
	height: 48px; /* Adjust size */
	background: transparent; /* Transparent background */
	cursor: pointer;
	z-index: 10; /* Ensure it's above other content */
}

/* Optional hover effect for better visibility */
.owl-prev-custom:hover, .owl-next-custom:hover {
	background-color: rgba(0, 0, 0, 0.1); /* Slight black background on hover */
	border-color: rgba(0, 0, 0, 0.8); /* Darker black border on hover */
}

/* Adjust vertical position */
.owl-nav-custom {
	top: 40%; /* Move the nav buttons up or down (adjust percentage to position) */
}

.owl-prev-custom {
	margin-left: 40px;
}

.owl-next-custom {
	  margin-right: 40px;
  }

.owl-dots {
	position: relative;
	z-index: 5;
	text-align: center;
}

.owl-dot span {
	background: #ccc;
	width: 10px;
	height: 10px;
	margin: 5px;
	display: block;
	border-radius: 50%;
	transition: background 0.3s ease;
}

.owl-dot.active span {
	background: #333;
}

/* dropdown styling */
#navigation ul ul li {
	width: 300px!important;
}

.owl-prev-custom svg, .owl-next-custom svg {
	color: black;
}

.carousel-thumb-wrapper {
	position: relative;
	width: 100%;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border-radius: 8px; /* optional for styling */
}

.carousel-thumb-img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover; /* ensures the image fills the box without distortion */
}

@media screen and (min-width: 801px) and (max-width: 991px) {
	.blog-posts .womens-health-post {
		width:50%;
		float:left;
	}
}

@media screen and (max-width: 800px)  {
	.blog-posts .womens-health-post {
		width:100%;
	}

	.womens-health-post .post-content h2 a {
		font-size: 20px;
	}

	.womens-health-post .post-content h2  {
		line-height: 0.8;
	}

	/*.blog-posts .womens-health-post h2 a {*/
	/*	line-height: 28px;*/
	/*	font-size: 10px!important;*/
	/*}*/

	.blog-posts .womens-health-post .blog-cat-link {
		line-height: 0;
	}
}

.blog-posts .womens-health-post .blog-cat-link {
	line-height: 0;
}


/* On screens that are 992px or less, set the background color to blue */
@media screen and (max-width: 992px) {
	.blog-posts .womens-health-post {
		width:50%;
		float:left;
	}
}

/* On screens that are 800px or less, set the background color to olive */
@media screen and (max-width: 800px) {
	.blog-posts .womens-health-post {
		width:49%;
		float:left;
	}
	.blog-archive-title h2, .blog-archive-main-title h2 {
		font-size: 30px;
		padding: 30px 0 10px 0;
	}
	.blog-filter-links {
		margin-bottom: 40px;
	}
	.margin-top-50 {
		margin-top: 10px!important;
	}
	.womens-health-post .post-content {
		min-height: 90px;
	}
	#footer {
		margin-top: 40px;
		padding-top: 0;
	}
}

.user_not_logged_in .header-widget .button:not(.wc-forward) {
	display: inline-block;
}

.flex {
	display: flex;
}

.overflow-x-auto {
	overflow-x: auto;
}

