/* Theme additions on top of the ported live CSS (WordPress-specific fixes only). */
html{-webkit-text-size-adjust:100%}
img{max-width:none}
.story-img img{aspect-ratio:586/577;object-fit:cover;height:auto}
.story-thum-img ul li img{aspect-ratio:267/195;object-fit:cover;height:auto}
.event-img img{aspect-ratio:385/205;object-fit:cover;height:auto}
.link-row img{width:159px;height:76px;object-fit:contain}
.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}
.mo-socal-icon a,.mo-socal-icon svg{display:block}
.mo-socal-icon svg{width:31px;height:31px}
.footer-cont ul li a{display:inline-block;line-height:0}
.sign img{width:200px;height:81px;object-fit:contain;object-position:left}
.lity-lite{position:fixed;inset:0;z-index:99999;background:rgba(0,0,0,.9);display:flex;align-items:center;justify-content:center}
.lity-lite-box{width:90%;max-width:1080px;aspect-ratio:16/9}
.lity-lite-box iframe{width:100%;height:100%;border:0}
.lity-lite-close{position:absolute;top:10px;right:20px;background:none;border:0;color:#fff;font-size:44px;line-height:1;cursor:pointer}
.form-notice{float:left;width:100%;margin-bottom:20px;font-family:'Barlow',sans-serif;font-size:1.6em;line-height:1.5}
.form-notice--ok{color:#272AA0}.form-notice--error{color:#D0021B}
.vali:empty{display:none}
.our-story-sld img{aspect-ratio:267/195;object-fit:cover;height:auto}
.text-block img{height:auto}
body.post-type-archive-fundraiser .event-cont .text-block>p>a{font-family:Futura,Arial,sans-serif;font-size:16px;font-weight:300;border-bottom:1px solid #272AA0;padding:0}
/* Standing rule: no nested scroll containers. overflow-x:hidden turns an element into one (y becomes auto), so use clip. */
section.banner,.banner-abs-img,section.hm-mission,.timeline,section.event-cont,.contact-page-sec,.event-sld .slider{overflow-x:clip;overflow-y:visible}
@supports not (overflow:clip){section.banner,.banner-abs-img,section.hm-mission,.timeline,section.event-cont,.contact-page-sec{overflow-x:hidden}}
/* Live quirks carried over so spacing matches 1:1 (old CMS left an empty trailing heading / paragraph / span). */
@media only screen and (max-width:568px){
.page-template-page-my-story-php .my-story-inner #vist_event_txt .text-block:last-child{padding-bottom:40px}
body.post-type-archive-fundraiser .event-cont #vist_event_txt .text-block:last-child>p{padding-bottom:28px}
}
/* Owl 2.3 renders dots as buttons (inline-block, adds a line box); live's older Owl used divs. */
.owl-dots .owl-dot{display:block;padding:0;margin:0;border:0;background:none;font:inherit;line-height:0}
.sponsor-inn ul li a{display:block;line-height:0}

/* Logo image (Nathan Charles Foundation) */
.logo img.nc-logo-img{display:block;width:310px;height:auto;max-width:100%}
.foot-logo img.nc-logo-img{display:inline-block;width:320px;height:auto;max-width:100%}
@media (max-width:568px){.logo img.nc-logo-img{width:230px}.foot-logo img.nc-logo-img{width:260px}}

/* Fundraisers intro: opening line is normal body text (was 54px inherited by the span) */
body.post-type-archive-fundraiser .event-cont #vist_event_txt .text-block>p>span{font-size:16px;font-weight:300;line-height:2}
/* Fundraisers intro: single paragraph block uses the full column width (no donation link beside it) */
@media (min-width:569px){body.post-type-archive-fundraiser .event-cont #vist_event_txt .text-block:only-child{width:100%}body.post-type-archive-fundraiser .event-cont #vist_event_txt .text-block:only-child>p{width:100%;padding-right:0}}
