/* Nostos — privatnost: karta na klik, obavijest, privole, politike. Boja: #454cba (kao dosadašnja obavijest). */

/* Karta */
.nostos-karta-omot { height: 100%; }
.nostos-karta-omot iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; border-radius: 10px; }
.nostos-karta { position: relative; overflow: hidden; border-radius: 10px; background: #e9eaf5; }
.nostos-karta__slika { display: block; width: 100%; height: auto; min-height: 300px; aspect-ratio: 16 / 10; object-fit: cover; }
.nostos-karta__info {
	position: absolute; left: 12px; right: 12px; bottom: 12px;
	padding: 14px 16px; border-radius: 8px; background: rgba(255, 255, 255, .95);
	box-shadow: 0 2px 12px rgba(0, 0, 0, .15); font-size: 14px; line-height: 1.45; color: #222;
}
.nostos-karta__info p { margin: 0; }
.nostos-karta__gumbi { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: 10px !important; }
.nostos-karta__gumb {
	padding: 9px 16px; border: 0; border-radius: 6px; background: #454cba; color: #fff;
	font: inherit; font-weight: 600; cursor: pointer;
}
.nostos-karta__gumb:hover, .nostos-karta__gumb:focus-visible { background: #2f3590; }
.nostos-karta__gumb:focus-visible, .nostos-karta__upute:focus-visible { outline: 3px solid #020726; outline-offset: 2px; }
.nostos-karta__upute { color: #2f3590; text-decoration: underline; }
@media (max-width: 600px) {
	.nostos-karta__info { position: static; border-radius: 0; box-shadow: none; }
}

/* Obavijest o kolačićima — isti izgled kao dosadašnja (wp-gdpr-cookie-consent): plava kartica dolje desno, mali tamni gumb. */
.nostos-obavijest {
	position: fixed; right: 15px; bottom: 15px; z-index: 99999;
	width: 24em; max-width: calc(100vw - 30px); box-sizing: border-box; padding: 20px 22px 16px; border-radius: 10px;
	background: #454cba; color: #fff; font-size: 15px; line-height: 1.55;
	box-shadow: 0 4px 18px rgba(0, 0, 0, .2);
}
.nostos-obavijest[hidden] { display: none; }
.nostos-obavijest p { margin: 0 0 10px; color: #fff; font-size: inherit; }
.nostos-obavijest a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.nostos-obavijest a:hover { text-decoration-thickness: 2px; }
.nostos-obavijest__gumb {
	display: block; margin-left: auto; padding: 5px 14px; border: 1px solid #020726; border-radius: 4px;
	background: #020726; color: #fff; font: inherit; font-size: 15px; line-height: 1.4; cursor: pointer;
}
.nostos-obavijest__gumb:hover { background: #1b2050; }
.nostos-obavijest__gumb:focus-visible, .nostos-obavijest a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* Mobitel: tekst lijevo, gumb desno, okomito centrirano — kompaktna traka */
@media (max-width: 600px) {
	.nostos-obavijest:not([hidden]) {
		display: flex; align-items: center; gap: 14px;
		left: 10px; right: 10px; bottom: 10px; width: auto; max-width: none;
		padding: 12px 14px; font-size: 13px; line-height: 1.45; text-align: left;
	}
	.nostos-obavijest p { flex: 1 1 auto; margin: 0; text-align: left; }
	.nostos-obavijest__gumb { flex: 0 0 auto; margin: 0; padding: 7px 14px; font-size: 14px; white-space: nowrap; }
}

/* Podnožje */
.nostos-politike { margin: 6px 0 0; font-size: 14px; }
.nostos-politike a { color: inherit; text-decoration: underline; }

/* CF7 privola */
.nostos-privola { clear: both; width: 100%; margin: 4px 0 14px; font-size: 13px; line-height: 1.45; text-align: left; color: #fff; }
.nostos-privola .wpcf7-list-item { margin: 0; }
.nostos-privola label, .nostos-privola .wpcf7-list-item-label { color: #fff !important; font-size: inherit; }
.nostos-privola label { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; }
.nostos-privola input[type="checkbox"] { flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; }
.nostos-privola a, .nostos-privola a:visited { color: #fff; font-weight: 600; text-decoration: underline; }
.nostos-privola a:hover, .nostos-privola a:focus { color: #fff; text-decoration-thickness: 2px; }
.nostos-privola input[type="checkbox"]:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* CF7 napomena o terminima (ispod gumba) */
.nostos-napomena-termin { clear: both; width: 100%; margin: 22px 0 0; font-family: 'Noto Serif Display', serif; font-size: 18px; line-height: 1.45; text-align: center; color: #fff; }
.nostos-napomena-termin p { margin: 0; color: inherit; font: inherit; }
@media (max-width: 767px) { .nostos-napomena-termin { font-size: 16px; } }

/* Mailchimp privola */
.nostos-mc-privola { clear: both; margin: 12px 0 0; font-size: 13px; line-height: 1.45; text-align: left; }
.nostos-mc-privola label { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; }
.nostos-mc-privola input[type="checkbox"] { flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; }
.nostos-mc-privola a { color: inherit; text-decoration: underline; }

/* Politike */
.nostos-politika { max-width: 860px; }
.nostos-politika h2 { margin: 1.6em 0 .5em; }
.nostos-politika h3 { margin: 1.3em 0 .4em; }
.nostos-politika table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: .95em; }
.nostos-politika th, .nostos-politika td { padding: 8px 10px; border: 1px solid #d5d7ea; text-align: left; vertical-align: top; }
.nostos-politika th { background: #eef0fa; }
.nostos-politika .nostos-tablica { overflow-x: auto; }

/* Desktop: karta iste visine kao stupac s obrascem (Elementor stupci se rastežu u retku) */
@media (min-width: 1025px) {
	.elementor-column:has(.nostos-karta-omot) > .elementor-widget-wrap { height: 100%; align-content: stretch; }
	.elementor-widget-google_maps:has(.nostos-karta-omot) { height: 100%; }
	.elementor-widget-google_maps:has(.nostos-karta-omot) > .elementor-widget-container,
	.elementor-widget-google_maps:has(.nostos-karta-omot) .elementor-custom-embed { height: 100%; }
	.nostos-karta-omot .nostos-karta { height: 100%; min-height: 420px; }
	.nostos-karta-omot .nostos-karta__slika { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 50% 45%; }
}

/* Podnožje: na mobitelu © i politike na samom dnu (stupci se slažu), na desktopu u prvom stupcu kao do sada */
.nostos-podnozje-dno { display: none; }
@media (max-width: 767px) {
	.elementor-element-3e02e774, .elementor-element-3e02e774 + .nostos-politike { display: none !important; }
	.nostos-podnozje-dno {
		display: block; margin-top: 28px; padding-top: 20px;
		border-top: 1px solid rgba(255, 255, 255, .18); font-size: 14px;
	}
	.nostos-podnozje-dno p { margin: 0 0 6px; }
}
