/* Zabavište site tweaks — loaded after the theme stylesheet. */

/* Hero */
.zk-hero {
	background: #cbf9f7;
	padding: 48px 20px;
	margin-bottom: 40px;
}
.zk-hero__inner {
	max-width: 1180px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 40px;
	align-items: center;
}
.zk-hero__eyebrow {
	color: #d6336c;
	font-weight: 600;
	font-size: 20px;
	margin: 0 0 8px;
}
.zk-hero h1 {
	color: #433785;
	font-size: clamp(32px, 5vw, 56px);
	line-height: 1.1;
	margin: 0 0 16px;
}
.zk-hero__lead {
	color: #433785;
	font-size: 18px;
	margin: 0 0 24px;
}
.zk-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.zk-btn,
.zk-btn:visited {
	display: inline-block;
	padding: 14px 28px;
	border-radius: 999px;
	background: #d6336c;
	color: #fff;
	font: inherit;
	font-weight: 600;
	line-height: 1.4;
	border: 0;
	cursor: pointer;
	text-decoration: none;
}
.zk-btn:hover,
.zk-btn:focus {
	background: #433785;
	color: #fff;
}
.zk-btn--ghost,
.zk-btn--ghost:visited {
	background: #fff;
	color: #433785;
}
.zk-hero__video {
	position: relative;
	padding-top: 56.25%;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 12px 30px rgba(67, 55, 133, .2);
}
.zk-hero__video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Video card grid */
.zk-section-title {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	margin: 40px 0 16px;
}
.zk-section-title h2 {
	margin: 0;
}
.zk-videos {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-bottom: 24px;
}
.zk-video {
	display: block;
	text-decoration: none;
	color: #433785;
	font-weight: 600;
}
.zk-video__thumb {
	display: block;
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: #cbf9f7;
}
.zk-video__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .2s;
}
.zk-video__thumb::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 48px;
	height: 48px;
	margin: -24px 0 0 -24px;
	border-radius: 50%;
	background: rgba(214, 51, 108, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 7v10l8-5z'/%3E%3C/svg%3E") center / 28px no-repeat;
}
.zk-video:hover img,
.zk-video:focus img {
	transform: scale(1.05);
}
.zk-video__title {
	display: block;
	margin-top: 8px;
	line-height: 1.3;
}

@media (max-width: 900px) {
	.zk-hero {
		padding: 28px 16px;
	}
	.zk-hero__inner {
		grid-template-columns: 1fr;
		gap: 24px;
		text-align: center;
	}
	.zk-hero__actions {
		justify-content: center;
	}
	.zk-videos {
		grid-template-columns: repeat(2, 1fr);
		gap: 14px;
	}
}

/* Song pages: lyrics card and printable sheet */
.zk-lyrics {
	background: #f3fdfc;
	border-left: 6px solid #76c2b1;
	border-radius: 12px;
	padding: 20px 24px;
	font-size: 20px;
	line-height: 1.7;
	color: #433785;
}
.zk-lyrics cite {
	display: block;
	margin-top: 12px;
	font-size: 15px;
	font-style: normal;
	opacity: .8;
}
.zk-coloring {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
	margin: 20px 0;
}
.zk-coloring img,
.zk-coloring svg {
	display: block;
	width: 100%;
	height: auto;
	background: #fff;
	border: 2px solid #e3e3ee;
	border-radius: 12px;
}
@media print {
	body * {
		visibility: hidden;
	}
	.zk-print,
	.zk-print * {
		visibility: visible;
	}
	.zk-print {
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
	}
	.zk-noprint {
		display: none;
	}
	.zk-lyrics {
		font-size: 22pt;
		border: 0;
		background: none;
		padding: 0;
	}
	.zk-coloring {
		display: block;
	}
	.zk-coloring img,
	.zk-coloring svg {
		border: 0;
		margin-top: 1cm;
		break-inside: avoid;
	}
}

/* Compact post cards on blog, category and search listings */
.blog .site-main > .hentry,
.archive .site-main > .hentry,
.search .site-main > .hentry {
	display: grid;
	grid-template-columns: 200px 1fr;
	column-gap: 20px;
	align-items: start;
	margin: 0 0 16px;
	padding: 16px;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 2px 12px rgba(43, 34, 96, .07);
}
.blog .site-main > .hentry > .entry-content,
.archive .site-main > .hentry > .entry-content,
.search .site-main > .hentry > .entry-content {
	display: contents;
}
.site-main > .hentry .zk-thumb {
	grid-column: 1;
	grid-row: 1 / span 3;
}
.site-main > .hentry .zk-thumb img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 12px;
	margin: 0;
}
.blog .site-main > .hentry > .entry-header,
.archive .site-main > .hentry > .entry-header,
.search .site-main > .hentry > .entry-header,
.site-main > .hentry .zk-excerpt {
	grid-column: 2;
	margin: 0;
	padding: 0;
	text-align: left;
}
.blog .site-main > .hentry .entry-title,
.archive .site-main > .hentry .entry-title,
.search .site-main > .hentry .entry-title {
	font-size: 22px;
	line-height: 1.25;
	margin: 4px 0 6px;
	text-align: left;
}
.site-main > .hentry .entry-title a {
	text-decoration: none;
}
.blog .site-main > .hentry .entry-header > *:not(.entry-title),
.archive .site-main > .hentry .entry-header > *:not(.entry-title),
.search .site-main > .hentry .entry-header > *:not(.entry-title) {
	font-size: 13px;
	margin: 0;
	justify-content: flex-start;
}
.site-main > .hentry .zk-excerpt {
	font-size: 15px;
	line-height: 1.5;
}
@media (max-width: 600px) {
	.blog .site-main > .hentry,
	.archive .site-main > .hentry,
	.search .site-main > .hentry {
		grid-template-columns: 110px 1fr;
		column-gap: 12px;
	}
	.blog .site-main > .hentry .entry-title,
	.archive .site-main > .hentry .entry-title,
	.search .site-main > .hentry .entry-title {
		font-size: 17px;
	}
	.site-main > .hentry .zk-excerpt {
		display: none;
	}
}

/* Quick actions on listing cards and their dialog */
.site-main > .hentry .zk-actions {
	grid-column: 2;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}
.zk-chip {
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	padding: 7px 14px;
	border: 0;
	border-radius: 999px;
	background: #d6336c;
	color: #fff;
	cursor: pointer;
}
.zk-chip--alt {
	background: #cbf9f7;
	color: #433785;
}
.zk-chip:hover,
.zk-chip:focus {
	background: #433785;
	color: #fff;
}
.zk-dialog {
	width: min(92vw, 860px);
	padding: 16px;
	border: 0;
	border-radius: 16px;
	text-align: center;
}
.zk-dialog::backdrop {
	background: rgba(30, 24, 70, .75);
}
.zk-dialog__close {
	display: block;
	margin: 0 0 8px auto;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #f1f1f7;
	color: #433785;
	font-size: 24px;
	line-height: 36px;
	cursor: pointer;
}
.zk-dialog__video {
	aspect-ratio: 16 / 9;
}
.zk-dialog__video iframe {
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: 12px;
}
.zk-dialog .zk-coloring {
	max-height: 70vh;
	overflow: auto;
}

/* ---------- Site-wide refresh: palette, type, header, cards, sidebar, footer ---------- */
:root {
	--zk-ink: #2b2260;
	--zk-purple: #433785;
	--zk-pink: #d6336c;
	--zk-teal: #5bc2af;
	--zk-mint: #e3faf6;
	--zk-sun: #ffd447;
	--zk-cream: #fffaf1;
	--zk-text: #3b3a52;
	--zk-shadow: 0 2px 12px rgba(43, 34, 96, .07);
}
body,
button,
input,
select,
textarea {
	font-family: Nunito, system-ui, sans-serif;
	font-weight: 400;
}
body {
	font-size: 17px;
	line-height: 1.65;
	color: var(--zk-text);
	background: var(--zk-cream);
}
h1, h2, h3, h4, h5, h6,
.entry-title,
.site-title {
	font-family: "Baloo 2", Nunito, sans-serif;
	color: var(--zk-ink);
	letter-spacing: -.01em;
}
strong, b {
	font-weight: 800;
}
.entry-content a:not(.zk-btn):not(.zk-video) {
	color: #b3245a;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}
.entry-content a:not(.zk-btn):not(.zk-video):hover {
	color: var(--zk-purple);
}
a:focus-visible,
button:focus-visible {
	outline: 3px solid var(--zk-sun);
	outline-offset: 2px;
}

/* Header */
.site-header {
	background: linear-gradient(90deg, #4fb9a6, #45b3c2);
	box-shadow: 0 2px 14px rgba(43, 34, 96, .12);
}
.site-header .site-title a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #fff;
	font-size: 30px;
}
.site-header .site-title a::before {
	content: "";
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--zk-pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12 19s-6.5-4.2-6.5-8.3A3.4 3.4 0 0 1 12 8.6a3.4 3.4 0 0 1 6.5 2.1C18.500 14.8 12 19 12 19z'/%3E%3C/svg%3E") center / 26px no-repeat;
	box-shadow: 0 0 0 3px #fff;
}
.site-header .site-description {
	color: rgba(255, 255, 255, .92);
	font-size: 13px;
	margin: 2px 0 0;
}
.site-header .main-navigation ul.menu > li > a {
	color: #fff;
	font-family: "Baloo 2", Nunito, sans-serif;
	font-weight: 600;
	padding: 8px 14px;
	border-radius: 999px;
	line-height: 1.3;
}
.site-header .main-navigation ul.menu > li > a:hover,
.site-header .main-navigation ul.menu > li.current-menu-item > a {
	color: #fff;
	background: rgba(255, 255, 255, .24);
}

/* Homepage */
.zk-hero {
	background:
		radial-gradient(circle at 8% 15%, rgba(255, 212, 71, .45) 0 90px, transparent 91px),
		radial-gradient(circle at 96% 88%, rgba(214, 51, 108, .16) 0 130px, transparent 131px),
		linear-gradient(135deg, #d5f8f3, #e9f4ff);
	padding: 64px 20px;
	border-radius: 0 0 36px 36px;
}
.zk-hero h1 {
	color: var(--zk-ink);
}
.zk-hero__lead {
	font-size: 19px;
	color: var(--zk-text);
}
.home .entry-content > h2 {
	text-align: center;
	font-size: 30px;
	margin: 56px 0 22px;
}
.home .entry-content > h2::after {
	content: "";
	display: block;
	width: 56px;
	height: 6px;
	margin: 10px auto 0;
	border-radius: 3px;
	background: var(--zk-sun);
}
.zk-video {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: var(--zk-shadow);
	transition: transform .15s, box-shadow .15s;
}
.zk-video:hover,
.zk-video:focus {
	transform: translateY(-3px);
	box-shadow: 0 8px 22px rgba(43, 34, 96, .14);
	color: var(--zk-pink);
}
.zk-video__thumb {
	border-radius: 0;
}
.zk-video__title {
	margin: 0;
	padding: 10px 14px 14px;
	font-family: "Baloo 2", Nunito, sans-serif;
	font-size: 17px;
}
.home .wp-block-post-featured-image img {
	width: 100%;
	max-height: 280px;
	object-fit: cover;
	border-radius: 16px;
}

/* Posts */
.single .entry-title {
	font-size: clamp(28px, 4vw, 42px);
	line-height: 1.15;
}
.single .entry-content {
	font-size: 18px;
}
.single .entry-content h2 {
	margin-top: 1.6em;
	font-size: 28px;
}
.video-container {
	border-radius: 16px;
	box-shadow: var(--zk-shadow);
}

/* Sidebar */
#secondary {
	background: #fff;
	border-radius: 20px;
	padding: 22px;
	box-shadow: var(--zk-shadow);
	align-self: start;
}
#secondary .widget {
	margin-bottom: 14px;
}
#secondary h2 {
	font-size: 20px;
	margin: 10px 0 6px;
}
#secondary ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
#secondary li {
	padding: 8px 0;
	border-bottom: 1px dashed #e4e1f2;
	line-height: 1.35;
}
#secondary li::before {
	content: none;
}
#secondary li a {
	color: var(--zk-purple);
	font-weight: 600;
	text-decoration: none;
}
#secondary li a:hover {
	color: var(--zk-pink);
}
.wp-block-search__input {
	border-radius: 999px;
	border: 2px solid #e4e1f2;
	padding: 8px 16px;
}

/* Footer */
.site-footer {
	background: var(--zk-ink);
	color: #d9d6f0;
	margin-top: 56px;
	border-radius: 36px 36px 0 0;
}
.site-footer h2,
.site-footer .widget-title {
	color: #fff;
	font-size: 19px;
}
.site-footer a:not(.wp-block-social-link-anchor) {
	color: #e9e6ff;
	text-decoration: none;
}
.site-footer a:not(.wp-block-social-link-anchor):hover {
	color: var(--zk-sun);
}
.site-footer li {
	margin-bottom: 8px;
	line-height: 1.4;
}
#colophon h2,
#colophon .widget-title {
	color: #fff;
}

/* The theme's Fredoka has no č, ć or đ (they fell back to a serif). Use Baloo 2 wherever the theme asked for Fredoka. */
h1,
h2,
h3,
h4,
h5,
h6,
.site-branding .site-title a,
#respond .comment-reply-title,
.hentry .entry-header span,
button,
input[type=button],
input[type=reset],
input[type=submit],
.button,
.wc-block-grid__products .wc-block-grid__product .wp-block-button__link,
.added_to_cart,
.add_to_cart_button,
.more-link,
.main-navigation .menu,
.widget .widget-title,
.widget .widgettitle,
.error-404 .error-desc,
.hentry .entry-content .wp-block-button .wp-block-button__link,
.site-content .wp-block-button .wp-block-button__link,
.editor-styles-wrapper .wp-block-button .wp-block-button__link {
	font-family: "Baloo 2", Nunito, sans-serif;
}
h1, h2, h3,
.entry-title,
.site-branding .site-title a {
	font-weight: 700;
}
@media (max-width: 900px) {
	.zk-hero {
		background: linear-gradient(135deg, #d5f8f3, #e9f4ff);
		border-radius: 0 0 24px 24px;
	}
}

/* 404 page */
.error404 #primary {
	width: 100%;
	float: none;
}
.zk-404 {
	max-width: 980px;
	margin: 0 auto;
	padding: 24px 0 8px;
	text-align: center;
}
.zk-404__code {
	margin: 0;
	font-family: "Baloo 2", Nunito, sans-serif;
	font-weight: 700;
	font-size: clamp(90px, 20vw, 170px);
	line-height: 1;
	color: var(--zk-teal);
}
.zk-404__code span {
	color: var(--zk-pink);
}
.zk-404 h1 {
	font-size: clamp(26px, 4vw, 40px);
	margin: 8px 0 12px;
}
.zk-404__lead {
	max-width: 620px;
	margin: 0 auto 24px;
	font-size: 19px;
}
.zk-404 .zk-hero__actions {
	justify-content: center;
}
.zk-404 .zk-btn--ghost {
	box-shadow: inset 0 0 0 2px var(--zk-purple);
}
.zk-404 h2 {
	margin: 48px 0 20px;
	font-size: 26px;
}
.zk-404 .zk-videos {
	text-align: left;
}

/* Comments: collapsible panel */
.zk-comments {
	margin: 40px 0 0;
}
.zk-comments details {
	background: #fff;
	border-radius: 20px;
	box-shadow: var(--zk-shadow);
	overflow: hidden;
}
.zk-comments summary {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 16px 22px;
	cursor: pointer;
	list-style: none;
	font-family: "Baloo 2", Nunito, sans-serif;
	font-weight: 700;
	font-size: 21px;
	color: var(--zk-ink);
}
.zk-comments summary::-webkit-details-marker {
	display: none;
}
.zk-comments summary::after {
	content: "";
	margin-left: auto;
	width: 12px;
	height: 12px;
	border-right: 3px solid var(--zk-purple);
	border-bottom: 3px solid var(--zk-purple);
	transform: rotate(45deg);
	transition: transform .2s;
}
.zk-comments details[open] summary::after {
	transform: rotate(-135deg);
}
.zk-comments details[open] summary {
	border-bottom: 1px solid #eeecf6;
}
.zk-comments summary:hover {
	background: var(--zk-mint);
}
.zk-comments__count {
	min-width: 30px;
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--zk-pink);
	color: #fff;
	font-size: 15px;
	text-align: center;
}
.zk-comment-list,
.zk-comment-list ol {
	list-style: none;
	margin: 0;
	padding: 0;
}
.zk-comment-list {
	padding: 20px 22px 0;
}
.zk-comment-list ol.children {
	margin-left: 28px;
}
.zk-comment-list .comment-body {
	margin: 0 0 16px;
	padding: 14px 18px;
	background: #f7f6fc;
	border-radius: 16px;
}
.zk-comment-list .comment-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 12px;
	margin: 0 0 6px;
	font-size: 14px;
}
.zk-comment-list .comment-author {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 16px;
}
.zk-comment-list .comment-author img {
	border-radius: 50%;
}
.zk-comment-list .says {
	display: none;
}
.zk-comment-list .comment-metadata a {
	color: #77758f;
	text-decoration: none;
}
.zk-comment-list .comment-content p {
	margin: 0 0 6px;
}
.zk-comment-list .reply a {
	font-size: 14px;
	font-weight: 700;
	color: #b3245a;
	text-decoration: none;
}
.zk-comments .comment-respond {
	padding: 20px 22px 24px;
}
.zk-comments .comment-reply-title {
	display: block;
	margin: 0 0 6px;
	font-size: 20px;
	font-weight: 700;
}
.zk-comments .comment-notes,
.zk-comments .comment-form-cookies-consent,
.zk-comments .akismet_comment_form_privacy_notice {
	font-size: 14px;
	color: #77758f;
}
.zk-comments .comment-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 16px;
}
.zk-comments .comment-form > * {
	grid-column: 1 / -1;
	margin: 0;
}
.zk-comments .comment-form-author,
.zk-comments .comment-form-email {
	grid-column: auto;
}
.zk-comments label {
	display: block;
	font-weight: 700;
	font-size: 15px;
	margin-bottom: 4px;
}
.zk-comments .comment-form-cookies-consent label {
	display: inline;
	font-weight: 400;
}
.zk-comments input[type=text],
.zk-comments input[type=email],
.zk-comments textarea {
	width: 100%;
	padding: 10px 14px;
	border: 2px solid #e4e1f2;
	border-radius: 12px;
	background: #fff;
	font-size: 16px;
}
.zk-comments textarea {
	min-height: 120px;
}
.zk-comments input:focus,
.zk-comments textarea:focus {
	border-color: var(--zk-teal);
	outline: none;
}
@media (max-width: 600px) {
	.zk-comments .comment-form-author,
	.zk-comments .comment-form-email {
		grid-column: 1 / -1;
	}
}
.zk-comments #respond .comment-reply-title {
	font-size: 20px;
}
.zk-comments #respond textarea {
	height: 130px;
}
/* the theme floats these two at a narrow fixed width on desktop */
.zk-comments #respond .comment-form-author,
.zk-comments #respond .comment-form-email {
	float: none;
	width: auto;
	margin: 0;
}
/* Akismet prints its notice after the form, outside #respond */
.zk-comments .comment-respond {
	padding-bottom: 12px;
}
.zk-comments details > .akismet_comment_form_privacy_notice {
	margin: 0;
	padding: 0 22px 22px;
}
.zk-comments #respond .comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}
.zk-comments #respond .comment-form-cookies-consent input {
	margin: 4px 0 0;
	flex: none;
}
.zk-comments #respond .submit {
	background: var(--zk-pink);
	color: #fff;
	border: 0;
}
.zk-comments #respond .submit:hover {
	background: var(--zk-purple);
}

/* Storybook reading format: one numbered "page" card per scene */
.zk-story {
	counter-reset: zk-page;
	display: grid;
	gap: 18px;
	margin: 28px 0;
}
.zk-story__page {
	counter-increment: zk-page;
	position: relative;
	padding: 26px 26px 22px 78px;
	background: #fff;
	border-radius: 22px;
	box-shadow: var(--zk-shadow);
	font-size: 21px;
	line-height: 1.6;
}
.zk-story__page:nth-child(even) {
	background: var(--zk-mint);
}
.zk-story__page::before {
	content: counter(zk-page);
	position: absolute;
	left: 20px;
	top: 24px;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--zk-sun);
	color: var(--zk-ink);
	font: 700 22px/42px "Baloo 2", Nunito, sans-serif;
	text-align: center;
}
.zk-story__page p {
	margin: 0 0 10px;
}
.zk-story__page p:last-child {
	margin-bottom: 0;
}
.zk-story__page img,
.zk-story__page svg {
	display: block;
	width: 100%;
	max-width: 420px;
	height: auto;
	margin: 0 auto 16px;
	border-radius: 16px;
}
.zk-story__say {
	display: block;
	margin: 8px 0;
	padding: 8px 16px;
	border-left: 5px solid var(--zk-pink);
	border-radius: 0 12px 12px 0;
	background: rgba(255, 255, 255, .7);
	font-weight: 700;
	color: var(--zk-ink);
}
.zk-story__end {
	text-align: center;
	font: 700 26px "Baloo 2", Nunito, sans-serif;
	color: var(--zk-pink);
}
@media (max-width: 600px) {
	.zk-story__page {
		padding: 64px 18px 18px;
		font-size: 19px;
	}
	.zk-story__page::before {
		top: 14px;
		left: 18px;
	}
}
