/*
Theme Name: NeoBeat Child
Theme URI: https://neobeat.qodeinteractive.com/
Description: A child theme of NeoBeat
Author: Elated Themes
Author URI: http://themeforest.net/user/elated-themes
Version: 1.0.0
Text Domain: neobeat
Template: neobeat
*/

/*==================================================
Table of Contents:
1. General Styles & Variables
2. Header & Navigation
3. Blog Styles
4. Product Styles
5. Series Styles
6. Homepage Styles
7. Archive Styles
8. Masonry Grid Styles
9. Footer Styles
10. Responsive Styles
==================================================*/

/*==================================================
1. General Styles & Variables
==================================================*/
:root {
	--main-color: #c3afe9;
	--main-color-rgb: 195, 175, 233;
	--main-sub-color: #c3afe9; /* Consider removing if same as --main-color */
	--main-sub-color-rgb: 195, 175, 233; /* Consider removing if same as --main-color-rgb */
	--sub-color: #cad8ff;
	--sub-color-rgb: 202, 216, 255;
	--titles: #38214a;
	--titles-rgb: 56, 33, 74;

	/* Added Color Variables */
	--color-white: #fff;
	--color-black: #000;
	--color-border-light: #e5e5e5;
	--color-text-muted: #5d516c;
	--color-text-muted-rgb: 93, 81, 108;
	--color-shadow-light: rgba(143, 143, 143, 0.2);
	--color-button-dark: #242424;
	--color-gray-dark: #333;
	--color-text-disclaimer: #dfdfdf;
}

::selection {
	background: var(--main-color);
}

h3 {
	font-weight: 700;
	margin: 60px 0 10px;
}

p {
	margin: 10px 0 30px 0 !important; /* Consider removing !important if possible */
}

ol,
ul {
	margin: 0 0 1.5em 1em;
}

hr { /* Moved from Blog section as it's a general element */
	background: none;
	border: none;
	border-bottom: 1px dashed var(--color-border-light);
	max-width: unset;
}

.text-center {
	text-align: center !important; /* Consider removing !important if possible */
}

.title-highlight {
	color: var(--main-color);
}

.qodef-content-grid { /* Moved from Header section */
	padding: 0 !important; /* Consider removing !important if possible */
}

/*==================================================
2. Header & Navigation
==================================================*/
.qodef-menu-item-text{
    display: flex;
    align-items: center;
}
.qodef-header-navigation-wrapper{
    height: 100%;
}
#qodef-page-header,
#qodef-page-mobile-header {
	background: var(--main-color) !important; /* Consider removing !important */
}

#qodef-page-header .qodef-header-logo-link.qodef-height--not-set img {
	width: 70% !important; /* Consider using a more specific selector or removing !important */
}

header svg {
	transition: filter 0.2s ease-in-out;
	max-height: 55px;
    width: auto;
}

header svg path {
	fill: var(--color-white);
}

header svg:hover {
	filter: drop-shadow(0 0 10px var(--sub-color));
}

/* Desktop Navigation */
.qodef-header-navigation {
	align-items: center;
	display: flex;
	height: 100%;
}

.qodef-header-navigation ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
}

.qodef-header-navigation > ul > li {
	height: 100%;
	padding: 0 25px;
	position: relative;
}

.qodef-header-navigation > ul > li > a {
	align-items: center;
	color: var(--titles);
	display: flex;
	font-family: "Poppins", sans-serif;
	font-size: 15px;
	font-weight: 600;
	height: 100%;
	letter-spacing: -0.01em;
	text-decoration: none;
}

.qodef-header-navigation > ul > li:hover > a {
	color: rgba(var(--titles-rgb), 0.5);
}

/* Desktop Dropdown Menu */
.qodef-header-navigation .sub-menu {
	background-color: var(--color-white);
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	box-shadow: 2px 7px 17.82px 0.18px rgba(var(--sub-color-rgb)) !important; /* Consider removing !important */
	display: flex !important; /* Consider removing !important */
	flex-direction: column !important; /* Consider removing !important */
	left: 0;
	margin: 0;
	opacity: 0;
	padding: 20px 0;
	position: absolute;
	top: 100%;
	transition: opacity 0.3s ease-out, visibility 0.2s ease-out;
	visibility: hidden;
	width: 300px;
}

.qodef-header-navigation > ul > li:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
}

.qodef-header-navigation .sub-menu li {
	padding: 0 25px;
}

.qodef-header-navigation .sub-menu li a {
	color: var(--color-text-muted);
	display: block;
	font-size: 14px;
	font-weight: 400;
	line-height: 31px;
	text-decoration: none;
	transition: all 0.3s ease;
}

.qodef-header-navigation .sub-menu li a:hover {
	color: rgba(var(--color-text-muted-rgb), 0.7);
	padding-left: 8px;
}

/* Mobile Header */
body:not([class*=neobeat-core]) #qodef-page-mobile-header .qodef-mobile-header-logo-link {
	height: 40px !important; /* Consider removing !important */
}

/* Mobile Hamburger Icon */
.qodef-mobile-header-opener {
	align-items: center;
	cursor: pointer;
	display: flex;
	justify-content: center;
	padding: 10px;
}

.qodef-mobile-header-opener .hamburger-icon {
	height: 20px;
	position: relative;
	width: 25px;
}

.qodef-mobile-header-opener .hamburger-icon span {
	background: var(--color-black);
	border-radius: 3px;
	display: block;
	height: 3px;
	left: 0;
	opacity: 1;
	position: absolute;
	transform: rotate(0deg);
	transition: .25s ease-in-out;
	width: 100%;
}

.qodef-mobile-header-opener .hamburger-icon span:nth-child(1) { top: 0px; }
.qodef-mobile-header-opener .hamburger-icon span:nth-child(2) { top: 8px; }
.qodef-mobile-header-opener .hamburger-icon span:nth-child(3) { top: 16px; }

.qodef-mobile-header-opener.active .hamburger-icon span:nth-child(1) {
	top: 8px;
	transform: rotate(45deg);
}

.qodef-mobile-header-opener.active .hamburger-icon span:nth-child(2) {
	opacity: 0;
}

.qodef-mobile-header-opener.active .hamburger-icon span:nth-child(3) {
	top: 8px;
	transform: rotate(-45deg);
}

/* Mobile Navigation Menu */
.qodef-mobile-header-navigation {
	background: var(--color-white);
	box-shadow: 2px 7px 17.82px 0.18px rgba(var(--sub-color-rgb)) !important; /* Consider removing !important */
	display: none;
	left: 0;
	position: absolute;
	top: 100%;
	width: 100%;
	z-index: 1000;
}

.qodef-mobile-header-navigation.active {
	display: block;
}

#qodef-mobile-navigation-menu {
	list-style: none;
	margin: auto;
	padding: 20px 0;
	width: 85%;
}

#qodef-mobile-navigation-menu ul,
#qodef-mobile-navigation-menu li {
	list-style: none;
	margin: 0;
	padding: 0;
}

#qodef-mobile-navigation-menu > li { /* Main categories */
	font-weight: bold;
	padding: 12px 0;
}

#qodef-mobile-navigation-menu > li > ul > li { /* Submenu items */
	font-weight: normal;
	padding: 6px 12px;
}

/*======================================
3. Blog Styles
======================================*/
.qodef-blog {
	margin: 25px 0 0 0;
}

.qodef-blog a {
	border-bottom: 2px solid var(--sub-color);
	font-weight: 500;
	/* Consider text-decoration: none; if needed */
}

.qodef-blog a:hover {
	border-bottom-color: var(--main-color);
}

.qodef-blog img {
	border: 2px solid var(--sub-color);
	border-radius: 10px;
	transition: border-color 0.3s ease; /* Added transition */
}

.qodef-blog img:hover {
	border-color: var(--main-color);
}

.qodef-blog .qodef-blog-item .qodef-e-content {
	border-radius: 15px;
	box-shadow: 2px 7px 17.82px 0.18px var(--color-shadow-light);
}

.qodef-blog p { /* Overrides general p style */
	margin: 10px 0 10px 0 !important; /* Consider removing !important */
}

.qodef-blog ol,
.qodef-blog ul { /* Overrides general list style */
	margin: 0 0 2.25em 1em;
}

.qodef-e-content h4 { /* Specific to blog content? */
	margin: 30px 0 10px 0;
}

.qodef-e-content h5 { /* Specific to blog content? */
	margin: 20px 0 10px 0;
}

.entry-title { /* Usually for single post/page titles */
	margin: 10px 0 40px 0 !important; /* Consider removing !important */
	text-align: center;
}

.single-post .product-thumbnail img { /* Specific to single blog posts */
	display: block; /* Added for centering */
	margin: 0 auto;
	width: 1100px; /* Base width */
}

/*==================================
4. Product Styles
==================================*/
/* Product Thumbnail */
.product-thumbnail-wrapper {
	background-position: center;
	background-size: cover;
	filter: blur(30px);
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 1;
}

.product-thumbnail {
	display: flex;
	justify-content: center;
	margin-top: -125px;
	padding: 0 25px;
	position: relative;
	z-index: 2;
}

.product-thumbnail img {
	border: 3px solid var(--color-white);
	border-radius: 15px;
    max-width: 300px;
    /* box-shadow: 0 0 0 3px var(--sub-color); */
}
.single-product .product-thumbnail img {
	aspect-ratio: 1 / 1;
    object-fit: contain;
	min-width: 300px;
}

/* Product Content */
.product-content blockquote {
	padding: 10px 0;
	position: relative;
	text-align: center;
}

.product-content blockquote:before,
.product-content blockquote:after {
	color: var(--sub-color);
	font-size: 205px;
	font-weight: 700;
	line-height: 1;
	position: absolute;
	transform: translateY(-50%);
	z-index: -1;
}

.product-content blockquote:before {
	content: '“';
	left: 25px;
	top: 50%;
}

.product-content blockquote:after {
	content: '”';
	right: 25px;
	top: 100%; /* This might be intentional, but check if 50% is desired */
}

/* Product Media */
.product-media-gallery {
	margin: 20px 0;
}

.product-videos-tiktoks {
	margin: 20px 0;
}

/* TikTok Embeds */
.tiktok-embed {
	padding: 0 !important; /* Consider removing !important */
}

.tiktok-embed::before,
.tiktok-embed::after {
	content: none !important; /* Consider removing !important */
}

.tiktok-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
	margin-top: 20px;
}

.tiktok-grid blockquote {
	margin: 0; /* Override default blockquote margin */
}

.tiktok-item {
	padding-bottom: 100%; /* Aspect ratio */
	position: relative;
	width: 100%;
}

.tiktok-item iframe {
	border-radius: 10px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

/* Related/Series Products on Product Page */
.series-products { /* Container for product grid on product page? */
	margin-top: 20px;
}

.product-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(3, 1fr);
}

.product-grid-title {
	background: var(--sub-color);
	border-radius: 5px;
	color: var(--titles);
	font-weight: 600;
	margin: 0;
	max-width: 250px;
	padding: 2px;
	transition: background-color 0.3s ease, color 0.3s ease; /* Added transition */
}

.product-grid-title:hover {
	background: var(--main-color);
	color: var(--color-white);
}

.product-grid-img {
	border: 2px solid var(--sub-color);
	border-radius: 10px;
	height: auto;
	margin: 10px 0;
	max-width: 250px;
	transition: border-color 0.3s ease; /* Added transition */
	width: 100%;
}

.product-grid-img:hover {
	border-color: var(--main-color);
}

/* Where to Buy Buttons (Product/Series Pages) */
.where-to-buy-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
	margin-top: 30px; /* Added some margin */
}

.product-buy-button {
	display: inline-block; /* Changed from inline-block to block for consistency */
	margin: 10px; /* Kept margin for spacing if flex gap isn't enough */
	text-align: center;
}

.product-buy-button img {
	height: auto;
	max-width: 100%;
	transition: transform 0.3s ease;
	width: 250px;
}

.product-buy-button:hover img { /* Apply hover effect to image */
	transform: scale(1.05);
	/* box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); Removed shadow from button, applied scale to img */
}

/*==================================
5. Series Styles
==================================*/
/* Series Page - Main Series Display */
.series-grid { /* Container for the main series image/title */
	align-items: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin-bottom: 40px; /* Added margin */
}

.series-grid-img {
	border: 2px solid var(--sub-color);
	border-radius: 10px;
	height: auto;
	margin: 0 0 10px 0;
	transition: border-color 0.3s ease; /* Added transition */
	width: 400px; /* Consider max-width: 100% */
}

.series-grid-img:hover {
	border-color: var(--main-color);
}

.series-grid-title {
	background: var(--sub-color);
	border-radius: 5px;
	color: var(--titles);
	font-weight: 600;
	margin: 0;
	padding: 2px;
	transition: background-color 0.3s ease, color 0.3s ease; /* Added transition */
	/* Consider text-align: center */
}

.series-grid-title:hover {
	background: var(--main-color);
	color: var(--color-white);
}

/* Series Page - "More Series" Grid */
.more-series-grid { /* Used on Series page and maybe Homepage? */
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	/* justify-items: center; /* Added for alignment */
}

.more-series-item {
	align-items: center;
	display: flex;
	flex-direction: column;
	max-width: 100%;
	text-align: center;
}

.more-series-item img {
	border: 2px solid var(--sub-color);
	border-radius: 10px;
	cursor: pointer;
	display: block;
	height: auto;
	transition: border-color 0.3s ease; /* Added transition */
	width: 100%;
}

.more-series-item img:hover {
	border-color: var(--main-color);
}

/* Series Page - Where to Buy Section */
.series-where-to-buy { /* Wrapper for buttons on Series page */
	margin-top: 70px;
}

/*==================================
6. Homepage Styles
==================================*/
.homepage-container {
	padding: 40px 0px;
}

.featured-series-section,
.featured-products-section { /* Renamed from .homepage-products-section */
	margin-bottom: 60px;
}

.featured-section-title {
	font-size: 2em;
	margin-bottom: 20px;
	text-align: center;
}

/* Featured Series Grid */
.featured-series-grid {
	display: grid;
	gap: 60px;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	justify-items: center;
}

.featured-series-item {
	width: 100%;
	max-width: 400px;
	text-align: center;
}

.featured-series-img {
	border: 2px solid var(--sub-color);
	border-radius: 10px;
	height: auto;
	margin: 0 0 10px 0;
	width: 100%;
}

.featured-series-img:hover {
	border-color: var(--main-color);
}

.featured-series-title {
	background: var(--sub-color);
	border-radius: 5px;
	color: var(--titles);
	font-size: 1.2em;
	font-weight: 600;
	margin: 0;
	padding: 2px;
}

.featured-series-title:hover {
	background: var(--main-color);
	color: var(--color-white);
}

/* Featured Products Grid */ /* Updated comment */
.featured-products-grid { /* Renamed from .homepage-products-grid */
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	justify-items: center;
}

.featured-product-item { /* Renamed from .homepage-product-item */
	max-width: 200px;
	text-align: center;
}

.featured-product-img { /* Renamed from .homepage-product-img */
    aspect-ratio: 1 / 1; 
	border: 2px solid var(--sub-color);
	border-radius: 8px;
	height: auto;
	max-height: 180px; /* Fixed height */
	max-width: 180px; /* Fixed width */
	object-fit: contain; /* Added for better image handling */
	transition: border-color 0.3s ease; /* Added transition */
	width: 100%; /* Use width 100% with max-width */
}

.featured-product-img:hover { /* Updated selector */
	border-color: var(--main-color);
}

.featured-product-title { /* Renamed from .homepage-product-title */
	font-size: 1em;
	margin-top: 8px;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Homepage Explore Button */
.explore-items-container {
	display: flex;
	justify-content: center;
	margin-top: 30px;
}

.explore-items-button {
	background-color: var(--color-button-dark);
	border: none;
	border-radius: 5px;
	box-sizing: border-box;
	color: var(--color-white);
	display: inline-block;
	font-size: 1.25rem;
	font-weight: 600;
	max-width: 100%;
	padding: 15px 50px;
	text-align: center;
	text-decoration: none;
    font-family: 'Poppins', sans-serif !important;
}

.explore-items-button:hover,
.explore-items-button:focus {
	background-color: var(--main-color);
	color: var(--color-white);
	outline: none;
}

/*======================================
7. Archive Styles
======================================*/
/* Assuming this is for category/tag/etc. archive pages */
.archive-series-section, .archive-products-section {
	padding: 30px 0px;
}

/*========================================
8. Masonry Grid Styles
========================================*/
.masonry-grid {
	overflow: hidden; /* Often needed for float-based layouts */
	/* Consider using display: grid or flexbox for modern masonry */
}

.grid-sizer,
.masonry-item {
	width: 25%; /* Default column width */
	/* If using floats, add float: left; box-sizing: border-box; */
}

.masonry-item {
	padding: 5px; /* Gutter */
}

.masonry-item img {
	border: 2px solid var(--sub-color);
	border-radius: 10px;
	cursor: pointer;
	display: block; /* Remove extra space below image */
	height: auto;
	transition: border-color 0.3s ease; /* Added transition */
	width: 100%;
}

.masonry-item img:hover {
	border-color: var(--main-color);
}

/*========================================
9. Footer Styles
========================================*/
#qodef-page-footer {
	margin-top: 100px !important; /* Consider removing !important */
}

.footer-content {
	align-items: center;
	background: var(--sub-color);
	display: flex !important; /* Consider removing !important */
	justify-content: space-between;
	padding: 30px 30px;
	/* Add flex-wrap: wrap; for responsiveness */
}

.footer-about,
.footer-social {
	max-width: 100%;
	/* Consider setting a flex-basis or width */
}

.footer-about h4,
.footer-social h4 {
	color: var(--color-white);
	font-size: 18px;
	margin: 0 0 10px 0;
}

.footer-about p {
	color: var(--color-white);
	font-size: 14px;
	line-height: 1.5;
	margin: 0; /* Overrides general p style */
}

.footer-social a {
	color: var(--color-gray-dark); /* Should this be white? */
	font-size: 18px;
	margin-right: 10px;
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer-social a:hover {
	color: var(--main-color);
}

.footer-disclaimer {
	background: var(--main-sub-color);
	color: var(--color-text-disclaimer);
	font-size: 12px;
	padding: 10px 30px;
	text-align: left;
}

/*========================================
10. Responsive Styles
========================================*/

/* 1200px Breakpoint */
@media only screen and (max-width: 1200px) {
	/* Single Post Images */
	.single-post .product-thumbnail img {
		width: 960px;
	}

	/* Masonry Grid */
	.grid-sizer,
	.masonry-item {
		width: 33.333%;
	}

	/* Explore Button */
	.explore-items-button {
		font-size: 1.2rem;
		padding: 14px 45px;
	}
}

/* 1024px Breakpoint */
@media only screen and (max-width: 1024px) {
	/* Single Post Images */
	.single-post .product-thumbnail img {
		width: 768px;
	}

	/* Hide Desktop Navigation */
	.qodef-header-navigation {
		display: none;
	}

	/* More Series Grid (Series Page) */
	/* This rule was at 1025px before, adjusted to 1024px for consistency */
	.more-series-grid { /* Renamed from .series-more-series-grid */
		grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	}
}

/* 992px Breakpoint */
@media (max-width: 992px) {
	/* Explore Button */
	.explore-items-button {
		font-size: 1.1rem;
		padding: 13px 40px;
	}
}

/* 800px Breakpoint */
@media only screen and (max-width: 800px) {
	/* Single Post Images */
	.single-post .product-thumbnail img {
		width: 86%; /* Use percentage for smaller screens */
	}
}

/* 786px Breakpoint */
@media (max-width: 786px) {
	/* More Series Grid (Series Page) */
	/* This rule seems large (400px min), double check if intended */
	.more-series-grid { /* Renamed from .series-more-series-grid */
		grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	}
}

/* 768px Breakpoint */
@media (max-width: 768px) {
	/* Product Grid */
	.product-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	/* Masonry Grid */
	.grid-sizer,
	.masonry-item {
		width: 50%;
	}

	/* Explore Button */
	.explore-items-button {
		font-size: 1rem;
		padding: 12px 35px;
	}

	/* Responsive Logo Size (General) */
	/* Assuming the SVG logo is inside a container with class .site-branding */
	/* This was at 767px before, consolidated here */
	.site-branding svg, /* Added */
	#qodef-page-mobile-header-inner svg { /* Added */
		height: auto;
		max-width: 50vw; /* Example: 50% of viewport width */
	}
}

/* 680px Breakpoint */
@media only screen and (max-width: 680px) {
	/* Mobile Header Padding & Logo */
	#qodef-page-mobile-header-inner {
		padding: 0 30px !important; /* Consider removing !important */
	}
	#qodef-page-mobile-header-inner svg {
		height: auto;
		max-width: 75% !important; /* Overrides 768px rule, consider removing !important */
	}
    .qodef-blog .qodef-blog-item .qodef-e-content{
        padding: 0 !important;
        box-shadow: none !important;
    }
    .product-grid-img{
        max-width: 100% !important;
    }
    .archive-page-container{
        padding: 0 !important;
    }
    .archive-series-section, .archive-products-section{
        padding: 30px 0px !important;
    }
	.read-more-title{
		border-top: 1px solid #eee;
		padding-top: 50px;
		padding-bottom: 10px;
	}
}

/* 576px Breakpoint */
@media (max-width: 576px) {
	/* Explore Button */
	.explore-items-button {
		font-size: 0.9rem;
		padding: 10px 30px;
		width: 304px; /* Consider width: 100% or auto */
	}
}

/* 500px Breakpoint */
@media (max-width: 500px) {
	/* Masonry Grid */
	.grid-sizer,
	.masonry-item {
		width: 100%;
	}
}

/* 480px Breakpoint */
@media only screen and (max-width: 480px) {
	h1 { /* Base h1 style? Should be in general styles */
		font-size: 35px;
	}

	.entry-title { /* Blog Title */
		font-size: 24px;
	}

	/* Homepage */
	.homepage-container {
		padding: 0 !important; /* Consider removing !important */
	}
	.featured-products-grid { /* Updated selector */
		grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	}
    .more-series-grid{
		grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
	/* Product Page */
	.product-thumbnail {
		margin-top: -155px !important; /* Consider removing !important */
		padding: 0 15px !important; /* Reduced padding, Consider removing !important */
	}
	.product-grid-title {
		font-size: 15px;
	}
	.product-content blockquote:before {
		font-size: 155px;
		height: 40px; /* May distort quote mark */
		left: 0 !important; /* Consider removing !important */
	}
	.product-content blockquote:after {
		font-size: 155px;
		height: unset;
		right: 0;
		top: unset; /* Resetting top */
		bottom: 0; /* Positioning near bottom might be better */
	}
    .product-grid-title{
        font-size: 15px !important;
    }
}

/*==================================================
Blog Archive Styles
==================================================*/
.archive-page-container {
    max-width: 1300px;
    margin: 0 auto;
}

.archive-blog-section {
    margin: 50px 0;
}

.archive-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--titles);
    margin-bottom: 40px;
    text-align: center;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.blog-post-item {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--color-white);
    box-shadow: 0 5px 15px var(--color-shadow-light);
}

.blog-post-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--color-shadow-light);
}

.blog-post-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-post-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-post-thumbnail {
    position: relative;
    overflow: hidden;
    padding-top: 60%;
}

.blog-featured-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-post-item:hover .blog-featured-img {
    transform: scale(1.05);
}

.blog-post-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-post-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--titles);
    margin: 0 0 10px;
    transition: color 0.3s ease;
}

.blog-post-item:hover .blog-post-title {
    color: var(--main-color);
}

.blog-post-meta {
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--color-text-muted);
}

.blog-post-excerpt {
    font-size: 15px;
    line-height: 1.5;
    color: var(--color-text-muted);
    margin-bottom: 15px;
    flex-grow: 1;
}

.blog-read-more {
    color: var(--main-color);
    font-weight: 600;
    font-size: 14px;
    transition: opacity 0.3s ease;
    align-self: flex-start;
}

.blog-post-item:hover .blog-read-more {
    opacity: 0.8;
}

.blog-pagination {
    text-align: center;
    margin-top: 40px;
}

.blog-pagination .page-numbers {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 3px;
    border-radius: 4px;
    background-color: var(--color-white);
    color: var(--color-text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px var(--color-shadow-light);
}

.read-more-section .related-posts-grid a{
	border-bottom: 3px solid var(--sub-color);
}
.read-more-section .related-posts-grid a:hover{
	border-bottom: 3px solid var(--main-color);
}

.blog-pagination .page-numbers.current {
    background-color: var(--main-color);
    color: var(--color-white);
}

.blog-pagination .page-numbers:not(.current):hover {
    background-color: var(--sub-color);
    color: var(--color-white);
}

/* Responsive Styles for Blog Archive */
@media (max-width: 1024px) {
    .blog-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .archive-title {
        font-size: 30px;
    }
    
    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .blog-post-title {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .archive-title {
        font-size: 24px;
    }
    
    .blog-post-content {
        padding: 15px;
    }
    
    .blog-pagination .page-numbers {
        padding: 6px 12px;
        margin: 0 2px;
    }
}

/*==================================================
Blog Page Styles
==================================================*/
.blog-page-container {
    padding: 0 20px;
    max-width: 1300px;
    margin: 0 auto;
}

.blog-section {
    margin: 50px 0;
}

.blog-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
}

.blog-posts-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.blog-post-card {
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--color-white);
    box-shadow: 0 8px 25px var(--color-shadow-light);
}

.blog-post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--color-shadow-light);
}

.featured-post {
    grid-column: 1 / -1;
}

.featured-post .blog-post-image {
    padding-top: 30%;
}

.featured-post .blog-post-title {
    font-size: 32px;
}

.blog-post-image {
    position: relative;
    overflow: hidden;
    padding-top: 65%;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,0.7) 100%);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.blog-post-card:hover .blog-featured-img {
    transform: scale(1.1);
}

.blog-post-card:hover .image-overlay {
    opacity: 0.4;
}

.blog-read-more-btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--main-color);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    align-self: flex-end;
    margin-top: auto;
}

.blog-post-card:hover .blog-read-more-btn {
    background-color: var(--sub-color);
    transform: translateY(-3px);
}

/* Color accent variations */
.color-accent-1 {
    border-top: 5px solid var(--main-color);
}

.color-accent-2 {
    border-top: 5px solid var(--sub-color);
}

.color-accent-3 {
    border-top: 5px solid #f5c6d6; /* Pink accent */
}

.featured-post.color-accent-1 .blog-post-image::before,
.featured-post.color-accent-2 .blog-post-image::before,
.featured-post.color-accent-3 .blog-post-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    z-index: 10;
}

.featured-post.color-accent-1 .blog-post-image::before {
    background-color: var(--main-color);
}

.featured-post.color-accent-2 .blog-post-image::before {
    background-color: var(--sub-color);
}

.featured-post.color-accent-3 .blog-post-image::before {
    background-color: #f5c6d6;
}

/* Blog Page Responsive Styles */
@media (max-width: 1024px) {
    .blog-posts-showcase {
        gap: 30px;
    }
    
    .featured-post .blog-post-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
	.site-title{
		color: white !important;
		font-size: 30px !important;
	}
    .blog-posts-showcase {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .blog-title {
        font-size: 36px;
    }
    
    .blog-post-content {
        padding: 25px;
    }
    
    .featured-post .blog-post-title {
        font-size: 26px;
    }
    
    .blog-post-title {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .blog-title {
        font-size: 30px;
    }
    
    .featured-post .blog-post-title {
        font-size: 24px;
    }
    
    .blog-post-title {
        font-size: 20px;
    }
}


.single-post .product-thumbnail img{
    max-width: 1000px !important;
}

.read-more-title {
    text-align: center;
    margin-bottom: 20px; /* Increased spacing */
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; /* Increased gap */
}

.related-post-card {
    background-color: #ffffff;
    border-radius: 12px; /* More rounded corners */
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* Softer, slightly larger shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions */
    display: flex; /* Ensure consistent height if images are missing */
    flex-direction: column; /* Stack image and content vertically */
}

.related-post-card:hover {
    transform: translateY(-5px); /* Subtle lift effect */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12); /* Enhanced shadow on hover */
}

.related-post-card a {
    text-decoration: none;
    color: inherit; /* Inherit text color */
    display: flex; /* Make the link cover the card */
    flex-direction: column;
    flex-grow: 1; /* Allow link to fill card */
}

.related-post-image {
    height: 200px;
    overflow: hidden;
    position: relative; /* For potential overlay effects later */
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure image covers the area */
    transition: transform 0.4s ease; /* Zoom effect on hover */
	border: none !important;
	border-radius: 0 !important;
}

.related-post-card:hover .related-post-image img {
    transform: scale(1.05); /* Slight zoom on hover */
}

.related-post-content {
    padding: 25px; /* More padding */
    flex-grow: 1; /* Allow content to push footer elements down if needed */
}

.related-post-title {
    margin: 0 0 15px 0; /* Increased bottom margin */
    font-size: 1.25em; /* Slightly larger title */
    font-weight: 600; /* Bold title */
    line-height: 1.3;
    color: #222; /* Darker title color */
}

.related-post-excerpt {
    color: #555; /* Slightly darker excerpt text */
    font-size: 0.95em; /* Slightly larger excerpt text */
    line-height: 1.6;
}

.site-title{
	color: white !important;
}