/* --- BASE STYLES (From your original file) --- */
:root {
  --brand: #3a6ea5;
  --ink: #1f2a44;
  --muted: #5a6b8a;
  --bg: #f6f8fb;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

header, nav, main, footer {
  max-width: 1100px; /* Slightly wider for the split layout */
  margin: 0 auto;
  padding: 1rem;
}

/* --- HEADER & NAV --- */
header {
  background: #fff;
  border-bottom: 4px solid var(--brand);
  padding-bottom: 0;
}

header h1 {
  margin: .2rem 0;
  font-size: 1.8rem;
  color: var(--brand);
}

header p.tagline {
  color: var(--muted);
  margin-top: 0;
  font-style: italic;
}

nav ul {
  list-style: none;
  margin: 1rem 0 0 0;
  padding: 0;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: var(--ink);
  padding: .6rem 1rem;
  border-radius: .5rem .5rem 0 0; /* Tab look */
  font-weight: 600;
}

nav a:hover { background: #e6eef8; }
nav a.active { background: var(--brand); color: #fff; }

/* --- SAFETY BANNER --- */
.safety-banner {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 6px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: bold;
}

/* --- HERO SECTION (The Top Area) --- */
.hero {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 3rem 1rem;
  background: #fff;
  border-bottom: 1px solid #dde3ee;
  margin-bottom: 2rem;
  border-radius: 0 0 12px 12px;
}

.hero-content { flex: 1; }

.hero-content h2 {
  font-size: 2.5rem;
  color: var(--brand);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.1;
}

.hero-intro {
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 2rem;
}

/* Hero Image styling */
.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.caption-box {
  position: absolute;
  bottom: 20px;
  right: -10px;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  gap: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border: 1px solid #dde3ee;
}

/* --- LAYOUT GRID (Bio Left, Sidebar Right) --- */
.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr; /* 2/3 Main, 1/3 Sidebar */
  gap: 3rem;
  padding-bottom: 3rem;
}

/* --- MAIN COLUMN STYLES --- */
.bio-section h3 {
  color: var(--ink);
  font-size: 1.4rem;
  border-left: 5px solid var(--brand);
  padding-left: 1rem;
  margin-top: 2.5rem;
}

.bio-section p {
  font-size: 1.05rem;
  color: #333;
  margin-bottom: 1.5rem;
}

.divider {
  border: 0;
  border-top: 1px solid #dde3ee;
  margin: 3rem 0;
}

/* FORCE 2 EQUAL COLUMNS */
    .philosophy-grid { 
      display: grid; 
      grid-template-columns: 1fr 1fr; 
      gap: 1.5rem; 
    }
    
    /* Ensure mobile stacks correctly */
    @media (max-width: 768px) {
      .philosophy-grid { grid-template-columns: 1fr; } 
    }

.card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #dde3ee;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.card h4 {
  margin-top: 0;
  color: var(--brand);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Post/Card image thumbnails: keep images presentable and consistent */
.card-image {
  width: 100%;
  display: block;
  max-height: 300px; /* limit large images while keeping layout tidy */
  object-fit: contain; /* show the whole image without cropping */
  background: #f6f8fb; /* neutral backdrop when aspect ratios differ */
  border-radius: 8px 8px 0 0;
}

/* --- SIDEBAR STYLES --- */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-widget {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #dde3ee;
}

.sidebar-widget h4 {
  margin-top: 0;
  border-bottom: 2px solid #f0f4f8;
  padding-bottom: 0.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 1px;
}

/* Quote Widget */
.quote-widget blockquote {
  font-style: italic;
  font-size: 1.1rem;
  margin: 0;
  color: var(--ink);
  font-family: "Georgia", serif;
}

.quote-widget cite {
  display: block;
  margin-top: 0.8rem;
  font-size: 0.85rem;
  color: var(--brand);
  font-weight: bold;
  font-style: normal;
}

/* Sidebar Images */
.sidebar-img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.tiny-caption {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  font-style: italic;
  margin: 0;
}

/* Links */
.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.social-links a {
  text-decoration: none;
  color: var(--brand);
  font-weight: 600;
  padding: 0.3rem 0;
  border-bottom: 1px solid transparent;
}

.social-links a:hover {
  border-bottom-color: var(--brand);
}

/* --- BUTTONS --- */
.hero-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.2s;
}

.btn-primary:hover { background: #2c5480; }

.btn-secondary {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

.btn-secondary:hover { background: #e6eef8; }

/* --- FOOTER --- */
footer {
  text-align: center;
  color: var(--muted);
  padding: 3rem 1rem;
  margin-top: 2rem;
  border-top: 1px solid #dde3ee;
}

.disclaimer {
  font-size: 0.75rem;
  opacity: 0.8;
  max-width: 600px;
  margin: 0.5rem auto 0 auto;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
    padding: 2rem 1rem;
  }
  
  .content-grid {
    grid-template-columns: 1fr; /* Stack sidebar below content */
    gap: 2rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .caption-box {
    position: static; /* Simple caption on mobile */
    margin-top: 10px;
    justify-content: center;
    box-shadow: none;
    background: none;
    border: none;
  }
}