/* style/resources-top-thomo-fighters-2024.css */

/* Variables from shared.css (assumed to be available) */
/* :root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --register-button-color: #C30808;
  --login-button-color: #C30808;
  --background-color: #FFFFFF;
  --register-login-font-color: #FFFF00;
  --header-offset: 120px; 
} */

.page-resources-top-thomo-fighters-2024 {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light background */
  background-color: var(--background-color, #FFFFFF); /* Body background is white */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-resources-top-thomo-fighters-2024__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-top-thomo-fighters-2024__section {
  padding: 60px 0;
  border-bottom: 1px solid #e0e0e0;
}

.page-resources-top-thomo-fighters-2024__section:last-of-type {
  border-bottom: none;
}

/* Color Contrast Specifics */
.page-resources-top-thomo-fighters-2024__light-bg {
  background-color: var(--background-color, #FFFFFF);
  color: #333333;
}

.page-resources-top-thomo-fighters-2024__dark-bg {
  background-color: var(--primary-color, #017439);
  color: #ffffff; /* White text for dark background */
}

/* Titles and Headings */
.page-resources-top-thomo-fighters-2024__main-title {
  font-size: 38px;
  color: var(--primary-color, #017439);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources-top-thomo-fighters-2024__intro-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: #555555;
}

.page-resources-top-thomo-fighters-2024__section-title {
  font-size: 30px;
  color: inherit; /* Inherits from parent section (dark or light) */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-resources-top-thomo-fighters-2024__sub-title {
  font-size: 24px;
  color: inherit; /* Inherits from parent section */
  margin-top: 40px;
  margin-bottom: 15px;
  font-weight: bold;
}

/* Images */
.page-resources-top-thomo-fighters-2024__main-image-wrapper {
  margin: 0 auto 40px auto;
  text-align: center;
}

.page-resources-top-thomo-fighters-2024__main-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin: 0 auto; /* Center the image */
}

.page-resources-top-thomo-fighters-2024__image-card {
  margin: 30px 0;
  text-align: center;
  background-color: var(--background-color, #FFFFFF);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
}

.page-resources-top-thomo-fighters-2024__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  margin: 0 auto 15px auto;
}

.page-resources-top-thomo-fighters-2024__image-caption {
  font-size: 14px;
  color: #666666;
}

/* Lists */
.page-resources-top-thomo-fighters-2024__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  padding: 0;
}

.page-resources-top-thomo-fighters-2024__list li {
  margin-bottom: 10px;
  color: inherit; /* Inherits from parent section */
}

.page-resources-top-thomo-fighters-2024__list li strong {
  color: inherit; /* Inherits from parent section */
}

/* Buttons */
.page-resources-top-thomo-fighters-2024__cta-button {
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
  padding: 15px 30px;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Crucial for responsive buttons */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-resources-top-thomo-fighters-2024__btn-primary {
  background-color: var(--primary-color, #017439);
  color: #ffffff;
  border: 2px solid var(--primary-color, #017439);
}

.page-resources-top-thomo-fighters-2024__btn-primary:hover {
  background-color: #005f2a; /* Example darker green */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-resources-top-thomo-fighters-2024__faq-list {
  margin-top: 40px;
}

.page-resources-top-thomo-fighters-2024__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background: var(--background-color, #FFFFFF); /* Ensure FAQ items have white background */
  color: #333333; /* Dark text for FAQ */
}

.page-resources-top-thomo-fighters-2024__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources-top-thomo-fighters-2024__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-resources-top-thomo-fighters-2024__faq-question:active {
  background: #eeeeee;
}

.page-resources-top-thomo-fighters-2024__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #333333; /* Ensure question text is dark */
}

.page-resources-top-thomo-fighters-2024__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-resources-top-thomo-fighters-2024__faq-item.active .page-resources-top-thomo-fighters-2024__faq-toggle {
  color: #333;
}

.page-resources-top-thomo-fighters-2024__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  color: #333333; /* Ensure answer text is dark */
}

.page-resources-top-thomo-fighters-2024__faq-item.active .page-resources-top-thomo-fighters-2024__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

/* Copyright */
.page-resources-top-thomo-fighters-2024__copyright {
  text-align: center;
  padding: 30px 20px;
  font-size: 14px;
  color: #666666;
  background-color: var(--background-color, #FFFFFF);
  border-top: 1px solid #e0e0e0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-resources-top-thomo-fighters-2024 {
    font-size: 16px;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

  .page-resources-top-thomo-fighters-2024__main-title {
    font-size: 28px;
    padding: 0 15px;
  }

  .page-resources-top-thomo-fighters-2024__intro-description {
    font-size: 16px;
    padding: 0 15px;
  }

  .page-resources-top-thomo-fighters-2024__section-title {
    font-size: 24px;
    padding: 0 15px;
  }

  .page-resources-top-thomo-fighters-2024__sub-title {
    font-size: 20px;
    padding: 0 15px;
  }

  .page-resources-top-thomo-fighters-2024__container {
    padding: 0 15px;
  }

  .page-resources-top-thomo-fighters-2024__section {
    padding: 40px 0;
  }

  /* Images responsive */
  .page-resources-top-thomo-fighters-2024 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  
  .page-resources-top-thomo-fighters-2024__main-image-wrapper,
  .page-resources-top-thomo-fighters-2024__image-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0; /* Remove padding from image wrappers, let container handle it */
  }

  /* Buttons responsive */
  .page-resources-top-thomo-fighters-2024__cta-button,
  .page-resources-top-thomo-fighters-2024__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .page-resources-top-thomo-fighters-2024__cta-buttons,
  .page-resources-top-thomo-fighters-2024__button-group,
  .page-resources-top-thomo-fighters-2024__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* FAQ responsive */
  .page-resources-top-thomo-fighters-2024__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-resources-top-thomo-fighters-2024__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-resources-top-thomo-fighters-2024__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-resources-top-thomo-fighters-2024__faq-answer {
    padding: 0 15px;
  }
  
  .page-resources-top-thomo-fighters-2024__faq-item.active .page-resources-top-thomo-fighters-2024__faq-answer {
    padding: 15px !important;
  }
}