/* style/resources-how-to-use-7clubs-app-safely.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --login-color: #EA7C07;
  --background-white: #FFFFFF;
  --black-color: #000000;
}

.page-resources-how-to-use-7clubs-app-safely {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--black-color); /* Inherit from shared.css if body is dark */
}

.page-resources-how-to-use-7clubs-app-safely__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: calc(80px + var(--header-offset, 120px)); /* Apply header offset */
  background-color: var(--primary-color);
  position: relative;
  overflow: hidden;
  color: var(--text-light);
}

.page-resources-how-to-use-7clubs-app-safely__hero-content {
  max-width: 900px;
  z-index: 1;
  position: relative;
}

.page-resources-how-to-use-7clubs-app-safely__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--text-light);
  line-height: 1.2;
}

.page-resources-how-to-use-7clubs-app-safely__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-resources-how-to-use-7clubs-app-safely__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.page-resources-how-to-use-7clubs-app-safely__btn-primary,
.page-resources-how-to-use-7clubs-app-safely__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-resources-how-to-use-7clubs-app-safely__btn-primary {
  background-color: var(--login-color); /* Using login color for primary CTA */
  color: var(--text-light);
  border: 2px solid var(--login-color);
}

.page-resources-how-to-use-7clubs-app-safely__btn-primary:hover {
  background-color: #cc6c00; /* Darken login color */
  border-color: #cc6c00;
}

.page-resources-how-to-use-7clubs-app-safely__btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.page-resources-how-to-use-7clubs-app-safely__btn-secondary:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
}

.page-resources-how-to-use-7clubs-app-safely__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-resources-how-to-use-7clubs-app-safely__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: brightness(0.7);
}

.page-resources-how-to-use-7clubs-app-safely__section {
  padding: 60px 20px;
}

.page-resources-how-to-use-7clubs-app-safely__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-resources-how-to-use-7clubs-app-safely__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-light);
}

.page-resources-how-to-use-7clubs-app-safely__sub-title {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-resources-how-to-use-7clubs-app-safely__paragraph {
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.7;
  color: var(--text-light);
}

.page-resources-how-to-use-7clubs-app-safely__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-resources-how-to-use-7clubs-app-safely__list-item {
  margin-bottom: 10px;
  color: var(--text-light);
}

.page-resources-how-to-use-7clubs-app-safely__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-resources-how-to-use-7clubs-app-safely__content-grid--reverse {
  grid-template-areas: "text image";
}

.page-resources-how-to-use-7clubs-app-safely__content-grid--reverse .page-resources-how-to-use-7clubs-app-safely__grid-item:first-child {
  grid-area: text;
}

.page-resources-how-to-use-7clubs-app-safely__content-grid--reverse .page-resources-how-to-use-7clubs-app-safely__grid-item:last-child {
  grid-area: image;
}

.page-resources-how-to-use-7clubs-app-safely__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  width: 100%; /* Ensure images take full grid item width */
  min-width: 200px;
  min-height: 200px;
}

/* Color Contrast Handling */
.page-resources-how-to-use-7clubs-app-safely__dark-bg {
  background-color: #1a1a1a; /* A dark background for sections */
  color: var(--text-light); /* Light text for dark background */
}

.page-resources-how-to-use-7clubs-app-safely__light-bg {
  background-color: var(--background-white); /* White background for sections */
  color: var(--text-dark); /* Dark text for light background */
}

.page-resources-how-to-use-7clubs-app-safely__light-bg .page-resources-how-to-use-7clubs-app-safely__section-title,
.page-resources-how-to-use-7clubs-app-safely__light-bg .page-resources-how-to-use-7clubs-app-safely__paragraph,
.page-resources-how-to-use-7clubs-app-safely__light-bg .page-resources-how-to-use-7clubs-app-safely__list-item {
  color: var(--text-dark);
}

.page-resources-how-to-use-7clubs-app-safely__light-bg .page-resources-how-to-use-7clubs-app-safely__sub-title {
  color: var(--primary-color);
}

/* FAQ Section */
.page-resources-how-to-use-7clubs-app-safely__faq-section {
  padding: 60px 20px;
  background-color: #1a1a1a; /* Dark background for FAQ */
  color: var(--text-light);
}

.page-resources-how-to-use-7clubs-app-safely__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-how-to-use-7clubs-app-safely__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.page-resources-how-to-use-7clubs-app-safely__faq-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-resources-how-to-use-7clubs-app-safely__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--text-light);
}

.page-resources-how-to-use-7clubs-app-safely__faq-toggle {
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-resources-how-to-use-7clubs-app-safely__faq-item.active .page-resources-how-to-use-7clubs-app-safely__faq-toggle {
  transform: rotate(45deg); /* Change to '-' visually */
}

.page-resources-how-to-use-7clubs-app-safely__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-light);
}

.page-resources-how-to-use-7clubs-app-safely__faq-item.active .page-resources-how-to-use-7clubs-app-safely__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-resources-how-to-use-7clubs-app-safely__faq-answer p {
  margin: 0;
  color: var(--text-light);
}

/* Video Section */
.page-resources-how-to-use-7clubs-app-safely__video-section {
  padding: 60px 20px;
  text-align: center;
}

.page-resources-how-to-use-7clubs-app-safely__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 10px;
  margin: 0 auto 20px auto;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.page-resources-how-to-use-7clubs-app-safely__video-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
}

.page-resources-how-to-use-7clubs-app-safely__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-resources-how-to-use-7clubs-app-safely__video-caption {
  font-style: italic;
  color: var(--text-dark);
  margin-top: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-how-to-use-7clubs-app-safely__hero-title {
    font-size: 2.8em;
  }
  .page-resources-how-to-use-7clubs-app-safely__hero-description {
    font-size: 1.2em;
  }
  .page-resources-how-to-use-7clubs-app-safely__section-title {
    font-size: 2em;
  }
  .page-resources-how-to-use-7clubs-app-safely__sub-title {
    font-size: 1.6em;
  }
  .page-resources-how-to-use-7clubs-app-safely__paragraph {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-resources-how-to-use-7clubs-app-safely__hero-section {
    flex-direction: column;
    padding-top: calc(40px + var(--header-offset, 120px)); /* Adjust for mobile */
  }

  .page-resources-how-to-use-7clubs-app-safely__hero-title {
    font-size: 2.2em;
  }

  .page-resources-how-to-use-7clubs-app-safely__hero-description {
    font-size: 1em;
  }

  .page-resources-how-to-use-7clubs-app-safely__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .page-resources-how-to-use-7clubs-app-safely__btn-primary,
  .page-resources-how-to-use-7clubs-app-safely__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95em;
  }

  .page-resources-how-to-use-7clubs-app-safely__content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-resources-how-to-use-7clubs-app-safely__content-grid--reverse {
    grid-template-areas: "image" "text"; /* Stack image then text */
  }

  .page-resources-how-to-use-7clubs-app-safely__section-title {
    font-size: 1.8em;
  }

  .page-resources-how-to-use-7clubs-app-safely__sub-title {
    font-size: 1.4em;
  }

  .page-resources-how-to-use-7clubs-app-safely__paragraph,
  .page-resources-how-to-use-7clubs-app-safely__list-item {
    font-size: 0.95em;
  }

  .page-resources-how-to-use-7clubs-app-safely__container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    box-sizing: border-box;
  }
}
}