/* === BASE STYLES === */:root {
  --bg-primary: #0c0403;
  --bg-secondary: #1a0806;
  --surface: #24100b;
  --surface-light: #331610;
  --accent-gold: #f4c95d;
  --accent-gold-bright: #ffdf7e;
  --accent-red: #b3121a;
  --accent-red-bright: #e8232c;
  --text-primary: #fdf6ec;
  --text-secondary: #d9c3a3;
  --border-subtle: rgba(244, 201, 93, 0.25);
  --shadow-deep: 0 20px 50px rgba(0, 0, 0, 0.55);
  --radius-lg: 18px;
  --radius-md: 12px;
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
}

h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(28px, 4vw, 42px);
}

h3 {
  font-size: clamp(20px, 2.5vw, 26px);
}

p {
  color: var(--text-secondary);
  font-size: 17px;
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--accent-gold-bright);
}

.container {
  max-width: 1200px;
}

.cta-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  min-height: 44px;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #1a0806;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-bright));
  border: none;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(244, 201, 93, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.cta-button:hover {
  color: #1a0806;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 40px rgba(244, 201, 93, 0.5);
}

/* Locks the header CTA to one look on every page, regardless of page-specific .cta-button overrides */
.site-header .cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  min-height: 44px;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #1a0806;
  text-decoration: none;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-bright));
  border: none;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(244, 201, 93, 0.35);
}

.site-header .cta-button:hover {
  color: #1a0806;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 40px rgba(244, 201, 93, 0.5);
}

.card {
  height: auto;
  padding: 28px;
  margin-bottom: 24px;
  background: linear-gradient(160deg, var(--surface), var(--surface-light));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-deep);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.card:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 25px 60px rgba(244, 201, 93, 0.2);
  transform: translateY(-8px);
}

.card h3 {
  margin-bottom: 12px;
  color: var(--accent-gold);
}

.content-image {
  margin: 2rem 0;
  text-align: center;
}

.content-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-deep);
  border: 1px solid var(--border-subtle);
}

.content-image.wide img {
  max-height: 480px;
  object-fit: cover;
}

.content-image--sm img {
  max-width: 650px;
}

.highlight-box {
  padding: 24px 28px;
  margin: 2rem 0;
  background: linear-gradient(135deg, rgba(179, 18, 26, 0.25), rgba(244, 201, 93, 0.1));
  border-left: 4px solid var(--accent-gold);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-deep);
}

.highlight-box p {
  margin: 0;
  color: var(--text-primary);
}

.table-responsive table {
  width: 100%;
  color: var(--text-primary);
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.table-responsive th, .table-responsive td {
  padding: 12px 16px;
  border: 1px solid var(--border-subtle);
}

/* === LAYOUT STYLES === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 14px 0;
  background: rgba(12, 4, 3, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--accent-gold);
}

.logo a {
  color: var(--accent-gold);
  text-decoration: none;
}

.hamburger {
  position: relative;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--accent-gold);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--accent-gold);
}

.header-inner .cta-button {
  max-width: 200px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.site-footer {
  padding: 40px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
}

.footer-nav ul {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-nav a:hover {
  color: var(--accent-gold);
}

@media (max-width: 767px) {
  .hamburger {
    display: flex;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .header-inner .cta-button {
    order: 3;
    width: 100%;
    max-width: 100%;
    margin-top: 10px;
  }

  .main-nav {
    order: 4;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-subtle);
    transition: max-height 0.35s ease;
  }

  .main-nav.active {
    max-height: 500px;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 24px 20px;
  }

  .main-nav li {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-subtle);
  }

  .footer-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}