/* Paperleaf-Pure Customizations for Ayurveda site
   Isolated in separate file for easy reapplication to future versions */

/* Sidebar background - white */
.sidebar {
  background-color: #ffffff !important;
  background: white !important;
  background-attachment: fixed;
  background-repeat: no-repeat;
  box-shadow: none !important;
  border: none !important;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Override any inline styles that might set background */
.sidebar[style] {
  background-color: #ffffff !important;
  background: white !important;
}

/* Ensure sidebar inner also has correct background */
.sidebar-inner {
  background: transparent !important;
  flex: 1 1 auto;
}

.sidebar-footer {
  background: transparent !important;
  font-size: 12px;
  margin-top: auto;
  padding-top: 12px;
  flex-shrink: 0;
  display: inline-block;
  align-self: flex-end;
  color: rgb(153, 153, 153);
  font-family: "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 300;
  line-height: 18px;
  text-align: right;
}

/* Main content area positioning for background image */
main#content {
  position: relative;
  font-weight: 300;
  line-height: 1.5;
}

main#content > img {
  display: block;
  height: auto;
  z-index: 0;
}

/* Navigation styling */
.site-nav {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
}

/* Ensure navigation and social icons are clickable */
.nav {
  position: relative;
  z-index: 10;
  font-family: 'Montserrat', Helvetica, sans-serif;
  font-size: 16px;
  background: white;
  background-color: #ffffff;
}

.nav a {
  position: relative;
  z-index: 10;
  pointer-events: auto;
  cursor: pointer;
}

/* Ensure loader doesn't block interactions when hidden */
.loader {
  pointer-events: none;
}

.loader.js-loader {
  transition: opacity 0.25s ease;
}

/* Sidebar customization */
.sidebar-description {
  display: none;
}

/* Hide search from sidebar - Paperleaf-pure style (simpler navigation) */
.sidebar-search {
  display: none;
}

/* Footer customization - remove border */
.site-footer {
  text-align: right;
  padding: 40px 0;
  border: none !important;
}

.sidebar-footer {
  border: none !important;
}

.site-footer-content {
  font-size: 14px;
  color: #999;
  padding-right: 37px;
}

/* Remove any borders between sidebar and content */
.content-area {
  border-left: none !important;
}

/* Post share buttons */
.post-share {
  margin: 40px 0;
  padding: 20px 0;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
}

.post-share a {
  display: inline-block;
  margin-right: 15px;
  color: #B30A0A;
  text-decoration: none;
  font-weight: 500;
}

.post-share a:hover {
  text-decoration: underline;
}

/* Author section */
.post-author {
  margin: 40px 0;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 4px;
}

/* Subscribe section */
.post-subscribe {
  margin: 40px 0;
  padding: 30px;
  background: #f0f0f0;
  border-radius: 4px;
  text-align: center;
}

/* Post max-width customization */
.post {
  max-width: 50rem;
  font-weight: 300;
  line-height: 1.5;
}

.post--grid,
.post-access-public {
  max-width: 45%;
  width: 45%;
}

@media (max-width: 768px) {
  .home-template .post {
    max-width: 80%;
    width: 80%;
  }

  .post-template .post {
    max-width: 80%;
  }
}


.post-content {
  line-height: 1.5;
}
