/* Kestrel base shell — module styles arrive as inline CSS on this handle */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

:root {
  --kst-font-body: "Inter", sans-serif;
  --kst-font-display: "Inter", sans-serif;
  --kst-font-size: 1rem;
}

body.kst-body {
  margin: 0;
  min-height: 100vh;
  background: #0f1419;
  color: #e2e8f0;
  font-family: var(--kst-font-body);
  font-size: var(--kst-font-size);
  line-height: 1.55;
}

.kst-frame {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.kst-frame__row {
  display: flex;
  flex: 1;
  align-items: stretch;
  width: 100%;
}

body.kst-no-flank .kst-frame__row {
  display: block;
}

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

a.btn-link,
button.btn-link,
.btn-link {
  cursor: pointer;
}

a.kst-outbound,
button.kst-outbound,
.kst-outbound {
  cursor: pointer;
}

img {
  max-width: 100%;
  height: auto;
}

.kst-nav a {
  display: inline-flex;
  align-items: center;
  gap: var(--kst-nav-icon-gap, 0.5rem);
}

.kst-nav__icon {
  flex: 0 0 auto;
  width: var(--kst-nav-icon-size, 20px);
  height: var(--kst-nav-icon-size, 20px);
  object-fit: contain;
  display: block;
}

.kst-nav__label {
  min-width: 0;
}

.kst-flank__nav .kst-nav a,
.kst-flank-right__nav .kst-nav a {
  display: flex;
  width: 100%;
}

@media (max-width: 860px) {
  .kst-nav__icon {
    width: var(--kst-nav-icon-size-m, 18px);
    height: var(--kst-nav-icon-size-m, 18px);
  }
}

.kst-slot-h1 {
  margin: 0 0 1rem;
  font-family: var(--kst-font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.2;
  color: var(--kst-pane-title, #f7fafc);
}

.kst-slot-frame {
  margin: 0 0 1.5rem;
  width: 100%;
}

.kst-slot-frame .iframe,
.kst-slot-frame iframe,
.kst-pane .iframe,
.kst-pane iframe[src] {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
  background: #0a0e14;
}
