:root {
  --sh-black: #070707;
  --sh-black-soft: #111111;
  --sh-border-dark: rgba(255, 255, 255, 0.1);
  --sh-white: #ffffff;
  --sh-text-muted: rgba(255, 255, 255, 0.72);
  --sh-gold: #c89a4a;
  --sh-red: #c91524;
  --sh-red-dark: #a80f1b;
  --sh-header-height: 78px;

  --sh-navy: #0b1220;
  --sh-muted: #6b7280;
  --sh-soft: #f5f6f8;

  --sh-admin-bg: #e4d3b5;

  /* 
  SH red: #c91524;
  SH red dark: #a80f1b;

  SH GOLD: #c89a4a
  Gold: #d4af37
  Soft gold: #c9a227

  */

  --font-main:
    "Sofia Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --font-heading: "Sofia Sans Condensed", "Sofia Sans", sans-serif;
  --font-monospace: "Sofia Sans Mono", "Sofia Sans", monospace;
  --font-condensed: "Sofia Sans Condensed", "Sofia Sans", sans-serif;
}

html {
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family:
    "Sofia Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

main {
  flex: 1 0 auto;
}

.sh-pwa-install {
  position: fixed;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  left: 1rem;
  z-index: 1080;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.8rem;
  align-items: center;
  max-width: 520px;
  margin: 0 auto;
  padding: 0.85rem;
  color: var(--sh-black);
  background: var(--sh-white);
  border: 1px solid #d1d5db;
  border-top: 3px solid var(--sh-red);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.32);
}

.sh-pwa-install[hidden] {
  display: none;
}

.sh-pwa-install__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  overflow: hidden;
  background: var(--sh-red);
  border-radius: 8px;
}

.sh-pwa-install__icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.sh-pwa-install__title {
  margin-bottom: 0.12rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.1;
}

.sh-pwa-install__text {
  margin: 0;
  color: #4b5563;
  font-size: 0.9rem;
  line-height: 1.35;
}

.sh-pwa-install__actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
}

.sh-pwa-install__install {
  --bs-btn-bg: var(--sh-red);
  --bs-btn-border-color: var(--sh-red);
  --bs-btn-hover-bg: var(--sh-red-dark);
  --bs-btn-hover-border-color: var(--sh-red-dark);
  --bs-btn-active-bg: var(--sh-red-dark);
  --bs-btn-active-border-color: var(--sh-red-dark);
  font-weight: 800;
}

.sh-pwa-install__dismiss {
  --bs-btn-color: #4b5563;
  --bs-btn-hover-color: var(--sh-black);
  --bs-btn-active-color: var(--sh-black);
  text-decoration: none;
}

.sh-pwa-install.is-ios .sh-pwa-install__actions {
  justify-content: flex-start;
}

@media (min-width: 576px) {
  .sh-pwa-install {
    left: auto;
    margin: 0;
  }
}

.sh-footer,
body > footer {
  flex-shrink: 0;
}

.shf-condensed {
  font-family: var(--font-condensed);
}

.site-header {
  position: relative;
  z-index: 50;
  width: 100%;
  min-height: var(--sh-header-height);
  color: var(--sh-white);
}

.site-header--transparent {
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.82),
    rgba(0, 0, 0, 0.35) 70%,
    rgba(0, 0, 0, 0)
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header--solid {
  background: var(--sh-black);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--sh-header-height);
  gap: 2rem;
}

.site-header__logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.site-header__logo img {
  display: block;
  width: auto;
  height: 52px;
  max-width: 210px;
}

.site-header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  gap: clamp(1rem, 1.8vw, 2.15rem);
  min-width: 0;
}

.site-header__nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: var(--sh-header-height);
  color: rgba(255, 255, 255, 0.92);
  font-family: "Sofia Sans Condensed", "Sofia Sans", sans-serif;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.025em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color 160ms ease,
    opacity 160ms ease;
}

.site-header__nav a:hover,
.site-header__nav a:focus-visible,
.site-header__nav a.is-active {
  color: var(--sh-gold);
}

.site-header__nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--sh-gold);
  border-radius: 999px;
  opacity: 0;
  transform: translateX(-50%) scaleX(0.45);
  transform-origin: center;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.site-header__nav a:hover::after,
.site-header__nav a:focus-visible::after,
.site-header__nav a.is-active::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

.site-header__nav:hover a.is-active:not(:hover)::after {
  opacity: 0;
  transform: translateX(-50%) scaleX(0.45);
}

.site-header__dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: var(--sh-header-height);
}

.site-header__dropdown-toggle {
  cursor: pointer;
}

.site-header__dropdown-menu {
  position: absolute;
  top: calc(100% - 8px);
  left: 50%;
  z-index: 70;
  min-width: 230px;
  padding: 0.55rem;
  visibility: hidden;
  background: rgba(12, 12, 12, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36);
  opacity: 0;
  transform: translateX(-50%) translateY(10px);
  transition:
    opacity 160ms ease,
    visibility 160ms ease,
    transform 160ms ease;
  backdrop-filter: blur(14px);
}

.site-header__dropdown:hover .site-header__dropdown-menu,
.site-header__dropdown:focus-within .site-header__dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.site-header__dropdown-menu::before {
  position: absolute;
  top: -7px;
  left: 50%;
  width: 14px;
  height: 14px;
  background: rgba(12, 12, 12, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  content: "";
  transform: translateX(-50%) rotate(45deg);
}

.site-header__nav .site-header__dropdown-menu a.site-header__dropdown-item,
.site-header__actions .site-header__account-menu a.site-header__dropdown-item,
.site-header__actions
  .site-header__account-menu
  button.site-header__dropdown-item {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0.78rem 0.9rem;
  color: rgba(255, 255, 255, 0.88);
  background: transparent;
  border-radius: 10px;
  font-family:
    "Sofia Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 0.92rem;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1.15;
  text-transform: none;
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.site-header__nav
  .site-header__dropdown-menu
  a.site-header__dropdown-item:hover,
.site-header__nav
  .site-header__dropdown-menu
  a.site-header__dropdown-item:focus-visible,
.site-header__actions
  .site-header__account-menu
  a.site-header__dropdown-item:hover,
.site-header__actions
  .site-header__account-menu
  a.site-header__dropdown-item:focus-visible,
.site-header__actions
  .site-header__account-menu
  button.site-header__dropdown-item:hover,
.site-header__actions
  .site-header__account-menu
  button.site-header__dropdown-item:focus-visible {
  color: var(--sh-gold);
  background: rgba(255, 255, 255, 0.07);
  transform: translateX(2px);
}

.site-header__nav
  .site-header__dropdown-menu
  a.site-header__dropdown-item::after,
.site-header__actions
  .site-header__account-menu
  a.site-header__dropdown-item::after {
  display: none;
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  gap: 1.15rem;
}

.site-header__actions a:not(.site-header__cta) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.12rem;
  text-decoration: none;
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.site-header__actions a:not(.site-header__cta):hover,
.site-header__actions a:not(.site-header__cta):focus-visible {
  color: var(--sh-gold);
  transform: translateY(-1px);
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.78rem 1.28rem;
  color: var(--sh-white);
  background: linear-gradient(180deg, var(--sh-red), var(--sh-red-dark));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(201, 21, 36, 0.24);
  font-family: "Sofia Sans Condensed", "Sofia Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.035em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.site-header__cta:hover,
.site-header__cta:focus-visible {
  color: var(--sh-white);
  background: linear-gradient(180deg, #db1b2d, var(--sh-red));
  box-shadow: 0 18px 34px rgba(201, 21, 36, 0.32);
  transform: translateY(-1px);
}

/* Breadcrumb */
.sh-breadcrumb {
  position: relative;
  z-index: 40;
  width: 100%;
  font-family:
    "Sofia Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.sh-breadcrumb--dark {
  color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(180deg, #131313, #0c0c0c);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.sh-breadcrumb--hero {
  position: absolute;
  top: var(--sh-header-height);
  left: 0;
  z-index: 45;
  color: rgba(255, 255, 255, 0.82);
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.46) 0%,
      rgba(0, 0, 0, 0.26) 42%,
      rgba(0, 0, 0, 0) 100%
    ),
    rgba(0, 0, 0, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.sh-breadcrumb--light {
  color: #5e5e5e;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.sh-breadcrumb__list {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0;
  margin: 0;
  list-style: none;
  gap: 0.72rem;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  white-space: nowrap;
}

.sh-breadcrumb__list::-webkit-scrollbar {
  display: none;
}

.sh-breadcrumb__item,
.sh-breadcrumb__separator {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.sh-breadcrumb__item a,
.sh-breadcrumb__item span {
  display: inline-flex;
  align-items: center;
  color: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}

.sh-breadcrumb__item a {
  opacity: 0.82;
  transition:
    color 160ms ease,
    opacity 160ms ease;
}

.sh-breadcrumb__item a:hover,
.sh-breadcrumb__item a:focus-visible {
  color: var(--sh-gold);
  opacity: 1;
}

.sh-breadcrumb__item span {
  opacity: 0.96;
}

.sh-breadcrumb__item .fa-house {
  font-size: 0.82rem;
}

.sh-breadcrumb__separator {
  color: currentColor;
  opacity: 0.42;
  font-size: 0.66rem;
}

.sh-breadcrumb--light .sh-breadcrumb__item a:hover,
.sh-breadcrumb--light .sh-breadcrumb__item a:focus-visible {
  color: var(--sh-red);
}

@media (max-width: 1399.98px) {
  .site-header__inner {
    gap: 1.25rem;
  }

  .site-header__nav {
    gap: 1.2rem;
  }

  .site-header__dropdown-menu {
    min-width: 210px;
  }

  .site-header__logo img {
    height: 46px;
    max-width: 185px;
  }

  .site-header__actions {
    gap: 0.85rem;
  }

  .sh-breadcrumb__list {
    min-height: 42px;
    gap: 0.62rem;
  }

  .sh-breadcrumb__item a,
  .sh-breadcrumb__item span {
    font-size: 0.84rem;
  }
}

/* Account */
.site-header__actions .site-header__account-menu a.site-header__dropdown-item {
  width: auto;
  height: auto;
  justify-content: flex-start;
  font-size: 0.92rem;
}

.site-header__actions
  .site-header__account-menu
  button.site-header__dropdown-item {
  width: 100%;
  height: auto;
  justify-content: flex-start;
  font-size: 0.92rem;
  text-align: left;
}

.site-header__actions .site-header__account-menu {
  right: 0;
  left: auto;
  transform: translateY(10px);
}

.site-header__actions
  .site-header__account-dropdown:hover
  .site-header__account-menu {
  transform: translateY(0);
}

.site-header__actions .site-header__account-menu::before {
  right: 18px;
  left: auto;
  transform: rotate(45deg);
}

/* Mobile header */
.site-mobile-header {
  position: relative;
  z-index: 60;
  color: var(--sh-white);
  background: var(--sh-black);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-mobile-header__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-mobile-header__logo img {
  display: block;
  width: auto;
  height: 42px;
  max-width: 180px;
}

.site-mobile-header__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--sh-white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.site-mobile-menu {
  --bs-offcanvas-width: min(88vw, 380px);
}

.site-mobile-menu__brand img {
  display: block;
  width: auto;
  height: 48px;
  max-width: 190px;
}

.site-mobile-menu__nav {
  display: grid;
  gap: 0.35rem;
}

.site-mobile-menu__nav a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 48px;
  padding: 0.72rem 0.85rem;
  color: #171717;
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.site-mobile-menu__nav a i {
  width: 22px;
  color: var(--sh-red);
  text-align: center;
}

.site-mobile-menu__nav a:hover,
.site-mobile-menu__nav a:focus-visible,
.site-mobile-menu__nav a.is-active {
  color: var(--sh-red);
  background: rgba(201, 21, 36, 0.08);
}

.site-mobile-menu__account {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Common */
.sh-title {
  font-size: 1.6rem;
  font-weight: 800;
  font-family: var(--font-heading);
}

/* Elements */
h1.sh-h1 {
  margin: 0 0 1rem;
  color: var(--sh-navy);
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 940;
  line-height: 0.92;
}

h2.sh-h2 {
  margin: 0 0 0.875rem;
  color: var(--sh-navy);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 900;
  line-height: 1;
}

/* Static database pages */
.sh-page__content {
  color: #333;
  font-size: 1.05rem;
  line-height: 1.72;
}

.sh-page__content > :first-child {
  margin-top: 0;
}

.sh-page__content > :last-child {
  margin-bottom: 0;
}

.sh-page__content h2,
.sh-page__content h3,
.sh-page__content h4 {
  color: var(--sh-navy);
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: 1.05;
}

.sh-page__content h2 {
  margin: 2.2rem 0 0.85rem;
  font-size: 1.9rem;
}

.sh-page__content h3 {
  margin: 1.6rem 0 0.65rem;
  font-size: 1.35rem;
}

.sh-page__content h4 {
  margin: 1.3rem 0 0.55rem;
  font-size: 1.15rem;
}

.sh-page__content p,
.sh-page__content ul,
.sh-page__content ol {
  margin-bottom: 1rem;
}

.sh-page__content ul,
.sh-page__content ol {
  padding-left: 1.35rem;
}

.sh-page__content li {
  margin-bottom: 0.38rem;
}

.sh-page__content a {
  color: var(--sh-red);
  font-weight: 750;
}

.sh-page__content a:hover,
.sh-page__content a:focus-visible {
  color: var(--sh-red-dark);
}

h3.sh-h3 {
  margin: 0 0 0.75rem;
  color: var(--sh-navy);
  font-family: var(--font-heading);
  font-size: clamp(1.625rem, 2.3vw, 2.25rem);
  font-weight: 850;
  line-height: 1.08;
}

h4.sh-h4 {
  margin: 0 0 0.625rem;
  color: var(--sh-navy);
  font-family: var(--font-heading);
  font-size: clamp(1.375rem, 1.8vw, 1.75rem);
  font-weight: 800;
  line-height: 1.15;
}

h5.sh-h5 {
  margin: 0 0 0.5rem;
  color: var(--sh-navy);
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 1.3vw, 1.375rem);
  font-weight: 750;
  line-height: 1.2;
}

h1.sh-h1 .sh-h1-md {
  font-size: clamp(2.5rem, 4vw, 4rem);
}

.sh-submit-btn {
  min-height: 3.25rem;
  border-radius: 0.95rem;
  background: var(--sh-red);
  color: #fff;
  font-weight: 850;
  box-shadow: 0 18px 38px rgba(185, 28, 28, 0.18);
}

.sh-submit-btn:hover {
  background: var(--sh-red-dark);
  color: #fff;
}

.sh-nav {
  gap: 0.25rem;
}

.sh-nav .nav-link {
  border-radius: var(--bs-border-radius);
  color: var(--sh-navy);
  transition:
    color 0.15s ease,
    background-color 0.15s ease;
  background-color: #efefef;
}

.sh-nav .nav-link:hover,
.sh-nav .nav-link:focus-visible {
  color: var(--sh-navy);
  background-color: #ccc;
}

.sh-nav .nav-link.active {
  color: #fff;
  background-color: var(--sh-navy);
}

.sh-nav .nav-link.disabled {
  color: var(--bs-secondary-color);
  background-color: transparent;
}

.sh-admin-bg {
  background-color: var(--sh-admin-bg);
}

.sh-table {
  font-family: var(--font-condensed);
  font-size: 1.1rem;
}

.sh-form .form-text {
  margin-top: 5px;
  color: #6b7280;
  font-size: 0.78rem;
  line-height: 1.45;
  font-style: italic;
}

.sh-form label {
  font-weight: bold;
  color: #4b5563;
  font-size: 90%;
  font-style: italic;
}

.sh-form-2 label {
  font-weight: bold;
  color: #4b5563;
  font-style: italic;
}

.sh-text-1 {
  margin-top: 5px;
  color: #6b7280;
  font-size: 1rem;
  font-style: italic;
  line-height: 1;
}

.sh-small-text {
  margin-top: 5px;
  color: #6b7280;
  font-size: 0.78rem;
  font-style: italic;
  line-height: 1;
}
