*, *::before, *::after {
  box-sizing: border-box;
}
:root {
  --bg-primary: #161616;
  --bg-secondary: #1f1f1f;
  --bg-card: #262626;
  --text-primary: #f4f4f4;
  --text-secondary: #c6c6c6;
  --text-muted: #8d8d8d;
  --border-color: #393939;
  --accent-color: #0f62fe;
  --accent-hover: #0353e9;
  --danger-color: #da1e28;
  --success-color: #24a148;
  --warning-color: #f1c21b;
  --card-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  margin: 0;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4,
.display-heading,
.section-heading {
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.display-heading {
  font-size: 2.5rem;
  line-height: 1.2;
}

.section-heading {
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 400;
}

.body-text {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

a, a:visited, a:link {
  color: #78a9ff;
  text-decoration: none;
  cursor: pointer;
}

a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-header {
  background-color: #000000;
  color: #ffffff;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

.site-name {
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-name a {
  color: #78a9ff;
}

.site-name:hover {
  text-decoration: none;
}

.container {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  max-width: 1650px;
  margin: 0 auto;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  width: 100%;
  flex: 1;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.col, .col-md-4, .col-lg-4, .col-md-8, .col-lg-8, .col-md-6, .col-lg-6, .col-lg-3, .col-12 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  width: 100%;
}

@media (min-width: 672px) {
  .col-md-4 { width: 33.3333%; }
  .col-md-6 { width: 50%; }
  .col-md-8 { width: 66.6666%; }
}

@media (min-width: 1056px) {
  .col-lg-3 { width: 25%; }
  .col-lg-4 { width: 33.3333%; }
  .col-lg-6 { width: 50%; }
  .col-lg-8 { width: 66.6666%; }
}

.card {
  background-color: var(--bg-card);
  padding: 1.25rem;
  border: 1px solid var(--border-color);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  border-radius: 4px;
}

.card:hover {
  border-color: var(--accent-color);
  box-shadow: var(--card-shadow);
}

.site-footer {
  background-color: #000000;
  padding: 0.85rem 0;
  border-top: 1px solid var(--border-color);
  margin-top: auto;
  font-size: 0.8rem;
  color: var(--text-muted);
}
