/* Family Tree Research only. Original Rhythm sections, pricing, navigation and breakpoints. */
/* Figma fills: paragraph 0.39, solid button #151515, footer #666666.
   Only the native Facebook glyph changes size; all text metrics stay unchanged. */



.sa-family .footer-copy,.sa-family .footer-made{opacity:1;}

.sa-family .footer-social-links a{opacity:1;}
.sa-family .footer-social-links a:before{opacity:.85;}
.sa-family .footer-social-links a:hover:before{opacity:1;}
.sa-family .footer-social-links a i{font-size:28px;top:6px;}
/* Original supplied HK Grotesk 2.410 OTF: preserve Figma advances, no font scaling. */




.sa-family p{margin-bottom:24px;}
.sa-family p:last-child{margin-bottom:0;}
.sa-family picture,.sa-family picture img{display:block;width:100%;height:auto;}
.sa-family .row{--bs-gutter-x:60px;}
.sa-family .page-section{padding:100px 0;}

.sa-family p:has(+ p > .btn){margin-bottom:22px;}

.sa-family .sa-cover .hs-line-7{margin-bottom:20px;}

.sa-family .sa-introduction .col-md-6:first-child{width:calc(40% + 12px);}
.sa-family .sa-introduction .col-md-6:last-child{width:calc(60% - 12px);}
.sa-family .sa-introduction p:has(.btn){margin-top:22px;}
.sa-family .sa-starting-ancestor .col-md-5{width:calc(40% + 12px);margin:0;}
.sa-family .sa-starting-ancestor .col-md-7{width:calc(60% - 12px);margin:0;}
.sa-family .sa-starting-ancestor h2{margin-bottom:24px;}

.sa-family .sa-packages .section-title,.sa-family .sa-numbered .section-title,.sa-family .sa-extensions .section-title{margin-bottom:46px!important;}
.sa-family .sa-packages>.container>.row:not(.section-text){margin-top:46px;--bs-gutter-x:30px;}
.sa-family .sa-packages>.container>.mt-40{margin-top:46px!important;}
.sa-family .sa-numbered .row{--bs-gutter-x:30px;}
.sa-family .sa-numbered .sa-number{margin-bottom:20px;}
.sa-family .sa-numbered h3{margin-bottom:20px;}
.sa-family .sa-extensions>.container>p{margin-bottom:46px;}
.sa-family .sa-extensions h3{margin-bottom:22px;}
.sa-family .sa-extensions>.container>.mt-50{margin-top:46px!important;}
.sa-family .sa-extensions>.container>.mt-50 h3{margin-bottom:46px;}
.sa-family .sa-extensions>.container>.mt-50 p{margin-bottom:46px;}
.sa-family .sa-family-aside .col-md-6:first-child{width:calc(40% + 12px);}
.sa-family .sa-family-aside .col-md-6:last-child{width:calc(60% - 12px);}
.sa-family .sa-family-aside h2{margin:0!important;}
.sa-family .sa-family-aside>.container>.text-link{margin-top:46px;}
.sa-family .sa-closing{padding:100px 0!important;}
.sa-family .sa-closing .col-md-5{width:calc(40% + 12px);}
.sa-family .sa-closing .col-md-7{width:calc(60% - 12px);}
.sa-family .sa-closing h2{padding:0;margin:0;}
.sa-family .sa-closing p:has(.btn){margin-top:22px;}
.sa-family footer.footer{padding:70px 0 60px!important;min-height:330px;}
.sa-family .footer-social-links{height:54px;line-height:54px;margin-bottom:46px!important;}
.sa-family .footer-social-links a{width:54px;height:54px;line-height:54px;font-size:32px;}
.sa-family .footer-copy{margin-bottom:10px;}

.sa-family footer .link-to-top{display:none;}


.sa-family .family-explicit-mobile-break{display:none;}
@media (min-width:768px){
/* Approved 479 / 719 content columns plus the native 60px gutter. */
.sa-family .sa-introduction .col-md-6:first-child,.sa-family .sa-starting-ancestor .col-md-5,.sa-family .sa-family-aside .col-md-6:first-child,.sa-family .sa-closing .col-md-5{width:calc((100% - 120px) * 479 / 1198 + 60px);}
.sa-family .sa-introduction .col-md-6:last-child,.sa-family .sa-starting-ancestor .col-md-7,.sa-family .sa-family-aside .col-md-6:last-child,.sa-family .sa-closing .col-md-7{width:calc((100% - 120px) * 719 / 1198 + 60px);}

.sa-family .sa-cover>.container{transform:translateY(10px);}
}
@media (max-width:767px){

.sa-family .family-explicit-mobile-break{display:block;}
.sa-family .row{--bs-gutter-x:30px;}
.sa-family .page-section{padding:70px 0;}

.sa-family p{margin-bottom:20px;}
.sa-family .sa-cover{background-image:url("../images/webp-q98/redesign/339-157-mobile-q98.webp")!important;}
.sa-family .sa-cover .hs-line-7{margin-bottom:10px;}

.sa-family .sa-cover .col-md-4{margin-top:25px!important;}

.sa-family .sa-introduction .col-md-6:first-child{width:100%;margin-bottom:30px!important;}
.sa-family .sa-introduction .col-md-6:last-child{width:100%;}
.sa-family .sa-introduction p:has(.btn){margin-top:22px;}
.sa-family .sa-starting-ancestor .col-md-5,.sa-family .sa-starting-ancestor .col-md-7{width:100%;margin:0!important;}
.sa-family .sa-starting-ancestor .col-md-5{margin-bottom:32px!important;}

.sa-family .sa-packages .section-title,.sa-family .sa-numbered .section-title,.sa-family .sa-extensions .section-title{margin-bottom:36px!important;}
.sa-family .sa-packages>.container>.row:not(.section-text){margin-top:36px;}
.sa-family .sa-packages .col-md-4:last-child{margin-bottom:0!important;}



.sa-family .sa-packages>.container>.mt-40{margin-top:36px!important;}


.sa-family .sa-numbered .col-md-3{margin-bottom:30px!important;}
.sa-family .sa-numbered .col-md-3:last-child{margin-bottom:0!important;}
.sa-family .sa-extensions>.container>p{margin-bottom:36px;}
.sa-family .sa-extensions h3{margin-bottom:22px;}
.sa-family .sa-extensions .row>div:first-child{margin-bottom:40px!important;}
.sa-family .sa-extensions>.container>.mt-50{margin-top:36px!important;}
.sa-family .sa-extensions>.container>.mt-50 h3,.sa-family .sa-extensions>.container>.mt-50 p{margin-bottom:36px;}
.sa-family .sa-family-aside .col-md-6:first-child,.sa-family .sa-family-aside .col-md-6:last-child{width:100%;}
.sa-family .sa-family-aside .col-md-6:first-child{margin-bottom:28px!important;}
.sa-family .sa-family-aside>.container>.text-link{margin-top:36px;}
.sa-family .sa-closing{padding:70px 0!important;}
.sa-family .sa-closing .col-md-5,.sa-family .sa-closing .col-md-7{width:100%;}

.sa-family .sa-closing .col-md-5{margin-bottom:30px!important;}
.sa-family footer.footer{padding:42px 0 53px!important;min-height:285px;}
.sa-family .footer-social-links{margin-bottom:29px!important;}
.sa-family .footer-copy{margin-bottom:49px;width:350px;max-width:calc(100vw - 40px);margin-left:-4px;}
}

/* Original Rhythm pricing structure and equal-height desktop cards. */
.sa-family .sa-packages .pricing-features li{text-wrap:pretty;}
@media(min-width:768px){.sa-family .sa-packages .col-md-4{display:flex;}.sa-family .sa-packages .pricing-item,.sa-family .sa-packages .pricing-item-inner{width:100%;}.sa-family .sa-packages .pricing-item-inner,.sa-family .sa-packages .pricing-wrap{height:100%;}.sa-family .sa-packages .pricing-wrap{display:flex;flex-direction:column;}.sa-family .sa-packages .pricing-features{flex:1 1 auto;}}

/* Package introduction and note span all three cards. */
@media (min-width:768px){.sa-family .sa-packages>.container>.row.section-text>.col-12>p,.sa-family .sa-packages>.container>.mt-40>p{max-width:none;}}

/* Align deliverable descriptions below the tallest heading in the row. */
@media (min-width:768px){
  .sa-family .sa-numbered .row.section-text{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));}
  .sa-family .sa-numbered .row.section-text>.col-md-3{display:grid;grid-template-rows:subgrid;grid-row:span 3;width:auto;}
}
