/*
Custom CSS — loaded directly (unminified, no build step) after the theme's
compiled stylesheet, so anything here overrides it. Edit and refresh; no
`npm run build` needed.
*/

.flcf-rich-text__content h2 {
    font-size: var(--flcf-fs-h1);
}

.flcf-hero h1 {
    font-size: var(--flcf-fs-h2);
}

@media (max-width: 900px) {
  .custom-mobile-layout .flcf-hero-form__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .custom-mobile-layout .flcf-hero-form__content {
    display: contents;
  }

  .custom-mobile-layout .flcf-hero-form__heading {
    order: 1;
  }

  .custom-mobile-layout .flcf-hero-form__text {
    order: 2;
  }

  .custom-mobile-layout .flcf-hero-form__form-card {
    order: 3;
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .custom-mobile-layout .flcf-hero-form__help {
    order: 4;
  }

  .custom-mobile-layout .flcf-hero-form__help,
  .flcf-hero-form__text {
    margin-top: 0;
  }

  .custom-mobile-layout-2 .flcf-hero-form__content > .flcf-hero-form__text:last-of-type {
    order: 5;
    margin-top: 20px;
  }

  .custom-mobile-layout-2 .flcf-hero-form__phone-button {
    order: 5;
  }

  .custom-mobile-layout-2 .flcf-hero-form__form-card {
        margin-top: 0;
        margin-bottom: 20px;
  }
}

@media (max-width: 767px) {

    :root {
        --flcf-fs-h1: clamp(1.75rem, 1.1479rem + 1.5023vw, 2.5rem);
        --flcf-fs-18: 16px;
        --flcf-btn-padding-y: 14px;
        --flcf-btn-padding-x: 20px;
    }

    .flcf-header-cta .flcf-btn {
        font-size: 10px;
        padding: .375rem .875rem;
        line-height: 16px;
    }

    .flcf-blog-grid__filter {
        width: 100%;
    }
    
}

.page-id-3956 .flcf-hero__content-columns--two-column {
    align-items: self-start;
}

@media (min-width: 350px) {
    .page-template-template-sem-landing .flcf-content-media__buttons .flcf-btn {
        min-width: 300px;
    }
}

@media (min-width: 1101px) {
    .page-template-womens-hair-loss .flcf-content-media-grid__column {
        width: max-content;
    }

    .page-template-womens-hair-loss .flcf-content-media-grid__columns--gap-xxl {
        justify-content: space-between;
        display: flex;
        width: 100%;
    }
    
}

@media (max-width: 1100px) {
    .page-template-womens-hair-loss  .flcf-content-media-grid__content p br {
        display: none;
    }
}


.flcf-article-text {
	margin-bottom: 40px;
    margin-top: 40px;
}

@media (max-width: 1040px) {
    .flcf-menu-item:not(.flcf-menu-item--has-children)  {
        width: 100%;
        display: block;
    }
}