/* Dedicated project microsite. The WordPress theme and editor remain unchanged. */
body.gckps-site {
    --gckps-blue: #1a548d;
    --gckps-red: #b30018;
    --gckps-bg: #edf0f7;
    --gckps-line: #ccd6e2;
    --gckps-text: #252b34;
    background: var(--gckps-bg) !important;
    color: var(--gckps-text) !important;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif !important;
    font-size: 17px;
    line-height: 1.7;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0;
}
.gckps-site *, .gckps-site *::before, .gckps-site *::after { box-sizing: border-box; }
.gckps-site #masthead { position: relative !important; top: auto !important; transform: none !important; width: 100%; }
.gckps-site #page { overflow: visible; }
.gckps-site .gckps-site-content { padding: 0 !important; }
.gckps-site :is(h1,h2,h3,h4,p,ul,ol,dl,figure):not(:where(#masthead *,#side-nav *,#colophon *)) { margin-top: 0; }
.gckps-site :is(h1,h2,h3,h4,p,li,dt,dd,span,a,button):not(:where(#masthead *,#side-nav *,#colophon *)) { font-family: inherit; letter-spacing: normal; }
.gckps-site :is(h1,h2,h3,h4):not(:where(#masthead *,#side-nav *,#colophon *)) { color: var(--gckps-blue) !important; font-style: normal; text-transform: none !important; font-weight: 400; line-height: 1.25; text-align: left !important; }
.gckps-site h1:not(:where(#masthead *,#side-nav *,#colophon *)) { font-size: clamp(30px, 3.7vw, 46px) !important; }
.gckps-site h2:not(:where(#masthead *,#side-nav *,#colophon *)) { font-size: clamp(25px, 2.5vw, 32px) !important; }
.gckps-site h3:not(:where(#masthead *,#side-nav *,#colophon *)) { font-size: 24px !important; }
.gckps-site h4:not(:where(#masthead *,#side-nav *,#colophon *)) { font-size: 21px !important; }
.gckps-site p:not(:where(#masthead *,#side-nav *,#colophon *)) { margin-bottom: 1.15em; }
.gckps-site img:not(:where(#masthead *,#side-nav *,#colophon *)) { max-width: 100%; height: auto; box-shadow: none; }
.gckps-site a:not(:where(#masthead *,#side-nav *,#colophon *)) { color: var(--gckps-blue); text-underline-offset: .2em; text-decoration-thickness: 1px; }
.gckps-site a:hover:not(:where(#masthead *,#side-nav *,#colophon *)) { color: var(--gckps-red); }
.gckps-site :is(a,button,[tabindex]):focus-visible,
.gckps-section-media :is(summary,iframe):focus-visible { outline: 3px solid #111 !important; outline-offset: 3px !important; box-shadow: 0 0 0 6px #ffeb00 !important; }
.gckps-shell, .gckps-container { width: min(100% - 64px, 1320px); margin-inline: auto; min-width: 0; }
.gckps-masthead { background: #fff; position: relative; overflow: hidden; padding-bottom: 48px; }
.gckps-masthead__inner { min-height: 135px; padding-block: 20px 25px; display: flex; gap: clamp(18px, 2.5vw, 36px); align-items: center; position: relative; z-index: 1; }
.gckps-brand { color: var(--gckps-blue) !important; font-size: clamp(22px,2.4vw,31px); font-weight: 700; line-height: 1.15; text-decoration: none !important; flex: 1 1 0; min-width: 0; overflow-wrap: anywhere; }
.gckps-brand-marks { flex: 0 0 60%; min-width: 0; }
.gckps-brand-marks img { display: block; width: 100%; height: auto; }
.gckps-masthead__wave { position: absolute; color: var(--gckps-blue); bottom: -1px; right: 0; width: 100%; height: 48px; pointer-events: none; }
.gckps-menu-bar { background: var(--gckps-blue); }
.gckps-menu-bar__inner { display: flex; gap: 24px; align-items: center; justify-content: space-between; padding-block: 18px; }
.gckps-project-nav { min-width: 0; overflow-wrap: anywhere; }
.gckps-project-nav ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.gckps-project-nav li { list-style: none; margin: 0; padding: 0; }
.gckps-project-nav a, .gckps-languages a { background: #fff; border: 1px solid #d5dfeb; border-radius: 6px; color: var(--gckps-blue) !important; display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 10px 16px; text-decoration: none !important; font-size: 18px; line-height: 1.35; }
.gckps-project-nav a:hover, .gckps-project-nav a[aria-current="page"] { background: var(--gckps-red); border-color: var(--gckps-red); color: #fff !important; }
.gckps-languages { display: flex; gap: 8px; flex-shrink: 0; }
.gckps-languages a { min-width: 50px; padding: 9px; font-size: 15px; font-weight: 700; }
.gckps-languages a[aria-current="true"] { border: 3px solid var(--gckps-red); }
.gckps-languages a:hover { background: #edf0f7; }
.gckps-page { background: var(--gckps-bg); margin: 0 !important; padding: 46px 0 64px !important; width: 100%; max-width: none; min-height: 55vh; }
.gckps-page[tabindex="-1"]:focus { outline: none; }
.gckps-section-title, .gckps-event-detail__title, .gckps-archive-title { margin: 0 0 42px !important; }
.gckps-project-layout, .gckps-project-layout__content { min-width: 0; }
.gckps-content-panel { background: #fff; padding: clamp(22px,3vw,42px); border-radius: 4px; }
.gckps-project-hero { margin: 0 0 30px; padding: 10px; background: #fff; border-radius: 4px; }
.gckps-project-hero img { display: block; width: 100%; height: auto; }
.gckps-section-media { grid-column: 1 / -1; min-width: 0; margin-block: 1rem; }
.gckps-pdf-reader { background: #fff; border: 1px solid #767676; border-radius: .5rem; }
.gckps-pdf-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; padding: .75rem 1rem; overflow-wrap: anywhere; }
.gckps-pdf-actions { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; }
.gckps-pdf-actions button { color: #fff; background: var(--gckps-blue); padding: .45rem .8rem; border: 0; border-radius: .3rem; cursor: pointer; text-transform: none; }
.gckps-pdf-actions button[hidden], .gckps-pdf-reader:fullscreen .gckps-pdf-skip { display: none !important; }
.gckps-pdf-text { margin-block-start: 1rem; scroll-margin-top: 5rem; }
.gckps-section-media a { text-decoration: underline; }
.gckps-section-media iframe { display: block; width: 100%; border: 1px solid #767676; }
.gckps-section-media .gckps-media-pdf { height: clamp(360px, 78vh, 920px); border: 0; border-top: 1px solid #767676; }
.gckps-pdf-reader:fullscreen { display: flex; flex-direction: column; border: 0; border-radius: 0; }
.gckps-pdf-reader:fullscreen .gckps-media-pdf { height: auto; min-height: 0; flex: 1 1 auto; }
.gckps-media-video { aspect-ratio: 16 / 9; min-height: 200px; }
.gckps-content-section { display: grid; grid-template-columns: minmax(0,1fr); gap: 22px 32px; margin: 0 0 32px; padding: 0; }
.gckps-content-section:last-child { margin-bottom: 0; }
.gckps-content-section__heading { margin: 0; }
.gckps-content-section__text { min-width: 0; overflow-wrap: anywhere; }
.gckps-content-section__text p:last-child { margin-bottom: 0; }
.gckps-content-section__image { margin: 0; min-width: 0; }
.gckps-content-section__image img { width: 100%; display: block; }
.gckps-content-section--left:has(.gckps-content-section__image), .gckps-content-section--right:has(.gckps-content-section__image) { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.gckps-content-section--left .gckps-content-section__image { grid-column: 1; grid-row: 1 / span 3; }
.gckps-content-section--left .gckps-content-section__text, .gckps-content-section--left .gckps-content-section__heading { grid-column: 2; }
.gckps-content-section--right .gckps-content-section__image { grid-column: 2; grid-row: 1 / span 3; }
.gckps-content-section--right .gckps-content-section__text, .gckps-content-section--right .gckps-content-section__heading { grid-column: 1; }
.gckps-project-facts { margin: 32px 0 0; }
.gckps-project-facts > div { display: grid; grid-template-columns: minmax(150px,26%) minmax(0,1fr); border-top: 1px solid var(--gckps-line); padding: 18px 0; gap: 22px; }
.gckps-project-facts dt { font-weight: 700; }
.gckps-project-facts dd { margin: 0; }
.gckps-events-grid, .gckps-project-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.gckps-event-card, .gckps-project-card { background: #fff; border-radius: 4px; overflow: hidden; min-width: 0; display: flex; flex-direction: column; }
.gckps-event-card__image { padding: 8px 8px 0; }
.gckps-event-card__image img, .gckps-project-card img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; display: block; }
.gckps-event-card__body, .gckps-project-card { padding: 24px; }
.gckps-event-card__body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.gckps-event-card__title, .gckps-project-card__title { margin: 0 0 18px; }
.gckps-event-card__title-link { text-decoration: none; }
.gckps-event-card__title-link:hover { text-decoration: underline; }
.gckps-event-card__excerpt { font-size: 16px; margin-bottom: 22px; }
.gckps-event-card__more, .gckps-button { margin-top: auto; background: var(--gckps-blue); color: #fff !important; border-radius: 5px; padding: 11px 18px; display: inline-flex; align-items: center; min-height: 46px; line-height: 1.35; text-decoration: none !important; }
.gckps-event-card__more:hover, .gckps-button:hover { background: var(--gckps-red); }
.gckps-event-detail__content { background: #fff; padding: clamp(22px,3vw,42px); border-radius: 4px; }
.gckps-event-detail__gallery { margin-top: 42px; }
.gckps-event-detail__gallery .gckps-section-title { font-size: 32px !important; margin-bottom: 26px !important; }
.gckps-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); list-style: none !important; margin: 0; padding: 0; gap: 20px; }
.gckps-gallery__item { list-style: none !important; margin: 0; padding: 0; min-width: 0; }
.gckps-gallery__link { display: block; background: #fff; padding: 8px; border-radius: 4px; }
.gckps-gallery__link img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.gckps-pagination ul { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; padding: 0; margin: 36px 0 0; }
.gckps-pagination li { list-style: none; padding: 0; margin: 0; }
.gckps-pagination a { display: flex; align-items: center; justify-content: center; min-width: 46px; min-height: 46px; background: #fff; border: 1px solid var(--gckps-line); border-radius: 4px; text-decoration: none; padding: 8px; }
.gckps-pagination a[aria-current="page"] { color: #fff !important; background: var(--gckps-red); }
.gckps-empty-state { background: #fff; padding: 28px; border-radius: 4px; }
.gckps-site-footer { background: #fff; border-top: 1px solid var(--gckps-line); padding: 30px 0; font-size: 15px; }
.gckps-site-footer__row { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.gckps-site-footer__row p { margin: 0; }
.gckps-funding { margin: 0 0 26px; max-width: 660px; }
.gckps-funding img { max-height: 140px; object-fit: contain; display: block; }
.gckps-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; padding: 0 !important; border: 0 !important; }
.gckps-skip-link { background: #fff; color: #111 !important; position: fixed; left: 12px; top: 12px; z-index: 100000; padding: 12px 20px; transform: translateY(-200%); }
.gckps-skip-link:focus { transform: none; }
.gckps-language-pl .gckps-page :is(span,div)[lang="sk"]:not(.gckps-language-fallback), .gckps-language-sk .gckps-page :is(span,div)[lang="pl"]:not(.gckps-language-fallback) { display: none !important; }
.gckps-lightbox { background: #fff; color: #222; border: 0; border-radius: 6px; padding: 0; width: min(1200px,94vw); max-width: 94vw; max-height: 94vh; }
.gckps-lightbox:not([open]) { display: none; }
.gckps-lightbox::backdrop { background: rgb(0 0 0 / 85%); }
.gckps-lightbox__toolbar { display: flex; justify-content: space-between; align-items: center; background: var(--gckps-blue); color: #fff; padding: 8px 16px; }
.gckps-lightbox__counter { margin: 0 !important; }
.gckps-lightbox button { border: 0; border-radius: 4px; padding: 10px; background: #fff; color: var(--gckps-blue); min-width: 48px; min-height: 48px; cursor: pointer; }
.gckps-lightbox button svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 2.5; display: block; }
.gckps-lightbox__stage { display: grid; grid-template-columns: 58px minmax(0,1fr) 58px; align-items: center; padding: 10px; gap: 8px; }
.gckps-lightbox__stage img { max-height: 76vh; width: 100%; object-fit: contain; touch-action: pan-y pinch-zoom; }
.gckps-lightbox__stage--single { grid-template-columns: minmax(0,1fr); }
.gckps-lightbox [hidden] { display: none !important; }
@media (max-width: 900px) {
    .gckps-events-grid, .gckps-project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
    .gckps-shell, .gckps-container { width: calc(100% - 32px); }
    .gckps-masthead__inner { flex-direction: column; align-items: flex-start; gap: 18px; padding: 22px 0 40px; }
    .gckps-brand { flex: none; font-size: 24px; }
    .gckps-brand-marks { flex: none; width: 100%; }
    .gckps-masthead__wave { height: 35px; }
    .gckps-menu-bar__inner { flex-wrap: wrap; gap: 14px; padding-block: 16px; }
    .gckps-project-nav { flex-basis: 100%; }
    .gckps-project-nav a { min-height: 48px; font-size: 16px; padding: 10px 12px; }
    .gckps-languages a { min-height: 44px; }
    .gckps-page { padding-block: 30px 44px !important; }
    .gckps-section-title, .gckps-event-detail__title, .gckps-archive-title { margin-bottom: 28px !important; }
    .gckps-events-grid, .gckps-project-grid { grid-template-columns: minmax(0,1fr); }
    .gckps-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
    .gckps-gallery__link { padding: 5px; }
    .gckps-project-facts > div { grid-template-columns: minmax(0,1fr); gap: 5px; }
    .gckps-content-section--left:has(.gckps-content-section__image), .gckps-content-section--right:has(.gckps-content-section__image) { grid-template-columns: minmax(0,1fr); }
    .gckps-content-section :is(.gckps-content-section__heading,.gckps-content-section__image,.gckps-content-section__text) { grid-column: 1; grid-row: auto; }
    .gckps-lightbox__stage { grid-template-columns: 48px minmax(0,1fr) 48px; gap: 3px; padding: 5px; }
    .gckps-lightbox__stage--single { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) { .gckps-site *, .gckps-site *::before, .gckps-site *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print { .gckps-menu-bar, .gckps-skip-link, #wpadminbar { display: none !important; } body.gckps-site, .gckps-page { background: #fff !important; } .gckps-shell,.gckps-container { width: 100%; } .gckps-site a { color: #111; } }
