/* Color Variables (from style tag in original HTML) */
:root {
  --military-primary: #0f4c3a;
  --military-secondary: #ff5100;
  --military-gold: #c59d1f;
  --primary-foreground: #ffffff;
  --card-bg: #ffffff;
  --card-foreground: #111827;
  --body-bg: #f8fafc;
  --text-gray: #4b5563; /* Approximation of text-gray-700 */
}

/* Base Styles */
body {
  background: var(--body-bg);
  color: #374151; /* text-slate-800 equivalent */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.main-container {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 4rem 1rem; /* px-4 py-16 */
}

.content-wrapper {
  max-width: 72rem; /* max-w-6xl equivalent */
  margin-left: auto;
  margin-right: auto;
}

/* Headings and Text */
.main-heading {
  font-size: 2.25rem; /* text-4xl */
  font-weight: 700; /* font-bold */
  color: var(--military-primary);
  margin-bottom: 2rem; /* mb-8 */
  text-align: center;
}

.intro-text {
  font-size: 1.125rem; /* text-lg */
  text-align: left;
  line-height: 1.625; /* leading-relaxed */
  margin-bottom: 1.5rem; /* mb-6 */
  color: var(--text-gray);
}

/* Info Card (General Container) */
.info-card {
  border-radius: 0.5rem; /* rounded-lg */
  border: 1px solid rgba(15,76,58,0.06);
  background-color: var(--card-bg);
  color: var(--card-foreground);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); /* shadow-sm */
  margin-bottom: 2rem; /* mb-8 */
}

.info-card-body {
  padding: 1.5rem; /* p-6 */
  padding-top: 1.5rem; /* pt-6 */
}

/* Image Placeholder */
.image-placeholder {
  width: 100%;
  height: 16rem; /* h-64 */
  /* Replicating Tailwind's gradient-military class */
  background: linear-gradient(135deg, rgba(15,76,58,0.95), rgba(197,157,31,0.85));
  border-radius: 0.5rem; /* rounded-lg */
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-placeholder-text {
  color: var(--primary-foreground);
  font-size: 1.25rem; /* text-xl */
}

/* Core Character Traits Section */
.card-header {
  display: flex;
  flex-direction: column;
  padding: 1.5rem; /* p-6 */
}

.card-title-center {
  font-weight: 600; /* font-semibold */
  letter-spacing: -0.025em; /* tracking-tight */
  font-size: 1.5rem; /* text-2xl */
  color: var(--military-primary);
  text-align: center;
}

.card-body.pt-0 {
  padding-top: 0;
}

/* Traits Grid */
.traits-grid {
  display: grid;
  gap: 1.5rem; /* gap-6 */
  padding: 0 1.5rem 1.5rem 1.5rem;
}

@media (min-width: 768px) {
  .traits-grid {
    grid-template-columns: repeat(2, 1fr); /* md:grid-cols-2 */
  }
}

@media (min-width: 1024px) {
  .traits-grid {
    grid-template-columns: repeat(3, 1fr); /* lg:grid-cols-3 */
  }
}

/* Individual Trait Card */
.trait-card {
  border-radius: 0.5rem; /* rounded-lg */
  border: 1px solid rgba(15,76,58,0.06);
  background-color: var(--card-bg);
  color: var(--card-foreground);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); /* shadow-sm */
  transition: box-shadow 0.2s, transform 0.2s;
}

.trait-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* hover:shadow-lg */
  /* You can add a slight hover effect if desired, e.g., transform: translateY(-3px); */
}

.trait-content {
  display: flex;
  flex-direction: column;
  padding: 1.5rem; /* p-6 */
  text-align: center;
  /* Equivalent to space-y-1.5, mb-3 */
}

.trait-icon {
  height: 3rem; /* h-12 */
  width: 3rem; /* w-12 */
  color: var(--military-secondary);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.75rem; /* mb-3 */
}

.trait-title {
  font-weight: 600; /* font-semibold */
  letter-spacing: -0.025em; /* tracking-tight */
  font-size: 1.25rem; /* text-xl */
  color: var(--military-primary);
  margin-top: 0;
  margin-bottom: 0;
}

.trait-description-wrapper {
  padding: 1.5rem; /* p-6 */
  padding-top: 0; /* pt-0 */
}

.trait-description {
  text-align: center;
  color: var(--text-gray);
  margin: 0;
}