/**
 * Bootstrap extras używane w motywie (bez pełnego bootstrap.min.css).
 * Grid + utilities layout: assets/bootstrap-grid.min.css
 */

/* Collapse (mobile menu) */
.collapse:not(.show) {
  display: none;
}
.collapsing {
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
}
@media (prefers-reduced-motion: reduce) {
  .collapsing {
    transition: none;
  }
}

/* Sizing */
.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }
.min-vh-100 { min-height: 100vh !important; }

/* Gap (nie ma w bootstrap-grid) */
.gap-1 { gap: 0.25rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }
.gap-5 { gap: 3rem !important; }

@media (min-width: 768px) {
  .gap-md-4 { gap: 1.5rem !important; }
}

/* Typography */
.small { font-size: 0.875em; }
.lh-lg { line-height: 1.75 !important; }
.fs-2 { font-size: calc(1.325rem + 0.9vw) !important; }
.fs-3 { font-size: calc(1.3rem + 0.6vw) !important; }
.fs-4 { font-size: calc(1.275rem + 0.3vw) !important; }
.fs-5 { font-size: 1.25rem !important; }
.fs-6 { font-size: 1rem !important; }
.fw-bold { font-weight: 700 !important; }
.fw-semibold { font-weight: 600 !important; }
.display-5 { font-size: calc(1.425rem + 2.1vw); font-weight: 300; line-height: 1.2; }

/* Text */
.text-center { text-align: center !important; }
.text-dark { color: #212529 !important; }
.text-primary { color: hsl(var(--grema-primary)) !important; }
.text-white { color: #fff !important; }
.text-decoration-none { text-decoration: none !important; }
.text-uppercase { text-transform: uppercase !important; }

/* Misc */
.list-unstyled { padding-left: 0; list-style: none; }
.overflow-hidden { overflow: hidden !important; }
.position-relative { position: relative !important; }
.rounded-3 { border-radius: 0.5rem !important; }
.rounded-pill { border-radius: 50rem !important; }
.z-1 { z-index: 1 !important; }

@media (min-width: 1200px) {
  .d-xl-inline { display: inline !important; }
}
