/*
Theme Name: CabinetForums Child
Theme URI: https://cabinetforums.com
Description: BuddyBoss child theme for CabinetForums community and knowledge. Forum, login, and BuddyBoss navigation remain on the parent theme.
Author: CabinetForums
Author URI: https://cabinetforums.com
Template: buddyboss-theme
Version: 2.2.9
Requires at least: 6.0
Tested up to: 6.8
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cabinetforums-child
*/

body.cf-front-page {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body.admin-bar.cf-front-page {
  scroll-padding-top: 128px;
}

body.cf-front-page #content.site-content > .container {
  max-width: 100%;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

body.cf-front-page .bb-grid.site-content-grid {
  display: block;
  margin: 0;
  gap: 0;
}

body.cf-front-page #primary.content-area.bb-grid-cell {
  width: 100%;
  max-width: 100%;
  padding: 0;
  float: none;
}

body.cf-front-page #main.site-main {
  margin: 0;
  padding: 0;
}

body.cf-front-page #page,
body.cf-front-page #content.site-content {
  background: #eef3f6;
}

body.cf-front-page #colophon,
body.cf-front-page .footer-bottom,
body.cf-front-page footer.site-footer {
  background: #101c30;
  color: #faf4e5;
}

body.cf-front-page #colophon a,
body.cf-front-page .footer-bottom a,
body.cf-front-page footer.site-footer a {
  color: #faf4e5;
}

body.cf-front-page #colophon a:hover,
body.cf-front-page .footer-bottom a:hover,
body.cf-front-page footer.site-footer a:hover {
  color: #c5a04f;
}

body.cf-front-page #colophon h1,
body.cf-front-page #colophon h2,
body.cf-front-page #colophon h3,
body.cf-front-page #colophon h4,
body.cf-front-page #colophon h5,
body.cf-front-page footer.site-footer h1,
body.cf-front-page footer.site-footer h2,
body.cf-front-page footer.site-footer h3,
body.cf-front-page footer.site-footer h4 {
  color: #ffffff;
}

body.cf-front-page #colophon p,
body.cf-front-page footer.site-footer p,
body.cf-front-page .footer-widget {
  color: #faf4e5;
}

/* Keep BuddyBoss logged-in chrome hidden from guests if it ever leaks. */
body:not(.logged-in) #header-aside .user-wrap,
body:not(.logged-in) #header-aside .notification-wrap,
body:not(.logged-in) #header-messages-dropdown-elem,
body:not(.logged-in) #header-notifications-dropdown-elem {
  display: none;
}

body.logged-in .bb-header-buttons {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  body.cf-front-page {
    scroll-behavior: auto;
  }
}
