
.tax-naslov_zgodbe .site-content > .container {
    width: 880px;
}

.print-button-container {
	display: flex;
	justify-content: center;
	margin: 0;
}

.print-button {
	padding: 12px 24px;
	background-color: #333;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.print-button:hover {
	background-color: #555;
}

@page {
	margin: 2cm 1cm 2cm 1cm;
	size: A4 portrait;
}

@media print {
	.print-button-container,
	.bottom-fixed-wrapper,
	.pagination,
	.page-header,
	header,
	footer {
		display: none;
	}

	* {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}

	.site-main {
		max-width: 100%;
		margin-top: 2rem;
		padding: 0 2rem;
	}

	body {
		margin: 0;
		background: white !important;
		color: #505050 !important;
		--Blue: #ffffff !important;
		font-size: 15px !important; 

		.zgodba-item {
			font-size: 15px !important; 
		}
	}



	.site-content {
		background: #fff !important;
	}

	h1,
	h2,
	h3,
	h4,
	h5,
	h6 {
		color: #0089cf !important;
		font-family: Verdana, sans-serif;
	}

	.big-title {
		text-align: center;
	}

	img.alignright {
		float:right;
		margin:0 0 1em 1em;
		max-width: 50%;

	}

	.zgodba-item:not(:first-child) {
		page-break-before: always;
	}

	.print-header {
		display: block;
		text-align: center;
		border-bottom: 1px solid #ccc;
		padding-bottom: 10px;
		margin-bottom: 20px;
		font-weight: bold;
		font-size: 14px;
	}

	.print-footer {
		display: block;
		text-align: center;
		border-top: 1px solid #ccc;
		padding-top: 10px;
		margin-top: 20px;
		font-size: 10px;
	}

	.print-footer::after {
		content: counter(page);
	}
}
.site-main {
	margin-bottom: 100px;
}
#forma-junak {
	padding-bottom: 60px;
	padding-top: 40px;
	display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

@media (max-width: 999.9px) {
	#forma-junak .term-image {
		order: 2;
	}

	#forma-junak .right-column {
		width: 100%;
	}
}


.term-image {
	border-radius: 36px;
	overflow: hidden;
}

.print-header-image {
	display: none;
}

.zgodba-item {
	padding-top: 80px;
}

body.has-parameters #forma-junak .kekec-forma {
	display: none;
}

body.has-parameters .print-button-container {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: var(--Blue, #0089cf);
	padding: 60px;
	display: flex;
	flex-direction: row;
	gap: 30px ;
	
}

body.has-no-parameters article.zgodbe {
	display: none;
}

.btn.btn-yellow {
    border-radius: 32px;
    background: var(--Dark-Yellow, #ffd400);
    color: var(--Blue, #0089cf);
    text-align: center;
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
    min-width: 318px;
    width: 430px;
    max-width: 100%;
    height: 56px;
}


.zgodba-item {
	font-size: 18px;
}

@media (max-width: 999.9px) {
    .btn.btn-yellow {
        width: 170px;
        height: 56px;
        min-width: 100px;
        padding: 12px;
    }
    body.has-parameters .print-button-container { 
    	flex-wrap:wrap;
    	padding: 24px 0;
    	gap: 12px;
    }

    img.alignleft,
    img.alignright {
    	width: 100%;
    }

    .zgodba-item {
    	padding-top: 40px;
    	font-size: 18px;
	}
}


.site-footer {
	display: none;
}

.print-header,
.print-footer {
	display: none;
}

@media print {
	.print-header {
		display: flex;
		align-items: center;
		gap: 20px;
		margin-bottom: 60px;
	}

	.print-header h1 {
		color: #0089cf;
		font-size: 24px;
		margin: 0;
		flex: 1;
	}

	.print-header svg {
		flex-shrink: 0;
	}

	.print-header-image {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		min-height: 65vh;
		gap: 20px;
		margin: 0;
		padding: 0;

		h2 {
			font-size: 56px;
		}
	}

	.print-header-image img {
		border-radius: 36px;
		max-width: 300px;
		height: auto;
	}
}
