/* Oxford Gun Company Events page — content-only enhancement.
   Load after screen.css. Header, menus, footer and cookie UI are untouched. */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600&display=swap');

body#events #container-outer{--wine:#510b1b;--wine2:#741a31;--forest:#1f2922;--cream:#f3eee5;--rose:#f7ecef;--paper:#fbfaf7;--ink:#20231f;--muted:#626760;--line:rgba(32,35,31,.15);--serif:'Playfair Display',Georgia,serif;--sans:'DM Sans',Arial,sans-serif;width:100%!important;max-width:none!important;margin:0!important;background:linear-gradient(180deg,var(--cream),var(--paper) 700px)!important;color:var(--ink);font:400 16px/1.7 var(--sans);-webkit-font-smoothing:antialiased}
body#events #container-outer *,body#events #container-outer *:before,body#events #container-outer *:after{box-sizing:border-box}
body#events #container-outer img{max-width:100%;height:auto}
body#events #container-outer a{color:var(--wine2);text-underline-offset:4px}
body#events #container-outer h1,body#events #container-outer h2,body#events #container-outer h3{font-family:var(--serif);font-weight:500;line-height:1.12;letter-spacing:-.025em;color:var(--wine)}
body#events #container-outer #container{width:min(1080px,calc(100% - 2*clamp(20px,4vw,60px)))!important;max-width:1080px!important;margin:auto!important;padding:clamp(48px,7vw,84px) 0!important}
body#events #container-outer .contentfullwidth,body#events #container-outer .contentfullwidth>.subcontainer{float:none!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
body#events #container-outer .contentfullwidth>.subcontainer>h1{max-width:760px;margin:0 auto 42px!important;text-align:center!important;font-size:clamp(2.5rem,5vw,4.3rem)!important}
body#events #container-outer .contentfullwidth>.subcontainer>h1:before{content:'Bring people together';display:block;margin-bottom:18px;color:var(--wine2);font:700 11px/1 var(--sans);letter-spacing:.2em;text-transform:uppercase}
body#events #container-outer .contentfullwidth>.subcontainer>h1:before{content:none!important;display:none!important}

/* Activity chooser */
body#events #container-outer .contentfullwidth>.subcontainer{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
body#events #container-outer .contentfullwidth>.subcontainer>h1,body#events #container-outer .contentfullwidth>.subcontainer>.clearallclass,body#events #container-outer .contentfullwidth>.subcontainer>a[id],body#events #container-outer .contentfullwidth>.subcontainer>.subcontainerwithborder{grid-column:1/-1}
body#events #container-outer .contentfullwidth>.subcontainer>a.nounderline{display:block!important;text-decoration:none!important;color:#fff!important;overflow:hidden}
body#events #container-outer .eventstile{position:relative;float:none!important;width:100%!important;height:285px!important;margin:0!important;padding:0 22px 22px!important;display:flex!important;align-items:flex-end;background:var(--forest)!important;color:#fff!important;text-align:left!important;font:500 clamp(1.45rem,2.2vw,2rem)/1.08 var(--serif)!important;overflow:hidden;isolation:isolate}
body#events #container-outer .eventstile img{position:absolute;z-index:-2;inset:0;width:100%!important;height:100%!important;object-fit:cover;transition:transform .35s}
body#events #container-outer .eventstile:after{content:'';position:absolute;z-index:-1;inset:0;background:linear-gradient(0deg,rgba(17,20,17,.84),rgba(17,20,17,.03) 70%);transition:background .3s}
body#events #container-outer a:hover .eventstile img{transform:scale(1.035)}
body#events #container-outer a:hover .eventstile:after{background:linear-gradient(0deg,rgba(81,11,27,.9),rgba(17,20,17,.08) 75%)}
body#events #container-outer .eventstile br{display:none}
body#events #container-outer .contentfullwidth>.subcontainer>.eventstile:empty{display:none!important}

/* Detailed activity cards */
body#events #container-outer .contentfullwidth>.subcontainer>a[id]{display:block;height:0;scroll-margin-top:24px}
body#events #container-outer .eventsbox{display:grid!important;grid-template-columns:minmax(0,1fr) 300px;grid-template-rows:auto 1fr;column-gap:clamp(28px,5vw,58px);align-items:center;float:none!important;width:100%!important;max-width:none!important;min-height:270px;margin:12px 0!important;padding:clamp(28px,4vw,48px)!important;background:#fff!important;border:1px solid var(--line)!important;box-shadow:0 8px 28px rgba(32,35,31,.045);text-align:left!important}
body#events #container-outer .eventsbox:nth-of-type(even){background:var(--cream)!important;border-color:transparent!important}
body#events #container-outer .eventsbox>h2{grid-column:1;grid-row:1;margin:0 0 14px!important;font-size:clamp(1.8rem,3vw,2.6rem)!important;text-align:left!important}
body#events #container-outer .eventsbox>p{grid-column:1;grid-row:2;margin:0!important;color:var(--muted);font:400 15px/1.75 var(--sans)!important;text-align:left!important}
body#events #container-outer .eventsbox>.eventsindeximgright{grid-column:2;grid-row:1/3;float:none!important;width:300px!important;height:210px!important;margin:0!important;object-fit:cover}
body#events #container-outer .eventsbox>.eventsindeximgcentered{display:none!important}

/* Supporting information cards */
body#events #container-outer .contentfullwidth>.subcontainer>.subcontainerwithborder:not(.eventsbox){float:none!important;width:100%!important;max-width:none!important;margin:20px 0 0!important;padding:clamp(32px,5vw,58px)!important;background:#fff;border:1px solid var(--line)!important;text-align:left!important;box-shadow:0 8px 28px rgba(32,35,31,.04)}
body#events #container-outer .contentfullwidth>.subcontainer>.subcontainerwithborder:not(.eventsbox):nth-last-of-type(4){background:var(--forest)!important;border-color:var(--forest)!important;color:#fff!important}
body#events #container-outer .contentfullwidth>.subcontainer>.subcontainerwithborder:not(.eventsbox):nth-last-of-type(4)>h2{color:#fff!important}
body#events #container-outer .contentfullwidth>.subcontainer>.subcontainerwithborder:not(.eventsbox):nth-last-of-type(4)>p{color:rgba(255,255,255,.88)!important}
body#events #container-outer .contentfullwidth>.subcontainer>.subcontainerwithborder:not(.eventsbox):nth-last-of-type(4)>p strong{color:#fff!important}
body#events #container-outer .contentfullwidth>.subcontainer>.subcontainerwithborder:not(.eventsbox):nth-last-of-type(4) a{color:#fff!important}
body#events #container-outer .contentfullwidth>.subcontainer>.subcontainerwithborder:not(.eventsbox)>h2{margin:0 0 20px!important;text-align:left!important;font-size:clamp(1.8rem,3vw,2.6rem)!important}
body#events #container-outer .contentfullwidth>.subcontainer>.subcontainerwithborder:not(.eventsbox)>p{max-width:850px;margin:0 0 16px!important;color:var(--muted);font:400 15px/1.75 var(--sans)!important;text-align:left!important}
body#events #container-outer .contentfullwidth>.subcontainer>.subcontainerwithborder:not(.eventsbox)>p strong{color:var(--wine);font-weight:700}
body#events #container-outer .eventsphone{display:inline-block!important;margin:8px 0 20px!important;padding:16px 22px;background:var(--cream);border-left:4px solid var(--wine);color:var(--wine)!important;font-size:clamp(1.25rem,2vw,1.65rem)!important;line-height:1.35!important;letter-spacing:.02em}
body#events #container-outer .partnertileh2{font-size:clamp(1.65rem,2.8vw,2.4rem)!important}
body#events #container-outer .contentfullwidth>.subcontainer>.subcontainerwithborder:last-of-type img{display:block;margin:24px 0 0!important;width:300px;height:178px;object-fit:cover}

@media(max-width:820px){body#events #container-outer .contentfullwidth>.subcontainer{grid-template-columns:repeat(2,minmax(0,1fr))}body#events #container-outer .eventsbox{grid-template-columns:minmax(0,1fr) 240px}body#events #container-outer .eventsbox>.eventsindeximgright{width:240px!important;height:190px!important}}
@media(max-width:620px){body#events #container-outer #container{width:calc(100% - 30px)!important;padding:40px 0!important}body#events #container-outer .contentfullwidth>.subcontainer{grid-template-columns:1fr;gap:12px}body#events #container-outer .contentfullwidth>.subcontainer>h1{font-size:2.45rem!important;margin-bottom:28px!important}body#events #container-outer .eventstile{height:240px!important}body#events #container-outer .eventsbox{display:flex!important;flex-direction:column;align-items:stretch;min-height:0;padding:0 0 26px!important;overflow:hidden}body#events #container-outer .eventsbox>.eventsindeximgright{order:1;width:100%!important;height:220px!important}body#events #container-outer .eventsbox>h2{order:2;margin:24px 20px 12px!important;font-size:1.9rem!important}body#events #container-outer .eventsbox>p{order:3;margin:0 20px!important;font-size:14px!important}body#events #container-outer .contentfullwidth>.subcontainer>.subcontainerwithborder:not(.eventsbox){padding:28px 21px!important}body#events #container-outer .eventsphone{display:block!important}}
@media(prefers-reduced-motion:reduce){body#events #container-outer *,body#events #container-outer *:before,body#events #container-outer *:after{transition:none!important}}