:root {
  --bg: #f8f9fa; 
  --card-bg: #ffffff;
  --text: #212529; 
  --text-muted: #6c757d;
  --accent: #4f46e5; /* Modern indigo accent color used for evidence numbers */
  --edge: #e9ecef;
  
  /* Additional Theme Colors from your original setup */
  --dark: #2c3e50;       
  --myPurple: #8e44ad;
  --myGray: #7f8c8d;          
  --border-divider-light: #e2e8f0;
}

* {
  box-sizing: border-box;
}

body {
  background-color: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}

/* --- HEADER & HEADER.TITLE --- */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background-color: var(--card-bg);
  color: var(--text);
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--edge);
}

.title h1 {
  font-size: 1.5rem;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.title a {
  color: var(--text);
  text-decoration: none;
}

/* HEADER > NAV */
nav {
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

nav a:hover {
  color: var(--accent);
}

/* --- MAIN LAYOUT --- */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 2rem 4rem 2rem; 
  counter-reset: titleCounter;
}

/* --- HERO SECTION --- */
.hero {
  text-align: center;
  padding: 3rem 1rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--edge);
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* --- INTRO TITLE SCREEN --- */
.titleScreen {
  background: var(--card-bg);
  border-radius: 12px;
  border: 1px solid var(--edge);
  padding: 2rem;
  margin-bottom: 3rem;
  color: var(--dark);
}

/* --- EVIDENCE SECTIONS (Based on your .featured-post grid) --- */
section.evidence-card {
  counter-increment: titleCounter;
  display: grid;
  grid-template-columns: 1fr; /* 1 column on mobile */
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--edge);
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  section.evidence-card {
    grid-template-columns: 1fr 1fr; /* Split into exactly 2 equal columns on desktop */
  }
}

/* LEFT SIDE CONTENT OF THE <SECTION> TAG*/
.grouping {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.grouping h2 {
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 15px;
  color: var(--dark);
}

/* COUNTER */

.grouping h2::before {
  content: "Evidence " counter(titleCounter) ": ";
  color: var(--accent);
  font-weight: 600;
}

.quotes, .information {
  width: 100%;
}

.quotes p {
  font-weight: bold;
  margin-top: 10px;
}

/* Right side image/figure wrapper */
figure {
  margin: 0;
  padding: 2.5rem;
  background-color: #fafafa;
  border-left: 1px solid var(--edge);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media (max-width: 767px) {
  figure {
    border-left: none;
    border-top: 1px solid var(--edge);
  }
}

img {
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border-radius: 8px;
  margin-bottom: 15px;
}

figcaption {
  font-size: 0.85rem;
  color: var(--myGray);
  line-height: 1.4;
  width: 100%;
}

/* --- TYPOGRAPHY (QUOTES) --- */
q {
  font-family: 'Georgia', 'Times New Roman', serif; 
  font-size: 1.05rem;               
  color: var(--dark);
  line-height: 1.6;
  font-style: italic;              
  display: inline-block;           
  padding: 0 4px;
  margin: 10px 0;
}

q::before {
  content: "“";
  font-size: 1.6rem;               
  font-family: 'Georgia', serif;
  line-height: 0;
  vertical-align: -0.2em;          
  margin-right: 2px;
  color: var(--accent);
}

q::after {
  content: "”";
  font-size: 1.6rem;
  font-family: 'Georgia', serif;
  line-height: 0;
  vertical-align: -0.4em;          
  margin-left: 2px;
  color: var(--accent);
}

/* --- WORKS CITED FOOTER --- */
footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
  border-top: 1px solid var(--edge);
}

footer h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

footer ol {
  padding-left: 1.2rem;
  color: var(--text-muted);
}

footer li {
  margin-bottom: 0.5rem;
}