/* ============================================================
   MILNERTON CRICKET CLUB — MAIN STYLESHEET
   Colors: Navy #1B3A6B, White #FFFFFF, Gold #C9A84C
   Fonts: Playfair Display (headings) + Source Sans 3 (body)
   ============================================================ */

:root {
  --navy:      #1B3A6B;
  --navy-dark: #122952;
  --navy-mid:  #24508A;
  --navy-light:#2E65A8;
  --white:     #FFFFFF;
  --off-white: #F4F6F9;
  --gold:      #C9A84C;
  --gold-light:#E8C96A;
  --text:      #1a1a2e;
  --text-mid:  #4a5568;
  --text-light:#718096;
  --border:    #d1dae8;
  --shadow:    rgba(27,58,107,0.15);
  --radius:    6px;
  --radius-lg: 12px;
  --transition:0.25s ease;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.25;
  font-weight: 700;
}

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

/* ---- TOP BAR ---- */
.top-bar {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  padding: 6px 0;
  letter-spacing: 0.03em;
}
.top-bar .container {
  display: flex;
  gap: 24px;
  align-items: center;
}
.top-bar i { color: var(--gold); margin-right: 6px; }

/* ---- HEADER ---- */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  transition: padding var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  gap: 20px;
}
.logo-wrap { flex-shrink: 0; display: flex; align-items: center; }
.logo-img { height: 60px; width: auto; object-fit: contain; }

/* ---- DESKTOP NAV ---- */
.main-nav { display: flex; align-items: center; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  color: rgba(255,255,255,0.88);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-link i { font-size: 0.65rem; transition: transform var(--transition); }
.nav-link:hover, .nav-link.active {
  color: var(--gold);
  background: rgba(255,255,255,0.08);
}
.nav-item:hover .nav-link i { transform: rotate(180deg); }

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px var(--shadow);
  border: 1px solid var(--border);
  padding: 8px 0;
  padding-top: 14px;
  list-style: none;
  z-index: 100;
  animation: dropFade 0.2s ease;
  /* Invisible top extension keeps hover alive while moving mouse down */
  margin-top: -6px;
}
.dropdown-menu::before {
  content: '';
  display: block;
  height: 6px;
  position: absolute;
  top: -6px;
  left: 0;
  right: 0;
}
@keyframes dropFade {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.dropdown-menu li a {
  display: block;
  padding: 10px 18px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  border-left: 3px solid transparent;
}
.dropdown-menu li a:hover {
  color: var(--navy);
  background: var(--off-white);
  border-left-color: var(--gold);
  padding-left: 22px;
}
.has-dropdown:hover .dropdown-menu { display: block; }

/* ---- HAMBURGER ---- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  padding: 8px 10px;
  cursor: pointer;
  transition: border-color var(--transition);
  flex-shrink: 0;
}
.hamburger:hover { border-color: var(--gold); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- MOBILE OVERLAY ---- */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 950;
  backdrop-filter: blur(2px);
}
.mobile-overlay.active { display: block; animation: fadeIn 0.2s ease; }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }

/* ---- MOBILE NAV ---- */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  height: 100dvh;
  width: 300px;
  max-width: 85vw;
  background: var(--navy-dark);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: var(--navy);
}
.mobile-logo { height: 44px; width: auto; }
.mobile-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: var(--radius);
  transition: color var(--transition);
}
.mobile-close:hover { color: var(--gold); }

.mobile-nav-list { list-style: none; flex: 1; padding: 12px 0; }
.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 24px;
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all var(--transition);
  border-left: 3px solid transparent;
}
.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--gold);
  background: rgba(255,255,255,0.06);
  border-left-color: var(--gold);
}
.mobile-nav-link i { font-size: 0.7rem; transition: transform 0.25s; }
.mobile-nav-item.open .mobile-nav-link i { transform: rotate(90deg); }

.mobile-sub-menu {
  display: none;
  list-style: none;
  background: rgba(0,0,0,0.2);
}
.mobile-nav-item.open .mobile-sub-menu { display: block; }
.mobile-sub-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px 10px 32px;
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  transition: all var(--transition);
}
.mobile-sub-menu a i { color: var(--gold); font-size: 0.7rem; }
.mobile-sub-menu a:hover { color: var(--gold-light); }

.mobile-nav-footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-mid) 100%);
  overflow: hidden;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(201,168,76,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.04) 0%, transparent 40%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 48px;
  width: 100%;
}
.hero-content {
  flex: 1;
  min-width: 0;
}
.hero-image {
  flex: 0 0 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image img,
.hero-image svg {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}
@media (max-width: 1024px) {
  .hero-image { flex: 0 0 320px; }
}
@media (max-width: 768px) {
  .hero-inner { flex-direction: column; gap: 32px; }
  .hero-image { flex: none; width: 100%; max-width: 300px; margin: 0 auto; order: -1; }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 18px;
  font-weight: 900;
}
.hero h1 em { color: var(--gold); font-style: normal; }
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-sm { padding: 8px 16px; font-size: 0.8rem; }
.btn-danger { background: #dc3545; color: white; border-color: #dc3545; }
.btn-danger:hover { background: #c82333; }

/* ---- SECTION STYLES ---- */
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.section-light { background: var(--off-white); }
.section-navy { background: var(--navy); color: white; }
.section-navy h2, .section-navy h3 { color: white; }
.section-navy p { color: rgba(255,255,255,0.8); }

.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 12px;
}
.section-header p {
  color: var(--text-mid);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto;
}
.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 14px auto 0;
  border-radius: 2px;
}

/* ---- STATS STRIP ---- */
.stats-strip {
  background: var(--gold);
  padding: 28px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item {}
.stat-number {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--navy-dark);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ---- FEATURE CARDS ---- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
/* ── Card header (used on player profile and other public pages) ─── */
.card-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.card-header h2,
.card-header h3 { margin: 0; font-size: 1rem; font-weight: 700; color: var(--navy); }
.card-body { padding: 24px; }
.card-body.p-0 { padding: 0; }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 16px var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px var(--shadow);
}
.card-img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 24px; }
.card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { font-size: 0.9rem; color: var(--text-mid); margin-bottom: 16px; }
.card-icon {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card-icon i { color: var(--gold); font-size: 1.3rem; }

/* ---- FIXTURES TABLE ---- */
.fixtures-section { overflow-x: auto; }
.fixtures-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.fixtures-table th {
  background: var(--navy);
  color: white;
  padding: 12px 16px;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.fixtures-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.fixtures-table tr:nth-child(even) td { background: var(--off-white); }
.fixtures-table tr:hover td { background: rgba(27,58,107,0.05); }
.badge-home { background: #d4edda; color: #155724; padding: 3px 10px; border-radius: 50px; font-size: 0.75rem; font-weight: 700; }
.badge-away { background: #fff3cd; color: #856404; padding: 3px 10px; border-radius: 50px; font-size: 0.75rem; font-weight: 700; }
.badge-win  { background: #d4edda; color: #155724; padding: 3px 10px; border-radius: 50px; font-size: 0.75rem; font-weight: 700; }
.badge-loss { background: #f8d7da; color: #721c24; padding: 3px 10px; border-radius: 50px; font-size: 0.75rem; font-weight: 700; }

/* ---- GALLERY GRID ---- */
.gallery-albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.album-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--shadow);
}
.album-cover { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.album-card:hover .album-cover { transform: scale(1.06); }
.album-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18,41,82,0.85) 0%, rgba(18,41,82,0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}
.album-overlay h3 { color: white; font-size: 1.2rem; margin-bottom: 6px; }
.album-overlay p { color: rgba(255,255,255,0.7); font-size: 0.85rem; }

/* Full gallery lightbox */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.gallery-thumb {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery-thumb:hover img { transform: scale(1.08); }
.gallery-thumb::after {
  content: '\f00e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  inset: 0;
  background: rgba(27,58,107,0.5);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-thumb:hover::after { opacity: 1; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox-img { max-height: 85vh; max-width: 90vw; border-radius: var(--radius); }
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  opacity: 0.7;
  transition: opacity var(--transition);
}
.lightbox-close:hover { opacity: 1; }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}
.lightbox-nav:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ---- COMMITTEE ---- */
.committee-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 28px; }
.member-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 20px 24px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px var(--shadow);
  transition: transform var(--transition);
}
.member-card:hover { transform: translateY(-3px); }
.member-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  margin: 0 auto 16px;
}
.member-avatar-placeholder {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border: 3px solid var(--gold);
}
.member-avatar-placeholder i { color: var(--gold); font-size: 2rem; }
.member-card h3 { font-size: 1rem; margin-bottom: 4px; color: var(--navy); }
.member-role { font-size: 0.82rem; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; }
.member-contact a { font-size: 0.8rem; color: var(--text-mid); display: flex; align-items: center; justify-content: center; gap: 5px; }

/* ---- BREADCRUMB ---- */
.breadcrumb-bar { display: none; 
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  font-size: 0.85rem;
}
.breadcrumb { display: flex; align-items: center; gap: 8px; color: var(--text-mid); }
.breadcrumb a { color: var(--navy); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb i { font-size: 0.6rem; color: var(--text-light); }

/* ---- PAGE HERO ---- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 60px 0 50px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/svg%3E");
}
.page-hero h1 { color: white; font-size: clamp(1.6rem, 4vw, 2.8rem); margin-bottom: 10px; position: relative; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1.05rem; position: relative; }

/* ---- CONTENT ---- */
.page-content { padding: 60px 0; }
.content-body h2 { font-size: 1.5rem; margin: 28px 0 12px; color: var(--navy); }
.content-body h3 { font-size: 1.2rem; margin: 20px 0 10px; color: var(--navy-mid); }
.content-body p { margin-bottom: 16px; color: var(--text); }
.content-body ul, .content-body ol { margin: 0 0 16px 24px; }
.content-body li { margin-bottom: 6px; }
.content-body table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.content-body table th { background: var(--navy); color: white; padding: 10px 14px; font-size: 0.85rem; text-align: left; }
.content-body table td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.content-body blockquote {
  border-left: 4px solid var(--gold);
  padding: 12px 20px;
  background: var(--off-white);
  margin: 20px 0;
  font-style: italic;
  color: var(--text-mid);
}

/* ---- NEWS CARDS ---- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.news-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: white; transition: transform var(--transition), box-shadow var(--transition); }
.news-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px var(--shadow); }
.news-card-img { height: 180px; object-fit: cover; width: 100%; }
.news-card-body { padding: 20px; }
.news-date { font-size: 0.78rem; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.news-card h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--navy); }
.news-card p { font-size: 0.88rem; color: var(--text-mid); }

/* ---- FOOTER ---- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.75); margin-top: auto; }
.footer-top { padding: 60px 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 2fr;
  gap: 40px;
}
.footer-logo { height: 55px; width: auto; margin-bottom: 14px; }
.footer-tagline { font-size: 0.88rem; color: rgba(255,255,255,0.55); margin-bottom: 20px; font-style: italic; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-dark); }

.footer-heading {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 18px;
  font-family: var(--font-body);
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
}
.footer-links a i { color: var(--gold); font-size: 0.65rem; }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }

.contact-list { list-style: none; }
.contact-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 0.88rem; color: rgba(255,255,255,0.65); }
.contact-list i { color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.contact-list a { color: rgba(255,255,255,0.65); }
.contact-list a:hover { color: var(--gold); }

.cricket-quote { margin-top: 4px; }
.cricket-quote blockquote { font-size: 0.82rem; color: rgba(255,255,255,0.5); font-style: italic; line-height: 1.6; }
.cricket-quote cite { font-size: 0.75rem; color: var(--gold); margin-top: 8px; display: block; }

.footer-bottom {
  background: var(--navy-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0;
}
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.4); }
.admin-link { color: rgba(255,255,255,0.2); font-size: 0.78rem; }
.admin-link:hover { color: var(--gold); }

/* ---- ALERTS ---- */
.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; font-size: 0.9rem; display: flex; align-items: flex-start; gap: 10px; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error, .alert-danger { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-info { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }
.alert-warning { background: #fff3cd; color: #856404; border: 1px solid #ffeeba; }

/* ---- BACK TO TOP ---- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 42px;
  height: 42px;
  background: var(--navy);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2px solid var(--gold);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  z-index: 500;
  text-decoration: none;
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--gold); color: var(--navy-dark); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .header-inner { padding: 10px 16px; }
  .logo-img { height: 48px; }
  .hero { min-height: 440px; }
  .hero h1 { font-size: 1.8rem; }
  .section { padding: 50px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .committee-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .footer-cricket, .footer-sponsors { display: block; }  /* keep visible, scroll on mobile */
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .top-bar .container { flex-direction: column; gap: 4px; font-size: 0.75rem; }
}

/* =============================================
   APPLICATION FORMS
   ============================================= */
.container-narrow { max-width: 760px; }

.application-form { margin-top: 8px; }

.form-section {
    background: white;
    border: 1px solid var(--border, #dde3f0);
    border-radius: 10px;
    margin-bottom: 28px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(27,58,107,0.06);
}
.form-section-title {
    background: var(--navy, #1B3A6B);
    color: white;
    padding: 14px 24px;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.section-num {
    width: 26px;
    height: 26px;
    background: var(--gold, #C9A84C);
    color: var(--navy, #1B3A6B);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
}
.form-section .form-row-2,
.form-section .field-group { padding: 0 24px; margin-top: 20px; }
.form-section .field-group:last-child { padding-bottom: 24px; }

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 600px) { .form-row-2 { grid-template-columns: 1fr; } }

.field-group { margin-bottom: 4px; }
.field-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark, #1a1a2e);
    margin-bottom: 6px;
}
.field-group .req { color: #dc3545; }
.field-group input,
.field-group select,
.field-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--border, #dde3f0);
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text-dark, #1a1a2e);
    background: white;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
}
.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
    outline: none;
    border-color: var(--navy, #1B3A6B);
    box-shadow: 0 0 0 3px rgba(27,58,107,0.1);
}
.field-group textarea { resize: vertical; min-height: 90px; }

/* Errors */
.form-errors {
    background: #fff5f5;
    border: 1.5px solid #fc8181;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 24px;
    color: #c53030;
    font-size: 14px;
}
.form-errors i { margin-right: 8px; }
.form-errors ul { margin: 8px 0 0 20px; }
.form-errors li { margin-bottom: 4px; }

/* Submit row */
.form-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 0 8px;
    flex-wrap: wrap;
}
.form-disclaimer {
    font-size: 12px;
    color: var(--text-mid, #5a6a85);
    max-width: 400px;
    margin: 0;
}
.form-disclaimer i { margin-right: 4px; }
.btn-apply { padding: 14px 32px; font-size: 16px; }

/* Success state */
.application-success {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border, #dde3f0);
    box-shadow: 0 4px 20px rgba(27,58,107,0.08);
}
.success-icon {
    font-size: 64px;
    color: #38a169;
    margin-bottom: 20px;
}
.application-success h2 { font-size: 28px; margin-bottom: 12px; color: var(--navy, #1B3A6B); }
.application-success p  { color: var(--text-mid, #5a6a85); max-width: 480px; margin: 0 auto 28px; font-size: 16px; }

/* =============================================
   NEWS ARTICLE PAGE
   ============================================= */
.news-article-layout {
    max-width: 820px;
    margin: 0 auto;
}

.article-hero-img { margin-bottom: 28px; border-radius: 10px; overflow: hidden; }
.article-hero-img img { width: 100%; max-height: 480px; object-fit: cover; display: block; }

.article-meta { display: flex; gap: 20px; color: var(--text-mid, #5a6a85); font-size: 13px; margin-bottom: 12px; flex-wrap: wrap; }
.article-meta i { margin-right: 5px; }

.article-title { font-size: clamp(1.6rem, 4vw, 2.2rem); color: var(--navy, #1B3A6B); margin-bottom: 16px; line-height: 1.25; }
.article-excerpt { font-size: 1.1rem; color: var(--text-mid, #5a6a85); border-left: 3px solid var(--gold, #C9A84C); padding-left: 16px; margin-bottom: 24px; font-style: italic; }
.article-body { line-height: 1.85; font-size: 15px; }
.article-body h2, .article-body h3 { color: var(--navy, #1B3A6B); margin: 28px 0 12px; }
.article-body p { margin-bottom: 16px; }
.article-body img { border-radius: 6px; margin: 16px 0; }
.article-footer { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border, #dde3f0); }

/* News sidebar */
.news-sidebar { position: sticky; top: 100px; }
.sidebar-widget { background: white; border-radius: 10px; border: 1px solid var(--border, #dde3f0); padding: 20px; }
.widget-title { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--navy, #1B3A6B); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--gold, #C9A84C); }
.sidebar-news-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border, #dde3f0); text-decoration: none; color: inherit; align-items: center; }
.sidebar-news-item:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-news-item:hover .sidebar-news-title { color: var(--navy, #1B3A6B); }
.sidebar-thumb { width: 60px; height: 50px; object-fit: cover; border-radius: 5px; flex-shrink: 0; }
.sidebar-thumb-placeholder { width: 60px; height: 50px; background: var(--light-bg, #f0f4fa); border-radius: 5px; display: flex; align-items: center; justify-content: center; color: var(--text-mid, #5a6a85); flex-shrink: 0; }
.sidebar-news-title { font-size: 13px; font-weight: 600; line-height: 1.3; margin-bottom: 3px; }
.sidebar-news-date { font-size: 11px; color: var(--text-mid, #5a6a85); }

/* Make news cards on homepage clickable */
.news-card { cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; }
.news-card:hover { transform: translateY(-3px); }
.news-card h3 a { color: inherit; text-decoration: none; }
.news-card h3 a:hover { color: var(--navy, #1B3A6B); }

/* =============================================
   APPLICATION MODALS & FILE UPLOAD
   ============================================= */

/* Intro text above form */
.app-intro { background: white; border-left: 4px solid var(--gold, #C9A84C); padding: 18px 22px; border-radius: 0 8px 8px 0; margin-bottom: 28px; font-size: 15px; line-height: 1.7; box-shadow: 0 2px 8px rgba(27,58,107,0.06); }

/* Terms row */
.terms-row { display: flex; align-items: center; gap: 12px; }
.terms-row input[type=checkbox] { width: 18px; height: 18px; cursor: pointer; flex-shrink: 0; accent-color: var(--navy, #1B3A6B); }
.terms-row label { font-size: 14px; cursor: pointer; line-height: 1.4; }
.terms-link { background: none; border: none; color: var(--navy, #1B3A6B); text-decoration: underline; cursor: pointer; font-size: inherit; font-family: inherit; padding: 0; font-weight: 600; }
.terms-link:hover { color: var(--gold, #C9A84C); }

/* File upload area */
.upload-hint { font-size: 12px; font-weight: 400; color: var(--text-mid, #5a6a85); }
.file-upload-area { border: 2px dashed var(--border, #dde3f0); border-radius: 8px; transition: border-color 0.2s, background 0.2s; overflow: hidden; }
.file-upload-area input[type=file] { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.file-upload-area.drag-over { border-color: var(--navy, #1B3A6B); background: rgba(27,58,107,0.04); }
.file-upload-label { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 20px; cursor: pointer; text-align: center; gap: 8px; }
.file-upload-label:hover { background: rgba(27,58,107,0.03); }
.file-upload-label i { font-size: 2rem; color: var(--text-mid, #5a6a85); }
.file-upload-label span { font-size: 14px; color: var(--text-mid, #5a6a85); font-weight: 500; }
.file-upload-label small { font-size: 12px; color: #aaa; }
.file-selected { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #f0fdf4; }
.file-selected i { color: #38a169; font-size: 1.2rem; }
.file-selected span { flex: 1; font-size: 13px; font-weight: 600; color: #166534; word-break: break-all; }
.file-clear { background: none; border: none; font-size: 18px; cursor: pointer; color: #666; padding: 0 4px; }

/* Modal backdrop */
.app-modal-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 900; }
.app-modal-backdrop.open { display: block; }

/* Modal box */
.app-modal { display: none; position: fixed; inset: 0; z-index: 901; align-items: center; justify-content: center; padding: 20px; }
.app-modal.open { display: flex; }
.app-modal-box { background: white; border-radius: 12px; width: 100%; max-width: 620px; max-height: 85vh; display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.app-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--border, #dde3f0); flex-shrink: 0; }
.app-modal-header h3 { font-size: 18px; color: var(--navy, #1B3A6B); margin: 0; }
.app-modal-close { background: none; border: none; font-size: 22px; cursor: pointer; color: #999; line-height: 1; padding: 0; }
.app-modal-close:hover { color: #333; }
.app-modal-body { padding: 24px; overflow-y: auto; flex: 1; font-size: 14px; line-height: 1.7; color: var(--text-dark, #1a1a2e); }
.app-modal-body h3 { color: var(--navy, #1B3A6B); margin: 0 0 12px; }
.app-modal-body p { margin-bottom: 12px; }
.app-modal-footer { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 24px; border-top: 1px solid var(--border, #dde3f0); flex-shrink: 0; }

/* Rendered form field extras */
.radio-label { display:flex; align-items:center; gap:8px; margin-bottom:8px; cursor:pointer; font-size:14px; }
.radio-label input[type=radio] { width:16px; height:16px; accent-color:var(--navy,#1B3A6B); }
.checkbox-label-pub { display:flex; align-items:center; gap:8px; cursor:pointer; font-size:14px; }
.checkbox-label-pub input[type=checkbox] { width:16px; height:16px; accent-color:var(--navy,#1B3A6B); }

/* Agreement checkboxes - locked until modal agreed */
.terms-row input[type=checkbox]:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}
.terms-row input[type=checkbox]:disabled + label {
    color: var(--text-mid, #5a6a85);
}
.terms-row input[type=checkbox]:disabled + label .terms-link::after {
    content: ' (click to read & agree)';
    font-size: 11px;
    font-weight: 400;
    color: var(--text-mid, #5a6a85);
    text-decoration: none;
}

/* Shake animation for agreement rows when submit attempted without agreeing */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%       { transform: translateX(-6px); }
    40%       { transform: translateX(6px); }
    60%       { transform: translateX(-4px); }
    80%       { transform: translateX(4px); }
}
/* Field error highlight */
.field-group input.is-error,
.field-group select.is-error,
.field-group textarea.is-error { border-color: #dc3545 !important; }

/* Sponsor list in footer */
.sponsor-list { list-style:none; padding:0; margin:0; }
.sponsor-list li { padding:5px 0; border-bottom:1px solid rgba(255,255,255,0.06); }
.sponsor-list li:last-child { border-bottom:none; }
.sponsor-list a, .sponsor-list span { color:rgba(255,255,255,0.75); font-size:0.88rem; transition:color 0.2s; }
.sponsor-list a:hover { color:var(--gold); }
.sponsor-list i { margin-right:6px; font-size:0.7rem; opacity:0.6; }

/* Gallery photo count badge */
.album-card { position: relative; }
.album-photo-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    background: rgba(0,0,0,0.65);
    color: white;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    gap: 4px;
}
.album-photo-badge span { font-weight: 400; opacity: 0.85; }

/* Form section body wrapper */
.form-section-body { padding: 20px 24px 24px; }
.form-section-body .form-row-2 { margin-bottom: 4px; }
.form-section-body .field-group { margin-bottom: 16px; }
.form-section-body .field-group:last-child { margin-bottom: 0; }

/* Inline field error */
.inline-error {
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
}

/* Shake animation for agreement section */
@keyframes shake {
    0%,100% { transform: translateX(0); }
    20%      { transform: translateX(-5px); }
    40%      { transform: translateX(5px); }
    60%      { transform: translateX(-3px); }
    80%      { transform: translateX(3px); }
}
.shake { animation: shake 0.4s ease; }

/* ── Public Document List ─────────────────────────────────────────────────── */
.doc-list  { list-style:none; padding:0; margin:0 0 16px; display:flex; flex-direction:column; gap:10px; }
.doc-item  { display:flex; align-items:center; gap:14px; padding:14px 16px; background:white; border:1px solid var(--border); border-radius:8px; transition:box-shadow 0.15s; }
.doc-item:hover { box-shadow:0 2px 8px rgba(0,0,0,0.08); }
.doc-icon  { font-size:1.5rem; color:var(--navy); flex-shrink:0; width:28px; text-align:center; }
.doc-info  { flex:1; min-width:0; }
.doc-title { font-weight:600; color:var(--navy); text-decoration:none; display:block; }
.doc-title:hover { color:var(--gold); }
.doc-desc  { font-size:13px; color:var(--text-muted); display:block; margin-top:2px; }
.doc-download { flex-shrink:0; font-size:12px; white-space:nowrap; }
@media (max-width:600px) {
  .doc-item { flex-wrap:wrap; }
  .doc-download { width:100%; text-align:center; }
}

/* ── Hero background image text shield ───────────────────────────────────────
   Gradient overlay on the left so text stays legible over any background image */
.hero-text-shield {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.65) 0%,
        rgba(0,0,0,0.45) 50%,
        rgba(0,0,0,0.10) 75%,
        rgba(0,0,0,0) 100%
    );
    z-index: 0;
}

/* ── Nav item icons ───────────────────────────────────────────────────────── */
.nav-item-icon {
    margin-right: 5px;
    font-size: 0.85em;
    opacity: 0.85;
    flex-shrink: 0;
}
.nav-link .nav-item-icon,
.mobile-nav-link .nav-item-icon { color: inherit; }
.dropdown-menu a .nav-item-icon { opacity: 0.75; }

/* ══════════════════════════════════════════════════════════════
   PLAYER CARDS & PROFILE
   ══════════════════════════════════════════════════════════════ */

/* ── Team grid ───────────────────────────────────────────────── */
.player-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.player-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
    display: block;
}
.player-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(27,58,107,0.15);
    color: inherit;
}

.player-card-photo {
    position: relative;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--navy-dark), var(--navy));
    overflow: hidden;
}
.player-card-photo img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.player-card-initials {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem; font-weight: 900; color: rgba(255,255,255,0.25);
    font-family: var(--font-head);
}
.player-card-number {
    position: absolute; top: 10px; right: 10px;
    background: rgba(0,0,0,0.5); color: white;
    font-size: 11px; font-weight: 700; padding: 3px 7px; border-radius: 4px;
}
.player-card-badge {
    position: absolute; top: 10px; left: 10px;
    background: var(--gold); color: var(--navy);
    font-size: 10px; font-weight: 800; text-transform: uppercase;
    letter-spacing: 0.08em; padding: 3px 8px; border-radius: 4px;
}
.player-card-info {
    padding: 14px 16px;
    border-top: 3px solid var(--navy);
}
.player-card-name {
    font-weight: 700; color: var(--navy); font-size: 1rem;
    font-family: var(--font-head);
}
.player-card-role {
    font-size: 12px; color: var(--gold); font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.06em; margin-top: 3px;
}
.player-card-style {
    font-size: 11px; color: var(--text-muted); margin-top: 4px; line-height: 1.4;
}

/* ── Player profile hero ─────────────────────────────────────── */
.player-profile-hero {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    padding: 48px 0;
    color: white;
}
.player-profile-hero-inner {
    display: flex; align-items: flex-end; gap: 36px;
}
.player-profile-photo-wrap { flex-shrink: 0; }
.player-profile-photo {
    width: 160px; height: 160px;
    border-radius: 12px; object-fit: cover;
    border: 4px solid rgba(255,255,255,0.3);
    display: block;
}
.player-profile-initials-lg {
    width: 160px; height: 160px;
    background: rgba(255,255,255,0.1); border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 4rem; font-weight: 900; color: rgba(255,255,255,0.3);
    font-family: var(--font-head);
    border: 4px solid rgba(255,255,255,0.15);
}
.player-profile-section {
    font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.1em; opacity: 0.7; margin-bottom: 6px;
}
.player-profile-name {
    font-size: clamp(1.8rem, 4vw, 3rem); color: white;
    font-family: var(--font-head); line-height: 1.1; margin-bottom: 12px;
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.player-captain-badge {
    background: var(--gold); color: var(--navy);
    font-size: 12px; font-weight: 900; padding: 3px 8px; border-radius: 4px;
    vertical-align: middle;
}
.player-profile-tags {
    display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px;
}
.player-tag {
    background: rgba(255,255,255,0.15); color: white;
    font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 20px;
}
.player-profile-style-tags {
    display: flex; gap: 16px; font-size: 13px; opacity: 0.8;
}
.player-profile-style-tags i { margin-right: 5px; }

/* ── Profile layout ──────────────────────────────────────────── */
.player-profile-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 28px;
    align-items: start;
    padding-top: 8px;
}
/* Ensure cards on player profile have breathing room */
.player-profile-main .card,
.player-profile-side .card {
    overflow: hidden;
}
.player-profile-main .card + .card,
.player-profile-side .card + .card {
    margin-top: 0;
}
.card-title-sm { font-size: 1rem; margin: 0; }

/* ── Awards list ─────────────────────────────────────────────── */
.award-list { list-style: none; padding: 0; margin: 0; }
.award-item {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 14px 20px; border-bottom: 1px solid var(--border);
}
.award-item:last-child { border-bottom: none; }
.award-icon {
    width: 32px; height: 32px; border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    display: flex; align-items: center; justify-content: center;
    color: var(--navy); font-size: 14px; flex-shrink: 0;
}
.award-title { font-weight: 700; color: var(--navy); }
.award-meta { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
    .player-profile-layout { grid-template-columns: 1fr; }
    .player-profile-side { order: -1; }
}
@media (max-width: 700px) {
    .player-profile-hero-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
    .player-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
}

/* ── Images inserted via news editor ─────────────────────────── */
.content-body img, .article-body img {
    max-width: 100%; height: auto; border-radius: 6px; display: block; margin: 16px auto;
}
.content-body .img-full, .article-body .img-full {
    width: 100%; margin: 20px 0;
}
.content-body .img-left, .article-body .img-left {
    float: left; margin: 4px 24px 12px 0; max-width: 45%;
}
.content-body .img-right, .article-body .img-right {
    float: right; margin: 4px 0 12px 24px; max-width: 45%;
}
@media (max-width: 600px) {
    .content-body .img-left, .article-body .img-left,
    .content-body .img-right, .article-body .img-right {
        float: none; max-width: 100%; margin: 12px 0;
    }
}
