:root {
  /* Light Theme - Base Colors */
  --bg: #F8F9FA;
  --surface: #FFFFFF;
  --text: #1A1F36;
  --muted: #5A6278;
  --primary: #0057B7;
  --accent: #FFD700;
  --danger: #DC3545;
  --success: #28A745;
  
  /* Light Theme - Semantic Colors */
  --border: rgba(26, 31, 54, 0.08);
  --border-light: rgba(26, 31, 54, 0.04);
  --shadow: 0 24px 80px rgba(26, 31, 54, 0.08);
  --shadow-sm: 0 12px 32px rgba(26, 31, 54, 0.06);
  
  /* Spacing & Sizing */
  --radius: 24px;
  --radius-sm: 16px;
  --radius-xs: 8px;
  --header-height: 88px;
  
  /* Header & Navigation */
  --bg-color: rgba(255, 255, 255, 0.92);
  --text-color: #1A1F36;
  
  /* Team/Sports Section Colors */
  --team-bg: #031326;
  --team-panel: rgba(8, 18, 46, 0.96);
  --team-panel-soft: rgba(10, 22, 54, 0.82);
  --team-border: rgba(255, 255, 255, 0.08);
  --team-muted: #a8b8d2;
  --team-accent: #5aa4ff;
  --team-accent-strong: #1f6cff;
  --team-shadow: 0 28px 90px rgba(3, 12, 42, 0.28);
  --team-radius: 28px;
  
  /* Admin/Card Colors */
  --card-bg: #FFFFFF;
  --card-border: rgba(26, 31, 54, 0.08);
  --panel-bg: rgba(26, 31, 54, 0.04);
  
  /* Button & Interactive Colors */
  --button-primary-bg: #0057B7;
  --button-primary-text: #FFFFFF;
  --button-primary-hover: #003D80;
  --button-secondary-bg: rgba(0, 87, 183, 0.1);
  --button-secondary-text: #1A1F36;
  --button-secondary-hover: rgba(0, 87, 183, 0.18);
  --button-danger-bg: #DC3545;
  --button-danger-hover: #C82333;
  
  /* Input & Form Colors */
  --input-bg: #FFFFFF;
  --input-border: rgba(26, 31, 54, 0.08);
  --input-text: #1A1F36;
  --input-placeholder: #5A6278;
  --input-focus-border: #0057B7;
  
  /* Login Panel Colors (light theme - use white text on dark overlay) */
  --login-text: #FFFFFF;
  --login-label-text: #FFFFFF;
  --login-input-bg: rgba(255, 255, 255, 0.12);
  --login-input-border: rgba(255, 255, 255, 0.18);
  --login-input-text: #FFFFFF;
  --login-input-placeholder: rgba(255, 255, 255, 0.7);
  --login-panel-bg: rgba(255, 255, 255, 0.14);
  --login-panel-border: rgba(255, 255, 255, 0.16);
}

.dark-theme {
  /* Dark Theme - Base Colors */
  --bg: #1A1F36;
  --surface: #2A3441;
  --text: #F8F9FA;
  --muted: #A0AEC0;
  --primary: #0057B7;
  --accent: #FFD700;
  --danger: #FF6B6B;
  --success: #51CF66;
  
  /* Dark Theme - Semantic Colors */
  --border: rgba(248, 249, 250, 0.08);
  --border-light: rgba(248, 249, 250, 0.04);
  --shadow: 0 24px 80px rgba(26, 31, 54, 0.2);
  --shadow-sm: 0 12px 32px rgba(26, 31, 54, 0.15);
  
  /* Header & Navigation */
  --bg-color: rgba(26, 31, 54, 0.88);
  --text-color: #F8F9FA;
  
  /* Admin/Card Colors */
  --card-bg: #2A3441;
  --card-border: rgba(248, 249, 250, 0.08);
  --panel-bg: rgba(248, 249, 250, 0.04);
  
  /* Button & Interactive Colors */
  --button-primary-bg: #0057B7;
  --button-primary-text: #FFFFFF;
  --button-primary-hover: #004599;
  --button-secondary-bg: rgba(0, 87, 183, 0.15);
  --button-secondary-text: #F8F9FA;
  --button-secondary-hover: rgba(0, 87, 183, 0.25);
  --button-danger-bg: #FF6B6B;
  --button-danger-hover: #FA5252;
  
  /* Input & Form Colors */
  --input-bg: #1A1F36;
  --input-border: rgba(248, 249, 250, 0.08);
  --input-text: #F8F9FA;
  --input-placeholder: #A0AEC0;
  --input-focus-border: #0057B7;
  
  /* Login Panel Colors (dark theme - use same white text on dark overlay) */
  --login-text: #FFFFFF;
  --login-label-text: #FFFFFF;
  --login-input-bg: rgba(255, 255, 255, 0.12);
  --login-input-border: rgba(255, 255, 255, 0.18);
  --login-input-text: #FFFFFF;
  --login-input-placeholder: rgba(255, 255, 255, 0.7);
  --login-panel-bg: rgba(255, 255, 255, 0.14);
  --login-panel-border: rgba(255, 255, 255, 0.16);
}


* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Montserrat', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background 0.3s ease, color 0.3s ease;
}

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

.resp-img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  height: var(--header-height);
  background: var(--bg-color);
  color: var(--text-color);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
  padding: 0 0;
}

.desktop-nav {
  display: none;
  gap: 1.5rem;
  margin-left: auto;
}

.desktop-nav a {
  font-weight: 600;
  color: var(--text);
  transition: color 0.3s ease;
}

.desktop-nav a:hover {
  color: var(--primary);
}

.brand-logo {
  display: flex;
  align-items: center;
  width: 82px;
  height: 70px;
}

.brand-subtitle {
  margin: 0 0 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--primary);
}

.brand-text h1 {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  cursor: pointer;
}

.menu-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  margin: 4px 0;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  color: var(--text);
  z-index: 19;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.mobile-menu li + li {
  margin-top: 1.5rem;
}

.mobile-menu a {
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 600;
}

.section {
  padding: clamp(5rem, 6vw, 8rem) 0;
}

.hero {
  position: relative;
  height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: var(--header-height);
  box-shadow: inset 0 12px 24px rgba(26, 31, 54, 0.2);
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 31, 54, 0.28), rgba(26, 31, 54, 0.82));
  z-index: 2;
}

.hero-content {
  position: relative;
  text-align: center;
  color: #fff;
  max-width: 900px;
  padding: 0 1rem;
  z-index: 3;
}

.hero-content .eyebrow {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 215, 0, 0.16);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.85rem;
  border-radius: 999px;
}

.hero-content h2 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-tag {
  display: inline-flex;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
}

.section-header h3 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.calendar-grid {
  display: grid;
  gap: 1.5rem;
}

.calendar-featured {
  display: grid;
  gap: 1rem;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.competition-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.competition-link:hover .calendar-card,
.competition-link:focus-visible .calendar-card,
.competition-link:hover .mini-card,
.competition-link:focus-visible .mini-card {
  transform: translateY(-2px);
}

.calendar-featured .competition-link,
.calendar-list .competition-link {
  display: block;
}

.card-image {
  min-height: 320px;
  position: relative;
  overflow: hidden;
}

.card-details {
  padding: 1.75rem;
}

.card-date {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-weight: 700;
}

.card-details h4 {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
}

.card-details p {
  margin: 0;
  color: var(--muted);
}

.calendar-list {
  display: grid;
  gap: 1rem;
}

.mini-card {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(26, 31, 54, 0.06);
}

.mini-date {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 700;
  color: var(--primary);
}

.mini-card h5 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.mini-card p {
  margin: 0;
  color: var(--muted);
}

.news-grid {
  display: grid;
  gap: 1.5rem;
}

.news-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 80px rgba(26, 31, 54, 0.15);
}

.news-image {
  min-height: 220px;
  position: relative;
  overflow: hidden;
}

.news-content {
  padding: 1.5rem;
}

.news-date {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--primary);
  font-weight: 700;
}

.news-content h4 {
  margin: 0 0 1rem;
  font-size: 1.3rem;
}

.news-link {
  font-weight: 700;
  color: var(--text);
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.news-link:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.about-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.about-copy {
  max-width: 640px;
}

.about-copy h3 {
  margin-top: 0.5rem;
}

.about-copy p {
  margin: 1rem 0;
  color: var(--muted);
}

.about-image {
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
}

.achievements-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-items: center;
}

.achievement-img {
  width: 100%;
  max-width: 580px;
  height: 316px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 12px 32px rgba(26, 31, 54, 0.12);
}

.achievement-img:hover {
  transform: scale(1.03);
  box-shadow: 0 24px 48px rgba(26, 31, 54, 0.2);
}

.cta-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.5rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary), var(--text));
  color: #fff;
}

.cta-eyebrow {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
}

.cta-panel h3 {
  margin: 0;
  font-size: clamp(1.75rem, 2.5vw, 2.8rem);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 1rem 1.5rem;
  background: var(--accent);
  color: var(--text);
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.site-footer {
  padding: 3rem 0 2rem;
  border-top: 4px solid var(--accent);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-footer h4 {
  margin: 0 0 0.75rem;
}

.social-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.social-list li + li {
  margin-top: 0.75rem;
}

.social-list a {
  color: var(--text);
}

.footer-copy {
  color: var(--muted);
}

.dev-login-link {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--surface);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.dev-login-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent);
}

.theme-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  z-index: 100;
}

.theme-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 32px 80px rgba(26, 31, 54, 0.15);
}

.theme-icon {
  font-size: 1.5rem;
}

:root {
  --news-bg: #0b1530;
  --news-surface: rgba(10, 20, 48, 0.92);
  --news-panel: rgba(12, 22, 54, 0.96);
  --news-border: rgba(255, 255, 255, 0.08);
  --news-soft: rgba(17, 27, 58, 0.85);
  --news-glow: rgba(21, 116, 255, 0.22);
  --news-button: #4ea4ff;
  --news-button-strong: #1f6cff;
  --news-text: #eef3ff;
  --news-muted: #aab7d3;
}

.news-page {
  background: radial-gradient(circle at top, rgba(50, 110, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #081224 0%, #081228 45%, #0b1530 100%);
  color: var(--news-text);
  padding: calc(var(--header-height) + 2rem) 0 3rem;
}

.news-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 0 1.5rem;
}

.news-hero-copy {
  max-width: 720px;
}

.news-eyebrow {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  background: rgba(79, 142, 255, 0.12);
  color: var(--news-button);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.85rem;
  font-weight: 700;
}

.news-hero h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.25rem, 3vw, 3.2rem);
  line-height: 1.05;
}

.news-hero p {
  max-width: 680px;
  margin: 0;
  color: var(--news-muted);
  font-size: 1rem;
}

.news-search-panel {
  width: 100%;
  display: grid;
  gap: 1rem;
  padding-bottom: 0.5rem;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--news-text);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  margin-bottom: 0.5rem;
}

.search-field svg {
  color: var(--news-muted);
}

.search-field input {
  border: none;
  background: transparent;
  color: var(--news-text);
  width: 100%;
  font-size: 1rem;
  outline: none;
}

.search-field input::placeholder {
  color: rgba(234, 241, 255, 0.55);
}

.search-field:focus-within {
  border-color: var(--news-button);
  box-shadow: 0 0 0 3px rgba(78, 164, 255, 0.15);
  transform: translateY(-1px);
}

.news-page .news-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  align-items: start;
}

.news-page .news-sidebar {
  position: relative;
  z-index: 1;
}

.news-page .sidebar-panel {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  padding: 1.5rem;
  border-radius: 28px;
  background: rgba(11, 21, 48, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 55px rgba(3, 14, 44, 0.35);
}

.news-page .sidebar-title {
  margin: 0 0 1.35rem;
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--news-muted);
}

.news-page .category-scroll {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.news-page .category-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 0.9rem 1.2rem;
  border-radius: 18px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.04);
  color: var(--news-text);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.news-page .category-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(78, 164, 255, 0.28);
}

.news-page .category-btn.active {
  background: linear-gradient(135deg, rgba(78, 164, 255, 0.22), rgba(31, 108, 255, 0.28));
  color: #ffffff;
  border-color: rgba(78, 164, 255, 0.45);
  box-shadow: 0 18px 40px rgba(7, 31, 85, 0.32);
}

.news-page .news-collection {
  width: 100%;
}

.news-page .news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.news-page .news-card {
  background: rgba(15, 25, 52, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.18);
  transform: translateY(0);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.news-page .news-card:hover {
  transform: translateY(-10px);
  border-color: rgba(78, 164, 255, 0.32);
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.28);
}

.news-page .news-card-media {
  position: relative;
  overflow: hidden;
  min-height: 220px;
}

.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.news-card:hover .news-card-media img {
  transform: scale(1.08);
}

.news-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(17, 26, 56, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--news-button);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.news-card-body {
  padding: 1.6rem;
}

.news-card h3 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  line-height: 1.25;
}

.news-card p {
  margin: 0 0 1.5rem;
  color: var(--news-muted);
  line-height: 1.75;
}

.news-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.news-card time {
  color: var(--news-muted);
  font-size: 0.95rem;
}

.read-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--news-button), var(--news-button-strong));
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.read-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 35px rgba(33, 141, 255, 0.28);
}

.news-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(3, 11, 28, 0.8);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  z-index: 200;
}

.news-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  width: min(980px, 100%);
  border-radius: 28px;
  background: rgba(12, 21, 47, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 45px 120px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  transform: translateY(30px);
  transition: transform 0.35s ease;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 3rem);
}

.news-modal.active .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
  z-index: 2;
}

.modal-close:hover {
  background: rgba(78, 164, 255, 0.18);
  transform: scale(1.05);
}

.modal-image-wrapper {
  position: relative;
  min-height: 340px;
  overflow: hidden;
}

.modal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-body {
  padding: 2rem;
  overflow-y: auto;
  min-height: 0;
  flex: 1 1 auto;
}

.modal-category {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(78, 164, 255, 0.16);
  color: var(--news-button);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  font-weight: 700;
}

.modal-body h3 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.1;
}

.modal-meta {
  margin-bottom: 1.5rem;
  color: var(--news-muted);
  font-size: 0.95rem;
}

.modal-text {
  margin: 0;
  color: var(--news-muted);
  line-height: 1.82;
  font-size: 1rem;
}

@media (max-width: 1080px) {
  .news-layout {
    grid-template-columns: 1fr;
  }

  .sidebar-panel {
    position: relative;
    top: 0;
  }
}

@media (max-width: 860px) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .news-page {
    padding-top: calc(var(--header-height) + 1rem);
  }

  .news-page .news-hero {
    align-items: stretch;
  }

  .news-page .news-search-panel {
    max-width: 100%;
  }

  .news-page .sidebar-panel {
    background: rgba(11, 21, 48, 0.95);
    padding: 1.25rem;
  }

  .news-page .category-scroll {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
  }

  .news-page .category-scroll::-webkit-scrollbar {
    display: none;
  }

  .news-page .category-btn {
    min-width: 170px;
    flex: 0 0 auto;
  }

  .news-page .news-grid {
    grid-template-columns: 1fr;
  }

  .news-page .modal-body {
    padding: 1.5rem;
  }
}

@media (max-width: 520px) {
  .news-hero {
    gap: 1rem;
  }

  .news-hero h2 {
    font-size: 2rem;
  }
}

.team-page {
  background: radial-gradient(circle at top, rgba(39, 91, 190, 0.12), transparent 30%),
    linear-gradient(180deg, #020816 0%, #031326 40%, #081a38 100%);
  color: #f4f7ff;
  min-height: calc(100vh - var(--header-height));
  padding-top: calc(var(--header-height) + 2rem);
}

.team-hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
}

.hero-slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.2s ease, transform 12s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 22, 0.35), rgba(1, 7, 25, 0.95));
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 980px;
  text-align: center;
  animation: fadeInUp 1.1s ease both;
}

.hero-eyebrow {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  background: rgba(90, 164, 255, 0.15);
  color: var(--team-accent);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.team-cta {
  display: flex;
  justify-content: flex-end;
  padding: 2rem 1.5rem 0;
}

.glow-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(90, 164, 255, 0.24), rgba(31, 108, 255, 0.32));
  border: 1px solid rgba(90, 164, 255, 0.35);
  color: #f7fbff;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 18px 40px rgba(30, 100, 230, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.glow-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 55px rgba(31, 108, 255, 0.28);
  background: linear-gradient(135deg, rgba(90, 164, 255, 0.4), rgba(31, 108, 255, 0.48));
}

.team-section {
  padding: 3rem 1.5rem;
}

.team-section .section-header {
  max-width: 980px;
  margin: 0 auto 2rem;
}

.team-section .section-tag {
  color: var(--team-accent);
}

.team-section h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
}

.subsection {
  max-width: 1140px;
  margin: 0 auto 3rem;
}

.subsection-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.subsection-header h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 2rem);
}

.team-grid {
  display: grid;
  gap: 1.5rem;
}

.leaders-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.coaches-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.athletes-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.profile-card-item {
  background: rgba(7, 16, 42, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--team-radius);
  overflow: hidden;
  box-shadow: var(--team-shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  cursor: pointer;
}

.profile-card-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 35px 90px rgba(13, 36, 86, 0.32);
  border-color: rgba(90, 164, 255, 0.28);
}

.profile-card-item img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.profile-card-item:hover img {
  transform: scale(1.06);
}

.profile-card-body {
  padding: 1.4rem;
}

.profile-card-body h4,
.profile-card-body p {
  margin: 0;
}

.profile-card-body h4 {
  margin-bottom: 0.65rem;
  font-size: 1.1rem;
}

.profile-card-body p {
  color: var(--team-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.profile-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(2, 6, 20, 0.85);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 250;
}

.profile-modal.active {
  opacity: 1;
  visibility: visible;
}

.profile-card {
  width: min(1080px, 100%);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.5rem;
  background: rgba(9, 20, 46, 0.97);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 120px rgba(1, 9, 29, 0.5);
  transform: scale(0.96);
  transition: transform 0.35s ease;
}

.profile-modal.active .profile-card {
  transform: scale(1);
}

.profile-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
  z-index: 5;
}

.profile-close:hover {
  background: rgba(90, 164, 255, 0.18);
  transform: scale(1.05);
}

.profile-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 32px;
}

.profile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.profile-tag {
  display: inline-flex;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(90, 164, 255, 0.14);
  color: var(--team-accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
}

.profile-info h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.profile-position {
  margin: 0;
  color: var(--team-muted);
  font-size: 1rem;
}

.profile-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.profile-details div {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1rem 1.1rem;
}

.profile-details span {
  display: block;
  color: var(--team-muted);
  font-size: 0.82rem;
  margin-bottom: 0.35rem;
}

.profile-details strong {
  display: block;
  color: #f6f8ff;
}

.profile-extra {
  margin-top: 1rem;
  color: var(--team-muted);
  line-height: 1.8;
}

.profile-achievements {
  margin-top: 1.5rem;
}

.profile-achievements h4 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
}

.profile-achievements ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--team-muted);
}

.profile-achievements li {
  margin-bottom: 0.75rem;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1120px) {
  .coaches-grid,
  .athletes-grid,
  .leaders-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .team-hero {
    min-height: 72vh;
    padding: 0 1rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 8vw, 3.25rem);
  }

  .team-cta {
    justify-content: center;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .profile-modal {
    align-items: flex-end;
    padding: 1rem;
  }

  .profile-card {
    border-radius: 24px;
  }

  .profile-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .team-hero {
    min-height: 60vh;
  }

  .hero-copy {
    padding: 0 0.5rem;
  }

  .hero-eyebrow {
    font-size: 0.82rem;
    padding: 0.7rem 1.2rem;
  }

  .glow-button {
    width: 100%;
  }
}

[data-observe] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

[data-observe].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Gallery Styles */
.gallery-section {
  padding: clamp(4rem, 6vw, 8rem) 0;
  background: var(--bg);
  color: var(--text);
  transition: background 0.3s ease, color 0.3s ease;
}

.gallery-container {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 3rem;
}

.gallery-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  height: fit-content;
}

.gallery-sidebar h3 {
  margin: 0 0 1.5rem;
  font-size: 1.5rem;
  color: var(--text);
}

.category-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.category-btn {
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.category-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.category-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.gallery-main {
  display: flex;
  flex-direction: column;
}

.albums-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.album-card {
  background: var(--surface);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(26, 31, 54, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.album-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(26, 31, 54, 0.16);
}

.album-cover {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.album-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.album-card:hover .album-cover img {
  transform: scale(1.05);
}

.album-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 31, 54, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.album-card:hover .album-overlay {
  opacity: 1;
}

.album-count {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  background: rgba(0, 87, 183, 0.8);
  padding: 0.5rem 1rem;
  border-radius: 999px;
}

.album-info {
  padding: 1.25rem;
}

.album-info h4 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--text);
}

.album-date,
.album-location {
  margin: 0.25rem 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Album Photos Modal */
.album-photos-modal {
  position: fixed;
  inset: 0;
  background: rgba(26, 31, 54, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.album-photos-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 900px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: var(--border);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text);
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: var(--primary);
  color: #fff;
}

.modal-photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.modal-photos-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

@media (min-width: 768px) {
  .header-inner {
    gap: 2rem;
  }

  .desktop-nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .hero {
    min-height: 88vh;
  }

  .calendar-grid {
    grid-template-columns: 1.8fr 1fr;
    align-items: start;
  }

  .calendar-featured {
    grid-row: span 2;
  }

  .news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
  }

  .achievements-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .site-header {
    padding: 0 1rem;
  }

  .container {
    width: min(100%, calc(100% - 2rem));
  }

  .section {
    padding: 4rem 0;
  }

  .hero-content h2 {
    font-size: 2.3rem;
  }

  .calendar-grid,
  .news-grid,
  .about-grid,
  .achievements-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .calendar-featured {
    grid-row: auto;
  }

  .about-image {
    min-height: 260px;
  }

  .cta-panel {
    flex-direction: column;
    text-align: center;
  }

  .cta-button {
    width: 100%;
  }

  /* Gallery mobile responsive */
  .gallery-container {
    grid-template-columns: 1fr;
  }

  .gallery-sidebar {
    position: static;
    top: auto;
    margin-bottom: 2rem;
  }

  .category-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .category-btn {
    flex: 1;
    min-width: 80px;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }

  .albums-grid {
    grid-template-columns: 1fr;
  }

  .modal-photos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Calendar & Competition Styles */
.main-content {
  margin-top: var(--header-height);
  padding: 2rem 0 3rem;
  min-height: calc(100vh - var(--header-height));
  background: var(--bg);
  color: var(--text);
  transition: background 0.3s ease, color 0.3s ease;
}

.main-content h2 {
  margin: 0 0 2rem;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.calendar-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding: 1.75rem;
  background: var(--surface);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 32px rgba(26, 31, 54, 0.08);
}

.filter-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-block label {
  font-weight: 600;
  color: var(--text);
  font-size: 0.9rem;
}

.filter-block select,
.filter-block input {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.filter-block select:focus,
.filter-block input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 87, 183, 0.1);
}

.competitions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.competition-card {
  background: var(--surface);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(26, 31, 54, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  cursor: pointer;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
}

.competition-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(26, 31, 54, 0.16);
  border-color: var(--primary);
}

.competition-image {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.competition-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  display: block;
}

.competition-card:hover .competition-image img {
  transform: scale(1.05);
}

.competition-status {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(26, 31, 54, 0.9);
  color: #fff;
}

.status-completed {
  background: rgba(76, 175, 80, 0.9);
}

.status-live {
  background: rgba(255, 193, 7, 0.9);
  color: #000;
}

.status-planned {
  background: rgba(33, 150, 243, 0.9);
}

.competition-info {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.competition-info h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--text);
}

.competition-category,
.competition-location,
.competition-date {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--surface);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 32px rgba(26, 31, 54, 0.08);
}

.empty-state h3 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
}

.empty-state.hidden,
.loading-state.hidden,
.error-state.hidden {
  display: none;
}

.loading-state,
.error-state {
  text-align: center;
  padding: 3rem 1.5rem;
  font-size: 1.1rem;
}

.error-state {
  color: #d32f2f;
}

/* Competition Details Styles */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  color: var(--primary);
  font-weight: 600;
  transition: color 0.25s ease;
}

.back-link:hover {
  color: var(--accent);
}

.competition-details {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: 0 12px 32px rgba(26, 31, 54, 0.08);
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.competition-header {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  align-items: start;
}

.competition-image-side {
  position: sticky;
  top: calc(var(--header-height) + 1rem);
}

.competition-image-side img {
  width: 100%;
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 32px rgba(26, 31, 54, 0.12);
}

.competition-header-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.competition-header-info h1 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.1;
}

.comp-category {
  display: inline-flex;
  width: fit-content;
  padding: 0.5rem 1rem;
  background: rgba(0, 87, 183, 0.1);
  color: var(--primary);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
}

.comp-status {
  display: inline-flex;
  width: fit-content;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.comp-status.status-completed {
  background: rgba(76, 175, 80, 0.15);
  color: #2e7d32;
}

.comp-status.status-live {
  background: rgba(255, 193, 7, 0.15);
  color: #f57f17;
}

.comp-status.status-planned {
  background: rgba(33, 150, 243, 0.15);
  color: #1565c0;
}

.comp-meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.comp-meta p {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.5;
}

.comp-meta strong {
  font-weight: 700;
  color: var(--text);
}

.competition-description {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.competition-description h2 {
  margin: 0 0 1.5rem;
  font-size: 1.75rem;
}

.description-content {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
}

.description-content p {
  margin: 0 0 1rem;
}

.description-content p:last-child {
  margin-bottom: 0;
}

.weight-categories-section {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.weight-categories-section h2 {
  margin: 0 0 1.5rem;
  font-size: 1.75rem;
}

.weight-categories-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.weight-category-item {
  display: flex;
  align-items: center;
  padding: 1.25rem;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: all 0.25s ease;
}

.weight-category-item:hover {
  border-color: var(--primary);
  background: rgba(0, 87, 183, 0.04);
}

.weight-category-item a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
}

.weight-category-item a:hover {
  color: #fff;
  background: var(--primary);
}

.weight-category-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.weight-category-empty span:first-child {
  font-weight: 600;
  color: var(--text);
}

.bracket-placeholder {
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
}

/* Admin Calendar Styles */
.weight-categories-section {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: rgba(0, 87, 183, 0.04);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.weight-categories-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

.weight-category-item {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.weight-name,
.bracket-link {
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
}

.weight-name:focus,
.bracket-link:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 87, 183, 0.1);
}

.remove-weight-btn {
  padding: 0.5rem 1rem;
  background: #d32f2f;
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: background 0.25s ease;
}

.remove-weight-btn:hover {
  background: #b71c1c;
}

.secondary-btn {
  padding: 0.75rem 1.5rem;
  background: rgba(0, 87, 183, 0.1);
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.25s ease;
}

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

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.accent-btn {
  padding: 0.85rem 1.75rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 700;
  transition: all 0.25s ease;
}

.accent-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 87, 183, 0.2);
}

@media (max-width: 768px) {
  .calendar-filters {
    grid-template-columns: 1fr;
  }

  .competitions-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
  }

  .competition-header {
    grid-template-columns: 1fr;
  }

  .competition-image-side {
    position: static;
  }

  .weight-category-item {
    grid-template-columns: 1fr;
  }

  .main-content {
    padding: 1.5rem 0 2rem;
  }

  .competition-details {
    padding: 1.5rem;
    gap: 1.5rem;
  }

  .form-actions {
    flex-direction: column;
  }

  .accent-btn,
  .secondary-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .competitions-grid {
    grid-template-columns: 1fr;
  }

  .filter-block label,
  .filter-block select,
  .filter-block input {
    font-size: 0.9rem;
  }

  .competition-info h3 {
    font-size: 1.1rem;
  }
}
