:root {
  --sw-page-max: 1280px;
  --sw-btn-primary-start: #2563eb;
  --sw-btn-primary-end: #4f46e5;
  --sw-btn-primary-hover-start: #1d4ed8;
  --sw-btn-primary-hover-end: #4338ca;
  --sw-btn-radius: 0.75rem;
}

.container {
  max-width: var(--sw-page-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

main .container,
header .container,
footer .container {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Keep project cards centered consistently across listing pages */
#projects .card-glow {
  text-align: center;
}

#projects .card-glow .flex.items-center {
  justify-content: center;
}

/* Force About text block centered to match requested layout */
#about .lg\:text-left {
  text-align: center !important;
}

#about .lg\:mx-0 {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Footer year line centered on every page */
footer .border-t p {
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
}


/* Card copy consistency: force equal 3-line summary blocks across project grids */
#projects .card-glow p.text-gray-400.text-sm,
#projects .card-glow p.text-gray-400 {
  line-height: 1.5;
  min-height: 4.5em;
  max-height: 4.5em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

/* Consistent primary buttons across pages */
a.bg-blue-600,
button.bg-blue-600,
a.btn-primary,
button.btn-primary,
a.hero-btn,
button.hero-btn {
  background: linear-gradient(135deg, var(--sw-btn-primary-start), var(--sw-btn-primary-end)) !important;
  border: 1px solid rgba(96, 165, 250, 0.35) !important;
  border-radius: var(--sw-btn-radius) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
  text-decoration: none !important;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
}

a.bg-blue-600:hover,
button.bg-blue-600:hover,
a.btn-primary:hover,
button.btn-primary:hover,
a.hero-btn:hover,
button.hero-btn:hover {
  background: linear-gradient(135deg, var(--sw-btn-primary-hover-start), var(--sw-btn-primary-hover-end)) !important;
  box-shadow: 0 14px 30px rgba(29, 78, 216, 0.35);
  transform: translateY(-1px);
}

/* Consistent light CTA buttons */
a.bg-white.text-blue-600,
button.bg-white.text-blue-600 {
  border-radius: var(--sw-btn-radius) !important;
  border: 1px solid rgba(191, 219, 254, 0.5) !important;
  color: #1d4ed8 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

a.bg-white.text-blue-600:hover,
button.bg-white.text-blue-600:hover {
  box-shadow: 0 10px 24px rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

/* Accessible focus ring for keyboard users */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #60a5fa;
  outline-offset: 2px;
}

/* Replace numeric process list markers with consistent check markers */
.process-list,
ol.list-decimal.list-outside {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.process-list > li,
ol.list-decimal.list-outside > li {
  position: relative;
  padding-left: 1.9rem;
}

.process-list > li::before,
ol.list-decimal.list-outside > li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #60a5fa;
  position: absolute;
  left: 0;
  top: 0.18rem;
  line-height: 1;
}
