/* style/-g-event-schedule.css */
:root {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --dark-text-color: #333333;
  --light-text-color: #ffffff;
  --background-light: #f8f9fa;
  --background-dark: #212529;
  --border-color: #e0e0e0;
}

.page--g-event-schedule {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--dark-text-color);
  background-color: var(--background-light);
}

.page--g-event-schedule__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page--g-event-schedule__hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--primary-color), #0056b3);
  color: var(--light-text-color);
  overflow: hidden;
  border-radius: 0 0 15px 15px;
  margin-bottom: 40px;
}

.page--g-event-schedule__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page--g-event-schedule__hero h1 {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--light-text-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page--g-event-schedule__hero p {
  font-size: 1.3em;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page--g-event-schedule__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.2;
  overflow: hidden;
}

.page--g-event-schedule__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(50%); /* Chỉ dùng để làm mờ, không đổi màu */
}

.page--g-event-schedule__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--dark-text-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page--g-event-schedule__cta-button:hover {
  background: #e0a800;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page--g-event-schedule__cta-button--small {
  padding: 12px 30px;
  font-size: 1em;
  margin-top: 20px;
}

.page--g-event-schedule__cta-button--large {
  padding: 20px 50px;
  font-size: 1.4em;
  margin-top: 30px;
}

.page--g-event-schedule__introduction,
.page--g-event-schedule__event-list,
.page--g-event-schedule__betting-guide,
.page--g-event-schedule__tips,
.page--g-event-schedule__faq,
.page--g-event-schedule__call-to-action {
  padding: 60px 0;
  margin-bottom: 40px;
  background-color: var(--light-text-color);
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.page--g-event-schedule__introduction h2,
.page--g-event-schedule__event-list h2,
.page--g-event-schedule__betting-guide h2,
.page--g-event-schedule__tips h2,
.page--g-event-schedule__faq h2,
.page--g-event-schedule__call-to-action h2 {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page--g-event-schedule__introduction h3,
.page--g-event-schedule__betting-guide h3,
.page--g-event-schedule__tips h3 {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 10px;
}

.page--g-event-schedule__introduction p,
.page--g-event-schedule__event-list p,
.page--g-event-schedule__betting-guide p,
.page--g-event-schedule__tips p,
.page--g-event-schedule__faq .faq-answer p {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--dark-text-color);
}

.page--g-event-schedule__introduction ul,
.page--g-event-schedule__tips ul,
.page--g-event-schedule__betting-guide ol {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page--g-event-schedule__betting-guide ol {
  list-style-type: decimal;
}

.page--g-event-schedule__introduction li,
.page--g-event-schedule__tips li,
.page--g-event-schedule__betting-guide li {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: var(--dark-text-color);
}

.page--g-event-schedule__introduction img,
.page--g-event-schedule__event-list img,
.page--g-event-schedule__betting-guide img,
.page--g-event-schedule__tips img {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page--g-event-schedule__event-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page--g-event-schedule__event-table th,
.page--g-event-schedule__event-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.page--g-event-schedule__event-table th {
  background-color: var(--primary-color);
  color: var(--light-text-color);
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1.1em;
}

.page--g-event-schedule__event-table tbody tr:nth-child(even) {
  background-color: #f2f2f2;
}

.page--g-event-schedule__event-table tbody tr:hover {
  background-color: #e9ecef;
}

.page--g-event-schedule__event-table a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page--g-event-schedule__event-table a:hover {
  color: #0056b3;
  text-decoration: underline;
}

.page--g-event-schedule__table-responsive {
  overflow-x: auto;
  margin-top: 30px;
}

.page--g-event-schedule__note {
  text-align: center;
  font-style: italic;
  margin-top: 30px;
  color: #6c757d;
}

.page--g-event-schedule__call-to-action {
  text-align: center;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: var(--light-text-color);
  padding: 80px 20px;
  border-radius: 15px;
}

.page--g-event-schedule__call-to-action h2 {
  color: var(--light-text-color);
  font-size: 3em;
  margin-bottom: 25px;
}

.page--g-event-schedule__call-to-action p {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--light-text-color);
}

.page--g-event-schedule__call-to-action p a {
  color: var(--light-text-color);
  font-weight: bold;
  text-decoration: underline;
}

.page--g-event-schedule__call-to-action p a:hover {
  color: #f8f9fa;
}

/* FAQ Section */
.page--g-event-schedule__faq {
  background-color: var(--background-light);
}

.page--g-event-schedule .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page--g-event-schedule .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page--g-event-schedule .faq-question:hover {
  background: #f1f1f1;
}

.page--g-event-schedule .faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--primary-color);
}

.page--g-event-schedule .faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

.page--g-event-schedule .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-color);
}

.page--g-event-schedule .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  color: var(--dark-text-color);
}

.page--g-event-schedule .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 20px 25px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page--g-event-schedule__hero h1 {
    font-size: 2.5em;
  }
  .page--g-event-schedule__hero p {
    font-size: 1.1em;
  }
  .page--g-event-schedule__introduction h2,
  .page--g-event-schedule__event-list h2,
  .page--g-event-schedule__betting-guide h2,
  .page--g-event-schedule__tips h2,
  .page--g-event-schedule__faq h2,
  .page--g-event-schedule__call-to-action h2 {
    font-size: 2em;
  }
  .page--g-event-schedule__introduction h3,
  .page--g-event-schedule__betting-guide h3,
  .page--g-event-schedule__tips h3 {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page--g-event-schedule__hero {
    padding: 60px 15px;
  }
  .page--g-event-schedule__hero h1 {
    font-size: 2em;
  }
  .page--g-event-schedule__hero p {
    font-size: 1em;
  }
  .page--g-event-schedule__cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page--g-event-schedule__introduction,
  .page--g-event-schedule__event-list,
  .page--g-event-schedule__betting-guide,
  .page--g-event-schedule__tips,
  .page--g-event-schedule__faq,
  .page--g-event-schedule__call-to-action {
    padding: 40px 0;
  }
  .page--g-event-schedule__introduction h2,
  .page--g-event-schedule__event-list h2,
  .page--g-event-schedule__betting-guide h2,
  .page--g-event-schedule__tips h2,
  .page--g-event-schedule__faq h2,
  .page--g-event-schedule__call-to-action h2 {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page--g-event-schedule__introduction p,
  .page--g-event-schedule__event-list p,
  .page--g-event-schedule__betting-guide p,
  .page--g-event-schedule__tips p,
  .page--g-event-schedule__faq .faq-answer p {
    font-size: 0.95em;
  }
  .page--g-event-schedule__event-table th,
  .page--g-event-schedule__event-table td {
    padding: 10px;
    font-size: 0.9em;
  }
  .page--g-event-schedule .faq-question {
    padding: 15px 20px;
  }
  .page--g-event-schedule .faq-question h3 {
    font-size: 1.1em;
  }
  .page--g-event-schedule .faq-toggle {
    font-size: 1.5em;
  }
  .page--g-event-schedule .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 576px) {
  .page--g-event-schedule__hero h1 {
    font-size: 1.8em;
  }
  .page--g-event-schedule__introduction h2,
  .page--g-event-schedule__event-list h2,
  .page--g-event-schedule__betting-guide h2,
  .page--g-event-schedule__tips h2,
  .page--g-event-schedule__faq h2,
  .page--g-event-schedule__call-to-action h2 {
    font-size: 1.5em;
  }
  .page--g-event-schedule__cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page--g-event-schedule__call-to-action h2 {
    font-size: 2em;
  }
}