/*
Theme Name: G360 Community
Theme URI: https://g360.lk/
Author: G360
Description: A responsive sports and community theme inspired by the supplied G360 homepage, with editable event details and imagery.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: g360
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
:root{--red:#ff002b;--orange:#ff590c;--ink:#111217;--muted:#53545a;--line:#e6e6e9;--purple:#460d38}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);line-height:1.45;background:#fff}img{max-width:100%;height:auto}a{color:inherit;text-decoration:none}button{font:inherit}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.08;letter-spacing:-1px}h2{font-size:clamp(26px,3.1vw,38px)}h3{font-size:24px}p{color:var(--muted)}.wrap{width:min(1180px,89%);margin-inline:auto}.site-header{background:#fff;position:relative;z-index:20}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:72px}.brand img{width:100px;max-height:52px;object-fit:contain;display:block}.nav-list{display:flex;align-items:center;gap:30px;list-style:none;padding:0;margin:0;font-size:14px}.nav-list a{display:block;padding:24px 0;position:relative}.nav-list a:hover,.nav-list .current-menu-item>a{color:var(--red)}.nav-list a:hover:after,.nav-list .current-menu-item>a:after{content:'';height:2px;background:var(--red);position:absolute;bottom:15px;left:0;right:0}.button{display:inline-flex;gap:15px;align-items:center;justify-content:center;padding:14px 25px;background:var(--red);color:#fff;border:2px solid var(--red);border-radius:6px;font-size:14px;font-weight:700;line-height:1.2;transition:background .2s,transform .2s}.button:hover{background:#d90026;border-color:#d90026;transform:translateY(-1px)}.button span,.text-link span{font-size:20px;line-height:1}.header-register{padding:12px 20px;white-space:nowrap}.menu-toggle{display:none}.hero{position:relative;min-height:490px;background:#252a22;overflow:hidden;color:#fff}.photo{background-repeat:no-repeat;background-color:#ddd;min-height:0}.hero-photo{position:absolute;inset:0 0 0 31%}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#191d18 0%,rgba(25,29,24,.98) 27%,rgba(25,29,24,.58) 49%,transparent 80%)}.hero-content{position:relative;padding-top:54px;padding-bottom:85px}.eyebrow{font-size:12px;font-weight:800;letter-spacing:4px;color:var(--red);margin-bottom:9px}.eyebrow.light{color:#fff;letter-spacing:5px;margin-bottom:20px}.hero h1{font-size:clamp(36px,4.7vw,62px);line-height:.99;max-width:650px;letter-spacing:-2px;font-weight:900}.hero h1 span{color:var(--orange)}.hero-description{color:#fff;font-size:18px;max-width:380px;margin-top:18px;line-height:1.4}.actions{display:flex;gap:18px;margin-top:22px}.ghost{background:transparent;border-color:#fff}.ghost:hover{background:#ffffff20;border-color:#fff}.hero-wave{position:absolute;bottom:-27px;left:-5%;width:110%;height:50px;border-top:10px solid var(--red);border-radius:50%;background:#fff;transform:rotate(1deg)}.event-strip{position:relative;margin:-35px auto 0;z-index:2;width:89%;display:flex;align-items:center;gap:28px;background:#fff;padding:16px 26px;border:1px solid #eee;border-radius:8px;box-shadow:0 9px 24px #00000012}.event-date{text-align:center;min-width:100px;border-right:2px solid var(--line);padding-right:26px;color:var(--red);line-height:1.05}.event-date strong{display:block;font-size:40px}.event-date span{font-size:12px;font-weight:bold;letter-spacing:1px}.strip-details{flex:1}.strip-details h2{font-size:23px;letter-spacing:-.5px}.strip-details p{font-size:12px;margin-top:8px}.red{color:var(--red);font-size:22px;vertical-align:middle}.up-next{padding:30px 0 20px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:20px}.section-heading p:not(.eyebrow){margin-top:7px;font-size:15px}.outline{color:var(--red);background:#fff;white-space:nowrap;padding:12px 20px}.outline:hover{color:#fff}.featured-event{display:grid;grid-template-columns:3fr 2fr;background:#f4f4f5;border-radius:12px;overflow:hidden}.featured-event>.photo{min-height:325px}.event-info{padding:25px 30px}.badge{display:inline-block;background:var(--red);color:#fff;padding:5px 9px;font-size:10px;border-radius:4px;font-weight:bold}.event-info h3{margin:9px 0 14px;font-size:28px}.event-meta{list-style:none;padding:0;margin:0;display:grid;gap:7px}.event-meta li{display:flex;gap:12px;font-size:22px;line-height:1.2}.event-meta li span{font-size:14px;align-self:center}.event-description{border-top:1px solid #d6d6d9;margin:18px 0;padding-top:16px;font-size:13px;color:var(--ink)}.categories{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:20px}.category{text-align:center;border:1px solid var(--line);border-radius:10px;padding:16px 10px;background:linear-gradient(#fff,#fafafa);box-shadow:0 1px 3px #00000008}.sport-icon{height:58px;display:flex;align-items:center;justify-content:center;gap:2px;color:var(--red)}.sport-icon svg{height:52px;width:52px}.category h3{font-size:20px;letter-spacing:-.6px}.category p{font-size:14px;margin:5px 0 12px}.category .button{padding:9px 25px;min-width:140px;font-size:13px}.story{background:#f6f3f2;margin-top:0;padding:25px 0}.story-grid{display:grid;grid-template-columns:1.8fr 1fr;gap:45px;align-items:center}.story-collage{display:grid;grid-template-columns:1.7fr 1fr;grid-template-rows:1fr 1fr;gap:10px;height:320px}.story-collage .photo{border-radius:12px}.story-main{grid-row:span 2}.story-copy h2{margin-bottom:10px}.story-copy>p:not(.eyebrow){font-size:15px}.values{list-style:none;padding:0;margin:18px 0;display:grid;gap:8px;font-size:15px;font-weight:bold}.values li{display:flex;align-items:center;gap:18px}.values li span{font-size:32px;line-height:1;color:var(--red);width:30px;text-align:center}.text-link{color:var(--red);display:inline-flex;align-items:center;gap:10px;font-size:14px;font-weight:bold}.text-link:hover{text-decoration:underline}.involved{padding:25px 0 20px}.involved h2{font-size:30px;margin-bottom:14px}.involved-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.involved-card{display:grid;grid-template-columns:1.2fr 1fr;border:1px solid var(--line);border-radius:12px;overflow:hidden}.involved-card>.photo{min-height:175px}.involved-card>div:not(.photo){padding:22px 18px}.involved-card h3{font-size:20px;letter-spacing:-.6px}.involved-card p{font-size:14px;margin:8px 0 14px}.involved-card .text-link{font-size:13px}.cta{background:linear-gradient(110deg,#ec0033,#ff6214);position:relative;overflow:hidden;color:#fff;padding:35px 0}.cta:after{content:'';position:absolute;width:120%;height:80px;bottom:-65px;left:-10%;border-radius:50%;background:#b2003260}.cta>.wrap{display:flex;justify-content:space-between;align-items:center;gap:25px;position:relative;z-index:1}.cta h2{font-size:36px}.white{background:#fff;color:var(--red);border-color:#fff;min-width:200px}.white:hover{background:#fff0e8;color:#d90026;border-color:#fff0e8}.site-footer{background:linear-gradient(110deg,#4b103a,#3a0a30);color:#fff;padding:24px 0 22px}.footer-grid{display:grid;grid-template-columns:2fr 1.25fr 1.3fr 1fr;gap:50px}.footer-logo{width:100px;height:48px;object-fit:contain;object-position:left}.tagline{display:block;font-size:13px}.site-footer p,.site-footer li,.site-footer strong,.social-links{font-size:12px}.site-footer p{color:#f1dce9;line-height:1.5}.site-footer ul{list-style:none;margin:5px 0 0;padding:0;display:grid;gap:4px}.site-footer a:hover{text-decoration:underline}.social-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.footer-bottom{display:flex;justify-content:space-between;gap:20px;margin-top:25px;border-top:1px solid #ffffff60;padding-top:18px;font-size:11px;color:#ead6e3}.content-page{min-height:60vh;padding-block:55px}.content-page article{margin-bottom:35px}.content-page h1{font-size:40px;margin-bottom:24px}.content-page p{margin-bottom:16px}.content-page a:not(.button){text-decoration:underline}.skip-link{position:absolute;top:-100px;left:10px;z-index:100;background:#fff;color:#111;padding:12px}.skip-link:focus{top:10px}:focus-visible{outline:3px solid #fb8d00;outline-offset:4px}.alignwide{max-width:100%}.wp-caption{max-width:100%}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(min-width:1400px){.hero{min-height:540px}.hero-content{padding-top:65px}}@media(max-width:1050px){.nav-list{gap:18px;font-size:12px}.header-inner{gap:16px}.hero{min-height:440px}.hero h1{font-size:50px}.event-info{padding:22px}.event-info h3{font-size:24px}.story-grid{gap:28px;grid-template-columns:1.5fr 1fr}.story-collage{height:290px}.footer-grid{gap:28px}.category h3{font-size:18px}.involved-card>div:not(.photo){padding:16px 12px}.cta h2{font-size:30px}}
@media(max-width:760px){html{scroll-padding-top:20px}.wrap{width:90%}.header-inner{min-height:70px;flex-wrap:wrap;gap:10px}.brand img{width:84px}.menu-toggle{display:flex;gap:12px;border:0;background:#fff;font-weight:700;padding:12px;margin-left:auto}.header-register{padding:10px 12px;font-size:12px}.header-register span{display:none}#primary-nav{display:none;order:4;width:100%}#primary-nav.is-open{display:block}.nav-list{align-items:stretch;flex-direction:column;gap:0;padding-bottom:12px;font-size:15px}.nav-list a{padding:12px}.nav-list a:hover:after{display:none}.hero{min-height:510px}.hero-photo{left:10%;opacity:.7}.hero-shade{background:linear-gradient(90deg,#191d18f5,#191d18ad 55%,#191d1833)}.hero-content{padding-top:55px;padding-bottom:90px}.hero h1{font-size:clamp(36px,7vw,52px);letter-spacing:-1.5px}.eyebrow.light{font-size:10px;letter-spacing:3px}.hero-description{font-size:16px;max-width:280px}.actions{gap:10px}.actions .button{padding:12px 16px}.event-strip{width:100%;padding:15px;gap:15px;flex-wrap:wrap}.event-date{min-width:65px;padding-right:15px}.event-date strong{font-size:32px}.event-date span{font-size:10px}.strip-details h2{font-size:19px}.strip-details p{font-size:11px}.event-strip>.button{width:100%}.section-heading{align-items:flex-start;flex-direction:column;gap:14px}.section-heading h2{font-size:30px}.section-heading .button{font-size:12px;padding:10px 14px}.featured-event{grid-template-columns:1fr}.featured-event>.photo{min-height:0;aspect-ratio:2.02}.event-info{padding:24px}.categories{grid-template-columns:1fr 1fr;gap:12px}.category{padding:14px 8px}.category h3{font-size:18px}.category p{font-size:12px}.category .button{min-width:0;width:90%;padding:9px 12px}.story{padding:25px 0}.story-grid{grid-template-columns:1fr;gap:25px}.story-collage{height:300px}.story-copy h2{font-size:32px}.involved-grid{grid-template-columns:1fr}.involved-card>.photo{min-height:170px}.involved-card>div:not(.photo){padding:20px 15px}.cta>.wrap{align-items:flex-start;flex-direction:column;gap:20px}.cta h2{font-size:32px}.footer-grid{grid-template-columns:1.5fr 1fr;gap:28px}.footer-bottom{flex-direction:column;gap:10px}.content-page h1{font-size:32px}.content-page{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
