/* WESO Phase C4 — mobile-first layout correction */
html,body{width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;overflow-x:hidden!important}
body>*{max-width:100%!important}
.navbar,.hero,main,section,.section,.footer,.hero-about,.testimonials-section,.recent-events-section{width:100%!important;max-width:none!important;box-sizing:border-box!important}
.container,.nav-container,.events-carousel,.testimonials-container{box-sizing:border-box!important}
img,video,iframe,svg{max-width:100%!important}

/* Events: compact, unambiguous cards */
.events-container{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:1.15rem!important;align-items:stretch!important}
.event-card{min-width:0!important;height:auto!important;overflow:hidden!important;border-top:0!important;border:1px solid #e3e8ef!important;border-radius:14px!important;box-shadow:0 6px 20px rgba(16,24,40,.07)!important;background:#fff!important}
.event-image{min-height:0!important;height:180px!important;padding:0!important;background:#eef3f8!important;overflow:hidden!important}
.event-image img{width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;display:block!important}
.event-image-fallback{font-size:0!important;width:100%!important;height:100%!important;display:flex!important;align-items:center!important;justify-content:center!important;background:linear-gradient(135deg,#eef4fa,#f8fafc)!important;color:#123f6d!important}
.event-image-fallback::before{content:"\f073";font-family:"Font Awesome 6 Free";font-weight:900;font-size:1.6rem}
.event-content{padding:1.1rem!important;display:flex!important;flex-direction:column!important;gap:.55rem!important}
.event-status{font-size:.72rem!important;padding:.28rem .65rem!important;margin:0 0 .15rem!important}
.event-title{font-size:1.08rem!important;line-height:1.32!important;margin:0!important}
.event-description{font-size:.9rem!important;line-height:1.5!important;margin:0!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important;flex-grow:0!important}
.event-meta{margin-top:.25rem!important;padding-top:.7rem!important;display:grid!important;gap:.42rem!important;border-top:1px solid #edf0f4!important}
.event-date,.event-time,.event-venue{margin:0!important;gap:.55rem!important;font-size:.86rem!important;line-height:1.4!important;color:#475467!important}
.event-date i,.event-time i,.event-venue i{width:16px!important;min-width:16px!important;font-size:.82rem!important;color:#123f6d!important}
/* A calendar page/emoji can imply a false date. Date is represented with a neutral clock. */
.event-date i::before{content:"\f017"!important}

@media(max-width:900px){
 .events-container{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:640px){
 html,body{width:100%!important;max-width:100%!important}
 .navbar,.hero,main,section,.section,.footer{width:100%!important;max-width:100%!important}
 .container,.nav-container{width:calc(100% - 24px)!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important}
 .nav-container{padding-left:0!important;padding-right:0!important}
 .nav-logo{min-width:0!important;max-width:calc(100% - 54px)!important}
 .nav-logo h2{font-size:.92rem!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:240px!important}
 .hamburger{flex:0 0 42px!important}
 .hero{width:100%!important;min-height:560px!important;height:auto!important;padding:3.5rem 1.25rem!important}
 .hero-content{width:100%!important;max-width:520px!important;margin:0 auto!important;padding:0!important}
 .hero-logo{width:86px!important;height:86px!important;margin-bottom:1.15rem!important}
 .hero h1{font-size:clamp(2rem,9vw,2.65rem)!important;line-height:1.08!important;letter-spacing:-.025em!important;margin-bottom:.85rem!important;text-wrap:balance}
 .hero p{font-size:1rem!important;line-height:1.5!important;margin-bottom:1.5rem!important}
 .events-carousel{width:100%!important;max-width:none!important;padding:0 14px!important}
 .events-container{grid-template-columns:1fr!important;gap:.9rem!important}
 .event-card{display:grid!important;grid-template-columns:104px minmax(0,1fr)!important;min-height:0!important}
 .event-image{width:104px!important;height:100%!important;min-height:148px!important;border-radius:0!important}
 .event-content{padding:.9rem!important;gap:.38rem!important}
 .event-status{font-size:.67rem!important;padding:.22rem .52rem!important}
 .event-title{font-size:1rem!important}
 .event-description{-webkit-line-clamp:2!important;font-size:.84rem!important}
 .event-meta{padding-top:.55rem!important;gap:.3rem!important}
 .event-date,.event-time,.event-venue{font-size:.79rem!important}
 .recent-events-title{font-size:1.75rem!important;line-height:1.18!important;padding:0 1rem!important}
 .recent-events-subtitle{font-size:.95rem!important;line-height:1.55!important;margin-bottom:1.5rem!important;padding:0 1rem!important}
 .view-all-events{margin-top:1.5rem!important}
 .view-all-btn{padding:.72rem 1.2rem!important;border-radius:9px!important}
}
@media(max-width:380px){
 .event-card{grid-template-columns:88px minmax(0,1fr)!important}
 .event-image{width:88px!important;min-height:142px!important}
 .event-content{padding:.78rem!important}
 .nav-logo h2{max-width:205px!important;font-size:.84rem!important}
}
.highlight-card-fallback,.event-poster-fallback{font-size:0!important;display:flex!important;align-items:center!important;justify-content:center!important;color:#123f6d!important;background:linear-gradient(135deg,#eef4fa,#f8fafc)!important}
.highlight-card-fallback::before,.event-poster-fallback::before{content:"\f073";font-family:"Font Awesome 6 Free";font-weight:900;font-size:1.6rem}
