:root {
  --bs-primary: #7c1f21;
  --bs-primary-rgb: 124, 31, 33;
  --bs-secondary: #c88f1e;
  --bs-secondary-rgb: 200, 143, 30;
  --bs-link-color: #7c1f21;
  --bs-link-hover-color: #63191b;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: #1f1f1f;
}

.font-serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

.section-padding {
  padding: 4.5rem 0;
}

.section-muted {
  background: #f8f5f1;
}

.section-divider,
.banner-divider {
  width: 4rem;
  height: 0.25rem;
  border-radius: 999px;
  background: var(--bs-secondary);
}

.section-description {
  max-width: 48rem;
}

.section-label {
  letter-spacing: 0.08em;
}

.page-banner {
  background: linear-gradient(120deg, #7c1f21 0%, #92292b 60%, #7c1f21 100%);
}

.brand-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.site-navbar .navbar-brand {
  margin-right: 0.5rem;
  padding-top: 0;
  padding-bottom: 0;
}

.brand-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.03rem;
  line-height: 1.1;
  color: var(--bs-primary);
  letter-spacing: 0.01em;
}

.brand-subtitle {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.82rem;
  line-height: 1.15;
}

.site-navbar {
  padding-top: 0.45rem !important;
  padding-bottom: 0.45rem !important;
}

.site-navbar .nav-link {
  font-size: 0.96rem;
  white-space: nowrap;
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
}

.site-navbar .navbar-nav {
  column-gap: 0.15rem;
  align-items: center;
}

@media (max-width: 1399.98px) {
  .brand-title {
    font-size: 1.06rem;
  }

  .brand-subtitle {
    font-size: 0.9rem;
  }

  .site-navbar .nav-link {
    font-size: 0.94rem;
  }
}

@media (max-width: 1199.98px) {
  .site-navbar .navbar-collapse {
    margin-top: 0.6rem;
    border-top: 1px solid #ececec;
    padding-top: 0.6rem;
  }

  .site-navbar .nav-link {
    font-size: 0.93rem;
    padding-left: 0.2rem;
    padding-right: 0.2rem;
  }

  .brand-subtitle {
    font-size: 0.95rem;
  }
}

@media (max-width: 575.98px) {
  .brand-logo {
    width: 30px;
    height: 30px;
  }

  .brand-title {
    font-size: 0.98rem;
  }

  .brand-subtitle {
    font-size: 0.76rem;
  }
}

.footer-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.35rem;
}

.footer-link:hover {
  color: var(--bs-secondary);
}

.table-theme thead th {
  background: var(--bs-primary);
  color: #fff;
}

.badge-soft-primary {
  background: rgba(124, 31, 33, 0.12);
  color: var(--bs-primary);
}

.badge-soft-secondary {
  background: rgba(200, 143, 30, 0.16);
  color: #9b6b0b;
}

.card-soft {
  background: #fbfaf8;
  border: 1px solid #ede4dc;
}

.past-card-image-wrap {
  background: #fff;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem;
  border-bottom: 1px solid #ececec;
}

.past-card-image {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(124, 31, 33, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.text-justify {
  text-align: justify;
}

.h-3 { height: 0.75rem; }
.w-3 { width: 0.75rem; }
.h-3\.5 { height: 0.875rem; }
.w-3\.5 { width: 0.875rem; }
.h-4 { height: 1rem; }
.w-4 { width: 1rem; }
.h-5 { height: 1.25rem; }
.w-5 { width: 1.25rem; }
.h-6 { height: 1.5rem; }
.w-6 { width: 1.5rem; }
.h-10 { height: 2.5rem; }
.w-10 { width: 2.5rem; }

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content-custom {
  background: white;
  border-radius: 12px;
  max-width: 800px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: 0;
  font-size: 30px;
  line-height: 1;
  color: #666;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.75) !important;
}

html {
  scroll-behavior: smooth;
}

@media print {
  header,
  footer,
  .no-print {
    display: none !important;
  }
}
