/* YWCA NYC home page bands (hero, stats, photo cards, photo band). Loaded on the front page only by inc/yw-styles.php.
   Moved from Customizer > Additional CSS on Nov 23, 2026, values unchanged. Before-copy: reference/additional-css-before-job5.css */

/* === Older home page rules (Oct 2026), moved from Additional CSS Nov 23, values unchanged === */
/* Homepage: show parallax hero photo without the page-title box (added Oct 2026) */
.home .teaser-page .page-title {
    display: none !important;
}
.home .teaser-page {
    background-size: cover !important;
    background-position: center 90px !important;
}
/* Homepage: hide the old one-slide photo slider so the photo doesn't appear twice */
.home .vc_custom_1645288348569 {
    display: none !important;
}

/* Homepage hero on phones and tablets: no parallax, frame the photo normally */
@media (max-width: 768px) {
    .home .teaser-page {
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center 35% !important;
        min-height: 260px;
        height: 260px;
    }
}


/* === Homepage hero (2026) === */
body.home .teaser-page-list{display:none}
.inner:has(> * .yw-hero),.inner:has(.yw-hero){padding-top:0 !important}
.yw-hero{background:#FFFAF4;margin-bottom:0 !important}
.yw-hero > .vc_column_container{padding:0}
.yw-hero .yw-hero-copy > .vc_column-inner{padding:64px 48px 64px calc(max(4vw, (100vw - 1184px) / 2) + 10.6px) !important}
.yw-hero .yw-hero-text{margin-bottom:28px !important}
.yw-hero .yw-hero-text p,.yw-hero .yw-hero-text h1{margin:0}
.yw-hero-eyebrow{font-family:"Source Sans Pro","Source Sans 3",sans-serif;font-size:13px;line-height:16px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#FA4616 !important;margin-bottom:20px !important}
.yw-hero .yw-hero-title{font-family:"Avenir Next Condensed","Avenir Next LT Pro","Avenir Next",Avenir,"Nunito Sans",system-ui,sans-serif;font-weight:800;font-size:52px;line-height:56px;letter-spacing:1px;color:#000;text-transform:none;margin-bottom:20px !important}
.yw-hero-lead{font-family:"Source Sans Pro","Source Sans 3",sans-serif;font-size:20px;line-height:1.5;color:#595959;max-width:500px}
.yw-hero .vc_btn3-container.yw-hero-btn{display:inline-block;margin:0 12px 12px 0 !important}
.yw-hero .yw-hero-btn .vc_btn3{font-family:"Source Sans Pro","Source Sans 3",sans-serif !important;font-size:16px !important;line-height:20px !important;font-weight:700 !important;letter-spacing:.06em;text-transform:uppercase;padding:14px 28px !important;border-radius:8px !important;border:2px solid transparent !important;min-height:48px;box-shadow:none !important;background-image:none !important}
.yw-hero .yw-hero-btn-primary .vc_btn3{background:#FA4616 !important;color:#fff !important}
.yw-hero .yw-hero-btn-primary .vc_btn3:hover,.yw-hero .yw-hero-btn-primary .vc_btn3:focus{background:#C8380E !important;color:#fff !important}
.yw-hero .yw-hero-btn-outline .vc_btn3{background:transparent !important;color:#000 !important;border-color:#000 !important}
.yw-hero .yw-hero-btn-outline .vc_btn3:hover,.yw-hero .yw-hero-btn-outline .vc_btn3:focus{background:#000 !important;color:#fff !important}
.yw-hero .yw-hero-btn .vc_btn3:focus-visible{outline:3px solid #C8380E;outline-offset:2px}
.yw-hero .yw-hero-photo{position:relative;min-height:600px}
.yw-hero .yw-hero-photo > .vc_column-inner{position:absolute;inset:0;padding:0 !important}
.yw-hero .yw-hero-photo .wpb_wrapper,.yw-hero .yw-hero-img,.yw-hero .yw-hero-img figure,.yw-hero .yw-hero-img .vc_single_image-wrapper{height:100%;width:100%;margin:0 !important;display:block}
.yw-hero .yw-hero-img img{width:100% !important;height:100% !important;max-width:none;object-fit:cover;object-position:50% 45%;display:block}
.yw-stats{background:#FFFFFF;padding:64px 0;margin-bottom:0 !important}
.yw-stats.vc_row{display:flex;flex-wrap:wrap}
.yw-stats .yw-stat > .vc_column-inner{padding:0 15px !important;height:100%}
.yw-stats .yw-stat .wpb_wrapper{height:100%}
.yw-stats .yw-stat .wpb_text_column{background:#fff;border:1px solid #F3DCD2;border-radius:8px;padding:28px;margin:0 !important;height:100%;box-sizing:border-box}
.yw-stats .yw-stat p{margin:0}
.yw-stat-num{font-family:"Avenir Next Condensed","Avenir Next LT Pro","Avenir Next",Avenir,"Nunito Sans",system-ui,sans-serif;font-weight:800;font-size:48px;line-height:52px;color:#FA4616;margin-bottom:8px !important}
.yw-stat-label{font-family:"Source Sans Pro","Source Sans 3",sans-serif;font-size:17px;line-height:1.5;color:#000}
@media (max-width:959px){
.yw-hero .yw-hero-copy,.yw-hero .yw-hero-photo{width:100% !important}
.yw-hero .yw-hero-photo{min-height:0}
.yw-hero .yw-hero-photo > .vc_column-inner{position:static}
.yw-hero .yw-hero-img img{height:auto !important;aspect-ratio:3/2}
.yw-hero .yw-hero-copy > .vc_column-inner{padding:40px calc(4vw + 10.6px) 40px !important}
.yw-hero .yw-hero-copy{order:2}
.yw-hero{display:flex;flex-direction:column}
.yw-hero .yw-hero-photo{order:1}
}
@media (max-width:760px){
.yw-hero .yw-hero-title{font-size:40px;line-height:44px}
.yw-stats .yw-stat{width:100% !important;margin-bottom:16px}
}
/* Contained hero: cream band full width, content on the 1184px grid */
.yw-hero.vc_row{padding:0 calc(max(4vw, (100vw - 1184px) / 2) + 10.6px) 56px !important;box-sizing:border-box}
.yw-hero .yw-hero-copy > .vc_column-inner{padding:56px 56px 0 0 !important}
.yw-hero .yw-hero-photo{min-height:560px;border-radius:0 0 8px 8px;overflow:hidden}
@media (max-width:959px){
.yw-hero.vc_row{padding:0 calc(4vw + 10.6px) 8px !important}
.yw-hero .yw-hero-copy > .vc_column-inner{padding:32px 0 32px !important}
.yw-hero .yw-hero-photo{min-height:0}
}
/* Refinement 1: headline accent, tighter top */
.yw-hero .yw-hero-title{font-size:40px;line-height:46px}
.yw-hero .yw-hero-accent{color:#FA4616;white-space:nowrap}
.yw-hero-eyebrow::before{content:"";display:block;width:56px;height:3px;background:#FA4616;border-radius:1.5px;margin-bottom:17px}
.yw-hero .yw-hero-copy > .vc_column-inner{padding:32px 56px 0 0 !important}
.yw-hero .yw-hero-photo{min-height:480px}
@media (max-width:760px){.yw-hero .yw-hero-title{font-size:32px;line-height:38px}}
/* Stats option 1: open numbers, no boxes */
.yw-stats{padding-top:64px !important;padding-bottom:72px !important}
.yw-stats.vc_row::before{content:"YWCA NYC by the numbers";display:block;flex:0 0 100%;box-sizing:border-box;padding:0 15px;margin:0 0 28px;font-family:"Source Sans Pro","Source Sans 3",sans-serif;font-size:13px;line-height:16px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#FA4616}
.yw-stats .yw-stat .wpb_text_column{background:transparent;border:0;border-radius:0;padding:0 40px;border-left:2px solid #F3DCD2}
.yw-stats .yw-stat:first-of-type .wpb_text_column{padding-left:0;border-left:0}
.yw-stats .yw-stat-num{font-size:72px;line-height:72px;letter-spacing:.02em;margin-bottom:3px !important}
.yw-stats .yw-stat-label{font-size:19px;line-height:1.5;max-width:300px}
@media (max-width:760px){
.yw-stats .yw-stat .wpb_text_column{padding:20px 0 0;border-left:0;border-top:2px solid #F3DCD2}
.yw-stats .yw-stat:first-of-type .wpb_text_column{padding-top:0;border-top:0}
.yw-stats .yw-stat-num{font-size:56px;line-height:60px}
}
/* Photo cards (replace the gray icons) */
.yw-cards{background:#F5F4F2;padding-top:64px !important;padding-bottom:72px !important;margin-bottom:0 !important}
.yw-cards.vc_row{display:flex;flex-wrap:wrap}
.yw-cards .yw-card > .vc_column-inner{padding:0 15px !important;height:100%}
.yw-cards .yw-card > .vc_column-inner > .wpb_wrapper{background:#fff;border:1px solid #E6E3DF;border-radius:8px;overflow:hidden;height:100%;display:flex;flex-direction:column}
.yw-cards .yw-card-img,.yw-cards .yw-card-img figure,.yw-cards .yw-card-img .vc_single_image-wrapper{display:block;width:100%;margin:0 !important}
.yw-cards .yw-card-img img{width:100% !important;max-width:none;height:auto;aspect-ratio:3/2;object-fit:cover;object-position:50% 35%;display:block}
.yw-cards .yw-card-text{margin:0 !important;padding:24px 28px 28px;flex:1}
.yw-cards .yw-card-text > .wpb_wrapper{display:flex;flex-direction:column;gap:10px;height:100%}
.yw-cards .yw-card-text p,.yw-cards .yw-card-text h3{margin:0}
.yw-card-eyebrow{font-family:"Source Sans Pro","Source Sans 3",sans-serif;font-size:13px;line-height:16px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#FA4616}
.yw-cards .yw-card-title{font-family:"Avenir Next Condensed","Avenir Next LT Pro","Avenir Next",Avenir,"Nunito Sans",system-ui,sans-serif;font-weight:800;font-size:28px;line-height:32px;letter-spacing:.025em;color:#000;text-transform:none}
.yw-card-line{font-family:"Source Sans Pro","Source Sans 3",sans-serif;font-size:17px;line-height:1.5;color:#595959}
.yw-card-link{margin-top:auto !important;padding-top:8px}
.yw-card-link a{font-family:"Source Sans Pro","Source Sans 3",sans-serif;font-weight:700;font-size:16px;color:#C8380E;text-decoration:none}
.yw-card-link a:hover,.yw-card-link a:focus{color:#000;text-decoration:underline}
@media (max-width:760px){
.yw-cards .yw-card{width:100% !important;margin-bottom:20px}
.yw-cards .yw-card > .vc_column-inner{padding:0 15px !important}
}
/* Mobile fixes (Nov 22): full-bleed bands without relying on WPBakery's stretch script, content on the page edge */
@media (max-width:959px){
.yw-hero.vc_row,.yw-stats.vc_row,.yw-cards.vc_row{left:auto !important;width:auto !important;max-width:none !important;margin-left:calc(50% - 50vw) !important;margin-right:calc(50% - 50vw) !important;padding-left:calc(50vw - 50%) !important;padding-right:calc(50vw - 50%) !important;box-sizing:border-box}
.yw-hero.vc_row{padding-top:0 !important;padding-bottom:40px !important}
.yw-hero .yw-hero-photo{min-height:0 !important}
.yw-hero .yw-hero-photo > .vc_column-inner{position:static !important;padding:0 !important}
.yw-hero .yw-hero-copy > .vc_column-inner{padding:28px 0 0 !important}
.yw-hero .yw-hero-copy,.yw-hero .yw-hero-photo,.yw-stats .yw-stat,.yw-cards .yw-card{padding:0 !important}
.yw-stats .yw-stat > .vc_column-inner,.yw-cards .yw-card > .vc_column-inner{padding:0 !important}
.yw-stats.vc_row::before{padding:0 !important}
.yw-cards .yw-card{width:100% !important;margin-bottom:20px}
.yw-cards .yw-card:last-of-type{margin-bottom:0}
}
/* Full-width photo band (replaced the dark overlay section) */
.yw-photo-band{margin:0 !important;padding:0 !important}
.yw-photo-band .vc_column-inner{padding:0 !important}
.yw-photo-band .wpb_wrapper,.yw-band-img,.yw-band-img figure,.yw-band-img .vc_single_image-wrapper{display:block;width:100%;margin:0 !important}
.yw-photo-band .yw-band-img img{width:100% !important;max-width:none !important;height:520px !important;object-fit:cover;object-position:50% 42%;display:block}
@media (max-width:959px){.yw-photo-band .yw-band-img img{height:auto !important;aspect-ratio:16/10}}
/* Photo band side vignette: darkens only the area outside the 1184px content width */
.yw-photo-band .yw-band-img .vc_single_image-wrapper{position:relative}
.yw-photo-band .yw-band-img .vc_single_image-wrapper::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(0,0,0,.40) 0,rgba(0,0,0,0) max(0px, calc((100% - 1184px) / 2 + 48px))),linear-gradient(270deg,rgba(0,0,0,.40) 0,rgba(0,0,0,0) max(0px, calc((100% - 1184px) / 2 + 48px)))}
@media (max-width:1279px){.yw-photo-band .yw-band-img .vc_single_image-wrapper::after{display:none}}
/* Photo band fills the gap above the signup band (desktop, Nov 23). Taller photo; the old 81px gap is now removed at the source (see "No gap above the signup band" below). */
@media (min-width:960px){
  .yw-photo-band.vc_row{position:relative;z-index:2}
  .yw-photo-band .yw-band-img img{height:601px !important}
  /* Nudge the girls left: zoom 6% anchored on the right edge (girls move about 3% of the width left) */
  .yw-photo-band .yw-band-img .vc_single_image-wrapper{overflow:hidden}
  .yw-photo-band .yw-band-img img{transform:scale(1.06);transform-origin:100% 42%}
}
/* Hero copy sits higher on desktop (Nov 23): top-aligned instead of centered, 12px higher than the original centered position */
@media (min-width:960px){
  .yw-hero .yw-hero-copy > .vc_column-inner{justify-content:flex-start !important;padding-top:54px !important}
}
/* Photo card vignette (Nov 23): soft black oval darkening toward the corners */
.yw-card-img .vc_single_image-wrapper{position:relative;display:block;line-height:0}
.yw-card-img .vc_single_image-wrapper::after{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;
  background:radial-gradient(ellipse at 50% 45%,rgba(0,0,0,0) 48%,rgba(0,0,0,.22) 75%,rgba(0,0,0,.5) 100%)}
/* Stat labels in body gray (#595959), same as the hero lead and card text (Nov 23) */
.yw-stats .yw-stat-label{color:#595959 !important}
/* Four stats (Nov 23): one row from 1280px up; two by two from 761 to 1279px so the big numbers fit */
@media (min-width:761px) and (max-width:1279px){
  .yw-stats .yw-stat.vc_column_container{width:50% !important}
  .yw-stats .yw-stat:nth-of-type(odd) .wpb_text_column{border-left:0 !important;padding-left:0 !important}
  .yw-stats .yw-stat:nth-of-type(n+3){margin-top:40px}
}
/* === end Homepage hero === */

/* === Header and body proportions, option C (Nov 23) === home page part (header part is in ywm-header.css) */
@media (min-width:960px){
  .yw-hero .yw-hero-lead{font-size:18px !important;line-height:1.5 !important}
  .yw-stats .yw-stat-label{font-size:17px !important;line-height:1.5 !important}
  .yw-stats .yw-stat-num{font-size:48px !important;line-height:1 !important;letter-spacing:1px !important}
}
/* Stat numbers one step above the hero headline (Nov 23): 48px desktop, 38px below 960px */
@media (max-width:959px){
  .yw-stats .yw-stat-num{font-size:38px !important;line-height:1 !important;letter-spacing:1px !important}
}

/* Hero photo full width on phones and tablets (Nov 23, Michael): edge to edge, square corners, below 960px */
@media (max-width:959px){
  .yw-hero .yw-hero-photo.vc_column_container{margin-left:calc(50% - 50vw) !important;margin-right:calc(50% - 50vw) !important;width:auto !important;max-width:none !important;float:none !important;border-radius:0 !important}
  .yw-hero .yw-hero-photo img{border-radius:0 !important}
}

/* Phone text inset (Nov 23, Michael): below 960px the hero text, section headers and stats start and stop
   where the text inside the photo cards does. Card text padding drops to 20px on phones, so the inset is
   20px + 1px card border = 21px in from the content edge. Cards, photos and the signup band keep the content edge. */
@media (max-width:959px){
  .yw-hero .yw-hero-copy > .vc_column-inner,
  .yw-section-head > .wpb_column > .vc_column-inner,
  .yw-stats .yw-stat > .vc_column-inner{padding-left:21px !important;padding-right:21px !important}
  .yw-cards .yw-card-text{padding-left:20px !important;padding-right:20px !important}
  /* headline reflows instead of breaking after "for"; "New York's" and "next generation." never split */
  .yw-hero .yw-hero-title br{display:none}
  .yw-hero .yw-hero-accent,.yw-hero .yw-nowrap{white-space:nowrap}
}
@media (max-width:400px){
  .yw-hero .yw-hero-title{font-size:30px !important;line-height:36px !important}
}

/* No gap above the signup band (Nov 23, Michael): the theme's 45px bottom padding is removed on the home page,
   and the empty leftover WPBakery rows after the photo band were deleted from the page content. Photo band meets the signup band at every width. */
/* Scoped to pages that have the photo band, so the old live home page keeps its padding until it is rebuilt. */
#main .inner:has(.yw-photo-band){padding-bottom:0 !important}
