.page-resources-thomo-app-safe-use {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0d0d0d; /* Inherited from shared.css, explicitly set for context */
}

.page-resources-thomo-app-safe-use__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-thomo-app-safe-use__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 20px;
  padding-top: calc(100px + var(--header-offset, 120px)); /* Ensure content is below header */
  min-height: 600px;
  overflow: hidden;
  color: #ffffff;
  background-color: #017439; /* Brand primary color for hero background */
}

.page-resources-thomo-app-safe-use__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.2;
}

.page-resources-thomo-app-safe-use__hero-section .page-resources-thomo-app-safe-use__container {
  position: relative;
  z-index: 1;
}

.page-resources-thomo-app-safe-use__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-resources-thomo-app-safe-use__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  opacity: 0.9;
}

.page-resources-thomo-app-safe-use__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-thomo-app-safe-use__btn-primary,
.page-resources-thomo-app-safe-use__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-resources-thomo-app-safe-use__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-resources-thomo-app-safe-use__btn-primary:hover {
  background-color: #e02a2a;
  border-color: #e02a2a;
}

.page-resources-thomo-app-safe-use__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-resources-thomo-app-safe-use__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

.page-resources-thomo-app-safe-use__content-area,
.page-resources-thomo-app-safe-use__usage-guide-section,
.page-resources-thomo-app-safe-use__faq-section {
  background-color: #ffffff; /* Light background for content */
  color: #333333; /* Dark text for light background */
  padding: 60px 0;
}

.page-resources-thomo-app-safe-use__download-guide-section,
.page-resources-thomo-app-safe-use__tips-section,
.page-resources-thomo-app-safe-use__cta-section {
  background-color: #017439; /* Brand primary color for sections */
  color: #ffffff;
  padding: 60px 0;
}

.page-resources-thomo-app-safe-use__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: inherit;
}

.page-resources-thomo-app-safe-use__sub-title {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 20px;
  color: inherit;
}

.page-resources-thomo-app-safe-use__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.page-resources-thomo-app-safe-use__text-block a {
  color: #C30808; /* Link color */
  text-decoration: underline;
}

.page-resources-thomo-app-safe-use__text-block a:hover {
  color: #e02a2a;
}

.page-resources-thomo-app-safe-use__highlight {
  font-weight: bold;
  color: #C30808;
}

.page-resources-thomo-app-safe-use__feature-list,
.page-resources-thomo-app-safe-use__step-list,
.page-resources-thomo-app-safe-use__tip-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-resources-thomo-app-safe-use__feature-item,
.page-resources-thomo-app-safe-use__step-item,
.page-resources-thomo-app-safe-use__tip-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-resources-thomo-app-safe-use__grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-resources-thomo-app-safe-use__download-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-resources-thomo-app-safe-use__download-card .page-resources-thomo-app-safe-use__card-title {
  font-size: 1.5em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-resources-thomo-app-safe-use__warning-text {
  background-color: rgba(255, 255, 0, 0.1);
  padding: 15px 20px;
  border-left: 5px solid #FFFF00;
  border-radius: 5px;
  margin-top: 30px;
  color: #ffffff;
}

.page-resources-thomo-app-safe-use__content-image {
  display: block;
  margin: 30px auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-thomo-app-safe-use__button-inline {
  margin-right: 15px;
  margin-bottom: 15px;
}

.page-resources-thomo-app-safe-use__button-block {
  display: block;
  width: fit-content;
  margin: 30px auto 0 auto;
}

.page-resources-thomo-app-safe-use__faq-list {
  margin-top: 40px;
}

.page-resources-thomo-app-safe-use__faq-item {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-resources-thomo-app-safe-use__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #ededed;
  color: #333333;
  transition: background-color 0.3s ease;
}

.page-resources-thomo-app-safe-use__faq-question:hover {
  background-color: #e0e0e0;
}

.page-resources-thomo-app-safe-use__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  transition: transform 0.3s ease;
  color: #017439;
}

.page-resources-thomo-app-safe-use__faq-item.active .page-resources-thomo-app-safe-use__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-thomo-app-safe-use__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-resources-thomo-app-safe-use__faq-item.active .page-resources-thomo-app-safe-use__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-resources-thomo-app-safe-use__faq-answer p {
  margin-bottom: 10px;
  color: #333333;
}

.page-resources-thomo-app-safe-use__cta-section .page-resources-thomo-app-safe-use__section-title,
.page-resources-thomo-app-safe-use__cta-section .page-resources-thomo-app-safe-use__text-block {
  text-align: center;
  margin-bottom: 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-resources-thomo-app-safe-use__hero-title {
    font-size: 3em;
  }
  .page-resources-thomo-app-safe-use__hero-description {
    font-size: 1.2em;
  }
  .page-resources-thomo-app-safe-use__section-title {
    font-size: 2em;
  }
  .page-resources-thomo-app-safe-use__sub-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-resources-thomo-app-safe-use {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources-thomo-app-safe-use__hero-section {
    padding-top: calc(80px + var(--header-offset, 120px)) !important;
    min-height: 500px;
  }
  .page-resources-thomo-app-safe-use__hero-title {
    font-size: 2.2em;
  }
  .page-resources-thomo-app-safe-use__hero-description {
    font-size: 1em;
  }
  .page-resources-thomo-app-safe-use__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-thomo-app-safe-use__btn-primary,
  .page-resources-thomo-app-safe-use__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-resources-thomo-app-safe-use__section-title {
    font-size: 1.8em;
  }
  .page-resources-thomo-app-safe-use__sub-title {
    font-size: 1.4em;
  }
  .page-resources-thomo-app-safe-use__text-block,
  .page-resources-thomo-app-safe-use__feature-item,
  .page-resources-thomo-app-safe-use__step-item,
  .page-resources-thomo-app-safe-use__tip-item {
    font-size: 1em;
  }
  .page-resources-thomo-app-safe-use__grid-layout {
    grid-template-columns: 1fr;
  }
  .page-resources-thomo-app-safe-use__download-card {
    padding: 20px;
  }
  .page-resources-thomo-app-safe-use__content-area,
  .page-resources-thomo-app-safe-use__download-guide-section,
  .page-resources-thomo-app-safe-use__usage-guide-section,
  .page-resources-thomo-app-safe-use__tips-section,
  .page-resources-thomo-app-safe-use__faq-section,
  .page-resources-thomo-app-safe-use__cta-section {
    padding: 40px 0;
  }
  .page-resources-thomo-app-safe-use__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  /* Images and video responsiveness */
  .page-resources-thomo-app-safe-use img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-thomo-app-safe-use video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-thomo-app-safe-use__video-section,
  .page-resources-thomo-app-safe-use__video-container,
  .page-resources-thomo-app-safe-use__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-thomo-app-safe-use__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-resources-thomo-app-safe-use__faq-answer {
    padding: 0 20px;
  }
  .page-resources-thomo-app-safe-use__faq-item.active .page-resources-thomo-app-safe-use__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-resources-thomo-app-safe-use__hero-title {
    font-size: 1.8em;
  }
  .page-resources-thomo-app-safe-use__hero-description {
    font-size: 0.9em;
  }
  .page-resources-thomo-app-safe-use__section-title {
    font-size: 1.5em;
  }
  .page-resources-thomo-app-safe-use__sub-title {
    font-size: 1.2em;
  }
  .page-resources-thomo-app-safe-use__faq-question {
    font-size: 1em;
  }
}