/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

/* Author Bio - Full width centered layout */
#author-bio {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  max-width: 100%;
  padding: 40px;
  margin-top: 20px;
  margin-bottom: 50px;
  border-bottom: 1px solid #ddd;
  position: relative;
}

#author-bio img {
  position: static !important;
  width: 100px !important;
  height: 100px !important;
  border-radius: 50%;
  flex-shrink: 0;
}

#author-bio #author-info {
  width: 100% !important;
  padding-left: 0 !important;
  flex: 1;
}

#author-bio #author-info h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

#author-bio #author-info p {
  max-width: none !important;
  line-height: 1.7;
}

#author-bio .clear {
  display: none;
}

#author-bio .span_12 {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}

/* Hide sticky share icons on left side */
.nectar-social.fixed,
.nectar-social[data-position=].fixed {
  display: none !important;
}

/* Sidebar Sticky TOC */
#sticky-toc {
  position: sticky;
  top: 120px;
}

#sticky-toc .sticky-toc-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #999;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e5e5;
}

#sticky-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#sticky-toc li {
  margin: 0;
  padding: 0;
}

#sticky-toc li.toc-h3 {
  padding-left: 14px;
}

#sticky-toc a {
  display: block;
  padding: 5px 0 5px 14px;
  font-size: 12.5px;
  line-height: 1.4;
  color: #aaa;
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

#sticky-toc a:hover {
  color: #333;
}

#sticky-toc a.active {
  color: #333;
  border-left-color: #333;
  font-weight: 500;
}

/* Blog posts only - cap max width at 1500px */
body.single-post .container-wrap > .container {
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
}
