/* Universal Box-Sizing */
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }

/* Body */
body {
  font-family: 'Lato', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #e6e4e0;
  color: #333f42;
  overflow-x: hidden;
}

/* Headings */
h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #333f42;
}
.final-text-block h4,
.podcast-section h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #108bcb;
  font-size: 1.8em;
  margin-bottom: 20px;
}
.cv-section h2 {
  color: #108bcb;
  font-size: 2.2em;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 2px solid #108bcb;
  text-align: left;
}
.cv-section h3 {
  color: #333f42;
  font-size: 1.4em;
  margin-top: 30px;
  margin-bottom: 5px;
  text-align: left;
}
.cv-section .job-meta {
  font-style: italic;
  color: #666;
  margin-bottom: 15px;
  display: block;
  text-align: left;
}

/* Header Bar */
.header-bar {
  background-color: #3a3737;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px 40px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  position: relative;
  z-index: 10;
}

/* Logo */
.header-logo-area { text-align: center; padding: 10px 0; width: 100%; }
.header-logo-area img {
  max-width: 250px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Hamburger */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  cursor: pointer;
  z-index: 20;
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
}
.hamburger-menu .bar {
  width: 100%;
  height: 3px;
  background-color: #e6e4e0;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}
.hamburger-menu.active .bar:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.hamburger-menu.active .bar:nth-child(2) { opacity: 0; }
.hamburger-menu.active .bar:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

/* Navigation */
.header-main-nav { text-align: center; padding: 10px 0; width: 100%; }
.header-main-nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}
.header-main-nav a {
  font-family: 'Lato', sans-serif;
  text-decoration: none;
  color: #e6e4e0;
  padding: 8px 15px;
  display: block;
  font-size: 0.95em;
  border-radius: 3px;
  position: relative;
  transition: color 0.3s ease;
}
.header-main-nav a::before {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 2px;
  background-color: #f6630a;
  transition: width 0.3s ease, left 0.3s ease;
  transform: translateX(-50%);
}
.header-main-nav li.active a,
.header-main-nav a:hover { color: #f6630a; }
.header-main-nav li.active a::before,
.header-main-nav a:hover::before { width: 100%; left: 50%; }

/* Hero */
.hero-section {
  display: flex;
  flex-wrap: nowrap;
  max-width: 1200px;
  margin: 20px auto;
  border-top: 1px solid rgba(0,0,0,0.1);
  border-bottom: 1px solid #ddd;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
  align-items: stretch;
  background-color: #e6e4e0;
}
.hero-text-area {
  flex: 1 1 50%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.hero-image-area {
  flex: 1 1 50%;
  background-color: #3a3737;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  overflow: hidden;
  padding: 60px 40px;
  text-align: center;
}
.hero-image-area img { max-width: 100%; height: auto; margin-bottom: 30px; border-radius: 8px; }
.hero-text-area img {
  width: 100%; max-width: 400px; height: auto;
  margin: 0 auto 20px; border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

/* Content Sections */
.content-section {
  background: #fff;
  color: #333f42;
  width: 100%; max-width: 1200px;
  margin: 20px auto 40px;
  padding: 40px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border-radius: 8px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.content-section h2 { color: #3a3737; margin-bottom: 20px; }
.content-section p { margin-bottom: 15px; line-height: 1.6; text-align: left; }
.content-section h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700; font-size: 1.8em;
  color: #108bcb; margin-bottom: 20px; text-align: left;
}
.content-section ul, .content-section ol {
  list-style-type: disc; padding-left: 25px;
  text-align: left; margin-bottom: 15px; margin-left: 0;
}
.content-section li { margin-bottom: 10px; line-height: 1.7; }

/* Footer */
.footer-container {
  background-color:#3a3737;
  padding:40px 20px; margin-top:40px;
  display:flex; flex-wrap:wrap; justify-content:space-around; gap:30px;
  border-top-left-radius:8px; border-top-right-radius:8px;
  box-shadow:0 -4px 10px rgba(0,0,0,0.05);
  color:#e6e4e0;
}
.footer-column { flex:1; min-width:200px; max-width:250px; padding:10px; }
.footer-column h3 { font-family:'Poppins', sans-serif; color:#f6630a; margin:0 0 15px; }
.footer-column ul { list-style:none; padding:0; margin:0; }
.footer-column ul li { margin-bottom:8px; text-align:left; }
.footer-column ul li a {
  font-family:'Lato', sans-serif; text-decoration:none; color:#e6e4e0; font-size:0.95em; transition:color 0.3s ease;
}
.footer-column ul li a:hover { color:#108bcb; }
.footer-logo-graphic img {
  max-width:125px; height:125px; object-fit:contain; display:block; margin:0 auto; border-radius:8px;
}
.copyright-bar {
  background-color:#333f42; color:#fff; text-align:center; padding:15px 20px; font-size:0.9em; font-family:'Lato', sans-serif;
}

/* Contact Form */
.contact-form-section { background-color: #333f42; color: #fff; padding: 60px 40px; }
.contact-form-section h2 { color:#e6e4e0; margin-bottom:30px; }
.contact-form { margin:0 auto; width:100%; }
.form-group { display:block; width:100%; max-width:900px; margin:0 auto 20px; }
.form-group label { font-family:'Lato', sans-serif; font-size:1em; color:#e6e4e0; margin-bottom:8px; font-weight:500; display:block; }
.form-group input, .form-group textarea {
  padding:14px; border:1px solid #c9d1d9; border-radius:8px; font-family:'Lato', sans-serif; font-size:1em; color:#333f42; background:#f8f8f8;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.06); transition:border-color .2s ease, box-shadow .2s ease; width:100%;
}
.form-group input:focus, .form-group textarea:focus { border-color:#108bcb; box-shadow:0 0 0 4px rgba(16,139,203,0.25); outline:none; }
.form-group textarea { resize:vertical; min-height:150px; }
.submit-group { text-align:center; margin-top:10px; width:100%; max-width:900px; margin-left:auto; margin-right:auto; }
.contact-form .cta-button { background:#f6630a; padding:14px 32px; }
.contact-form .cta-button:hover { background:#0d79a6; }
.honeypot { display:none; visibility:hidden; height:0; width:0; position:absolute; left:-9999px; }

/* CTA Button base */
.cta-button {
  font-family: 'Lato', sans-serif;
  background-color: #f6630a;
  color: white;
  padding: 15px 30px;
  border-radius: 55px;
  font-weight: bold;
  display: inline-block;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none;
  cursor: pointer;
}
.cta-button::before {
  content:''; position:absolute; top:0; left:0; width:100%; height:100%;
  background-color:#0d79a6; z-index:-1; transform:scaleX(0); transform-origin:left; transition: transform 0.3s ease;
}
.cta-button:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(16,139,203,0.4); }
.cta-button:hover::before { transform: scaleX(1); }

/* Desktop+ */
@media (min-width: 769px) {
  .header-bar { flex-direction: column; }
  .header-logo-area img { max-width: 578px; }

  /* Podcast grid desktop */
  .podcast-grid-container {
    display:grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap:24px; width:100%; max-width:1100px; margin:0 auto; padding:20px 0;
  }
  .podcast-card {
    background:#fff; border-radius:12px; box-shadow:0 4px 16px rgba(0,0,0,0.06);
    overflow:hidden; display:flex; flex-direction:column;
    transition: transform .2s ease, box-shadow .2s ease;
  }
  .podcast-card:hover { transform: translateY(-5px); box-shadow:0 8px 20px rgba(0,0,0,0.15); }
  .podcast-card-image {
    display:flex; justify-content:center; align-items:center; background:#f3f4f6;
    overflow:hidden; border-top-left-radius:12px; border-top-right-radius:12px; padding:20px;
  }
  .podcast-card-image img { max-width:90%; height:auto; border-radius:10px; }
  .podcast-card-body { padding:18px; display:flex; flex-direction:column; flex-grow:1; text-align:left; }
  .podcast-card h3 { font-size:1.2rem; margin:0 0 10px; color:#108bcb; }
  .podcast-card p { font-size:0.95rem; color:#333f42; margin-bottom:auto; line-height:1.5; }
  .podcast-card time { font-size:0.85rem; color:#6b7280; margin-bottom:10px; display:block; }

  .pagination-controls { margin-top:40px; text-align:center; }
  .pagination-controls a {
    padding:8px 14px; margin:0 5px; text-decoration:none;
    background:#e5e7eb; color:#333f42; border-radius:4px; font-weight:600;
    transition: background-color .3s ease, color .3s ease;
  }
  .pagination-controls a.active,
  .pagination-controls a:hover { background:#108bcb; color:#fff; }
}

/* Mobile (must be last to win) */
@media (max-width: 768px) {
  /* Layout tightening */
  .hero-section { flex-direction: column; margin: 10px; border-radius: 12px; }
  .hero-text-area { padding: 20px; }
  .hero-image-area { padding: 20px; }
  .content-section { margin: 12px 10px; padding: 20px; }
  .content-section > img { max-width: 100%; height: auto; display: block; }

  /* Podcast grids */
  .podcast-grid-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
  }
  .podcast-card-image { background:#f3f4f6; display:flex; align-items:center; justify-content:center; padding:12px; }
  .podcast-card-image img { width:100%; max-width:260px; height:auto; aspect-ratio:1/1; object-fit:contain; }
  .podcast-card-body { padding:14px; text-align:left; }
  .podcast-card h3 { font-size:1rem; margin:0 0 6px; color:#108bcb; }
  .podcast-card p { font-size:0.95rem; margin:0; }

  /* Pagination */
  .pagination-controls { margin-top: 16px; }
  .pagination-controls a { display:inline-block; padding:6px 10px; margin:0 3px; }

  /* Mobile nav */
  .hamburger-menu { display:flex; }
  .header-main-nav {
    display:none;
    position:absolute; top:100%; left:0; right:0;
    background:#3a3737; z-index:9999;
    box-shadow:0 8px 20px rgba(0,0,0,.2);
    border-bottom:1px solid rgba(255,255,255,.06);
  }
  .header-main-nav.open { display:block; }
  .header-main-nav ul { flex-direction:column; gap:0; margin:0; padding:8px 0; }
  .header-main-nav a { display:block; padding:14px 16px; text-align:left; border-top:1px solid rgba(255,255,255,.08); }
  .header-main-nav a::before { display:none; }

  .header-bar { position:relative; z-index:1000; }
}

/* Tiny phones */
@media (max-width: 480px) {
  .podcast-grid-container { grid-template-columns: 1fr; }
  .hero-text-area h2 { font-size: 1.6em; }
  .header-logo-area img { max-width: 140px; }
  .header-main-nav a { padding: 6px 8px; font-size: 0.9em; }
}


.quick-hits { padding: 16px; }
.quick-hits h3 { margin: 0 0 12px; color: #fff; font-size: 1.1rem; letter-spacing: .02em; }

.qh-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 480px) { .qh-grid { grid-template-columns: 1fr; } } /* stay single column in the box */

.qh-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 10px 12px;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.qh-card a {
  color: #fff;
  text-decoration: none;
  display: block;
  font-weight: 600;
  line-height: 1.3;
}
.qh-card:hover { transform: translateY(-2px); background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.2); }

/* Optional: link-only style. Add class "links-only" to .quick-hits to switch */
.quick-hits.links-only .qh-card { background: transparent; border: 0; padding: 0; }
.quick-hits.links-only .qh-card a { text-decoration:
