/* ═══════════════════════════════════════════════════════════════
   PCHM – Vedanta Pink City Half Marathon 2026
   Complete Stylesheet  |  Organised by ABCR
   ═══════════════════════════════════════════════════════════════ */

/* ── Variables ──────────────────────────────────────────────── */
:root {
  --pink:       #E8185A;
  --pink-d:     #c41249;
  --pink-light: #ff5a87;
  --gold:       #C9A84C;
  --gold-light: #e2c26a;
  --cream:      #FDF6EE;
  --dark:       #1A0A0F;
  --dark2:      #2D1015;
  --grey:       #6b7280;
  --light:      #F7F4F1;
  --border:     #e8e0d8;
  --white:      #ffffff;
  --green:      #16a34a;
  --font-cond:  'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body:  'Barlow', 'Segoe UI', sans-serif;
  --radius:     10px;
  --shadow:     0 4px 20px rgba(0,0,0,0.08);
  --shadow-h:   0 12px 40px rgba(0,0,0,0.16);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--dark2); background: var(--white); line-height: 1.65; }
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }

/* ── Container ──────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ═══════════════════════════════════════════════════════════════
   TOPBAR
   ═══════════════════════════════════════════════════════════════ */
.site-topbar {
  background: var(--dark);
  padding: 7px 0;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  font-family: var(--font-body);
}
.site-topbar .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.tb-left  { display: flex; align-items: center; gap: 8px; }
.tb-right { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.tb-right a { color: rgba(255,255,255,.5); transition: color .15s; }
.tb-right a:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════════════════════
   HEADER / NAVBAR
   ═══════════════════════════════════════════════════════════════ */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.site-header .container {
  display: flex; align-items: center;
  justify-content: space-between;
  padding-top: 12px; padding-bottom: 12px;
}
.site-logo { display: flex; align-items: center; gap: 12px; }
.logo-badge {
  background: var(--pink);
  color: #fff;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  width: 46px; height: 46px;
  border-radius: 6px; flex-shrink: 0;
  font-family: var(--font-cond); font-weight: 900; line-height: 1;
}
.logo-badge-edition { font-size: 16px; }
.logo-badge-year    { font-size: 11px; opacity: .85; }
.logo-title { font-family: var(--font-cond); font-weight: 900; font-size: 20px; color: var(--dark); letter-spacing: .02em; line-height: 1.1; }
.logo-sub   { font-size: 10px; color: var(--grey); letter-spacing: .04em; text-transform: uppercase; margin-top: 2px; }
.logo-sub strong { color: var(--gold); }

.site-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-family: var(--font-cond); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .06em;
  color: var(--dark2); padding: 8px 14px; border-radius: 6px; transition: all .15s;
}
.nav-link:hover, .nav-link.active { background: rgba(232,24,90,.08); color: var(--pink); }
.nav-cta {
  background: var(--pink); color: #fff !important;
  font-family: var(--font-cond); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .08em;
  padding: 9px 20px; border-radius: 6px; margin-left: 6px; transition: background .15s;
}
.nav-cta:hover { background: var(--pink-d); }

.site-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.site-hamburger span { display: block; width: 24px; height: 2px; background: var(--dark2); border-radius: 2px; transition: all .2s; }

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.site-hero {
  position: relative; overflow: hidden;
  min-height: 540px;
  display: flex; align-items: center;
  background: linear-gradient(135deg, #1A0A0F 0%, #2D1320 45%, #3D1528 70%, #1A0A0F 100%);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(26,10,15,.95) 0%, rgba(26,10,15,.7) 55%, rgba(26,10,15,.2) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 80px 0; width: 100%; }
.hero-inner   { max-width: 600px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232,24,90,.2); border: 1px solid rgba(232,24,90,.4);
  color: var(--pink-light); font-family: var(--font-cond); font-weight: 700;
  font-size: 11px; text-transform: uppercase; letter-spacing: 2px;
  padding: 5px 14px; border-radius: 4px; margin-bottom: 16px;
}
.hero-h1 {
  font-family: var(--font-cond); font-weight: 900;
  font-size: clamp(44px, 7vw, 80px);
  color: #fff; line-height: 1.0; margin-bottom: 8px;
}
.hero-h1 em { color: var(--pink); font-style: normal; }
.hero-edition {
  font-family: var(--font-cond); font-weight: 700; font-size: 18px;
  color: var(--gold); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 16px;
}
.hero-desc { font-size: 16px; color: rgba(255,255,255,.7); line-height: 1.75; margin-bottom: 28px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-meta-row { display: flex; flex-wrap: wrap; gap: 20px; }
.hero-meta-item { display: flex; align-items: center; gap: 8px; }
.hmi-icon { font-size: 18px; }
.hmi-lbl  { font-size: 11px; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: 1px; }
.hmi-val  { font-family: var(--font-cond); font-weight: 700; font-size: 14px; color: rgba(255,255,255,.85); }

/* Hero race distance stat pills */
.hero-stat-col {
  position: absolute; right: 60px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 14px;
}
.hero-stat {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  padding: 16px 28px; text-align: center; min-width: 130px;
}
.hs-num { font-family: var(--font-cond); font-weight: 900; font-size: 40px; color: #fff; line-height: 1; }
.hs-num span { color: var(--pink); }
.hs-lbl { font-size: 11px; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-cond); font-weight: 800; font-size: 14px;
  text-transform: uppercase; letter-spacing: .08em;
  padding: 11px 26px; border-radius: 6px; border: 2px solid transparent;
  cursor: pointer; transition: all .18s; text-decoration: none;
  white-space: nowrap;
}
.btn-pink   { background: var(--pink); color: #fff; border-color: var(--pink); }
.btn-pink:hover { background: var(--pink-d); border-color: var(--pink-d); }
.btn-gold   { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline:hover { border-color: var(--pink); color: var(--pink); background: rgba(232,24,90,.08); }
.btn-outline-dark { background: transparent; color: var(--dark); border-color: var(--dark); }
.btn-outline-dark:hover { background: var(--dark); color: #fff; }
.btn-sm { padding: 7px 16px; font-size: 12px; }
.btn-lg { padding: 14px 34px; font-size: 16px; }

/* ═══════════════════════════════════════════════════════════════
   RACE DATE BANNER
   ═══════════════════════════════════════════════════════════════ */
.race-banner {
  background: var(--pink);
  padding: 14px 0;
}
.race-banner .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.rb-text { font-family: var(--font-cond); font-weight: 800; font-size: 18px; color: #fff; text-transform: uppercase; letter-spacing: .05em; }
.rb-tag  { font-size: 13px; color: rgba(255,255,255,.75); margin-top: 2px; }
.rb-actions { display: flex; gap: 10px; }

/* ═══════════════════════════════════════════════════════════════
   SECTION HEADINGS
   ═══════════════════════════════════════════════════════════════ */
.section-eyebrow {
  font-family: var(--font-cond); font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: 3px; color: var(--pink);
  margin-bottom: 6px;
}
.section-h2 {
  font-family: var(--font-cond); font-weight: 900;
  font-size: clamp(28px, 4vw, 42px); color: var(--dark); line-height: 1.08; margin-bottom: 6px;
}
.section-h2 em { color: var(--pink); font-style: normal; }
.section-lead { font-size: 16px; color: var(--grey); line-height: 1.7; max-width: 600px; }

/* ═══════════════════════════════════════════════════════════════
   HOME — RACE CATEGORIES
   ═══════════════════════════════════════════════════════════════ */
.cat-section { padding: 80px 0; background: var(--cream); }
.cats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.cat-card {
  background: var(--white); padding: 36px 28px;
  border: 2px solid var(--border); border-radius: var(--radius);
  position: relative; transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); }
.cat-card-hm { border-top: 5px solid var(--pink); }
.cat-card-cr { border-top: 5px solid var(--gold); }
.cat-card-dr { border-top: 5px solid var(--green); }
.cat-km {
  font-family: var(--font-cond); font-weight: 900;
  font-size: 56px; line-height: 1; margin-bottom: 4px;
}
.cat-card-hm .cat-km { color: var(--pink); }
.cat-card-cr .cat-km { color: var(--gold); }
.cat-card-dr .cat-km { color: var(--green); }
.cat-name { font-family: var(--font-cond); font-weight: 800; font-size: 22px; color: var(--dark); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 12px; }
.cat-desc { font-size: 14px; color: var(--grey); line-height: 1.65; flex-grow: 1; margin-bottom: 20px; }
.cat-meta { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--border); margin-top: auto; }
.cat-age  { font-size: 12px; color: var(--grey); }
.cat-fee  { font-family: var(--font-cond); font-weight: 900; font-size: 28px; color: var(--dark); line-height: 1; }
.cat-fee small { font-size: 13px; font-weight: 600; color: var(--grey); }

/* ═══════════════════════════════════════════════════════════════
   HOME — BLOG LISTING (3-col)
   ═══════════════════════════════════════════════════════════════ */
.blogs-section { padding: 80px 0; }
.blogs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.blog-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: box-shadow .2s, transform .2s;
  display: flex; flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; background: var(--light); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-img-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 40px; background: linear-gradient(135deg, var(--cream) 0%, var(--light) 100%);
}
.blog-card-body { padding: 20px 22px; flex-grow: 1; display: flex; flex-direction: column; }
.blog-card-cat {
  display: inline-block; background: rgba(232,24,90,.1); color: var(--pink);
  font-family: var(--font-cond); font-weight: 700; font-size: 11px;
  text-transform: uppercase; letter-spacing: 1.5px;
  padding: 3px 10px; border-radius: 4px; margin-bottom: 10px;
}
.blog-card-title { font-family: var(--font-cond); font-weight: 800; font-size: 18px; color: var(--dark); line-height: 1.25; margin-bottom: 8px; }
.blog-card-title a:hover { color: var(--pink); }
.blog-card-excerpt { font-size: 13px; color: var(--grey); line-height: 1.6; flex-grow: 1; }
.blog-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; margin-top: 14px; border-top: 1px solid var(--border); }
.blog-card-date { font-size: 12px; color: var(--grey); }
.blog-card-read { font-family: var(--font-cond); font-weight: 700; font-size: 13px; color: var(--pink); text-transform: uppercase; letter-spacing: .05em; }
.blog-card-read:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════
   BLOG LISTING PAGE
   ═══════════════════════════════════════════════════════════════ */
.blog-listing-hero {
  background: var(--dark); padding: 56px 0;
  background-image: linear-gradient(135deg, #1A0A0F 0%, #3D1528 100%);
}
.blog-listing-hero h1 { font-family: var(--font-cond); font-weight: 900; font-size: clamp(32px,5vw,56px); color: #fff; line-height: 1; }
.blog-listing-hero h1 em { color: var(--pink); font-style: normal; }
.blog-listing-hero p { font-size: 16px; color: rgba(255,255,255,.6); margin-top: 8px; }

.blog-cat-bar { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 73px; z-index: 90; }
.blog-cat-bar .container { display: flex; align-items: center; gap: 0; overflow-x: auto; padding-top: 0; padding-bottom: 0; }
.bcat-tab {
  display: inline-block; font-family: var(--font-cond); font-weight: 700; font-size: 13px; color: var(--grey);
  padding: 14px 20px; white-space: nowrap; border-bottom: 3px solid transparent; transition: all .18s;
  text-transform: uppercase; letter-spacing: .06em;
}
.bcat-tab:hover { color: var(--pink); }
.bcat-tab.active { color: var(--pink); border-bottom-color: var(--pink); }
.bcat-count { display: inline-block; background: var(--light); color: var(--grey); font-size: 10px; font-weight: 800; padding: 1px 7px; border-radius: 20px; margin-left: 5px; }

.blog-main { padding: 60px 0; }
.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; }
.blog-list-grid { display: flex; flex-direction: column; gap: 32px; }
.blog-list-item { display: grid; grid-template-columns: 260px 1fr; gap: 24px; border-bottom: 1px solid var(--border); padding-bottom: 32px; align-items: start; }
.bli-img { border-radius: 8px; overflow: hidden; aspect-ratio: 16/9; }
.bli-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.bli-img:hover img { transform: scale(1.04); }
.bli-cat { display: inline-block; background: rgba(232,24,90,.1); color: var(--pink); font-family: var(--font-cond); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; padding: 3px 10px; border-radius: 4px; margin-bottom: 8px; }
.bli-title { font-family: var(--font-cond); font-weight: 800; font-size: 22px; color: var(--dark); line-height: 1.2; margin-bottom: 8px; }
.bli-title a:hover { color: var(--pink); }
.bli-excerpt { font-size: 14px; color: var(--grey); line-height: 1.65; margin-bottom: 14px; }
.bli-meta { display: flex; align-items: center; gap: 16px; font-size: 12px; color: var(--grey); }
.bli-read { font-family: var(--font-cond); font-weight: 700; font-size: 13px; color: var(--pink); text-transform: uppercase; }
.bli-read:hover { text-decoration: underline; }

/* Sidebar */
.blog-sidebar {}
.sidebar-box { background: var(--light); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 28px; }
.sidebar-box-title { font-family: var(--font-cond); font-weight: 800; font-size: 16px; text-transform: uppercase; letter-spacing: .06em; color: var(--dark); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--pink); }
.sidebar-links { display: flex; flex-direction: column; gap: 10px; }
.sidebar-link { font-size: 14px; color: var(--grey); transition: color .15s; }
.sidebar-link:hover { color: var(--pink); }
.sidebar-cats { display: flex; flex-direction: column; gap: 0; }
.sidebar-cat-link { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--grey); transition: color .15s; }
.sidebar-cat-link:last-child { border-bottom: none; }
.sidebar-cat-link:hover { color: var(--pink); }
.sidebar-cat-count { background: var(--white); padding: 2px 8px; border-radius: 20px; font-size: 11px; font-weight: 700; color: var(--grey); }

/* Pagination */
.pagination { display: flex; align-items: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.page-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 6px; border: 1px solid var(--border);
  font-family: var(--font-cond); font-weight: 700; font-size: 14px; color: var(--grey);
  transition: all .15s;
}
.page-link:hover { border-color: var(--pink); color: var(--pink); }
.page-link.active { background: var(--pink); border-color: var(--pink); color: #fff; }

/* ═══════════════════════════════════════════════════════════════
   BLOG SINGLE POST
   ═══════════════════════════════════════════════════════════════ */
.post-hero { background: var(--dark); padding: 56px 0 0; overflow: hidden; }
.post-hero-inner { max-width: 780px; margin: 0 auto; text-align: center; padding: 0 24px 40px; }
.post-hero-cat { display: inline-block; background: var(--pink); color: #fff; font-family: var(--font-cond); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: 2px; padding: 4px 14px; border-radius: 4px; margin-bottom: 16px; }
.post-hero-title { font-family: var(--font-cond); font-weight: 900; font-size: clamp(28px,4.5vw,52px); color: #fff; line-height: 1.1; margin-bottom: 16px; }
.post-hero-meta  { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.5); }
.post-hero-author { color: var(--gold); font-weight: 600; }
.post-featured-img { width: 100%; max-height: 480px; object-fit: cover; display: block; }
.post-featured-placeholder { width: 100%; height: 320px; display: flex; align-items: center; justify-content: center; font-size: 64px; background: linear-gradient(135deg, #1A0A0F 0%, #3D1528 100%); }

.post-layout { display: grid; grid-template-columns: 1fr 300px; gap: 60px; padding: 60px 0; }
.post-body h1, .post-body h2, .post-body h3, .post-body h4 { font-family: var(--font-cond); font-weight: 800; color: var(--dark); line-height: 1.15; margin: 28px 0 12px; }
.post-body h2 { font-size: 28px; }
.post-body h3 { font-size: 22px; }
.post-body p  { font-size: 16px; color: #333; line-height: 1.8; margin-bottom: 18px; }
.post-body ul, .post-body ol { margin: 14px 0 18px 22px; }
.post-body li { font-size: 16px; color: #333; line-height: 1.75; margin-bottom: 6px; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body blockquote { border-left: 4px solid var(--pink); padding: 14px 20px; background: var(--cream); margin: 20px 0; font-style: italic; }
.post-body a { color: var(--pink); text-decoration: underline; }
.post-body img { border-radius: 8px; margin: 20px 0; }
.post-body strong { font-weight: 700; }
.post-body table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.post-body table td, .post-body table th { border: 1px solid var(--border); padding: 10px 14px; font-size: 14px; }
.post-body table th { background: var(--light); font-weight: 700; }

/* ═══════════════════════════════════════════════════════════════
   REGISTRATION PAGE
   ═══════════════════════════════════════════════════════════════ */
.reg-hero { background: linear-gradient(135deg, var(--dark) 0%, #3D1528 100%); padding: 64px 0; text-align: center; }
.reg-hero h1 { font-family: var(--font-cond); font-weight: 900; font-size: clamp(36px,5vw,64px); color: #fff; line-height: 1; margin-bottom: 8px; }
.reg-hero h1 em { color: var(--pink); font-style: normal; }
.reg-hero p { font-size: 16px; color: rgba(255,255,255,.65); max-width: 520px; margin: 0 auto; }

.reg-section { padding: 60px 0; background: var(--cream); }
.reg-layout  { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.reg-card    { background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.reg-card-title { font-family: var(--font-cond); font-weight: 900; font-size: 26px; color: var(--dark); margin-bottom: 28px; }

/* Category selector */
.cat-select-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 28px; }
.cat-select-item {
  border: 2px solid var(--border); border-radius: 8px; padding: 18px 14px; cursor: pointer;
  text-align: center; transition: all .18s; user-select: none;
}
.cat-select-item:hover { border-color: var(--grey); }
.cat-select-item.selected-hm { border-color: var(--pink); background: rgba(232,24,90,.06); }
.cat-select-item.selected-cr { border-color: var(--gold); background: rgba(201,168,76,.06); }
.cat-select-item.selected-dr { border-color: var(--green); background: rgba(22,163,74,.06); }
.csi-km   { font-family: var(--font-cond); font-weight: 900; font-size: 28px; line-height: 1; }
.csi-name { font-family: var(--font-cond); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--dark); margin: 4px 0; }
.csi-fee  { font-size: 13px; color: var(--grey); }
.cat-select-item.selected-hm .csi-km { color: var(--pink); }
.cat-select-item.selected-cr .csi-km { color: var(--gold); }
.cat-select-item.selected-dr .csi-km { color: var(--green); }

/* Form */
.form-section-title { font-family: var(--font-cond); font-weight: 800; font-size: 18px; text-transform: uppercase; letter-spacing: .06em; color: var(--dark); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--pink); }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.form-label span { color: var(--pink); }
.form-control {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 6px;
  font-family: var(--font-body); font-size: 15px; color: var(--dark2); background: var(--white);
  transition: border-color .15s; outline: none;
}
.form-control:focus { border-color: var(--pink); }
.form-control.error-field { border-color: #ef4444; }
.form-hint { font-size: 12px; color: var(--grey); margin-top: 5px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.form-check-input { width: 17px; height: 17px; accent-color: var(--pink); flex-shrink: 0; margin-top: 2px; }
.form-check-label { font-size: 14px; color: var(--grey); line-height: 1.5; }
.form-check-label a { color: var(--pink); text-decoration: underline; }

/* Alerts */
.alert { padding: 14px 18px; border-radius: 8px; font-size: 14px; margin-bottom: 20px; display: flex; align-items: flex-start; gap: 10px; }
.alert-success { background: rgba(22,163,74,.1); border: 1px solid rgba(22,163,74,.3); color: #166534; }
.alert-error   { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.3); color: #991b1b; }
.alert-icon    { font-size: 16px; flex-shrink: 0; margin-top: 1px; }

/* Success box */
.success-box { text-align: center; padding: 48px 32px; }
.success-icon { font-size: 64px; margin-bottom: 16px; }
.success-reg-num { font-family: var(--font-cond); font-weight: 900; font-size: 32px; color: var(--pink); letter-spacing: 2px; background: rgba(232,24,90,.08); border: 2px dashed rgba(232,24,90,.3); padding: 12px 28px; border-radius: 8px; display: inline-block; margin: 14px 0; }
.success-title { font-family: var(--font-cond); font-weight: 800; font-size: 26px; color: var(--dark); margin-bottom: 10px; }
.success-desc  { font-size: 15px; color: var(--grey); margin-bottom: 24px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* Fee summary sidebar */
.fee-box { background: var(--dark); border-radius: var(--radius); padding: 28px; margin-bottom: 24px; position: sticky; top: 90px; }
.fee-box-title { font-family: var(--font-cond); font-weight: 800; font-size: 18px; color: #fff; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 20px; }
.fee-line { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 14px; color: rgba(255,255,255,.65); }
.fee-line:last-child { border-bottom: none; }
.fee-line-total { color: #fff; font-weight: 700; font-size: 16px; padding-top: 14px; }
.fee-total-amount { font-family: var(--font-cond); font-weight: 900; font-size: 32px; color: var(--pink); line-height: 1; }
.fee-note { font-size: 11px; color: rgba(255,255,255,.4); margin-top: 16px; line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════════════════ */
.contact-section { padding: 80px 0; }
.contact-layout  { display: grid; grid-template-columns: 1fr 380px; gap: 60px; align-items: start; }
.contact-card    { background: var(--white); border: 1px solid var(--border); border-top: 4px solid var(--pink); border-radius: var(--radius); padding: 36px; }
.contact-card-title { font-family: var(--font-cond); font-weight: 800; font-size: 22px; color: var(--dark); margin-bottom: 24px; }
.contact-info-items { display: flex; flex-direction: column; gap: 16px; }
.cii { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.cii:last-child { border-bottom: none; }
.cii-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.cii-lbl  { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--grey); margin-bottom: 3px; }
.cii-val  { font-size: 15px; color: var(--dark); font-weight: 600; }

/* ═══════════════════════════════════════════════════════════════
   STATS BAND
   ═══════════════════════════════════════════════════════════════ */
.stats-band {
  background: var(--dark);
  padding: 40px 0;
}
.stats-band .container { display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 24px; }
.sb-item { text-align: center; }
.sb-val  { font-family: var(--font-cond); font-weight: 900; font-size: 44px; color: var(--pink); line-height: 1; }
.sb-val sup { font-size: 22px; color: var(--gold); }
.sb-lbl  { font-size: 12px; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.site-footer { background: var(--dark2); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-logo-wrap { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo-badge { background: var(--pink); color: #fff; width: 46px; height: 46px; border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--font-cond); font-weight: 900; font-size: 13px; line-height: 1.1; flex-shrink: 0; }
.footer-logo-title { font-family: var(--font-cond); font-weight: 900; font-size: 18px; color: #fff; line-height: 1.1; }
.footer-logo-sub   { font-size: 11px; color: rgba(255,255,255,.45); margin-top: 2px; }
.footer-desc       { font-size: 14px; color: rgba(255,255,255,.45); line-height: 1.7; margin-bottom: 20px; }
.footer-desc strong { color: var(--gold); }
.footer-social     { display: flex; gap: 8px; }
.fs-link           { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 6px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.6); font-family: var(--font-cond); font-weight: 700; font-size: 12px; transition: all .15s; }
.fs-link:hover     { background: var(--pink); color: #fff; }
.footer-col-title  { font-family: var(--font-cond); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,.4); margin-bottom: 16px; }
.footer-links      { display: flex; flex-direction: column; gap: 10px; }
.footer-link       { font-size: 14px; color: rgba(255,255,255,.55); transition: color .15s; cursor: pointer; }
.footer-link:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; margin-top: 48px; font-size: 13px; color: rgba(255,255,255,.3); }
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════════════════════
   BLOG DASHBOARD
   ═══════════════════════════════════════════════════════════════ */
.dash-topbar { background: var(--dark); padding: 8px 0; font-size: 12px; color: rgba(255,255,255,.55); }
.dash-topbar .container { display: flex; align-items: center; justify-content: space-between; }
.dash-topbar a { color: rgba(255,255,255,.55); transition: color .15s; }
.dash-topbar a:hover { color: var(--gold); }

.dash-header { background: linear-gradient(135deg, #1A0A0F 0%, #3D1528 100%); padding: 28px 0; }
.dash-header .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.dash-header-title { font-family: var(--font-cond); font-weight: 900; font-size: 28px; color: #fff; line-height: 1; }
.dash-header-sub   { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 4px; }

.dash-stats-row { background: var(--white); border-bottom: 1px solid var(--border); padding: 18px 0; }
.dash-stats-row .container { display: flex; gap: 16px; flex-wrap: wrap; }
.dash-stat-box { padding: 14px 22px; border-radius: 10px; text-align: center; min-width: 110px; }
.dash-stat-num { font-family: var(--font-cond); font-weight: 900; font-size: 28px; line-height: 1; }
.dash-stat-lbl { font-size: 12px; color: var(--grey); margin-top: 3px; }

.dash-main  { background: var(--light); min-height: calc(100vh - 200px); padding: 32px 0; }
.dash-card  { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 28px; }
.dash-card-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 28px; border-bottom: 1px solid var(--border); }
.dash-card-title { font-family: var(--font-cond); font-weight: 800; font-size: 18px; color: var(--dark); text-transform: uppercase; letter-spacing: .05em; }
.dash-card-body { padding: 28px; }

/* Dashboard tabs */
.dash-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border); margin-bottom: 0; }
.dash-tab {
  font-family: var(--font-cond); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .06em;
  color: var(--grey); padding: 14px 24px; border-bottom: 3px solid transparent; cursor: pointer; transition: all .15s;
  background: none; border-top: none; border-left: none; border-right: none;
}
.dash-tab:hover  { color: var(--pink); }
.dash-tab.active { color: var(--pink); border-bottom-color: var(--pink); }
.dash-tab-content { display: none; padding: 28px; }
.dash-tab-content.active { display: block; }

/* Dash table */
.dash-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.dash-table th { padding: 10px 14px; text-align: left; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--grey); background: var(--light); border-bottom: 1px solid var(--border); }
.dash-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.dash-table tr:last-child td { border-bottom: none; }
.dash-table tr:hover td { background: rgba(232,24,90,.03); }
.dash-table td a { color: var(--dark); }
.dash-table td a:hover { color: var(--pink); }

/* Badges */
.badge-live  { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; background: rgba(22,163,74,.1); color: #16a34a; }
.badge-draft { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; background: rgba(107,114,128,.1); color: #6b7280; }
.badge-hm    { background: rgba(232,24,90,.1); color: var(--pink); }
.badge-cr    { background: rgba(201,168,76,.12); color: #8a6f20; }
.badge-dr    { background: rgba(22,163,74,.1); color: #16a34a; }

/* Dash action buttons */
.btn-edit   { background: rgba(59,130,246,.1); color: #2563eb; border: 1px solid rgba(59,130,246,.25); font-family: var(--font-cond); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; padding: 5px 12px; border-radius: 4px; cursor: pointer; transition: all .15s; text-decoration: none; white-space: nowrap; }
.btn-edit:hover   { background: #2563eb; color: #fff; }
.btn-delete { background: rgba(239,68,68,.1); color: #dc2626; border: 1px solid rgba(239,68,68,.25); font-family: var(--font-cond); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; padding: 5px 12px; border-radius: 4px; cursor: pointer; transition: all .15s; text-decoration: none; white-space: nowrap; }
.btn-delete:hover { background: #dc2626; color: #fff; }
.btn-primary  { background: var(--pink); color: #fff; border: none; font-family: var(--font-cond); font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .07em; padding: 10px 22px; border-radius: 6px; cursor: pointer; transition: background .15s; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.btn-primary:hover { background: var(--pink-d); }
.btn-secondary { background: var(--light); color: var(--dark); border: 1px solid var(--border); font-family: var(--font-cond); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; padding: 9px 18px; border-radius: 6px; cursor: pointer; transition: all .15s; text-decoration: none; }
.btn-secondary:hover { background: var(--border); }
.btn-back { background: var(--light); color: var(--grey); border: 1px solid var(--border); font-family: var(--font-cond); font-weight: 700; font-size: 13px; padding: 9px 18px; border-radius: 6px; text-decoration: none; }
.btn-success { background: var(--green); color: #fff; border: none; font-family: var(--font-cond); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .07em; padding: 9px 20px; border-radius: 6px; cursor: pointer; transition: background .15s; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.btn-success:hover { background: #15803d; }

/* Dash form */
.form-wrap { display: flex; flex-direction: column; gap: 0; }
.form-section { padding: 28px 0; border-bottom: 1px solid var(--border); margin-bottom: 0; }
.form-section:last-of-type { border-bottom: none; }
.form-section-title { font-family: var(--font-cond); font-weight: 800; font-size: 16px; text-transform: uppercase; letter-spacing: .07em; color: var(--dark); margin-bottom: 20px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* Login page */
.login-wrap  { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #1A0A0F 0%, #3D1528 100%); padding: 24px; }
.login-card  { background: var(--white); border-radius: var(--radius); padding: 48px 44px; width: 100%; max-width: 420px; box-shadow: var(--shadow-h); }
.login-logo  { text-align: center; margin-bottom: 28px; }
.login-logo-badge { background: var(--pink); color: #fff; width: 56px; height: 56px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--font-cond); font-weight: 900; font-size: 16px; line-height: 1.1; margin: 0 auto 12px; }
.login-logo-title { font-family: var(--font-cond); font-weight: 900; font-size: 20px; color: var(--dark); }
.login-logo-sub   { font-size: 12px; color: var(--grey); margin-top: 3px; }
.login-title { font-family: var(--font-cond); font-weight: 900; font-size: 26px; color: var(--dark); margin-bottom: 4px; }
.login-sub   { font-size: 14px; color: var(--grey); margin-bottom: 28px; }
.login-error { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.25); color: #991b1b; font-size: 13px; padding: 10px 14px; border-radius: 6px; margin-bottom: 16px; }
.login-btn   { width: 100%; background: var(--pink); color: #fff; border: none; font-family: var(--font-cond); font-weight: 800; font-size: 16px; text-transform: uppercase; letter-spacing: .08em; padding: 13px; border-radius: 6px; cursor: pointer; transition: background .15s; margin-top: 6px; }
.login-btn:hover { background: var(--pink-d); }

/* Search & filter bar */
.dash-filter-bar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; align-items: center; }
.dash-search-input { flex: 1; min-width: 200px; padding: 9px 14px; border: 1.5px solid var(--border); border-radius: 6px; font-size: 14px; font-family: var(--font-body); outline: none; }
.dash-search-input:focus { border-color: var(--pink); }
.dash-select { padding: 9px 14px; border: 1.5px solid var(--border); border-radius: 6px; font-size: 14px; font-family: var(--font-body); color: var(--dark); background: var(--white); outline: none; cursor: pointer; }
.dash-select:focus { border-color: var(--pink); }

/* ═══════════════════════════════════════════════════════════════
   INNER PAGE HERO (generic)
   ═══════════════════════════════════════════════════════════════ */
.page-hero { background: linear-gradient(135deg, var(--dark) 0%, #3D1528 100%); padding: 56px 0; }
.page-hero h1 { font-family: var(--font-cond); font-weight: 900; font-size: clamp(32px,5vw,56px); color: #fff; line-height: 1; margin-bottom: 8px; }
.page-hero h1 em { color: var(--pink); font-style: normal; }
.page-hero p  { font-size: 16px; color: rgba(255,255,255,.6); max-width: 540px; }

/* ═══════════════════════════════════════════════════════════════
   RACE INFO
   ═══════════════════════════════════════════════════════════════ */
.race-info-section { padding: 72px 0; }
.ri-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.ri-box { background: var(--white); border: 1px solid var(--border); border-top: 4px solid var(--pink); border-radius: var(--radius); padding: 28px; }
.ri-box-icon { font-size: 32px; margin-bottom: 10px; }
.ri-box-title { font-family: var(--font-cond); font-weight: 800; font-size: 17px; text-transform: uppercase; letter-spacing: .04em; color: var(--dark); margin-bottom: 10px; }
.ri-box-text  { font-size: 14px; color: var(--grey); line-height: 1.7; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-stat-col { display: none; }
  .blog-layout   { grid-template-columns: 1fr; }
  .post-layout   { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 32px; }
  .reg-layout    { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .site-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 12px; gap: 4px; box-shadow: 0 8px 24px rgba(0,0,0,.1); }
  .site-nav.open { display: flex; }
  .site-header { position: relative; }
  .site-hamburger { display: flex; }
  .nav-cta { margin-left: 0; }
  .site-topbar .container { justify-content: center; }
  .tb-left { display: none; }
  .cats-grid { grid-template-columns: 1fr; }
  .blogs-grid { grid-template-columns: 1fr; }
  .blog-list-item { grid-template-columns: 1fr; }
  .blog-list-item .bli-img { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .cat-select-grid { grid-template-columns: 1fr; }
  .ri-grid { grid-template-columns: 1fr; }
  .stats-band .container { gap: 16px; }
  .hero-content { padding: 56px 0; }
  .login-card { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .dash-stats-row .container { flex-direction: column; align-items: stretch; }
  .dash-stat-box { display: flex; align-items: center; gap: 12px; text-align: left; }
  .dash-stat-num { font-size: 22px; }
}
