body {
  font-family: Arial, sans-serif;
  background-color: #ba0c2f;
  color: #333;
  margin: 0;
  line-height: 1.4;
  font-size: 15px;
}

#banner {
  width: 100%;
  object-fit: cover;
  opacity: 1;
  display: block;
  margin: 0;
  padding: 0;
  border: none;  
}

#banner-wrapper {
  background-color: white;
}

/* Page header */
h1 {
  text-align: center;
  color: #c9b037;
  font-size: 28px;
  margin-bottom: 0;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: bold;
}

h2 {
  text-align: center;
  color: #000000;
  font-size: 22px;
  font-weight: normal;
  margin: 4px 0 20px 0;
  font-style: italic;
}

h3 {
  text-align: center;
  color: #333;
  font-size: 20px;
  font-style: italic;
}

footer {
  text-align: center;
  font-size: 14px;
  padding: 20px 0;
  background-color: #f5f5f5;
  color: #333;
  border-top: 1px solid #ccc;
}

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

footer a:hover {
  text-decoration: underline;
}

.section-heading {
  text-align: center;
  font-size: 1.5em;
  color: #fff;
  margin-top: 2em;
  margin-bottom: 0.5em;
  font-weight: 600;
  letter-spacing: 0.5px;
}

#about {
  max-width: 800px;
  margin: 3em auto;
  background-color: #fff;
  color: #333;
  padding: 1.5em;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
#about h2 {
  color: #ba0c2f;
}

/* Stat grid table */
table#stat-grid {
  width: 100%;
  max-width: 840px;
  margin: 1.5em auto;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  border-radius: 6px;
}

#stat-grid td {
  width: 50%;
  vertical-align: top;
  padding: 1em;
  border: 1px solid #ddd;
}

/* Section headers */
#stat-grid h3 {
  margin-top: 0;
  color: #ba0c2f;
  font-size: 16px;
  border-bottom: 1px solid #ba0c2f;
  padding-bottom: 3px;
  margin-bottom: 10px;
}

/* Lists */
ul, ol {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

li {
  margin-bottom: 4px;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.2s ease;
  font-size: 14px;
}

li:hover {
  background-color: #f8f2f2;
  cursor: default;
}

/* Responsive */
@media (max-width: 768px) {
  #stat-grid td {
    display: block;
    width: 100%;
    border-bottom: 1px solid #ccc;
  }
}

.data-table {
  width: 100%;
  max-width: 840px;
  margin: 1.5em auto;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  border-radius: 6px
}

.data-table th, .data-table td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: center;
}

.data-table th {
  background-color: #eee;
}

.data-table tbody tr:hover {
  background-color: #f8f2f2;
  cursor: default;
}

/* Score card */
#scorecard {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  width: 95%;
  margin: 1em auto;
  padding: 1em;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.team-box {
  flex: 1;
  color: #fff;
  font-weight: bold;
  font-size: 1.2em;
  padding: 1em;
  text-align: center;
  border-radius: 4px;
}

.score-box {
  flex: 0 0 auto;
  font-size: 2.5em;
  color: #000;
  font-weight: 700;
  padding: 0 1em;
  text-align: center;
}


/* Possession chart */

#chart-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
  gap: 3em;
  max-width: 1100px;
  margin: 3em auto;
  padding: 1em;
}


.chart-card {
  background: #fff;
  border-radius: 6px;
  padding: 1.25em;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px; /* controls total visual height */
}

.chart-card canvas {
  max-width: 60%;
  max-height: 100%;
  display: block;
}

.chart-card {
  background: #fff;
  border-radius: 6px;
  padding: 1.25em;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center; /* still centered horizontally */
  overflow-x: visible;
  padding-bottom: 1rem;
}

.chart-gso {
  background: #fff;
  border-radius: 6px;
  padding: 1.25em;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: auto;
  max-width: 1000px;
  margin: 0 auto;
}


#scoring-opportunity {
  width: 100% !important;
  max-width: 800px;
  height: auto !important;
  aspect-ratio: 3 / 2; /* Optional: maintain good proportions */
}

.chart-description {
  font-size: 0.95rem;
  color: #444;
  margin: 0.5em 0 1em;
  max-width: 800px;
  text-align: center;
  line-height: 1.5;
}

