﻿@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap");
:root {
  --navy: #16324f;
  --ink: #102a43;
  --teal: #2f7f7b;
  --teal-dark: #22615f;
  --gold: #e4a853;
  --paper: #fff;
  --mist: #f6f8fb;
  --soft: #eef3f7;
  --muted: #5f7182;
  --line: #d9e2eb;
  --shadow: 0 18px 45px rgba(16, 42, 67, 0.09);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--mist);
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
}
body.menu-open,
body.lightbox-open {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button,
summary {
  font: inherit;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid rgba(228, 168, 83, 0.9);
  outline-offset: 2px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1180px;
  margin: auto;
  padding: 17px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font: 700 1.05rem/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.06em;
}
.brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font: 500 0.62rem/1 "DM Sans", sans-serif;
  letter-spacing: 0.02em;
}
.brand-mark {
  width: 48px;
  aspect-ratio: 1/1;
  object-fit: contain;
}
.footer-logo {
  width: min(170px, 100%);
  margin-top: 18px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  font-size: 0.88rem;
  font-weight: 600;
}
.site-nav a {
  padding: 8px 0;
  color: var(--muted);
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--navy);
  border-color: var(--gold);
}
.header-social {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--teal-dark);
  font-size: 0.86rem;
  font-weight: 700;
}
.header-social img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.menu-toggle,
.menu-close {
  display: none;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 1.6rem;
  cursor: pointer;
}
.menu-backdrop {
  display: none;
}
main {
  overflow: hidden;
}
.page-hero {
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
  padding: 106px 28px 88px 112px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--teal-dark));
}
.page-hero > * {
  width: calc(100% - 128px);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(228, 168, 83, 0.22), transparent 35%);
  z-index: -1;
}
.page-hero h1 {
  font: 700 clamp(2.7rem, 6vw, 5.3rem)/0.98 "Space Grotesk", sans-serif;
  letter-spacing: -0.055em;
}
.page-hero p {
  max-width: 700px;
  color: #e7f0f4;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 24px;
  color: #c8dce3;
  font-size: 0.84rem;
}
.route {
  position: absolute;
  right: 0;
  top: 18%;
  width: 330px;
  height: 160px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  transform: rotate(14deg);
  opacity: 0.48;
}
.eyebrow,
.kicker {
  display: inline-block;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.inside-nav {
  display: flex;
  gap: 22px;
  max-width: calc(100% - 128px);
  margin: -1px auto 0;
  padding: 16px 28px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 700;
  white-space: nowrap;
}
.inside-nav a:hover,
.inside-nav a:focus-visible {
  color: var(--teal-dark);
}
.section {
  max-width: calc(100% - 128px);
  margin: 0 auto;
  padding: 48px 28px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 20px;
}
.section-heading h2 {
  margin: 8px 0 0;
  font:
    700 clamp(1.8rem, 3vw, 2.8rem)/1.08 "Space Grotesk",
    sans-serif;
  letter-spacing: -0.045em;
}
.lede {
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 2;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}
.stat:last-child {
  border-right: 0;
}
.stat strong {
  color: var(--teal-dark);
  font: 700 clamp(1.4rem, 3vw, 2.1rem) "Space Grotesk";
}
.stat span,
.tag {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.grid-2,
.grid-3 {
  display: grid;
  gap: 18px;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.panel {
  padding: 25px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.panel h3 {
  margin: 10px 0 8px;
  color: var(--navy);
  font: 700 1.25rem/1.15 "Space Grotesk";
}
.panel p {
  margin: 0;
  color: var(--muted);
}
.number {
  color: var(--gold);
  font: 700 1.9rem "Space Grotesk";
}
.accent-panel {
  background: var(--navy);
  color: #fff;
}
.accent-panel h3,
.accent-panel p {
  color: #fff;
}
.meeting_card {
  display: grid;
  grid-template-columns: minmax(170px, 0.36fr) 1fr;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.meeting-marker {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 24px;
  color: #fff;
  background: linear-gradient(145deg, var(--navy), var(--teal-dark));
}
.meeting-marker strong {
  font: 700 1.5rem/1.05 "Space Grotesk";
}
.meeting-marker > span:last-child {
  color: #d8e8ed;
  font-size: 0.85rem;
}
.status {
  width: fit-content;
  padding: 5px 8px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}
.status--scheduled {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.meeting-card > div:last-child {
  padding: 25px;
}
.meeting-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font: 700 1.35rem/1.15 "Space Grotesk";
}
.meeting-card p {
  color: var(--muted);
}
.meeting-card ul {
  padding-left: 20px;
  color: var(--muted);
}
.meeting-details {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}
.meeting-details summary {
  padding: 13px 0;
  color: var(--teal-dark);
  cursor: pointer;
  font-weight: 700;
}
.timetable {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding-bottom: 8px;
}
.day {
  padding: 12px;
  background: var(--soft);
}
.day h4 {
  margin: 0 0 7px;
  color: var(--navy);
  font-size: 0.78rem;
}
.day ul {
  margin: 0;
  padding-left: 14px;
  font-size: 0.77rem;
}
.partner-profile {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 24px;
}
.partner-profile > img {
  width: 150px;
  aspect-ratio: 1/1;
  object-fit: contain;
}
.partner-copy h3 {
  margin-top: 8px;
}
.partner-link {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 16px;
  border-radius: 16px;
  background: #eee;
}
.home-hero {
  display: flex;
  flex-direction: column;
  padding: 106px 28px 88px 112px;
}
.home-hero h1 {
  width: calc(100% - 128px);
  margin: 0;
  font: 700 clamp(3rem, 8vw, 7rem)/0.9 "Space Grotesk";
  letter-spacing: -0.07em;
}
.home-hero p,
.home-hero .hero-meta {
  width: calc(100% - 128px);
}
.home-hero p {
  color: #e7f0f4;
  font-size: 1.2rem;
}
.home-section,
.meetings_preview {
  max-width: calc(100% - 128px);
  margin: auto;
  padding: 24px 28px;
}
.home-section h2,
.meetings_preview h2 {
  margin: 0 0 25px;
  font: 700 2.3rem "Space Grotesk";
}
.about-container {
  display: flex;
  gap: 24px;
}
.home-about img {
  width: 25%;
  aspect-ratio: 1;
  margin-right: 24px;
  object-fit: contain;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
}
.partners_container {
  display: flex;
  gap: 16px;
  min-height: 320px;
  width: 100%;
}
.partner_card {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  overflow: hidden;
  color: #fff;
  border-radius: 12px;
  cursor: pointer;
  transition: flex 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow);
}
.partner_card.is-active {
  flex: 3.5;
  cursor: default;
}
.partner_card:focus-visible {
  outline: 3px solid var(--gold);
}
.partner_card--poland { background: linear-gradient(145deg, #16324f, #397b7c); }
.partner_card--chorwacja { background: linear-gradient(145deg, #397b7c, #d08d46); }
.partner_card--portugalia { background: linear-gradient(145deg, #28536b, #2f7f7b); }
.partner_card--turcja { background: linear-gradient(145deg, #315c69, #16324f); }

.partner_badge {
  align-self: flex-start;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.partner_content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}
.partner_content strong {
  font: 700 1.6rem/1.1 "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
}
.partner_desc_short,
.partner_desc_full {
  margin: 0;
  font-size: 0.92rem;
  color: #e2eff1;
  transition: opacity 0.3s ease;
}
.partner_card .partner_desc_full,
.partner_card .partner_action_link {
  display: none;
  opacity: 0;
}
.partner_card.is-active .partner_desc_short {
  display: none;
}
.partner_card.is-active .partner_desc_full {
  display: block;
  opacity: 1;
  animation: fadeIn 0.4s ease forwards;
}
.partner_action_link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 8px 16px;
  width: fit-content;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 6px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.partner_card.is-active .partner_action_link {
  display: inline-flex;
  opacity: 1;
  animation: fadeIn 0.4s ease forwards 0.1s;
}
.partner_action_link:hover {
  background: #fff;
  transform: translateY(-2px);
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 850px) {
  .partners_container {
    flex-direction: column;
    min-height: auto;
  }
  .partner_card,
  .partner_card.is-active {
    flex: 1;
    min-height: 180px;
  }
}
.meetings_preview {
  padding-top: 40px;
  padding-bottom: 40px;
}
.section_heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.meeting_nav {
  display: flex;
  gap: 8px;
}
.meeting_nav_button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
}
.meeting_scroller {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
}
.meeting_scroller .meeting_card {
  min-width: 100%;
  scroll-snap-align: start;
}
.meeting_photo {
  min-height: 170px;
  padding: 16px;
  color: #fff;
  background: linear-gradient(145deg, var(--navy), var(--teal-dark));
}
.meeting_photo--portugal { background: linear-gradient(145deg, #326b79, #8ab6a9); }
.meeting_photo--turkey { background: linear-gradient(145deg, #6a8b8a, #d69a4a); }
.meeting_photo--croatia { background: linear-gradient(145deg, #e4a853, #397b7c); }
.meeting_date {
  font-size: .75rem;
  font-weight: 700;
}
.meeting_content {
  padding: 22px;
}
.meeting_content h3 {
  display: flex;
  gap: 8px;
  align-items: center;
  font: 700 1.15rem "Space Grotesk";
}
.meeting_flag {
  width: 23px;
  height: 16px;
  object-fit: contain;
}
.meeting_link {
  color: var(--teal-dark);
  font-size: .82rem;
  font-weight: 700;
}
.country-stack {
  display: grid;
  gap: 18px;
}
.country-panel {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.country-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
}
.country-summary::-webkit-details-marker {
  display: none;
}
.country-panel[open] .country-summary {
  border-bottom: 1px solid var(--line);
}
.country-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font:
    700 1.2rem/1 "Space Grotesk",
    sans-serif;
  letter-spacing: -0.04em;
}
.country-badge img {
  width: 32px;
  height: 24px;
  object-fit: cover;
}
.resource-carousel {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 16px;
  align-items: center;
  padding: 18px 14px 22px;
}
.resource-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}
.carousel-control {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-size: 1.8rem;
  line-height: 1;
  border-radius: 50%;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}
.carousel-control:hover,
.carousel-control:focus-visible {
  background: var(--soft);
  transform: translateY(-1px);
}
.resource-card {
  flex: 0 0 min(290px, 80vw);
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #f7f9fb);
  scroll-snap-align: start;
}
.resource-card--soon {
  background: linear-gradient(180deg, #f8fafc, #edf4f5);
}
.resource-card-top,
.resource-card-body {
  display: grid;
  gap: 12px;
}
.resource-card-top {
  grid-template-columns: 1fr auto;
  align-items: center;
}
.resource-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 8px;
  background: rgba(47, 127, 123, 0.12);
  color: var(--teal-dark);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.card-label--soon {
  flex: 1;
  text-align: center;
}
.resource-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.resource-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 38px;
  padding: 9px 13px;
  background: var(--navy);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.resource-action--soon {
  background: rgba(22, 50, 79, 0.06);
  color: var(--teal-dark);
  border: 1px solid rgba(22, 50, 79, 0.08);
  pointer-events: none;
}
.gallery-section .section-heading {
  align-items: center;
}
.gallery-toggle-group {
  display: inline-flex;
  gap: 8px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}
.gallery-toggle {
  border: 0;
  background: transparent;
  padding: 9px 14px;
  color: var(--muted);
  font-weight: 700;
}
.gallery-toggle.is-active {
  background: var(--navy);
  color: #fff;
}
.gallery-shell {
  display: grid;
  gap: 18px;
  margin-top: 16px;
}

/* Pojedynczy kraj */
.gallery-country {
  overflow: hidden;
}

/* Zdjęcia wewnątrz kraju */
.country-gallery {
  display: flex;
  gap: 16px;
  padding: 18px 14px 22px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

/* KARUZELA – domyślny widok */
.gallery-shell[data-view="carousel"] .country-gallery {
  display: flex;
  overflow-x: auto;
}

.gallery-shell[data-view="carousel"] .gallery-card {
  flex: 0 0 min(310px, 82vw);
  scroll-snap-align: start;
}

/* PINTEREST – kafelki w kolumnach */
.gallery-shell[data-view="pinterest"] .country-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  overflow: visible;
  padding: 14px;
}

.gallery-shell[data-view="pinterest"] .gallery-card {
  width: 100%;
}

/* Karty galerii */
.gallery-card {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--navy);
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.gallery-card img {
  display: block;
  width: 100%;
  height: min(340px, 54vw);
  object-fit: cover;
  transition: transform 0.25s ease;
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
  transform: scale(1.04);
}

.gallery-card--placeholder {
  display: grid;
  place-items: center;
  min-height: 260px;
  background: linear-gradient(
    145deg,
    #16324f,
    #22615f 60%,
    #1a4b5f
  );
  color: var(--gold);
  font: 700 clamp(2.3rem, 5vw, 3.5rem)/0.95 "Space Grotesk", sans-serif;
  text-align: center;
}

.gallery-shell[data-view="carousel"] p.gallery--soon {
  flex: 1;
  text-align: center;
}

.gallery-shell[data-view="pinterest"] p.gallery--soon {
  grid-column: 1/3;
  text-align: center;
}

/* Responsywność dla Pinteresta */
@media (max-width: 850px) {
  .gallery-shell[data-view="pinterest"] .country-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .gallery-shell[data-view="pinterest"] .country-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-shell[data-view="carousel"] .gallery-card {
    flex-basis: 82vw;
  }
}
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
}
.gallery-lightbox[hidden] {
  display: none;
}
.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 20, 29, 0.82);
}
.gallery-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(920px, 92vw);
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  gap: 14px 16px;
  align-items: center;
  padding: 18px 18px 12px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}
.gallery-lightbox-close,
.gallery-lightbox-nav {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-size: 1.8rem;
  line-height: 1;
}
.gallery-lightbox-close {
  justify-self: end;
  grid-column: 3;
}
.gallery-lightbox-nav {
  border-radius: 50%;
  align-self: center;
}
.gallery-lightbox-image-frame {
  grid-column: 2;
  display: grid;
  place-items: center;
  background: var(--ink);
  min-height: 260px;
  max-height: 72vh;
  overflow: hidden;
}
.gallery-lightbox-image-frame img {
  width: 100%;
  height: 100%;
  max-height: 72vh;
  object-fit: contain;
}
.gallery-lightbox-caption {
  grid-column: 2;
  margin: 0;
  color: var(--navy);
  font-weight: 700;
  text-align: center;
}
.footer {
  padding: 52px 28px 20px;
  background: var(--soft);
  border-top: 1px solid var(--line);
}
.footer-grid {
  max-width: calc(100% - 128px);
  margin: auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}
.footer h2 {
  margin: 0;
  color: var(--navy);
  font: 700 1.5rem "Space Grotesk";
}
.footer p {
  max-width: 360px;
  color: var(--muted);
  font-size: 0.87rem;
}
.footer-links {
  display: grid;
  align-content: start;
  gap: 7px;
  font-size: 0.86rem;
}
.footer-links strong {
  color: var(--navy);
  margin-bottom: 5px;
}
.footer-links a {
  color: var(--muted);
}
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--teal-dark);
}
.footer-bottom {
  max-width: calc(100% - 128px);
  margin: 36px auto 0;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.75rem;
}
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 10;
  width: 42px;
  height: 42px;
  border: 0;
  background: var(--navy);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.back-to-top.is-visible,
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}
@media (max-width: 850px) {
  .header-inner {
    padding: 13px 20px;
  }
  .menu-toggle {
    display: block;
    margin-left: auto;
  }
  .site-nav {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 30;
    width: min(320px, 88vw);
    padding: 82px 30px 30px;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    background: #fff;
    box-shadow: -20px 0 50px rgba(16, 42, 67, 0.18);
    transform: translateX(100%);
    transition: transform 0.25s ease;
   
  }
  .site-nav.is-open {
    transform: translateX(0);
  }
  .site-nav a {
    padding: 12px 0;
    font-size: 1rem;
  }
  .menu-close {
    display: block;
    position: absolute;
    top: 18px;
    right: 22px;
  }
  .menu-backdrop.is-visible {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 25;
    background: rgba(16, 42, 67, 0.42);
  }
  .header-social {
    display: none;
  }
  .route {
    display: none;
  }
  .section-intro {
    margin-top: 14px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(2) {
    border-right: 0;
  }
  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .partners_container {
    grid-template-columns: repeat(2, 1fr);
  }
  .timetable {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-shell[data-view="pinterest"] {
    column-count: 1;
  }
}
@media (max-width: 600px) {
  .page-hero {
    padding: 76px 20px 62px;
  }
  .inside-nav {
    padding-left: 20px;
    padding-right: 20px;
  }
  .section {
    padding: 24px 20px;
  }
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }
  .grid-2,
  .home-about {
    grid-template-columns: 1fr;
  }
  .home-about > *:not(img):not(h2) {
    grid-column: auto;
  }
  .partners_container {
    grid-template-columns: 1fr;
  }
  .meeting-card,
  .partner-profile {
    grid-template-columns: 1fr;
  }
  .partner-profile > img {
    width: 100%;
    height: 180px;
  }
  .timetable {
    grid-template-columns: 1fr;
  }
  .resource-carousel {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .carousel-control {
    width: 100%;
    height: 38px;
    border-radius: 999px;
  }
  .gallery-toggle-group {
    width: 100%;
    justify-content: space-between;
  }
  .gallery-toggle {
    flex: 1;
  }
  .country-summary {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom {
    display: block;
  }
  .gallery-lightbox-panel {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .gallery-lightbox-close,
  .gallery-lightbox-nav,
  .gallery-lightbox-image-frame,
  .gallery-lightbox-caption {
    grid-column: auto;
  }
  .gallery-lightbox-close {
    justify-self: end;
  }
  .gallery-lightbox-nav {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.jezyk {
    display: flex;
    gap: 10px;
}

.jezyk button {
    border: none;
    background: none;
    padding: 5px 8px;
    font-size: 14px;
    cursor: pointer;
    color: #333;
}

.jezyk button::after {
    content: attr(data-jezyk);
    text-transform: uppercase;
}

.jezyk button:hover {
    color: #007bff;
}

#google_translate_element {
    display: none;
}