/* ================================
   Base Styles (from style.css)
================================= */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #fffef9;
  color: #333;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 600;
}

a {
  text-decoration: none;
  color: inherit;
}

header, .hero-section {
  background: linear-gradient(135deg, #007a33, #00b251);
  color: white;
  text-align: center;
  padding: 40px 20px;
}

header h1, .hero-section h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hero-section p {
  font-size: 1rem;
  color: #f0f0f0;
}

/* ================================
   Cards and Fixtures/Results
================================= */
.card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  background-color: #fff;
  padding: 20px;
  margin-bottom: 20px;
}

.list-group-item {
  font-size: 0.95rem;
}

.fixtures-card h2, .results-card h2, .history-card h2 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  text-align: center;
}

.match {
  margin: 8px 0;
}

.text-center {
  text-align: center;
}

/* ================================
   Buttons
================================= */
.btn-center {
  display: block;
  margin: 20px auto;
  max-width: 200px;
  text-align: center;
}

.btn-success {
  background-color: #007a33;
  border: none;
}

.btn-success:hover {
  background-color: #005f27;
}

/* ================================
   Ads
================================= */
.mobile-ad {
  display: none;
  margin: 1rem 0;
}

@media (max-width: 768px) {
  .mobile-ad {
    display: block;
  }
}

.ad-sidebar {
  position: sticky;
  top: 80px;
}

.ad-container {
  background: #fffef9;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  margin-bottom: 1rem;
}

/* ================================
   Teams Section
================================= */
.team-flag {
  width: 30px;
  height: auto;
  margin-right: 8px;
  vertical-align: middle;
}

.team-link {
  font-weight: 500;
  color: #007a33;
}

.team-link:hover {
  color: #005f27;
  text-decoration: underline;
}

/* ================================
   Tables (Group Tables)
================================= */
.group-card {
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  padding: 15px;
  margin-bottom: 20px;
}

/* ================================
   History
================================= */
.history-card {
  border: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
}

/* ================================
   Countdown
================================= */
#countdown-timer {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

/* ================================
   Knockout Stage
================================= */
.knockout-stage .round {
  margin-bottom: 20px;
}

.knockout-stage .round h5 {
  color: #ffc107;
  font-weight: 600;
  margin-bottom: 10px;
}

/* ================================
   Footer
================================= */
footer {
  background: #007a33;
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 0.9rem;
}

/* ================================
   Responsive Adjustments
================================= */
@media (min-width: 992px) {
  .article-wrapper {
    flex-direction: row;
    align-items: flex-start;
  }
}
