/* BuddyBoss-aligned tokens (defaults from buddyboss-theme + HFN accent from child custom.css) */
:root {
  --bb-body-background-color: #fafbfd;
  --bb-content-background-color: #fff;
  --bb-content-border-color: #d6d9dd;
  --bb-cover-strip-color: #647385;
  --bb-headings-color: #1e2132;
  --bb-body-text-color: #5a5a5a;
  --bb-alternate-text-color: #9b9c9f;
  --bb-header-background: #fff;
  --bb-footer-background: #fafbfd;
  --bb-footer-text-color: #5a5a5a;
  --bb-footer-link: #5a5a5a;
  --bb-footer-link-hover: #ff4f8b;
  --bb-footer-link-active: #1e2132;
  --bb-primary-color: #ff4f8b;
  --bb-primary-hover: #e0457a;
  --bb-block-radius: 4px;
  --bb-header-height: 76px;
  --bb-content-pad-top: 1.875rem;
  --bb-content-pad-bottom: 2.1875rem;
  --bb-content-pad-bottom-sm: 1.25rem;
  --bb-gutter: 10px;
  --bb-container-max: 1200px;
  --bb-font-stack:
    -apple-system, blinkmacsystemfont, "Segoe UI", roboto, oxygen-sans, ubuntu, cantarell,
    "Helvetica Neue", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background-color: var(--bb-body-background-color);
  color: var(--bb-body-text-color);
  font-family: var(--bb-font-stack);
  font-size: 16px;
  line-height: 1.6875rem;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}

img {
  border: 0;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--bb-primary-color);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--bb-primary-hover);
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--bb-primary-color);
  outline-offset: 2px;
}

.site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: var(--bb-container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--bb-gutter);
  padding-right: var(--bb-gutter);
}

/* Header bar (buddyboss .site-header) */
.site-header {
  background-color: var(--bb-header-background);
  box-shadow: inset 0 -1px 0 0 #eaeef2;
  position: relative;
  padding: 0 var(--bb-gutter);
}

.site-header-inner {
  display: flex;
  align-items: center;
  min-height: var(--bb-header-height);
}

.site-logo-link {
  display: inline-flex;
  align-items: center;
  color: var(--bb-headings-color);
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
}

.site-logo-link:hover,
.site-logo-link:focus-visible {
  color: var(--bb-headings-color);
  text-decoration: none;
}

.site-logo-img {
  display: block;
  width: 196px;
  object-fit: contain;
}

/* Optional cover-color strip under header */
.header-cover-strip {
  height: 1px;
  width: 100%;
}

/* Main content */
.site-content {
  flex: 1;
  min-height: 70vh;
  padding: 0 var(--bb-gutter);
}

.content-area {
  padding-top: var(--bb-content-pad-top);
  padding-bottom: var(--bb-content-pad-bottom);
}

@media screen and (max-width: 800px) {
  .content-area {
    padding-bottom: var(--bb-content-pad-bottom-sm);
  }
}

/* Card panel for readable long-form copy */
.content-panel {
  background-color: var(--bb-content-background-color);
  border: 1px solid var(--bb-content-border-color);
  border-radius: var(--bb-block-radius);
  padding: 1.5rem 1.25rem 1.75rem;
}

@media screen and (min-width: 600px) {
  .content-panel {
    padding: 1.75rem 2rem 2rem;
  }
}

/* Typography (buddyboss theme.css) */
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6,
p,
address,
hr {
  margin: 0 0 1.6875rem;
  padding: 0;
}

h1,
.h1 {
  font-size: 2.125rem;
  line-height: 42px;
  font-weight: 700;
  color: var(--bb-headings-color);
}

h2,
.h2 {
  font-size: 1.5rem;
  line-height: 32px;
  font-weight: 700;
  color: var(--bb-headings-color);
  margin-bottom: 0.5rem;
}

h3,
.h3 {
  font-size: 1.25rem;
  line-height: 28px;
  font-weight: 600;
  color: var(--bb-headings-color);
  margin-bottom: 0.5rem;
}

h4,
.h4 {
  font-size: 1.125rem;
  line-height: 24px;
  font-weight: 600;
  color: var(--bb-headings-color);
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-family: var(--bb-font-stack);
}

ul,
ol {
  margin: 0 0 1.6875rem 1.6875rem;
  padding: 0;
}

.content-panel :last-child {
  margin-bottom: 0;
}

p.closed-bottom {
  margin-bottom: 0;
}

.content-list {
  margin-top: 0;
  padding-top: 0;
}

.bld {
  font-weight: 600;
}

/* Footer (buddyboss .bb-footer .footer-bottom) */
.bb-footer {
  flex-shrink: 0;
  background: var(--bb-footer-background);
  font-size: 13px;
  color: var(--bb-footer-text-color);
  padding: 0 var(--bb-gutter);
}

.footer-bottom {
  border-top: 1px solid var(--bb-content-border-color);
  padding: 40px 0;
  font-size: 14px;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
}

.footer-bottom-left {
  flex: 1 1 auto;
  min-width: min(100%, 200px);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 30px;
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  padding: 0;
  font-size: 14px;
  color: var(--bb-footer-link);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--bb-footer-link-hover);
  text-decoration: none;
}

.footer-nav a[aria-current="page"] {
  color: var(--bb-footer-link-active);
}

.copyright {
  margin: 0;
  font-size: 14px;
  color: var(--bb-footer-text-color);
}

.emoji {
  height: 25px;
  width: 25px;
}
