/* Czym jest GOZ - Sekcja Porównawcza */

.goz-comparison-section {
  background-color: #e9ebef;
  padding: 100px 0;
}

.goz-comparison-section .container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 15px;
}

.section-header {
  text-align: left;
  margin-bottom: 48px;
}

.section-header .section-title {
  font-family: 'Inter', sans-serif;
  font-size: 2.125rem;
  font-weight: 700;
  color: #213361;

  letter-spacing: -1.8px;
}

.section-header .section-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  color: rgba(33, 51, 97, 0.5);
  margin: 0;
}

.comparison-cards {
  display: flex;
  gap: 40px;
  justify-content: center;
}

.card {
  background-color: #ffffff;
  border-radius: 24px;
  padding: 46px 50px;
  width: 100%;
  max-width: 706px;
  box-shadow: 0px 4px 12px 0px rgba(142, 152, 168, 0.06);
  box-sizing: border-box;
}

.card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #213361;
  margin: 0 0 18px 0;
}

.card p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #213361;
  margin: 0 0 30px 0;
}

/* Model Linearny */
.linear-model-diagram {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 40px;
}

.linear-model-diagram .step {
  text-align: center;
}

.linear-model-diagram .circle {
  width: 65px;
  height: 65px;
  border-radius: 50%;

  background-color: #c747e7; /* Kolor bazowy */
}

/* Różne odcienie dla kolejnych kółek */
.linear-model-diagram .step:nth-child(2) .circle {
  background-color: rgba(199, 71, 231, 0.8);
}
.linear-model-diagram .step:nth-child(3) .circle {
  background-color: rgba(199, 71, 231, 0.6);
}
.linear-model-diagram .step:nth-child(4) .circle {
  background-color: rgba(199, 71, 231, 0.4);
}

.linear-model-diagram .step-name {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #213361;
}

.linear-model-diagram .arrow {
  margin: 0 10px;
  margin-bottom: 40px; /* to align with text bottom */
}

/* Model Cyrkularny */
.circular-model-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.circular-model-diagram {
  margin-top: 20px;
}

.circular-model-diagram img {
  max-width: 100%;
  height: auto;
}

/* Sekcja Ślad Ekologiczny */
.ecological-footprint-section {
  padding: 100px 0;
  background-color: #e9ebef;
}

.ecological-footprint-section .container {
  max-width: 1456px;
  margin: 0 auto;
  padding: 0 15px;
}

.ecological-footprint-section .section-header {
  text-align: left;
  margin-bottom: 48px;
}

.footprint-content-wrapper {
  display: block;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 24px;
  box-shadow: 0px 4px 12px 0px rgba(142, 152, 168, 0.06);
}

.footprint-chart-and-info {
  display: flex;
  gap: 44px;
  align-items: flex-start;
}

.footprint-chart {
  flex: 1;
  min-width: 50%;
}

.footprint-chart img {
  width: 100%;
  height: auto;
}

.footprint-info {
  flex: 1;
  padding-top: 32px;
}

.footprint-info h3 {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #213361;
  margin: 0 0 18px 0;
}

.footprint-info p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #213361;
  margin: 0 0 1em 0;
}

.footprint-info ul {
  list-style: none;
  padding-left: 0;
  margin-top: 18px;
}

.footprint-info ul li {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: #213361;
  padding-left: 30px;
  position: relative;
  margin-bottom: 12px;
}

.footprint-info ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 19px;
  height: 19px;
  background-color: #213361;
  border-radius: 50%;
}

/* Poprawki dla siatki postów w sekcji Ślad Ekologiczny */
.ecological-footprint-section .post-cards-wrapper {
  padding-top: 50px; /* Odstęp od linii */
}

.ecological-footprint-section .post-cards-title {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #213361;
  margin-bottom: 40px; /* Odstęp od siatki postów */
  text-align: left;
}

.section-divider {
  border: none;
  border-top: 1px solid #e9ebf8;
  margin: 50px 0 0;
}

.footprint-content-wrapper .post-cards-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* --- Media Queries for Responsiveness --- */

/* Tablety (do 1024px) */
@media (max-width: 1024px) {
  .comparison-cards {
    flex-direction: column;
    align-items: center;
  }

  .footprint-chart-and-info {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .footprint-chart {
    min-width: 100%;
  }

  .footprint-info {
    padding-top: 0;
  }

  .footprint-content-wrapper .post-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .linear-model-diagram {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .linear-model-diagram .arrow {
    display: none; /* Ukrywamy strzałki na mniejszych ekranach */
  }
}

/* Telefony (do 767px) */
@media (max-width: 767px) {
  .goz-comparison-section,
  .ecological-footprint-section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-header .section-title {
    font-size: 32px;
  }

  .section-header .section-subtitle {
    font-size: 18px;
  }

  .card {
    padding: 30px 25px;
  }

  .linear-model-diagram {
    flex-direction: column;
    align-items: center;
  }

  .linear-model-diagram .step {
    margin-bottom: 20px;
  }

  .linear-model-diagram .arrow {
    display: none;
  }

  .footprint-content-wrapper .post-cards-grid {
    grid-template-columns: 1fr;
  }

  .ecological-footprint-section .post-cards-title {
    font-size: 22px;
  }
}
