/**
 * ŁączymyBiznes - Main Stylesheet
 * Dark mode magazine/news portal inspired by zero.pl
 *
 * @package LaczymyBiznes
 * @since 1.0.0
 *
 * TABLE OF CONTENTS:
 * 1.  Root Variables
 * 2.  Reset & Base
 * 3.  Typography
 * 4.  Layout & Grid
 * 5.  Header
 * 6.  Search Overlay
 * 7.  Hero Section
 * 8.  Post Cards
 * 9.  Category Badges
 * 10. Sidebar
 * 11. Homepage Sections
 * 12. Single Post
 * 13. Page Template
 * 14. Archive / Search
 * 15. Comments
 * 16. Footer
 * 17. Mobile Bottom Navbar
 * 18. Newsletter Section
 * 19. Pagination
 * 20. Widgets
 * 21. Forms
 * 22. 404 Page
 * 23. Animations
 * 24. Utility Classes
 * 25. WordPress Core Styles
 * 26. Responsive
 */

/* ==========================================================================
   1. Root Variables
   ========================================================================== */

:root {
	/* Background colors */
	--bg-primary: #0e1114;
	--bg-secondary: #141a1f;
	--bg-card: #1a2028;
	--bg-card-hover: #1e2630;
	--bg-tertiary: #0a0d10;

	/* Accent colors */
	--accent: #dc143c;
	--accent-hover: #ff1a1a;
	--accent-dark: #a80f2e;
	--accent-light: rgba(220, 20, 60, 0.15);

	/* Text colors */
	--text-primary: #ffffff;
	--text-secondary: #9ca3af;
	--text-muted: #6b7280;
	--text-link: #dc143c;

	/* Status colors */
	--success: #10b981;
	--warning: #f59e0b;
	--error: #ef4444;
	--info: #3b82f6;

	/* Border */
	--border: #2a3040;
	--border-light: #1e2630;

	/* Glass effect */
	--glass-bg: rgba(20, 26, 31, 0.6);
	--glass-border: rgba(255, 255, 255, 0.06);

	/* Spacing */
	--radius: 12px;
	--radius-sm: 8px;
	--radius-xs: 4px;
	--radius-full: 9999px;

	/* Container */
	--container-max: 1304px;
	--container-padding: 1.5rem;

	/* Header */
	--header-height: 70px;

	/* Sidebar */
	--sidebar-width: 306px;
	--sidebar-gap: 2rem;

	/* Transitions */
	--transition: 0.3s ease;
	--transition-fast: 0.15s ease;

	/* Shadows */
	--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
	--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
	--shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
	--shadow-card: 0 2px 8px rgba(0, 0, 0, 0.3);
	--shadow-card-hover: 0 8px 24px rgba(0, 0, 0, 0.5);

	/* Font */
	--font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

	/* Z-indexes */
	--z-header: 50;
	--z-mobile-nav: 40;
	--z-overlay: 60;
	--z-search: 70;
}

/* Light theme override */
[data-theme="light"] {
	--bg-primary: #f5f5f5;
	--bg-secondary: #ffffff;
	--bg-card: #ffffff;
	--bg-card-hover: #f9f9f9;
	--bg-tertiary: #eaeaea;

	--text-primary: #1a1a1a;
	--text-secondary: #4b5563;
	--text-muted: #9ca3af;
	--text-link: #dc143c;

	--border: #e5e7eb;
	--border-light: #f0f0f0;

	--glass-bg: rgba(255, 255, 255, 0.8);
	--glass-border: rgba(0, 0, 0, 0.06);

	--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
	--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
	--shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
	--shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06);
	--shadow-card-hover: 0 8px 24px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .site-header {
	background-color: rgba(255, 255, 255, 0.95);
	border-bottom-color: #e5e7eb;
}

[data-theme="light"] .site-title .title-accent {
	color: var(--accent);
}

[data-theme="light"] .site-nav .menu a {
	color: #4b5563;
}

[data-theme="light"] .site-nav .menu a:hover,
[data-theme="light"] .site-nav .menu .current-menu-item > a {
	color: #1a1a1a;
	background-color: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .btn-register {
	background-color: var(--accent);
	color: #fff;
}

[data-theme="light"] .hero-featured {
	box-shadow: var(--shadow-md);
}

[data-theme="light"] .post-card--large {
	box-shadow: var(--shadow-card);
}

[data-theme="light"] .post-card--medium {
	box-shadow: var(--shadow-card);
}

[data-theme="light"] .cta-banner {
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f1f3f5 100%);
	border-color: #e5e7eb;
}

[data-theme="light"] .cta-banner::before {
	background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
}

[data-theme="light"] .cta-banner::after {
	background: radial-gradient(circle, rgba(220, 20, 60, 0.04) 0%, transparent 70%);
}

[data-theme="light"] .site-footer {
	background-color: #1a1a1a;
	color: #e5e7eb;
}

[data-theme="light"] .site-footer a {
	color: #d1d5db;
}

[data-theme="light"] .mobile-nav {
	background-color: #ffffff;
	border-top-color: #e5e7eb;
}

[data-theme="light"] .mobile-nav__item a,
[data-theme="light"] .mobile-nav__item button {
	color: #4b5563;
}

[data-theme="light"] .mobile-nav__item.is-active a {
	color: var(--accent);
}

[data-theme="light"] .search-overlay {
	background-color: rgba(255, 255, 255, 0.97);
}

[data-theme="light"] .search-overlay__input {
	color: #1a1a1a;
}

/* Theme toggle button */
.theme-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: var(--radius-sm);
	color: var(--text-secondary);
	transition: all var(--transition);
	cursor: pointer;
	background: none;
	border: none;
}

.theme-toggle:hover {
	color: var(--text-primary);
	background-color: rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .theme-toggle:hover {
	background-color: rgba(0, 0, 0, 0.04);
}

.theme-toggle__moon {
	display: none;
}

/* ==========================================================================
   2. Reset & Base
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	font-size: 16px;
}

body {
	font-family: var(--font-family);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.6;
	color: var(--text-primary);
	background-color: var(--bg-primary);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
	min-height: 100vh;
}

body.menu-open,
body.search-open {
	overflow: hidden;
}

a {
	color: var(--text-primary);
	text-decoration: none;
	transition: color var(--transition);
}

a:hover,
a:focus {
	color: var(--accent);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

ul,
ol {
	list-style: none;
}

button {
	cursor: pointer;
	border: none;
	background: none;
	font-family: inherit;
	color: inherit;
}

input,
textarea,
select {
	font-family: inherit;
	font-size: inherit;
	color: inherit;
}

::selection {
	background-color: var(--accent);
	color: var(--text-primary);
}

::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-track {
	background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
	background: var(--border);
	border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
	background: var(--text-muted);
}

/* ==========================================================================
   3. Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	line-height: 1.2;
	color: var(--text-primary);
	margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
	margin-bottom: 1rem;
	color: var(--text-secondary);
}

strong, b {
	font-weight: 600;
}

em, i {
	font-style: italic;
}

small {
	font-size: 0.875rem;
}

/* ==========================================================================
   4. Layout & Grid
   ========================================================================== */

.container {
	max-width: var(--container-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--container-padding);
	padding-right: var(--container-padding);
	width: 100%;
}

.grid-main {
	display: grid;
	grid-template-columns: 1fr var(--sidebar-width);
	gap: var(--sidebar-gap);
	align-items: start;
}

.grid-main--no-sidebar {
	grid-template-columns: 1fr;
}

.content-area {
	min-width: 0;
}

.posts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.posts-grid--2 {
	grid-template-columns: repeat(2, 1fr);
}

.posts-grid--4 {
	grid-template-columns: repeat(4, 1fr);
}

.posts-grid--3 {
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin-top: 1.5rem;
}

.posts-grid--featured {
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
}

.posts-grid--featured .post-card:first-child {
	grid-row: 1 / 4;
}

/* Large card */
.post-card--large {
	display: flex;
	flex-direction: column;
	background: var(--bg-card);
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--border);
	transition: all var(--transition);
}

.post-card--large:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
	border-color: var(--accent);
}

.post-card--large .post-card__image {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 10;
}

.post-card--large .post-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-card--large .post-card__content {
	padding: 1.75rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.75rem;
}

.post-card--large .post-card__title {
	font-size: 1.375rem;
	line-height: 1.35;
}

.post-card--large .post-card__title a {
	color: var(--text-primary);
	text-decoration: none;
}

.post-card--large .post-card__title a:hover {
	color: var(--accent);
}

.post-card--large .post-card__excerpt {
	color: var(--text-secondary);
	font-size: 0.95rem;
	line-height: 1.6;
}

/* ==========================================================================
   5. Header
   ========================================================================== */

.site-header {
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	background-color: rgba(14, 17, 20, 0.97);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-bottom: 1px solid var(--border-light);
	z-index: 9999;
	transition: box-shadow var(--transition);
}

/* Uwzględnij WP admin bar */
.admin-bar .site-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

.site-header.is-scrolled {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.75rem 0;
	gap: 1.25rem;
}

.site-branding {
	flex-shrink: 0;
}

.site-branding a {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.site-branding img {
	height: 40px;
	width: auto;
}

.site-title {
	font-size: 1.375rem;
	font-weight: 700;
	margin: 0;
	line-height: 1;
}

.site-title a {
	color: var(--text-primary);
}

.site-title a:hover {
	color: var(--accent);
}

.site-title .title-accent {
	color: var(--accent);
}

/* Navigation */
.site-nav--mobile {
	display: none;
}

.site-nav--desktop {
	flex: 1;
	display: flex;
	justify-content: center;
	overflow: visible;
}

.site-nav .menu {
	display: flex;
	align-items: center;
	gap: 0.125rem;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: nowrap;
}

.site-nav .menu li {
	position: relative;
}

.site-nav .menu a {
	display: block;
	padding: 0.5rem 0.65rem;
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--text-secondary);
	border-radius: var(--radius-sm);
	transition: all var(--transition);
	white-space: nowrap;
	text-decoration: none;
}

.site-nav .menu a:hover,
.site-nav .menu .current-menu-item > a,
.site-nav .menu .current_page_item > a {
	color: var(--text-primary);
	background-color: rgba(255, 255, 255, 0.06);
}

/* Dropdown */
.site-nav .menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background-color: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 0.5rem;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: all var(--transition);
	box-shadow: var(--shadow-lg);
	z-index: 10;
}

.site-nav .menu li:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.site-nav .sub-menu a {
	padding: 0.5rem 0.75rem;
	font-size: 0.85rem;
	border-radius: var(--radius-xs);
}

/* Header actions */
.header-actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-shrink: 0;
}

.search-toggle,
.header-login {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: var(--radius-sm);
	color: var(--text-secondary);
	transition: all var(--transition);
}

.search-toggle:hover,
.header-login:hover {
	color: var(--text-primary);
	background-color: rgba(255, 255, 255, 0.06);
}

.header-login {
	width: auto;
	padding: 0 1rem;
	font-size: 0.85rem;
	font-weight: 500;
	gap: 0.375rem;
}

.btn-register {
	display: inline-flex;
	align-items: center;
	padding: 0.5rem 1.125rem;
	background-color: var(--accent);
	color: var(--text-primary);
	font-size: 0.85rem;
	font-weight: 600;
	border-radius: var(--radius-sm);
	transition: all var(--transition);
}

.btn-register:hover {
	background-color: var(--accent-hover);
	color: var(--text-primary);
	transform: translateY(-1px);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 40px;
	height: 40px;
	gap: 5px;
	border-radius: var(--radius-sm);
}

.mobile-menu-toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background-color: var(--text-primary);
	border-radius: 2px;
	transition: all var(--transition);
}

.mobile-menu-toggle.is-active span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.is-active span:nth-child(2) {
	opacity: 0;
}

.mobile-menu-toggle.is-active span:nth-child(3) {
	transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.6);
	z-index: calc(var(--z-header) - 1);
	opacity: 0;
	transition: opacity var(--transition);
}

.mobile-menu-overlay.is-visible {
	opacity: 1;
}

/* Mobile nav CTA - hidden on desktop */
.mobile-nav-cta {
	display: none;
}

@media (max-width: 1024px) {
	.mobile-nav-cta {
		display: flex;
		flex-direction: column;
		gap: 0.75rem;
		margin-top: 1.5rem;
		padding-top: 1.5rem;
		border-top: 1px solid var(--border);
	}

	.mobile-nav-cta__btn {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 0.5rem;
		padding: 0.875rem 1.25rem;
		border-radius: var(--radius-sm);
		font-size: 0.95rem;
		font-weight: 600;
		text-decoration: none;
		background: var(--accent);
		color: #fff;
		transition: all var(--transition);
	}

	.mobile-nav-cta__btn:hover {
		background: var(--accent-hover);
	}

	.mobile-nav-cta__btn--outline {
		background: transparent;
		border: 1px solid var(--border);
		color: var(--text-secondary);
	}

	.mobile-nav-cta__btn--outline:hover {
		background: rgba(255, 255, 255, 0.05);
		color: var(--text-primary);
		border-color: var(--text-muted);
	}
}

/* ==========================================================================
   6. Search Overlay
   ========================================================================== */

.search-overlay {
	position: fixed;
	inset: 0;
	background-color: rgba(10, 13, 16, 0.95);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	z-index: var(--z-search);
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding-top: 15vh;
	opacity: 0;
	visibility: hidden;
	transition: all var(--transition);
}

.search-overlay.is-visible {
	opacity: 1;
	visibility: visible;
}

.search-overlay__inner {
	width: 100%;
	max-width: 640px;
	padding: 0 1.5rem;
}

.search-overlay__close {
	position: absolute;
	top: 1.5rem;
	right: 1.5rem;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	color: var(--text-secondary);
	border-radius: var(--radius-sm);
	transition: all var(--transition);
}

.search-overlay__close:hover {
	color: var(--text-primary);
	background-color: rgba(255, 255, 255, 0.1);
}

.search-overlay__form {
	position: relative;
}

.search-overlay__input {
	width: 100%;
	padding: 1.25rem 1.5rem;
	padding-left: 3.5rem;
	background-color: var(--bg-card);
	border: 2px solid var(--border);
	border-radius: var(--radius);
	color: var(--text-primary);
	font-size: 1.25rem;
	outline: none;
	transition: border-color var(--transition);
}

.search-overlay__input:focus {
	border-color: var(--accent);
}

.search-overlay__input::placeholder {
	color: var(--text-muted);
}

.search-overlay__icon {
	position: absolute;
	left: 1.25rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--text-muted);
	font-size: 1.25rem;
}

.search-overlay__hint {
	margin-top: 1rem;
	text-align: center;
	font-size: 0.85rem;
	color: var(--text-muted);
}

.search-overlay__hint kbd {
	display: inline-block;
	padding: 0.15rem 0.5rem;
	background-color: var(--bg-secondary);
	border: 1px solid var(--border);
	border-radius: var(--radius-xs);
	font-size: 0.75rem;
	font-family: var(--font-family);
}

/* ==========================================================================
   7. Hero Section
   ========================================================================== */

/* Hero Featured — homepage main article */
.hero-featured {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	margin: 1.5rem 0 2rem;
}

.hero-featured__img-link {
	display: block;
	overflow: hidden;
}

.hero-featured__img {
	display: block;
	width: 100%;
	height: 400px;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.hero-featured:hover .hero-featured__img {
	transform: scale(1.02);
}

.hero-featured__info {
	padding: 1.75rem 2rem;
}

.hero-featured__title {
	font-size: 1.625rem;
	font-weight: 700;
	line-height: 1.3;
	margin: 0.75rem 0;
}

.hero-featured__title a {
	color: var(--text-primary);
	text-decoration: none;
}

.hero-featured__title a:hover {
	color: var(--accent);
}

.hero-featured__excerpt {
	font-size: 0.95rem;
	color: var(--text-secondary);
	line-height: 1.65;
	margin-bottom: 1rem;
}

.hero-featured__meta {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.8rem;
	color: var(--text-muted);
}

.hero-featured__meta img {
	width: 28px;
	height: 28px;
	border-radius: 50%;
}

.hero-featured__meta a {
	color: var(--text-secondary);
	text-decoration: none;
}

.hero-featured__meta a:hover {
	color: var(--accent);
}

.hero-featured__sep {
	color: var(--text-muted);
}

@media (max-width: 768px) {
	.hero-featured__img {
		height: 220px;
	}

	.hero-featured__info {
		padding: 1.25rem 1.5rem;
	}

	.hero-featured__title {
		font-size: 1.25rem;
	}
}

/* Old hero section (for single posts) */
.hero-section {
	position: relative;
	min-height: 500px;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	border-radius: 0 0 24px 24px;
	margin-bottom: 2.5rem;
}

.hero-section__image {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.hero-section__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-section__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(14, 17, 20, 0.95) 0%,
		rgba(14, 17, 20, 0.7) 30%,
		rgba(14, 17, 20, 0.3) 60%,
		rgba(14, 17, 20, 0.1) 100%
	);
	z-index: 2;
}

.hero-section__content {
	position: relative;
	z-index: 3;
	padding: 3rem;
	width: 100%;
	max-width: var(--container-max);
	margin: 0 auto;
}

.hero-section__title {
	font-size: 2.75rem;
	font-weight: 700;
	line-height: 1.15;
	margin-bottom: 1rem;
	max-width: 720px;
}

.hero-section__title a {
	color: var(--text-primary);
}

.hero-section__title a:hover {
	color: var(--accent);
}

.hero-section__excerpt {
	font-size: 1.1rem;
	color: var(--text-secondary);
	max-width: 600px;
	margin-bottom: 1.25rem;
	line-height: 1.6;
}

.hero-section__meta {
	display: flex;
	align-items: center;
	gap: 1rem;
	font-size: 0.875rem;
	color: var(--text-muted);
}

.hero-section__meta a {
	color: var(--text-secondary);
}

.hero-section__meta a:hover {
	color: var(--accent);
}

.hero-section__author {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.hero-section__author img {
	width: 32px;
	height: 32px;
	border-radius: var(--radius-full);
	object-fit: cover;
}

.hero-section__dot {
	width: 3px;
	height: 3px;
	border-radius: var(--radius-full);
	background-color: var(--text-muted);
}

/* ==========================================================================
   8. Post Cards
   ========================================================================== */

/* Base card */
.post-card {
	position: relative;
	background-color: var(--bg-card);
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--border-light);
	transition: all var(--transition);
	display: flex;
	flex-direction: column;
}

.post-card__content {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.post-card__excerpt {
	flex: 1;
}

.post-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-card-hover);
	border-color: var(--border);
}

.post-card:hover .post-card__image img {
	transform: scale(1.05);
}

.post-card__image {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: var(--bg-secondary);
}

.post-card__image a {
	display: block;
	height: 100%;
}

.post-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--transition);
}

.post-card__image--placeholder {
	background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-muted);
	aspect-ratio: 16 / 10;
}

.post-card__content {
	padding: 1.25rem;
}

.post-card__title {
	font-size: 1.1rem;
	font-weight: 600;
	line-height: 1.35;
	margin-bottom: 0.625rem;
}

.post-card__title a {
	color: var(--text-primary);
}

.post-card__title a:hover {
	color: var(--accent);
}

.post-card__excerpt {
	font-size: 0.9rem;
	color: var(--text-secondary);
	line-height: 1.6;
	margin-bottom: 0.875rem;
}

.post-card__meta {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.8rem;
	color: var(--text-muted);
	margin-top: auto;
	padding-top: 0.75rem;
	border-top: 1px solid var(--border-light);
	flex-wrap: wrap;
}

.post-card__meta a {
	color: var(--text-muted);
	text-decoration: none;
}

.post-card__meta a:hover {
	color: var(--accent);
}

/* Author avatar inline */
.posted-by {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
}

.posted-by img,
.post-card__author-avatar {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	vertical-align: middle;
}

/* Sidebar ad */
.sidebar-ad {
	margin-bottom: 1.5rem;
}

.sidebar-ad__label {
	display: block;
	font-size: 0.65rem;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 0.5rem;
}

.post-card__meta-dot {
	width: 3px;
	height: 3px;
	border-radius: var(--radius-full);
	background-color: var(--text-muted);
	flex-shrink: 0;
}

.post-card__reading-time {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

/* Hero card */
.post-card--hero {
	position: relative;
	min-height: 400px;
	display: flex;
	align-items: flex-end;
	background: none;
	border: none;
}

.post-card--hero:hover {
	transform: none;
}

.post-card--hero .post-card__image {
	position: absolute;
	inset: 0;
}

.post-card--hero .post-card__image::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(14, 17, 20, 0.9) 0%,
		rgba(14, 17, 20, 0.4) 50%,
		transparent 100%
	);
}

.post-card--hero .post-card__content {
	position: relative;
	z-index: 2;
	padding: 2rem;
	width: 100%;
}

.post-card--hero .post-card__title {
	font-size: 1.75rem;
	font-weight: 700;
}

.post-card--hero .post-card__excerpt {
	max-width: 500px;
}

/* Large card styles defined above in section 8 */

/* Medium card - vertical */
.post-card--medium .post-card__image {
	aspect-ratio: 3 / 2;
}

.post-card--medium .post-card__title {
	font-size: 1.05rem;
}

/* Small card - compact */
.post-card--small {
	display: grid;
	grid-template-columns: 100px 1fr;
	gap: 0;
	background-color: transparent;
	border: none;
	border-bottom: 1px solid var(--border-light);
	border-radius: 0;
	padding: 0.875rem 0;
}

.post-card--small:hover {
	transform: none;
	box-shadow: none;
	background-color: transparent;
}

.post-card--small .post-card__image {
	width: 100px;
	height: 67px;
	border-radius: var(--radius-sm);
	overflow: hidden;
	flex-shrink: 0;
}

.post-card--small .post-card__content {
	padding: 0 0 0 0.875rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.post-card--small .post-card__title {
	font-size: 0.9rem;
	font-weight: 500;
	margin-bottom: 0.375rem;
	line-height: 1.3;
}

.post-card--small .post-card__meta {
	font-size: 0.75rem;
}

/* Glass effect on hover */
.post-card--glass:hover {
	background-color: var(--glass-bg);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-color: var(--glass-border);
}

/* ==========================================================================
   9. Category Badges
   ========================================================================== */

.category-badge {
	display: inline-block;
	padding: 5px 12px;
	background-color: #2a3040;
	color: var(--text-primary);
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border-radius: var(--radius-xs);
	line-height: 1.4;
	transition: all var(--transition);
	margin-bottom: 0.625rem;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.category-badge:hover {
	background-color: var(--accent);
	color: var(--text-primary);
	border-color: var(--accent);
	transform: translateY(-1px);
}

.category-badge a {
	color: inherit;
	text-decoration: none;
}

.category-badge--accent {
	background-color: var(--accent);
	border-color: var(--accent);
}

/* Kategorie — kolory */
.category-badge--biznes { background-color: #2563eb; border-color: #2563eb; }
.category-badge--tech { background-color: #7c3aed; border-color: #7c3aed; }
.category-badge--prawo { background-color: #059669; border-color: #059669; }
.category-badge--porady { background-color: #e67e22; border-color: #e67e22; }
.category-badge--ksiegowosc { background-color: #0891b2; border-color: #0891b2; }
.category-badge--marketing { background-color: #dc2626; border-color: #dc2626; }
.category-badge--aktualnosci { background-color: #dc143c; border-color: #dc143c; }
.category-badge--polskie-firmy { background-color: #2563eb; border-color: #2563eb; }
.category-badge--bialystok { background-color: #16a34a; border-color: #16a34a; }
.category-badge--beauty { background-color: #d946ef; border-color: #d946ef; }
.category-badge--ngo { background-color: #8b5cf6; border-color: #8b5cf6; }
.category-badge--podlasie { background-color: #16a34a; border-color: #16a34a; }
.category-badge--suwalki { background-color: #0d9488; border-color: #0d9488; }
.category-badge--nauka { background-color: #6366f1; border-color: #6366f1; }
.category-badge--podatki { background-color: #ea580c; border-color: #ea580c; }
.category-badge--video { background-color: #e11d48; border-color: #e11d48; }
.category-badge--z-kraju { background-color: #475569; border-color: #475569; }
.category-badge--blog { background-color: #64748b; border-color: #64748b; }

/* ==========================================================================
   10. Sidebar
   ========================================================================== */

.site-sidebar {
	position: sticky;
	top: calc(var(--header-height) + 1.5rem);
}

.sidebar-section {
	background-color: var(--bg-card);
	border: 1px solid var(--border-light);
	border-radius: var(--radius);
	padding: 1.25rem;
	margin-bottom: 1.5rem;
}

.sidebar-section__title {
	font-size: 0.85rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--text-secondary);
	margin-bottom: 1rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--border-light);
}

/* Latest posts sidebar */
.sidebar-latest {
	counter-reset: sidebar-counter;
}

.sidebar-latest__item {
	display: flex;
	align-items: flex-start;
	gap: 0.875rem;
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--border-light);
	counter-increment: sidebar-counter;
}

.sidebar-latest__item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.sidebar-latest__item:first-child {
	padding-top: 0;
}

.sidebar-latest__number {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--text-muted);
	background-color: var(--bg-secondary);
	border-radius: var(--radius-xs);
}

.sidebar-latest__number::before {
	content: counter(sidebar-counter);
}

.sidebar-latest__content {
	flex: 1;
	min-width: 0;
}

.sidebar-latest__title {
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.35;
	margin-bottom: 0.25rem;
}

.sidebar-latest__title a {
	color: var(--text-primary);
}

.sidebar-latest__title a:hover {
	color: var(--accent);
}

.sidebar-latest__time {
	font-size: 0.75rem;
	color: var(--text-muted);
}

.sidebar-latest__time--recent {
	color: var(--success);
}

/* ==========================================================================
   11. Homepage Sections
   ========================================================================== */

.home-section {
	margin-bottom: 2.5rem;
	padding-top: 1rem;
}

.home-section:first-child {
	padding-top: 0;
}

.home-section__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1.5rem;
}

.home-section__title {
	font-size: 1.125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--text-primary);
	padding-left: 1rem;
	border-left: 4px solid var(--accent);
	margin-bottom: 0;
}

.home-section__more {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--accent);
	transition: all var(--transition);
}

.home-section__more:hover {
	color: var(--accent-hover);
	gap: 0.625rem;
}

.home-section__more svg {
	width: 16px;
	height: 16px;
	transition: transform var(--transition);
}

.home-section__more:hover svg {
	transform: translateX(3px);
}

/* Placeholder sections */
.placeholder-section {
	background-color: var(--bg-card);
	border: 1px dashed var(--border);
	border-radius: var(--radius);
	padding: 3rem 2rem;
	text-align: center;
	color: var(--text-muted);
}

.placeholder-section__icon {
	font-size: 2.5rem;
	margin-bottom: 1rem;
	opacity: 0.5;
}

.placeholder-section__title {
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--text-secondary);
	margin-bottom: 0.5rem;
}

.placeholder-section__desc {
	font-size: 0.9rem;
	color: var(--text-muted);
}

/* ==========================================================================
   12. Single Post
   ========================================================================== */

.single-hero {
	position: relative;
	min-height: 400px;
	display: flex;
	align-items: flex-end;
	margin-bottom: 2.5rem;
	border-radius: 0 0 24px 24px;
	overflow: hidden;
}

.single-hero__image {
	position: absolute;
	inset: 0;
}

.single-hero__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.single-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(14, 17, 20, 0.95) 0%,
		rgba(14, 17, 20, 0.6) 40%,
		rgba(14, 17, 20, 0.2) 100%
	);
}

.single-hero__content {
	position: relative;
	z-index: 2;
	padding: 3rem;
	width: 100%;
	max-width: var(--container-max);
	margin: 0 auto;
}

.single-hero__category {
	margin-bottom: 1rem;
}

.single-hero__title {
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1.15;
	max-width: 720px;
	margin-bottom: 1.25rem;
}

.single-hero__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
	font-size: 0.9rem;
	color: var(--text-muted);
}

.single-hero__author {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.single-hero__author-avatar {
	width: 36px;
	height: 36px;
	border-radius: var(--radius-full);
	object-fit: cover;
}

.single-hero__author-name {
	font-weight: 500;
	color: var(--text-secondary);
}

.single-hero__dot {
	width: 3px;
	height: 3px;
	border-radius: var(--radius-full);
	background-color: var(--text-muted);
}

/* Single content */
.single-content {
	max-width: 800px;
	margin: 0 auto;
	padding: 0 var(--container-padding);
}

.single-content .entry-content {
	font-size: 1.0625rem;
	line-height: 1.8;
	color: var(--text-secondary);
}

.single-content .entry-content p {
	margin-bottom: 1.5rem;
	color: var(--text-secondary);
	line-height: 1.8;
}

.single-content .entry-content h2 {
	font-size: 1.75rem;
	margin-top: 2.5rem;
	margin-bottom: 1rem;
	color: var(--text-primary);
}

.single-content .entry-content h3 {
	font-size: 1.375rem;
	margin-top: 2rem;
	margin-bottom: 0.875rem;
	color: var(--text-primary);
}

.single-content .entry-content h4 {
	font-size: 1.125rem;
	margin-top: 1.5rem;
	margin-bottom: 0.75rem;
	color: var(--text-primary);
}

.single-content .entry-content a {
	color: var(--accent);
	text-decoration: underline;
	text-decoration-color: rgba(220, 20, 60, 0.3);
	text-underline-offset: 3px;
	transition: text-decoration-color var(--transition);
}

.single-content .entry-content a:hover {
	text-decoration-color: var(--accent);
}

.single-content .entry-content img {
	border-radius: var(--radius);
	margin: 2rem 0;
	width: 100%;
}

.single-content .entry-content ul,
.single-content .entry-content ol {
	margin-bottom: 1.5rem;
	padding-left: 1.5rem;
}

.single-content .entry-content ul {
	list-style: disc;
}

.single-content .entry-content ol {
	list-style: decimal;
}

.single-content .entry-content li {
	margin-bottom: 0.5rem;
	color: var(--text-secondary);
	line-height: 1.7;
}

.single-content .entry-content blockquote {
	margin: 2rem 0;
	padding: 1.5rem 1.5rem 1.5rem 2rem;
	border-left: 4px solid var(--accent);
	background-color: var(--bg-card);
	border-radius: 0 var(--radius) var(--radius) 0;
	font-style: italic;
}

.single-content .entry-content blockquote p {
	color: var(--text-primary);
	font-size: 1.1rem;
	margin-bottom: 0;
}

.single-content .entry-content blockquote cite {
	display: block;
	margin-top: 0.75rem;
	font-size: 0.875rem;
	font-style: normal;
	color: var(--text-muted);
}

.single-content .entry-content pre {
	background-color: var(--bg-tertiary);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.5rem;
	overflow-x: auto;
	margin: 1.5rem 0;
	font-size: 0.875rem;
	line-height: 1.6;
}

.single-content .entry-content code {
	font-family: 'JetBrains Mono', 'Fira Code', monospace;
	font-size: 0.875em;
	background-color: var(--bg-card);
	padding: 0.15rem 0.4rem;
	border-radius: var(--radius-xs);
	color: var(--accent);
}

.single-content .entry-content pre code {
	background: none;
	padding: 0;
	color: var(--text-secondary);
}

.single-content .entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5rem 0;
}

.single-content .entry-content th,
.single-content .entry-content td {
	padding: 0.75rem 1rem;
	border: 1px solid var(--border);
	text-align: left;
}

.single-content .entry-content th {
	background-color: var(--bg-card);
	font-weight: 600;
	color: var(--text-primary);
}

.single-content .entry-content td {
	color: var(--text-secondary);
}

.single-content .entry-content figure {
	margin: 2rem 0;
}

.single-content .entry-content figcaption {
	font-size: 0.85rem;
	color: var(--text-muted);
	text-align: center;
	margin-top: 0.75rem;
}

.single-content .entry-content hr {
	border: none;
	height: 1px;
	background-color: var(--border);
	margin: 2.5rem 0;
}

/* Post tags */
.post-tags {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--border-light);
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.post-tags__label {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--text-secondary);
	margin-right: 0.25rem;
}

.post-tags a {
	display: inline-block;
	padding: 0.375rem 0.75rem;
	background-color: var(--bg-secondary);
	border: 1px solid var(--border);
	border-radius: var(--radius-full);
	font-size: 0.8rem;
	color: var(--text-secondary);
	transition: all var(--transition);
}

.post-tags a:hover {
	background-color: var(--accent);
	border-color: var(--accent);
	color: var(--text-primary);
}

/* Post navigation */
.post-navigation {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	margin-top: 3rem;
	margin-bottom: 3rem;
	padding-top: 2rem;
	padding-bottom: 2rem;
	border-top: 1px solid var(--border-light);
	border-bottom: 1px solid var(--border-light);
}

.post-navigation__link {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1.25rem;
	background-color: var(--bg-card);
	border: 1px solid var(--border-light);
	border-radius: var(--radius);
	transition: all var(--transition);
}

.post-navigation__link:hover {
	border-color: var(--border);
	background-color: var(--bg-card-hover);
}

.post-navigation__link--next {
	text-align: right;
}

.post-navigation__label {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--text-muted);
}

.post-navigation__title {
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--text-primary);
	line-height: 1.35;
}

/* Author box */
.author-box {
	display: flex;
	align-items: flex-start;
	gap: 1.25rem;
	padding: 1.5rem;
	background-color: var(--bg-card);
	border: 1px solid var(--border-light);
	border-radius: var(--radius);
	margin-top: 2.5rem;
}

.author-box__avatar img {
	width: 64px;
	height: 64px;
	border-radius: var(--radius-full);
	object-fit: cover;
}

.author-box__name {
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: 0.375rem;
}

.author-box__bio {
	font-size: 0.9rem;
	color: var(--text-secondary);
	line-height: 1.6;
}

/* ==========================================================================
   13. Page Template
   ========================================================================== */

.page-hero {
	padding: 3rem 0 2rem;
}

.page-hero__title {
	font-size: 2.25rem;
	font-weight: 700;
	margin-bottom: 0;
}

.page-content .entry-content {
	font-size: 1.0625rem;
	line-height: 1.8;
	color: var(--text-secondary);
	padding-bottom: 3rem;
}

.page-content .entry-content p {
	margin-bottom: 1.5rem;
}

.page-content .entry-content h2 {
	margin-top: 2.5rem;
	margin-bottom: 1rem;
}

.page-content .entry-content img {
	border-radius: var(--radius);
	margin: 2rem 0;
}

/* ==========================================================================
   14. Archive / Search
   ========================================================================== */

.archive-header {
	padding: 2.5rem 0 2rem;
	border-bottom: 1px solid var(--border-light);
	margin-bottom: 2rem;
}

.archive-header__label {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--accent);
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.archive-header__title {
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.archive-header__description {
	font-size: 1rem;
	color: var(--text-secondary);
	max-width: 600px;
}

.archive-header__count {
	font-size: 0.85rem;
	color: var(--text-muted);
	margin-top: 0.5rem;
}

/* Search form */
.search-page__form {
	margin-bottom: 2rem;
}

.search-page__input-wrap {
	position: relative;
	max-width: 600px;
}

.search-page__input {
	width: 100%;
	padding: 1rem 1.25rem;
	padding-right: 3.5rem;
	background-color: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	color: var(--text-primary);
	font-size: 1rem;
	outline: none;
	transition: border-color var(--transition);
}

.search-page__input:focus {
	border-color: var(--accent);
}

.search-page__submit {
	position: absolute;
	right: 0.75rem;
	top: 50%;
	transform: translateY(-50%);
	padding: 0.5rem;
	color: var(--text-secondary);
	transition: color var(--transition);
}

.search-page__submit:hover {
	color: var(--accent);
}

.search-results__count {
	font-size: 0.9rem;
	color: var(--text-muted);
	margin-bottom: 1.5rem;
}

/* No results */
.no-results {
	text-align: center;
	padding: 4rem 2rem;
}

.no-results__icon {
	font-size: 3rem;
	margin-bottom: 1.5rem;
	opacity: 0.4;
}

.no-results__title {
	font-size: 1.5rem;
	margin-bottom: 0.75rem;
}

.no-results__text {
	color: var(--text-secondary);
	max-width: 400px;
	margin: 0 auto;
}

/* ==========================================================================
   15. Comments
   ========================================================================== */

.comments-area {
	max-width: 800px;
	margin: 3rem auto 2rem;
	padding: 2.5rem 0 0;
	border-top: 1px solid var(--border-light);
}

.comments-title {
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--border-light);
}

.comment-list {
	margin-bottom: 2rem;
}

.comment {
	padding: 1.25rem;
	background-color: var(--bg-card);
	border: 1px solid var(--border-light);
	border-radius: var(--radius);
	margin-bottom: 1rem;
}

.comment .children {
	margin-top: 1rem;
	padding-left: 1.5rem;
	border-left: 2px solid var(--border);
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.comment-author img {
	width: 36px;
	height: 36px;
	border-radius: var(--radius-full);
}

.comment-author .fn {
	font-weight: 600;
	font-size: 0.95rem;
}

.comment-metadata {
	font-size: 0.8rem;
	color: var(--text-muted);
	margin-bottom: 0.75rem;
}

.comment-metadata a {
	color: var(--text-muted);
}

.comment-content {
	font-size: 0.95rem;
	color: var(--text-secondary);
	line-height: 1.7;
}

.comment-content p {
	margin-bottom: 0.75rem;
}

.comment-reply-link {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--accent);
	margin-top: 0.5rem;
}

/* Comment form */
.comment-respond {
	padding: 1.5rem;
	background-color: var(--bg-card);
	border: 1px solid var(--border-light);
	border-radius: var(--radius);
}

.comment-respond .comment-reply-title {
	font-size: 1.125rem;
	font-weight: 600;
	margin-bottom: 1rem;
}

.comment-respond label {
	display: block;
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--text-secondary);
	margin-bottom: 0.375rem;
}

.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	background-color: var(--bg-secondary);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	color: var(--text-primary);
	margin-bottom: 1rem;
	outline: none;
	transition: border-color var(--transition);
}

.comment-respond input:focus,
.comment-respond textarea:focus {
	border-color: var(--accent);
}

.comment-respond textarea {
	min-height: 120px;
	resize: vertical;
}

.comment-respond .form-submit input[type="submit"] {
	display: inline-flex;
	align-items: center;
	padding: 0.75rem 1.5rem;
	background-color: var(--accent);
	color: var(--text-primary);
	font-weight: 600;
	font-size: 0.9rem;
	border: none;
	border-radius: var(--radius-sm);
	cursor: pointer;
	transition: all var(--transition);
}

.comment-respond .form-submit input[type="submit"]:hover {
	background-color: var(--accent-hover);
	transform: translateY(-1px);
}

/* ==========================================================================
   16. Footer
   ========================================================================== */

.site-footer {
	background-color: var(--bg-tertiary);
	border-top: 1px solid var(--border-light);
	margin-top: 4rem;
	padding-top: 3rem;
}

.footer-main {
	display: grid;
	grid-template-columns: 1.5fr repeat(3, 1fr);
	gap: 2.5rem;
	padding-bottom: 2.5rem;
}

.footer-column__title {
	font-size: 0.9rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--text-primary);
	margin-bottom: 1.25rem;
}

.footer-about__description {
	font-size: 0.9rem;
	color: var(--text-secondary);
	line-height: 1.7;
	margin-bottom: 1.25rem;
}

.footer-links {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
}

.footer-links a {
	font-size: 0.9rem;
	color: var(--text-secondary);
	transition: color var(--transition);
}

.footer-links a:hover {
	color: var(--accent);
}

.footer-contact__item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9rem;
	color: var(--text-secondary);
	margin-bottom: 0.625rem;
}

.footer-contact__item svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	color: var(--text-muted);
}

/* Social links */
.footer-social {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--border-light);
	margin-top: 1.5rem;
}

.footer-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background-color: var(--bg-secondary);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	color: var(--text-secondary);
	transition: all var(--transition);
}

.footer-social a:hover {
	background-color: var(--accent);
	border-color: var(--accent);
	color: var(--text-primary);
}

.footer-social svg {
	width: 18px;
	height: 18px;
}

/* Footer bottom bar */
.footer-bottom {
	padding: 1.25rem 0;
	border-top: 1px solid var(--border-light);
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
}

.footer-copyright {
	font-size: 0.85rem;
	color: var(--text-muted);
}

.footer-bottom-links {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.footer-bottom-links a {
	font-size: 0.85rem;
	color: var(--text-muted);
}

.footer-bottom-links a:hover {
	color: var(--text-secondary);
}

/* ==========================================================================
   17. Mobile Bottom Navbar
   ========================================================================== */

.mobile-nav {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	height: 60px;
	background-color: var(--bg-tertiary);
	border-top: 1px solid var(--border);
	z-index: var(--z-mobile-nav);
}

.mobile-nav__list {
	display: flex;
	align-items: center;
	justify-content: space-around;
	height: 100%;
	padding: 0;
	margin: 0;
}

.mobile-nav__item {
	flex: 1;
}

.mobile-nav__item a,
.mobile-nav__item button {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.25rem;
	height: 100%;
	padding: 0.5rem;
	color: var(--text-muted);
	font-size: 0.65rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	transition: color var(--transition);
	width: 100%;
}

.mobile-nav__item a:hover,
.mobile-nav__item button:hover,
.mobile-nav__item.is-active a,
.mobile-nav__item.is-active button {
	color: var(--accent);
}

.mobile-nav__item svg {
	width: 22px;
	height: 22px;
}

/* ==========================================================================
   18. Newsletter Section
   ========================================================================== */

.newsletter-section {
	background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
	border: 1px solid var(--border-light);
	border-radius: var(--radius);
	padding: 3rem 2.5rem;
	text-align: center;
	margin: 3rem 0;
}

.newsletter-section__title {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 0.625rem;
}

.newsletter-section__desc {
	font-size: 1rem;
	color: var(--text-secondary);
	max-width: 480px;
	margin: 0 auto 1.5rem;
}

.newsletter-form {
	display: flex;
	gap: 0.75rem;
	max-width: 480px;
	margin: 0 auto;
}

.newsletter-form__input {
	flex: 1;
	padding: 0.875rem 1.25rem;
	background-color: var(--bg-primary);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	color: var(--text-primary);
	outline: none;
	transition: border-color var(--transition);
}

.newsletter-form__input:focus {
	border-color: var(--accent);
}

.newsletter-form__input::placeholder {
	color: var(--text-muted);
}

.newsletter-form__submit {
	padding: 0.875rem 1.5rem;
	background-color: var(--accent);
	color: var(--text-primary);
	font-weight: 600;
	font-size: 0.9rem;
	border: none;
	border-radius: var(--radius-sm);
	cursor: pointer;
	white-space: nowrap;
	transition: all var(--transition);
}

.newsletter-form__submit:hover {
	background-color: var(--accent-hover);
	transform: translateY(-1px);
}

.newsletter-section__privacy {
	font-size: 0.8rem;
	color: var(--text-muted);
	margin-top: 1rem;
}

/* ==========================================================================
   19. Pagination
   ========================================================================== */

.pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.375rem;
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid var(--border-light);
}

.pagination .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 0.625rem;
	background-color: var(--bg-card);
	border: 1px solid var(--border-light);
	border-radius: var(--radius-sm);
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--text-secondary);
	transition: all var(--transition);
}

.pagination .page-numbers:hover {
	background-color: var(--bg-card-hover);
	border-color: var(--border);
	color: var(--text-primary);
}

.pagination .page-numbers.current {
	background-color: var(--accent);
	border-color: var(--accent);
	color: var(--text-primary);
}

.pagination .page-numbers.dots {
	background: none;
	border: none;
	color: var(--text-muted);
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
	font-size: 0.85rem;
}

/* ==========================================================================
   20. Widgets
   ========================================================================== */

.widget {
	margin-bottom: 1.5rem;
}

.widget-title {
	font-size: 0.85rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--text-secondary);
	margin-bottom: 1rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--border-light);
}

.widget ul {
	display: flex;
	flex-direction: column;
}

.widget ul li {
	border-bottom: 1px solid var(--border-light);
}

.widget ul li:last-child {
	border-bottom: none;
}

.widget ul li a {
	display: block;
	padding: 0.5rem 0;
	font-size: 0.9rem;
	color: var(--text-secondary);
}

.widget ul li a:hover {
	color: var(--accent);
}

/* ==========================================================================
   21. Forms
   ========================================================================== */

.form-group {
	margin-bottom: 1.25rem;
}

.form-label {
	display: block;
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--text-secondary);
	margin-bottom: 0.375rem;
}

.form-input,
.form-textarea,
.form-select {
	width: 100%;
	padding: 0.75rem 1rem;
	background-color: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	color: var(--text-primary);
	outline: none;
	transition: border-color var(--transition);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
	border-color: var(--accent);
}

.form-textarea {
	min-height: 120px;
	resize: vertical;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	font-size: 0.9rem;
	font-weight: 600;
	border: none;
	border-radius: var(--radius-sm);
	cursor: pointer;
	transition: all var(--transition);
	white-space: nowrap;
}

.btn--primary {
	background-color: var(--accent);
	color: var(--text-primary);
}

.btn--primary:hover {
	background-color: var(--accent-hover);
	transform: translateY(-1px);
}

.btn--outline {
	background-color: transparent;
	color: var(--text-primary);
	border: 1px solid var(--border);
}

.btn--outline:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.btn--sm {
	padding: 0.5rem 1rem;
	font-size: 0.8rem;
}

.btn--lg {
	padding: 1rem 2rem;
	font-size: 1rem;
}

/* ==========================================================================
   21b. CTA Boxes (Homepage)
   ========================================================================== */

/* CTA Banner */
.cta-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 3rem;
	padding: 3rem 3.5rem;
	background: linear-gradient(135deg, #1a1f35 0%, #0f1923 50%, #151c28 100%);
	border: 1px solid rgba(37, 99, 235, 0.2);
	border-radius: var(--radius);
	position: relative;
	overflow: hidden;
}

.cta-banner::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -10%;
	width: 400px;
	height: 400px;
	background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
	pointer-events: none;
}

.cta-banner::after {
	content: '';
	position: absolute;
	bottom: -30%;
	left: 10%;
	width: 300px;
	height: 300px;
	background: radial-gradient(circle, rgba(220, 20, 60, 0.06) 0%, transparent 70%);
	pointer-events: none;
}

.cta-banner__content {
	position: relative;
	z-index: 1;
	flex: 1;
}

.cta-banner__title {
	font-size: 1.75rem;
	font-weight: 800;
	color: var(--text-primary);
	margin-bottom: 0.5rem;
	letter-spacing: -0.01em;
}

.cta-banner__desc {
	font-size: 1rem;
	color: var(--text-secondary);
	margin-bottom: 1.75rem;
}

.cta-banner__buttons {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.cta-banner__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	border-radius: var(--radius-sm);
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	transition: all var(--transition);
	white-space: nowrap;
}

.cta-banner__btn--primary {
	background: var(--accent);
	color: #fff;
	box-shadow: 0 4px 14px rgba(220, 20, 60, 0.35);
}

.cta-banner__btn--primary:hover {
	background: var(--accent-hover);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(220, 20, 60, 0.45);
}

.cta-banner__btn--secondary {
	background: transparent;
	color: var(--text-primary);
	border: 1px solid var(--accent);
}

.cta-banner__btn--secondary:hover {
	background: var(--accent);
	color: #fff;
	transform: translateY(-2px);
}

.cta-banner__btn--outline {
	background: transparent;
	color: var(--text-secondary);
	border: 1px solid var(--border);
}

.cta-banner__btn--outline:hover {
	background: var(--accent);
	color: #fff;
	border-color: var(--accent);
	transform: translateY(-2px);
}

/* Stats */
.cta-banner__stats {
	display: flex;
	gap: 2.5rem;
	position: relative;
	z-index: 1;
	flex-shrink: 0;
}

.cta-banner__stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.cta-banner__stat-num {
	font-size: 2rem;
	font-weight: 800;
	color: var(--text-primary);
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.cta-banner__stat-label {
	font-size: 0.75rem;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-top: 0.25rem;
}

@media (max-width: 1024px) {
	.cta-banner {
		flex-direction: column;
		text-align: center;
		padding: 2.5rem 2rem;
		gap: 2rem;
	}

	.cta-banner__buttons {
		justify-content: center;
	}

	.cta-banner__stats {
		gap: 2rem;
	}
}

@media (max-width: 640px) {
	.cta-banner {
		padding: 2rem 1.5rem;
	}

	.cta-banner__title {
		font-size: 1.35rem;
	}

	.cta-banner__buttons {
		flex-direction: column;
	}

	.cta-banner__btn {
		justify-content: center;
		width: 100%;
	}

	.cta-banner__stats {
		width: 100%;
		justify-content: space-around;
	}

	.cta-banner__stat-num {
		font-size: 1.5rem;
	}
}

/* ==========================================================================
   22. 404 Page
   ========================================================================== */

.error-404 {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-height: 60vh;
	padding: 3rem 1.5rem;
}

.error-404__code {
	font-size: 8rem;
	font-weight: 700;
	line-height: 1;
	color: var(--accent);
	margin-bottom: 1rem;
	opacity: 0.4;
}

.error-404__title {
	font-size: 1.75rem;
	font-weight: 700;
	margin-bottom: 1rem;
}

.error-404__text {
	font-size: 1.1rem;
	color: var(--text-secondary);
	max-width: 480px;
	margin-bottom: 2rem;
	line-height: 1.7;
}

.error-404__actions {
	display: flex;
	align-items: center;
	gap: 1rem;
}

/* ==========================================================================
   22a. Ad Zones
   ========================================================================== */

.ad-zone {
	margin: 1.5rem 0;
	text-align: center;
}

.ad-zone img {
	max-width: 100%;
	height: auto;
	border-radius: var(--radius);
}

.ad-zone a {
	display: inline-block;
}

.ad-slot__label {
	display: block;
	font-size: 0.6rem;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 0.375rem;
}

.ad-zone--full {
	padding: 0.5rem 0;
}

.ad-zone--single {
	margin: 2rem 0;
	padding: 1.5rem 0;
	border-top: 1px solid var(--border-light);
	border-bottom: 1px solid var(--border-light);
}

.sidebar-section--ad {
	margin-bottom: 1.5rem;
}

/* ==========================================================================
   22b. Kontakt Page
   ========================================================================== */

.kontakt-page {
	padding: 2rem 0 3rem;
}

.kontakt-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 3rem;
	align-items: start;
}

.kontakt-section-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-primary);
	margin-bottom: 0.5rem;
}

.kontakt-section-desc {
	color: var(--text-secondary);
	font-size: 0.95rem;
	line-height: 1.6;
	margin-bottom: 2rem;
}

.kontakt-form-wrapper {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 2.5rem;
}

/* Formularz */
.kontakt-form .kf-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.kontakt-form .kf-form__group {
	margin-bottom: 1.25rem;
}

.kontakt-form .kf-form__label {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--text-secondary);
	margin-bottom: 0.375rem;
}

.kontakt-form .kf-form__input {
	width: 100%;
	padding: 0.75rem 1rem;
	background: var(--bg-secondary);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	color: var(--text-primary);
	font-size: 0.95rem;
	transition: border-color var(--transition);
}

.kontakt-form .kf-form__input:focus {
	outline: none;
	border-color: var(--accent);
}

.kontakt-form .kf-form__input::placeholder {
	color: var(--text-muted);
}

.kontakt-form .kf-form__textarea {
	resize: vertical;
	min-height: 140px;
}

.kontakt-form select.kf-form__input {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239ca3af' d='M6 8.825L.35 3.175l.7-.7L6 7.425l4.95-4.95.7.7z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	padding-right: 2.5rem;
}

.kontakt-form .kf-form__checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-size: 0.8rem;
	color: var(--text-muted);
	line-height: 1.5;
	cursor: pointer;
}

.kontakt-form .kf-form__checkbox-label input[type="checkbox"] {
	margin-top: 2px;
	accent-color: var(--accent);
}

.kontakt-form .kf-form__submit {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.875rem 2rem;
	background: var(--accent);
	color: #fff;
	border: none;
	border-radius: var(--radius-sm);
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all var(--transition);
	margin-top: 0.5rem;
}

.kontakt-form .kf-form__submit:hover {
	background: var(--accent-hover);
	transform: translateY(-2px);
}

/* CF7 dark styling */
.kontakt-form-wrapper .wpcf7-form input[type="text"],
.kontakt-form-wrapper .wpcf7-form input[type="email"],
.kontakt-form-wrapper .wpcf7-form textarea,
.kontakt-form-wrapper .wpcf7-form select {
	width: 100%;
	padding: 0.75rem 1rem;
	background: var(--bg-secondary);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	color: var(--text-primary);
	font-size: 0.95rem;
}

.kontakt-form-wrapper .wpcf7-form input:focus,
.kontakt-form-wrapper .wpcf7-form textarea:focus {
	outline: none;
	border-color: var(--accent);
}

.kontakt-form-wrapper .wpcf7-form input[type="submit"] {
	display: inline-flex;
	padding: 0.875rem 2rem;
	background: var(--accent);
	color: #fff;
	border: none;
	border-radius: var(--radius-sm);
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all var(--transition);
}

.kontakt-form-wrapper .wpcf7-form input[type="submit"]:hover {
	background: var(--accent-hover);
}

/* Info karty */
.kontakt-info {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.kontakt-info-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.5rem;
	transition: all var(--transition);
}

.kontakt-info-card:hover {
	border-color: rgba(255, 255, 255, 0.12);
	transform: translateY(-2px);
}

.kontakt-info-card__icon {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--radius-sm);
	margin-bottom: 1rem;
}

.kontakt-info-card__icon--email { background: rgba(220, 20, 60, 0.15); color: var(--accent); }
.kontakt-info-card__icon--redakcja { background: rgba(37, 99, 235, 0.15); color: #2563eb; }
.kontakt-info-card__icon--lokalizacja { background: rgba(16, 185, 129, 0.15); color: #10b981; }

.kontakt-info-card__title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--text-primary);
	margin-bottom: 0.25rem;
}

.kontakt-info-card__value {
	font-size: 0.95rem;
	color: var(--accent);
	text-decoration: none;
	font-weight: 500;
}

.kontakt-info-card__value:hover {
	text-decoration: underline;
}

.kontakt-info-card__desc {
	font-size: 0.8rem;
	color: var(--text-muted);
	margin-top: 0.375rem;
}

/* Social */
.kontakt-social {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.5rem;
}

.kontakt-social__title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--text-primary);
	margin-bottom: 1rem;
}

.kontakt-social__links {
	display: flex;
	gap: 0.75rem;
}

.kontakt-social__link {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--border);
	border-radius: var(--radius-full);
	color: var(--text-secondary);
	transition: all var(--transition);
}

.kontakt-social__link:hover {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
	transform: translateY(-2px);
}

@media (max-width: 768px) {
	.kontakt-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.kontakt-form-wrapper {
		padding: 1.5rem;
	}

	.kontakt-form .kf-form__row {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   23. Animations
   ========================================================================== */

.fade-in {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.fade-in--delay-1 { transition-delay: 0.1s; }
.fade-in--delay-2 { transition-delay: 0.2s; }
.fade-in--delay-3 { transition-delay: 0.3s; }
.fade-in--delay-4 { transition-delay: 0.4s; }

@keyframes pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.5; }
}

@keyframes slideInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes slideInRight {
	from {
		opacity: 0;
		transform: translateX(20px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

/* Skeleton loader */
.skeleton {
	background: linear-gradient(
		90deg,
		var(--bg-card) 25%,
		var(--bg-card-hover) 50%,
		var(--bg-card) 75%
	);
	background-size: 200% 100%;
	animation: skeleton-loading 1.5s infinite;
	border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
	0% { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}

/* ==========================================================================
   24. Utility Classes
   ========================================================================== */

/* Text */
.text-accent { color: var(--accent) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-primary { color: var(--text-primary) !important; }
.text-success { color: var(--success) !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }

/* Background */
.bg-glass {
	background-color: var(--glass-bg);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.bg-card { background-color: var(--bg-card) !important; }
.bg-primary { background-color: var(--bg-primary) !important; }
.bg-secondary { background-color: var(--bg-secondary) !important; }

/* Screen reader only */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

/* Truncation */
.truncate-1 {
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.truncate-2 {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.truncate-3 {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Spacing */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mt-4 { margin-top: 2rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.5rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.mb-4 { margin-bottom: 2rem !important; }

.pt-0 { padding-top: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }

/* Display */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-grid { display: grid !important; }

.flex-center {
	display: flex;
	align-items: center;
	justify-content: center;
}

.gap-1 { gap: 0.5rem !important; }
.gap-2 { gap: 1rem !important; }
.gap-3 { gap: 1.5rem !important; }

/* ==========================================================================
   25. WordPress Core Styles
   ========================================================================== */

/* Alignments */
.alignwide {
	max-width: 100%;
}

.alignfull {
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	width: 100vw;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignleft {
	float: left;
	margin-right: 1.5rem;
	margin-bottom: 1rem;
}

.alignright {
	float: right;
	margin-left: 1.5rem;
	margin-bottom: 1rem;
}

/* WP Block Styles */
.wp-block-image {
	margin-bottom: 1.5rem;
}

.wp-block-image img {
	border-radius: var(--radius);
}

.wp-block-image figcaption {
	font-size: 0.85rem;
	color: var(--text-muted);
	text-align: center;
	margin-top: 0.75rem;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text {
	font-size: 0.85rem;
	color: var(--text-muted);
	text-align: center;
	margin-top: 0.75rem;
}

.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 0.75rem;
}

.gallery-item {
	margin: 0;
}

.gallery-item img {
	border-radius: var(--radius-sm);
	width: 100%;
}

.sticky .post-card {
	border-color: var(--accent);
}

.bypostauthor .comment {
	border-left: 3px solid var(--accent);
}

/* ==========================================================================
   26. Responsive
   ========================================================================== */

/* Tablet (1024px) */
@media (max-width: 1024px) {
	:root {
		--header-height: 60px;
	}

	.grid-main {
		grid-template-columns: 1fr;
	}

	.site-sidebar {
		position: static;
	}

	.posts-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.posts-grid--3 {
		grid-template-columns: repeat(2, 1fr);
	}

	.posts-grid--4 {
		grid-template-columns: repeat(2, 1fr);
	}

	.post-card--large {
		grid-template-columns: 1fr 1fr;
	}

	.footer-main {
		grid-template-columns: repeat(2, 1fr);
	}

	/* Show mobile nav */
	.mobile-nav {
		display: block;
	}

	body {
		padding-bottom: 60px;
	}

	/* Mobile menu toggle */
	.mobile-menu-toggle {
		display: flex;
	}

	.mobile-menu-overlay {
		display: block;
	}

	/* Hide desktop nav, show mobile nav */
	.site-nav--desktop {
		display: none !important;
	}

	.site-nav--mobile {
		display: block;
		position: fixed;
		top: 0;
		right: 0;
		width: 280px;
		height: 100vh;
		background-color: var(--bg-secondary);
		border-left: 1px solid var(--border);
		flex-direction: column;
		justify-content: flex-start;
		padding: 5rem 1.25rem 6rem;
		transform: translateX(100%);
		transition: transform var(--transition);
		z-index: 9998;
		overflow-y: auto;
	}

	.site-nav--mobile.is-open {
		transform: translateX(0);
	}

	.site-nav .menu {
		flex-direction: column;
		gap: 0;
		width: 100%;
		list-style: none;
		margin: 0;
		padding: 0;
	}

	.site-nav .menu li {
		border-bottom: 1px solid var(--border);
	}

	.site-nav .menu li:last-child {
		border-bottom: none;
	}

	.site-nav .menu a {
		width: 100%;
		display: block;
		padding: 0.75rem 0;
		font-size: 0.95rem;
		font-weight: 500;
		color: var(--text-secondary);
		border-radius: 0;
		text-decoration: none;
		transition: all var(--transition);
		text-align: left;
	}

	.site-nav .menu a:hover,
	.site-nav .menu .current-menu-item > a {
		color: var(--accent);
	}

	.site-nav .sub-menu {
		position: static !important;
		opacity: 1 !important;
		visibility: visible !important;
		transform: none !important;
		background-color: transparent !important;
		border: none !important;
		box-shadow: none !important;
		padding-left: 1rem !important;
	}

	/* Header adjustments */
	.header-login,
	.btn-register {
		display: none;
	}

	/* Hero */
	.hero-section {
		min-height: 350px;
	}

	.hero-section__title {
		font-size: 2rem;
	}

	.hero-section__content {
		padding: 2rem;
	}

	/* Single post */
	.single-hero {
		min-height: 300px;
	}

	.single-hero__title {
		font-size: 1.875rem;
	}

	.single-hero__content {
		padding: 2rem;
	}

	/* Post card large */
	.post-card--large {
		grid-template-columns: 1fr;
	}

	.post-card--large .post-card__image {
		aspect-ratio: 16 / 9;
	}

	/* Post navigation */
	.post-navigation {
		grid-template-columns: 1fr;
	}
}

/* Tablet small (768px) */
@media (max-width: 768px) {
	h1 { font-size: 2rem; }
	h2 { font-size: 1.625rem; }
	h3 { font-size: 1.25rem; }

	.container {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.posts-grid--featured {
		grid-template-columns: 1fr;
	}

	.posts-grid--featured .post-card:first-child {
		grid-row: auto;
	}

	.posts-grid--3 {
		grid-template-columns: 1fr;
	}

	.post-card--large {
		grid-template-columns: 1fr;
	}

	.post-card--large .post-card__image {
		min-height: 200px;
	}

	.post-card--large .post-card__content {
		padding: 1.25rem;
	}

	.post-card--large .post-card__title {
		font-size: 1.15rem;
	}

	.footer-main {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.footer-bottom {
		flex-direction: column;
		text-align: center;
	}

	.newsletter-form {
		flex-direction: column;
	}

	.newsletter-section {
		padding: 2rem 1.5rem;
	}

	.author-box {
		flex-direction: column;
		text-align: center;
		align-items: center;
	}

	.error-404__code {
		font-size: 5rem;
	}

	.error-404__actions {
		flex-direction: column;
	}
}

/* Mobile (640px) */
@media (max-width: 640px) {
	:root {
		--header-height: 56px;
		--container-padding: 1rem;
	}

	.posts-grid {
		grid-template-columns: 1fr;
	}

	.posts-grid--2,
	.posts-grid--4 {
		grid-template-columns: 1fr;
	}

	.hero-section {
		min-height: 300px;
		border-radius: 0;
	}

	.hero-section__title {
		font-size: 1.625rem;
	}

	.hero-section__content {
		padding: 1.5rem;
	}

	.hero-section__excerpt {
		font-size: 0.95rem;
	}

	.hero-section__meta {
		font-size: 0.8rem;
	}

	.single-hero {
		min-height: 250px;
		border-radius: 0;
	}

	.single-hero__title {
		font-size: 1.5rem;
	}

	.single-hero__content {
		padding: 1.5rem;
	}

	.single-content {
		padding: 0 1rem;
	}

	.single-content .entry-content {
		font-size: 1rem;
	}

	.single-content .entry-content h2 {
		font-size: 1.375rem;
	}

	.single-content .entry-content h3 {
		font-size: 1.125rem;
	}

	.post-card--hero .post-card__title {
		font-size: 1.375rem;
	}

	.post-card--large {
		grid-template-columns: 1fr;
	}

	.home-section__header {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
	}

	.comments-area {
		padding: 0 1rem;
	}

	.site-branding img {
		height: 32px;
	}

	.site-title {
		font-size: 1.125rem;
	}

	.archive-header__title {
		font-size: 1.5rem;
	}

	.page-hero__title {
		font-size: 1.75rem;
	}

	.post-navigation {
		grid-template-columns: 1fr;
	}
}

/* Hover on touch devices */
@media (hover: none) {
	.post-card:hover {
		transform: none;
		box-shadow: var(--shadow-card);
	}

	.post-card:hover .post-card__image img {
		transform: none;
	}
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	.fade-in {
		opacity: 1;
		transform: none;
	}
}

/* High contrast */
@media (prefers-contrast: high) {
	:root {
		--border: #4a5568;
		--border-light: #374151;
		--text-secondary: #d1d5db;
		--text-muted: #9ca3af;
	}
}

/* Print */
@media print {
	body {
		background: white;
		color: black;
	}

	.site-header,
	.site-footer,
	.mobile-nav,
	.site-sidebar,
	.post-navigation,
	.comments-area,
	.search-overlay {
		display: none !important;
	}

	.single-content .entry-content {
		color: black;
	}

	.single-content .entry-content a {
		text-decoration: underline;
		color: black;
	}

	.single-content .entry-content a::after {
		content: ' (' attr(href) ')';
		font-size: 0.8em;
	}
}




/* ============================================
   WooCommerce My Account
   ============================================ */
.wc-account-wrapper .woocommerce {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 1.5rem;
}

.wc-account-wrapper .woocommerce-MyAccount-navigation {
    background: #1a2028;
    border: 1px solid #2a3040;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    height: fit-content;
    position: sticky;
    top: 90px;
}

.wc-account-wrapper .woocommerce-MyAccount-content {
    background: #1a2028;
    border: 1px solid #2a3040;
    border-radius: 12px;
    padding: 2rem;
    color: #9ca3af;
    min-height: 400px;
    overflow-x: auto;
}

.wc-account-wrapper .woocommerce-MyAccount-content p,
.wc-account-wrapper .woocommerce-MyAccount-content span,
.wc-account-wrapper .woocommerce-MyAccount-content td,
.wc-account-wrapper .woocommerce-MyAccount-content label {
    color: #9ca3af;
}

.wc-account-wrapper .woocommerce-MyAccount-content h2,
.wc-account-wrapper .woocommerce-MyAccount-content h3,
.wc-account-wrapper .woocommerce-MyAccount-content strong {
    color: #fff;
}

.wc-account-wrapper .woocommerce-MyAccount-content a {
    color: #dc143c;
}

.wc-account-wrapper .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wc-account-wrapper .woocommerce-MyAccount-navigation ul li {
    margin: 0;
    border-bottom: 1px solid #2a3040;
}

.wc-account-wrapper .woocommerce-MyAccount-navigation ul li:last-child {
    border-bottom: none;
}

.wc-account-wrapper .woocommerce-MyAccount-navigation ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.wc-account-wrapper .woocommerce-MyAccount-navigation ul li a:hover {
    background: #202830;
    color: #fff;
    border-left-color: #3a4050;
}

.wc-account-wrapper .woocommerce-MyAccount-navigation ul li.is-active a {
    background: rgba(220, 20, 60, 0.12);
    color: #dc143c;
    border-left-color: #dc143c;
    font-weight: 700;
}

.wc-account-wrapper .woocommerce-MyAccount-navigation ul li a::before {
    font-family: dashicons;
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.woocommerce-MyAccount-navigation-link--dashboard a::before { content: "226"; }
.woocommerce-MyAccount-navigation-link--orders a::before { content: "174"; }
.woocommerce-MyAccount-navigation-link--moja-wizytowka a::before { content: "535"; }
.woocommerce-MyAccount-navigation-link--dodaj-firme a::before { content: "132"; }
.woocommerce-MyAccount-navigation-link--moje-zlecenia a::before { content: "481"; }
.woocommerce-MyAccount-navigation-link--dodaj-zlecenie a::before { content: "464"; }
.woocommerce-MyAccount-navigation-link--moje-oferty a::before { content: "155"; }
.woocommerce-MyAccount-navigation-link--edit-account a::before { content: "110"; }
.woocommerce-MyAccount-navigation-link--customer-logout a::before { content: "228"; }

.wc-account-wrapper .woocommerce-MyAccount-content > p:first-child {
    background: #141a1f;
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid #2a3040;
}

/* Forms */
.wc-account-wrapper input[type=text],
.wc-account-wrapper input[type=email],
.wc-account-wrapper input[type=password],
.wc-account-wrapper input[type=tel],
.wc-account-wrapper input[type=url],
.wc-account-wrapper input[type=number],
.wc-account-wrapper textarea,
.wc-account-wrapper select {
    background: #141a1f;
    border: 1px solid #2a3040;
    color: #fff;
    border-radius: 8px;
    padding: 10px 14px;
    width: 100%;
    box-sizing: border-box;
}

.wc-account-wrapper input:focus,
.wc-account-wrapper textarea:focus,
.wc-account-wrapper select:focus {
    border-color: #dc143c;
    outline: none;
}

.wc-account-wrapper .woocommerce-Button,
.wc-account-wrapper .woocommerce-button,
.wc-account-wrapper button[type=submit],
.wc-account-wrapper .button {
    background: #dc143c;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 600;
    cursor: pointer;
}

.wc-account-wrapper .woocommerce-Button:hover,
.wc-account-wrapper button[type=submit]:hover {
    background: #b01030;
}

/* Login/Register */
.wc-account-wrapper .woocommerce-form-login,
.wc-account-wrapper .woocommerce-form-register {
    background: #1a2028;
    border: 1px solid #2a3040;
    border-radius: 12px;
    padding: 2rem;
    max-width: 500px;
}

.wc-account-wrapper .woocommerce-form-login h2,
.wc-account-wrapper .woocommerce-form-register h2 {
    color: #fff;
    margin-bottom: 1rem;
}

/* Tables */
.wc-account-wrapper table {
    border-collapse: collapse;
    width: 100%;
}

.wc-account-wrapper table th,
.wc-account-wrapper table td {
    padding: 12px 16px;
    border-bottom: 1px solid #2a3040;
    text-align: left;
}

.wc-account-wrapper table th {
    background: #141a1f;
    color: #fff;
    font-weight: 600;
}

/* KF forms inside WC */
.wc-account-wrapper .kf-form__group {
    margin-bottom: 1rem;
}

.wc-account-wrapper .kf-form__label {
    color: #9ca3af;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
    display: block;
}

.wc-account-wrapper .kf-form__input,
.wc-account-wrapper .kf-form__textarea,
.wc-account-wrapper .kf-form__select {
    background: #141a1f;
    border: 1px solid #2a3040;
    color: #fff;
    border-radius: 8px;
    padding: 10px 14px;
    width: 100%;
    box-sizing: border-box;
}

/* Responsive */
@media (max-width: 768px) {
    .wc-account-wrapper .woocommerce {
        grid-template-columns: 1fr;
    }
    .wc-account-wrapper .woocommerce-MyAccount-navigation {
        position: static;
    }
    .wc-account-wrapper .woocommerce-MyAccount-navigation ul {
        display: flex;
        overflow-x: auto;
    }
    .wc-account-wrapper .woocommerce-MyAccount-navigation ul li {
        border-bottom: none;
        border-right: 1px solid #2a3040;
        flex-shrink: 0;
    }
    .wc-account-wrapper .woocommerce-MyAccount-navigation ul li a {
        padding: 12px 14px;
        font-size: 0.8rem;
        white-space: nowrap;
        border-left: none;
    }
    .wc-account-wrapper .woocommerce-MyAccount-navigation ul li.is-active a {
        border-left: none;
        border-bottom: 3px solid #dc143c;
    }
}
