body {
  background-color: #0d1117;
  color: #c9d1d9;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 40px 20px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.header {
  margin-bottom: 40px;
  border-bottom: 1px solid #21262d;
  padding-bottom: 20px;
}

.header h1 {
  color: #f0f6fc;
  margin: 0 0 10px 0;
}

.header p {
  color: #8b949e;
  font-size: 1.1rem;
  margin: 0;
}

/* Header Layout & Role Formatting */
.header-main {
  display: flex;
  flex-direction: column; /* Stacks the text and the links vertically */
  align-items: flex-start; /* Aligns everything to the left edge */
  gap: 12px;
}

.role {
  color: #58a6ff;
  font-size: 1.1rem;
  font-weight: 500;
  margin: 4px 0 0 0;
}

/* 3-Column Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

/* Clickable Banner Card */
.card {
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  border-color: #58a6ff;
}

.card-banner {
  height: 160px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.publisher-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(13, 17, 23, 0.85);
  color: #58a6ff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid #30363d;
}

.card-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  color: #f0f6fc;
  font-size: 1.05rem;
  margin: 0 0 8px 0;
  line-height: 1.4;
}

.card-date {
  color: #8b949e;
  font-size: 0.8rem;
  margin-bottom: 14px;
}

.tags {
  margin-top: auto;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tag {
  background: #21262d;
  color: #8b949e;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 12px;
}

/* Social Media Badges */
/* Social Media Badges */
.social-links-vertical {
  display: flex;
  flex-direction: row; /* Places the badges side-by-side */
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
}

.social-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c9d1d9;
  background: #21262d;
  border: 1px solid #30363d;
  padding: 6px 14px;
  border-radius: 20px; /* Gives them a modern pill shape */
  text-decoration: none;
  font-size: 0.85rem;
  font-family: monospace;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.social-badge:hover {
  color: #58a6ff;
  border-color: #58a6ff;
  background: #161b22;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.social-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* Footer Privacy Notice */
.site-footer {
  text-align: center;
  padding: 30px 20px 10px;
  border-top: 1px solid #21262d;
  margin-top: 40px;
}

.site-footer p {
  color: #8b949e;
  font-size: 0.75rem;
  margin: 0;
}
