:root {
  --brand-dark: #0d1b2a;
  --brand-steel: #1b263b;
  --brand-accent: #d90429;
  --brand-light: #e0e1dd;
}

body {
  background: linear-gradient(180deg, #f8f9fa 0%, #eef2f7 100%);
  color: #1f2937;
}

.hero-nav {
  background: linear-gradient(90deg, var(--brand-dark), var(--brand-steel));
}

.hero-nav .navbar-brand {
  height: 64px;
  padding-top: 0;
  padding-bottom: 0;
  margin-left: 0.5rem;
}

.site-logo {
  height: 100%;
  width: auto;
  display: block;
  object-fit: contain;
  background: transparent;
}

@media (max-width: 576px) {
  .hero-nav .navbar-brand {
    height: 54px;
  }
}

.hero {
  background: linear-gradient(120deg, rgba(13, 27, 42, 0.95), rgba(27, 38, 59, 0.92)), url('https://images.unsplash.com/photo-1615908398712-7f42f1f6bb77?auto=format&fit=crop&w=1400&q=80') center/cover;
  color: white;
  border-radius: 1rem;
  padding: 4rem 2rem;
}

.hero .display-5 {
  color: #fff;
}

.section-card {
  border: 0;
  border-radius: 0.9rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.cta-bar {
  background: var(--brand-dark);
  color: white;
  border-radius: 0.8rem;
}

.badge-status {
  font-size: 0.8rem;
}

.admin-table td,
.admin-table th {
  vertical-align: middle;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #fff;
  color: #000;
  padding: 0.5rem 0.75rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 3px solid #f59e0b;
  outline-offset: 2px;
}

.site-footer {
  background: #0b1220;
  color: #d1d5db;
}

.site-footer a {
  color: #93c5fd;
}

.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

.gallery-sort-row {
  cursor: grab;
}

.gallery-sort-row:active {
  cursor: grabbing;
}

.gallery-admin-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 0.25rem;
}

.gallery-form-preview {
  max-width: 100%;
  max-height: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left top;
  display: block;
  background-color: #f3f4f6;
}

.ba-slider {
  margin: 0;
}

.ba-slider__inner {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #1f2937;
}

.ba-slider__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ba-slider__img--before {
  z-index: 1;
}

.ba-slider__clip {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  clip-path: inset(0 calc(100% - var(--ba-pos, 50%)) 0 0);
  pointer-events: none;
}

.ba-slider__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  margin-left: -2px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.35);
  z-index: 3;
  pointer-events: none;
}

.ba-slider__range {
  margin-top: 0.75rem;
}
