/**handles:kk-base**/
/**
 * Minimal, framework-free replacements for the small subset of Bootstrap
 * grid/utility/component classes still referenced by ported markup.
 * Bootstrap itself has been removed; nothing here depends on its JS.
 */

html,
body,
.wp-site-blocks {
  height: 100%;
}

/* Sticky footer: body is the flex parent for classic (hybrid PHP) templates,
   .wp-site-blocks is the flex parent for pure block templates (e.g.
   templates/single.html) - footer.css's margin-top:auto needs both. */
body,
.wp-site-blocks {
  display: flex;
  flex-direction: column;
}

/* Containers */
.container,
.container-fluid,
.container-lg {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  /* padding-right: 15px;
  padding-left: 15px; */
}
.container,
.container-lg {
  max-width: 720px;
}
@media (min-width: 992px) {
  .container,
  .container-lg {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .container,
  .container-lg {
    max-width: 1140px;
  }
}

/* Grid, flex-based, limited to the column combinations actually used.
   Gutter width is a custom property so .gx-* can override it, like Bootstrap. */
.row {
  --kk-gutter-x: 1.875rem;
  display: flex;
  flex-wrap: wrap;
  margin-right: calc(var(--kk-gutter-x) / -2);
  margin-left: calc(var(--kk-gutter-x) / -2);
}
.row > [class*="col-"] {
  padding-right: calc(var(--kk-gutter-x) / 2);
  padding-left: calc(var(--kk-gutter-x) / 2);
}
.gx-3 {
  --kk-gutter-x: 1rem;
}
.gx-5 {
  --kk-gutter-x: 3rem;
}
.col-4 {
  flex: 0 0 33.3333%;
  max-width: 33.3333%;
}
.col-6 {
  flex: 0 0 50%;
  max-width: 50%;
}
.col-12 {
  flex: 0 0 100%;
  max-width: 100%;
}
@media (min-width: 768px) {
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}
@media (min-width: 992px) {
  .col-lg-4 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

/* Display / flex / spacing utilities */
.d-flex {
  display: flex;
}
.d-grid {
  display: grid;
}
.flex-column {
  flex-direction: column;
}
.flex-shrink-0 {
  flex-shrink: 0;
}
.h-100 {
  height: 100%;
}
.mt-auto {
  margin-top: auto;
}
.mx-auto {
  margin-right: auto;
  margin-left: auto;
}
.text-center {
  text-align: center;
}
.d-none {
  display: none;
}
@media (min-width: 992px) {
  .d-lg-inline {
    display: inline;
  }
}
.position-fixed {
  position: fixed;
}
.end-0 {
  right: 0;
}
.d-inline-block {
  display: inline-block;
}
.justify-content-between {
  justify-content: space-between;
}
.overflow-hidden {
  overflow: hidden;
}
.w-100 {
  width: 100%;
}
.small {
  font-size: 0.875em;
}
.border-bottom {
  border-bottom: 1px solid #dee2e6;
}

/* Spacing utilities, limited to the combinations actually used (Bootstrap's 0-3-based rem scale) */
.pt-2 {
  padding-top: 0.5rem;
}
.py-3 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-4 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.px-4 {
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}
.pb-4 {
  padding-bottom: 1.5rem;
}
.my-2 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.my-4 {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}
.my-5 {
  margin-top: 3rem;
  margin-bottom: 3rem;
}
.mt-4 {
  margin-top: 1.5rem;
}
.mt-5 {
  margin-top: 3rem;
}
.mb-3 {
  margin-bottom: 1rem;
}
.mb-4 {
  margin-bottom: 1.5rem;
}
.mb-5 {
  margin-bottom: 3rem;
}

/* Aspect-ratio boxes (Bootstrap's .ratio/.ratio-16x9) */
.ratio {
  position: relative;
  width: 100%;
}
.ratio::before {
  display: block;
  padding-top: var(--kk-aspect-ratio, 100%);
  content: "";
}
.ratio > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.ratio-16x9 {
  --kk-aspect-ratio: 56.25%;
}

/* Accessibility */
.visually-hidden,
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.667em 1.333em;
  border: 0;
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
}
.btn-dark {
  background-color: #171717;
  color: #fff;
}
.btn-dark:hover {
  background-color: #000;
  color: #fff;
}
.btn-light {
  background-color: #fff;
  color: #171717;
}
.btn-light:hover {
  background-color: #ebebeb;
}

/* Alerts */
.alert {
  padding: 0.75em 1em;
  border-radius: 4px;
}
.alert-info {
  background-color: #e4f4f7;
  color: #171717;
}

/* Search input group */
.input-group {
  display: flex;
  width: 100%;
}
.form-control {
  flex: 1 1 auto;
  padding: 0.5em 1em;
  border: 1px solid #a5a5a5;
}
.rounded-start {
  border-radius: 4px 0 0 4px;
}

/* Native <dialog> reset, replaces Bootstrap's .offcanvas-* panels */
dialog.panel {
  border: none;
  padding: 0;
  margin: 0;
  max-width: none;
  max-height: none;
  color: inherit;
  transition:
    transform 0.3s ease,
    overlay 0.3s ease allow-discrete,
    display 0.3s ease allow-discrete;
}
dialog.panel::backdrop {
  background: rgba(0, 0, 0, 0.5);
}
dialog.panel {
  display: flex;
  flex-direction: column;
}
.panel--top {
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  transform: translateY(-100%);
}
.panel--top[open] {
  transform: translateY(0);
}
@starting-style {
  .panel--top[open] {
    transform: translateY(-100%);
  }
}
.panel--end {
  top: 0;
  right: 0;
  left: auto;
  bottom: 0;
  height: 100%;
  width: min(360px, 90vw);
  margin: 0;
  transform: translateX(100%);
}
.panel--end[open] {
  transform: translateX(0);
}
@starting-style {
  .panel--end[open] {
    transform: translateX(100%);
  }
}
body.has-open-panel {
  overflow: hidden;
}