/*
GLOBAL VARIABLES
*/

:root {
  /* =================================================
   BRAND COLORS
  ================================================= */
  --surface-brand: #06192f;
  --color-brand-primary: #06192f;
  --color-brand-secondary: #07182f;
  --color-brand-soft: #f3f3f3;
  --color-brand-accent: #06192f;
  --color-text-primary: #1e1e1e;
  --color-text-secondary: #1a1a1a;
  --color-text-accent1: #696969;
  --color-text-accent2: #ffffff;
  --color-text-subtle: #575757;
  --color-text-inverse: #040f23;
  --color-text-base: #4e4e4e;
  --color-text-nav: #181818;
  --color-text-nav-interior: #4e4e4e;
  --color-text-nav-overlay: #4e4e4e;
  --color-text-ui: #fbf3f3;
  --color-header-bg: rgb(255 255 255);
  --color-bg-page1: #ffffff;
  --color-bg-page2: #ffffff;
  --color-bg-footer1: #ffffff;
  --color-bg-footer2: #232323;
  --color-bg-footer3: #f9f9f9;
  --color-carousel-overlay: linear-gradient(#00000026 0%, #00000026 40%, #00000026 100%);

  /* =================================================
   GRAPHIC DEFAULTS Ã¢â‚¬â€ MOBILE
  ================================================= */
  --bg-pos-x-mobile: right;
  --bg-pos-y-mobile: 0px;
  --bg-size-mobile: 200%;
  --bg-height-mobile: 2400px;
  --bg-opacity-mobile: .1;
  --bg-top-mobile: 0px;
  --bg-transform-mobile: scaleX(1);

  /* =================================================
   GRAPHIC DEFAULTS Ã¢â‚¬â€ DESKTOP
  ================================================= */
  --bg-pos-x-desktop: 890px;
  --bg-pos-y-desktop: 0px;
  --bg-size-desktop: 40%;
  --bg-height-desktop: 1200px;
  --bg-opacity-desktop: .1;
  --bg-top-desktop: 90px;
  --bg-transform-desktop: scaleX(1);

  /* =================================================
   HERO
  ================================================= */
  --carousel-bg-image: url("/img/upload/hero.webp");
}


/*==================================================================================*/
/* Bg Images */
/*==================================================================================*/

.sb-bg-image1-row {
  background-image: url("/img/upload/personal_training_nyc_hero1.webp");
}

.sb-bg-image2-row {
  background-image: none;
}

.sb-bg-image3-row {
  background-image: none;
}
   
.sb-bg-graphic1-row.sb-wrap:after {
  background-image: none;
}

.sb-bg-graphic2-row.sb-wrap:after {
  background-image: none;
}

#page-home .sb-feature-gallery-row,
#page-home .sb-gallery-row  {
  background-image: none;
}

#page-home .carousel-inner .item::after {
  background-image: none;
}


/*==================================================================================*/
/* Bg Overlays */
/*==================================================================================*/

.sb-bg-image1-row:before {
  background: rgb(0 0 0 / 15%);
  /* background: linear-gradient(270deg, rgb(0 0 0 / 0%) 25%, rgb(0 0 0 / 0%) 100%); */
}

@media (min-width: 949px) { 
.sb-bg-image1-row:before {
  background: rgb(0 0 0 / 15%);
  /* background: linear-gradient(346deg, rgb(112 32 102) 8%, rgb(0 0 0 / 0%) 45%); */
  }
}

.sb-bg-image2-row:before {
  background: rgb(0 0 0 / 40%);
  /* background: linear-gradient(270deg, rgb(0 0 0 / 0%) 25%, rgb(0 0 0 / 0%) 100%); */
}

@media (min-width: 949px) { 
.sb-bg-image2-row:before {
  background: rgb(0 0 0 / 40%);
  /* background: linear-gradient(346deg, rgb(112 32 102) 8%, rgb(0 0 0 / 0%) 45%); */
  }
}

.sb-bg-image3-row:before {
  background: rgb(0 0 0 / 40%);
  /* background: linear-gradient(270deg, rgb(0 0 0 / 0%) 25%, rgb(0 0 0 / 0%) 100%); */
}

@media (min-width: 949px) { 
.sb-bg-image3-row:before {
  background: rgb(0 0 0 / 60%);
  /* background: linear-gradient(346deg, rgb(112 32 102) 8%, rgb(0 0 0 / 0%) 45%); */
  }
}


/*==================================================================================*/
/* ACCENT ENGINE TOKENS  */
/*==================================================================================*/

:root {
  --heading-accent-content: inherit;
  --heading-accent-width: min(180px, 80%);
  --heading-accent-transform: none;
  --heading-accent-svg:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0%25' stop-color='%23d4af37'/%3E%3Cstop offset='35%25' stop-color='%23b68b2d'/%3E%3Cstop offset='70%25' stop-color='%23555555'/%3E%3Cstop offset='100%25' stop-color='%23000000'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 10 Q100 5 200 10' stroke='url(%23g)' stroke-width='2' fill='none'/%3E%3C/svg%3E");
}

/*==================================================================================*/
/* SET FONT FAMILY */
/*==================================================================================*/

/* Headings / Special Elements */
h1, h2, h4, h5, h6,
.content h1,
.content h2,
.content h4,
.content h5,
.content h6,
.logo #logotext,
.gallery-header,
.locations_list,
.header .nav,
.header .nav a,
.toolbar #logotext {
  font-family: "IBM Plex Sans", sans-serif;
}

/*==================================================================================*/
/* THEME DESIGN TOKENS */
/*==================================================================================*/

:root {
  --h3-size: 14px;
  --h3-transform: uppercase;
  --h3-letter-spacing: 4px;
}

/*==================================================================================*/
/* LOGO */
/*==================================================================================*/

body {
  --header-logo-height-desktop: 120px;
  --header-logo-height: 60px;
}

html.snapped body {
  --header-logo-height-desktop: 95px;
  --header-logo-height: 60px;
}


/* =========================================================
   Header Custom
========================================================= */

.site-header .site-nav > .nav-list > .nav-item > a {
    padding: 0;
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 0;
    text-transform: uppercase;
}

.site-header .site-header__cta .tool-link--address {
    display: none !important;
}

.site-header__top::before {
    background: #2e2e2e;
}

@media (min-width: 949px) {
    .site-header.has-topbar .site-header__top {
        min-height: 30px;
        padding: 6px 20px !important;
    }
}


/* =========================================================
   Button Adjustments
========================================================= */

a.btn,
.btn,
.carousel a {
    border-radius: 0;
    font-weight: 300;
}

a.btn,
.btn,
.btn-cta {
    font-size: 15px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
}

.carousel a,
a.btn,
.btn,
.btn-default,
a.btn.btn-default,
input.btn-default,
.footer .primary-link:last-child > a {
    background: #58d4ff !important;
    border-color: #58d4ff !important;
    color: #252525 !important;
}


/* =========================================================
   One-Off Fixes
========================================================= */


/* Hide desktop appointment navigation item */

@media (min-width: 1024px) {
    .site-nav .nav-item:has(> a[href="/appointments/"]) {
        display: none;
    }
}


/* Centered desktop logo layout */

@media (min-width: 1282px) {
    .site-header__main.has-logo-center {
        display: grid;
        grid-template-columns:
            minmax(0, 1fr)
            auto
            minmax(0, 1fr);
    }

    .has-logo-center .site-nav {
        justify-self: start;
        min-width: 0;
    }

    .has-logo-center .site-header__brand {
        justify-self: center;
    }

    .has-logo-center .site-header__cta {
        justify-self: end;
    }
}


/* Navigation pill color */

.site-header.has-nav-pills {
    --nav-pill-bg: color-mix(
        in srgb,
        var(--color-brand-primary) 90%,
        white
    );
}


/* Carousel typography */

.carousel .item-content h2 {
    font-weight: 500;
}

.carousel .item-content h2 span {
    font-size: 95px !important;
}

@media (min-width: 949px) {
    .carousel .item-content h2 {
        font-size: 55px;
        font-weight: 400;
        line-height: 50px;
    }
}


/* Carousel content width */

.carousel .item-content-inner {
    max-width: var(--site-wide);
    margin: auto;
}


/* Home carousel height */

@media (min-width: 949px) {
    #page-home .carousel,
    #page-home .carousel-inner,
    #page-home .carousel .item-inner {
        height: 800px;
        min-height: 800px;
    }
}


/* Large carousel content spacing */

@media (min-width: 1281px) {
    .carousel-wrapper .pad-x-xl {
        padding-right: 375px !important;
        padding-left: 375px !important;
    }

    .carousel-wrapper .pad-r-xl {
        padding-right: 975px !important;
    }
}


/* Heading typography */

body :is(.content, .embed) h1,
body :is(.content, .embed) h2,
.sb-module .headline h2,
.footer h2,
.sb-module h2 {
    font-weight: 100;
}


/* Oversized decorative heading spans */

body :is(
    .content,
    .embed,
    .site-nav,
    .feature-cards1 > div > div
) h2 span {
    font-size: 120px !important;
    opacity: 0.2;
}


/* Script-style heading accents */

h2 > span {
    color: #cda76f !important;
    font-family: "Margo Script", cursive !important;
    line-height: 20px !important;
    opacity: 1 !important;
}



/* Card backgrounds */

.embed:has(.has-card)::before,
.content:has(.has-card)::before {
    background: color-mix(
        in srgb,
        var(--color-brand-soft) 5%,
        #0e0e0e
    );
    border: 1px solid var(--color-brand-primary);
}

/* Target the existing image generated by the locked component */
.carousel-wrapper:has(.has-parallax-hero) .carousel .item > img,
.carousel-wrapper:has(.has-parallax-hero) .carousel .carousel-item > img {
    object-fit: contain;
}