html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  color: #222;
  background: #f4f5f7;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: #4b0082;
}

a:hover,
a:focus {
  color: #2e006c;
}

.site-header {
  width: 100%;
  max-height: 230px;
  overflow: hidden;
  background: #2e006c;
}

.site-header-image {
  display: block;
  width: 100%;
  height: clamp(110px, 19vw, 230px);
  object-fit: cover;
  object-position: center;
}

.site-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding-bottom: 0.5rem;
  border-top: 1px solid #4b0082;
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 18px rgba(46, 0, 108, 0.16);
}

.site-navbar-bottom-rule {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 6px;
  background: #4b0082;
  box-shadow: 0 2px 0 #2e006c;
}

.site-navbar .navbar-brand {
  color: #2e006c;
  font-weight: 700;
}

.site-navbar .nav-link {
  color: #2f2f35;
  border-radius: 6px;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link:focus {
  color: #2e006c;
  background: #f0e7f7;
}

.site-content {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px 18px 44px;
}

.site-content > .row,
.site-content header.row {
  margin-left: 0;
  margin-right: 0;
}

h1,
h2,
h3,
h4,
h5 {
  color: #1f2430;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 1.25rem;
  font-size: 2rem;
  font-weight: 700;
}

.card {
  border: 1px solid #dde1e8;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(31, 36, 48, 0.08);
}

.card-header {
  border-bottom: 1px solid #dde1e8;
  background: #ffffff;
}

.card-title {
  margin-bottom: 0;
  color: #2e006c;
  font-weight: 650;
}

.btn-primary {
  border-color: #4b0082;
  background-color: #4b0082;
}

.btn-primary:hover,
.btn-primary:focus {
  border-color: #2e006c;
  background-color: #2e006c;
}

.table {
  background: #ffffff;
}

.table thead th {
  border-bottom-width: 1px;
  color: #2e006c;
  background: #f8f6fb;
}

.carousel {
  margin-bottom: 2rem;
  overflow: hidden;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(31, 36, 48, 0.08);
}

.carousel .card-header {
  text-align: center;
}

.carousel-control-prev,
.carousel-control-next {
  width: 8%;
  background: rgba(46, 0, 108, 0.16);
}

.carousel-indicators li {
  background-color: #4b0082;
}

@media (max-width: 767.98px) {
  .site-content {
    padding: 16px 10px 32px;
  }

  h1 {
    font-size: 1.55rem;
  }

  .site-navbar .nav-link {
    padding-left: 0;
  }
}
