/*!
Theme Name: main
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: main
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

main is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments
# Singel Post 'pirkimas'
# Footer

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	margin: 0 auto;
	max-width: 70%;
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

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

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Reusable Form Components (Mobile-First)
--------------------------------------------------------------*/

/* Form Container */
.search-form,
.form-modern {
	width: 100%;
	margin: 0 auto;
}

.form-title {
	text-align: center;
}
/* Form Rows - Responsive Grid */
.form-row {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

/* Form Group - Individual Field Container */
.form-group {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	flex: 1;
	min-width: 0;
}

.form-group-full {
	width: 100%;
}

.form-group-submit {
	margin-top: 0.5rem;
}

/* Align submit button to bottom when label is hidden */
.form-group-submit .form-label.screen-reader-text + .form-input-wrap {
	margin-top: auto;
}

/* On mobile, no special alignment needed */
@media screen and (max-width: 37.4em) {
	.form-group-submit .form-label.screen-reader-text + .form-input-wrap {
		margin-top: 0;
	}
}

/* Form Labels */
.form-label {
	display: block;
	font-weight: 600;
	font-size: 0.9rem;
	color: #404040;
	margin-bottom: 0.25rem;
}

.form-label a {
	color: inherit;
	text-decoration: underline;
}

.form-label a:hover {
	color: #4169e1;
}

/* Form Input Wrapper */
.form-input-wrap {
	width: 100%;
}

/* Form Inputs - Text, Email, etc. */
.form-input,
input.form-input[type="text"],
input.form-input[type="email"],
input.form-input[type="url"],
input.form-input[type="password"],
input.form-input[type="search"],
input.form-input[type="number"],
input.form-input[type="tel"] {
	width: 100%;
	padding: 0.75rem 1rem;
	font-size: 1rem;
	line-height: 1.5;
	color: #404040;
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 4px;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-input:focus {
	color: #111;
	border-color: #4169e1;
	outline: 0;
	box-shadow: 0 0 0 3px rgba(65, 105, 225, 0.1);
}

.form-input::placeholder {
	color: #999;
	opacity: 1;
}

/* Form Select */
.form-select,
select.form-select {
	width: 100%;
	padding: 0.75rem 2.5rem 0.75rem 1rem;
	font-size: 1rem;
	line-height: 1.5;
	color: #404040;
	background-color: #fff;
	background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23404040"><path d="M7 10l5 5 5-5z"/></svg>');
	background-repeat: no-repeat;
	background-position: right 0.75rem center;
	background-size: 16px 16px;
	border: 1px solid #ccc;
	border-radius: 4px;
	appearance: none;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-select:focus {
	color: #111;
	border-color: #4169e1;
	outline: 0;
	box-shadow: 0 0 0 3px rgba(65, 105, 225, 0.1);
}

/* Buttons - Reusable Styles */
.button,
button.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	vertical-align: middle;
	cursor: pointer;
	border: 1px solid transparent;
	border-radius: 4px;
	transition: all 0.15s ease-in-out;
}

.button:focus {
	outline: 0;
	box-shadow: 0 0 0 3px rgba(65, 105, 225, 0.25);
}

/* Button Primary */
.button-primary {
	color: #fff;
	background-color: #4169e1;
	border-color: #4169e1;
}

.button-primary:hover {
	background-color: #365ac4;
	border-color: #2f4fb3;
}

.button-primary:active,
.button-primary:focus {
	background-color: #2f4fb3;
	border-color: #294499;
}

/* Button Secondary */
.button-secondary {
	color: #404040;
	background-color: #f8f9fa;
	border-color: #ccc;
}

.button-secondary:hover {
	background-color: #e6e6e6;
	border-color: #aaa;
}

/* Button Full Width */
.button-full-width {
	width: 100%;
	display: flex;
}

/* Button Reset Link */
.button-reset {
	background-color: transparent;
	color: #4169e1;
	border-color: #4169e1;
}

.button-reset:hover {
	background-color: #4169e1;
	color: #fff;
}

/* Form Actions Container */
.form-actions {
	margin-top: 1rem;
	text-align: center;
}

/* Multiselect Component */
.multiselect {
	position: relative;
	width: 100%;
}

.multiselect-toggle {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	width: 100%;
	padding: 0.75rem 1rem;
	font-size: 1rem;
	line-height: 1.5;
	color: #404040;
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 4px;
	text-align: left;
	cursor: pointer;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.multiselect-toggle:hover {
	border-color: #aaa;
}

.multiselect-toggle:focus {
	border-color: #4169e1;
	outline: 0;
	box-shadow: 0 0 0 3px rgba(65, 105, 225, 0.1);
}

.multiselect-toggle .icon {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	color: #666;
}

.multiselect-toggle-text {
	flex: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.multiselect-toggle .caret {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	transition: transform 0.2s ease;
}

.multiselect-toggle[aria-expanded="true"] .caret {
	transform: rotate(180deg);
}

.multiselect-panel {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 1000;
	margin-top: 0.25rem;
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	max-height: 320px;
	flex-direction: column;
}

.multiselect-panel:not([hidden]) {
	display: flex;
}

.multiselect-panel[hidden] {
	display: none !important;
}

.multiselect-search {
	padding: 0.75rem;
	border-bottom: 1px solid #eee;
}

.multiselect-filter {
	width: 100%;
	padding: 0.5rem 0.75rem;
	font-size: 0.9rem;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.show-selected-only {
	display: block;
	margin-top: 0.5rem;
	font-size: 0.85rem;
	cursor: pointer;
}

.show-selected-only input[type="checkbox"] {
	margin-right: 0.25rem;
	cursor: pointer;
}

.multiselect-options {
	flex: 1;
	overflow-y: auto;
	padding: 0.5rem 0;
	margin: 0;
	list-style: none;
}

.multiselect-options li {
	margin: 0;
}

.multiselect-options label {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0.75rem;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.multiselect-options label:hover {
	background-color: #f8f9fa;
}

.multiselect-options input[type="checkbox"] {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	margin: 0;
	cursor: pointer;
}

.multiselect-options .name {
	flex: 1;
	font-size: 0.9rem;
}

/* Hierarchical multiselect indentation */
.multiselect-options li.level-1 label {
	padding-left: 2rem;
}

.multiselect-options li.level-2 label {
	padding-left: 3.5rem;
}

.multiselect-options li.level-3 label {
	padding-left: 5rem;
}

.multiselect-options li.level-4 label {
	padding-left: 6.5rem;
}

.multiselect-options li.level-5 label {
	padding-left: 8rem;
}

.multiselect-actions {
	display: flex;
	gap: 0.5rem;
	padding: 0.75rem;
	border-top: 1px solid #eee;
}

.multiselect-actions button {
	flex: 1;
	padding: 0.5rem 1rem;
	font-size: 0.9rem;
	border: 1px solid #ccc;
	border-radius: 4px;
	background-color: #fff;
	cursor: pointer;
	transition: all 0.15s ease;
}

.multiselect-actions button.apply {
	background-color: #4169e1;
	border-color: #4169e1;
	color: #fff;
}

.multiselect-actions button.apply:hover {
	background-color: #365ac4;
}

.multiselect-actions button.clear:hover {
	background-color: #f8f9fa;
}

/* Search Form Specific */
#main_search {
	margin: 2rem 0;
}

#main_search h2 {
	margin-bottom: 1.5rem;
	font-size: 1.75rem;
	color: #404040;
}

/* Toggle Advanced Search */
.form-toggle-wrapper {
	margin: 1rem 0;
	text-align: center;
}

.toggle-advanced-search {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	font-size: 0.9rem;
	color: #4169e1;
	background-color: transparent;
	border: 1px solid #4169e1;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.15s ease;
}

.toggle-advanced-search:hover {
	background-color: #4169e1;
	color: #fff;
}

.toggle-advanced-search .toggle-icon {
	transition: transform 0.2s ease;
}

.toggle-advanced-search.expanded .toggle-icon {
	transform: rotate(180deg);
}

/* Advanced Search Section */
.advanced-search-section {
	margin-top: 1rem;
}

.advanced-search-section[hidden] {
	display: none;
}

/* Form Actions */
.form-actions {
	display: flex;
	gap: 1rem;
	align-items: center;
	justify-content: center;
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid #eee;
}

.form-actions .button-primary {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	font-size: 1rem;
	font-weight: 500;
	color: #fff;
	background-color: #4169e1;
	border: 1px solid #4169e1;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.15s ease;
}

.form-actions .button-primary:hover {
	background-color: #365ac4;
	border-color: #365ac4;
}

.form-actions .button-link {
	color: #4169e1;
	text-decoration: none;
	font-size: 0.9rem;
	transition: color 0.15s ease;
}

.form-actions .button-link:hover {
	color: #365ac4;
	text-decoration: underline;
}

/* Responsive Breakpoints - Mobile First */

/* Small tablets and larger phones (600px and up) */
@media screen and (min-width: 37.5em) {
	.form-row {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: flex-end;
	}

	.form-group {
		flex: 1 1 calc(50% - 0.5rem);
		min-width: 0;
	}

	.form-group-full {
		flex: 1 1 100%;
	}

	.button-full-width {
		width: auto;
		min-width: 200px;
	}

	/* Align form groups with hidden labels */
	.form-group-submit .form-label.screen-reader-text + .form-input-wrap {
		margin-top: 0;
	}
}

/* Tablets (768px and up) */
@media screen and (min-width: 48em) {
	.form-row {
		gap: 1.25rem;
	}

	.form-group {
		flex: 1 1 calc(33.333% - 0.84rem);
	}

	#main_search h2 {
		font-size: 2rem;
	}
}

/* Desktop (1024px and up) */
@media screen and (min-width: 64em) {
	.search-form,
	.form-modern {
		max-width: 100%;
	}

	.form-row {
		gap: 1.5rem;
	}

	.multiselect-panel {
		max-height: 400px;
	}
}

/* Large desktop (1200px and up) */
@media screen and (min-width: 75em) {
	.form-group {
		flex: 1 1 calc(25% - 1.125rem);
	}
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
.site {
	max-width: 100%;
}
/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Header Layout
--------------------------------------------- */
.site-header {
	background-color: #fff;
	border-bottom: 1px solid #e0e0e0;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.header-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 100%;
	margin: 0 auto;
	padding: 1rem 1.5rem;
	gap: 2rem;
}

/* Site Branding
--------------------------------------------- */
.site-branding {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-shrink: 0;
}

.site-branding .custom-logo {
	max-height: 50px;
	width: auto;
}

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

.site-title a {
	color: #333;
	text-decoration: none;
	transition: color 0.2s ease;
}

.site-title a:hover {
	color: #4169e1;
}

.site-description {
	margin: 0;
	font-size: 0.9rem;
	color: #666;
	line-height: 1.3;
}

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: flex;
	align-items: center;
	position: relative;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 0;
}

.main-navigation li {
	position: relative;
	margin: 0;
}

.main-navigation a {
	display: block;
	padding: 0.75rem 1.25rem;
	color: #404040;
	text-decoration: none;
	font-weight: 500;
	transition: all 0.2s ease;
	border-radius: 4px;
	position: relative;
}

.main-navigation a:hover,
.main-navigation a:focus {
	color: #4169e1;
	background-color: rgba(65, 105, 225, 0.1);
}

.main-navigation .nav-item.active a,
.main-navigation .current-menu-item a {
	color: #4169e1;
	background-color: rgba(65, 105, 225, 0.15);
	font-weight: 600;
}

/* Dropdown menus */
.main-navigation ul ul {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background-color: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.2s ease;
	z-index: 9999;
	padding: 0.5rem 0;
}

.main-navigation ul ul ul {
	top: 0;
	left: 100%;
	margin-left: 0.5rem;
}

.main-navigation li:hover > ul,
.main-navigation li.focus > ul {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.main-navigation ul ul a {
	padding: 0.625rem 1rem;
	color: #555;
	font-weight: 400;
	border-radius: 0;
	transition: all 0.2s ease;
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a:focus {
	color: #4169e1;
	background-color: #f8f9fa;
	padding-left: 1.25rem;
}

/* Mobile Menu Toggle
--------------------------------------------- */
.menu-toggle {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1rem;
	background-color: transparent;
	border: 2px solid #4169e1;
	border-radius: 4px;
	color: #4169e1;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
}

.menu-toggle:hover,
.menu-toggle:focus {
	background-color: #4169e1;
	color: #fff;
}

.menu-toggle-icon {
	display: flex;
	flex-direction: column;
	gap: 3px;
	width: 20px;
	height: 16px;
}

.menu-toggle-icon .bar {
	height: 2px;
	width: 100%;
	background-color: currentColor;
	border-radius: 1px;
	transition: all 0.2s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon .bar:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon .bar:nth-child(2) {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon .bar:nth-child(3) {
	transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Styles */
.main-navigation.toggled ul {
	display: block;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background-color: #fff;
	border: 1px solid #e0e0e0;
	border-top: none;
	border-radius: 0 0 8px 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	padding: 1rem 0;
	max-height: 70vh;
	overflow-y: auto;
}

.main-navigation.toggled ul li {
	width: 100%;
}

.main-navigation.toggled ul a {
	padding: 1rem 1.5rem;
	border-radius: 0;
	border-bottom: 1px solid #f0f0f0;
}

.main-navigation.toggled ul a:hover,
.main-navigation.toggled ul a:focus {
	background-color: #f8f9fa;
	padding-left: 2rem;
}

/* Desktop Navigation */
@media screen and (min-width: 48em) {
	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
		align-items: center;
		gap: 0.25rem;
		justify-content: flex-start;
		width: 100%;
	}

	/* User Navigation Items - Float Right */
	.main-navigation ul #user-nav,
	.main-navigation ul .user-nav-item {
		margin-left: auto;
	}

	/* Push first user nav item to the right */
	.main-navigation ul .user-nav-item:first-of-type {
		margin-left: auto;
	}

	/* Ensure user nav items stay together on the right */
	.main-navigation ul .user-nav-item + .user-nav-item {
		margin-left: 0;
	}

	.header-container {
		padding: 1.5rem 2rem;
	}

	.site-title {
		font-size: 1.75rem;
	}
}

@media screen and (min-width: 64em) {
	.main-navigation ul {
		gap: 0.5rem;
	}

	.main-navigation a {
		padding: 0.875rem 1.5rem;
	}

	.header-container {
		padding: 1.5rem 3rem;
	}

	.site-title {
		font-size: 2rem;
	}
}

/* Special Navigation Item Styles */
.main-navigation .special-nav-item a {
	background: linear-gradient(135deg, #4169e1, #6366f1);
	color: #fff;
	border-radius: 25px;
	padding: 0.75rem 1.5rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: 0 2px 8px rgba(65, 105, 225, 0.3);
}

.main-navigation .special-nav-item a:hover,
.main-navigation .special-nav-item a:focus {
	background: linear-gradient(135deg, #365ac4, #5855eb);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(65, 105, 225, 0.4);
}

@media screen and (max-width: 47.9em) {
	.main-navigation.toggled .special-nav-item a {
		background: linear-gradient(135deg, #4169e1, #6366f1);
		color: #fff;
		border-radius: 25px;
		margin: 0.5rem 1rem;
		padding: 1rem 1.5rem;
		text-align: center;
		border-bottom: none;
	}

	.main-navigation.toggled .special-nav-item a:hover,
	.main-navigation.toggled .special-nav-item a:focus {
		background: linear-gradient(135deg, #365ac4, #5855eb);
		padding-left: 1.5rem;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* Search Results - Pirkimas Layout
--------------------------------------------- */
.search-result-pirkimas {
	margin-bottom: 2em;
	padding: 1.5em;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	background-color: #fff;
}

.search-result-pirkimas .entry-header {
	margin-bottom: 1em;
}

.search-result-pirkimas .entry-title {
	margin: 0 0 0.5em;
	font-size: 1.4em;
	line-height: 1.3;
}

.search-result-pirkimas .entry-title a {
	color: #0066cc;
	text-decoration: none;
}

.search-result-pirkimas .entry-title a:hover,
.search-result-pirkimas .entry-title a:focus {
	color: #004499;
	text-decoration: underline;
}

.search-result-pirkimas .pirkimas-meta {
	display: flex;
	flex-direction: column;
	gap: 0.5em;
	margin-top: 0.75em;
	padding-top: 0.75em;
	border-top: 1px solid #e0e0e0;
}

.search-result-pirkimas .meta-item {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.5em;
	font-size: 0.9em;
	line-height: 1.4;
}

.search-result-pirkimas .meta-icon {
	flex-shrink: 0;
	color: #0066cc;
	vertical-align: middle;
	margin-top: 0.1em;
}

.meta-item.bvpz-skyrius .meta-icon-row {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.search-result-pirkimas .meta-label {
	font-weight: 600;
	color: #333;
}

.search-result-pirkimas .meta-value {
	color: #555;
}

.search-result-pirkimas .meta-value-secondary {
	color: #777;
	font-size: 0.95em;
}

.search-result-pirkimas .entry-summary {
	margin: 1em 0;
	color: #444;
	line-height: 1.6;
}

.search-result-pirkimas .entry-footer {
	margin-top: 1em;
	padding-top: 1em;
	border-top: 1px solid #e0e0e0;
}

.search-result-pirkimas .read-more {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	padding: 0.5em 1em;
	background-color: #0066cc;
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
	font-size: 0.9em;
	font-weight: 500;
	transition: background-color 0.2s ease;
}

.search-result-pirkimas .read-more:hover,
.search-result-pirkimas .read-more:focus {
	background-color: #004499;
}

.search-result-pirkimas .read-more svg {
	width: 16px;
	height: 16px;
	transition: transform 0.2s ease;
}

.search-result-pirkimas .read-more:hover svg {
	transform: translateX(3px);
}

/* Responsive adjustments for pirkimas results */
@media screen and (max-width: 600px) {
	.search-result-pirkimas {
		padding: 1em;
	}

	.search-result-pirkimas .entry-title {
		font-size: 1.2em;
	}

	.search-result-pirkimas .meta-item {
		font-size: 0.85em;
	}
}

/*--------------------------------------------------------------
# Pagination
--------------------------------------------------------------*/

.pagination {
	clear: both;
	margin: 3rem 0;
	padding: 2rem 0;
	text-align: center;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	list-style: none;
	padding: 0;
	margin: 0;
	flex-wrap: wrap;
	justify-content: center;
}

.page-numbers li {
	list-style: none;
}

.page-numbers a,
.page-numbers span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0.5rem 1rem;
	background-color: #ffffff;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	color: #333;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	transition: all 0.3s ease;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.page-numbers a:hover {
	background-color: #667eea;
	border-color: #667eea;
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.page-numbers .current {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-color: #667eea;
	color: #ffffff;
	box-shadow: 0 4px 8px rgba(102, 126, 234, 0.4);
	cursor: default;
}

.page-numbers .prev,
.page-numbers .next {
	font-weight: 700;
	padding: 0.5rem 1.5rem;
	background-color: #f8f9fa;
	border-color: #dee2e6;
}

.page-numbers .prev:hover,
.page-numbers .next:hover {
	background-color: #667eea;
	border-color: #667eea;
	color: #ffffff;
}

.page-numbers .dots {
	border: none;
	background: transparent;
	color: #999;
	box-shadow: none;
	cursor: default;
	pointer-events: none;
}

/* Responsive pagination */
@media screen and (max-width: 768px) {
	.pagination {
		margin: 2rem 0;
		padding: 1.5rem 0;
	}

	.page-numbers {
		gap: 0.375rem;
	}

	.page-numbers a,
	.page-numbers span {
		min-width: 40px;
		height: 40px;
		padding: 0.4rem 0.75rem;
		font-size: 0.875rem;
		border-radius: 6px;
	}

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

@media screen and (max-width: 480px) {
	.pagination {
		margin: 1.5rem 0;
		padding: 1rem 0;
	}

	.page-numbers {
		gap: 0.25rem;
	}

	.page-numbers a,
	.page-numbers span {
		min-width: 36px;
		height: 36px;
		padding: 0.35rem 0.625rem;
		font-size: 0.8125rem;
		border-radius: 4px;
	}

	.page-numbers .prev,
	.page-numbers .next {
		padding: 0.35rem 0.875rem;
		font-size: 0.75rem;
	}

	/* Hide some page numbers on very small screens */
	.page-numbers a:not(.prev):not(.next):not(.current) {
		display: none;
	}

	.page-numbers a.current,
	.page-numbers .prev,
	.page-numbers .next,
	.page-numbers .dots {
		display: inline-flex;
	}

	/* Show adjacent pages to current */
	.page-numbers a.current + a,
	.page-numbers a + a.current {
		display: inline-flex;
	}
}

/*--------------------------------------------------------------
# Single Page 'Pirkimas' Styles
--------------------------------------------------------------*/

.pirkimas-single {
	background-color: #f8f9fa;
	padding-bottom: 3rem;
}

.pirkimas-header {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #ffffff;
	padding: 3rem 0;
	margin-bottom: 2rem;
}

.pirkimas-title {
	font-size: 2rem;
	font-weight: 700;
	margin: 0 0 1rem 0;
	line-height: 1.3;
}

.pirkimas-meta-badge {
	margin-top: 1rem;
}

.badge {
	display: inline-block;
	padding: 0.5rem 1rem;
	border-radius: 20px;
	font-size: 0.875rem;
	font-weight: 600;
}

.badge-primary {
	background-color: rgba(255, 255, 255, 0.2);
	color: #ffffff;
}

.badge-success {
	background-color: #28a745;
	color: #ffffff;
	font-size: 0.75rem;
	padding: 0.25rem 0.75rem;
	margin-left: 0.5rem;
}

.badge-danger {
	background-color: #dc3545;
	color: #ffffff;
	font-size: 0.75rem;
	padding: 0.25rem 0.75rem;
	margin-left: 0.5rem;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem;
}

.pirkimas-content-wrapper {
	display: grid;
	grid-template-columns: 1fr 350px;
	gap: 2rem;
	align-items: start;
}

.pirkimas-main-content {
	min-width: 0;
}

.pirkimas-sidebar {
	min-width: 0;
}

.info-card {
	background: #ffffff;
	border-radius: 8px;
	padding: 2rem;
	margin-bottom: 1.5rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card-primary {
	border-top: 4px solid #667eea;
}

.card-company {
	border-top: 4px solid #28a745;
}

.card-actions {
	border-top: 4px solid #ffc107;
}

.card-meta {
	border-top: 4px solid #6c757d;
}

.card-title {
	font-size: 1.5rem;
	font-weight: 600;
	margin: 0 0 1.5rem 0;
	color: #333;
}

.info-grid {
	display: grid;
	gap: 1rem;
}

.info-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.75rem;
	background-color: #f8f9fa;
	border-radius: 4px;
	gap: 1rem;
}

.info-label {
	font-weight: 600;
	color: #555;
}

.info-value {
	color: #333;
	text-align: right;
}

.info-value-highlight {
	font-size: 1.25rem;
	font-weight: 700;
	color: #667eea;
}

.text-success {
	color: #28a745;
}

.text-danger {
	color: #dc3545;
}

.pirkimas-description {
	line-height: 1.8;
	color: #555;
}

.taxonomy-section {
	margin-bottom: 1.5rem;
}

.taxonomy-section:last-child {
	margin-bottom: 0;
}

.taxonomy-title {
	font-size: 1rem;
	font-weight: 600;
	margin: 0 0 0.75rem 0;
	color: #555;
}

.taxonomy-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.taxonomy-tag {
	display: inline-block;
	padding: 0.5rem 1rem;
	background-color: #e9ecef;
	color: #495057;
	text-decoration: none;
	border-radius: 4px;
	font-size: 0.875rem;
	transition: all 0.3s ease;
}

.taxonomy-tag:hover {
	background-color: #667eea;
	color: #ffffff;
	transform: translateY(-2px);
}

.tag-skyrius {
	border-left: 3px solid #667eea;
}

.tag-kodas {
	border-left: 3px solid #28a745;
}

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

.company-name {
	font-size: 1.25rem;
	font-weight: 600;
}

.company-name a {
	color: #333;
	text-decoration: none;
	transition: color 0.3s ease;
}

.company-name a:hover {
	color: #667eea;
}

.company-code,
.company-city {
	margin-bottom: 0.75rem;
	color: #555;
}

.btn {
	display: inline-block;
	padding: 0.75rem 1.5rem;
	border-radius: 4px;
	text-decoration: none;
	font-weight: 600;
	text-align: center;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
	font-size: 0.875rem;
}

.btn-outline {
	background-color: transparent;
	border: 2px solid #667eea;
	color: #667eea;
	width: 100%;
	margin-top: 1rem;
}

.btn-outline:hover {
	background-color: #667eea;
	color: #ffffff;
}

.btn-secondary {
	background-color: #6c757d;
	color: #ffffff;
	width: 100%;
}

.btn-secondary:hover {
	background-color: #5a6268;
}

.action-buttons {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.meta-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.meta-list .meta-item {
	display: flex;
	justify-content: space-between;
	padding: 0.5rem 0;
	border-bottom: 1px solid #e9ecef;
}

.meta-item:last-child {
	border-bottom: none;
}

.meta-label {
	font-weight: 600;
	color: #555;
	font-size: 0.875rem;
}

.meta-value {
	color: #777;
	font-size: 0.875rem;
}

.pirkimas-navigation {
	margin-top: 3rem;
	padding: 2rem;
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pirkimas-navigation .nav-links {
	display: flex;
	justify-content: space-between;
	gap: 2rem;
}

.pirkimas-navigation .nav-links a {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 1rem;
	background-color: #f8f9fa;
	border-radius: 4px;
	text-decoration: none;
	color: #333;
	transition: all 0.3s ease;
	flex: 1;
}

.pirkimas-navigation .nav-links a:hover {
	background-color: #667eea;
	color: #ffffff;
	transform: translateX(0);
}

.pirkimas-navigation .nav-previous a:hover {
	transform: translateX(-5px);
}

.pirkimas-navigation .nav-next a {
	justify-content: flex-end;
}

.pirkimas-navigation .nav-next a:hover {
	transform: translateX(5px);
}

.nav-icon {
	font-size: 1.5rem;
}

.nav-label {
	font-weight: 600;
}

/* Responsive */
@media (max-width: 992px) {
	.pirkimas-content-wrapper {
		grid-template-columns: 1fr;
	}
	
	.pirkimas-sidebar {
		order: -1;
	}
	
	.info-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.pirkimas-header {
		padding: 2rem 1rem;
	}
	
	.pirkimas-title {
		font-size: 1.5rem;
		line-height: 1.4;
	}
	
	.container {
		padding: 0 0.75rem;
	}
	
	.pirkimas-content-wrapper {
		gap: 1rem;
	}
	
	.info-card {
		padding: 1.25rem;
		margin-bottom: 1rem;
	}
	
	.card-title {
		font-size: 1.125rem;
		margin-bottom: 1rem;
	}
	
	.info-item {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
		padding: 0.75rem;
	}
	
	.info-value {
		text-align: left;
		word-break: break-word;
	}
	
	.info-value-highlight {
		font-size: 1.125rem;
	}
	
	.badge {
		font-size: 0.75rem;
		padding: 0.375rem 0.75rem;
	}
	
	.taxonomy-list {
		gap: 0.375rem;
	}
	
	.taxonomy-tag {
		font-size: 0.8125rem;
		padding: 0.4rem 0.75rem;
	}
	
	.company-name {
		font-size: 1.125rem;
	}
	
	.pirkimas-navigation {
		margin-top: 2rem;
		padding: 1.25rem;
	}
	
	.pirkimas-navigation .nav-links {
		flex-direction: column;
		gap: 1rem;
	}
	
	.pirkimas-navigation .nav-links a {
		padding: 0.875rem;
		font-size: 0.875rem;
	}
	
	.nav-icon {
		font-size: 1.25rem;
	}
}

@media (max-width: 480px) {
	.pirkimas-header {
		padding: 1.5rem 0.5rem;
	}
	
	.pirkimas-title {
		font-size: 1.25rem;
	}
	
	.container {
		padding: 0 0.5rem;
	}
	
	.info-card {
		padding: 1rem;
		border-radius: 6px;
	}
	
	.card-title {
		font-size: 1rem;
		margin-bottom: 0.875rem;
	}
	
	.info-item {
		padding: 0.625rem;
	}
	
	.info-label,
	.info-value {
		font-size: 0.875rem;
	}
	
	.taxonomy-tag {
		font-size: 0.75rem;
		padding: 0.375rem 0.625rem;
	}
	
	.btn {
		padding: 0.625rem 1.25rem;
		font-size: 0.8125rem;
	}
	
	.meta-label,
	.meta-value {
		font-size: 0.8125rem;
	}
	
	.action-buttons {
		gap: 0.625rem;
	}
	
	.pirkimas-navigation {
		padding: 1rem;
	}
	
	.pirkimas-navigation .nav-links a {
		padding: 0.75rem;
		font-size: 0.8125rem;
	}
}

/* Landscape orientation fixes */
@media (max-width: 992px) and (orientation: landscape) {
	.pirkimas-header {
		padding: 2rem 1rem;
	}
	
	.pirkimas-content-wrapper {
		grid-template-columns: 1fr 300px;
	}
}

@media (max-width: 768px) and (orientation: landscape) {
	.pirkimas-content-wrapper {
		grid-template-columns: 1fr;
	}
}

/* Print Styles */
@media print {
	.pirkimas-header {
		background: none;
		color: #000;
	}
	
	.card-actions,
	.pirkimas-navigation {
		display: none;
	}
	
	.info-card {
		box-shadow: none;
		border: 1px solid #ddd;
	}
}

/*--------------------------------------------------------------
# Single Page 'Imone' Styles
--------------------------------------------------------------*/
.imone-single {
	background-color: #f8f9fa;
	padding-bottom: 3rem;
}

.imone-header {
	background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
	color: #ffffff;
	padding: 3rem 0;
	margin-bottom: 2rem;
}

.imone-title {
	font-size: 2rem;
	font-weight: 700;
	margin: 0 0 1rem 0;
	line-height: 1.3;
}

.imone-meta-badge {
	margin-top: 1rem;
}

.imone-content-wrapper {
	display: grid;
	grid-template-columns: 1fr 350px;
	gap: 2rem;
	align-items: start;
}

.imone-main-content {
	min-width: 0;
}

.imone-sidebar {
	min-width: 0;
}

.card-pirkimai {
	border-top: 4px solid #667eea;
}

.card-stats {
	border-top: 4px solid #ffc107;
}

.card-header-with-count {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.5rem;
}

.card-header-with-count .card-title {
	margin: 0;
}

.count-badge {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #ffffff;
	padding: 0.5rem 1rem;
	border-radius: 20px;
	font-weight: 700;
	font-size: 1rem;
}

.pirkimas-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.pirkimas-item {
	padding: 1.25rem;
	background-color: #f8f9fa;
	border-radius: 6px;
	border-left: 4px solid #667eea;
	transition: all 0.3s ease;
}

.pirkimas-item:hover {
	background-color: #e9ecef;
	border-left-color: #28a745;
	transform: translateX(4px);
}

.pirkimas-item-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 0.75rem;
}

.pirkimas-item-title {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.4;
	flex: 1;
}

.pirkimas-item-title a {
	color: #333;
	text-decoration: none;
	transition: color 0.3s ease;
}

.pirkimas-item-title a:hover {
	color: #667eea;
}

.pirkimas-id {
	background-color: #e9ecef;
	padding: 0.25rem 0.75rem;
	border-radius: 12px;
	font-size: 0.75rem;
	font-weight: 600;
	color: #666;
	white-space: nowrap;
}

.pirkimas-item-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 1rem;
	font-size: 0.875rem;
}

.pirkimas-meta-item {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	color: #555;
}

.pirkimas-meta-item .meta-icon {
	font-size: 1rem;
}

.pirkimas-meta-item .meta-text.expired {
	color: #dc3545;
}

.pirkimas-meta-item .meta-text.active {
	color: #28a745;
}

.status-badge {
	display: inline-block;
	padding: 0.125rem 0.5rem;
	border-radius: 10px;
	font-size: 0.7rem;
	font-weight: 600;
	margin-left: 0.25rem;
}

.status-badge.active {
	background-color: #28a745;
	color: #ffffff;
}

.status-badge.expired {
	background-color: #dc3545;
	color: #ffffff;
}

.pirkimas-item-link {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	color: #667eea;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.875rem;
	transition: all 0.3s ease;
}

.pirkimas-item-link:hover {
	color: #764ba2;
	transform: translateX(3px);
}

.view-all-pirkimai {
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 2px solid #e9ecef;
	text-align: center;
}

.btn-primary {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border: none;
	color: #ffffff;
	padding: 0.875rem 2rem;
	font-size: 1rem;
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 12px rgba(102, 126, 234, 0.4);
}

.no-pirkimai {
	text-align: center;
	padding: 3rem 1rem;
	color: #999;
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
}

.stat-item {
	text-align: center;
	padding: 1.25rem;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 8px;
	color: #ffffff;
}

.stat-value {
	font-size: 1.75rem;
	font-weight: 700;
	margin-bottom: 0.375rem;
	line-height: 1;
}

.stat-label {
	font-size: 0.875rem;
	opacity: 0.9;
}

.imone-description {
	line-height: 1.8;
	color: #555;
}

/* Responsive */
@media (max-width: 992px) {
	.imone-content-wrapper {
		grid-template-columns: 1fr;
	}
	
	.imone-sidebar {
		order: -1;
	}
	
	.stats-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.imone-header {
		padding: 2rem 1rem;
	}
	
	.imone-title {
		font-size: 1.5rem;
		line-height: 1.4;
	}
	
	.container {
		padding: 0 0.75rem;
	}
	
	.imone-content-wrapper {
		gap: 1rem;
	}
	
	.info-card {
		padding: 1.25rem;
		margin-bottom: 1rem;
	}
	
	.card-title {
		font-size: 1.125rem;
		margin-bottom: 1rem;
	}
	
	.card-header-with-count {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
	}
	
	.pirkimas-item {
		padding: 1rem;
	}
	
	.pirkimas-item-header {
		flex-direction: column;
		gap: 0.5rem;
	}
	
	.pirkimas-item-meta {
		flex-direction: column;
		gap: 0.5rem;
	}
	
	.stats-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.imone-header {
		padding: 1.5rem 0.5rem;
	}
	
	.imone-title {
		font-size: 1.25rem;
	}
	
	.container {
		padding: 0 0.5rem;
	}
	
	.info-card {
		padding: 1rem;
		border-radius: 6px;
	}
	
	.card-title {
		font-size: 1rem;
	}
	
	.pirkimas-item-title {
		font-size: 1rem;
	}
	
	.stat-value {
		font-size: 1.5rem;
	}
}

/* Print Styles */
@media print {
	.imone-header {
		background: none;
		color: #000;
	}
	
	.card-actions,
	.pirkimas-item-link,
	.view-all-pirkimai {
		display: none;
	}
	
	.info-card {
		box-shadow: none;
		border: 1px solid #ddd;
	}
	
	.pirkimas-item {
		page-break-inside: avoid;
	}
}


/*--------------------------------------------------------------
# Taxonomy Archive 'BVPZ Skyrius' Styles
--------------------------------------------------------------*/

.bvpz-skyrius-archive {
	background-color: #f8f9fa;
	padding-bottom: 3rem;
}

/*--------------------------------------------------------------
# Taxonomy Archive 'BVPZ Kodas' Styles
--------------------------------------------------------------*/

.bvpz-kodas-archive {
	background-color: #f8f9fa;
	padding-bottom: 3rem;
}

.taxonomy-header-kodas {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #ffffff;
	padding: 3rem 0;
	margin-bottom: 2rem;
}

.count-badge-kodas {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #ffffff;
	padding: 0.5rem 1rem;
	border-radius: 20px;
	font-size: 0.875rem;
	font-weight: 600;
}

.stat-value-success {
	color: #28a745 !important;
}

.stat-value-danger {
	color: #dc3545 !important;
}

.card-parent-skyrius {
	background: #ffffff;
	border-radius: 12px;
	padding: 1.5rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	margin-bottom: 1.5rem;
}

.parent-skyrius-link {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem;
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	border: 2px solid #e9ecef;
	border-radius: 8px;
	text-decoration: none;
	transition: all 0.3s ease;
}

.parent-skyrius-link:hover {
	background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
	border-color: #667eea;
	transform: translateX(4px);
}

.parent-skyrius-content {
	flex: 1;
}

.parent-skyrius-name {
	color: #1a202c;
	font-weight: 600;
	font-size: 1rem;
	margin-bottom: 0.5rem;
}

.parent-skyrius-meta {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.parent-skyrius-slug {
	color: #667eea;
	font-weight: 600;
	font-size: 0.875rem;
}

.parent-skyrius-count {
	color: #6c757d;
	font-size: 0.875rem;
}

.parent-skyrius-arrow {
	color: #667eea;
	font-size: 1.5rem;
	font-weight: 700;
	transition: transform 0.3s ease;
}

.parent-skyrius-link:hover .parent-skyrius-arrow {
	transform: translateX(4px);
}

/* Responsive adjustments for BVPZ Kodas */
@media (max-width: 768px) {
	.parent-skyrius-link {
		padding: 0.875rem;
	}

	.parent-skyrius-name {
		font-size: 0.9375rem;
	}

	.parent-skyrius-meta {
		flex-direction: column;
		gap: 0.25rem;
	}

	.parent-skyrius-arrow {
		font-size: 1.25rem;
	}
}

@media (max-width: 480px) {
	.parent-skyrius-link {
		padding: 0.75rem;
	}

	.parent-skyrius-name {
		font-size: 0.875rem;
	}

	.parent-skyrius-slug,
	.parent-skyrius-count {
		font-size: 0.75rem;
	}

	.stats-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.stat-item {
		padding: 0.75rem;
	}

	.stat-value {
		font-size: 1.5rem;
	}

	.stat-label {
		font-size: 0.75rem;
	}
}

.bvpz-skyrius-archive {
	background-color: #f8f9fa;
	padding-bottom: 3rem;
}

.taxonomy-header {
	background: linear-gradient(135deg, #4a6cf7 0%, #6366f1 100%);
	color: #ffffff;
	padding: 3rem 0;
	margin-bottom: 2rem;
}

.taxonomy-breadcrumb {
	font-size: 0.875rem;
	margin-bottom: 1rem;
	opacity: 0.9;
}

.taxonomy-breadcrumb a {
	color: #ffffff;
	text-decoration: none;
	transition: opacity 0.3s ease;
}

.taxonomy-breadcrumb a:hover {
	opacity: 0.8;
}

.taxonomy-breadcrumb .separator {
	margin: 0 0.5rem;
}

.taxonomy-title {
	font-size: 2.5rem;
	font-weight: 700;
	margin: 0 0 1rem 0;
	line-height: 1.2;
}

.taxonomy-description {
	font-size: 1.125rem;
	line-height: 1.6;
	opacity: 0.95;
	max-width: 800px;
}

.taxonomy-content-wrapper {
	display: grid;
	grid-template-columns: 1fr 350px;
	gap: 2rem;
	align-items: start;
}

.taxonomy-main-content {
	min-width: 0;
}

.taxonomy-sidebar {
	min-width: 0;
}

.card-header-with-count {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.5rem;
}

.count-badge {
	background: linear-gradient(135deg, #4a6cf7 0%, #6366f1 100%);
	color: #ffffff;
	padding: 0.5rem 1rem;
	border-radius: 20px;
	font-size: 0.875rem;
	font-weight: 600;
}

.card-pirkimai {
	background: #ffffff;
	border-radius: 12px;
	padding: 2rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	margin-bottom: 2rem;
}

.pirkimas-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.pirkimas-item {
	background: #f8f9fa;
	border: 1px solid #e9ecef;
	border-radius: 8px;
	padding: 1.5rem;
	transition: all 0.3s ease;
	position: relative;
}

.pirkimas-item:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

.pirkimas-item-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 1rem;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.pirkimas-item-title {
	margin: 0;
	flex: 1;
}

.pirkimas-item-title a {
	color: #1a202c;
	text-decoration: none;
	font-size: 1.125rem;
	font-weight: 600;
	transition: color 0.3s ease;
}

.pirkimas-item-title a:hover {
	color: #4a6cf7;
}

.pirkimas-id {
	background: #e9ecef;
	color: #6c757d;
	padding: 0.25rem 0.75rem;
	border-radius: 6px;
	font-size: 0.75rem;
	font-weight: 600;
	white-space: nowrap;
}

.pirkimas-item-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 1rem;
}

.pirkimas-meta-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	color: #6c757d;
}

.meta-icon {
	font-size: 1rem;
}

.meta-text a {
	color: #4a6cf7;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s ease;
}

.meta-text a:hover {
	color: #3b5bdb;
}

.meta-text.expired {
	color: #dc3545;
}

.meta-text.active {
	color: #28a745;
}

.status-badge {
	display: inline-block;
	padding: 0.125rem 0.5rem;
	border-radius: 4px;
	font-size: 0.75rem;
	font-weight: 600;
	margin-left: 0.25rem;
}

.status-badge.expired {
	background-color: #fee;
	color: #dc3545;
}

.status-badge.active {
	background-color: #e8f5e9;
	color: #28a745;
}

.pirkimas-item-link {
	display: inline-flex;
	align-items: center;
	color: #4a6cf7;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.875rem;
	transition: all 0.3s ease;
}

.pirkimas-item-link:hover {
	color: #3b5bdb;
	transform: translateX(4px);
}

.no-pirkimai {
	text-align: center;
	padding: 3rem 1.5rem;
	color: #6c757d;
}

.no-pirkimai p {
	margin: 0;
	font-size: 1.125rem;
}

.taxonomy-pagination {
	margin-top: 2rem;
}

.card-stats {
	background: #ffffff;
	border-radius: 12px;
	padding: 1.5rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	margin-bottom: 1.5rem;
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
}

.stat-item {
	text-align: center;
	padding: 1rem;
	background: #f8f9fa;
	border-radius: 8px;
}

.stat-value {
	font-size: 1.75rem;
	font-weight: 700;
	color: #4a6cf7;
	margin-bottom: 0.25rem;
}

.stat-label {
	font-size: 0.875rem;
	color: #6c757d;
	font-weight: 500;
}

.card-related {
	background: #ffffff;
	border-radius: 12px;
	padding: 1.5rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	margin-bottom: 1.5rem;
}

.related-terms-list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.related-term-tag {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.75rem 1rem;
	background: #f8f9fa;
	border: 1px solid #e9ecef;
	border-radius: 8px;
	text-decoration: none;
	transition: all 0.3s ease;
}

.related-term-tag:hover {
	background: #e9ecef;
	border-color: #4a6cf7;
	transform: translateX(4px);
}

.related-term-tag .term-name {
	color: #1a202c;
	font-weight: 500;
	font-size: 0.875rem;
}

.related-term-tag .term-count {
	background: #4a6cf7;
	color: #ffffff;
	padding: 0.25rem 0.5rem;
	border-radius: 12px;
	font-size: 0.75rem;
	font-weight: 600;
	min-width: 28px;
	text-align: center;
}

.card-meta {
	background: #ffffff;
	border-radius: 12px;
	padding: 1.5rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.meta-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

/* .meta-item {
	display: flex;
	justify-content: space-between;
	padding: 0.5rem 0;
	border-bottom: 1px solid #e9ecef;
} */

.meta-item:last-child {
	border-bottom: none;
}

.meta-label {
	font-weight: 600;
	color: #6c757d;
	font-size: 0.875rem;
}

.meta-value {
	color: #1a202c;
	font-weight: 500;
	font-size: 0.875rem;
}

/* Responsive Design for Taxonomy Archive */
@media (max-width: 992px) {
	.taxonomy-content-wrapper {
		grid-template-columns: 1fr;
	}

	.taxonomy-sidebar {
		order: 2;
	}

	.taxonomy-main-content {
		order: 1;
	}

	.stats-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.taxonomy-header {
		padding: 2rem 0;
	}

	.taxonomy-title {
		font-size: 1.75rem;
	}

	.taxonomy-description {
		font-size: 1rem;
	}

	.pirkimas-item {
		padding: 1rem;
	}

	.pirkimas-item-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.pirkimas-id {
		align-self: flex-start;
	}

	.card-pirkimai,
	.card-stats,
	.card-related,
	.card-meta {
		padding: 1.25rem;
	}

	.stat-value {
		font-size: 1.5rem;
	}

	.stats-grid {
		gap: 0.75rem;
	}
}

@media (max-width: 480px) {
	.taxonomy-breadcrumb {
		font-size: 0.75rem;
	}

	.taxonomy-title {
		font-size: 1.5rem;
	}

	.taxonomy-description {
		font-size: 0.875rem;
	}

	.pirkimas-item-meta {
		flex-direction: column;
		gap: 0.5rem;
	}

	.stats-grid {
		grid-template-columns: 1fr;
	}

	.count-badge {
		padding: 0.375rem 0.75rem;
		font-size: 0.75rem;
	}

	.card-header-with-count {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
	}
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

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