:root {
  --bg: #ffffff;
  --text: #000000;
  --text-muted: #666666;
  --border: #e0e0e0;
  --accent: #111;
  --font-serif: 'Georgia', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Base & Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --- Header & Navigation --- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 5%;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}


.logo img {
  height: 67px; /* Smaller, sleeker logo height */
  filter: grayscale(100%);
  transition: 0.3s;
}

.site-nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
}

.site-nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: color 0.3s;
}

.site-nav a:hover { color: var(--text-muted); }

/* --- Hero Section --- */
.hero {
  padding: 100px 5% 60px 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.1;
  font-weight: 400;
  margin-bottom: 30px;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
}

.page-header {
  max-width: 1000px;
  margin: 40px auto 20px;
  padding: 0 20px;
  text-align: center;
}
        
.page-header h1 {
  font-size: 2.5rem;
  font-family: Georgia, serif;
  color: #000000;
}
        
.page-header p {
  color: #555;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 10px auto;
}

/* --- Content Sections --- */
.featured-articles {
  padding: 60px 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.75rem;
  font-weight: 700;
  border-bottom: 1px solid var(--text);
  display: inline-block;
  margin-bottom: 40px;
  padding-bottom: 5px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px; /* The "Grid" Look */
  background-color: var(--border); /* Borders through grid gap */
  border: 1px solid var(--border);
}

.articles-grid article {
  background: white;
  padding: 40px;
  display: flex;
  flex-direction: column;
  transition: background 0.4s;
}

.articles-grid article:hover {
  background: #fafafa;
}

.articles-grid h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 400;
}

.articles-grid p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 25px;
  flex-grow: 1;
}

.article-content {
  max-width: 800px;
  margin: 20px auto; /* Center the content and add space */
  padding: 0 20px; /* Add horizontal padding for smaller screens */
}

.article-figure {
  margin: 20px auto;
  max-width: 100%;
  text-align: center;
}

.article-figure figcaption {
  font-size: 0.9em;
  color: #555;
  margin-top: 10px;
}



.read-more {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.read-more::after {
  content: "→";
  transition: transform 0.3s;
}

.read-more:hover::after {
  transform: translateX(5px);
}

/* --- Mobile Fixes --- */
@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }

  .site-nav ul {
    gap: 15px;
    justify-content: center;
    width: 100%;
  }

  .site-nav a {
    font-size: 0.7rem; /* Smaller font for mobile to fit on one line */
  }

.site-nav a:hover {
  color: #30474d; /* Slightly lighter color on hover */
            
}

  .hero {
    padding: 60px 20px;
  }
}

.site-footer {
    padding: 60px 5%;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* --- ARTICLE & DEEP-DIVE EXTENSION --- */
:root {
  /* Fallbacks in case these aren't defined in your main block */
  --font-serif: 'Georgia', serif;
  --text-muted: #666;
  --border: #e0e0e0;
}

.article-container {
  max-width: 750px; /* Scientific reading width for high-end feel */
  margin: 0 auto;
  padding: 60px 20px;
}

.article-header {
  margin-bottom: 40px;
  text-align: left;
}

.article-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 400;
}

/* The Systemic Overview / Summary Box */
.summary-box {
  border: 1px solid #000;
  padding: 30px;
  margin: 40px 0 60px 0;
  background: #fafafa;
}

.summary-box h2 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  display: block;
}

.summary-box ul {
  list-style: none;
  padding-left: 0;
}

.summary-box li {
  font-size: 0.95rem;
  margin-bottom: 15px;
  position: relative;
  padding-left: 20px;
  color: #333;
}

.summary-box li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

.article-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #1a1a1a;
}

.article-body h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin: 50px 0 20px 0;
  font-weight: 400;
  border-top: 1px solid var(--border);
  padding-top: 30px;
}

.article-body p { 
  margin-bottom: 25px; 
}

/* Scalable Images */
.article-image {
  width: 100%;
  height: auto;
  margin: 40px 0;
  transition: filter 0.5s;
}

.article-list-container {
  max-width: 800px; /* Narrower width for a clean list */
  margin: 40px auto;
  padding: 0 20px;
}

.audio-player-wrapper {
  margin: 40px 0;
  padding: 20px;
  background: #f0f0f0;
  border-radius: 2px;
}

.list-card {
  display: block;
  text-decoration: none;
  color: #333;
  padding: 15px 20px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fcfcfc;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.list-card:hover {
  background-color: #eef4f7;
  border-color: #aacfe2;
}

.list-card h3 {
  margin-top: 0;
  margin-bottom: 5px;
  font-size: 1.2rem;
  color: #060808;
  font-weight: 600; /* Slightly bolder title */
}

.list-card p {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

th, td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

th {
  background-color: #f2f2f2;
  color: #333;
  font-weight: bold;
}

tr:nth-child(even) {
  background-color: #f9f9f9;
}
tr:hover {
  background-color: #e9e9e9;
}

h1, h2, h3 {
  color: #000000;
}
h1 {
  text-align: center;
  font-family: Georgia, serif;
}
h2 {
  border-bottom: 2px solid #ccc;
  padding-bottom: 5px;
  margin-top: 40px;
}
h3 {
  margin-top: 30px;
}
ul {
  list-style-type: disc;
  margin-left: 20px;
}
strong {
  color: #000;
}
em {
  font-style: italic;
}
