/* =========================================
   1. ZMIENNE GLOBALNE I RESET
   ========================================= */
:root {
  --bg-color: #ffffff;
  --text-color: #000000;
  --text-muted: #777777;
  --border-color: #cccccc;
  --hover-orange: #FFA500;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Avenir Next", system-ui, -apple-system, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1;
  /* Domyślny odstęp pod header (position: absolute, wysokość 81px/144px wg
     breakpointu w header.html). JS (initSmartHeader w main.js) doprecyzowuje
     tę wartość po starcie (np. po doładowaniu fontów), ale musi być poprawna
     już w czystym CSS — inaczej treść "wyskakuje" w dół dopiero gdy JS się
     wykona, co bywa zauważalnie opóźnione (np. przez blokujący skrypt Cookiebot). */
  padding-top: 81px;
}
@media (min-width: 1280px) {
  body { padding-top: 144px; }
}

/* =========================================
   2. TYPOGRAFIA I GLOBALNE ELEMENTY
   ========================================= */
h1 {
  font-family: "Avenir Next", sans-serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

h2 {
  font-family: "Avenir Next", sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  text-align: left;
}

h3 {
  text-align: left;
}

/* "sanah" to nazwa własna pisana zawsze małą literą — nadpisuje
   text-transform:uppercase dziedziczone w nagłówkach h1/h2. */
.brand-lowercase { text-transform: lowercase; }

h3.menu-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

p {
  font-family: "Avenir Next", sans-serif;
  font-weight: 500;
  font-size: 16px; 
  line-height: 1.2;
  letter-spacing: 0;
  margin-bottom: 1.5rem;
}

.subtitle {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.section-label {
  font-family: "Avenir Next", sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  display: block;
}

/* Globalne linki */
a {
  font-family: "Avenir Next", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0;
  color: inherit;
  text-decoration: none; 
  transition: all 0.2s ease;
}

a:hover {
  text-decoration: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none; 
  text-underline-offset: 4px;
  color: inherit;
}

/* Przyciski CTA */
.cta-link {
  display: inline-block;
  font-family: "Avenir Next", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0;
  color: var(--text-color);
  text-transform: uppercase;
  text-decoration: underline !important;
  text-decoration-style: solid !important;
  text-underline-offset: 4px !important;
  text-decoration-thickness: 1px !important; 
  text-decoration-skip-ink: none !important;
  border-bottom: none;
  padding-bottom: 0;
}

.cta-small {
  font-size: 0.85rem;
}

/* Checkboxy (Filtry) */
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid var(--text-color);
  border-radius: 0; 
  outline: none;
  cursor: pointer;
  vertical-align: middle;
  position: relative;
  transition: border 0.2s ease;
}
input[type="checkbox"]:hover { 
  border: 2px solid var(--hover-orange); 
}
input[type="checkbox"]:checked { 
  background-color: var(--text-color); 
}
input[type="checkbox"]:checked::after {
  content: "✔";
  color: var(--bg-color);
  position: absolute;
  font-size: 14px;
  left: 3px;
  top: -2px;
}

/* Marginesy głównych sekcji */
section { 
  padding: 3rem 1rem; 
}

.placeholder-img {
  background-color: #e0e0e0;
  background-image: 
    linear-gradient(to bottom right, transparent calc(50% - 1px), #999 calc(50%), transparent calc(50% + 1px)),
    linear-gradient(to top right, transparent calc(50% - 1px), #999 calc(50%), transparent calc(50% + 1px));
  display: flex; align-items: center; justify-content: center; width: 100%; border: 1px solid var(--border-color);
}
.placeholder-img span { background: var(--bg-color); padding: 0.2rem 0.5rem; font-size: 0.8rem; font-weight: bold; }

.placeholder-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  background-color: #f5f5f5;
}
.placeholder-icon img { width: 100%; height: 100%; object-fit: cover; }


/* =========================================
   3. WSPÓŁDZIELONE KOMPONENTY (Header, Menu)
   ========================================= */
header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 1rem 0 1rem;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-color);
  position: relative; 
  z-index: 9999;      
}
.header-container { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.birthday-placeholder { height: 26px; width: 26px; object-fit: cover; border: 1px solid var(--border-color); }
.main-logo { height: 26px; width: auto; display: block; }

/* FAQ: Usunięcie odstępów poniżej headera */
body.faq-page .header-container {
    margin-bottom: 0 !important;
}

.global-nav { width: 100%; max-width: 1200px; }

.global-nav ul.responsive-menu {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 2rem;
  padding: 0 1rem 1rem 1rem;
  margin: 0;
  list-style: none;
  width: 100%;
}

.responsive-menu li { display: flex; justify-content: center; flex: 1 1 0; }
.responsive-menu li a { text-align: center; white-space: normal; line-height: 1.2; display: inline-block; width: 100%; }

.global-nav a {
  font-size: 0.95rem;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-color);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: none;
}
.global-nav a:hover { text-decoration: underline; }
.global-nav a.active { font-weight: bold; border-bottom-color: var(--text-color); }
/* ZMIANA: Wyłączenie domyślnego podkreślenia z hovera na aktywnej podstronie */
.global-nav a.active:hover { text-decoration: none; }

.has-dropdown > a { font-size: 0.95rem !important; text-transform: uppercase !important; font-weight: 500 !important; color: var(--text-color) !important; text-decoration: none !important; padding-bottom: 4px; }
.has-dropdown { position: relative; cursor: pointer; }
.dropdown-indicator { font-size: 0.7rem; vertical-align: middle; margin-left: 0.2rem; }
.dropdown-menu { display: none; flex-direction: column; background-color: var(--bg-color); border: 1px solid var(--border-color); padding: 0.5rem; width: max-content; position: absolute; top: 100%; bottom: auto; left: 0; margin-top: 0.5rem; margin-bottom: 0; text-align: left; gap: 0.25rem; z-index: 10000; box-shadow: 0 6px 16px rgba(0,0,0,0.15); }
.has-dropdown.is-open .dropdown-menu { display: flex; }
.dropdown-menu a { font-size: 0.8rem; padding: 0.5rem 0.75rem; color: var(--text-color); border-bottom: 1px solid #f0f0f0; }
.dropdown-menu a:hover { text-decoration: none; background-color: #f9f9f9;}
.dropdown-menu a:last-child { border-bottom: none; }


/* =========================================
   BREADCRUMBS (Ścieżka nawigacji)
   ========================================= */
.breadcrumb-section {
  background: #F4F4F4;
  height: 48px;
  width: 100%;
  display: flex;
  align-items: center;
  margin: 0;
}

.breadcrumb-inner {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px; /* Wewnętrzne marginesy na mobile: 16px po bokach */
  box-sizing: border-box;
  
  font-family: "Avenir Next", sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 100%;
  letter-spacing: 0;
  color: var(--text-color);
}

.breadcrumb-inner a {
  font-size: 12px;
  text-decoration: none;
  color: inherit;
  transition: none; 
}

.breadcrumb-inner a:hover {
  text-decoration: underline;
  text-decoration-style: solid;
  text-underline-offset: 4px;
  color: inherit; 
}

.breadcrumb-inner .breadcrumb-current {
  font-size: 12px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-style: solid;
  text-underline-offset: 4px;
  color: inherit;
}


/* =========================================
   GLOBALNE ZAKŁADKI I FILTRY
   ========================================= */
.beauty-tabs { display: flex; gap: 1rem; margin-bottom: 1.5rem; overflow-x: auto; scrollbar-width: none; border-bottom: none; -webkit-overflow-scrolling: touch; }
.beauty-tabs::-webkit-scrollbar { display: none; }
.beauty-tabs a { flex: 0 0 auto; display: flex; align-items: center; justify-content: flex-start; text-align: left; padding: 0.8rem 1.2rem; border: 1px solid var(--border-color); background-color: var(--bg-color); color: var(--text-color); font-size: 0.95rem; font-weight: 500; text-transform: uppercase; border-radius: 0; transition: background-color 0.2s, border-color 0.2s; text-decoration: none; }
.beauty-tabs a:hover { border-color: var(--text-color); text-decoration: none; }
.beauty-tabs a.active { background-color: #000; border-color: #000; color: #fff; font-weight: bold; }

/* ═══════════════════════════════════════════════════════════════════════════
   KOMPONENT: SPLIT HERO (zdjęcie + tekst na kolorowym tle)
   Współdzielony wzorzec hero — mobile: zdjęcie nad tekstem, desktop: obok siebie.
   Używany m.in. na stronie głównej. (konkurs.html i faq.html mają na razie
   własne, analogiczne implementacje inline — do docelowego ujednolicenia).
   ═══════════════════════════════════════════════════════════════════════════ */
.split-hero {
    position: relative;
    width: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
}
.split-hero-container {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
}
.split-hero-media-mobile {
    width: 100%;
    height: 280px;
    overflow: hidden;
    margin-bottom: 32px;
}
.split-hero-media-mobile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}
.split-hero-media-desktop { display: none; }

/* Warianty z mapą (nie zdjęciem) — dodatkowe marginesy, żeby ilustracja
   nie wypełniała całej wysokości hero krawędź-w-krawędź jak zdjęcie. */
.split-hero-media-mobile.split-hero-media-map { padding: 24px; box-sizing: border-box; }
@media (min-width: 768px) {
    .split-hero-media-desktop.split-hero-media-map { padding: 48px; box-sizing: border-box; }
}

.split-hero-content {
    padding: 0 16px 58px 16px;
    text-align: left;
}
.split-hero-badge-desktop { display: none; }
.split-hero-badge-mobile {
    height: 100px;
    width: auto;
    margin-bottom: 40px;
    display: block;
}
.split-hero-content h1 {
    color: #000;
    margin-bottom: 20px;
}
.split-hero-content p.split-hero-teaser {
    color: #000;
    margin-bottom: 30px;
    margin-top: 0;
    max-width: 700px;
    font-size: 1.15rem;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .split-hero-container {
        flex-direction: row;
        align-items: stretch;
    }
    .split-hero-media-mobile { display: none; }
    .split-hero-badge-mobile { display: none; }

    .split-hero-media-desktop {
        display: block;
        width: 50%;
    }
    .split-hero-media-desktop img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top;
        display: block;
    }

    .split-hero-content {
        width: 50%;
        padding: 40px 3rem 50px 1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .split-hero-content .hero-ctas {
        justify-content: center;
    }
    .split-hero-badge-desktop {
        display: block;
        width: clamp(60px, 6vw, 90px);
        height: auto;
        margin-bottom: clamp(24px, 4vw, 48px);
    }
    .split-hero-text-block { display: flex; flex-direction: column; }
}
.beauty-tabs a.disabled { color: var(--border-color); background-color: #fafafa; pointer-events: none; cursor: default; }

/* Paginacja karuzeli */
.carousel-pagination { display: flex; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.page-square { width: 16px; height: 16px; border: 2px solid var(--text-muted); cursor: pointer; display: inline-block; background-color: transparent; box-sizing: border-box; }
.page-square.active { border-color: var(--text-color); background-color: var(--text-color); box-shadow: inset 0 0 0 2px var(--bg-color); }

.event-cards-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2.5rem; }
.event-card { border: 1px solid var(--border-color); padding: 1.5rem; background-color: #fcfcfc; display: flex; flex-direction: column; }
.event-card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.5rem; margin-bottom: 0.2rem; }
.event-card-name { margin-bottom: 0; font-size: 1.2rem; font-weight: bold; }
.event-status-badge { font-size: 0.7rem; text-transform: uppercase; font-weight: bold; padding: 0.2rem 0.5rem; border-radius: 0; white-space: nowrap; display: inline-block; }
.status-past .event-status-badge { background-color: #eeeeee; color: var(--text-muted); }
.status-past .event-status-badge::before { content: "Zakończone"; }
.status-ongoing .event-status-badge { background-color: var(--hover-orange); color: #ffffff; }
.status-ongoing .event-status-badge::before { content: "Trwa"; }
.status-upcoming .event-status-badge { background-color: var(--text-color); color: #ffffff; }
.status-upcoming .event-status-badge::before { content: "Nadchodzące"; }

.event-card-date { color: var(--text-muted); font-size: 0.9rem; font-weight: 500; margin-bottom: 1rem;}
.event-card-city { font-size: 1rem; font-weight: bold; margin-bottom: 0.2rem; text-transform: none; }
.event-card-bottom { display: flex; justify-content: space-between; align-items: flex-end; margin-top: auto; padding-top: 1rem; }
.event-card-venue { font-size: 0.95rem; line-height: 1.4; }


/* --- LICZNIK ODLICZANIA --- */
.counter-container { padding: 2rem 0; text-align: left; margin-top: 1rem; background: transparent; }
.counter-title { font-size: 1.2rem; text-transform: uppercase; font-weight: bold; letter-spacing: 1px; margin-bottom: 1.5rem; }
.counter-grid { display: flex; justify-content: flex-start; gap: 1.5rem; flex-wrap: wrap; }
.counter-box { min-width: 80px; display: flex; flex-direction: column; align-items: center; }
.counter-number { font-family: "Avenir Next", sans-serif; font-weight: 400; font-size: 48px; line-height: 100%; letter-spacing: 0; text-align: center; text-transform: uppercase; color: #000000; margin-bottom: 0.5rem; display: inline-block; }
.counter-label { font-family: "Avenir Next", sans-serif; font-weight: 500; font-size: 14px; line-height: 100%; letter-spacing: 0; text-transform: uppercase; color: #000000; font-weight: 500; }


/* =========================================
   4. STRONA GŁÓWNA (Homepage)
   ========================================= */

.hero-content { max-width: 100%; text-align: left; margin-top: 0; margin-bottom: 2rem; }
.hero-intro-text { font-size: 1.15rem; margin-bottom: 2.5rem; max-width: 800px; line-height: 1.6; text-align: left; }
.hero-ctas { display: flex; flex-direction: row; gap: 1.5rem; flex-wrap: wrap; }
.hero-bottom-area { width: 100%; }

.history-intro { max-width: 800px; font-size: 1.1rem; margin-bottom: 2.5rem; }
.timeline { border-top: 2px solid var(--text-color); margin-top: 1.5rem; padding-top: 1.5rem; display: flex; flex-direction: row; overflow-x: auto; gap: 2rem; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.timeline::-webkit-scrollbar { display: none; }
.timeline-item { position: relative; flex: 0 0 50vw; scroll-snap-align: start; }
.timeline-item::before { display: none; }
.timeline-date { font-weight: bold; font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0.3rem; }

.konkurs-boxes { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 8rem; margin-bottom: 4rem; }
.konkurs-box { background: rgba(255, 255, 255, 0.95); padding: 1.5rem; border: 1px solid var(--border-color); display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; }
.konkurs-box h3 { font-size: 1.2rem; margin-top: 0; margin-bottom: 0.8rem; }
.konkurs-box p { font-size: 0.95rem; margin-bottom: 1.5rem; line-height: 1.5; }

.inspiration-section { margin-top: 4rem; width: 100%; }
.inspiration-section h3 { font-size: 1.2rem; font-weight: bold; text-transform: none; margin-bottom: 0.5rem; text-align: left; }
.inspiration-subtitle { margin-bottom: 1.5rem; font-size: 1rem; color: var(--text-color); text-align: left; }
.inspiration-carousel-wrapper { position: relative; width: 100%; }
.inspiration-carousel { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 1rem; }
.inspiration-carousel::-webkit-scrollbar { display: none; }
.inspiration-card { flex: 0 0 85%; scroll-snap-align: start; display: flex; flex-direction: column; }
.inspiration-img { height: 300px; width: 100%; margin-bottom: 1rem; position: relative; }
.carousel-arrow { position: absolute; top: calc(150px - 20px); background: rgba(255, 255, 255, 0.9); border: 1px solid var(--border-color); width: 40px; height: 44px; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10; transition: background 0.2s; }
.carousel-arrow:hover { background: var(--bg-color); }
.carousel-arrow.prev { left: 0; }
.carousel-arrow.next { right: 0; }
.inspiration-info { text-align: left; }
.inspiration-title { font-weight: 500; font-size: 1.1rem; text-transform: uppercase; margin-bottom: 0.5rem; }
.inspiration-desc { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 1rem; line-height: 1.5; }
.inspiration-header { display: flex; justify-content: flex-start; align-items: baseline; gap: 0.75rem; margin-bottom: 0.5rem; }
.author-name { font-weight: bold; font-size: 1rem; text-transform: none; }
.submission-id { color: var(--text-muted); font-size: 0.85rem; }


/* =========================================
   5. PODSTRONA: NASZA HISTORIA
   ========================================= */
#history-hero { padding: 0; height: 35vh; min-height: 250px; background-image: url('assets/placeholder@0,25x.png'); background-size: cover; background-position: center; }
#history-main-section { max-width: 1200px; margin: 0 auto; padding: 2rem 1rem 5rem 1rem; }
#history-intro-page { text-align: left; max-width: 800px; margin: 0 auto 2rem auto; }
.v-timeline { position: relative; max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; }
.v-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: var(--timeline-line-start, 0);
    bottom: 0;
    width: 1px;
    background: #000;
    display: none;
}
.v-timeline-col { display: contents; }
.v-timeline-item { position: relative; margin-bottom: 3rem; }
.v-timeline-dot {
    display: none;
    position: absolute;
    left: 50%;
    width: 8px;
    height: 8px;
    margin-left: -4px;
    background: #000;
    transform: rotate(45deg);
    z-index: 2;
}
@media (min-width: 768px) {
    .v-timeline::before { display: block; }
    .v-timeline { flex-direction: row; align-items: flex-start; gap: 40px; }
    .v-timeline-col { display: flex; flex-direction: column; gap: 3rem; flex: 1; }
    .v-timeline-item { margin-bottom: 0; }
    #v-timeline-col-right { margin-top: 260px; }
    .v-timeline-dot { display: block; }
}


/* =========================================
   6. PODSTRONA: EVENTY
   ========================================= */
#events-main-section { max-width: 1200px; margin: 0 auto; padding: 2rem 1rem 5rem 1rem; }
.events-page-header { margin-bottom: 2rem; text-align: left; }
.sidebar-top-row { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.custom-dropdown { flex: 1; min-width: 200px; padding: 0.8rem 1.2rem; font-size: 1rem; font-family: inherit; font-weight: 500; border: 1px solid var(--border-color); }
.filter-label { display: block; font-size: 0.85rem; text-transform: uppercase; font-weight: bold; color: var(--text-muted); margin-bottom: 0.5rem; }
.view-toggle { font-weight: 500; font-size: 1rem; white-space: nowrap; }
.view-toggle a { color: var(--text-muted); padding: 0 0.5rem; }
.view-toggle a.active { color: var(--text-color); text-decoration: underline; font-weight: bold; }
.event-carousel-group { margin-bottom: 4rem; }
.event-carousel-group h3 { font-size: 1.3rem; font-weight: bold; margin-bottom: 1rem; border-bottom: 2px solid var(--text-color); display: inline-block; padding-bottom: 0.2rem; }
.event-carousel { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 1rem; }
.event-carousel::-webkit-scrollbar { display: none; }
.event-carousel .event-card { flex: 0 0 85%; scroll-snap-align: start; }
.map-container { overflow: hidden; }
.map-pin { position: absolute; cursor: pointer; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; z-index: 2; }
.map-pin:hover { transform: translate(-50%, -100%) scale(1.1); z-index: 10; }
.pin-marker { width: 16px; height: 16px; border-radius: 50%; background-color: var(--text-color); border: 2px solid var(--bg-color); box-shadow: 0 2px 4px rgba(0,0,0,0.3); margin-bottom: 5px; }
.status-ongoing .pin-marker { background-color: var(--hover-orange); }
.status-past .pin-marker { background-color: var(--text-muted); }
.pin-label { background: var(--bg-color); padding: 0.3rem 0.6rem; border: 1px solid var(--border-color); border-radius: 0; font-size: 0.8rem; font-weight: bold; text-align: center; white-space: nowrap; box-shadow: 0 2px 5px rgba(0,0,0,0.1); color: var(--text-color); }
.pin-label small { font-weight: normal; color: var(--text-muted); }
.map-popup-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.6); display: none; align-items: center; justify-content: center; z-index: 9999; }
.map-popup-card { width: 90%; max-width: 450px; background: var(--bg-color); padding: 2rem; border-radius: 0; position: relative; box-shadow: 0 10px 40px rgba(0,0,0,0.3); }
.close-popup { position: absolute; top: -15px; right: -10px; background: var(--bg-color); border: 1px solid var(--border-color); border-radius: 0; width: 32px; height: 32px; font-size: 1.2rem; cursor: pointer; color: var(--text-color); display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 5px rgba(0,0,0,0.1); z-index: 5; }


/* =========================================
   7. PODSTRONA: BEAUTY (Strefa Beauty)
   ========================================= */
.beauty-intro { max-width: 800px; margin: 0 auto 3rem auto; }
.brands-filter-section { margin-bottom: 4rem; text-align: center; }
.brands-carousel { display: flex; gap: 1rem; overflow-x: auto; padding: 1rem 0; justify-content: flex-start; scrollbar-width: none; }
.brands-carousel::-webkit-scrollbar { display: none; }
.brand-item { flex: 0 0 auto; background: var(--bg-color); border: 1px solid var(--border-color); border-radius: 0; font-weight: 500; cursor: pointer; font-size: 0.95rem; padding: 0.8rem 1.2rem; transition: background-color 0.2s, border-color 0.2s; color: var(--text-color); }
.brand-item:hover { border-color: var(--text-color); }
.brand-item.active { background-color: #f4f4f4; font-weight: bold; border-color: var(--border-color); color: var(--text-color); }
.product-carousel-wrapper { position: relative; width: 100%; }
.product-carousel-wrapper .carousel-arrow { top: 100px; }
.product-carousel { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 1.5rem; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 1rem; scrollbar-width: none; }
.product-carousel::-webkit-scrollbar { display: none; }
.product-card { flex: 0 0 160px; scroll-snap-align: start; display: flex; flex-direction: column; text-align: left; }
.product-img { width: 100%; height: 200px; margin-bottom: 0.8rem; object-fit: cover; }
.brand-name { font-weight: bold; font-size: 0.95rem; text-transform: uppercase; }
.product-name { font-size: 0.85rem; color: var(--text-muted); }
/* Grid produktowy (Bestsellery / Jubileuszowe Ikony Stylu) — 1:1 wg specyfikacji Figma:
   2 kolumny mobile / 3 kolumny desktop, gap 20px (rząd) x 2px (kolumna), bez ramek. */
.products-mosaic { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 2px; width: 100%; }
.product-item { text-align: left; }
.product-img-box { width: 100%; aspect-ratio: 452 / 350; height: auto; position: relative; background-color: #F2F2F2; }
.brand-name-tag { font-family: "Avenir Next", sans-serif; font-weight: 500; font-size: 18px; text-transform: uppercase; color: #000; margin-top: 10px; display: block; }
.product-name-tag { font-family: "Avenir Next", sans-serif; font-weight: 500; font-size: 14px; color: #7D7D7D; margin-top: 2px; display: block; }

@media (min-width: 768px) {
    .products-mosaic { grid-template-columns: repeat(3, 1fr); }
}

/* Sekcja Virale — zdjęcie + czarny panel z opisem, 4 kolumny na desktopie (wg Figma) */
.virals-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.viral-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.viral-img-wrapper { position: relative; width: 100%; aspect-ratio: 338 / 448; background: #e0e0e0; }
.viral-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.viral-info { background-color: #000; padding: 24px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.viral-title { font-family: "Avenir Next", sans-serif; font-weight: 500; font-size: 18px; text-transform: uppercase; color: #fff; margin-bottom: 2px; }
.viral-tagline { font-family: "Avenir Next", sans-serif; font-weight: 500; font-size: 14px; color: #A7A7A7; margin-bottom: 12px; }
.viral-desc { font-family: "Avenir Next", sans-serif; font-weight: 500; font-size: 14px; color: #fff; line-height: 1.4; }

@media (min-width: 768px) {
    .virals-grid { grid-template-columns: repeat(4, 1fr); }
}
.viral-price { font-size: 1.3rem; font-weight: bold; color: var(--hover-orange); }


/* =========================================
   8. KARUZELA LAUREATÓW
   ========================================= */
.carousel-wrapper { position: relative; width: 100%; margin-top: 2rem; }
.laureaci-group { display: none; gap: 1.5rem; overflow-x: auto; padding-bottom: 1rem; scroll-snap-type: x mandatory; scrollbar-width: none; }
.laureaci-group::-webkit-scrollbar { display: none; }
.laureaci-group.active { display: flex; }
.carousel-item-sc { flex: 0 0 82%; scroll-snap-align: start; display: flex; flex-direction: column; position: relative; }
@media (min-width: 768px) { .carousel-item-sc { flex: 0 0 31.5%; } }
.placeholder-image-container { position: relative; width: 100%; height: 240px; background-color: #e0e0e0; border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; border-radius: 0; }
.placeholder-label { position: relative; background: #ffffff; padding: 0.4rem 1rem; font-weight: bold; font-size: 0.9rem; border: 1px solid var(--border-color); z-index: 2; border-radius: 0;}
.carousel-item-meta { display: flex; justify-content: flex-start; gap: 0.5rem; margin-top: 0.75rem; font-size: 1rem; }
.carousel-item-meta .name { font-weight: bold; color: #000; }
.carousel-item-meta .id-number { color: var(--text-muted); }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: #ffffff; border: 1px solid var(--border-color); width: 40px; height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 5; font-weight: bold; font-size: 1.1rem; border-radius: 0;}
.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }


/* =========================================
   9. STRONY TEKSTOWE (FAQ, REGULAMIN, POLITYKA)
   ========================================= */

/* Nowa struktura dla tekstu regulaminu / FAQ / Polityki */
.text-page-main {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 16px 40px 16px; /* Mobile: Top 30px, Sides 16px, Bottom 40px (odstęp do widgetu) */
    box-sizing: border-box;
}

.title-with-action {
    margin-bottom: 2.5rem; 
}
.title-with-action h1 { margin-bottom: 0; font-size: 2rem; }

.text-page-content h3 { font-size: 1.2rem; margin-top: 2.5rem; margin-bottom: 1rem; }

/* Usunięcie marginesów z paragrafów wewnątrz podstron tekstowych by punkty były tuż pod sobą */
.text-page-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 1rem;
}
.text-page-content p:last-child { margin-bottom: 0; }

.text-page-content h4 { font-size: 1.05rem; margin-top: 1.5rem; margin-bottom: 0.5rem; }

.text-page-content ul, .text-page-content ol {
    margin: 0 0 1rem 0;
    padding-left: 1.4rem;
}
.text-page-content li {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 0.5rem;
}
.text-page-content li:last-child { margin-bottom: 0; }

.reg-table-wrap {
    overflow-x: auto;
    margin: 0 0 1.5rem 0;
}
.text-page-content table {
    width: 100%;
    min-width: 500px;
    border-collapse: collapse;
    font-size: 0.85rem;
}
.text-page-content th, .text-page-content td {
    border: 1px solid var(--border-color);
    padding: 0.6rem 0.75rem;
    text-align: left;
    vertical-align: top;
    line-height: 1.4;
}
.text-page-content th {
    background-color: #f4f4f4;
    font-weight: bold;
}

/* Separator pod treścią */
.text-page-separator {
    width: 100%;
    height: 1px;
    background-color: #000000;
    border: none;
    margin: 40px 0;
}

/* Kontener dla dolnego przycisku CTA */
.cta-bottom-container {
    display: flex;
    justify-content: flex-start;
}
.cta-pdf-btn {
    text-decoration: none !important;
    display: inline-block;
}

/* Style przycisku wywodzące się z konkursu */
.submit-btn-solid {
    background-color: var(--text-color, #000);
    color: var(--bg-color, #fff);
    border: none;
    padding: 1rem 2rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.2s;
}
.submit-btn-solid:hover {
    background-color: #4d4d4d;
    color: var(--bg-color, #fff);
}

.faq-container { display: flex; flex-direction: column; gap: 1rem; }
.faq-item { border: 1px solid var(--border-color); background: #ffffff; }
.faq-question { padding: 1.25rem 1.5rem; font-size: 1.1rem; font-weight: bold; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; margin: 0; }
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after { content: '▼'; font-size: 0.8rem; transition: transform 0.3s ease; }
.faq-item[open] .faq-question::after { transform: rotate(180deg); }
.faq-item[open] .faq-question { border-bottom: 1px solid #f0f0f0; margin-bottom: 1rem; }
.faq-answer { padding: 0 1.5rem 1.5rem 1.5rem; font-size: 0.95rem; line-height: 1.6; color: #444; }


/* =========================================
   11. PODSTRONA: GALERIA ZGŁOSZEŃ
   ========================================= */
.beauty-tabs.week-filters { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 1rem; padding-bottom: 1.5rem; margin-bottom: 2rem; scroll-snap-type: x mandatory; scrollbar-width: none; border-bottom: none; }
.beauty-tabs.week-filters::-webkit-scrollbar { display: none; }
.beauty-tabs.week-filters a { flex: 0 0 calc(50% - 0.5rem); flex-direction: column; align-items: flex-start; white-space: normal; border-radius: 0; padding: 1rem; border: 1px solid var(--text-color); background: #ffffff; scroll-snap-align: start; transition: background-color 0.2s; }
.beauty-tabs.week-filters a.active { background: #fbfbfb; box-shadow: inset 0 0 0 1px var(--text-color); }
.tab-top-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.5rem; width: 100%; font-size: 0.9rem; margin-bottom: 0.75rem; color: var(--text-color); font-weight: bold; border-bottom: 1px solid var(--text-color); padding-bottom: 0.5rem; }
.tab-question { font-size: 0.85rem; font-weight: normal; line-height: 1.4; color: var(--text-color); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Zmiana odstępów w siatce galerii na takie, jak pomiędzy tygodniami (1rem) */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 3rem; }
.gallery-item { display: flex; flex-direction: column; gap: 0; } /* gap 0, zlikwidowane na rzecz paddingu na textach */

/* Zmiana proporcji boksów na równy kwadrat i usunięcie bordera */
.gallery-box { position: relative; width: 100%; aspect-ratio: 1 / 1; border: none; background: #fcfcfc; cursor: pointer; display: flex; flex-direction: column; overflow: hidden; transition: border-color 0.2s; }
.gallery-box:hover { border-color: var(--text-color); }
.gallery-box.image-box { background-color: #e0e0e0; align-items: center; justify-content: center; color: var(--text-muted); font-weight: bold; font-size: 0.85rem; }
.gallery-box.text-box { padding: 1.5rem; }

.gallery-text-snippet { font-size: 0.95rem; line-height: 1.5; color: var(--text-color); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.winner-badge { position: absolute; top: 0; left: 0; background-color: var(--hover-orange); color: #fff; font-size: 0.75rem; font-weight: bold; text-transform: uppercase; padding: 0.2rem 0.5rem; z-index: 2; }
.winner-badge.place-1 { background-color: #FFD700; color: #000; } 
.winner-badge.place-2 { background-color: #E0E0E0; color: #000; } 
.winner-badge.place-3 { background-color: #CD7F32; color: #fff; } 
.text-modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.75); display: none; align-items: center; justify-content: center; z-index: 10000; }
.text-modal-content { background: var(--bg-color); padding: 3rem 2.5rem; max-width: 600px; width: 90%; position: relative; border: 1px solid var(--text-color); box-shadow: 0 10px 30px rgba(0,0,0,0.3); display: flex; flex-direction: column; }
.text-modal-content .close-btn { position: absolute; top: 1rem; right: 1.5rem; background: none; border: none; font-size: 1.5rem; cursor: pointer; }
.text-modal-body { font-size: 1.1rem; line-height: 1.7; }
.modal-nav { display: flex; justify-content: space-between; margin-top: 2rem; border-top: 1px solid var(--border-color); padding-top: 1rem; }


/* Wewnątrz sekcji z Media Queries zaktualizuj klasę galerii: */
/* Tablet / Desktop (od 768px) */
@media (min-width: 768px) {
  /* ... inne reguły ... */
  
  /* Aktualizacja odstępu również dla desktopu */
  .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  
  /* ... inne reguły ... */
}

/* =========================================
   SEKCJA: "Poznaj wszystkich laureatów tego tygodnia" (galeria.html)
   ========================================= */
.results-cta-section {
    margin-top: 4rem;
    margin-bottom: 2rem;
    border-top: 1px solid var(--border-color);
}
.results-cta-section .week-navigation {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
}
.results-cta-inner {
    max-width: 600px;
    margin: 0 auto;
    padding: 3.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.results-cta-badge { width: 90px; height: auto; margin-bottom: 1.5rem; }
.results-cta-inner h2 { font-size: 1.5rem; margin-bottom: 0.75rem; text-align: center; }
.results-cta-inner p { font-size: 1rem; margin-bottom: 2rem; line-height: 1.5; }

/* =========================================
   12. PODSTRONA: KONCERT FINAŁOWY
   ========================================= */
.concert-feature-row { display: flex; flex-direction: column; margin-bottom: 4rem; }
.concert-feature-img { width: calc(100% + 2rem); margin-left: -1rem; height: 250px; margin-bottom: 1.5rem; border: none; }
.concert-feature-text { padding: 0; display: flex; flex-direction: column; align-items: flex-start; }
.concert-feature-text h3 { font-size: 1.5rem; margin-bottom: 1rem; }


/* =========================================
   13. KARTY AUDIO (Gratulacje)
   ========================================= */
.audio-congrats-wrapper { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 1.5rem; margin-bottom: 3rem; }
.audio-box { display: flex; align-items: center; border: 1px solid var(--text-color); background: #fbfbfb; padding: 1.5rem; gap: 1.5rem; cursor: pointer; transition: background 0.2s; width: 100%; }
.audio-box:hover { background: #f4f4f4; }
.audio-play-btn { width: 48px; height: 48px; border-radius: 50%; background: var(--text-color); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.audio-info { display: flex; flex-direction: column; flex-grow: 1; }
.audio-title { font-weight: bold; font-size: 1.1rem; margin-bottom: 0.2rem; }
.audio-action { font-size: 0.85rem; color: var(--hover-orange); text-transform: uppercase; font-weight: bold; }
.audio-wave { display: block; color: var(--text-muted); font-weight: bold; letter-spacing: 2px; font-size: 0.8rem; }


/* =========================================
   14. MEDIA QUERIES (RWD)
   ========================================= */
/* Mobile (do 767px) */
@media screen and (max-width: 767px) {
  .desktop-br { display: none; }
  .results-cta-inner h2 { text-align: center; }
  
  .v-timeline::after { left: 20px; }
  .v-timeline-item { width: 100%; padding-left: 50px; padding-right: 0; }
  .v-timeline-item.left, .v-timeline-item.right { left: 0; }
  .v-timeline-item.left::after, .v-timeline-item.right::after { left: 9px; }
  
  .sidebar-top-row { flex-direction: row; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: nowrap;}
  .custom-dropdown { width: auto; flex: 1; min-width: 0; }
  
  .global-nav ul.responsive-menu {
    gap: 0.5rem;
    justify-content: space-between;
    padding: 0 1rem 1rem 1rem;
  }
  
  .responsive-menu li { flex: 1; }
  .responsive-menu li a { font-size: 0.75rem; max-width: 100%; word-wrap: break-word; }
}

/* Tablet / Desktop (od 768px) */
@media (min-width: 768px) {
  h1 { font-size: 24px; }
  p { font-size: 14px; }
  .cta-link { font-size: 14px; }
  
  .hero-content { max-width: 75%; }
  section { padding: 4rem 3rem; }
  
  .icon-menu-carousel { overflow-x: visible; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; }
  .timeline-item { flex: 0 0 50vw; }
  
  .event-cards-grid { grid-template-columns: repeat(2, 1fr); } 
  .inspiration-card { flex: 0 0 calc(50% - 0.75rem); }
  .event-carousel .event-card { flex: 0 0 calc(50% - 0.75rem); } 
  
  .inspiration-img { height: 400px; }
  .carousel-arrow { top: calc(200px - 20px); }
  .product-carousel-wrapper .carousel-arrow { top: 125px; } 
  
  #nowy-konkurs-sanah { padding: 4rem 3rem; }
  .konkurs-boxes { flex-direction: row; }
  .konkurs-box { flex: 1; }
  #insp-carousel-new .inspiration-card { flex: 0 0 calc(33.333% - 1rem); }
  
  .beauty-tabs.week-filters a { flex: 0 0 calc(25% - 0.75rem); }

  .concert-feature-row { flex-direction: row; align-items: center; gap: 3rem; }
  .concert-feature-row:nth-child(even) { flex-direction: row-reverse; }
  .concert-feature-img { flex: 0 0 50%; height: 350px; margin-left: 0; margin-bottom: 0; object-fit: cover; width: auto; }
  .concert-feature-text { flex: 1; }

  .audio-congrats-wrapper { flex-direction: row; }
  .audio-box { flex: 1; }
  .audio-wave { display: block; }

  .gallery-grid { grid-template-columns: repeat(4, 1fr); }

  /* Breadcrumbs i sekcja tekstowa dla Desktopu */
  .breadcrumb-inner { padding: 0 40px; }
  
  .text-page-main {
      padding: 60px 40px 90px 40px; /* Top 60px, Sides 40px, Bottom 90px (odstęp do widgetu) */
  }
}

/* Szeroki Desktop (od 1440px) */
@media (min-width: 1440px) {
  .breadcrumb-inner, .text-page-main {
      padding-left: 0;
      padding-right: 0; 
  }
}

/* Duży Desktop (ponad 1024px inne elementy) */
@media (min-width: 1024px) {
  .hero-content { margin-top: 0; margin-bottom: 2rem; max-width: 75%; }
  section { padding: 4rem 10%; }
  
  #icon-menu { padding: 1.5rem 0 0 0; width: 100%; }
  .icon-menu-carousel { justify-content: flex-start; gap: 1.5rem; }
  .timeline-item { flex: 0 0 35vw; }
  
  #nowy-konkurs-sanah { padding: 4rem 10%; }

  .event-carousel .event-card { flex: 0 0 calc(50% - 0.75rem); }
  .final-concert-promo { padding: 0 10%; }

  .product-carousel-wrapper .carousel-arrow { display: none !important; }
  .product-carousel { overflow-x: visible; justify-content: space-between; gap: 1.5rem; }
  .product-card { flex: 1; min-width: 0; }
  
}

/* =========================================
COUNTDOWN WIDGET
========================================= */
.homepage-countdown { margin-top: 3rem; margin-bottom: 3rem; }
.countdown-subtitle { margin-bottom: 1.5rem; }
.countdown-responsive { justify-content: flex-start; }
@media (max-width: 767px) {
    .countdown-responsive { gap: 0.5rem; flex-wrap: nowrap; }
    .countdown-responsive .counter-box { flex: 1; min-width: 0; }
    .countdown-responsive .counter-number { width: 100%; min-width: auto; font-size: 2rem; padding: 0.75rem 0.25rem; }
    .countdown-responsive .counter-label { font-size: 0.7rem; }
}
.global-countdown-widget {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background-color: #EBF0EA;
    padding: 2rem 1rem 0 1rem;
    box-sizing: border-box;
    overflow: visible;
    position: relative;
}
.global-countdown-widget .countdown-inner-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}
.global-countdown-widget .countdown-label {
    font-family: "Avenir Next", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #000000;
}
.global-countdown-widget .countdown-heading {
    display: block;
    font-family: "Avenir Next", sans-serif;
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 1.3;
    margin: 0;
    color: #000000;
    max-width: 643px;
    width: 100%;
    text-transform: uppercase;
    word-break: break-word;
}
.global-countdown-widget .counter-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1px;
    justify-content: flex-start;
    align-items: flex-start;
    margin-top: 1.5rem;
}
.global-countdown-widget .counter-box {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 10px;
    border: 1px solid var(--border-color);
    border-radius: 0;
    min-width: 96px;
    flex: 1 1 110px;
    box-shadow: none;
}
.global-countdown-widget .counter-number {
    font-family: "Avenir Next", sans-serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 100%;
    letter-spacing: 0;
    text-align: center;
    text-transform: uppercase;
    color: #000000;
    margin-bottom: 0.25rem;
}
.global-countdown-widget .counter-label {
    font-family: "Avenir Next", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #000000;
}
.global-countdown-widget .global-countdown-image-mobile {
    width: 100%;
    height: 558px;
    min-height: 558px;
    background-image: url('assets/licznik_background_mobile-2.png');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    margin-top: 1.5rem;
    border-radius: 0;
    position: relative;
}
.global-countdown-widget .countdown-badge-wrap {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 50%);
    width: min(220px, 60vw);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
}
.global-countdown-widget .countdown-badge-rotating {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform;
}
.global-countdown-widget .countdown-badge-bg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.global-countdown-widget .countdown-badge-label {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    pointer-events: none;
    transform: scale(0.6);
}
@media (min-width: 768px) {
    .global-countdown-widget {
        padding: 0;
        height: 768px;
        display: flex;
        align-items: center;
        background-image: url('assets/licznik_background_desktop-2.png');
        background-size: cover;
        background-position: top center;
        background-repeat: no-repeat;
    }
    .global-countdown-widget .countdown-inner-container {
        width: 100%;
        padding-left: 1rem;
    }
    .global-countdown-widget .counter-grid {
        gap: 1px;
    }
    .global-countdown-widget .counter-box {
        min-width: 120px;
        max-width: 160px;
        padding: 14px 16px;
        box-shadow: none;
    }
    .global-countdown-widget .global-countdown-image-mobile {
        display: none;
    }
}
@media (max-width: 767px) {
    /* Tło sekcji dopasowane do koloru tła zdjęcia poniżej (zamiast miętowego),
       żeby przejście między tekstem a zdjęciem było płynne, bez widocznego szwu. */
    .global-countdown-widget {
        background-color: #E9E9E7;
    }
    .global-countdown-widget .counter-grid {
        gap: 1px;
    }
    .global-countdown-widget .counter-box {
        padding: 10px 6px;
        min-width: 0;
        flex: 1 1 0;
    }
    .global-countdown-widget .counter-number {
        font-size: 2rem;
        margin-bottom: 0.2rem;
    }
    .global-countdown-widget .counter-label {
        font-size: 0.75rem;
    }
    .global-countdown-widget .global-countdown-image-mobile {
        width: calc(100% + 2rem);
        margin: 1.5rem -1rem 0;
        height: 558px;
        min-height: 558px;
        border-radius: 0;
        background-position: top center;
    }
}
/* =========================================
   15. NOWE STYLE DLA STRONY GŁÓWNEJ
   ========================================= */
.new-koncert-info-wrapper { display: flex; flex-direction: column; gap: 2rem; margin-top: 2rem; margin-bottom: 4rem; }
@media (min-width: 768px) {
    .new-koncert-info-wrapper { flex-direction: row; align-items: center; }
    .nki-image { flex: 1; }
    .nki-content { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
}
.nki-icons { display: flex; gap: 1rem; margin-bottom: 1rem; }
.nki-icons .placeholder-icon-lg { width: 40px; height: 40px; background-color: #e0e0e0; border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; color: var(--text-muted); }
.nki-date-place { font-weight: 600; font-size: 1.05rem; margin-bottom: 1rem; line-height: 1.4; }
.nki-desc { font-size: 1rem; margin-bottom: 1.5rem; line-height: 1.5; }

.cta-framed { display: inline-block; padding: 0.8rem 1.5rem; border: 2px solid var(--text-color); color: var(--text-color); text-transform: uppercase; font-weight: bold; text-decoration: none; font-size: 0.9rem; transition: all 0.2s; }
.cta-framed:hover { background: var(--text-color); color: #fff; }
/* Usunięcie podkreślenia w hoverze dla przycisku w sekcji odliczania */
.homepage-countdown-nested .cta-framed:hover {
    text-decoration: none !important;
}

.steps-grid-static { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 768px) {
    .steps-grid-static { flex-direction: row; justify-content: space-between; gap: 2rem; }
}
.step-item-horizontal { display: flex; flex-direction: row; align-items: center; gap: 1.25rem; text-align: left; flex: 1; }
.step-item-horizontal .placeholder-img { width: 80px; height: 80px; min-height: auto; flex-shrink: 0; }
.step-item-horizontal p { font-weight: 600; font-size: 1.05rem; margin-bottom: 0; line-height: 1.4; }

.homepage-countdown-fullwidth { background-color: #fff; width: 100%; padding: 4rem 1rem; margin: 0; border-bottom: 1px solid var(--border-color); }
.countdown-inner-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: flex-start; }
.countdown-h4 { font-size: 1.5rem; font-weight: 600; margin-bottom: 2rem; }

/* =========================================
   16. ANIMOWANA WSTĄŻKA (MARQUEE) ZWYKŁA I SCROLLOWANA
   ========================================= */
.marquee-ribbon { background-color: #E3CA95; height: 60px; display: flex; align-items: center; overflow: hidden; width: 100%; white-space: nowrap; position: relative; }

/* Domyślna samoczynna animacja */
.marquee-content { display: flex; align-items: center; gap: 24px; padding-right: 24px; animation: marquee-scroll 50s linear infinite; }
.marquee-content span { font-family: "Avenir Next", sans-serif; font-weight: 500; font-size: 12px; line-height: 100%; letter-spacing: 0.07em; text-transform: uppercase; color: #000000; }
.marquee-content img { height: 24px; width: auto; }
@keyframes marquee-scroll { 0% { transform: translateX(-100%); } 100% { transform: translateX(0); } }

/* Animacja sterowana przez scroll JS */
.marquee-track-scroll { display: flex; width: fit-content; transform: translateX(-50%); will-change: transform; }
.marquee-content-fixed { display: flex; align-items: center; gap: 24px; padding-right: 24px; flex-shrink: 0; }
.marquee-content-fixed span { font-family: "Avenir Next", sans-serif; font-weight: 500; font-size: 12px; line-height: 100%; letter-spacing: 0.07em; text-transform: uppercase; color: #000000; white-space: nowrap; }
.marquee-content-fixed img { height: 24px; width: auto; }


/* =========================================
   NAGRODY (Bilety - Design V2)
   ========================================= */
.nagrody-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 4rem 1rem;
    box-sizing: border-box;
    text-align: center;
    background: linear-gradient(to bottom, #F4F1EE 0%, #F4F1EE 50%, #ffffff 50%, #ffffff 100%);
    border-bottom: none !important; /* Wymuszone usunięcie separatora */
}
@media (min-width: 768px) {
    .nagrody-section { padding: 6rem 10%; }
}

.nagrody-header { margin-bottom: 3rem; max-width: 900px; margin-left: auto; margin-right: auto; }
.nagrody-header h2 { text-align: center; margin-bottom: 1rem; }
.nagrody-header p { text-align: center; font-size: 1.1rem; font-weight: 500; margin: 0; }
.nagrody-header p.nagrody-weekly-label { margin-top: 1.5rem; }
.nagrody-footnote { font-size: 1.1rem; font-weight: 500; margin: 2rem 0 0; }

/* Overrides (pomocnicze klasy) */
.black-text { color: #000 !important; }
.white-text { color: #fff !important; }
.mint-text { color: #CDEBE2 !important; }
.icon-black { filter: brightness(0) !important; }

/* KONTENERY */
.ticket-mobile-wrapper { display: none; }
.tickets-desktop-wrapper { display: none; }

/* ----- DESKTOP TICKET ----- */
@media (min-width: 768px) {
    /* Wymiary 1:1 wg specyfikacji Figma (Inspect panel): kombinowana
       ramka obu biletów 763×216px — ramka NIE zachowuje proporcji
       natywnego pliku SVG (381×264), projektant spłaszczył kształt. */
    .tickets-desktop-wrapper {
        display: flex;
        width: 100%;
        max-width: 763px;
        margin: 0 auto;
        gap: 0; /* Bilety przylegają do siebie */
        filter: drop-shadow(0 15px 30px rgba(0,0,0,0.1));
    }

    .ticket-left, .ticket-right {
        flex: 0 0 50%;
        min-width: 0;
        display: flex;
        flex-direction: column;
        height: 216px;
        padding: 7px 3rem 1rem 3rem;
        background-size: 100% 100%;
        background-repeat: no-repeat;
        border-radius: 0;
        text-align: left;
        justify-content: flex-start;
    }

    /* Pozycja liczby "250" wg Figma: left 112px, top 7px w ramce biletu. */
    .ticket-left {
        padding-left: 112px;
    }
    
    .ticket-num-text {
        text-transform: uppercase;
    }

    .ticket-left {
        background-image: url('assets/bilet_normal-desktop.svg');
        background-position: center;
    }
    
    .ticket-right {
        background-image: url('assets/bilet_vip-desktop.svg');
        background-position: center;
    }

    .td-bot {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .ticket-big-number-row.align-items-center {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    /* Bilet VIP: liczba i etykieta obok siebie (wg Figma), nie jedna nad drugą. */
    .ticket-right .ticket-big-number-row.align-items-center {
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
    }

    .ticket-num {
        font-size: 96px;
        font-weight: 400;
        line-height: 1;
        letter-spacing: -0.05em;
    }

    .ticket-num-text {
        font-size: 1.05rem;
        font-weight: 500;
        line-height: 1.2;
    }

    .ticket-list {
        list-style: none;
        padding: 0;
        margin: 0.6rem 0 0 0;
    }

    .ticket-list li {
        position: relative;
        padding-left: 1.2rem;
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
        font-weight: 500;
        line-height: 1.25;
    }
    
    .ticket-list li::before {
        content: '✦';
        position: absolute;
        left: 0;
        top: -1px;
        font-size: 0.85rem;
    }
}

/* ----- MOBILE TICKET ----- */
@media (max-width: 767px) {
    .ticket-mobile-wrapper {
        display: flex;
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
        filter: drop-shadow(0 15px 30px rgba(0,0,0,0.1));
    }
    
    .ticket-mobile {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0;
        text-align: left;
    }

    /* Dopasowanie marginesów z uwagi na wycięcia SVG z prawej strony */
    .tm-top { padding: 2rem 2.5rem 1.5rem 2rem; }
    .tm-mid {
        padding: 1.5rem 2.5rem 2rem 2rem;
        background-image: url('assets/bilet_vip-mobile.svg');
        background-size: 100% 100%;
        background-repeat: no-repeat;
        background-position: center;
    }
    .tm-bot {
        padding: 2rem 2.5rem 2rem 2rem;
        background-image: url('assets/bilet_normal-mobile.png');
        background-size: 100% 100%;
        background-repeat: no-repeat;
        background-position: center;
    }

    .tm-top h3 { font-size: 1.2rem; font-weight: 500; margin-bottom: 0.2rem; }
    .tm-top p { font-size: 0.95rem; font-weight: 500; margin-bottom: 1.5rem; line-height: 1.3; }
    
    .tm-info-row { display: flex; flex-direction: column; gap: 0.5rem; }
    .ticket-info { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; font-weight: 500; }
    .ticket-info img { width: 16px; height: 16px; }

    .ticket-big-number-row { display: flex; flex-direction: column; align-items: flex-start; gap: 0.25rem; }
    .ticket-num { font-size: 3.5rem; font-weight: 300; line-height: 1; }
    .ticket-num-text { font-size: 1rem; font-weight: 500; line-height: 1.2; text-transform: uppercase; }

    .ticket-list { list-style: none; padding: 0; margin: 1.5rem 0 0 0; }
    .ticket-list li { position: relative; padding-left: 1.2rem; font-size: 0.9rem; margin-bottom: 0.5rem; font-weight: 500; line-height: 1.3; }
    .ticket-list li::before { content: '✦'; position: absolute; left: 0; top: -1px; font-size: 0.8rem; }
}

/* Usunięcie obramowania w widgecie JS zgłoszeń */
#best-submissions-widget-placeholder {
    border-top: none !important;
}

/* =========================================
   FAQ - SPECJALNE STYLE (Design V2)
   ========================================= */

/* Hero Widget dla FAQ */
.faq-hero-widget {
    border-top: none;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}
.faq-hero-image {
    width: 100%;
    height: 420px;
    padding: 0;
    box-sizing: border-box;
}
.faq-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}
.faq-hero-content {
    width: 100%;
    padding: 20px 16px; /* Zredukowany padding, by usunąć zbędne odstępy */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
.faq-hero-heading {
    font-family: "Avenir Next", sans-serif;
    font-weight: 500;
    font-size: 2rem;
    line-height: 1.1;
    margin-top: 0;
    margin-bottom: 1rem;
    text-align: left;
    text-transform: uppercase;
}
.faq-hero-desc {
    font-family: "Avenir Next", sans-serif;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.4;
    color: var(--text-color);
    margin-bottom: 0;
    text-align: left;
}

@media (min-width: 768px) {
    .faq-hero-widget {
        flex-direction: row;
        align-items: stretch;
    }
    .faq-hero-image {
        width: 50%;
        height: auto;
        min-height: 300px;
        padding: 0;
    }
    .faq-hero-content {
        width: 50%;
        padding: 40px;
        justify-content: center;
    }
    .faq-hero-heading {
        font-size: 2.5rem;
    }
    .faq-hero-desc {
        font-size: 1.15rem;
    }
}

/* Lista Akordeonów FAQ */
.faq-list-wrapper {
    max-width: 900px; /* Zmienione z 670px na 900px (zgodnie z breadcrumb) */
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .faq-list-wrapper {
        padding: 0 40px; /* Margines zgodny ze ścieżką nawigacji na desktopie */
    }
}
@media (min-width: 1440px) {
    .faq-list-wrapper {
        padding-left: 0;
        padding-right: 0;
    }
}

.faq-page-item {
    border-bottom: 1px solid #000;
    background: transparent;
    padding: 24px 0;
}
.faq-page-item:first-child {
    border-top: 1px solid #000;
}

.faq-page-question {
    font-family: "Avenir Next", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 18px;
    line-height: 1;
    color: #000;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Wyrównanie strzałki do pierwszej linii tekstu */
    gap: 68px; /* Odstęp między pytaniem a strzałką na desktopie */
    margin: 0;
    padding-right: 0;
}
.faq-page-question::-webkit-details-marker { display: none; }
.faq-page-question::after {
    content: '';
    width: 14px;
    height: 8px;
    flex-shrink: 0;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 14 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L7 7L13 1" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center;
    transition: transform 0.3s ease;
    margin-top: 5px; /* Wyśrodkowanie pionowe względem tekstu (18px) */
}
.faq-page-item[open] .faq-page-question::after {
    transform: rotate(180deg);
}

.faq-page-answer {
    padding-top: 20px;
}
.faq-page-answer p {
    font-family: "Avenir Next", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 14px;
    line-height: 1;
    color: #000;
    margin-bottom: 1rem;
}
.faq-page-answer p:last-child {
    margin-bottom: 0;
}
.faq-page-answer ul,
.faq-page-answer ol {
    font-family: "Avenir Next", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
    color: #000;
    margin: 0 0 1rem 0;
    padding-left: 1.2rem;
}
.faq-page-answer li {
    margin-bottom: 0.5rem;
}
.faq-page-answer li:last-child {
    margin-bottom: 0;
}

.faq-section-heading {
    font-family: "Avenir Next", sans-serif;
    font-weight: 500;
    font-size: 1.3rem;
    margin: 3rem 0 0.5rem 0;
    text-transform: uppercase;
}
.faq-list-wrapper > .faq-section-heading:first-child {
    margin-top: 0;
}

/* Unikalny layout dla odpowiedzi na pytanie nr 7 */
.faq-q7-container {
    display: flex;
    gap: 57px; /* Odstęp między ikonami a grafiką telefonu */
    align-items: center;
    justify-content: flex-start;
    margin-top: 0.5rem;
}
.faq-q7-steps {
    flex: 0 1 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.faq-q7-step {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 46px; /* Odstęp między tekstem a ikoną */
    width: 100%;
}
.faq-q7-step-text {
    width: 100%;
    max-width: 325px; /* Maksymalna szerokość tekstu na desktopie */
    font-family: "Avenir Next", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    color: #000;
}
.faq-q7-step-text a {
    text-decoration: underline;
    color: inherit;
}
.faq-q7-step img {
    width: 40px;
    height: auto;
    flex-shrink: 0;
}
.faq-q7-image {
    width: 140px;
    flex-shrink: 0;
}
.faq-q7-image img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 767px) {
    .faq-page-question {
        gap: 50px; /* Odstęp między pytaniem a strzałką na mobile */
    }
    .faq-q7-container {
        flex-direction: row; /* Zmienione na wiersz, aby elementy były obok siebie na mobile */
        gap: 15px; /* Zmniejszony odstęp między ikonami a grafiką telefonu na mobile */
        align-items: center;
    }
    .faq-q7-steps {
        gap: 1rem;
    }
    .faq-q7-step {
        gap: 10px; /* Zmniejszony odstęp między tekstem a ikoną na mobile */
    }
    .faq-q7-step-text {
        max-width: 100%; /* Elastyczna szerokość pozwalająca wypełnić przestrzeń */
        font-size: 12px; /* Zmniejszony tekst na mobile */
    }
    .faq-q7-step img {
        width: 24px; /* Zmniejszone ikony na mobile */
    }
    .faq-q7-image {
        width: 85px; /* Zmniejszony telefon na mobile */
        margin: 0; /* Brak marginesów wyśrodkowujących */
    }
}
/* ═══════════════════════════════════════════════════════════════════════════
   KOMPONENT: SEKCJA KONCERTU FINAŁOWEGO (róż #F98491 + plakat + badge with-love)
   Współdzielony komponent — użyty na konkurs.html i nasza-historia.html.
   ═══════════════════════════════════════════════════════════════════════════ */
.concert-final-section {
    background-color: #F98491;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 4rem 1rem;
    margin-top: 0;
    box-sizing: border-box;
}
.concert-final-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}
@media (min-width: 900px) {
    .concert-final-container { flex-direction: row; gap: 4rem; align-items: flex-start; }
}
/* Odznaka "25 with love" jest teraz prawdziwym sąsiadem zdjęcia w wierszu
   flex (nie nakładką position:absolute) — plakat kurczy się (flex-shrink),
   żeby zrobić jej miejsce, więc na żadnej szerokości ekranu na nie nie
   nachodzi (wcześniejsze warianty z ujemnym top/left albo bottom:100%
   zawsze gdzieś kolidowały: z fotografią na wąskich ekranach albo z sekcją
   powyżej). */
.concert-img-wrapper { width: 100%; display: flex; align-items: flex-start; justify-content: center; gap: 14px; }
@media (min-width: 900px) {
    .concert-img-wrapper { width: 50%; justify-content: flex-start; }
}
.concert-poster-container { position: relative; flex: 1 1 auto; min-width: 0; max-width: 400px; }
.concert-poster { width: 100%; height: auto; display: block; }
.with-love-badge-wrapper { flex: 0 0 auto; }
.with-love-badge { width: 60px; height: auto; display: block; }
@media (min-width: 768px) { .with-love-badge { width: 90px; } }
.concert-info-box { width: 100%; text-align: left; display: flex; flex-direction: column; align-items: flex-start; }
@media (min-width: 900px) { .concert-info-box { width: 50%; } }
.concert-info-box h2 { font-size: 1.5rem; line-height: 1.3; margin-bottom: 1.5rem; text-transform: uppercase; font-weight: 500; margin-top: 0; }
@media (min-width: 768px) { .concert-info-box h2 { font-size: 1.6rem; } }
.concert-divider { border: none; border-top: 1px solid #000; margin: 1.25rem 0; width: 100%; }
.concert-details-list { list-style: none; padding: 0; margin: 0; width: 100%; }
.concert-details-list li { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; font-weight: 500; font-size: 0.95rem; }
.concert-details-list li:last-child { margin-bottom: 0; }
.concert-icon { width: 18px; height: 18px; flex-shrink: 0; }
.concert-desc { font-size: 0.95rem; line-height: 1.5; margin-bottom: 2rem; font-weight: 500; }

.cta-solid-black {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 1rem 2.5rem;
    font-family: inherit;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.2s;
    border: 1px solid #000;
    text-align: center;
}
.cta-solid-black:hover { background-color: #4d4d4d; color: #fff; text-decoration: none; }

/* ═══════════════════════════════════════════════════════════════════════════
   KOMPONENT: HISTORIA — nagłówek, wstążka, timeline, sekcja charytatywna
   ═══════════════════════════════════════════════════════════════════════════ */
.historia-header {
    max-width: 670px;
    margin: 0 auto;
    padding: 2.5rem 1rem 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    background-color: transparent;
    border-bottom: none;
}
.historia-header p { font-size: 0.95rem; line-height: 1.6; margin: 0; text-align: center; }
.historia-header-badge { width: 107px; height: auto; flex-shrink: 0; }
@media (min-width: 768px) {
    .historia-header { padding-top: 3rem; }
    .historia-header p { font-size: 1rem; }
}

.historia-ribbon-dark {
    background-color: #000;
    height: 40px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    display: flex;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}
.historia-ribbon-dark .marquee-content-fixed span { color: #E3CA95; }
.historia-ribbon-dark .marquee-content-fixed img { filter: brightness(0) saturate(100%) invert(85%) sepia(15%) saturate(500%) hue-rotate(0deg); }

.historia-timeline {
    max-width: 900px;
    margin: 0 auto;
    padding: 2.5rem 1rem 0 1rem;
    position: relative;
    display: flex;
    flex-direction: column;
}
.historia-timeline::before {
    content: '';
    position: absolute;
    left: calc(50% - 0.5px);
    top: 0;
    bottom: 0;
    width: 1px;
    background: #000;
    display: none;
}
.historia-timeline-col { display: contents; }
.historia-dot {
    display: block;
    position: absolute;
    left: 24px;
    width: 8px;
    height: 8px;
    margin-left: -4px;
    background: #000;
    transform: rotate(45deg);
    z-index: 2;
}
.historia-dot.historia-dot--light { background: #E3CA95; }

@media (min-width: 768px) {
    .historia-timeline::before { display: block; }
    .historia-timeline { flex-direction: row; align-items: flex-start; gap: 40px; }
    .historia-timeline-col { display: flex; flex-direction: column; flex: 1; }
    #historia-col-right { margin-top: 260px; }
    #historia-col-left { align-items: flex-end; }
    #historia-col-left .historia-milestone { width: 325px; text-align: right; }
    .historia-dot { left: 50%; }
    .historia-dot.historia-dot--light { background: #000; }
}

.historia-milestone {
    width: 100%;
    max-width: 325px;
    margin: 0 auto 3rem auto;
    text-align: left;
}
@media (max-width: 767px) {
    .historia-milestone {
        position: relative;
        max-width: 100vw;
        width: 100vw;
        margin: 0 0 0 calc(-50vw + 50%);
        padding: 2.5rem 1.5rem 2.5rem 3rem;
        box-sizing: border-box;
    }
    .historia-milestone::before {
        content: '';
        position: absolute;
        left: 24px;
        top: 0;
        bottom: 0;
        width: 1px;
        background: #000;
    }
    #historia-col-left .historia-milestone { background-color: #E3CA95; }
    #historia-col-right .historia-milestone { background-color: #000; }
    #historia-col-right .historia-milestone::before { background: #E3CA95; }
    #historia-col-right .historia-milestone-year,
    #historia-col-right .historia-milestone-title { color: #fff; }
    #historia-col-right .historia-milestone-desc { color: #E3CA95; }
}
@media (min-width: 768px) {
    .historia-milestone { margin: 0 0 4rem 0; }
}
.historia-milestone-year { font-family: "Avenir Next", sans-serif; font-weight: 400; font-size: 48px; margin-bottom: 10px; }
.historia-milestone-photo { width: 100%; aspect-ratio: 325/244; object-fit: cover; object-position: top; background-color: #F2F2F2; margin-bottom: 27px; display: block; }
.historia-milestone-title { font-family: "Avenir Next", sans-serif; font-weight: 500; font-size: 16px; text-transform: uppercase; margin-bottom: 10px; }
.historia-milestone-desc { font-family: "Avenir Next", sans-serif; font-weight: 500; font-size: 14px; line-height: 1.4; color: #000; }

.historia-charity {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    display: flex;
    flex-direction: column;
    background-color: #CDEBE2;
    position: relative;
}
.historia-charity-text {
    padding: 3rem 1rem;
}
.historia-charity-text-inner { max-width: 500px; margin: 0 auto; }
.historia-charity-text h2 { font-size: 1.5rem; text-transform: uppercase; font-weight: 500; margin-bottom: 1rem; }
.historia-charity-text p { font-size: 0.95rem; line-height: 1.6; }
.historia-charity-photo { width: 100%; height: 300px; object-fit: cover; display: block; }
@media (min-width: 900px) {
    .historia-charity { flex-direction: row; }
    .historia-charity-text { width: 50%; padding: 4rem; display: flex; align-items: center; }
    .historia-charity-text-inner { margin: 0; }
    .historia-charity-photo { width: 50%; height: auto; }
}

/* Pionowa kreska nad zdjęciem + pozycja odznaki "Celebration" wg Figma —
   znacznik siedzi na styku wstążki i sekcji, kreska schodzi od niego w dół. */
.historia-charity-divider {
    display: none;
}
@media (min-width: 900px) {
    .historia-charity .historia-charity-badge {
        left: 50%;
    }
    .historia-charity-divider {
        display: block;
        position: absolute;
        top: 0;
        left: 50%;
        width: 1px;
        height: 70px;
        background-color: #000;
        z-index: 5;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   KOMPONENT: JAK ZDOBYĆ BILET (mięta + kroki numerowane, bez ikon)
   Współdzielony — konkurs.html i index.html.
   ═══════════════════════════════════════════════════════════════════════════ */
.how-to-win-section {
    background-color: #CDEBE2;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 80px 0 73px 0;
    box-sizing: border-box;
    position: relative;
    margin-top: 4rem;
}
@media (min-width: 768px) {
    .how-to-win-section { padding: 100px 0 103px 0; }
}
.how-to-win-content { max-width: 1200px; margin: 0 auto; padding: 0 1rem; position: relative; z-index: 3; }
.how-to-win-section-label { display: block; font-family: var(--font-family-heading); font-weight: 500; font-size: 12px; text-transform: uppercase; color: #000; margin-bottom: 8px; }
.how-to-win-heading { margin-top: 0; margin-bottom: 40px; }
.how-to-win-grid { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 768px) {
    .how-to-win-grid { flex-direction: row; }
}
.win-step { display: flex; flex-direction: column; flex: 1; }
.win-step-number { font-family: var(--font-family-heading); font-size: 24px; font-weight: 600; margin-bottom: 10px; }
.win-step-line { height: 1px; background-color: #000000; width: 100%; margin-bottom: 21px; }
.win-step-title { font-family: var(--font-family-heading); font-weight: 500; font-size: 18px; line-height: 100%; margin-bottom: 12px; text-transform: none; }
.win-step-desc { font-size: 14px; line-height: 1.4; }

/* ═══════════════════════════════════════════════════════════════════════════
   KOMPONENT: BADGE CELEBRATION (rotujący napis nad how-to-win-section)
   Współdzielony — konkurs.html i index.html.
   ═══════════════════════════════════════════════════════════════════════════ */
.celebration-badge-wrapper {
    position: absolute;
    top: 0;
    left: 58%;
    transform: translate(-50%, -50%);
    width: 130px;
    height: 130px;
    z-index: 10;
    pointer-events: none;
}
@media (min-width: 768px) {
    .celebration-badge-wrapper { width: 160px; height: 160px; }
}
.badge-base { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.badge-text { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2; transform-origin: center; will-change: transform; }

/* =========================================
   WIDGET NAJLEPSZYCH ZGŁOSZEŃ (Wspólne style)
   ========================================= */
.best-submissions-widget { width: 100%; margin-top: 8rem; }

/* Poprawki dla wyśrodkowania na podstronie Konkurs */
.bsw-header-centered { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 900px; margin: 0 auto; }
.bsw-header-centered h2 { text-align: center !important; }
.bsw-header-centered .section-label { text-align: center !important; }

.bsw-header { max-width: 700px; }
.best-submissions-widget .bsw-header h2 { text-align: center; width: 100%; margin-bottom: 0; }
.bsw-divider { display: block; width: 1px; height: 24px; background-color: #000; margin: 0.9rem auto; }
.bsw-question { font-size: 1.05rem; line-height: 1.6; margin: 0 auto 2.5rem auto; color: var(--text-color, #000); max-width: 700px; text-align: center; }

/* Karuzela */
.submissions-carousel-wrapper { position: relative; width: 100%; margin-bottom: 2rem; }
.submissions-carousel { display: flex; gap: 2px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 1rem; }
.submissions-carousel::-webkit-scrollbar { display: none; }

/* Poprawka dla uciętego 6. slajdu w karuzeli zgłoszeń - 80px zapewnia ucieczkę spod strzałki */
.submissions-carousel::after {
    content: '';
    flex: 0 0 80px;
    display: block;
}

.bsw-card { flex: 0 0 85%; scroll-snap-align: start; display: flex; flex-direction: column; text-decoration: none; color: inherit; position: relative; cursor: pointer; }
.bsw-media { position: relative; width: 100%; aspect-ratio: 1 / 1; border: 1px solid transparent; transition: border-color 0.2s; overflow: hidden; }
.bsw-card:hover .bsw-media { border-color: var(--text-color, #000); }

/* Boks obrazu / wideo / tekstu */
.gallery-box { position: relative; aspect-ratio: 1 / 1; border: 1px solid #ccc; overflow: hidden; cursor: pointer; display: flex; flex-direction: column; transition: border-color 0.2s; }
.gallery-box:hover { border-color: var(--text-color); }
.gallery-box.image-box { background-color: #e0e0e0; align-items: center; justify-content: center; }
.gallery-box.video-box { background: #2a2a2a; color: #fff; align-items: center; justify-content: center; }
.gallery-box.video-box video { z-index: 1; }
.gallery-box.text-box { padding: 1.5rem; background-color: #F4F1EE; justify-content: center; }
.gallery-text-snippet { font-size: 0.95rem; font-style: italic; line-height: 1.6; text-align: center; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }

/* Meta informacje */
.gallery-meta.bsw-meta-text { padding: 10px; display: flex; justify-content: space-between; font-weight: bold; background-color: #F4F1EE; text-transform: uppercase; }
.bsw-meta-text .author { font-weight: 500; font-size: 0.7rem; color: #897E79; }
.bsw-meta-text .sub-id { font-size: 0.65rem; color: #897E79; font-weight: 500; }

/* Kontrolki i ikony - z-index i translateZ naprawiają zjadanie ikon przez video na iOS */
.sound-icon-box { width: 32px; height: 32px; background: #fff; border: 1px solid #333; display: flex; align-items: center; justify-content: center; z-index: 10 !important; cursor: pointer; transition: transform 0.2s ease; box-sizing: border-box; transform: translateZ(0); }
.gallery-item:hover .sound-icon-box { transform: scale(1.1) translateZ(0); }
.zoom-icon { width: 32px; height: 32px; transition: transform 0.2s ease; z-index: 10 !important; background: #fff; border: 1px solid #333; box-sizing: border-box; transform: translateZ(0); }
.gallery-item:hover .zoom-icon { transform: scale(1.1) translateZ(0); }

.video-play-indicator { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) translateZ(0) !important; font-size: 1.5rem; color: #fff; background: rgba(0, 0, 0, 0.6); border-radius: 50%; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, border-color 0.3s ease; z-index: 10 !important; cursor: pointer; }
.gallery-box.video-box:hover .video-play-indicator, #bsw-modal-video-play-btn:hover { transform: translate(-50%, -50%) scale(1.1) translateZ(0) !important; background: rgba(111, 196, 169, 0.9) !important; border-color: rgba(111, 196, 169, 0.9) !important; }
.gallery-box.video-box.is-playing .video-play-indicator, #bsw-modal-video-view.is-playing #bsw-modal-video-play-btn { opacity: 0; }
.gallery-box.video-box.is-playing:hover .video-play-indicator, #bsw-modal-video-view.is-playing:hover #bsw-modal-video-play-btn { opacity: 1; }

.submissions-carousel-wrapper .carousel-arrow { position: absolute; top: 40%; transform: translateY(-50%); background: rgba(255, 255, 255, 0.9); border: 1px solid var(--border-color); width: 44px; height: 48px; cursor: pointer; z-index: 15; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.submissions-carousel-wrapper .carousel-arrow:hover { background: #fff; }
.submissions-carousel-wrapper .carousel-arrow.prev { left: -10px; }
.submissions-carousel-wrapper .carousel-arrow.next { right: -10px; }

@media (min-width: 768px) { 
    .bsw-card { flex: 0 0 calc(25% - 1rem); position: relative; }
    .bsw-card .sound-icon-box { position: absolute; top: 10px; right: 50px; bottom: auto; }
    .bsw-card .zoom-icon { position: absolute; top: 10px; right: 10px; bottom: auto; }
    .submissions-carousel-wrapper .carousel-arrow.prev { left: -22px; }
    .submissions-carousel-wrapper .carousel-arrow.next { right: -22px; }
    .gallery-box.image-box::before, .gallery-box.video-box::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 50%; background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%); z-index: 2; pointer-events: none; }
    .bsw-card .gallery-meta { position: absolute !important; left: 0 !important; right: 0 !important; bottom: 0 !important; padding: 10px !important; background: transparent !important; margin: 0 !important; z-index: 12 !important; display: flex !important; justify-content: space-between !important; align-items: center !important; }
    .bsw-card .gallery-meta .author, .bsw-card .gallery-meta .sub-id { color: #ffffff !important; text-shadow: 0 1px 3px rgba(0,0,0,0.8); }
}

@media (max-width: 767px) {
    .bsw-card .sound-icon-box { position: absolute; bottom: 10px; right: 50px; top: auto; }
    .bsw-card .zoom-icon { position: absolute; bottom: 10px; right: 10px; top: auto; }
}

/* Wyśrodkowanie tekstu i grafik w sekcji hero na urządzeniach mobilnych */
@media (max-width: 767px) {
    .split-hero-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .split-hero-text-block {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .split-hero-text-block h1,
    .split-hero-text-block h2,
    .split-hero-text-block p,
    .split-hero-teaser {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

  .split-hero-badge-mobile,
    .konkurs-badge-mobile,
    [class*="-badge-mobile"] {
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
        align-self: center !important;
    }
    
    .hero-ctas,
    .split-hero-text-block a.cta-solid-black {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}
.marquee-content-fixed img {
    transform: scale(0.6);
}