/*
Theme Name: Joga Theme
Theme URI: https://joga.pl
Author: Custom
Author URI: https://joga.pl
Description: Własny temat dla strony jogi z customowymi rozwiązaniami dla strefy online i sklepu.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: joga-theme
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Tags: custom-menu, custom-logo, featured-images, threaded-comments, translation-ready, e-commerce, woocommerce
*/

/* Base Styles */
* {
	box-sizing: border-box;
}

:root {
	--strefa-primary: #8B7355;
	--strefa-primary-dark: #6B5A47;
	--strefa-accent: #D4A574;
}

body {
	margin: 0;
	padding: 0;
	font-family: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: #2c2824;
	background: #ffffff;
}

/* Hide default WooCommerce add to cart messages */
.woocommerce-message[role="alert"],
.woocommerce-info[role="alert"],
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info {
	display: none !important;
}

/* Typography - Headings */
h1, h2, h3, h4, h5, h6 {
	font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	font-weight: 300;
	letter-spacing: 0.02em;
	line-height: 1.2;
	margin-top: 0;
	margin-bottom: 0;
}

h1 {
	font-size: 3.5rem;
	font-weight: 300;
}

h2 {
	font-size: 2.5rem;
	font-weight: 300;
}

h3 {
	font-size: 1.875rem;
	font-weight: 400;
}

h4, h5, h6 {
	font-weight: 400;
}

a {
	color: #877d71;
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover {
	color: #6b6359;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* Site Structure */
.site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.site-content {
	flex: 1;
	width: 100%;
}

#primary.content-area {
	width: 100%;
	max-width: 100%;
}

#main.site-main {
	width: 100%;
	max-width: 100%;
}

/* Header Top Bar */
.site-header-top {
	background: #877d71;
	color: #ffffff;
	padding: 0.75rem 0;
	font-size: 0.875rem;
}

.site-header-top .site-header-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.header-contact {
	display: flex;
	gap: 2rem;
	align-items: center;
}

.header-contact-item {
	color: #ffffff;
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	transition: opacity 0.3s ease;
}

.header-contact-item:hover {
	opacity: 0.8;
	color: #ffffff;
}

.header-contact-item i {
	font-size: 0.875rem;
}

.header-social {
	display: flex;
	gap: 1rem;
	align-items: center;
}

.header-social-link {
	color: #ffffff;
	text-decoration: none;
	width: 2rem;
	height: 2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	transition: all 0.3s ease;
}

.header-social-link:hover {
	background: rgba(255, 255, 255, 0.2);
	color: #ffffff;
	transform: translateY(-0.125rem);
}

/* Header Main */
.site-header {
	background: #ffffff;
	border-bottom: 0.0625rem solid #e0ddd9;
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 0.125rem 0.5rem rgba(135, 125, 113, 0.05);
}

.site-header-main {
	padding: 1.25rem 0;
}

.site-header-inner {
	max-width: 100rem;
	margin: 0 auto;
	padding: 0 1.5rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.site-branding {
	display: flex;
	align-items: center;
	flex-direction: column;
	align-items: flex-start;
}

.site-title {
	margin: 0;
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.2;
}

.site-title a {
	color: #2c2824;
	text-decoration: none;
	transition: color 0.3s ease;
}

.site-title a:hover {
	color: #877d71;
}

.site-description {
	margin: 0.25rem 0 0 0;
	font-size: 0.875rem;
	color: #666666;
	font-style: italic;
}

.custom-logo {
	max-height: 4rem;
	width: auto;
	transition: opacity 0.3s ease;
}

.custom-logo:hover {
	opacity: 0.8;
}

/* Navigation */
.main-navigation {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.menu-toggle {
	display: none;
	background: none;
	border: none;
	padding: 0.5rem;
	cursor: pointer;
	flex-direction: column;
	gap: 0.25rem;
	width: 2.5rem;
	height: 2.5rem;
	justify-content: center;
	align-items: center;
	position: relative;
	z-index: 1000;
}

.menu-toggle-icon {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
	width: 100%;
	height: 100%;
	justify-content: center;
	align-items: center;
}

.hamburger-line {
	width: 1.5rem;
	height: 0.125rem;
	background: #2c2824;
	transition: all 0.3s ease;
	display: block;
	border-radius: 0.0625rem;
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
	transform: rotate(45deg) translate(0.3125rem, 0.3125rem);
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
	opacity: 0;
	transform: translateX(-0.5rem);
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
	transform: rotate(-45deg) translate(0.3125rem, -0.3125rem);
}

/* Fix for menu-toggle-icon wrapper */
.menu-toggle .menu-toggle-icon {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
	width: 100%;
	height: 100%;
	justify-content: center;
	align-items: center;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon .hamburger-line:nth-child(1) {
	transform: rotate(45deg) translate(0.3125rem, 0.3125rem);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon .hamburger-line:nth-child(2) {
	opacity: 0;
	transform: translateX(-0.5rem);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon .hamburger-line:nth-child(3) {
	transform: rotate(-45deg) translate(0.3125rem, -0.3125rem);
}

.primary-menu {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 2.5rem;
	align-items: center;
}

.primary-menu li {
	margin: 0;
	position: relative;
}

.primary-menu > li > a {
	color: #2c2824;
	font-weight: 500;
	font-size: 1rem;
	padding: 0.5rem 0;
	display: block;
	position: relative;
	transition: color 0.3s ease;
}

.primary-menu > li > a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 0.125rem;
	background: #877d71;
	transition: width 0.3s ease;
}

.primary-menu > li > a:hover::after,
.primary-menu > li.current-menu-item > a::after {
	width: 100%;
}

.primary-menu a:hover {
	color: #877d71;
}

.primary-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	background: #ffffff;
	min-width: 12.5rem;
	list-style: none;
	margin: 0;
	padding: 0.5rem 0;
	box-shadow: 0 0.25rem 1.25rem rgba(135, 125, 113, 0.15);
	border-radius: 0.375rem;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-0.5rem);
	transition: all 0.3s ease;
	z-index: 1000;
}

.primary-menu li:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.primary-menu .sub-menu li {
	width: 100%;
}

.primary-menu .sub-menu a {
	padding: 0.75rem 1.25rem;
	display: block;
	color: #2c2824;
	font-weight: 400;
}

.primary-menu .sub-menu a:hover {
	background: #f8f7f5;
	color: #877d71;
}

/* Footer */
.site-footer {
	background: var(--strefa-primary, #8B7355);
	color: #ffffff;
	margin-top: 4rem;
}

.footer-container {
	max-width: 100rem;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.site-footer-widgets {
	padding: 4rem 0 2rem;
	border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.15);
}

.footer-columns {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
	gap: 3rem;
	align-items: start;
}

.footer-column {
	display: flex;
	flex-direction: column;
}

.footer-column-about {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 1rem;
}

.footer-logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.footer-logo img {
	max-height: 3rem;
	width: auto;
	filter: brightness(0) invert(1);
}

.footer-logo::after {
	content: '';
	width: 0.0625rem;
	height: 3rem;
	background: rgba(255, 255, 255, 0.3);
	margin-left: 1rem;
}

.footer-column-about .footer-title {
	margin: 0;
	font-size: 1rem;
	font-weight: 400;
	color: #ffffff;
	text-transform: none;
	line-height: 1.4;
	display: flex;
	flex-direction: column;
}

.footer-column-about .footer-description {
	margin: 0;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.875rem;
	line-height: 1.4;
}

.footer-title {
	margin: 0 0 1.25rem 0;
	font-size: 1rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.8);
	text-transform: none;
	font-family: "Lato", sans-serif;
}

.footer-description {
	margin: 0 0 1.5rem 0;
	color: rgba(255, 255, 255, 0.7);
	line-height: 1.6;
	font-size: 0.9375rem;
}

.footer-social {
	display: flex;
	gap: 0.75rem;
	margin-top: 1rem;
}

.footer-social-link {
	color: #ffffff;
	text-decoration: none;
	width: 2.5rem;
	height: 2.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	transition: all 0.3s ease;
}

.footer-social-link:hover {
	background: rgba(255, 255, 255, 0.25);
	color: #ffffff;
	transform: translateY(-0.125rem);
}

.footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.footer-menu li {
	margin: 0;
}

.footer-menu a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	transition: color 0.3s ease;
	font-size: 0.9375rem;
	font-family: "Lato", sans-serif;
}

.footer-menu a:hover {
	color: #ffffff;
}

.footer-contact-item {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
	color: rgba(255, 255, 255, 0.7);
	line-height: 1.6;
	font-size: 0.9375rem;
	font-family: "Lato", sans-serif;
}

.footer-contact-item i {
	margin-top: 0.25rem;
	color: rgba(255, 255, 255, 0.6);
	flex-shrink: 0;
	opacity: 0.8;
	font-size: 0.875rem;
}

.footer-contact-item a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer-contact-item a:hover {
	color: #ffffff;
}

.footer-contact-item span {
	color: rgba(255, 255, 255, 0.7);
}

.site-footer-bottom {
	padding: 1rem 0;
	background: var(--strefa-primary-dark, #6B5A47);
	border-top: 0.0625rem solid rgba(255, 255, 255, 0.1);
}

.site-footer-bottom .footer-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
}

.site-info {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.8125rem;
	margin: 0;
	font-family: "Lato", sans-serif;
}

.site-info p {
	margin: 0;
}

.footer-custom-text {
	margin: 0;
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.875rem;
}

/* Remove ALL Kadence classes and styles */
[class*="kadence"],
[class*="Kadence"],
[id*="kadence"],
[id*="Kadence"],
.kadence-woo-template-wrap,
.kadence-woo-template,
.kadence-woo-product-wrap {
	max-width: 100% !important;
	width: 100% !important;
	box-sizing: border-box !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Ensure containers are properly constrained */
.woocommerce-wrapper,
.product-container-wrapper,
.product-main {
	max-width: 100rem !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Screen Reader Text */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 0.1875rem;
	box-shadow: 0 0 0.125rem 0.125rem rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 0.3125rem;
	line-height: normal;
	padding: 0.9375rem 1.4375rem 0.875rem;
	text-decoration: none;
	top: 0.3125rem;
	width: auto;
	z-index: 100000;
}

/* Responsive */
@media (max-width: 1024px) {
	.site-header-inner {
		padding: 0 1rem;
	}

	.primary-menu {
		gap: 1.5rem;
	}
}

@media (max-width: 768px) {
	.site-header-top {
		display: none;
	}

	.site-header-main {
		padding: 1rem 0;
	}

	.main-navigation {
		position: relative;
	}

	.menu-toggle {
		display: flex !important;
		order: 1;
		margin-left: auto;
		margin-right: 0.5rem;
		z-index: 1001;
	}

	.primary-menu {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #ffffff;
		flex-direction: column;
		padding: 1rem;
		box-shadow: 0 0.25rem 1.25rem rgba(135, 125, 113, 0.1);
		gap: 0;
		margin-top: 0.5rem;
	}

	.primary-menu.active {
		display: flex;
	}

	.primary-menu li {
		width: 100%;
		border-bottom: 0.0625rem solid #e0ddd9;
	}

	.primary-menu li:last-child {
		border-bottom: none;
	}

	.primary-menu > li > a {
		padding: 1rem;
		width: 100%;
	}

	.primary-menu > li > a::after {
		display: none;
	}

	.footer-columns {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.footer-column-about {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}

	.footer-logo::after {
		display: none;
	}

	.site-footer-widgets {
		padding: 3rem 0 1.5rem;
	}

	.site-footer-bottom .footer-container {
		flex-direction: column;
		text-align: center;
	}

	.primary-menu .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		background: #f8f7f5;
		margin-top: 0.5rem;
		border-radius: 0;
	}

	.footer-columns {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.footer-container {
		padding: 0 1rem;
	}

	.site-footer-widgets {
		padding: 3rem 0 1.5rem;
	}

	.site-footer-bottom .footer-container {
		flex-direction: column;
		text-align: center;
		padding: 1rem;
	}

	.site-info {
		text-align: center;
	}
}

/* Blog Styles */
.blog-container,
.single-post-container {
	max-width: 100rem;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.blog-header {
	text-align: center;
	margin-bottom: 4rem;
	padding-top: 2rem;
}

.blog-title {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 3rem;
	font-weight: 300;
	margin: 0 0 1rem 0;
	color: var(--strefa-text, #2C2416);
	letter-spacing: 0.02em;
}

.blog-description {
	font-family: "Lato", sans-serif;
	font-size: 1.125rem;
	color: var(--strefa-text-light, #6B5F52);
	margin: 0;
	line-height: 1.6;
}

.blog-posts {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
	gap: 2.5rem;
	margin-bottom: 3rem;
}

.blog-post-card {
	background: #ffffff;
	border-radius: 1rem;
	box-shadow: 0 0.125rem 0.5rem var(--strefa-shadow-card, rgba(139, 115, 85, 0.1));
	border: 0.0625rem solid var(--strefa-border, #E5DDD3);
	overflow: hidden;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
}

.blog-post-card:hover {
	transform: translateY(-0.125rem);
	box-shadow: 0 0.25rem 1rem var(--strefa-shadow-card, rgba(139, 115, 85, 0.15));
	border-color: var(--strefa-primary-lightest, #E8E0D6);
}

.post-thumbnail {
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: linear-gradient(135deg, rgba(139, 115, 85, 0.12) 0%, rgba(212, 165, 116, 0.06) 100%);
}

.post-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.blog-post-card:hover .post-thumbnail img {
	transform: scale(1.05);
}

.post-content {
	padding: 2rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.entry-header {
	margin-bottom: 1rem;
}

.entry-title {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 2.5rem;
	font-weight: 300;
	color: #2c2824;
	margin: 0;
	line-height: 1.2;
}

/* Page container - same as cart/checkout */
.page-container {
	max-width: 100rem;
	margin: 0 auto;
	padding: 2rem 1.5rem 0;
	width: 100%;
}

/* Page header with entry-title - consistent styling like cart/checkout */
.entry-header {
	margin-bottom: 2rem;
	padding-bottom: 1.5rem;
	border-bottom: 0.0625rem solid #e0ddd9;
}

.entry-header .entry-title {
	margin: 0;
}

/* Page breadcrumbs */
.page-breadcrumbs {
	margin-bottom: 1rem;
}

.page-breadcrumbs .rank-math-breadcrumb {
	font-family: "Lato", sans-serif;
	font-size: 0.875rem;
	color: #6b5f52;
}

.page-breadcrumbs .rank-math-breadcrumb a {
	color: #6b5f52;
	text-decoration: none;
	transition: color 0.3s ease;
}

.page-breadcrumbs .rank-math-breadcrumb a:hover {
	color: #877d71;
}

.page-breadcrumbs .rank-math-breadcrumb .separator {
	margin: 0 0.5rem;
	color: #9a8f85;
}

.page-breadcrumbs .rank-math-breadcrumb .last {
	color: #2c2824;
	font-weight: 500;
}

.entry-title a {
	color: var(--strefa-text, #2C2416);
	text-decoration: none;
	transition: color 0.3s ease;
}

.entry-title a:hover {
	color: var(--strefa-primary, #8B7355);
}

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	font-size: 0.875rem;
	color: var(--strefa-text-light, #6B5F52);
	margin-bottom: 1rem;
}

.entry-meta i {
	margin-right: 0.25rem;
	color: var(--strefa-primary, #8B7355);
}

.entry-meta a {
	color: inherit;
	text-decoration: none;
	transition: color 0.3s ease;
}

.entry-meta a:hover {
	color: var(--strefa-primary, #8B7355);
}

.entry-content {
	font-family: "Lato", sans-serif;
	color: var(--strefa-text-light, #6B5F52);
	line-height: 1.6;
	flex: 1;
}

.entry-content p {
	margin-bottom: 1rem;
}

.read-more-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 1rem;
	color: var(--strefa-primary, #8B7355);
	text-decoration: none;
	font-weight: 500;
	transition: gap 0.3s ease;
}

.read-more-link:hover {
	gap: 0.75rem;
}

.read-more-link i {
	font-size: 0.875rem;
}

.no-posts {
	text-align: center;
	padding: 4rem 2rem;
	color: var(--strefa-text-light, #6B5F52);
}

/* Single Post Styles */
.single-post {
	background: #ffffff;
	border-radius: 1rem;
	box-shadow: 0 0.125rem 0.5rem var(--strefa-shadow-card, rgba(139, 115, 85, 0.1));
	border: 0.0625rem solid var(--strefa-border, #E5DDD3);
	overflow: hidden;
	padding: 3rem;
	margin-bottom: 3rem;
}

.single-post .entry-header {
	margin-bottom: 2rem;
	text-align: center;
}

.single-post .entry-title {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 3rem;
	font-weight: 300;
	margin: 0 0 1.5rem 0;
	color: var(--strefa-text, #2C2416);
	letter-spacing: 0.02em;
	line-height: 1.2;
}

.entry-categories {
	margin-bottom: 1rem;
}

.entry-categories a {
	display: inline-block;
	padding: 0.375rem 0.75rem;
	margin: 0 0.25rem 0.5rem 0;
	background: rgba(139, 115, 85, 0.12);
	color: var(--strefa-primary, #8B7355);
	border-radius: 0.375rem;
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 500;
	transition: all 0.3s ease;
}

.entry-categories a:hover {
	background: var(--strefa-primary, #8B7355);
	color: #ffffff;
}

.single-post .entry-meta {
	justify-content: center;
	font-size: 0.9375rem;
}

.single-post .post-thumbnail {
	border-radius: 0.5rem;
	overflow: hidden;
	margin-bottom: 2rem;
}

.single-post .post-thumbnail img {
	border-radius: 0.5rem;
}

.single-post .entry-content {
	font-size: 1.125rem;
	color: var(--strefa-text, #2C2416);
	line-height: 1.8;
}

.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4 {
	font-family: "Cormorant Garamond", Georgia, serif;
	margin-top: 2rem;
	margin-bottom: 1rem;
	color: var(--strefa-text, #2C2416);
}

.single-post .entry-content h2 {
	font-size: 2rem;
	font-weight: 300;
}

.single-post .entry-content h3 {
	font-size: 1.5rem;
	font-weight: 400;
}

.single-post .entry-content h4 {
	font-size: 1.25rem;
	font-weight: 400;
}

.single-post .entry-content ul,
.single-post .entry-content ol {
	margin: 1.5rem 0;
	padding-left: 2rem;
}

.single-post .entry-content li {
	margin-bottom: 0.5rem;
}

.single-post .entry-content blockquote {
	border-left: 0.25rem solid var(--strefa-primary, #8B7355);
	padding-left: 1.5rem;
	margin: 2rem 0;
	font-style: italic;
	color: var(--strefa-text-light, #6B5F52);
}

.single-post .entry-content img {
	max-width: 100%;
	height: auto;
	border-radius: 0.5rem;
	margin: 2rem 0;
}

.entry-footer {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 0.0625rem solid var(--strefa-border, #E5DDD3);
}

.entry-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
}

.tags-title {
	font-weight: 600;
	color: var(--strefa-text, #2C2416);
	margin-right: 0.5rem;
}

.entry-tags a {
	display: inline-block;
	padding: 0.375rem 0.75rem;
	background: var(--strefa-bg-light, #FAF7F2);
	color: var(--strefa-text-light, #6B5F52);
	border-radius: 0.375rem;
	text-decoration: none;
	font-size: 0.875rem;
	transition: all 0.3s ease;
}

.entry-tags a:hover {
	background: var(--strefa-primary, #8B7355);
	color: #ffffff;
}

/* Post Navigation */
.post-navigation {
	margin: 3rem 0;
	padding: 2rem 0;
	border-top: 0.0625rem solid var(--strefa-border, #E5DDD3);
	border-bottom: 0.0625rem solid var(--strefa-border, #E5DDD3);
}

.nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
}

.nav-previous,
.nav-next {
	display: flex;
	flex-direction: column;
}

.nav-next {
	text-align: right;
}

.nav-subtitle {
	font-size: 0.875rem;
	color: var(--strefa-text-light, #6B5F52);
	margin-bottom: 0.5rem;
}

.nav-title {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 1.125rem;
	font-weight: 400;
	color: var(--strefa-text, #2C2416);
}

.nav-links a {
	text-decoration: none;
	transition: color 0.3s ease;
}

.nav-links a:hover .nav-title {
	color: var(--strefa-primary, #8B7355);
}

/* Pagination */
.posts-navigation,
.pagination {
	margin: 3rem 0;
	text-align: center;
}

.pagination .nav-links {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.75rem;
	border-radius: 0.375rem;
	background: #ffffff;
	color: var(--strefa-text, #2C2416);
	text-decoration: none;
	border: 0.0625rem solid var(--strefa-border, #E5DDD3);
	transition: all 0.3s ease;
	font-weight: 500;
}

.page-numbers:hover,
.page-numbers.current {
	background: var(--strefa-primary, #8B7355);
	color: #ffffff;
	border-color: var(--strefa-primary, #8B7355);
}

.page-numbers.dots {
	border: none;
	background: transparent;
}

.page-numbers.prev,
.page-numbers.next {
	padding: 0 1rem;
}

/* Blog Responsive */
@media (max-width: 1024px) {
	.blog-posts {
		grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
		gap: 2rem;
	}

	.single-post {
		padding: 2rem;
	}

	.single-post .entry-title {
		font-size: 2.5rem;
	}
}

@media (max-width: 768px) {
	.blog-container,
	.single-post-container {
		padding: 0 1rem;
	}

	.blog-posts {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.blog-title {
		font-size: 2.5rem;
	}

	.single-post {
		padding: 1.5rem;
	}

	.single-post .entry-title {
		font-size: 2rem;
	}

	.single-post .entry-content {
		font-size: 1rem;
	}

	.post-navigation .nav-links {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.nav-next {
		text-align: left;
	}
}
