@import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;600;700&family=Open+Sans:wght@600;700;800&display=swap");

/* Content-only styles adapted from the approved reference. Global grid/buttons/fonts are reused. */
body.cully-site:has(.cully-behavior-page) { min-width: 0; }
.cully-behavior-page { color: var(--cully-plum); line-height: normal; font-synthesis: none; }
.cully-behavior-page a { text-decoration: none; }
.cully-behavior-page [id] { scroll-margin-top: calc(var(--cully-header-height) + 16px); }
.cully-behavior-page .container { --cully-bs-gutter-x: 0; width: calc(100% - var(--cully-gutter-desktop)); }
.cully-behavior-page h1, .cully-behavior-page h2 { margin: 0 0 18px; font-weight: 800; line-height: 1.08; letter-spacing: -.02em; }
.cully-behavior-page h2 { font-size: clamp(2.55rem, 4.2vw, 3.25rem); }
.cully-behavior-page h3 { margin: 0; font-weight: 700; line-height: normal; }
.cully-behavior-page p { line-height: 1.65; }
.cully-behavior-page .eyebrow { font-family: var(--cully-font-ui); }
.cully-behavior-page .section-dark h2, .cully-behavior-page .section-dark h3 { color: #fff; }
.cully-behavior-page .service-detail-hero { min-height: 590px; padding: 94px 0 96px; }
.cully-behavior-page .service-detail-hero h1 { margin-bottom: 22px; max-width: 850px; }
.cully-behavior-page .service-detail-hero-copy > p:not(.hero-eyebrow) { max-width: 690px; margin: 0 0 32px; color: #503c48; font-size: 1.16rem; }
.cully-behavior-page .behavior-hero-row { --cully-bs-gutter-x: clamp(42px, 6vw, 84px); align-items: center; margin-inline: 0; }
.cully-behavior-page .behavior-hero-content { padding-left: 0; }
.cully-behavior-page .behavior-portrait-column { padding-right: 0; }
.cully-behavior-page .service-detail-hero-portrait { max-width: 100%; }
.cully-behavior-page .behavior-portrait-mobile { display: none; }
.cully-behavior-page .behavior-hero-trust { margin-top: 0; }

.cully-behavior-page .behavior-review-row { justify-content: center; }
.cully-behavior-page .behavior-review-row > div { max-width: 960px; }
.cully-behavior-page .behavior-review-card { display: flex; align-items: flex-start; gap: 24px; margin: 0; padding: clamp(30px, 4vw, 48px); border: 1px solid rgb(255 255 255 / 20%); background: rgb(255 255 255 / 10%); box-shadow: 0 20px 48px rgb(20 6 14 / 22%); backdrop-filter: blur(14px); }
.cully-behavior-page .school-review-avatar { display: flex; flex: 0 0 72px; height: 72px; align-items: center; justify-content: center; border-radius: 50%; background: linear-gradient(145deg, #ffeb93, #f3c646); font: 700 1.65rem var(--cully-font-heading); }
.cully-behavior-page .behavior-review-card p { margin: 0 0 14px; color: #fff; font: 400 clamp(1.05rem, 1.6vw, 1.3rem)/1.58 var(--cully-font-body); }
.cully-behavior-page .behavior-review-card cite { display: block; margin-top: 18px; color: #eadfe6; font: normal 700 .82rem var(--cully-font-ui); }
.cully-behavior-page .behavior-review-card .stars { margin-top: 10px; color: var(--cully-gold); font-size: .92rem; }

/* The diagram uses Bootstrap rows for its content; only the decorative SVG overlays them. */
.cully-behavior-page .behavior-beneath-map { position: relative; max-width: 1040px; margin: 0 auto; }
.cully-behavior-page .behavior-beneath-connectors { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #788da7; pointer-events: none; }
.cully-behavior-page .behavior-beneath-connectors path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.cully-behavior-page .behavior-beneath-connectors marker path { stroke-width: 1.7; }
.cully-behavior-page .behavior-connector-trunk { stroke-width: 1.6; opacity: .65; }
.cully-behavior-page .behavior-connector-branch { stroke-width: 1.8; opacity: .82; marker-end: url(#behavior-arrow); }
.cully-behavior-page .behavior-diagram-visible, .cully-behavior-page .behavior-diagram-message { position: relative; justify-content: center; align-items: flex-start; }
.cully-behavior-page .behavior-diagram-visible { min-height: 240px; }
.cully-behavior-page .behavior-diagram-message { min-height: 210px; }
.cully-behavior-page .behavior-visible-node, .cully-behavior-page .behavior-message-node { width: min(620px, 72%); padding: 28px 38px; text-align: center; }
.cully-behavior-page .behavior-visible-node { color: #fff; border: 1px solid var(--cully-plum-mid); background: linear-gradient(145deg, #5d3b52, var(--cully-plum)); box-shadow: 0 18px 40px rgb(45 22 37 / 15%); }
.cully-behavior-page .behavior-visible-node h3 { color: #fff; }
.cully-behavior-page .behavior-message-node { border: 1px solid #b98b34; border-radius: 999px; background: linear-gradient(145deg, #ffec9b, #f3cb56); box-shadow: 0 0 0 10px rgb(255 255 255 / 66%), 0 18px 36px rgb(116 76 26 / 10%); }
.cully-behavior-page .behavior-visible-node > span, .cully-behavior-page .behavior-message-node > span { font: 800 .68rem var(--cully-font-ui); letter-spacing: .09em; text-transform: uppercase; }
.cully-behavior-page .behavior-visible-node > span { color: var(--cully-gold); }
.cully-behavior-page .behavior-visible-node h3, .cully-behavior-page .behavior-message-node h3 { margin-top: 10px; font-size: clamp(1.35rem, 2.3vw, 2rem); line-height: 1.18; }
.cully-behavior-page .behavior-diagram-cards { position: relative; --cully-bs-gutter-x: 0; margin-inline: 0; justify-content: space-between; }
.cully-behavior-page .behavior-diagram-cards > div { width: 21.64%; }
.cully-behavior-page .behavior-diagram-cards article { height: 100%; min-height: 170px; padding: 24px; border: 1px solid #c5d0df; background: rgb(255 255 255 / 88%); box-shadow: 0 12px 30px rgb(61 38 54 / 6%); }
.cully-behavior-page .behavior-diagram-cards h3 { font-size: 1.08rem; }
.cully-behavior-page .behavior-diagram-cards p { margin: 8px 0 0; color: #65545e; font-size: .9rem; line-height: 1.5; }

.cully-behavior-page .behavior-process-grid { --cully-bs-gutter-x: 14px; --cully-bs-gutter-y: 14px; }
.cully-behavior-page .behavior-process-column { display: flex; }
.cully-behavior-page .behavior-process-grid article { width: 100%; min-height: 300px; padding: 28px 22px; border: 1px solid #cbd4e1; background: rgb(255 255 255 / 78%); }
.cully-behavior-page .behavior-process-grid article > span { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-bottom: 24px; color: #fff; border-radius: 50%; background: var(--cully-plum-mid); font: 800 .82rem var(--cully-font-ui); }
.cully-behavior-page .behavior-process-grid h3 { font-size: 1.08rem; }
.cully-behavior-page .behavior-process-grid p { margin: 10px 0 0; color: #65545e; font-size: .9rem; }
.cully-behavior-page .behavior-strategy-grid { border-top: 1px solid #d4c9c2; border-left: 1px solid #d4c9c2; }
.cully-behavior-page .behavior-strategy-grid article { height: 100%; min-height: 270px; padding: 34px; border-right: 1px solid #d4c9c2; border-bottom: 1px solid #d4c9c2; background: rgb(255 255 255 / 64%); }
.cully-behavior-page .behavior-strategy-grid article > span { color: #a8752f; font: 800 .72rem var(--cully-font-ui); letter-spacing: .08em; }
.cully-behavior-page .behavior-strategy-grid h3 { margin-top: 32px; font-size: 1.3rem; }
.cully-behavior-page .behavior-strategy-grid p { margin: 12px 0 0; color: #65545e; }
.cully-behavior-page .behavior-parent-grid { --cully-bs-gutter-x: clamp(48px, 8vw, 110px); margin-inline: 0; }
.cully-behavior-page .behavior-parent-grid > :first-child { padding-left: 0; }
.cully-behavior-page .behavior-parent-grid > :last-child { padding-right: 0; }
.cully-behavior-page .behavior-parent-grid h2 { text-wrap: balance; }
.cully-behavior-page .behavior-parent-grid > div:last-child p { margin: 0 0 18px; color: var(--cully-text-on-dark); font-size: 1.06rem; }
.cully-behavior-page .behavior-parent-grid > div:last-child p:first-child { padding-top: 25px; border-top: 1px solid rgb(255 255 255 / 28%); }
.cully-behavior-page .behavior-parent-grid > div:last-child p.behavior-parent-emphasis { margin-top: 28px; color: #fff; font-weight: 700; }
.cully-behavior-page .behavior-resource-grid { --cully-bs-gutter-x: 18px; --cully-bs-gutter-y: 18px; }
.cully-behavior-page .behavior-resource-grid > div { display: flex; }
.cully-behavior-page .behavior-resource-grid article { display: flex; flex-direction: column; width: 100%; overflow: hidden; border: 1px solid #ded3cc; background: #fff; box-shadow: 0 14px 32px rgb(61 38 54 / 6%); }
.cully-behavior-page .behavior-resource-grid article > div { display: flex; flex: 1; flex-direction: column; align-items: flex-start; justify-content: space-between; min-height: 190px; padding: 24px; }
.cully-behavior-page .behavior-cta-row { justify-content: center; }
.cully-behavior-page .behavior-cta-content { max-width: 670px; text-align: center; }
.cully-behavior-page .behavior-final-cta p { margin: 0 0 34px; font-size: 1.05rem; }
.cully-behavior-page .behavior-final-cta small { display: block; margin-top: 36px; color: #cbb9c4; font: 600 .8rem var(--cully-font-ui); }
.cully-behavior-page .section-dark {
  position: relative;
  color: #fff;
  background-color: var(--cully-plum);
  background-image:
    linear-gradient(90deg, rgba(20, 8, 16, .99) 0%, rgba(91, 47, 72, .84) 50%, rgba(20, 8, 16, .99) 100%),
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, .15), transparent 35%),
    url("../../images/children-bg.jpeg");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  box-shadow: inset 0 1px rgba(255,255,255,.1), inset 0 -1px rgba(255,255,255,.06);
}
.cully-behavior-page .section-dark p { color: var(--cully-text-on-dark); }
.cully-behavior-page .section-heading { max-width: 690px; margin: 0 auto 48px; text-align: center; }
.cully-behavior-page .section-heading p:last-child { margin: 0; }
.cully-behavior-page .eyebrow { margin: 0 0 14px; color: #a8752f; font-size: 1rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cully-behavior-page .eyebrow.gold { color: var(--cully-gold); }
.cully-behavior-page .button-outline { color: var(--cully-plum); border-color: rgba(83,53,73,.25); border-radius: 0; background: rgba(83,53,73,.05); }
.cully-behavior-page .button-dark-outline { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.08); }
.cully-behavior-page .actions { display: flex; flex-wrap: wrap; gap: 16px; }
.cully-behavior-page .actions.centered { justify-content: center; }
.cully-behavior-page .hero-eyebrow { margin: 0 0 16px; color: #ffd45c; font: 700 .78rem "Open Sans", sans-serif; letter-spacing: .11em; text-transform: uppercase; }
.cully-behavior-page .stars { color: #d99524; letter-spacing: .08em; }
.cully-behavior-page .service-detail-hero-portrait { width: 420px; aspect-ratio: 1; overflow: hidden; border: 6.3px solid #fff; border-radius: 50%; box-shadow: 0 24px 55px rgba(61,38,54,.18); }
.cully-behavior-page .service-detail-hero-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cully-behavior-page .service-detail-behavior { background: linear-gradient(135deg, #fff2ad, #f6cf55); }
.cully-behavior-page .service-detail-hero .hero-eyebrow { color: #7c4e27; }
.cully-behavior-page .service-detail-behavior h1 { font-size: clamp(2.55rem, 4.5vw, 4.2rem); }
.cully-behavior-page .service-detail-back { display: flex; width: 44px; height: 44px; margin-bottom: 44px; align-items: center; justify-content: center; color: #fff; border-radius: 50%; background: var(--cully-plum); font: 500 2rem/1 "Open Sans", sans-serif; }
.cully-behavior-page .social-hero-credentials { max-width: 690px; margin: 22px 0 12px; color: #503c48; font: 600 .83rem/1.6 "Open Sans", sans-serif; }
.cully-behavior-page .social-hero-credentials span { margin: 0 6px; color: #9b6c28; }
.cully-behavior-page .social-hero-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; max-width: 720px; color: #5d4653; font: 600 .75rem/1.5 "Open Sans", sans-serif; }
.cully-behavior-page .social-hero-trust > span { position: relative; }
.cully-behavior-page .social-hero-trust > span:not(:nth-last-child(-n+2))::after { content: "•"; position: absolute; right: -12px; color: #9b6c28; }
.cully-behavior-page .social-hero-trust .stars { margin-right: 5px; }
.cully-behavior-page .behavior-beneath-section { background: linear-gradient(180deg, #f2f6fc 0%, #e6edf7 100%); }
.cully-behavior-page .behavior-beneath-section .section-heading { max-width: 810px; }
.cully-behavior-page .behavior-beneath-caption { margin: 34px auto 0; color: #503c48; font: 700 1rem "Open Sans", sans-serif; text-align: center; }
.cully-behavior-page .behavior-process-section { background: linear-gradient(180deg, #f8fafc 0%, #e9eef6 100%); }
.cully-behavior-page .behavior-process-section .section-heading { max-width: 840px; }
.cully-behavior-page .behavior-process-credentials { margin: 28px 0 0; padding: 18px 22px; color: #503c48; border: 1px solid #cbd4e1; background: rgba(255,255,255,.72); font: 700 .86rem/1.6 "Open Sans", sans-serif; text-align: center; }
.cully-behavior-page .behavior-process-credentials span { margin: 0 6px; color: #a8752f; }
.cully-behavior-page .behavior-strategies-section { background: var(--cully-cream); }
.cully-behavior-page .behavior-strategy-closing { margin: 28px 0 0; color: #503c48; font: 700 1rem "Open Sans", sans-serif; text-align: center; }
.cully-behavior-page .behavior-resources-section .section-heading { max-width: 900px; }
.cully-behavior-page .school-advocacy-testimonial { background: var(--cully-cream); }
.cully-behavior-page .school-review-link { display: inline-flex; gap: 10px; align-items: center; margin-top: 24px; color: var(--cully-gold); font: 700 .82rem "Open Sans", sans-serif; }
.cully-behavior-page .school-review-link:hover { color: var(--cully-gold-bright); }
.cully-behavior-page .school-resources-section { background: linear-gradient(180deg, #fffdf8, #f4eee6); }
.cully-behavior-page .school-resource-grid img { display: block; width: 100%; aspect-ratio: 1.62; object-fit: cover; }
.cully-behavior-page .school-resource-grid h3 { font-size: 1.2rem; line-height: 1.3; }
.cully-behavior-page .school-resource-grid a { display: inline-flex; gap: 10px; align-items: center; justify-self: start; margin-top: 22px; color: #a8752f; font: 700 .82rem "Open Sans", sans-serif; }
.cully-behavior-page .school-resource-grid a:hover { color: #68462b; }
.cully-behavior-page .school-resources-action { display: flex; justify-content: center; margin-top: 34px; }
.cully-behavior-page .school-resources-action .cully-button { gap: 12px; }

@media (min-width: 701px) {
  .cully-behavior-page .behavior-hero-content { width: calc(100% - 420px - var(--cully-bs-gutter-x) / 2); }
  .cully-behavior-page .behavior-portrait-column { width: calc(420px + var(--cully-bs-gutter-x) / 2); }
  .cully-behavior-page .behavior-parent-grid > :first-child { width: 45%; }
  .cully-behavior-page .behavior-parent-grid > :last-child { width: 55%; }
}
@media (min-width: 1001px) {
  /* Scoped fifths on the existing grid; no additional Bootstrap library. */
  .cully-behavior-page .behavior-process-column { width: 20%; }
}
@media (max-width: 1000px) {
  .cully-behavior-page .behavior-beneath-connectors { display: none; }
  .cully-behavior-page .behavior-diagram-visible, .cully-behavior-page .behavior-diagram-message { min-height: 0; margin-bottom: 24px; }
  .cully-behavior-page .behavior-diagram-cards { --cully-bs-gutter-x: 16px; margin-inline: -8px; }
  .cully-behavior-page .behavior-diagram-cards > div { width: 50%; }
  .cully-behavior-page .behavior-diagram-cards article { min-height: 0; }
}
@media (min-width: 701px) and (max-width: 1000px) {
  .cully-behavior-page .behavior-hero-content { width: 58%; }
  .cully-behavior-page .behavior-portrait-column { width: 42%; }
  .cully-behavior-page .behavior-process-column { width: 50%; }
}
@media (max-width: 700px) {
  .cully-behavior-page .container { width: calc(100% - var(--cully-gutter-mobile) * 2); }
  .cully-behavior-page .section-dark { background-attachment: scroll; }
  .cully-behavior-page .service-detail-hero { min-height: 0; padding: 62px 0 72px; }
  .cully-behavior-page .behavior-hero-row > *, .cully-behavior-page .behavior-parent-grid > * { width: 100%; padding-inline: 0; }
  .cully-behavior-page .behavior-portrait-column { display: none; }
  .cully-behavior-page .behavior-portrait-mobile { display: block; width: min(320px, 86vw); margin: 38px auto; }
  .cully-behavior-page .service-detail-hero-cta > .cully-button, .cully-behavior-page .behavior-final-cta .cully-button { width: 100%; }
  .cully-behavior-page .behavior-hero-trust { flex-direction: column; align-items: center; text-align: center; }
  .cully-behavior-page .social-hero-trust > span:not(:last-child)::after { display: none; }
  .cully-behavior-page .behavior-review-card { gap: 18px; padding: 26px 22px; }
  .cully-behavior-page .school-review-avatar { flex-basis: 56px; height: 56px; font-size: 1.3rem; }
  .cully-behavior-page .behavior-visible-node, .cully-behavior-page .behavior-message-node { width: 100%; padding: 26px 22px; border-radius: 0; box-shadow: none; }
  .cully-behavior-page .behavior-diagram-cards > div, .cully-behavior-page .behavior-process-column, .cully-behavior-page .behavior-strategy-grid > div, .cully-behavior-page .behavior-resource-grid > div { width: 100%; }
  .cully-behavior-page .behavior-process-grid article, .cully-behavior-page .behavior-strategy-grid article { min-height: 0; padding: 27px 24px; }
  .cully-behavior-page .behavior-strategy-grid h3 { margin-top: 23px; }
  .cully-behavior-page .behavior-parent-grid { --cully-bs-gutter-y: 28px; }
  .cully-behavior-page .behavior-resource-grid article > div { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cully-behavior-page .cully-button { transition: none; }
  .cully-behavior-page .cully-button:hover { transform: none; }
}

/* Match the School Advocacy featured testimonial presentation. */
.cully-behavior-page .school-testimonial-featured>.container { max-width: 980px; }
.cully-behavior-page .school-testimonial-featured>.container>.eyebrow { text-align: center; }
.cully-behavior-page .school-testimonial-featured .school-testimonial-card {
  display: block;
  margin: 26px auto 0;
  padding: clamp(36px, 6vw, 70px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 28px;
  background: linear-gradient(rgba(255,255,255,.1), rgba(255,255,255,.1)), linear-gradient(135deg, var(--cully-plum) 0%, var(--cully-plum-mid) 62%, var(--cully-plum-deep) 100%);
  text-align: left;
  box-shadow: 0 24px 50px rgba(20, 6, 14, .18);
}
.cully-behavior-page .school-testimonial-featured .school-testimonial-card p {
  color: #fff;
  font: 500 clamp(1rem, 1.55vw, 1.35rem)/1.5 "PP Neue Montreal", sans-serif;
}
.cully-behavior-page .school-testimonial-featured .school-testimonial-card footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 34px;
  padding: 0;
  background: transparent;
}
.cully-behavior-page .school-testimonial-featured .school-testimonial-card cite {
  margin: 0;
  color: #eadfe6;
  font: 700 .9rem "Open Sans", sans-serif;
}
.cully-behavior-page .school-testimonial-featured .school-testimonial-card .stars { margin: 0; color: #d58f23; font-size: 1.05rem; }
.cully-behavior-page .school-testimonial-featured .school-review-link {
  max-width: 100%;
  margin-top: 16px;
  padding: 16px 24px;
  color: #f6b042;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.06);
  white-space: normal;
}
.cully-behavior-page .school-testimonial-featured .school-review-link:hover { color: #f9ed4e; background: rgba(255,255,255,.12); }
@media (max-width: 700px) {
  .cully-behavior-page .school-testimonial-featured .school-testimonial-card { padding: 36px 26px; border-radius: 22px; }
}

.cully-behavior-page .behavior-review-section { padding: 96px 0; }
.cully-behavior-page .behavior-review-section > .container > .eyebrow { margin: 0 0 14px; color: #a8752f; font-size: 1rem; font-weight: 700; line-height: 1.65; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 700px) { .cully-behavior-page .behavior-review-section { padding: 72px 0; } }
