/*--------------------------------------------------------------
# Shared Design System (matches index.html)
--------------------------------------------------------------*/
:root {
  --berkeley-blue:  #003262;
  --cal-gold:       #FDB515;
  --gold-light:     #FFE28A;
  --blue-dark:      #001f3f;
  --blue-mid:       #1a4a7a;
  --bg:        #f9f9f7;
  --white:     #ffffff;
  --ink:       #111111;
  --ink-mid:   #3d3d3d;
  --ink-light: #6e6e6e;
  --border:    #e0e0dc;
  --surface:   #f2f2ef;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  margin: 0; padding: 0;
}

/*--------------------------------------------------------------
# Navigation (frosted glass, matches index.html)
--------------------------------------------------------------*/
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 56px;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(14px) saturate(1.6);
  -webkit-backdrop-filter: blur(14px) saturate(1.6);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  transition: height 0.25s, box-shadow 0.25s;
}
nav.scrolled {
  height: 48px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.nav-brand {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--berkeley-blue);
  text-decoration: none;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.nav-brand::before {
  content: 'VM';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  background: var(--berkeley-blue);
  color: var(--cal-gold);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 6px;
}
.nav-links { display: flex; gap: 0.25rem; list-style: none; align-items: center; padding: 0; margin: 0; }
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-light);
  text-decoration: none;
  letter-spacing: 0.01em;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  position: relative;
}
.nav-links a:hover {
  color: var(--berkeley-blue);
  background: rgba(0,50,98,0.05);
}
.nav-links a.active {
  color: var(--berkeley-blue);
  font-weight: 600;
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  background: var(--cal-gold);
  border-radius: 1px;
}
.nav-cv {
  padding: 0.4rem 1rem !important;
  background: var(--berkeley-blue) !important;
  color: white !important;
  font-weight: 600 !important;
  font-size: 0.78rem !important;
  border-radius: 6px !important;
  letter-spacing: 0.02em !important;
  transition: background 0.2s, transform 0.15s !important;
}
.nav-cv:hover {
  background: var(--blue-dark) !important;
  transform: translateY(-1px) !important;
}
.nav-cv::after { display: none !important; }

/*--------------------------------------------------------------
# Responsive Nav (hamburger on mobile)
--------------------------------------------------------------*/
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 720px) {
  nav { padding: 0 1.25rem; }
  .nav-brand { font-size: 0.95rem; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(14px) saturate(1.6);
    -webkit-backdrop-filter: blur(14px) saturate(1.6);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    padding: 0.5rem 1.25rem 1rem;
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    font-size: 0.95rem;
  }
  .nav-links a.active::after { display: none; }
  .nav-cv { text-align: center; margin-top: 0.25rem; }
}

/*--------------------------------------------------------------
# Page Layout
--------------------------------------------------------------*/
.page-content {
  margin-top: 56px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 3rem 2.5rem 2rem;
}
.page-content h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.page-content .page-subtitle {
  font-size: 1rem;
  color: var(--ink-light);
  margin-bottom: 2.5rem;
}

/*--------------------------------------------------------------
# Footer (matches index.html)
--------------------------------------------------------------*/
.site-footer {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 2.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
}
.site-footer .footer-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-mid);
}
.site-footer a {
  font-size: 0.88rem;
  color: var(--ink-light);
  text-decoration: none;
  transition: color 0.15s;
}
.site-footer a:hover { color: var(--berkeley-blue); }

@media (max-width: 600px) {
  nav { padding: 0 1.25rem; }
  .page-content { padding: 2rem 1.25rem; }
  .site-footer { padding: 2rem 1.25rem; flex-direction: column; gap: 1rem; text-align: center; }
}

/* Legacy blog-nav kept for backwards compat but hidden */
.blog-nav { display: none; }
@media (max-width: 600px) {
  .blog-nav-inner {
    flex-direction: column;
    padding: 12px 20px;
    gap: 10px;
  }
  .blog-nav-links a {
    font-size: 12px;
    padding: 5px 10px;
  }
}

/*--------------------------------------------------------------
# Blog Hero
--------------------------------------------------------------*/
.blog-post {
  padding-top: 80px;
}
.blog-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--berkeley-blue) 60%, var(--blue-mid) 100%);
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 30px 50px;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}
.blog-hero-content {
  max-width: 100%;
  margin: 0 auto;
}
.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.blog-tag {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--berkeley-blue);
  background: #FDB515;
  padding: 4px 12px;
  border-radius: 4px;
}
.blog-title {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 38px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin: 0 0 24px 0;
}
.blog-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.blog-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.blog-author-name {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
}
.blog-author-date {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
@media (max-width: 768px) {
  .blog-hero {
    padding: 40px 20px 35px;
  }
  .blog-title {
    font-size: 26px;
  }
}

/*--------------------------------------------------------------
# Blog Body
--------------------------------------------------------------*/
.blog-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 50px 30px 60px;
  background: #ffffff;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}
.blog-body p {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #2c2c2c;
  line-height: 1.8;
  margin-bottom: 1.4em;
}
.blog-body h2 {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--berkeley-blue);
  margin-top: 2.5em;
  margin-bottom: 0.8em;
  padding-bottom: 8px;
  border-bottom: 3px solid #FDB515;
}
.blog-body h3 {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--berkeley-blue);
  margin-top: 2em;
  margin-bottom: 0.6em;
}
.blog-body h4 {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--berkeley-blue);
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}
.blog-body a {
  color: #B8860B;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.blog-body a:hover {
  color: var(--berkeley-blue);
  background: #FDB515;
  text-decoration: none;
  padding: 1px 4px;
  border-radius: 3px;
}
.blog-body ul {
  margin-bottom: 1.4em;
  padding-left: 1.5em;
}
.blog-body ul li {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 18px;
  color: #2c2c2c;
  line-height: 1.8;
  margin-bottom: 0.5em;
}
.blog-body strong {
  font-weight: 700;
  color: var(--berkeley-blue);
}
.blog-body em {
  font-style: italic;
}
@media (max-width: 768px) {
  .blog-body {
    padding: 30px 20px 40px;
  }
  .blog-body p,
  .blog-body ul li {
    font-size: 16px;
  }
  .blog-body h2 {
    font-size: 22px;
  }
  .blog-body h3 {
    font-size: 18px;
  }
}

/*--------------------------------------------------------------
# Blog Callout
--------------------------------------------------------------*/
.blog-callout {
  background: #f8f4eb;
  border-left: 5px solid #FDB515;
  padding: 20px 24px !important;
  border-radius: 0 8px 8px 0;
  font-style: italic !important;
  color: var(--berkeley-blue) !important;
  font-size: 17px !important;
}

/*--------------------------------------------------------------
# Blog Results Grid
--------------------------------------------------------------*/
.blog-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 1.5em 0 2em;
}
.blog-result-card {
  background: #f8f9fa;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  padding: 20px;
  overflow: hidden;
}
.blog-result-label {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--berkeley-blue);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #FDB515;
}
.blog-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 4px;
}
.blog-result-row.highlight {
  background: #e8f5e9;
}
.blog-result-model {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #444;
}
.blog-result-value {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--berkeley-blue);
}
@media (max-width: 600px) {
  .blog-results-grid {
    grid-template-columns: 1fr;
  }
}

/*--------------------------------------------------------------
# Blog Impact Grid
--------------------------------------------------------------*/
.blog-impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 1.5em 0 2em;
}
.blog-impact-card {
  background: #ffffff;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-impact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}
.blog-impact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--berkeley-blue);
  color: #FDB515;
  border-radius: 10px;
  font-size: 20px;
  margin-bottom: 14px;
}
.blog-impact-card h4 {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--berkeley-blue);
  margin: 0 0 8px 0;
  border: none;
  padding: 0;
}
.blog-impact-card p {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-size: 14px !important;
  color: #555 !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}
@media (max-width: 600px) {
  .blog-impact-grid {
    grid-template-columns: 1fr;
  }
}

/*--------------------------------------------------------------
# Blog Citation
--------------------------------------------------------------*/
.blog-citation {
  margin-top: 3em;
  padding: 28px;
  background: var(--berkeley-blue);
  border-radius: 10px;
  color: #ffffff;
}
.blog-citation h3 {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #FDB515;
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  padding: 0;
}
.blog-citation p {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-size: 15px !important;
  color: rgba(255, 255, 255, 0.8) !important;
  line-height: 1.6 !important;
  margin: 0 0 16px 0 !important;
}
.blog-citation-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.blog-citation-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--berkeley-blue) !important;
  background: #FDB515;
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}
.blog-citation-links a:hover {
  background: #ffffff;
  color: var(--berkeley-blue) !important;
}

/*--------------------------------------------------------------
# Blog Prev / Next Navigation (fixed bottom bar)
--------------------------------------------------------------*/
.blog-pn {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 2.5rem;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(14px) saturate(1.6);
  -webkit-backdrop-filter: blur(14px) saturate(1.6);
  border-top: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 -1px 6px rgba(0,0,0,0.04);
}
.blog-pn-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: background 0.15s;
}
.blog-pn-link:hover {
  background: rgba(0,50,98,0.05);
}
.blog-pn-link--next {
  margin-left: auto;
  text-align: right;
}
.blog-pn-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-light);
}
.blog-pn-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--berkeley-blue);
  line-height: 1.3;
}
.blog-pn-link:hover .blog-pn-title {
  color: #B8860B;
}
@media (max-width: 600px) {
  .blog-pn {
    padding: 8px 1rem;
  }
  .blog-pn-title {
    font-size: 0.8rem;
  }
}

/*--------------------------------------------------------------
# Blog Footer
--------------------------------------------------------------*/
.blog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 800px;
  margin: 0 auto;
  padding: 24px 30px;
  background: #ffffff;
  border-top: 1px solid #e2e2e2;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #888;
}
.blog-footer a {
  color: var(--berkeley-blue);
  font-weight: 600;
  text-decoration: none;
}
.blog-footer a:hover {
  color: #B8860B;
  background: transparent;
}
@media (max-width: 600px) {
  .blog-footer {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 20px;
  }
}

/*--------------------------------------------------------------
# Blog Body Overrides
  (prevent main site styles from bleeding into blog text)
--------------------------------------------------------------*/
.blog-body p,
.blog-body ul li {
  background: transparent;
}

/*--------------------------------------------------------------
# Blog Index Page
--------------------------------------------------------------*/
.blog-index {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 100px;
  padding-bottom: 40px;
}
.blog-index-header {
  background: var(--berkeley-blue);
  border-radius: 12px 12px 0 0;
  padding: 40px 36px 30px;
  border-bottom: 3px solid #FDB515;
}
.blog-index-header h1 {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 8px 0;
}
.blog-index-header p {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  line-height: 1.5;
}
.blog-index-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #ffffff;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.blog-card {
  display: flex;
  gap: 24px;
  background: #ffffff;
  padding: 30px 36px;
  text-decoration: none !important;
  border-bottom: 1px solid #eee;
  transition: all 0.2s ease;
}
.blog-card:last-child {
  border-bottom: none;
}
.blog-card:hover {
  background: #f9f7f2;
}
.blog-card-thumb {
  flex: 0 0 180px;
  width: 180px;
  height: 130px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--blue-dark);
}
.blog-card-thumb video,
.blog-card-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.blog-card-content {
  flex: 1;
  min-width: 0;
}
.blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.blog-card-title {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--berkeley-blue);
  line-height: 1.3;
  margin: 0 0 10px 0;
  transition: color 0.2s ease;
}
.blog-card:hover .blog-card-title {
  color: #B8860B;
}
.blog-card-excerpt {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin: 0 0 14px 0;
}
.blog-card-meta {
  display: flex;
  gap: 6px;
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 13px;
  color: #999;
  font-weight: 500;
}
@media (max-width: 768px) {
  .blog-index {
    padding-top: 80px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .blog-index-header {
    padding: 28px 22px 22px;
  }
  .blog-index-header h1 {
    font-size: 26px;
  }
  .blog-card {
    flex-direction: column;
    padding: 22px;
    gap: 16px;
  }
  .blog-card-thumb {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    height: 160px;
  }
  .blog-card-title {
    font-size: 18px;
  }
  .blog-card-excerpt {
    font-size: 14px;
  }
}

/*--------------------------------------------------------------
# Blog Stat Cards
--------------------------------------------------------------*/
.blog-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 2em 0;
}
.blog-stat-card {
  background: #f8f9fa;
  border: 1px solid #e2e2e2;
  border-top: 4px solid #FDB515;
  border-radius: 10px;
  padding: 24px 16px;
  text-align: center;
}
.blog-stat-number {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: var(--berkeley-blue);
  line-height: 1;
  margin-bottom: 6px;
}
.blog-stat-label {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #666;
  line-height: 1.4;
}
@media (max-width: 600px) {
  .blog-stat-row {
    grid-template-columns: 1fr;
  }
}

/*--------------------------------------------------------------
# Blog Taxonomy Box
--------------------------------------------------------------*/
.blog-taxonomy {
  margin: 2em 0;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  overflow: hidden;
}
.blog-taxonomy-header {
  background: var(--berkeley-blue);
  color: #ffffff;
  padding: 14px 24px;
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.blog-taxonomy-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 18px 24px;
  border-bottom: 1px solid #e2e2e2;
  background: #ffffff;
}
.blog-taxonomy-item:last-child {
  border-bottom: none;
}
.blog-taxonomy-name {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #B8860B;
}
.blog-taxonomy-desc {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}
@media (max-width: 600px) {
  .blog-taxonomy-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/*--------------------------------------------------------------
# Blog Chart (Bar Visualization)
--------------------------------------------------------------*/
.blog-chart {
  margin: 2.5em -10px;
  background: var(--blue-dark);
  border-radius: 10px;
  padding: 30px 24px 20px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(253, 181, 21, 0.2);
}
.blog-chart::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #FDB515, var(--berkeley-blue), #FDB515);
}
.blog-chart-title {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}
.blog-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 180px;
  padding-bottom: 28px;
  position: relative;
}
.blog-chart-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.blog-chart-bar {
  width: 100%;
  border-radius: 3px 3px 0 0;
  transition: height 0.6s ease;
}
.blog-chart-bar-primary {
  background: var(--berkeley-blue);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.blog-chart-bar-accent {
  background: #FDB515;
}
.blog-chart-label {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 6px;
}
.blog-chart-axis {
  text-align: center;
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 1px;
  margin-top: 4px;
}
.blog-chart-legend {
  display: flex;
  gap: 24px;
  margin-top: 16px;
}
.blog-chart-legend span {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  gap: 8px;
}
.blog-chart-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

/*--------------------------------------------------------------
# Blog Findings List
--------------------------------------------------------------*/
.blog-findings {
  margin: 2em 0;
}
.blog-finding {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e2e2;
}
.blog-finding:last-child {
  border-bottom: none;
}
.blog-finding-num {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: #B8860B;
  line-height: 1.1;
}
.blog-finding-text {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 17px;
  color: #2c2c2c;
  line-height: 1.7;
}
.blog-finding-text strong {
  color: var(--berkeley-blue);
}

/*--------------------------------------------------------------
# Blog Lead Paragraph
--------------------------------------------------------------*/
.blog-lead {
  font-size: 19px !important;
  line-height: 1.75 !important;
  color: var(--berkeley-blue) !important;
  font-weight: 400;
  border-left: 4px solid #FDB515;
  padding-left: 20px !important;
  margin-bottom: 2em !important;
}

/*--------------------------------------------------------------
# Blog Insight Boxes (Problem / Solution)
--------------------------------------------------------------*/
.blog-insight-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 2em 0;
}
.blog-insight-box {
  background: #ffffff;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  padding: 20px;
}
.blog-insight-problem {
  border-top: 4px solid #ef4444;
}
.blog-insight-solution {
  border-top: 4px solid #10b981;
}
.blog-insight-label {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.blog-insight-problem .blog-insight-label {
  color: #ef4444;
}
.blog-insight-solution .blog-insight-label {
  color: #10b981;
}
.blog-insight-box p {
  font-size: 15px !important;
  line-height: 1.65 !important;
  margin-bottom: 0 !important;
  color: #444 !important;
}
@media (max-width: 600px) {
  .blog-insight-row {
    grid-template-columns: 1fr;
  }
}

/*--------------------------------------------------------------
# Blog Pipeline Diagram
--------------------------------------------------------------*/
.blog-pipeline {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 2.5em 0;
  padding: 28px 20px;
  background: #f8f9fa;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
}
.blog-pipeline-step {
  text-align: center;
}
.blog-pipeline-box {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  background: #ffffff;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  padding: 10px 16px;
  color: var(--berkeley-blue);
}
.blog-pipeline-highlight {
  background: var(--berkeley-blue) !important;
  color: #ffffff !important;
  border-color: var(--berkeley-blue) !important;
}
.blog-pipeline-accent {
  background: #FDB515 !important;
  color: var(--berkeley-blue) !important;
  border-color: #FDB515 !important;
}
.blog-pipeline-detail {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 11px;
  color: #888;
  margin-top: 6px;
}
.blog-pipeline-arrow {
  font-size: 20px;
  color: #ccc;
  font-weight: 300;
}
@media (max-width: 600px) {
  .blog-pipeline {
    flex-direction: column;
  }
  .blog-pipeline-arrow {
    transform: rotate(90deg);
  }
}

/*--------------------------------------------------------------
# Blog Task Cards
--------------------------------------------------------------*/
.blog-task-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 2em 0;
}
.blog-task-card {
  background: #ffffff;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  padding: 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-task-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}
.blog-task-icon {
  font-size: 28px;
  margin-bottom: 8px;
}
.blog-task-card h4 {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--berkeley-blue);
  margin: 0 0 6px 0;
  border: none;
  padding: 0;
}
.blog-task-card p {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-size: 14px !important;
  color: #666 !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}
@media (max-width: 600px) {
  .blog-task-grid {
    grid-template-columns: 1fr;
  }
}

/*--------------------------------------------------------------
# Publications Page
--------------------------------------------------------------*/
.pub-page {
  max-width: 800px;
  margin: 100px auto 0;
  padding-bottom: 40px;
  position: relative;
  z-index: 1;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}
.pub-header {
  background: var(--berkeley-blue);
  padding: 40px 36px 30px;
  border-bottom: 3px solid #FDB515;
}
.pub-header h1 {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 8px 0;
}
.pub-header p {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  line-height: 1.5;
}
.pub-list {
  background: #ffffff !important;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}
.pub-card {
  display: flex;
  gap: 20px;
  padding: 28px 30px;
  border-bottom: 1px solid #eee;
  transition: background 0.2s ease;
  background: #ffffff !important;
  overflow: hidden;
  box-sizing: border-box;
  max-width: 100%;
}
.pub-card:last-child {
  border-bottom: none;
}
.pub-card:hover {
  background: #f9f7f2 !important;
}
.pub-card-thumb {
  flex: 0 0 220px;
  width: 220px;
  max-width: 220px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
}
.pub-card-thumb a {
  display: block;
  width: 100%;
  background: transparent !important;
}
.pub-card-thumb video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}
.pub-card-info {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.pub-card-title {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--berkeley-blue) !important;
  line-height: 1.3;
  margin: 0 0 8px 0;
  background: none !important;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.pub-card-authors {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 13px;
  color: #666 !important;
  line-height: 1.6;
  margin: 0 0 6px 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.pub-card-venue {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #B8860B !important;
  margin: 0 0 12px 0;
}
.pub-card-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pub-card-links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--berkeley-blue) !important;
  background: #f0f0f0 !important;
  padding: 5px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.pub-card-links a:hover {
  background: #FDB515 !important;
  color: var(--berkeley-blue) !important;
}
.pub-card-links a i {
  font-size: 11px;
}
@media (max-width: 768px) {
  .pub-page {
    margin: 80px 15px 0;
  }
  .pub-header {
    padding: 28px 22px 22px;
  }
  .pub-header h1 {
    font-size: 26px;
  }
  .pub-card {
    flex-direction: column;
    padding: 20px;
    gap: 14px;
  }
  .pub-card-thumb {
    flex: 0 0 auto;
    width: 100%;
    max-width: 200px;
  }
  .pub-card-title {
    font-size: 16px;
  }
  .pub-card-authors {
    font-size: 12px;
  }
}

/*--------------------------------------------------------------
# Experience Page
--------------------------------------------------------------*/
.exp-page {
  max-width: 800px;
  margin: 100px auto 0;
  padding-bottom: 40px;
  position: relative;
  z-index: 1;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}
.exp-header {
  background: var(--berkeley-blue);
  padding: 40px 36px 30px;
  border-bottom: 3px solid #FDB515;
}
.exp-header h1 {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 8px 0;
}
.exp-header p {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  line-height: 1.5;
}
.exp-body {
  padding: 36px 36px 30px;
  background: #ffffff !important;
}
.exp-section {
  margin-bottom: 36px;
}
.exp-section:last-of-type {
  margin-bottom: 24px;
}
.exp-section-title {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--berkeley-blue) !important;
  margin: 0 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 3px solid #FDB515;
  background: none !important;
}
.exp-section-title i {
  margin-right: 8px;
  color: #FDB515;
}
.exp-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
}
.exp-item:last-child {
  border-bottom: none;
}
.exp-item-dot {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  background: #FDB515;
  border: 1px solid var(--berkeley-blue);
  border-radius: 50%;
  margin-top: 6px;
}
.exp-item-content {
  flex: 1;
  min-width: 0;
}
.exp-item-role {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--berkeley-blue) !important;
  margin: 0 0 4px 0;
  line-height: 1.3;
  background: none !important;
}
.exp-item-date {
  display: inline-block;
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--berkeley-blue) !important;
  background: #FDB515 !important;
  padding: 2px 10px;
  border-radius: 4px;
  margin-bottom: 6px;
}
.exp-item-org {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #666 !important;
  font-style: italic;
  margin: 0 0 4px 0;
}
.exp-item-desc {
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #444 !important;
  line-height: 1.6;
  margin: 0;
}
.exp-item-desc a {
  color: #B8860B !important;
  text-decoration: underline;
  text-underline-offset: 2px;
  background: none !important;
}
.exp-item-desc a:hover {
  color: var(--berkeley-blue) !important;
  background: #FDB515 !important;
  text-decoration: none;
  padding: 1px 3px;
  border-radius: 3px;
}
.exp-resume {
  text-align: center;
  padding-top: 12px;
}
.exp-resume a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Avenir', 'Avenir Next', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--berkeley-blue) !important;
  background: #FDB515 !important;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}
.exp-resume a:hover {
  background: var(--berkeley-blue) !important;
  color: #FDB515 !important;
}
@media (max-width: 768px) {
  .exp-page {
    margin: 80px 15px 0;
  }
  .exp-header {
    padding: 28px 22px 22px;
  }
  .exp-header h1 {
    font-size: 26px;
  }
  .exp-body {
    padding: 24px 22px 20px;
  }
  .exp-item-role {
    font-size: 15px;
  }
  .exp-item-desc {
    font-size: 13px;
  }
}
