/* === Global Font & Layout Resets === */
body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
  line-height: 1.8;
  margin: 0;
  padding: 0;
  background: #fdfdfd;
  overflow-x: hidden;
}

/* === Fixed Header === */
header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-color: #ffffff;
  border-bottom: 1px solid #ddd;
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* === Container After Header === */
.container {
  display: flex;
  padding-top: 60px; /* leave space for fixed header */
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  box-sizing: border-box;
  min-height: calc(100vh - 60px);
}
/* === Left Sidebar (Fixed) === */
.left-sidebar {
  width: 240px;
  position: fixed;
  top: 60px;
  left: 0;
  bottom: 0;
  background: #fff;
  padding: 1rem;
  border-right: 1px solid #e1e1e1;
  box-shadow: 2px 0px 8px rgba(0, 0, 0, 0.05);
  overflow-y: auto;
  z-index: 10;

  /* Hide scrollbar but keep scrolling */
  scrollbar-width: none; /* Firefox */
}
.left-sidebar::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

/* === Right Sidebar (Fixed) === */
.right-sidebar {
  width: 280px;
  position: fixed;
  top: 60px;
  right: 0;
  bottom: 0;
  background: #fff;
  padding: 1rem;
  border-left: 1px solid #dee2e6;
  box-shadow: -2px 0px 8px rgba(0, 0, 0, 0.05);
  overflow-y: auto;
  z-index: 10;

  /* Hide scrollbar but keep scrolling */
  scrollbar-width: none; /* Firefox */
}
.right-sidebar::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

/* === Main Content (Between Fixed Sidebars) === */
.main-content {
  margin-left: 240px;   /* left sidebar width */
  margin-right: 320px;  /* right sidebar width */
  padding: 1rem 2rem;
  flex: 1;
  box-sizing: border-box;
  min-width: 0;
  min-height: calc(100vh - 60px);
  background: #fff;
}
#post-content-for-patrick-wilson-cms p {
  color: black;
  line-height: 1.7;
}
/* === Post Content Block === */
#post-content section {
  padding: 20px;
  margin-bottom: 30px;
  background-color: #f0f2f5;
  border-radius: 8px;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-weight: 600;
  font-size: 28px;
  line-height: 1.3;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.main-content p {
  font-family: system-ui, sans-serif !important;
  font-size: 18px !important;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.8;
  text-align: justify;
}

/* === Scrollbar Styling (Optional) === */
body::-webkit-scrollbar {
  width: 10px;
}
body::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.3);
  border-radius: 5px;
}
body::-webkit-scrollbar-track {
  background: #f5f5f5;
}

/* === Responsive Fixes for Mobile === */
@media (max-width: 1024px) {
  .container {
    flex-direction: column;
    padding-top: 60px;
  }

  .left-sidebar,
  .right-sidebar,
  .main-content {
    width: 100%;
    position: static;
    padding: 1rem;
    margin: 0;
    border: none;
    box-shadow: none;
    height: auto;
  }

  .main-content {
    margin-left: 0;
    margin-right: 0;
  }
}
