/* ===========================
   Shared Container Layout
   =========================== */

.page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 0;
}

:is(
    .age-group-container,
    .osnovni-container,
    .vpis-container,
    .oprema-container,
    .statistika-container,
    .novice-container
  ) {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Responsive adjustments for shared sections */
@media (max-width: 768px) {
  .osnovni-section {
    padding: 1.5rem 0 6rem;
  }

  .vpis-section {
    padding: 2rem 0 6rem;
  }

  .age-group-section {
    padding: 0.75rem 0 6rem;
  }

  .statistika-section {
    padding: 79px 0 6rem;
  }

  .oprema-section {
    padding: 1.5rem 0 6rem;
  }

  :is(
      .age-group-container,
      .osnovni-container,
      .vpis-container,
      .oprema-container,
      .statistika-container,
      .novice-container
    ) {
    padding: 0 1rem;
  }

  .osnovni-title,
  .vpis-title,
  .statistika-title,
  .oprema-title,
  .age-group-title {
    font-size: 2rem;
  }

  .osnovni-subtitle,
  .vpis-subtitle,
  .age-group-subtitle {
    font-size: 1rem;
  }

  .age-group-header {
    margin-bottom: 2rem;
  }
}

@media (max-width: 640px) {
  .age-group-section {
    padding: 1rem 0 6rem;
  }

  .oprema-section {
    padding: 1.5rem 0 6rem;
  }
}

@media (max-width: 480px) {
  .osnovni-section,
  .vpis-section {
    padding: 1rem 0 6rem;
  }

  .statistika-section {
    padding: 79px 0 6rem;
  }

  .oprema-section {
    padding: 1rem 0 6rem;
  }

  :is(
      .age-group-container,
      .osnovni-container,
      .vpis-container,
      .oprema-container,
      .statistika-container,
      .novice-container
    ) {
    padding: 0 0.75rem;
  }
}
