:root {
  --bg: #faf8f5;
  --surface: #fffcf9;
  --surface-alt: #f5f0eb;
  --text: #3d3430;
  --muted: #8b8077;
  --primary: #c97750;
  --primary-dark: #a86140;
  --border: #e8ddd2;
  --shadow: 0 12px 32px rgba(157, 107, 85, 0.12);
  --color-orange: #d97e57;
  --color-warm-gold: #c9a97a;
  --color-rust: #a86140;
  --color-warm-red: #c85e4e;
  --color-taupe: #9b8577;
  --color-cream: #fef9f5;
  --color-accent: #d97e57;
  --color-accent-light: #e8a97e;
  --color-orange-bg: rgba(217, 126, 87, 0.1);
  --color-rust-bg: rgba(168, 97, 64, 0.08);
  --color-gold-bg: rgba(201, 169, 122, 0.08);
  --color-warm-red-bg: rgba(200, 94, 78, 0.1);
  /* Responsive Spacing Variables */
  --space-xs: clamp(0.5rem, 2%, 1rem);
  --space-sm: clamp(1rem, 3%, 1.5rem);
  --space-md: clamp(1.5rem, 4%, 2rem);
  --space-lg: clamp(2rem, 5%, 2.5rem);
  --space-xl: clamp(2.5rem, 7%, 4rem);
  --space-2xl: clamp(3rem, 8%, 5rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  color: var(--text);
}

a {
  color: var(--primary);
}

.container {
  width: min(1120px, calc(100% - 2 * var(--space-md)));
  margin: 0 auto;
  max-width: 100%;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
}

.brand {
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}

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

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.site-nav a:hover {
  color: var(--primary);
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #d97e57, #c9a97a);
  transition: width 0.3s ease;
  bottom: calc(-1 * var(--space-xs));
}

.site-nav a:hover::after {
  width: 100%;
}

.hero {
  background: linear-gradient(135deg, #d97e57 0%, #c9a97a 50%, #d97e57 100%);
  padding: var(--space-2xl) var(--space-md);
  color: white;
  text-align: center;
}

.hero-content {
  display: grid;
  gap: var(--space-md);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #fef4ed;
  font-size: 0.85rem;
  margin: 0;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1.05;
  color: white;
}

.hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.95);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xs) var(--space-sm);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.primary {
  background: var(--primary);
  color: #ffffff;
}

.primary:hover {
  background: var(--primary-dark);
}

.secondary {
  background: #fef9f5;
  border: 2px solid #d97e57;
  color: #3d3430;
  font-weight: 600;
}

.secondary:hover {
  background: var(--color-orange-bg);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.card {
  background: var(--surface);
  padding: var(--space-md);
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(157, 107, 85, 0.15);
}

.section-light {
  background: var(--surface-alt);
  padding: var(--space-lg) var(--space-md);
  margin: var(--space-lg) 0;
  border-radius: 1.5rem;
  border-top: 4px solid #d97e57;
}

.section-light > h2,
.section-light > p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.section-light:nth-of-type(2) {
  border-top: 4px solid #c9a97a;
}

.section-light:nth-of-type(3) {
  border-top: 4px solid #a86140;
}

.section-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
  justify-items: center;
  text-align: center;
}

.section-split > div {
  width: 100%;
  max-width: 900px;
}

.section-split h2,
.page-header h1,
.event-card h2,
.rule-card h2 {
  margin-top: 0;
}

.page-header {
  padding: var(--space-xl) 0 var(--space-md);
  text-align: center;
}

.page-header p {
  color: var(--muted);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.event-list,
.rules-list {
  display: grid;
  gap: var(--space-md);
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.event-card,
.rule-card {
  background: var(--surface);
  border: 2px solid var(--border);
  padding: var(--space-md);
  border-radius: 1.25rem;
  transition: all 0.3s ease;
}

.event-card:nth-child(1),
.rule-card:nth-child(1) {
  border-left: 5px solid #d97e57;
}

.event-card:nth-child(2),
.rule-card:nth-child(2) {
  border-left: 5px solid #c9a97a;
}

.event-card:nth-child(3),
.rule-card:nth-child(3) {
  border-left: 5px solid #a86140;
}

.event-card:nth-child(4) {
  border-left: 5px solid #c85e4e;
}

.event-card:hover,
.rule-card:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.event-meta {
  margin: var(--space-xs) 0 var(--space-sm);
  color: var(--primary);
  font-weight: 600;
}

.calendar-list,
.quick-links,
.location-info ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.calendar-list li,
.location-info li {
  padding: var(--space-xs) var(--space-sm);
  border-bottom: 1px solid var(--border);
  color: var(--text);
  margin-bottom: var(--space-xs);
  border-left: 4px solid #d97e57;
  border-radius: 4px;
  background: rgba(217, 126, 87, 0.05);
}

.calendar-list li:nth-child(2) {
  border-left-color: #c9a97a;
  background: rgba(201, 169, 122, 0.08);
}

.calendar-list li:nth-child(3) {
  border-left-color: #a86140;
  background: rgba(168, 97, 64, 0.08);
}

.calendar-list li:nth-child(4) {
  border-left-color: #c85e4e;
  background: rgba(200, 94, 78, 0.1);
}

.calendar-list li:last-child,
.location-info li:last-child {
  border-bottom: none;
}

.quick-links {
  display: grid;
  gap: var(--space-xs);
  justify-items: center;
}

.quick-links a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
}

.location-info a {
  color: var(--primary);
  text-decoration: none;
}

.numbered-list {
  padding-left: 0;
  margin: var(--space-sm) 0;
  list-style: none;
  counter-reset: item;
}

.numbered-list li {
  margin-bottom: var(--space-sm);
  line-height: 1.6;
  padding-left: 3rem;
  position: relative;
  counter-increment: item;
}

.numbered-list li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(135deg, #d97e57, #c9a97a);
  color: white;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
}

.numbered-list li:nth-child(2)::before { background: linear-gradient(135deg, #c9a97a, #a86140); }
.numbered-list li:nth-child(3)::before { background: linear-gradient(135deg, #a86140, #d97e57); }
.numbered-list li:nth-child(4)::before { background: linear-gradient(135deg, #d97e57, #c85e4e); }
.numbered-list li:nth-child(5)::before { background: linear-gradient(135deg, #c85e4e, #c9a97a); }
.numbered-list li:nth-child(6)::before { background: linear-gradient(135deg, #c9a97a, #d97e57); }
.numbered-list li:nth-child(7)::before { background: linear-gradient(135deg, #a86140, #c85e4e); }
.numbered-list li:nth-child(8)::before { background: linear-gradient(135deg, #c85e4e, #d97e57); }
.numbered-list li:nth-child(9)::before { background: linear-gradient(135deg, #d97e57, #a86140); }

.location-note {
  margin-top: var(--space-sm);
  color: var(--muted);
}

.location-info {
  text-align: center;
}

.location-info h2 {
  text-align: center;
}

.site-footer {
  padding: var(--space-lg) var(--space-md);
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: auto;
  background: var(--surface-alt);
  border-top: 2px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  text-align: center;
}

/* Page Layout - Centered */
.page-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  width: 100%;
  max-width: 100%;
  padding: 0 var(--space-md);
  margin: 0 auto;
  flex: 1;
}

.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.news-bar {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.news-bar-header {
  background: linear-gradient(135deg, #d97e57 0%, #c9a97a 100%);
  color: white;
  padding: var(--space-md);
  font-weight: 700;
  font-size: 1.1rem;
}

.news-bar-content {
  padding: var(--space-md);
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.news-item {
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border);
}

.news-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.news-item-date {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.news-item-title {
  font-weight: 600;
  color: var(--text);
  margin: var(--space-xs) 0;
  font-size: 0.95rem;
}

.news-item-text {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

.main-content {
  padding-top: var(--space-md);
  width: 100%;
}

@media (max-width: 1024px) {
  .page-wrapper {
    padding: 0 var(--space-sm);
  }

  .news-sidebar {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .page-wrapper {
    padding: 0 var(--space-sm);
  }

  .news-bar {
    border-radius: 1rem;
  }

  .news-bar-header,
  .news-bar-content {
    padding: var(--space-sm);
  }
}

@media (max-width: 860px) {
  .intro-grid,
  .section-split {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: var(--space-lg) 0;
  }

  .hero-actions {
    flex-direction: column;
  }

  .container {
    width: min(100%, calc(100% - 2 * var(--space-sm)));
  }
}
