/* === BEZPIECZNY CSS TYLKO DLA OSI CZASU (Izolowany) === */
  .cc-timeline-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    /* WYMUSZONY NOWOCZESNY FONT BEZSZERYFOWY */
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; 
    box-sizing: border-box;
    color: #1f2937;
  }

  .cc-timeline-wrapper *, 
  .cc-timeline-wrapper *::before, 
  .cc-timeline-wrapper *::after {
    box-sizing: border-box;
  }

  /* Główna pionowa linia */
  .cc-timeline-wrapper::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #e5e7eb;
    top: 20px;
    bottom: 20px;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
  }

  .cc-timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    margin-bottom: 30px;
  }

  /* Usunięcie marginesu dla ostatniego elementu */
  .cc-timeline-item:last-child {
    margin-bottom: 0;
  }

  /* Elementy po lewej stronie */
  .cc-timeline-item.cc-left {
    left: 0;
  }

  /* Elementy po prawej stronie */
  .cc-timeline-item.cc-right {
    left: 50%;
  }

  /* Kółka/Ikony na osi */
  .cc-timeline-icon {
    position: absolute;
    width: 48px;
    height: 48px;
    right: -24px;
    top: 15px;
    background-color: #ffffff;
    border: 4px solid #3D2E7C; /* Zmieniono na Deep Violet */
    border-radius: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  }

  .cc-timeline-item.cc-right .cc-timeline-icon {
    left: -24px;
  }

  /* Ikony SVG wewnątrz kółek */
  .cc-timeline-icon svg {
    width: 20px;
    height: 20px;
    stroke: #6A3A98; /* Zmieniono na Purple */
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  /* Pudełko z treścią */
  .cc-timeline-content {
    padding: 24px;
    background-color: #ffffff;
    position: relative;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    border: 1px solid #f3f4f6;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .cc-timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  }

  /* Grafiki wewnątrz pudełek */
  .cc-timeline-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    background-color: #f3f4f6; /* Tło ładowania */
  }

  /* Strzałki od pudełka do osi */
  .cc-left .cc-timeline-content::after {
    content: " ";
    position: absolute;
    top: 22px;
    right: -10px;
    border-width: 10px 0 10px 10px;
    border-style: solid;
    border-color: transparent transparent transparent #ffffff;
  }
  .cc-left .cc-timeline-content::before {
    content: " ";
    position: absolute;
    top: 21px;
    right: -12px;
    border-width: 11px 0 11px 11px;
    border-style: solid;
    border-color: transparent transparent transparent #f3f4f6;
  }

  .cc-right .cc-timeline-content::after {
    content: " ";
    position: absolute;
    top: 22px;
    left: -10px;
    border-width: 10px 10px 10px 0;
    border-style: solid;
    border-color: transparent #ffffff transparent transparent;
  }
  .cc-right .cc-timeline-content::before {
    content: " ";
    position: absolute;
    top: 21px;
    left: -12px;
    border-width: 11px 11px 11px 0;
    border-style: solid;
    border-color: transparent #f3f4f6 transparent transparent;
  }

  /* Typografia wewnątrz pudełka */
  .cc-timeline-year {
    font-size: 1.5rem;
    font-weight: 800;
    color: #3D2E7C; /* Zmieniono na Deep Violet */
    margin-top: 0;
    margin-bottom: 8px;
    line-height: 1.2;
  }

  .cc-timeline-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin-top: 0;
    margin-bottom: 12px;
    line-height: 1.3;
  }

  .cc-timeline-text {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
  }

  /* === RESPONSYWNOŚĆ (Mobile) === */
  @media screen and (max-width: 768px) {
    .cc-timeline-wrapper::after {
      left: 31px;
    }
    .cc-timeline-item {
      width: 100%;
      padding-left: 70px;
      padding-right: 0;
    }
    .cc-timeline-item.cc-left, 
    .cc-timeline-item.cc-right {
      left: 0;
    }
    .cc-timeline-item.cc-left .cc-timeline-icon,
    .cc-timeline-item.cc-right .cc-timeline-icon {
      left: 7px;
      right: auto;
    }
    .cc-left .cc-timeline-content::after,
    .cc-right .cc-timeline-content::after {
      left: -10px;
      right: auto;
      border-width: 10px 10px 10px 0;
      border-color: transparent #ffffff transparent transparent;
    }
    .cc-left .cc-timeline-content::before,
    .cc-right .cc-timeline-content::before {
      left: -12px;
      right: auto;
      border-width: 11px 11px 11px 0;
      border-color: transparent #f3f4f6 transparent transparent;
    }
  }
