:root{
  --green:#2f6f2f;
  --green-dark:#0f2a18;
  --green-deep:#08150d;
  --gold:#b88a2b;
  --cream:#f6f2e8;
  --white:#fff;
  --ink:#162018;
  --muted:#6f786f;
  --line:#d9ded9;
  --max:1180px
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--ink);
  background:#fff
}

a{color:inherit}

img{
  max-width:100%;
  display:block
}

.container{
  width:min(var(--max),calc(100% - 32px));
  margin:0 auto
}


/* =========================
   HEADER
   ========================= */

.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line)
}

.header-inner{
  min-height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  font-weight:900
}

.brand img{
  width:56px;
  height:56px;
  object-fit:contain
}

.brand-text strong{
  display:block;
  font-size:20px
}

.brand-text span{
  font-size:12px;
  color:var(--muted);
  font-weight:700
}

.nav{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap
}

.nav a{
  text-decoration:none;
  font-weight:800;
  font-size:14px
}

.nav a:hover{
  color:var(--green)
}

.nav .shop{
  background:var(--green);
  color:white;
  padding:10px 14px;
  border-radius:999px
}

.menu-btn{
  display:none;
  border:0;
  background:none;
  font-size:26px
}


/* =========================
   HOMEPAGE HERO
   ========================= */

.hero{
  min-height:72vh;
  position:relative;
  color:#fff;
  display:flex;
  align-items:flex-end;
  background:
    linear-gradient(180deg,rgba(3,18,8,.12),rgba(3,18,8,.75)),
    url("../images/ground-pristine.jpeg") center/cover no-repeat
}

.hero-inner{
  padding:120px 0 72px
}

.kicker{
  color:#f1cc68;
  font-size:13px;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase
}

/*
  Wider heading area so the hero displays:

  Great Cricket,
  Even Better Company.
*/

.hero h1{
  font-size:clamp(46px,8vw,88px);
  line-height:.95;
  margin:10px 0 16px;
  max-width:1200px
}

.hero p{
  font-size:clamp(18px,2.2vw,24px);
  max-width:720px;
  line-height:1.45;
  color:#edf4ef
}


/* =========================
   BUTTONS
   ========================= */

.actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:26px
}

.btn{
  display:inline-block;
  text-decoration:none;
  font-weight:900;
  border-radius:10px;
  padding:13px 17px
}

.btn.primary{
  background:var(--green);
  color:#fff
}

.btn.secondary{
  background:#fff;
  color:var(--green-dark)
}

.btn.outline{
  border:2px solid #fff;
  color:#fff
}


/* =========================
   GENERAL SECTIONS
   ========================= */

.section{
  padding:76px 0
}

.section.alt{
  background:var(--cream)
}

.section.dark{
  background:var(--green-deep);
  color:#fff
}

.section-title{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:20px;
  margin-bottom:28px
}

.section-title h2{
  font-size:clamp(30px,5vw,50px);
  margin:0
}

.section-title p{
  margin:0;
  color:var(--muted);
  max-width:620px
}

.section.dark .section-title p{
  color:#cbd6ce
}


/* Stacked section titles */

.section-title-stacked{
  display:block;
  margin-bottom:28px;
}

.section-title-stacked h2{
  margin-bottom:8px;
}

.section-title-stacked p{
  margin:0;
  max-width:760px;
}


/* =========================
   CARDS
   ========================= */

.cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px
}

.card{
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  background:#fff
}

.card .body{
  padding:20px
}

.card .label{
  font-size:11px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--gold)
}

.card h3{
  font-size:24px;
  margin:8px 0 10px
}

.card p{
  color:var(--muted);
  line-height:1.5
}

.card img{
  width:100%;
  height:230px;
  object-fit:cover
}


/* =========================
   SCORE BOXES
   ========================= */

.score-strip{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px
}

.score-box{
  border-radius:16px;
  padding:24px;
  background:var(--green-dark);
  color:#fff;
  min-height:180px
}

.score-box .eyebrow{
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#e8c85f;
  font-weight:900
}

.score-box h3{
  font-size:28px;
  margin:8px 0
}

.score-box p{
  color:#c8d4cb
}

.live-pill{
  display:inline-flex;
  align-items:center;
  gap:7px;
  background:#11361f;
  border:1px solid #1f5b33;
  padding:7px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:900
}

.live-dot{
  width:9px;
  height:9px;
  border-radius:50%;
  background:#2fe36c
}


/* =========================
   GALLERY
   ========================= */

.gallery{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  grid-auto-rows:260px;
  gap:12px
}

.gallery img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:14px
}

.gallery .tall{
  grid-row:span 2
}

.gallery .wide{
  grid-column:span 2
}


/* =========================
   SPLIT CONTENT
   ========================= */

.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:36px;
  align-items:center
}

.split img{
  border-radius:18px;
  height:100%;
  object-fit:cover
}

.club-intro-title{
  font-size:48px;
  margin:8px 0 16px
}


/* =========================
   QUICK LINKS
   ========================= */

.quick-links{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px
}

.quick-links a{
  display:block;
  text-decoration:none;
  border:1px solid var(--line);
  border-radius:14px;
  padding:18px;
  background:#fff;
  font-weight:900
}

.quick-links a span{
  display:block;
  color:var(--muted);
  font-size:13px;
  margin-top:4px;
  font-weight:600
}


/* =========================
   FOOTER
   ========================= */

.footer{
  background:#051109;
  color:#dbe5de;
  padding:38px 0
}

.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:28px
}

.footer a{
  color:#fff;
  text-decoration:none
}

.small{
  font-size:12px;
  color:#a8b4ab
}


/* =========================
   INNER PAGE HERO
   ========================= */

.page-hero{
  background:var(--green-dark);
  color:#fff;
  padding:70px 0 50px
}

.page-hero h1{
  font-size:clamp(40px,7vw,68px);
  margin:0 0 8px
}

.prose{
  max-width:850px;
  font-size:18px;
  line-height:1.7
}

.notice{
  border-left:5px solid var(--gold);
  background:#fff8df;
  padding:16px 18px;
  border-radius:8px
}


/* =========================
   MATCH CENTRE
   ========================= */

.match-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px
}

.match-card{
  position:relative;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  padding:22px;
  overflow:hidden
}

.match-card .match-label{
  font-size:11px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--gold)
}

.match-card h3{
  font-size:25px;
  line-height:1.15;
  margin:10px 0
}

.match-meta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  color:var(--muted);
  font-size:13px;
  font-weight:700
}

.match-result{
  margin-top:13px;
  padding-top:13px;
  border-top:1px solid var(--line);
  font-weight:900
}

.innings-list{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:10px
}

.innings-chip{
  background:var(--cream);
  border:1px solid #e8dfcb;
  border-radius:999px;
  padding:6px 9px;
  font-size:12px;
  font-weight:900
}


/* =========================
   LIVE HOMEPAGE BANNER
   ========================= */

.home-live-banner{
  display:none;
  margin-bottom:18px;
  border-radius:16px;
  padding:18px 20px;
  background:linear-gradient(135deg,#0a3519,#061d0e);
  color:#fff;
  border:1px solid #1a6032
}

.home-live-banner.visible{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px
}

.home-live-banner .live-title{
  font-size:clamp(24px,4vw,38px);
  font-weight:950;
  margin:4px 0
}

.home-live-banner .live-copy{
  color:#cce0d2
}

.home-live-banner .live-badge{
  display:inline-flex;
  gap:8px;
  align-items:center;
  color:#4cf07c;
  font-size:12px;
  font-weight:950;
  letter-spacing:.08em
}

.home-live-banner .live-badge i{
  display:block;
  width:10px;
  height:10px;
  background:#33e36c;
  border-radius:50%;
  box-shadow:0 0 0 5px rgba(51,227,108,.12)
}


/* =========================
   FIXTURES
   ========================= */

.fixtures-list{
  display:grid;
  gap:12px
}

.fixture-row{
  display:grid;
  grid-template-columns:150px 1fr auto;
  gap:18px;
  align-items:center;
  padding:17px 18px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff
}

.fixture-date{
  font-size:13px;
  color:var(--muted);
  font-weight:800
}

.fixture-teams{
  font-weight:900;
  font-size:18px
}

.fixture-ground{
  font-size:12px;
  color:var(--muted);
  margin-top:5px
}

.fixture-row a{
  text-decoration:none;
  color:var(--green);
  font-weight:900
}

.fixture-result{
  margin-top:5px;
  font-size:13px;
  font-weight:800;
  color:var(--green)
}

.data-note{
  font-size:12px;
  color:var(--muted);
  margin-top:14px
}


/* =========================
   SPONSOR CTA
   ========================= */

.sponsor-cta{
  align-items:start;
}

.sponsor-cta > div{
  padding-top:20px;
}


/* =========================
   WEBSITE v1.3
   CLUB / CONTACT / SPONSORS
   ========================= */

.contact-layout{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:36px;
  align-items:start
}

.contact-list{
  display:grid;
  gap:12px;
  margin-top:24px
}

.contact-item{
  border:1px solid var(--line);
  border-radius:14px;
  padding:16px 18px;
  background:#fff
}

.contact-label{
  font-size:11px;
  color:var(--gold);
  font-weight:900;
  letter-spacing:.11em;
  text-transform:uppercase;
  margin-bottom:6px
}

.contact-item a{
  color:var(--green);
  font-weight:900;
  text-decoration:none
}

.social-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:24px
}

.social-links a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 13px;
  border-radius:999px;
  background:var(--green-dark);
  color:#fff;
  text-decoration:none;
  font-size:13px;
  font-weight:900
}

.map-card{
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:18px;
  min-height:480px;
  background:#e8ece9;
  box-shadow:0 18px 45px rgba(0,0,0,.08)
}

.map-card iframe{
  display:block;
  width:100%;
  min-height:480px;
  height:100%;
  border:0
}

.sponsor-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px
}

.sponsor-card{
  border:1px solid var(--line);
  border-radius:16px;
  padding:24px;
  background:#fff;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  min-height:270px
}

.sponsor-name{
  font-size:26px;
  font-weight:950;
  line-height:1.05;
  color:var(--green-dark)
}

.sponsor-card p{
  color:var(--muted);
  line-height:1.55;
  flex:1
}


/* =========================
   WEBSITE v1.3.1
   SPONSOR LOGOS
   ========================= */

.sponsor-logo{
  width:100%;
  height:150px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:22px;
  padding:6px 10px;
  border-bottom:1px solid var(--line)
}

.sponsor-logo img{
  display:block;
  width:auto;
  height:auto;
  max-width:220px;
  max-height:130px;
  object-fit:contain
}


/* =========================
   TABLET / SMALL DESKTOP
   ========================= */

@media(max-width:900px){

  .nav{
    display:none;
    position:absolute;
    left:0;
    right:0;
    top:78px;
    background:#fff;
    padding:18px 16px;
    border-bottom:1px solid var(--line);
    flex-direction:column;
    align-items:flex-start
  }

  .nav.open{
    display:flex
  }

/* =========================
   WEBSITE v1.2 — INTEGRATED LIVE SCORE
   ========================= */

.live-page-hero{
  padding-bottom:42px;
}

.live-score-section{
  padding-top:42px;
}

.live-score-toolbar{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:18px;
}

.live-score-toolbar h2{
  margin:5px 0 0;
  font-size:clamp(30px,5vw,48px);
}

.live-score-frame-shell{
  width:100%;
  aspect-ratio:16 / 9;
  border-radius:18px;
  overflow:hidden;
  background:#020403;
  border:1px solid #1c2b22;
  box-shadow:0 18px 45px rgba(0,0,0,.12);
}

.live-score-frame{
  display:block;
  width:100%;
  height:100%;
  border:0;
  background:#020403;
}

.live-page-note{
  margin-top:16px;
  padding:14px 16px;
  border-radius:12px;
  background:var(--cream);
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
}

.live-page-note strong{
  color:var(--ink);
}

@media(max-width:760px){

  .live-score-toolbar{
    align-items:flex-start;
    flex-direction:column;
  }

  .live-score-frame-shell{
    border-radius:12px;
  }

}

  .menu-btn{
    display:block
  }

  .cards,
  .quick-links{
    grid-template-columns:1fr 1fr
  }

  .split,
  .score-strip{
    grid-template-columns:1fr
  }

  .gallery{
    grid-template-columns:1fr 1fr
  }

  .gallery .wide{
    grid-column:span 1
  }

  .footer-grid{
    grid-template-columns:1fr
  }

  .contact-layout{
    grid-template-columns:1fr
  }

  .sponsor-grid{
    grid-template-columns:1fr
  }

  .map-card,
  .map-card iframe{
    min-height:380px
  }
}


/* =========================
   MOBILE
   ========================= */

@media(max-width:760px){

  .match-grid{
    grid-template-columns:1fr
  }

  .home-live-banner.visible{
    display:block
  }

  .home-live-banner .actions{
    margin-top:14px
  }

  .fixture-row{
    grid-template-columns:1fr
  }
}

@media(max-width:620px){

  /* Homepage mobile layout: keep key headings intentional and easy to scan. */
  .home-page .section{
    padding:52px 0
  }

  .home-page .hero h1{
    font-size:clamp(27px,7.4vw,34px);
    line-height:1;
    white-space:nowrap
  }

  .home-page .hero .actions{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    width:auto;
    max-width:none
  }

  .home-page .hero .actions .btn{
    display:inline-block;
    width:auto;
    text-align:center
  }

  .home-page .section-title{
    display:block;
    margin-bottom:24px
  }

  .home-page .section-title h2{
    font-size:clamp(25px,7.5vw,30px);
    line-height:1.08;
    white-space:nowrap;
    margin-top:5px
  }

  .home-page .section-title p{
    max-width:none;
    margin-top:12px;
    line-height:1.5
  }

  .home-page .section-title .kicker{
    white-space:nowrap
  }

  .home-page .quick-links a{
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-height:58px;
    padding:6px 18px
  }

  .home-page .around-club-title h2{
    font-size:clamp(20px,6vw,28px)
  }

  .home-page .club-intro-title{
    font-size:clamp(24px,7vw,30px);
    line-height:1.05;
    white-space:nowrap
  }

  .home-page .menu-btn{
    width:44px;
    height:44px;
    padding:0;
    display:grid;
    place-items:center;
    cursor:pointer
  }

  .cards,
  .quick-links,
  .gallery{
    grid-template-columns:1fr
  }

  .gallery .tall,
  .gallery .wide{
    grid-row:auto;
    grid-column:auto
  }

  .hero{
    min-height:66vh
  }

  .hero-inner{
    padding:90px 0 48px
  }

  .brand-text span{
    display:none
  }
}

.sponsor-card .btn{
  align-self:center;
}
@media(max-width:380px){

  .home-page .header-inner{
    gap:8px
  }

  .home-page .brand{
    gap:8px
  }

  .home-page .brand img{
    width:48px;
    height:48px
  }

  .home-page .brand-text strong{
    font-size:17px
  }
}

