/* YWCA NYC reusable patterns for WPBakery pages. Loaded on every page by inc/yw-styles.php.
   Moved from Customizer > Additional CSS on Nov 23, 2026, values unchanged. */

/* === Older site rules (Oct to Nov 2026), moved from Additional CSS Nov 23, values unchanged === */
/* Hide the theme's leftover Donate button and fundraising lines */
a.donate_now.buttons.fright {
    display: none !important;
}
p.sponsors {
    display: none !important;
}p.fund {
    display: none !important;
}

/* Full-width content on Default-template pages (empty sidebar removed) - added Nov 2026 */
body.page-template-default #secondary{display:none !important}
body.page-template-default .inner > #primary{float:left !important;width:calc(100% - 21.2px) !important;margin-left:10.6px !important;margin-right:10.6px !important;padding-right:0 !important}
body.page-template-default .entry-content .wpb_text_column p:not([style*="center"]){max-width:860px}


/* Clickable cards (Nov 23): add the class yw-card-clickable to a card's column in WPBakery and the whole card
   opens the link at the bottom of the card. No other setup needed. */
.yw-card-clickable > .vc_column-inner > .wpb_wrapper{position:relative}
.yw-card-clickable .yw-card-link a::after{content:"";position:absolute;inset:0;z-index:3;border-radius:8px}
.yw-card-clickable:hover .yw-card-link a,.yw-card-clickable .yw-card-link a:hover{text-decoration:underline;color:#C8380E !important}
.yw-card-clickable .yw-card-link a:focus-visible{outline:none}
.yw-card-clickable > .vc_column-inner > .wpb_wrapper{transition:box-shadow .25s ease,border-color .25s ease}
/* Soft persimmon glow on hover; keyboard users get the same glow (no hard outline) */
.yw-card-clickable:hover > .vc_column-inner > .wpb_wrapper,
.yw-card-clickable:focus-within > .vc_column-inner > .wpb_wrapper{border-color:rgba(250,70,22,.45) !important;box-shadow:0 6px 18px rgba(250,70,22,.10)}
/* Section headers (Nov 23): a WPBakery row with class "yw-section-head" plus "yw-head-white" or "yw-head-warm"
   (match the band below). Its text block holds an eyebrow, an optional H2 and an optional link on the right. */
.yw-section-head{padding-top:64px !important;padding-bottom:0 !important;margin-bottom:0 !important}
.yw-section-head.yw-head-white{background:#FFFFFF}
.yw-section-head.yw-head-warm{background:#F5F4F2}
.yw-section-head > .wpb_column > .vc_column-inner{padding:0 15px !important}
.yw-section-head .wpb_text_column{margin:0 !important}
.yw-section-head .wpb_text_column > .wpb_wrapper{display:flex;align-items:flex-end;justify-content:space-between;gap:12px 32px;flex-wrap:wrap}
.yw-section-head p,.yw-section-head h2{margin:0}
.yw-section-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-section-h2{font-family:"Avenir Next Condensed","Avenir Next LT Pro","Avenir Next",sans-serif !important;font-weight:800 !important;font-size:32px !important;line-height:36px !important;letter-spacing:.02em;color:#000 !important;text-transform:none !important;margin-top:10px !important}
.yw-section-link{font-family:"Source Sans Pro","Source Sans 3",sans-serif;font-size:16px;line-height:20px;font-weight:700}
.yw-section-link a{color:#C8380E !important;text-decoration:none}
.yw-section-link a:hover,.yw-section-link a:focus{text-decoration:underline;color:#C8380E !important}
/* the band right after a header starts closer to it */
.yw-section-head + .vc_row-full-width + .vc_row.vc_row{padding-top:28px !important}
/* the old CSS-made stats eyebrow is replaced by the real header */
.yw-stats.vc_row::before{display:none !important}
@media (max-width:959px){
  .yw-section-head.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;padding-top:48px !important}
  .yw-section-head > .wpb_column > .vc_column-inner{padding:0 !important}
  .yw-section-h2{font-size:28px !important;line-height:32px !important}
}

/* Grid dates in Source Sans Pro (Roboto no longer loaded; see inc/yw-tweaks.php) */
.vc_gitem-post-data-source-post_date,.vc_gitem-post-data-source-post_date *{font-family:"Source Sans Pro","Source Sans 3",sans-serif !important}
