/* style/resources-guide-thomo-888.css */

/* Base Styles for the page content */
.page-resources-guide-thomo-888 {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a1a; /* Inherited from shared.css body, but explicitly set for context */
}

.page-resources-guide-thomo-888__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-guide-thomo-888__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-resources-guide-thomo-888__sub-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources-guide-thomo-888__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0; /* Light text for dark backgrounds */
}

.page-resources-guide-thomo-888__text-center {
  text-align: center;
}

.page-resources-guide-thomo-888__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-resources-guide-thomo-888__list-item {
  margin-bottom: 10px;
}

/* Hero Section */
.page-resources-guide-thomo-888__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
  background-color: #26A9E0;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-resources-guide-thomo-888__hero-content {
  max-width: 800px;
  z-index: 1;
  margin-bottom: 30px;
}

.page-resources-guide-thomo-888__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

.page-resources-guide-thomo-888__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.5;
  color: #f0f0f0;
}

.page-resources-guide-thomo-888__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-guide-thomo-888__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.15; /* Subtle background image */
}

.page-resources-guide-thomo-888__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Buttons */
.page-resources-guide-thomo-888__btn-primary,
.page-resources-guide-thomo-888__btn-secondary,
.page-resources-guide-thomo-888__btn-link {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-guide-thomo-888__btn-primary {
  background: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-resources-guide-thomo-888__btn-primary:hover {
  background: #c76706;
  transform: translateY(-2px);
}

.page-resources-guide-thomo-888__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-resources-guide-thomo-888__btn-secondary:hover {
  background: #f0f0f0;
  color: #1e87b8;
  transform: translateY(-2px);
}

.page-resources-guide-thomo-888__btn-link {
  background: none;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  padding: 10px 20px;
  font-size: 1em;
}

.page-resources-guide-thomo-888__btn-link:hover {
  background: #26A9E0;
  color: #ffffff;
}

/* Content Sections */
.page-resources-guide-thomo-888__content-section {
  padding: 80px 0;
}

.page-resources-guide-thomo-888__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for light backgrounds */
}

.page-resources-guide-thomo-888__light-bg .page-resources-guide-thomo-888__section-title,
.page-resources-guide-thomo-888__light-bg .page-resources-guide-thomo-888__sub-title {
  color: #26A9E0;
}

.page-resources-guide-thomo-888__light-bg .page-resources-guide-thomo-888__text-block,
.page-resources-guide-thomo-888__light-bg .page-resources-guide-thomo-888__list,
.page-resources-guide-thomo-888__light-bg .page-resources-guide-thomo-888__list-item {
  color: #333333;
}

.page-resources-guide-thomo-888__dark-bg {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-resources-guide-thomo-888__dark-bg .page-resources-guide-thomo-888__section-title,
.page-resources-guide-thomo-888__dark-bg .page-resources-guide-thomo-888__sub-title {
  color: #26A9E0;
}

.page-resources-guide-thomo-888__dark-bg .page-resources-guide-thomo-888__text-block,
.page-resources-guide-thomo-888__dark-bg .page-resources-guide-thomo-888__list,
.page-resources-guide-thomo-888__dark-bg .page-resources-guide-thomo-888__list-item {
  color: #f0f0f0;
}

.page-resources-guide-thomo-888__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Video Section */
.page-resources-guide-thomo-888__video-section {
  padding: 80px 0;
  text-align: center;
}

.page-resources-guide-thomo-888__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.page-resources-guide-thomo-888__video-link-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
  z-index: 1;
}

.page-resources-guide-thomo-888__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  z-index: 0;
}

/* FAQ Section */
.page-resources-guide-thomo-888__faq-section {
  padding: 80px 0;
}

.page-resources-guide-thomo-888__faq-list {
  margin-top: 40px;
}

.page-resources-guide-thomo-888__faq-item {
  background-color: #f5f5f5;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  color: #333333;
}

.page-resources-guide-thomo-888__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  color: #333333;
  transition: background-color 0.3s ease;
}

.page-resources-guide-thomo-888__faq-question:hover {
  background-color: #f0f0f0;
}

.page-resources-guide-thomo-888__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-resources-guide-thomo-888__faq-item.active .page-resources-guide-thomo-888__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-guide-thomo-888__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #f5f5f5;
  color: #333333;
}

.page-resources-guide-thomo-888__faq-item.active .page-resources-guide-thomo-888__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 20px;
}

.page-resources-guide-thomo-888__faq-answer p {
  margin-bottom: 15px;
  color: #333333;
}

/* CTA Section */
.page-resources-guide-thomo-888__cta-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-resources-guide-thomo-888__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-guide-thomo-888__hero-title {
    font-size: 3em;
  }
  .page-resources-guide-thomo-888__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-guide-thomo-888 {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-guide-thomo-888__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
  }

  .page-resources-guide-thomo-888__hero-title {
    font-size: 2.5em;
  }

  .page-resources-guide-thomo-888__hero-description {
    font-size: 1.1em;
  }

  .page-resources-guide-thomo-888__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-resources-guide-thomo-888__sub-title {
    font-size: 1.5em;
  }

  .page-resources-guide-thomo-888__hero-cta,
  .page-resources-guide-thomo-888__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .page-resources-guide-thomo-888__btn-primary,
  .page-resources-guide-thomo-888__btn-secondary,
  .page-resources-guide-thomo-888__btn-link {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-guide-thomo-888__container,
  .page-resources-guide-thomo-888__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

  .page-resources-guide-thomo-888 img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-guide-thomo-888 video,
  .page-resources-guide-thomo-888__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-guide-thomo-888__faq-item {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .page-resources-guide-thomo-888__faq-question {
    padding: 15px;
    font-size: 1.1em;
  }

  .page-resources-guide-thomo-888__faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-resources-guide-thomo-888__hero-title {
    font-size: 2em;
  }
  .page-resources-guide-thomo-888__hero-description {
    font-size: 1em;
  }
  .page-resources-guide-thomo-888__section-title {
    font-size: 1.5em;
  }
  .page-resources-guide-thomo-888__sub-title {
    font-size: 1.3em;
  }
}

/* Ensure content area images meet minimum size in CSS, but allow responsive scaling */
.page-resources-guide-thomo-888__content-image {
  min-width: 200px;
  min-height: 200px;
}

/* CSS for buttons in content area to ensure min-width of 200px is not violated by CSS rules */
.page-resources-guide-thomo-888__btn-link {
  min-width: 200px; /* Ensure buttons don't shrink too small, but still responsive */
}

/* Color Contrast Fixes as per instructions */
/* If body is dark, default text is light. Card backgrounds should be light or semi-transparent dark. */
.page-resources-guide-thomo-888__light-bg .page-resources-guide-thomo-888__faq-item,
.page-resources-guide-thomo-888__light-bg .page-resources-guide-thomo-888__faq-question,
.page-resources-guide-thomo-888__light-bg .page-resources-guide-thomo-888__faq-answer {
  background-color: #f5f5f5;
  color: #333333;
}

.page-resources-guide-thomo-888__dark-bg .page-resources-guide-thomo-888__faq-item,
.page-resources-guide-thomo-888__dark-bg .page-resources-guide-thomo-888__faq-question,
.page-resources-guide-thomo-888__dark-bg .page-resources-guide-thomo-888__faq-answer {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
  color: #ffffff;
}

.page-resources-guide-thomo-888__dark-bg .page-resources-guide-thomo-888__faq-question {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-resources-guide-thomo-888__dark-bg .page-resources-guide-thomo-888__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

/* Ensure no image filters */
.page-resources-guide-thomo-888 img {
  filter: none; /* Explicitly disable any potential filters */
}