/* Global adjustments */
body {
  font-family: 'Helvetica Neue', sans-serif;
  background: #f9f9f9;
  margin: 0;
  padding: 0;
  color: #333;
}

/* Header & Hero Adjustments */
header.site-header,
header#site-header {
  padding: 0.5rem 1rem !important;
  background-color: #fff !important;
  border-bottom: 1px solid #eaeaea !important;
}

/* Option: Slim the Hero Section */
.hero {
  min-height: 150px !important;
  padding: 1rem !important;
  background-size: cover !important;
  background-position: center center !important;
}

/* Or completely remove the hero banner site-wide (uncomment if desired) */
/*
.hero {
  display: none !important;
}
*/

/* Container Tweaks */
.container,
.social-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

/* Social Page Styles (unchanged) */
.social-icons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 1rem 0;
}

.social-icon {
  font-size: 1.5rem;
  color: #333;
  transition: color 0.2s;
}

.social-icon:hover {
  color: #666;
}

.social-title {
  text-align: center;
  margin-bottom: 3rem;
}

.social-category {
  margin-bottom: 3rem;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.social-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  overflow: hidden;
}

.social-card:hover {
  transform: translateY(-5px);
}

.social-card-inner {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.social-card h3 {
  margin: 1rem 0;
  color: #333;
}

.social-card p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

/* Project Card Adjustments */
.project-card {
  display: flex;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s ease;
}

.project-card:hover {
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.project-card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  flex-shrink: 0;
}

.project-card .project-content {
  padding: 1rem;
}

/* Projects Grid (if used) */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* Override theme main constraints */
main {
  max-width: none !important;
  width: 100% !important;
}

/* Landing Page Sections */
.artifacts-section {
  max-width: 1400px !important;
  margin: 0 auto 4rem !important;
  padding: 0 2rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
}

.view-all-link {
  color: #0066cc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.view-all-link:hover {
  color: #0052a3;
}

/* Featured Posts Layout */
.featured-artifacts {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 2rem !important;
  align-items: start !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
}

@media (max-width: 1024px) {
  .featured-artifacts {
    grid-template-columns: 1fr;
  }
}

/* Featured Primary Post (Left Column) */
.featured-card.featured-primary {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  height: fit-content;
  min-height: auto;
}

.featured-card.featured-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.featured-card.featured-primary h3 {
  font-size: 1.65rem;
  line-height: 1.3;
  margin: 0.75rem 0;
}

.featured-card.featured-primary p {
  font-size: 1rem;
  line-height: 1.65;
  color: #444;
  margin: 1rem 0 0.5rem;
}

.featured-card.featured-primary .read-more-link {
  display: inline-block;
  color: #0066cc;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 0.75rem;
  transition: color 0.2s;
}

.featured-card.featured-primary .read-more-link:hover {
  color: #0052a3;
  text-decoration: underline;
}

/* Featured Posts Grid (Right Column) */
.featured-posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.featured-posts-grid .featured-card {
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.featured-posts-grid .featured-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.featured-posts-grid h3 {
  font-size: 1.15rem;
  line-height: 1.4;
  margin: 0.5rem 0;
}

.featured-posts-grid p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
  margin: 0.75rem 0 0;
}

/* Artifact Type Badges */
.artifact-type {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.artifact-type.blog-post {
  background: #e8f4f8;
  color: #0077b6;
}

/* Artifact Meta */
.artifact-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
  color: #666;
  margin: 0.5rem 0;
}

/* Tech Badges */
.artifact-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tech-badge {
  padding: 0.25rem 0.75rem;
  background: #f0f0f0;
  border-radius: 4px;
  font-size: 0.85rem;
  color: #555;
}

/* Project Card Badge Fixes */
.projects-grid .card-badges {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.projects-grid .type-badge,
.projects-grid .status-badge,
.projects-grid .featured-badge {
  display: inline-block;
  padding: 3px 8px !important;
  border-radius: 4px !important;
  font-size: 0.65rem !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.projects-grid .type-badge {
  background: #3b82f6;
  color: white;
}

.projects-grid .status-badge {
  background: #6b7280;
  color: white;
}

.projects-grid .featured-badge {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: white;
}

/* Fix Font Awesome icon sizes in project cards */
.projects-grid .card-links i,
.projects-grid .metric-pill i,
.projects-grid .featured-badge i,
.projects-grid .card-footer i {
  font-size: 0.75rem !important;
}

.projects-grid .card-links .card-link {
  font-size: 1rem !important;
  width: 28px !important;
  height: 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.projects-grid .metric-pill {
  font-size: 0.75rem !important;
  padding: 3px 8px !important;
}

/* Constrain badge images in project cards */
.projects-grid .card-description img,
.projects-grid .card-body img {
  max-height: 20px !important;
  width: auto !important;
  max-width: 100px !important;
  display: inline-block !important;
  vertical-align: middle !important;
  margin: 0 2px !important;
}

/* Papers and Projects Grids */
.artifacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.artifact-card {
  background: #fff;
  border-radius: 10px;
  padding: 1.75rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.artifact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.artifact-header {
  margin-bottom: 1rem;
}

.artifact-title {
  font-size: 1.25rem;
  margin: 0.5rem 0;
  line-height: 1.3;
}

.artifact-title a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s;
}

.artifact-title a:hover {
  color: #0066cc;
}

.artifact-body {
  flex: 1;
}

.artifact-description {
  color: #555;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.artifact-registries {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.registry-link {
  color: #0066cc;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.registry-link:hover {
  color: #0052a3;
  text-decoration: underline;
}



















