/*
Theme Name: Woodmart Child
Theme URI: https://telehealth.server.local/
Description: Child theme for Horizon Health and Wellness. Custom CSS for the patient funnel (Phase 2) goes here. The parent theme is never edited.
Author: Horizon Health and Wellness web project
Template: woodmart
Version: 1.0.0
Text Domain: woodmart-child
*/

/*
 * Custom CSS lives in this file (decision recorded in AGENTS.md).
 * Customizer > Additional CSS is intentionally empty.
 *
 * Brand tokens used by the site (hard-coded in Elementor, no Kit globals):
 *   primary  #247685   secondary  #F2EDDB   accent  #C5E9EE   font  Montserrat
 */

.whb-header .whb-general-header {
    margin-top:-12px !important;
    border-radius: 55px;
    box-shadow: 0 9px 24px rgba(0, 0, 0, 0.2);
}

/* Tablet/mobile header has no top offset, so the -12px above cut off its top edge */
@media (max-width: 1024px) {
    .whb-header .whb-general-header {
        margin: 10px 10px 0 !important;
    }
}


.whb-sticky-shadow.whb-sticked .whb-main-header {
    margin-top:20px !important;
    border-radius: 55px !important;
    box-shadow: 0 9px 24px rgba(0, 0, 0, 0.2);
}
.button-custom a{
    padding: 7px 7px 7px 20px;
}
.button-custom .elementor-button-content-wrapper{
    display: inline-flex;
    align-items: center;
}

.button-custom .elementor-button-icon svg {
    width: 2.3rem;
}

.button-custom.btn-full .elementor-button-content-wrapper{
    width: 100%;
    display: flex;

    justify-content: space-between !important;
}



.header-btn{
    padding: 7px 7px 7px 20px;
}
.header-btn img{
    width: 2.6rem;
    margin-left: 10px
}

/* "Book" button in the tablet/mobile header (Header Builder, right mobile column);
   on phones it drops the arrow icon so it fits next to MENU and the logo */
@media (max-width: 767px) {
    .header-btn.header-btn-mobile {
        min-height: 36px;
        padding: 0 16px;
        font-size: 12px;
    }
    .header-btn.header-btn-mobile .wd-btn-icon {
        display: none;
    }
}
/* Below 375px MENU + logo + Book do not fit the pill at full size */
@media (max-width: 374px) {
    .header-btn.header-btn-mobile {
        padding: 0 12px;
    }
    .whb-header .whb-column_mobile3 .wd-logo img {
        max-width: 95px !important;
    }
}

/* Client Portal: menu item with class "menu-client-portal" (Appearance > Menus > Menu),
   shown as a secondary button in the desktop nav and the mobile (hamburger) menu. */
.whb-header .wd-nav-main > li.menu-client-portal > a,
.mobile-nav .wd-nav-mobile > li.menu-client-portal > a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 7px 20px;
    border: 0;
    border-radius: 35px;
    background-color: #E8F6F8;
    color: #000000;
    font-family: 'Lato', Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background-color .25s ease;
}
.whb-header .wd-nav-main > li.menu-client-portal > a:hover,
.mobile-nav .wd-nav-mobile > li.menu-client-portal > a:hover {
    background-color: #C5E9EE;
    color: #000000;
}
/* Same 42px row height as the other nav items, pill centred in it */
.whb-header .wd-nav-main > li.menu-client-portal {
    display: flex;
    align-items: center;
    height: 42px;
}
.whb-header .wd-nav-main > li.menu-client-portal > a {
    min-height: 32px;
    height: 32px;
    padding: 0 20px;
}
.mobile-nav .wd-nav-mobile > li.menu-client-portal {
    padding: 15px 20px;
}

/* Free Wellness Preview: highlighted as a call to action in the brand teal (outline pill, fills on hover) */
.whb-header .wd-nav-main > li.menu-cta-preview > a,
.mobile-nav .wd-nav-mobile > li.menu-cta-preview > a {
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border: 2px solid #247685;
    border-radius: 35px;
    background-color: transparent;
    color: #247685;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color .25s ease, color .25s ease;
}
.whb-header .wd-nav-main > li.menu-cta-preview > a:hover,
.mobile-nav .wd-nav-mobile > li.menu-cta-preview > a:hover {
    background-color: #247685;
    color: #FFFFFF;
}
.whb-header .wd-nav-main > li.menu-cta-preview {
    display: flex;
    align-items: center;
    height: 42px;
}
.whb-header .wd-nav-main > li.menu-cta-preview > a {
    height: 34px;
}
.mobile-nav .wd-nav-mobile > li.menu-cta-preview {
    padding: 15px 20px 0;
}
.mobile-nav .wd-nav-mobile > li.menu-cta-preview > a {
    min-height: 42px;
}

/* Desktop nav (1025px and up) keeps to one line at every width, in tiers:
   - 1440px and up: full menu, 12px gap
   - 1320-1439px: tighter nav (13px, smaller Client Portal pill, compact Book button)
   - 1100-1319px: HOW IT WORKS and CONTACT US move into the MORE drop-down (menu items with class
     "hhw-narrow-hide" are hidden, their copies with class "hhw-more-dup" inside MORE are shown)
   - 1025-1099px: "Free Wellness Preview" shortens to "Free Preview" (span.hhw-nav-opt hidden)
   The copies in MORE are never shown on mobile or on wide screens. */
.whb-header .wd-nav-main.wd-gap-m {
    --nav-gap: 12px;
}
li.hhw-more-dup {
    display: none !important;
}
/* Drop-down arrow next to MORE: black and a little larger so it is visible */
.whb-header .wd-nav-main > li.menu-item-has-children > a::after {
    color: #000000;
    font-size: 9px;
}
@media (max-width: 1439px) {
    .whb-header .wd-nav-main.wd-gap-m {
        --nav-gap: 12px;
    }
    .whb-header .wd-nav-main > li:not(.menu-client-portal) > a {
        font-size: 13px;
    }
    .whb-header .wd-nav-main > li.menu-client-portal > a {
        padding: 0 14px;
        font-size: 12px;
    }
    .whb-main-header .header-btn:not(.header-btn-mobile) {
        padding-left: 14px !important;
        padding-right: 6px !important;
        font-size: 12px !important;
    }
}
@media (min-width: 1320px) and (max-width: 1365px) {
    .whb-header .wd-nav-main.wd-gap-m {
        --nav-gap: 6px;
    }
}
/* 1025-1279px: Book A Consultation button even tighter (185px wide, 42px high, 32px arrow) to leave room for the nav */
@media (min-width: 1025px) and (max-width: 1279px) {
    .whb-main-header .header-btn:not(.header-btn-mobile) {
        padding: 4px 4px 4px 14px !important;
        gap: 8px !important;
        font-size: 11px !important;
    }
    .whb-main-header .header-btn:not(.header-btn-mobile) .wd-btn-icon {
        width: 32px;
        height: 32px;
        flex: 0 0 32px;
    }
    .whb-main-header .header-btn:not(.header-btn-mobile) .wd-btn-icon img {
        width: 32px;
        height: 32px;
        margin-left: 0;
    }
}
/* 1025-1319px: less space around the logo, and the nav spreads over the whole centre column
   (space between the items) instead of being bunched up in the middle */
@media (min-width: 1025px) and (max-width: 1319px) {
    .whb-general-header .container {
        padding-left: 18px;
        padding-right: 18px;
    }
    .whb-general-header .whb-col-left {
        margin-right: -12px;
    }
    .whb-header .whb-col-center .wd-header-nav {
        width: 100%;
    }
    .whb-header .whb-col-center .wd-nav-main {
        width: 100%;
        justify-content: space-between;
    }
}
@media (min-width: 1025px) and (max-width: 1319px) {
    .whb-header .wd-nav-main > li.hhw-narrow-hide {
        display: none;
    }
    .whb-header .wd-nav-main li.hhw-more-dup {
        display: list-item !important;
    }
}
@media (min-width: 1025px) and (max-width: 1099px) {
    .whb-header .wd-nav-main.wd-gap-m {
        --nav-gap: 8px;
    }
    .whb-header .wd-nav-main .hhw-nav-opt {
        display: none;
    }
}

/* Elementor form buttons: label stays on one line; the button is never narrower than its content
   (at desktop widths the 40% button width is too narrow for the label on narrower forms) */
.elementor-widget-form .elementor-button .elementor-button-text {
    white-space: nowrap;
}
.elementor-widget-form .elementor-field-type-submit {
    min-width: max-content;
}

/* Elementor form buttons: the arrow inside the white circle is teal, but a theme rule turns it white (invisible) */
.elementor-widget-form .elementor-button .elementor-button-icon svg path {
    fill: #247685 !important;
}

/* Program pricing cards (Home + Pricing): same photo height on every card, so prices and buttons line up */
.hhw-plan-card .elementor-widget-image img {
    aspect-ratio: 463 / 250;
    object-fit: cover;
}
/* Cards are at most 600px wide; centred when stacked in one column (tablet/mobile) */
.hhw-plan-card {
    max-width: 600px;
}
@media (max-width: 1024px) {
    .hhw-plan-card {
        align-self: center;
        width: 100%;
    }
}
/* Price and "3-Month Program" on one line (row container with class hhw-plan-price) */
.hhw-plan-price {
    align-items: baseline;
}
/* Desktop: the 3 cards share grid rows (subgrid), so photo, name, description, price, button
   and "What's included" each start at the same height in every card despite different text lengths */
@media (min-width: 1025px) {
    .e-con:has(> .hhw-plan-card) {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: repeat(7, auto);
        row-gap: 0;
    }
    .e-con:has(> .hhw-plan-card) > .hhw-plan-card {
        display: grid;
        grid-row: span 7;
        grid-template-rows: subgrid;
        row-gap: 20px;
    }
    .hhw-plan-card > .e-con:not(.hhw-plan-price) {
        display: grid;
        grid-row: span 6;
        grid-template-rows: subgrid;
        align-content: start;
    }
}

/* Home "Wellness Preview" block: before/after photo cards with a pill label on each photo */
.hhw-ba-card {
    position: relative;
}
.hhw-ba-card .elementor-widget-image img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top;
    border-radius: 16px;
}
/* Two photos always side by side (Elementor would stack 50% children on mobile) */
.hhw-ba-images > .hhw-ba-card {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
}
.hhw-ba-card > .hhw-ba-label {
    position: absolute;
    top: 20px;
    left: 20px;
    width: auto;
}
.hhw-ba-card .hhw-ba-label .elementor-heading-title {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 98px;
    background: #FFFFFF;
    color: #000000;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.hhw-ba-card .hhw-ba-label--after .elementor-heading-title {
    background: #247685;
    color: #FFFFFF;
}
@media (max-width: 1024px) {
    .hhw-ba-images {
        max-width: 600px;
        align-self: center;
    }
}
@media (max-width: 767px) {
    .hhw-ba-card > .hhw-ba-label {
        top: 14px;
        left: 14px;
    }
    .hhw-ba-card .hhw-ba-label .elementor-heading-title {
        padding: 5px 10px;
        font-size: 10px;
    }
}



/*
images up down animate */


.float-img {
    animation: upDown 3s ease-in-out infinite;
}

@keyframes upDown {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0);
    }
}



.float-img1 {
    animation: upDown 5s ease-in-out infinite;
}

@keyframes upDown {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0);
    }
}


.float-img2 {
    animation: upDown 4s ease-in-out infinite;
}

@keyframes upDown {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0);
    }
}




/* time line section */

h4.wd-timeline-title {
    font-weight: bold;
    font-family: 'Montserrat';
    font-size: 28px;
}


.wd-timeline-content.wd-set-mb.reset-last-child {
    color: #000;
    font-family: 'Montserrat';
    font-size: 18px !important;
}


.zoom-img div img{
    transition: transform 0.5s ease;
}

.zoom-img div img:hover {
    transform: scale(1.02);
}
html,body{
    scroll-behavior: smooth
}

/* Contact page: the real email address is longer than the old placeholder; keep the round icon at full size and let the address wrap */
.hhw-contact-email .elementor-image-box-img {
    flex: 0 0 56px;
    min-width: 56px;
}
.hhw-contact-email .elementor-image-box-content {
    min-width: 0;
    overflow-wrap: anywhere;
}
