html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.ratio-16-9,
.ratio-16-10,
.ratio-square {
    display: block;
    position: relative;
    width: 100%;
    height: 0;
}

.ratio-16-9 {
    padding-top: 56.25%; /* This is your aspect-ratio */
}

.ratio-16-10 {
    padding-top: 62.5%; /* This is your aspect-ratio */
}

.ratio-square {
    padding-top: 100%; /* This is your aspect-ratio */
}

.ratio-inner {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.video-catalog-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
}

.video-thumbnail {
    width: 120px;
    min-width: 120px;
    height: 68px;
    object-fit: cover;
    border-radius: 4px;
    background: #000;
}

/* Turnstile gate (/welcome) */
.gate-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    padding: 24px;
    background: #f8f9fa;
}

.gate-card {
    width: 100%;
    max-width: 420px;
    padding: 36px 28px 30px;
    text-align: center;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
}

.gate-brand {
    margin-bottom: 18px;
    color: #6c757d;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.gate-title {
    margin-bottom: 8px;
}

.gate-lead {
    margin-bottom: 26px;
    font-size: 0.95rem;
}

.gate-widget {
    display: flex;
    justify-content: center;
    min-height: 65px;
}

.gate-status {
    min-height: 1.5rem;
    margin: 16px 0 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.gate-status-error {
    color: #b02a37;
}

/* Ported from the old _Layout.cshtml.css (compiled into bcrf.styles.css,
   which the static build dropped). html is position: relative with a full
   min-height, and body reserves 60px at the bottom, so the footer sits at the
   bottom of the window on short pages and after the content on long ones. */
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}
