/* AMIV: match theme-doodigital zip-row spacing; submit buttons instead of input[type=button]. */
.find-location,
.footer-find-location .find-bottom-location,
.amiv-therapies .find--location,
.amiv-therapies .find-location{
    display:flex;gap:10px;flex-direction:row;align-items:center;flex-wrap:nowrap;
}
.search-location .find-location{align-items:stretch;flex-wrap:nowrap;}
.search-location .find-location input[type="text"],
.search-location .find-location .form-control,
.search-location .find-location button[type="submit"]{
    margin:0 !important;
    min-height:2.75rem;
    height:2.75rem;
    padding:0.5rem 1.25rem;
    font-size:1rem;
    line-height:1.25;
    box-sizing:border-box;
    border-radius:5px;
}
.search-location .find-location input[type="text"],
.search-location .find-location .form-control{
    flex:1 1 12rem;
    min-width:10rem;
    max-width:20rem;
    color:var(--white) !important;
}
.search-location .find-location button[type="submit"]{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 auto;
    min-width:9.5rem;
    white-space:nowrap;
    padding:0.5rem 1.25rem !important;
}
@media (min-width:992px){
    .search-location .find-location input[type="text"],
    .search-location .find-location .form-control{flex:1 1 auto;max-width:none;}
    .search-location .find-location button[type="submit"]{
        flex:0 0 30%;
        min-width:30%;
        max-width:none;
    }
}
.amiv-therapies .find--location,
.amiv-therapies .find-location{align-items:stretch;}
.amiv-therapies .find--location input[type="text"],
.amiv-therapies .find-location input[type="text"],
.amiv-therapies .find--location button[type="submit"],
.amiv-therapies .find-location button[type="submit"]{
    flex:1 1 0;
    min-width:0;
    width:auto;
    max-width:none;
    margin:0 !important;
    min-height:2.75rem;
    height:2.75rem;
    padding:0.5rem 1.25rem !important;
    font-size:1rem;
    line-height:1.25;
    box-sizing:border-box;
    border-radius:5px;
}
.amiv-therapies .find--location input[type="text"],
.amiv-therapies .find-location input[type="text"]{
    background:var(--white) !important;
    color:var(--body-color) !important;
    border:1px solid var(--border-color-1) !important;
}
.amiv-therapies .find--location input::placeholder,
.amiv-therapies .find-location input::placeholder{color:var(--color-grey);opacity:1;}
.amiv-therapies .find--location button[type="submit"],
.amiv-therapies .find-location button[type="submit"]{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    white-space:nowrap;
}
.amiv-therapies .find--location .btn-secondary,
.amiv-therapies .find--location .btn-secondary:hover,
.amiv-therapies .find--location .btn-secondary:focus,
.amiv-therapies .find--location .btn-secondary:active,
.amiv-therapies .find-location .btn-secondary,
.amiv-therapies .find-location .btn-secondary:hover,
.amiv-therapies .find-location .btn-secondary:focus,
.amiv-therapies .find-location .btn-secondary:active{
    background:var(--body-color) !important;color:var(--white) !important;border-color:var(--body-color) !important;
}
.amiv-therapies .therapies-box,
.therapies .therapies-box{overflow:hidden;}
.amiv-therapies .therapies-box > img,
.therapies .therapies-box > img{
    width:100%;
    aspect-ratio:16/9;
    height:auto;
    object-fit:cover;
    object-position:center;
    display:block;
    flex-shrink:0;
    border-top-left-radius:20px;
    border-top-right-radius:20px;
}
.amiv-therapies .therapies-box .btn-primary,
.amiv-therapies .therapies-box .btn-primary:hover,
.amiv-therapies .therapies-box .btn-primary:focus,
.amiv-therapies .therapies-box .btn-primary:active{
    background:var(--primary-color) !important;color:var(--white) !important;border-color:var(--primary-color) !important;
}
.zip-results-page .find-location input[type="text"],
.zip-results-page .find-location .form-control{flex:1 1 auto;max-width:none;}
.zip-results-page .find-location .form-control{color:var(--body-color) !important;background:var(--white);border-color:var(--border-color-1) !important;}
.find-location button[type="submit"],
.find-location input[type="submit"],
.find-location input[type="button"],
.footer-find-location .find-bottom-location button[type="submit"],
.footer-find-location .find-bottom-location input[type="submit"],
.footer-find-location .find-bottom-location input[type="button"]{
    border-radius:5px;padding:5px 20px;line-height:1.4;white-space:nowrap;
}
@media (min-width:992px){
    .find-location button[type="submit"],
    .find-location input[type="submit"],
    .find-location input[type="button"]{min-width:30%;}
    .footer-find-location .find-bottom-location button[type="submit"],
    .footer-find-location .find-bottom-location input[type="submit"],
    .footer-find-location .find-bottom-location input[type="button"]{min-width:20%;}
}
#home-video{position:relative;cursor:pointer;}
#home-video .hero-play{
    position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
    background:var(--white) !important;
    color:var(--body-color) !important;
    box-shadow:0 4px 20px rgba(0,0,0,0.2);
}
#home-video .hero-play:hover,
#home-video:hover .hero-play{
    background:var(--white) !important;
    color:var(--body-color) !important;
    transform:translate(-50%,-50%) scale(1.08);
}
#home-video .hero-play i{margin-left:3px;}
#home-video img{width:100%;height:100%;object-fit:cover;}
.migraine-relief-page .top-banner,
.condition-page .top-banner,
.service-detail-page .top-banner{min-height:28rem;}
.service-detail-page .top-banner .service-hero-copy{gap:1rem !important;}
@media (max-width:767.98px){
    .migraine-relief-page .top-banner,
    .condition-page .top-banner,
    .service-detail-page .top-banner{min-height:0;}
}
.blog-grid-img,.blog-box-grid img.blog-grid-img,.BlogSwiper .blog-box img,.blog-related-card img{
    width:100%;height:auto;
}
.faq-category-nav a.faq-category-btn,.faq-category-nav .faq-category-btn{text-decoration:none !important;}
.blog-page #blogGrid.blog-grid-loading{opacity:0.55;pointer-events:none;transition:opacity 0.2s ease;}
.blog-sidebar-toc{padding-left:1.25rem;margin-bottom:0;}
.blog-sidebar-toc li{margin-bottom:8px;}
.blog-sidebar-toc a{color:var(--body-color);text-decoration:none;transition:color 0.2s;}
.blog-sidebar-toc a:hover{color:var(--primary-color);}
/* Terms / Privacy TOC: keep section headings visible below sticky header */
.terms-page [id^="section-"],
.privacy-page [id^="section-"]{
    scroll-margin-top:calc(var(--header-height, 100px) + 1.25rem);
}
.blog-key-takeaways h4 .fa-lightbulb.text-start{display:inline-block;vertical-align:top;margin-top:0.15rem;}
.blog-key-takeaways li .kt-icon{top:3px;}
.membership-hero-lead .household-break{display:inline;}
@media (min-width:992px){
    .membership-hero-lead .household-break{display:block;}
}
.testimonials-hero,.bg4.padding-b80{padding-bottom:80px;}
.stats-wrap{margin-top:-50px;position:relative;z-index:2;}
@media (min-width:992px){
    .location-page .location-contact-line{white-space:nowrap;}
}
.location-page .treatment-card .product_image{
    width:100%;
    aspect-ratio:1/1;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:6px;
}
.location-page .treatment-card .product_image img,
.location-page .treatment-card .treatment-card-img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    display:block;
}
.location-page .blogs .blog-box,
.location-page .blogs .blog-box .blog-content{height:auto;}
.location-page .blogs .blog-box .blog-content{
    display:flex;
    flex-direction:column;
    flex:0 1 auto;
}
.location-page .blogs .blog-box .blog-heading{
    flex:0 0 auto;
    margin-bottom:0.25rem;
}
.location-page .blogs .blog-box .blog-link{
    margin-top:0;
    padding-top:0;
}
.location-page .blogs .blog-box{overflow:hidden;}
.location-page .blogs .row > [class*="col-"]{align-self:flex-start;}
.location-page .blogs .blogs-more-posts{margin-top:1.5rem;}
.location-page .blogs .blog-box > a.d-block,
.location-page .blogs .blog-box > img{
    display:block;
    overflow:hidden;
}
.location-page .blogs .blog-box img,
.location-page .blogs .blog-box .blog-grid-img{
    width:100%;
    height:auto;
}
.team-page .team-member .team-photo{
    max-width:none;
}
.team-page .team-member .team-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:top center;
}
.franchise-team-page .team-photo-wrap{
    max-width:none;
}
.franchise-team-page .team-photo{
    width:100%;
    object-fit:cover;
    object-position:top center;
}
@media (max-width:767.98px){
    .team-page .team-member .team-photo{
        max-width:none !important;
        border-radius:0;
    }
    .team-page .team-member .team-photo img{
        border-radius:0;
    }
    .franchise-team-page .team-photo-wrap {
		width: 100%; ←– Update currently its 100vw
		max-width: none !important;
		margin-left: calc(50% - 50vw); ←– Remove
		margin-right: calc(50% - 50vw); ←– Remove
	}
    .franchise-team-page .team-photo{
        width:100%;
    }
    .franchise-team-page .team-photo-badge{
        left:1rem;
        transform:none;
    }
}
@media (max-width:991.98px){
    .careers-page .careers-hero-points .col-4{flex:0 0 33.333%;max-width:33.333%;padding-left:0.35rem;padding-right:0.35rem;}
    .careers-page .careers-worth-section .col-lg-4 + .col-lg-4{margin-top:0.75rem;}
    .careers-page .careers-fit-section .row > [class*="col-"]{max-width:100%;}
    .community-page .community-mobile-cta-spacer{margin-bottom:2rem;}
}

/* Google Ads / UGC booking landings: no site header/footer chrome */
body.book-mobile-iv-services-bare,
body.ugc-service-booking-bare{
    min-height:100vh;
    background:var(--background-color-1, #f7f7f9);
}
body.book-mobile-iv-services-bare .book-mobile-iv-services-hero,
body.ugc-service-booking-bare .ugc-service-booking-hero{
    min-height:100vh;
    display:flex;
    align-items:center;
}
body.book-mobile-iv-services-bare .booking-popup-close,
body.ugc-service-booking-bare .booking-popup-close{
    display:none !important;
}
body.ugc-service-booking-bare .booking-tabs-wrap{
    display:none !important;
}
body.ugc-service-booking-bare .booking-addons-wrap,
body.ugc-service-booking-bare .booking-genetic-swab-wrap{
    display:none !important;
}
