/*
Theme Name: Velkybiel
Theme URI: https://bielbezskladov.sk
Description: WordPress téma pre občiansku iniciatívu Veľký Biel.
Author: Jakub Chutnak
Version: 1.0.1
Text Domain: velkybiel
*/

:root {
	--theme-shell: 1240px;
}

.bloggger-picture {
	display: contents;
}

.grid-navbar {
	grid-template-columns: minmax(0, 1fr) auto !important;
}

.button-primary-1 {
	border-width: 1px;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.button-primary-1:hover {
	border-width: 1px;
	border-color: #3e3a40;
	background-color: #3e3a40;
	color: #fff;
}

.header-nav-spacer {
	display: none;
}

#ui-node-eaa267bf-6df3-db74-53b6-5f0f1dfd162a-1dfd1608 {
	grid-column: 1 !important;
	grid-row: 1 !important;
	justify-self: start !important;
}

#ui-node-eaa267bf-6df3-db74-53b6-5f0f1dfd162c-1dfd1608 {
	grid-column: 2 !important;
	grid-row: 1 !important;
	justify-self: end;
}

.header-facebook-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
}

.header-facebook-link .social-icon {
	width: 24px;
	height: 24px;
}

@media (max-width: 640px) {
	.text-logo {
		font-size: 15px;
	}
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
}

img {
	max-width: 100%;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.theme-navbar {
	position: absolute;
	z-index: 1000;
	inset: 0 0 auto;
	height: 100px;
	background: transparent;
}

.theme-navbar__inner {
	width: min(var(--theme-shell), calc(100% - 48px));
	height: 100%;
	margin-inline: auto;
	display: flex;
	align-items: center;
	gap: 38px;
}

.theme-brand {
	flex: none;
	color: var(--color--heading);
	font-size: 30px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}

.theme-nav {
	flex: 1;
}

.theme-nav ul {
	display: flex;
	align-items: center;
	gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.theme-nav li {
	position: relative;
}

.theme-nav a {
	color: var(--color--gray-1);
	font-size: 17px;
	font-weight: 500;
	text-decoration: none;
}

.theme-nav a:hover,
.theme-nav .current-menu-item > a,
.theme-nav .current_page_item > a {
	text-decoration: underline;
	text-underline-offset: 6px;
}

.theme-nav .sub-menu {
	position: absolute;
	top: calc(100% + 14px);
	left: -18px;
	min-width: 210px;
	padding: 14px 18px;
	display: none;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 18px 50px #2020201f;
}

.theme-nav li:hover > .sub-menu,
.theme-nav li:focus-within > .sub-menu {
	display: grid;
	gap: 10px;
}

.theme-navbar__actions {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 14px;
}

.theme-menu-toggle {
	display: none;
	border: 0;
	background: transparent;
	padding: 10px;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.theme-hero-content {
	width: min(900px, calc(100% - 48px));
	margin-inline: auto;
}

.hero-section .hero-description {
	max-width: 720px;
	font-size: 22px;
	line-height: 1.55;
}

.biel-petition-button {
	padding: 16px 30px;
	font-size: 18px;
}

.navbar-right .header-petition-button {
	padding: 14px 26px;
	font-size: 17px;
}

.theme-section {
	padding: 70px 0 100px;
}

.theme-shell {
	width: min(var(--theme-shell), calc(100% - 48px));
	margin-inline: auto;
}

.theme-section__header {
	display: flex;
	justify-content: space-between;
	align-items: end;
	gap: 30px;
	margin-bottom: 38px;
}

.theme-section__header h1,
.theme-section__header h2 {
	margin-bottom: 0;
}

.theme-card-meta,
.theme-post-meta {
	color: var(--color--body);
	font-size: 15px;
}

.theme-card-placeholder,
.theme-card-image {
	display: block;
	width: 100%;
	height: 300px;
	object-fit: cover;
}

.theme-pagination {
	margin-top: 50px;
}

.theme-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.theme-pagination a,
.theme-pagination span {
	padding: 9px 14px;
	background: var(--color--gray-3);
	border-radius: 999px;
	text-decoration: none;
}

.theme-inner-hero {
	min-height: 340px;
	padding: 150px 0 60px;
	display: flex;
	align-items: center;
	background: linear-gradient(180deg, #fff7fd, #fff);
}

.theme-inner-hero h1 {
	margin: 0;
	font-size: clamp(48px, 7vw, 78px);
}

.theme-content {
	max-width: 850px;
	margin-inline: auto;
	font-size: 20px;
	line-height: 1.7;
}

.single-post .theme-content p {
	font-size: clamp(16px, 1.4vw, 20px);
	line-height: 1.7;
}

.theme-content > * + * {
	margin-top: 1.35em;
}

.theme-content img {
	border-radius: var(--border-radius--border-radius);
}

.theme-single-image {
	width: 100%;
	max-height: 720px;
	margin: 42px 0 45px;
	border-radius: var(--border-radius--border-radius);
	object-fit: cover;
}

.single-post .blog-detail-meta-wrap {
	flex-wrap: wrap;
	margin-bottom: 14px;
}

.single-post .blog-detail-wrap > .heading-h2 {
	max-width: 850px;
	margin: 0 auto;
	line-height: 1.12;
}

.blog-detail-home-link {
	max-width: 850px;
	margin: 38px auto 0;
}

.blog-detail-home-link .button-primary-1 {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	line-height: 1.2;
	text-decoration: none;
}

.blog-detail-home-link__arrow {
	position: relative;
	flex: none;
	width: 22px;
	height: 12px;
	transition: transform .2s ease;
}

.blog-detail-home-link__arrow::before {
	position: absolute;
	top: 50%;
	left: 1px;
	right: 0;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
	content: "";
	transform: translateY(-50%);
}

.blog-detail-home-link__arrow::after {
	position: absolute;
	top: 50%;
	left: 1px;
	width: 8px;
	height: 8px;
	border-bottom: 2px solid currentColor;
	border-left: 2px solid currentColor;
	content: "";
	transform: translateY(-50%) rotate(45deg);
	transform-origin: center;
}

.blog-detail-home-link .button-primary-1:hover .blog-detail-home-link__arrow {
	transform: translateX(-3px);
}

.theme-related {
	padding-top: 20px;
	padding-bottom: 100px;
}

.theme-empty {
	padding: 80px 0;
}

.theme-footer {
	border-top: 1px solid var(--color--gray-3);
}

.theme-footer__inner {
	min-height: 86px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.theme-socials {
	display: flex;
	gap: 12px;
}

.theme-socials a {
	display: inline-flex;
}

.theme-socials img {
	width: 20px;
	height: 20px;
}

.dropdown:hover > .dropdown-list,
.dropdown:focus-within > .dropdown-list {
	display: block;
}

.brand img {
	display: block;
	max-width: 220px;
	max-height: 58px;
	object-fit: contain;
}

.grid-inner-blog > .ui-dyn-item {
	min-width: 0;
}

.home-recent-blogs__more {
	display: flex;
	justify-content: center;
	margin-top: 40px;
}

.theme-form {
	padding: 30px;
	background: #fff;
	border: 1px solid var(--color--gray-3);
	border-radius: var(--border-radius--border-radius);
}

.theme-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
}

.theme-notice {
	margin-bottom: 24px;
	padding: 15px 18px;
	border-radius: 14px;
	background: #eef8ee;
}

.theme-notice--error {
	background: #fff0f0;
}

.comments-section {
	padding: 64px 0 96px;
	border-top: 1px solid var(--color--gray-3);
}

.comments-wrap {
	width: min(100% - 40px, 760px);
	max-width: 760px;
}

.comments-heading {
	margin-bottom: 22px;
}

.comments-heading h2,
.comment-reply-title {
	margin: 0 0 24px;
	font-size: clamp(28px, 4vw, 38px);
	line-height: 1.1;
	letter-spacing: -.03em;
}

.comment-reply-title small {
	display: block;
	margin-top: 12px;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.4;
}

.comment-reply-title small a {
	font-size: inherit;
}

.comment-respond {
	margin-top: 46px;
	padding: 0;
	border: 0;
}

.comment-list + .comment-respond {
	margin-top: 52px;
}

.comment-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.comment-form > p {
	margin: 0;
}

.comment-form .comment-notes,
.comment-form .logged-in-as,
.comment-form .comment-form-comment,
.comment-form .comment-form-url,
.comment-form .comment-form-cookies-consent,
.comment-form .form-submit {
	grid-column: 1 / -1;
}

.comment-form .comment-notes,
.comment-form .logged-in-as {
	margin-bottom: 6px;
	color: var(--color--body);
	font-size: 15px;
	line-height: 1.5;
}

.comment-form .comment-notes a,
.comment-form .logged-in-as a,
.comment-form .required-field-message a {
	font-size: inherit;
	line-height: inherit;
}

.comment-form .comment-user-name {
	font-weight: 500;
}

.comment-form .comment-meta-separator {
	margin: 0 7px;
}

.comment-form .required-field-message {
	margin-left: 7px;
}

.comment-form label {
	display: block;
	margin-bottom: 8px;
	font-size: 15px;
	font-weight: 500;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	border: 1px solid transparent;
	border-radius: 14px;
	background: var(--color--gray-3);
	padding: 13px 15px;
	font: inherit;
	line-height: 1.35;
}

.comment-form textarea {
	min-height: 150px;
	height: 150px;
	resize: vertical;
}

.comment-form .submit {
	width: auto;
	border: 0;
	border-radius: var(--border-radius--button);
	background: var(--color--gray-1);
	color: #fff;
	padding: 13px 24px;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.comment-form-cookies-consent {
	display: flex;
	align-items: center;
	gap: 10px;
}

.comment-form-cookies-consent input {
	flex: none;
	width: 18px;
	height: 18px;
	margin: 0;
}

.comment-form .comment-form-cookies-consent label {
	display: inline;
	margin: 0;
	font-weight: 400 !important;
	line-height: 1.35;
}

.comment-list {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.comment-list .comment-body {
	margin: 0;
	padding: 18px 20px;
	background: var(--color--gray-3);
	border-radius: 16px;
}

.comment-list .comment-author {
	display: flex;
	align-items: center;
	gap: 10px;
	line-height: 1.25;
}

.comment-list .comment-author .avatar {
	flex: none;
	width: 42px;
	height: 42px;
	border-radius: 50%;
}

.comment-list .comment-author .says {
	color: var(--color--body);
	font-weight: 400;
}

.comment-list .comment-metadata,
.comment-list .comment-awaiting-moderation,
.comment-list .comment-content,
.comment-list .reply {
	margin-left: 52px;
}

.comment-list .comment-metadata {
	margin-top: -7px;
	font-size: 13px;
	line-height: 1.35;
}

.comment-list .comment-metadata a,
.comment-list .reply a {
	color: var(--color--body);
	font-size: inherit;
	line-height: inherit;
}

.comment-list .edit-link {
	margin-left: 9px;
}

.comment-list .comment-awaiting-moderation {
	display: block;
	margin-top: 8px;
	color: var(--color--body);
	font-size: 14px;
	font-weight: 400;
}

.comment-list .comment-content {
	margin-top: 12px;
}

.comment-list .comment-content p {
	margin: 0;
}

.comment-list .reply {
	margin-top: 10px;
	font-size: 14px;
}

.comment-list .children {
	display: grid;
	gap: 14px;
	margin-top: 14px;
	padding-left: 28px;
	list-style: none;
}

@media (max-width: 991px) {
	.navbar .nav-menu.is-open {
		display: block;
	}

	.theme-menu-toggle {
		display: inline-flex;
	}

	.theme-nav {
		position: absolute;
		top: 82px;
		left: 24px;
		right: 24px;
		display: none;
		padding: 20px;
		background: #fff;
		border-radius: 18px;
		box-shadow: 0 18px 50px #20202026;
	}

	.theme-nav.is-open {
		display: block;
	}

	.theme-nav ul {
		align-items: stretch;
		flex-direction: column;
		gap: 14px;
	}

	.theme-nav .sub-menu {
		position: static;
		margin-top: 10px;
		display: grid;
		box-shadow: none;
		background: var(--color--gray-3);
	}

	.theme-navbar__actions .button-primary-1 {
		display: none;
	}
}

@media (max-width: 767px) {
	.theme-navbar__inner,
	.theme-shell {
		width: min(100% - 32px, var(--theme-shell));
	}

	.theme-brand {
		font-size: 24px;
	}

	.theme-section {
		padding: 45px 0 65px;
	}

	.theme-section__header {
		align-items: flex-start;
		flex-direction: column;
	}

	.theme-form,
	.comment-form {
		padding: 20px;
	}

	.comments-section {
		padding: 46px 0 70px;
	}

	.comments-wrap {
		width: min(100% - 32px, 760px);
	}

	.comment-form {
		grid-template-columns: 1fr;
		padding: 0;
	}

	.comment-form > p {
		grid-column: 1;
	}

	.comment-list .comment-body {
		padding: 16px;
	}

	.comment-list .children {
		padding-left: 14px;
	}

	.theme-form-grid {
		grid-template-columns: 1fr;
	}

	.theme-footer__inner {
		padding: 24px 0;
		text-align: center;
		flex-direction: column;
		justify-content: center;
	}

	.hero-section .hero-description {
		font-size: 19px;
	}

	.single-post .theme-content {
		font-size: 16px;
		line-height: 1.65;
	}

	.single-post .theme-content p {
		font-size: 16px;
		line-height: 1.65;
	}

	.blog-detail-home-link {
		margin-top: 30px;
	}

	.blog-detail-home-link .button-primary-1 {
		width: 100%;
	}

	.biel-petition-button {
		padding: 14px 26px;
		font-size: 17px;
	}
}

@media (max-width: 767px) {
	.grid-navbar {
		grid-template-columns: minmax(0, 1fr) auto !important;
		column-gap: 16px;
	}

	.text-logo {
		font-size: 20px;
		line-height: 1.1;
	}

	.navbar-right {
		min-width: 0;
		gap: 0;
	}

	.header-facebook-link {
		flex: 0 0 38px;
		width: 38px;
		height: 38px;
	}

	.header-facebook-link .social-icon {
		width: 24px;
		height: 24px;
	}

	.navbar-right .header-petition-button {
		display: none;
	}
}
