:root {
  --rhf-header-height: 7.5rem;
  --rhf-header-logo-height: 6rem;
}

body {
  margin: 0;
}

.wp-site-blocks {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.wp-site-blocks > * {
  margin-block-start: 0 !important;
}

.wp-site-blocks > * + *,
main > * + *,
.wp-block-post-content > * + * {
  margin-block-start: 0 !important;
  margin-top: 0 !important;
}

main {
  flex: 1;
  margin-block-start: 0 !important;
}

main > :first-child,
.wp-block-post-content > :first-child,
.wp-block-post-content > .alignfull:first-child {
  margin-block-start: 0;
  margin-top: 0;
}

header.wp-block-template-part,
.rhf-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.rhf-header {
  box-sizing: border-box;
  min-height: var(--rhf-header-height);
  padding: 0 2rem !important;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.12);
}

.rhf-header > .alignwide,
.rhf-header > .wp-block-group,
.rhf-header .wp-block-group.alignwide {
  align-items: flex-end;
  justify-content: flex-start !important;
  gap: 2rem;
  box-sizing: border-box;
  width: 100%;
  min-height: var(--rhf-header-height);
  margin-block-start: 0;
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.rhf-header a {
  text-decoration: none;
}

.rhf-header .wp-block-site-logo {
  flex: 0 0 auto;
  line-height: 0;
}

.rhf-header .wp-block-site-logo img {
  display: block;
  width: 143.57px !important;
  max-width: none;
  height: var(--rhf-header-logo-height) !important;
  object-fit: contain;
}

.rhf-script-nav {
  font-family: var(--wp--preset--font-family--script);
  font-size: 30px;
  line-height: 1;
}

.rhf-script-nav .wp-block-navigation__container {
  gap: 2.5rem;
}

.rhf-mobile-nav {
  display: none;
}

.rhf-header .rhf-script-nav .wp-block-navigation-item__content {
  transition: color 150ms ease;
}

.rhf-header .rhf-script-nav .wp-block-navigation-item__content:hover,
.rhf-header .rhf-script-nav .wp-block-navigation-item__content:focus,
.rhf-header .rhf-script-nav .wp-block-navigation-item__content:hover span,
.rhf-header .rhf-script-nav .wp-block-navigation-item__content:focus span {
  color: var(--wp--preset--color--accent, #ffb4ac) !important;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.rhf-hero {
  min-height: 26rem;
  background-position: center;
  background-size: cover;
}

.rhf-hero,
.rhf-two-column-section,
.rhf-home-mission,
.rhf-rich-text-image-section,
.rhf-services-section,
.rhf-home-testimonials,
.rhf-footer {
  width: 100vw;
  max-width: 100vw;
  margin-right: calc(50% - 50vw) !important;
  margin-left: calc(50% - 50vw) !important;
}

.rhf-card {
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.08);
}

.rhf-home-hero {
  min-height: 396px !important;
}

.rhf-home-hero .wp-block-cover__inner-container {
  width: min(100% - 2rem, 80rem);
}

.rhf-home-hero-title {
  font-size: 60px !important;
  line-height: 1 !important;
  text-shadow: 0 3px 12px rgb(0 0 0 / 0.45);
}

.rhf-home-hero-subtitle {
  max-width: 44rem;
  margin: 24px auto 0 !important;
  font-family: var(--wp--preset--font-family--system-sans) !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1.75 !important;
  text-shadow: 0 2px 8px rgb(0 0 0 / 0.45);
}

.rhf-home-hero-subtitle strong,
.rhf-page-hero-subtitle strong {
  font-weight: 400 !important;
}

.rhf-page-hero {
  min-height: 396px !important;
}

.rhf-page-hero .wp-block-cover__inner-container {
  width: min(100% - 2rem, 80rem);
}

.rhf-page-hero-title {
  font-size: 60px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-shadow: 0 4px 8px rgb(0 0 0 / 0.25);
}

.rhf-page-hero-subtitle {
  max-width: 44rem;
  margin: 24px auto 0 !important;
  color: #ffffff !important;
  font-family: var(--wp--preset--font-family--system-sans) !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1.75 !important;
  text-shadow: 0 2px 8px rgb(0 0 0 / 0.45);
}

.rhf-two-column-section,
.rhf-rich-text-image-section,
.rhf-home-mission {
  box-sizing: border-box;
  margin-block-start: 0;
  padding: 64px 0 !important;
  background: linear-gradient(90deg, #f9fafb 0%, #ffffff 50%, #f9fafb 100%);
}

.rhf-two-column-grid,
.rhf-rich-text-image-grid,
.rhf-home-mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto !important;
  padding: 0 16px !important;
}

.rhf-two-column-content,
.rhf-rich-text-content,
.rhf-home-mission-content {
  margin-block-start: 0;
}

.rhf-section-heading {
  margin: 0 0 24px;
  color: var(--wp--preset--color--neutral-900);
  font-size: 30px;
  font-weight: 700;
  line-height: 36px;
}

.rhf-two-column-content p,
.rhf-home-mission-content p {
  margin: 0 0 24px;
  color: var(--wp--preset--color--neutral-600);
  font-size: 16px;
  line-height: 26px;
}

.rhf-two-column-content p,
.rhf-rich-text-content p {
  margin: 0 0 24px;
  color: var(--wp--preset--color--neutral-600);
  font-size: 16px;
  line-height: 26px;
}

.rhf-two-column-content h3,
.rhf-rich-text-content h3 {
  margin: 40px 0 16px;
  color: var(--wp--preset--color--neutral-700);
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}

.rhf-two-column-content blockquote,
.rhf-rich-text-content blockquote {
  margin: 0 0 24px;
  padding-left: 16px;
  border-left: 4px solid var(--wp--preset--color--primary);
  color: var(--wp--preset--color--neutral-700);
  font-style: italic;
}

.rhf-two-column-content blockquote p,
.rhf-rich-text-content blockquote p {
  margin: 0;
  color: inherit;
}

.rhf-two-column-content ul,
.rhf-two-column-content ol,
.rhf-rich-text-content ul,
.rhf-rich-text-content ol {
  margin: 0 0 24px;
  padding-left: 24px;
  color: var(--wp--preset--color--neutral-700);
  font-size: 18px;
  line-height: 28px;
}

.rhf-two-column-content li,
.rhf-rich-text-content li {
  margin: 8px 0;
}

.rhf-two-column-content a,
.rhf-rich-text-content a {
  color: var(--wp--preset--color--primary);
  text-decoration: none;
}

.rhf-two-column-content a:hover,
.rhf-two-column-content a:focus,
.rhf-rich-text-content a:hover,
.rhf-rich-text-content a:focus {
  text-decoration: underline;
}

.rhf-section-actions,
.rhf-home-mission-actions {
  margin-top: 24px;
}

.rhf-button .wp-block-button__link {
  border-radius: 8px;
  background-color: var(--wp--preset--color--primary) !important;
  padding: 12px 24px;
  color: #ffffff !important;
  font-weight: 500;
  line-height: 1.5;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.1), 0 1px 2px rgb(0 0 0 / 0.06);
  text-decoration: none;
  transition: background-color 150ms ease;
}

.rhf-button .wp-block-button__link:hover,
.rhf-button .wp-block-button__link:focus {
  background-color: var(--wp--preset--color--primary-dark) !important;
}

.rhf-two-column-image,
.rhf-home-mission-image {
  position: relative;
  height: 320px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.rhf-two-column-image,
.rhf-rich-text-image {
  position: relative;
  height: 320px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.rhf-two-column-image img,
.rhf-home-mission-image img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.rhf-two-column-image img,
.rhf-rich-text-image img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.rhf-services-section {
  box-sizing: border-box;
  margin-block-start: 0;
  padding: 64px 0 !important;
  background-color: var(--wp--preset--color--neutral-50);
}

.rhf-services-container {
  box-sizing: border-box;
  max-width: 1216px;
  margin: 0 auto !important;
  padding: 0 16px !important;
}

.rhf-services-category {
  margin: 0 0 64px;
}

.rhf-services-category:last-child {
  margin-bottom: 0;
}

.rhf-services-category-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  padding: 8px 16px;
  border-radius: 6px;
  background-color: color-mix(in srgb, var(--wp--preset--color--primary) 10%, transparent);
  color: var(--wp--preset--color--neutral-700);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

.rhf-services-category-icon {
  display: block;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: var(--wp--preset--color--primary-light);
}

.rhf-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.rhf-service-card {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 24px;
  border: 0;
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  text-align: left;
  transition: box-shadow 150ms ease;
}

.rhf-service-card-button {
  cursor: pointer;
}

.rhf-service-card:hover,
.rhf-service-card:focus-within {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.rhf-service-card:focus-visible {
  outline: 3px solid var(--wp--preset--color--accent);
  outline-offset: 3px;
}

.rhf-service-card summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  color: var(--wp--preset--color--neutral-900);
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  cursor: pointer;
  list-style: none;
}

.rhf-service-card summary::-webkit-details-marker {
  display: none;
}

.rhf-service-card summary::after {
  flex: 0 0 auto;
  color: var(--wp--preset--color--primary);
  content: "+";
  font-size: 24px;
  font-weight: 400;
  line-height: 28px;
}

.rhf-service-card[open] summary::after {
  content: "−";
}

.rhf-service-title,
.rhf-service-description,
.rhf-service-price,
.rhf-service-learn {
  display: block;
}

.rhf-service-title {
  margin: 0 0 8px;
  color: var(--wp--preset--color--neutral-900);
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}

.rhf-service-description {
  margin: 0 0 16px;
  color: var(--wp--preset--color--neutral-700);
  font-size: 16px;
  line-height: 24px;
}

.rhf-service-full-description {
  margin: 0;
  color: var(--wp--preset--color--neutral-700);
  font-size: 16px;
  line-height: 24px;
}

.rhf-service-full-description > :first-child {
  margin-top: 0;
}

.rhf-service-full-description > :last-child {
  margin-bottom: 0;
}

.rhf-service-price {
  margin: 0;
  color: var(--wp--preset--color--primary);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.rhf-service-learn {
  margin-top: 8px;
  color: var(--wp--preset--color--primary);
  font-size: 14px;
  line-height: 20px;
}

.rhf-service-modal-open {
  overflow: hidden;
}

.rhf-service-modal[hidden] {
  display: none;
}

.rhf-service-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.rhf-service-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background-color: rgb(0 0 0 / 0.5);
  cursor: pointer;
}

.rhf-service-modal-dialog {
  position: relative;
  width: min(100%, 672px);
  max-height: min(80vh, 720px);
  overflow: auto;
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.rhf-service-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--wp--preset--color--neutral-500);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.rhf-service-modal-close:hover,
.rhf-service-modal-close:focus {
  color: var(--wp--preset--color--neutral-700);
}

.rhf-service-modal-content {
  padding: 32px;
}

.rhf-service-modal-title {
  margin: 0 40px 16px 0;
  color: var(--wp--preset--color--neutral-900);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

.rhf-service-modal .rhf-service-full-description {
  margin-bottom: 24px;
}

.rhf-home-testimonials {
  box-sizing: border-box;
  margin-block-start: 0;
  padding: 80px 0 !important;
  background-color: var(--wp--preset--color--neutral-50);
}

.rhf-home-testimonials-container {
  max-width: 1280px;
  margin: 0 auto !important;
  padding: 0 16px !important;
}

.rhf-home-testimonials-heading {
  text-align: center;
}

.rhf-testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 48px;
}

.rhf-testimonial-card {
  margin-block-start: 0;
  padding: 24px;
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.1), 0 1px 2px rgb(0 0 0 / 0.06);
}

.rhf-testimonial-card p {
  margin: 0;
}

.rhf-testimonial-quote,
.rhf-testimonial-quote p {
  color: var(--wp--preset--color--neutral-600);
  font-style: italic;
  font-size: 16px;
  line-height: 24px;
}

.rhf-testimonial-quote p {
  margin: 0;
}

.rhf-testimonial-quote p + p {
  margin-top: 16px;
}

.rhf-testimonial-name {
  margin-top: 16px !important;
  color: var(--wp--preset--color--neutral-900);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.rhf-testimonial-title {
  color: var(--wp--preset--color--neutral-500);
  font-size: 14px;
  line-height: 20px;
}

.rhf-footer {
  box-sizing: border-box;
  min-height: 120px;
  margin-block-start: 0;
  padding: 48px 32px !important;
}

.rhf-footer > * {
  max-width: 1280px;
  margin: 0 auto !important;
  padding: 0 !important;
}

.rhf-footer p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

@media (max-width: 600px) {
  :root {
    --rhf-header-height: 4.5rem;
    --rhf-header-logo-height: 3rem;
  }

  .rhf-header {
    padding: 0 !important;
  }

  .rhf-header > .alignwide,
  .rhf-header > .wp-block-group,
  .rhf-header .wp-block-group.alignwide {
    align-items: center;
    justify-content: space-between !important;
    gap: 0;
    min-height: var(--rhf-header-height);
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .rhf-header .wp-block-site-logo img {
    width: auto !important;
  }

  .rhf-desktop-nav {
    display: none !important;
  }

  .rhf-mobile-nav {
    display: block;
    height: 0;
    margin: 0 !important;
    margin-block-start: 0 !important;
    padding: 0;
    line-height: 0;
  }

  .rhf-mobile-nav[open] {
    height: auto;
    line-height: 1.5;
  }

  .rhf-mobile-nav summary {
    position: absolute;
    top: 0;
    right: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: var(--rhf-header-height);
    margin: 0;
    padding: 0;
    border-radius: 6px;
    color: #ffffff;
    cursor: pointer;
    list-style: none;
  }

  .rhf-mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .rhf-mobile-nav summary::before {
    width: 24px;
    height: 18px;
    background:
      linear-gradient(currentcolor 0 0) top / 24px 2px no-repeat,
      linear-gradient(currentcolor 0 0) center / 24px 2px no-repeat,
      linear-gradient(currentcolor 0 0) bottom / 24px 2px no-repeat;
    content: "";
  }

  .rhf-mobile-nav[open] summary::before {
    height: 24px;
    background:
      linear-gradient(currentcolor 0 0) center / 24px 2px no-repeat,
      linear-gradient(currentcolor 0 0) center / 24px 2px no-repeat;
    rotate: 45deg;
  }

  .rhf-mobile-nav[open] summary::after {
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: currentcolor;
    content: "";
    rotate: -45deg;
  }

  .rhf-mobile-nav summary:hover,
  .rhf-mobile-nav summary:focus,
  .rhf-mobile-nav[open] summary {
    color: #ffffff;
  }

  .rhf-mobile-nav-panel {
    width: 100%;
    margin: 0;
    padding: 16px;
    border-top: 1px solid #e5e7eb;
    background-color: #ffffff !important;
    color: var(--wp--preset--color--neutral-700) !important;
    box-shadow: 0 4px 8px rgb(0 0 0 / 0.06);
    line-height: 1.5;
  }

  .rhf-header .rhf-mobile-nav-panel {
    color: var(--wp--preset--color--neutral-700) !important;
  }

  .rhf-header .rhf-mobile-nav .rhf-mobile-nav-panel a,
  .rhf-header.has-white-color .rhf-mobile-nav .rhf-mobile-nav-panel a,
  .rhf-mobile-nav-panel a:any-link {
    display: block;
    padding: 8px 0;
    color: var(--wp--preset--color--neutral-700, #374151) !important;
    font-family: var(--wp--preset--font-family--system-sans);
    font-size: 16px;
    line-height: 24px;
    text-align: left;
    text-decoration: none;
  }

  .rhf-header .rhf-mobile-nav .rhf-mobile-nav-panel a:visited,
  .rhf-header.has-white-color .rhf-mobile-nav .rhf-mobile-nav-panel a:visited,
  .rhf-mobile-nav-panel a:any-link:visited {
    color: var(--wp--preset--color--neutral-700, #374151) !important;
  }

  .rhf-header .rhf-mobile-nav .rhf-mobile-nav-panel a:hover,
  .rhf-header .rhf-mobile-nav .rhf-mobile-nav-panel a:focus,
  .rhf-header .rhf-mobile-nav .rhf-mobile-nav-panel a:visited:hover,
  .rhf-header .rhf-mobile-nav .rhf-mobile-nav-panel a:visited:focus,
  .rhf-header.has-white-color .rhf-mobile-nav .rhf-mobile-nav-panel a:hover,
  .rhf-header.has-white-color .rhf-mobile-nav .rhf-mobile-nav-panel a:focus,
  .rhf-mobile-nav-panel a:any-link:hover,
  .rhf-mobile-nav-panel a:any-link:focus {
    color: var(--wp--preset--color--indigo-600, #4f46e5) !important;
    text-decoration: none;
  }

  .rhf-home-hero {
    min-height: 376px !important;
  }

  .rhf-home-hero-title {
    font-size: 36px !important;
  }

  .rhf-home-hero-subtitle {
    max-width: 22rem;
    margin-top: 16px !important;
    font-size: 16px !important;
    line-height: 24px !important;
  }

  .rhf-page-hero {
    min-height: 376px !important;
  }

  .rhf-page-hero-title {
    font-size: 36px !important;
  }

  .rhf-page-hero-subtitle {
    max-width: 22rem;
    margin-top: 16px !important;
    font-size: 16px !important;
    line-height: 24px !important;
  }
}

@media (min-width: 601px) {
  .rhf-script-nav {
    padding-left: 2.5rem;
  }

  .rhf-two-column-section,
  .rhf-home-mission {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .rhf-two-column-grid,
  .rhf-rich-text-image-grid,
  .rhf-home-mission-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-right: 24px !important;
    padding-left: 24px !important;
  }

  .rhf-home-testimonials-container {
    padding-right: 24px !important;
    padding-left: 24px !important;
  }

  .rhf-services-container {
    padding-right: 24px !important;
    padding-left: 24px !important;
  }

  .rhf-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rhf-testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rhf-two-column-image,
  .rhf-rich-text-image,
  .rhf-home-mission-image {
    height: 500px;
  }
}

@media (min-width: 951px) {
  .rhf-script-nav {
    padding-left: 7.5rem;
  }

  .rhf-two-column-section,
  .rhf-home-mission {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .rhf-two-column-grid,
  .rhf-rich-text-image-grid,
  .rhf-home-mission-grid {
    padding-right: 32px !important;
    padding-left: 32px !important;
  }

  .rhf-home-testimonials-container {
    padding-right: 32px !important;
    padding-left: 32px !important;
  }

  .rhf-services-container {
    padding-right: 32px !important;
    padding-left: 32px !important;
  }

  .rhf-services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rhf-testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
