		:root {
            /* Barvy z loga – mírně projasněné */
            --purple: #7a2fa6;
            --blue:   #2d62c9;
            --green:  #1b9b44;
            --yellow: #ffe443;
            --orange: #ff9f27;
            --red:    #ed2c32;

            --bg: #f8fafc;
            --text: #1b1f23;
            --muted: #5e6470;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: system-ui, -apple-system, BlinkMacSystemFont,
                         "Segoe UI", Roboto, sans-serif;
            background: var(--bg);
            color: var(--text);
            line-height: 1.6;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        header {
            position: sticky;
            top: 0;
            z-index: 100;
            background: #d2e7e2;
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        }

        .topbar {
            max-width: 1100px;
            margin: 0 auto;
            padding: 0.75rem 1.5rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
        }

        .logo-wrap {
            display: flex;
            align-items: center;
            gap: 0.6rem;
			text-decoration: none;
			white-space: nowrap;  
        }

        .logo-wrap img {
            height: 40px;
            width: auto;
			color: inherit;
			    display: block;
        }
		


        .logo-text {
            font-weight: 600;
            letter-spacing: 0.03em;
            font-size: 0.95rem;
            text-transform: uppercase;
        }
		
		:focus {
			outline: 3px solid var(--purple);
			outline-offset: 2px;
			}

		/* Jazykové přepínače */
		.lang-switch {
			display: flex;
			gap: 0.4rem;
			font-size: 1.1rem;
		}

		.lang-switch a {
			padding: 0.15rem 0.4rem;
			border-radius: 999px;
			border: 1px solid transparent;
			transition: 0.2s ease;
			display: flex;
			align-items: center;
}

		/* Obrázky vlajek jako kruh */
		.lang-switch img {
			width: 22px;             /* můžeš upravit dle potřeby */
			height: 22px;
			border-radius: 50%;
			object-fit: cover;       /* zajistí správné oříznutí */
		}

		.lang-switch a:hover {
			border-color: rgba(0, 0, 0, 0.15);
			background: rgba(0, 0, 0, 0.03);
		}
		
		
		/* Aktivní jazyková vlajka */
		.lang-switch a.active {
			border-color: var(--purple);
			background: rgba(122, 47, 166, 0.10);
			box-shadow: 0 0 0 2px rgba(122, 47, 166, 0.10);
		}

		.lang-switch a.active img {
			transform: scale(1.08);
			box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px var(--purple);
		}

		.lang-switch a img {
			transition: transform 0.2s ease, box-shadow 0.2s ease;
		}		


        /* Hlavní navigace */
        nav {
            border-top: 1px solid rgba(0, 0, 0, 0.04);
            background: #c5d9d6;
        }

        .nav-inner {
            max-width: 1100px;
            margin: 0 auto;
            padding: 0.35rem 1.5rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .nav-links {
            display: flex;
            gap: 1.5rem;
            list-style: none;
            font-size: 0.95rem;
            text-transform: uppercase;
            letter-spacing: 0.08em;
        }

        .nav-links a {
            position: relative;
            padding: 0.35rem 0;
			color: #2e58a5;
			font-weight: bold;
			text-decoration: none;
        }

        .nav-links a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            height: 2px;
            width: 0%;
            background-image: linear-gradient(
                    90deg,
                    var(--purple),
                    var(--blue),
                    var(--green),
                    var(--yellow),
                    var(--orange),
                    var(--red)
            );
            transition: width 0.25s ease-out;
        }
		
        .nav-links a:hover{
            color:var(--purple);
        }		

        .nav-links a:hover::after {
            width: 100%;
        }
		
		
		/* Aktivní položka menu */
		.nav-links a.active {
			color: var(--purple);
		}
		
		.nav-links a.active::after {
			width: 100%;
		}

		/* Volitelné – lehké zvýraznění i bez hoveru */
		.nav-links a.active {
			font-weight: 700;
		}

		/* Lepší klikací oblast u vlajek */
		.lang-switch a {
			min-width: 34px;
			min-height: 34px;
			justify-content: center;
		}		
		

        /* Hamburger pro mobily */
        .nav-toggle {
            display: none;
            flex-direction: column;
            justify-content: center;
            gap: 4px;
            width: 26px;
            height: 26px;
            cursor: pointer;
        }

        .nav-toggle span {
            height: 2px;
            width: 100%;
            background: #111111;
            border-radius: 999px;
            transition: 0.25s ease;
        }

        @media (max-width: 720px) {
            .nav-inner {
                flex-wrap: wrap;
            }

            .nav-toggle {
                display: flex;
            }

            .nav-links {
                width: 100%;
                flex-direction: column;
                gap: 0.4rem;
                padding: 0.5rem 0 0.7rem;
                display: none;
            }

            .nav-links.open {
                display: flex;
            }
        }

        main {
            max-width: 1100px;
            margin: 0 auto;
            padding: 1.75rem 1.5rem 3rem;
        }

        .hero {
            display: grid;
            gap: 2rem;
            grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
            align-items: center;
            margin-top: 1.5rem;
            margin-bottom: 2.5rem;
            padding: 2.5rem 2rem;
            border-radius: 22px;
            background: linear-gradient(
                135deg,
                rgba(255, 228, 67, 0.35) 0%,
                rgba(255, 159, 39, 0.24) 30%,
                rgba(27, 155, 68, 0.18) 60%,
                rgba(45, 98, 201, 0.16) 100%
            );
            box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
        }

        .hero h1 {
            font-size: clamp(2.1rem, 4vw, 2.8rem);
            margin-bottom: 1rem;
        }

        .hero p {
            color: var(--muted);
            max-width: 34rem;
            margin-bottom: 1.5rem;
			text-align: justify;
        }

        .tagline {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.2rem 0.8rem;
            border-radius: 999px;
            border: 1px solid rgba(0, 0, 0, 0.08);
            background: rgba(255, 255, 255, 0.7);
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.14em;
            margin-bottom: 0.7rem;
        }

        .tagline-dot {
            width: 10px;
            height: 10px;
            border-radius: 999px;
            background-image: linear-gradient(
                    135deg,
                    var(--purple),
                    var(--blue),
                    var(--green),
                    var(--yellow),
                    var(--orange),
                    var(--red)
            );
        }

        .hero-logo {
            justify-self: center;
        }

        .hero-logo img {
            max-width: 360px;
            width: 100%;
            height: auto;
        }

        @media (max-width: 900px) {
            .hero {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .hero p {
                margin-left: auto;
                margin-right: auto;
            }

            .tagline {
                justify-content: center;
                margin-left: auto;
                margin-right: auto;
            }
        }

        section {
            padding: 1.75rem 0;
            border-top: 1px solid rgba(0, 0, 0, 0.04);
        }

        section h2 {
            font-size: 1.6rem;
            margin-bottom: 0.8rem;
        }

        section p {
            color: var(--muted);
            // max-width: 46rem;
        }

        .two-cols {
            display: grid;
            grid-template-columns: minmax(0, 2fr) minmax(0, 2fr);
            gap: 1.75rem;
        }

        @media (max-width: 800px) {
            .two-cols {
                grid-template-columns: 1fr;
            }
        }

        .contact-grid {
            display: grid;
            grid-template-columns: minmax(0, 2fr) minmax(0, 2fr);
            gap: 1.5rem;
            margin-top: 0.75rem;
        }

        @media (max-width: 800px) {
            .contact-grid {
                grid-template-columns: 1fr;
            }
        }

        label {
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            margin-bottom: 0.2rem;
            display: inline-block;
        }

        input,
        textarea {
            width: 100%;
            padding: 0.6rem 0.7rem;
            border-radius: 8px;
            border: 1px solid rgba(15, 23, 42, 0.16);
            background: #ffffff;
            color: var(--text);
            font: inherit;
        }

        textarea {
            min-height: 120px;
            resize: vertical;
        }

        .my-btn {
            margin-top: 0.7rem;
            padding: 0.7rem 1.4rem;
            border-radius: 50px; !important;
            border: none;
            font-weight: 600;
            cursor: pointer;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            background-image: linear-gradient(
                    90deg,
                    var(--blue),
                    var(--green),
                    var(--yellow),
                    var(--orange),
                    var(--red)
            );
            color: #ffffff;
            box-shadow: 0 6px 16px rgba(15, 23, 42, 0.25);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .my-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 10px 22px rgba(15, 23, 42, 0.3);
        }
		
/*--------------------------------------------------------------
# Link
--------------------------------------------------------------*/			
		
a.ipsi-link {
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    gap: 0.4rem;
    color: var(--green);
    text-decoration: none;
    transition: opacity 0.2s ease, text-decoration-color 0.2s ease;
}

a.ipsi-link::after {
    content: "→";
    font-size: 0.85em;
    display: inline-block;
    position: relative;
    top: 0.2em;
}

/* HOVER NA ODKAZ */
a.ipsi-link:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/* Pokud chceš i šipku podtrhávat */
a.ipsi-link:hover::after {
    text-decoration: underline;
}	
		
/*--------------------------------------------------------------
# News
--------------------------------------------------------------*/		
		
		.news {
			display: flex;
			flex-direction: column;
			gap: 2rem;
			margin: 3rem 0;
		}

		.news-item {
			display: flex;
			background: #fff;
			border-radius: 16px; /* zaoblení jako na celém webu */
			padding: 1.5rem;
			box-shadow: 0 6px 18px rgba(0,0,0,0.08);
			gap: 1.5rem;
			align-items: center;
		}

		/* Obrázek */
		.news-item img {
			width: 220px;
			height: 150px;
			object-fit: cover;      /* pro hezké oříznutí na desktopu */
			border-radius: 14px;
			flex-shrink: 0;
}
		
		/* Text */
		.news-content h3 {
			color: var(--blue);
			margin-bottom: 0.5rem;
		}
		
		.news-content p {
			color: var(--muted);
			margin-bottom: 0.8rem;
			text-align:justify;
		}
		
		
		.news-detail {
			gap: 2rem;
			margin: 3rem 0;
		}
		
		
		/* Responsivita */
		@media (max-width: 768px) {
			.news-item {
				flex-direction: column;
				text-align: center;
			}

			.news-item img {
				width: 100%;
				height: auto;        /* výška se dopočítá podle poměru stran */
				object-fit: contain; /* zobrazí celou fotku bez ořezu */
				max-height: none;    /* pro jistotu, kdyby někde bylo omezení */
			}
		}
		
/*--------------------------------------------------------------
# Contacts
--------------------------------------------------------------*/		
		
  .contacts-section {
    background: var(--bg, #f8fafc);
    padding: 1.5rem;
  }

  .contacts-container {
    max-width: 1100px;
    margin: 0 auto;
  }

  .contacts-title {
    font-size: clamp(1.8rem, 2.2vw, 2.2rem);
    text-align: center;
    margin-bottom: 2.5rem;
    font-weight: 700;
    color: var(--purple, #7a2fa6);
  }

  .contacts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }

  @media (max-width: 900px) {
    .contacts-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 640px) {
    .contacts-grid {
      grid-template-columns: 1fr;
    }
  }

  .contact-card {
    background: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
    padding: 1.6rem 1.6rem 1.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    transition: 0.2s ease;
  }

  .contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    border-color: var(--blue, #2d62c9);
  }

  .contact-photo-wrapper {
    width: 250px;
    height: 250px;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
  }

  .contact-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .contact-body {
    text-align: center;
    width: 100%;
  }

  /* LOGO + ORGANIZACE */
  .contact-org-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .contact-org-logo {
    width: 50px;
    height: auto;
    border-radius: 0.4rem;
    object-fit: contain;
    background: #fff;
  }

  .contact-org {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--blue, #2d62c9);
  }

  .contact-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text, #1b1f23);
  }

  .contact-role {
    font-size: 0.9rem;
    color: var(--muted, #5e6470);
    margin-bottom: 0.3rem;
  }

  .contact-flag {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
  }
  
	/* Obrázky vlajek jako kruh */
	.contact-flag img {
		width: 22px;             /* můžeš upravit dle potřeby */
		height: 22px;
		border-radius: 50%;
		object-fit: cover;       /* zajistí správné oříznutí */
	}




/*--------------------------------------------------------------
# About us
--------------------------------------------------------------*/
.partners {
    padding: 1.5rem;
    background: var(--bg);
}

.partners .section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: var(--purple);
}

.partners-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    align-items: stretch;
}

.partner-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
    border-top: 4px solid var(--blue);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.partner-logo {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.partner-logo img {
    max-height: 64px;
    max-width: 100%;
    object-fit: contain;
    border-radius: 12px;        /* lehké zaoblení loga */
}

.partner-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.partner-text {
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 1rem;
    flex-grow: 1;               /* aby se tlačítko/web zarovnalo dolů */
	text-align:justify;
}

.partner-text ul {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.partner-card ul.partner-text {
    color: var(--muted);
    font-size: 0.95rem;
    text-align: justify;
}

.partner-card ul.partner-text li {
    margin-bottom: 0.45rem;
}



/* Volitelné jemné zmenšení na hodně úzkých mobilech */
@media (max-width: 480px) {
    .partners {
        padding: 3rem 1rem;
    }

    .partner-card {
        padding: 1.5rem 1.2rem;
    }
}		
		
/* --------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
/* --------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    padding: 1.5rem 1.5rem 1.3rem;
    color: #ffffff;
    background: #2e58a5;   /* tvoje původní barva */
    font-size: 0.8rem;
    text-align: center;    /* kvůli copyrightu dole */
}

/* náhrada za container/row */
.footer-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

/* blok s logem a textem */
#footer .eu-footer-text {
    font-size: 1.1rem;
    color: yellow;
    text-align: justify;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.eu-logo {
    display: block;
    height: auto;
    max-width: none;      /* žádné omezení – zobrazí se v plné velikosti */
    border-radius: 6px;
    flex-shrink: 0;
}

/* text vedle loga */
#footer .eu-footer-text p {
    margin: 0;
}

/* barevná čára */
.rainbow-line {
    height: 4px;
    width: 100%;
    margin: 1.5rem 0;
    background-image: linear-gradient(
        90deg,
        var(--blue),
        var(--green),
        var(--yellow),
        var(--orange),
        var(--red)
    );
    border-radius: 999px;
    border: 0;
}

/* copyright – zarovnán na střed díky text-align:center u #footer */
.footer-copy {
    margin-top: 0.3rem;
}

/* Mobilní zobrazení */
@media (max-width: 768px) {
    #footer .eu-footer-text {
        flex-direction: column;
        text-align: left;
    }

    .eu-logo {
        max-width: 100%;  /* na mobilu zmenší jen v případě nutnosti */
    }
}