/*
Theme Name: Agrosolarnet
Theme URI: https://agrosolarnet.eu
Description: Block tema za stranicu projekta Agrosolarnet. Dizajn je u theme.json, predlošcima i obrascima (patterns).
Version: 0.1.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: agrosolarnet
License: GPL-2.0-or-later
*/

/* Većina stilova je u theme.json. Ovdje samo ono što se ne može izraziti tamo. */

.wp-site-blocks {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.wp-site-blocks > main {
	flex: 1;
}

.agro-header {
	border-bottom: 1px solid var(--wp--preset--color--rub);
}

.agro-hero .wp-block-cover__inner-container {
	max-width: var(--wp--style--global--wide-size);
}

.agro-kartica {
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.agro-kartica:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgb(22 48 43 / 0.08);
}

/* Logo u zaglavlju: službeni Interreg + AgroSolarNet znak */
.agro-logo {
	margin: 0;
}

.agro-logo img {
	display: block;
	width: min(380px, 100%) !important;
	height: auto;
}

/* U tamnom podnožju logo stoji na bijeloj kartici (logo nema negativ verziju) */
.agro-logo-kartica {
	margin: 0;
	background: #fff;
	border-radius: 8px;
	padding: 12px 16px;
	display: inline-block;
}

.agro-logo-kartica img {
	display: block;
	width: min(300px, 100%) !important;
	height: auto;
}

.agro-hero-napomena {
	margin-top: var(--wp--preset--spacing--50) !important;
	opacity: 0.75;
	font-size: 0.75rem !important;
}

.agro-jezici a {
	text-decoration: none;
}

:where(a):focus-visible,
:where(button):focus-visible {
	outline: 3px solid var(--wp--preset--color--sunce);
	outline-offset: 2px;
}
