/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');

/* ── Base ── */
body {
  font-family: 'Lato', sans-serif;
  color: #2c2c2c;
  background-color: #ffffff;
}

/* ── Cassiopeia Color Variables ── */
:root {
  --cassiopeia-color-primary: #C0272D;
  --cassiopeia-color-hover: #8B0000;
  --cassiopeia-color-link: #C0272D;
  --cassiopeia-color-link-hover: #8B0000;
}

/* ── Header gradient ── */
#sp-navbar {
  background: linear-gradient(135deg, #C0272D 0%, #6B0000 60%, #1a1a1a 100%) !important;
}

/* ── Logo ── */
.navbar-brand img {
  max-height: 50px;
  width: auto;
}

/* ── Navigation ── */
.navbar-brand {
  flex-shrink: 0 !important;
}

#sp-navbar .mod-menu {
  flex-direction: row !important;
  display: flex !important;
  gap: 20px !important;
  margin-left: auto !important;
  padding: 0 !important;
}

.mod-menu a {
  color: #ffffff !important;
}

.mod-menu a:hover {
  color: #ffcccc !important;
}

/* ── Hide page header bar ── */
.page-header {
  display: none !important;
}

/* ── Headings ── */
h1, h2, h3, h4 {
  color: #C0272D;
  font-weight: 400;
}

h2 {
  font-size: 1.6rem;
  border-bottom: 2px solid #C0272D;
  padding-bottom: 8px;
  margin-bottom: 20px;
}

/* ── Links ── */
a {
  color: #C0272D;
  text-decoration: none;
}

a:hover {
  color: #8B0000;
}

/* ── Buttons ── */
.btn-primary {
  background-color: #C0272D !important;
  border-color: #C0272D !important;
  color: #ffffff !important;
}

.btn-primary:hover {
  background-color: #8B0000 !important;
  border-color: #8B0000 !important;
}

/* ── Full width content ── */
.item-page {
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
}

#sp-main-body {
  width: 100% !important;
  max-width: 100% !important;
}

/* ── Hide login module ── */
.mod-login {
  display: none !important;
}

/* ── Hide sidebar ── */
#sp-sidebar {
  display: none !important;
}

/* ── Content font size ── */
.item-page p,
.item-page li {
  font-size: 17px;
  line-height: 1.75;
}

/* ── Footer ── */
#sp-footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #6B0000 100%);
  color: #ffffff;
  padding: 30px 20px;
  text-align: center;
  font-size: 14px;
}

#sp-footer a {
  color: #ffcccc;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .item-page {
    padding: 20px 15px;
  }
}