/*
 Theme Name:  Phlox Child
 Template:    phlox
 Version:     1.0.0
*/

/* ================================
   INVITI – Fonts (local) + BuddyBoss/ReadyLaunch styles
   Body text: ManropeLocal (300/400/700)
   Headings: OswaldLocal
   Safe for Elementor editor UI
================================ */

/* Local fonts */
@font-face {
  font-family: "ManropeLocal";
  src: url("/wp-content/uploads/fonts/Manrope-VariableFont_wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "OswaldLocal";
  src: url("/wp-content/uploads/fonts/Oswald-VariableFont_wght.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

/* Do not affect Elementor editor panel UI */
body.elementor-editor-active,
body.elementor-editor-active *,
.elementor-widget-aux_text .widget-content,
.elementor-widget-counter .elementor-counter-title {
  font-family: inherit !important;
}

/* Base background */
body:not(.elementor-editor-active),
body:not(.elementor-editor-active) .site.bb-readylaunch,
body:not(.elementor-editor-active) .bb-rl-header {
  background: #fcf5f0;
  background-color: #fcf5f0;
  border: 0;
}

/* Headings – Oswald */
body:not(.elementor-editor-active) h1,
body:not(.elementor-editor-active) h2,
body:not(.elementor-editor-active) h3,
body:not(.elementor-editor-active) h4,
body:not(.elementor-editor-active) h5,
body:not(.elementor-editor-active) h6,
body:not(.elementor-editor-active) .elementor-heading-title,
body:not(.elementor-editor-active) .site.bb-readylaunch h1,
body:not(.elementor-editor-active) .site.bb-readylaunch h2,
body:not(.elementor-editor-active) .site.bb-readylaunch h3,
body:not(.elementor-editor-active) .site.bb-readylaunch h4,
body:not(.elementor-editor-active) .site.bb-readylaunch h5,
body:not(.elementor-editor-active) .site.bb-readylaunch h6 {
  font-family: "OswaldLocal", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight: 900;
}

/* ReadyLaunch base typography – Manrope (400) */
body:not(.elementor-editor-active) .site.bb-readylaunch,
body:not(.elementor-editor-active) .bb-readylaunch-template,
body:not(.elementor-editor-active) .site.bb-readylaunch p,
body:not(.elementor-editor-active) .site.bb-readylaunch li,
body:not(.elementor-editor-active) .site.bb-readylaunch a,
body:not(.elementor-editor-active) .site.bb-readylaunch span,
body:not(.elementor-editor-active) .site.bb-readylaunch label,
body:not(.elementor-editor-active) .site.bb-readylaunch input,
body:not(.elementor-editor-active) .site.bb-readylaunch textarea,
body:not(.elementor-editor-active) .site.bb-readylaunch select {
  font-family: "ManropeLocal", bb-icons-rl, system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-weight: 800;
  font-size: 1.1rem;
}

/* Body text (300) – softer text */
body:not(.elementor-editor-active) .site.bb-readylaunch .text-light,
body:not(.elementor-editor-active) .site.bb-readylaunch small,
body:not(.elementor-editor-active) .site.bb-readylaunch .description,
body:not(.elementor-editor-active) .site.bb-readylaunch .meta,
body:not(.elementor-editor-active) .site.bb-readylaunch .hint {
  font-family: "ManropeLocal", bb-icons-rl, system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-weight: 200;
  font-size: 1.1rem;
}

/* Bold (700) */
body:not(.elementor-editor-active) .site.bb-readylaunch strong,
body:not(.elementor-editor-active) .site.bb-readylaunch b {
  font-weight: 800;
}

/* Buttons – rounded */
body:not(.elementor-editor-active) button,
body:not(.elementor-editor-active) .bb-rl-primary-actions .generic-button a,
body:not(.elementor-editor-active) .bb-rl-primary-actions button,
body:not(.elementor-editor-active) .bb-rl-left-panel .bb-readylaunchpanel-menu li > a,
body:not(.elementor-editor-active) .bb-rl-sub-ctrls .activity-head-bar + .bb-rl-action-button .bb-rl-button,
body:not(.elementor-editor-active) .bb-rl-sub-ctrls .subnav-filters + .bb-rl-action-button .bb-rl-button,
body:not(.elementor-editor-active) .bb-rl-sub-ctrls .bb-rl-filter,
body:not(.elementor-editor-active) .bb-readylaunch-menu > li.current-menu-item > a,
body:not(.elementor-editor-active) .bb-readylaunch-menu > li > a:hover,
body:not(.elementor-editor-active) .bb-rl-forum-single-header .bb-rl-new-discussion-btn,
body:not(.elementor-editor-active) .bb-rl-forum-single-header .subscription-toggle {
  border-radius: 25px !important;
}

/* Buttons + BB buttons – Manrope 700 */
body:not(.elementor-editor-active) .site.bb-readylaunch button,
body:not(.elementor-editor-active) .site.bb-readylaunch .button,
body:not(.elementor-editor-active) .site.bb-readylaunch .bb-rl-button {
  font-family: "ManropeLocal", bb-icons-rl, system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-weight: 800;
}

/* Side panels */
body:not(.elementor-editor-active) .bb-rl-left-panel,
body:not(.elementor-editor-active) .bb-rl-secondary-header,
body:not(.elementor-editor-active) .bb-rl-profile-header {
  background: #FDEADC;
  background-color: #FDEADC;
  border: 0;
}

/* Cards / lists gradient */
body:not(.elementor-editor-active) .bb-rl-members .item-entry .list-wrap,
body:not(.elementor-editor-active) .bb-rl-groups .item-entry .list-wrap,
body:not(.elementor-editor-active) .bb-rl-activity-list li.activity-item,
body:not(.elementor-editor-active) .bb-rl-widget-sidebar .widget,
body:not(.elementor-editor-active) .bb-rl-forums-list .bb-rl-forum-list-item,
body:not(.elementor-editor-active) .notifications.dir-list .notification-list,
body:not(.elementor-editor-active) .bb-rl-forum-single-header-content,
body:not(.elementor-editor-active) .bb-rl-topics-list .type-topic,
body:not(.elementor-editor-active) .bp-rl-messages-container {
  background-color: transparent;
  text-align: left !important;
  border-style: none;
  background: #FCF5F0;
  background: linear-gradient(180deg, rgba(252, 245, 240, 1) 0%, rgba(253, 234, 220, 1) 100%);
}

/* Header auth */
body:not(.elementor-editor-active) .inviti-header-auth {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

/* Borders off (containers) */
body:not(.elementor-editor-active) .bb-rl-groups-single-wrapper .bb-rl-secondary-header .bb-rl-group-info-wrap,
body:not(.elementor-editor-active) .bb-rl-primary-container .bb-rl-secondary-header,
body:not(.elementor-editor-active) .bb-rl-forum-single-header,
body:not(.elementor-editor-active) [class*="bb-rl-activity-form"],
body:not(.elementor-editor-active) .bb-rl-profile-header,
body:not(.elementor-editor-active) .bb-readylaunch-template,
body:not(.elementor-editor-active) .bb-rl-profile-panel.public,
body:not(.elementor-editor-active) .bb-rl-create-group {
  border: 0;
}

/* Left panel radius */
body:not(.elementor-editor-active) .bb-rl-left-panel {
  border-radius: 0 25px 0 0;
}

body:not(.elementor-editor-active) .groups .bb-rl-left-panel,
body:not(.elementor-editor-active) .members .bb-rl-left-panel {
  border-radius: 0 !important;
}

/* Info feedback */
body:not(.elementor-editor-active) .bb-readylaunch-template .bp-feedback.info {
  background-color: var(--bb-rl-border-brand-primary-color);
  border-color: var(--bb-rl-border-brand-primary-color);
  color: #fff;
}

/* Notifications header */
body:not(.elementor-editor-active) .notifications-header {
  margin-bottom: var(--bb-rl-space-200);
  flex-direction: column;
  background: #FDEADC;
  border-radius: 25px;
  padding: 25px;
}

body:not(.elementor-editor-active) .notifications-header .entry-title {
  color: #4D3E7C;
}

/* Dividers */
body:not(.elementor-editor-active) .bb-rl-left-panel-widget,
body:not(.elementor-editor-active) .bb-rl-widget-sidebar .widget .widget-title,
body:not(.elementor-editor-active) .widget .widget-header,
body:not(.elementor-editor-active) .bb-rl-activity-list .bb-rl-activity-head {
  border-bottom: 1px solid #fcf5f0;
}

body:not(.elementor-editor-active) .bb-rl-activity-footer-actions {
  border-top: 1px solid #fcf5f0;
}

/* Messages container */
body:not(.elementor-editor-active) .bp-rl-messages-container {
  border-radius: 50px;
}

/* Profile container spacing */
body:not(.elementor-editor-active) .bb-rl-profile-container {
  border-bottom: 1px solid var(--bb-rl-border-secondary-color);
  margin-bottom: var(--bb-rl-space-200);
  padding-bottom: var(--bb-rl-space-300);
  padding-top: 50px;
  padding-left: 50px;
}

/* Menu */
body:not(.elementor-editor-active) .bb-readylaunch-menu > li > a {
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  text-align: center;
  cursor: pointer;
  border-radius: var(--bb-rl-radius-sm);
  padding: var(--bb-rl-space-100) var(--bb-rl-space-200);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
  background-color: transparent;
  color: #635495;
  border: none;
  white-space: nowrap;
  font-family: "ManropeLocal", bb-icons-rl, system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-weight: 200;
}

/* Mark */
body:not(.elementor-editor-active) mark {
  background: #A293C7;
  color: #fff;
}

/* Mailchimp embed fix */
#mc_embed_signup input[type="submit"],
#mc_embed_signup .button {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  position: relative !important;
  z-index: 10 !important;
}

#mc_embed_signup .clear,
#mc_embed_signup .foot {
  display: block !important;
  visibility: visible !important;
}

#mc_embed_signup .button {
  background: #a293c7;
  color: #fff;
  border-radius: 8px;
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  display: block !important;
}

.elementor-page-960 .clear {
  visibility: normal;
  overflow: inherit;
}
