/* style/resources-777bet-app-security-guide.css */

/* --- Base Styles --- */
.page-resources-777bet-app-security-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #f8f8f8; /* Slightly off-white for main content background */
}

/* --- Hero Section --- */
.page-resources-777bet-app-security-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background: linear-gradient(135deg, #26A9E0, #a0dfff); /* Brand color gradient */
  color: #ffffff; /* White text for dark background */
  overflow: hidden; /* Prevent image overflow */
}

.page-resources-777bet-app-security-guide__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  z-index: 1; /* Ensure content is above any potential background effects */
}

.page-resources-777bet-app-security-guide__hero-image {
  width: 100%;
  margin-bottom: 30px;
  max-width: 1200px; /* Constrain image width */
}

.page-resources-777bet-app-security-guide__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-resources-777bet-app-security-guide__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 800px; /* Constrain text width for readability */
}

.page-resources-777bet-app-security-guide__hero-content h1 {
  font-size: 2.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-resources-777bet-app-security-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-resources-777bet-app-security-guide__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #EA7C07; /* Login color as CTA button */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-777bet-app-security-guide__cta-button:hover {
  background: #d66b06;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-777bet-app-security-guide__cta-button--bottom {
  margin-top: 40px;
  margin-bottom: 20px;
}

/* --- Content Area --- */
.page-resources-777bet-app-security-guide__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #ffffff; /* Explicitly white background for content */
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  margin-top: -50px; /* Overlap with hero for visual flow */
  position: relative;
  z-index: 10;
}

.page-resources-777bet-app-security-guide__section-intro,
.page-resources-777bet-app-security-guide__feature-block,
.page-resources-777bet-app-security-guide__faq-section,
.page-resources-777bet-app-security-guide__conclusion {
  margin-bottom: 40px;
}

.page-resources-777bet-app-security-guide__section-intro h2,
.page-resources-777bet-app-security-guide__feature-block h3,
.page-resources-777bet-app-security-guide__faq-section h2,
.page-resources-777bet-app-security-guide__conclusion h2 {
  color: #26A9E0; /* Brand color for titles */
  font-weight: bold;
  margin-bottom: 25px;
  line-height: 1.3;
}

.page-resources-777bet-app-security-guide__section-intro h2 {
  font-size: 2.2em;
  text-align: center;
}

.page-resources-777bet-app-security-guide__feature-block h3 {
  font-size: 1.8em;
  margin-top: 35px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

.page-resources-777bet-app-security-guide__content-area p {
  margin-bottom: 1em;
  font-size: 1em;
}

.page-resources-777bet-app-security-guide__image-wrapper {
  margin: 30px 0;
  text-align: center;
}

.page-resources-777bet-app-security-guide__image-wrapper img {
  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 image */
}

/* --- FAQ Section --- */
.page-resources-777bet-app-security-guide__faq-section h2 {
  font-size: 2.2em;
  text-align: center;
  margin-bottom: 30px;
}

.page-resources-777bet-app-security-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-resources-777bet-app-security-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources-777bet-app-security-guide__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-resources-777bet-app-security-guide__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  color: #333333;
  pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-resources-777bet-app-security-guide__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #26A9E0; /* Brand color for toggle icon */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-resources-777bet-app-security-guide__faq-item.active .page-resources-777bet-app-security-guide__faq-toggle {
  color: #EA7C07; /* Orange for active state */
  transform: rotate(45deg); /* Visual indication of active state */
}

.page-resources-777bet-app-security-guide__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 25px;
  opacity: 0;
  background: #fdfdfd;
  border-top: 1px solid #f0f0f0;
  color: #555555;
}

.page-resources-777bet-app-security-guide__faq-item.active .page-resources-777bet-app-security-guide__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to contain any content */
  padding: 20px 25px !important;
  opacity: 1;
  border-radius: 0 0 8px 8px;
}

/* --- Conclusion Section --- */
.page-resources-777bet-app-security-guide__conclusion h2 {
  font-size: 2.2em;
  text-align: center;
  margin-bottom: 30px;
}

.page-resources-777bet-app-security-guide__conclusion p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 20px auto;
  font-size: 1.1em;
}

.page-resources-777bet-app-security-guide__conclusion .page-resources-777bet-app-security-guide__cta-button {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* --- Copyright --- */
.page-resources-777bet-app-security-guide__copyright {
  text-align: center;
  padding: 30px 20px;
  background-color: #26A9E0; /* Brand color background */
  color: #ffffff;
  font-size: 0.9em;
  margin-top: 50px;
}

/* --- Responsive Design (Mobile) --- */
@media (max-width: 768px) {
  .page-resources-777bet-app-security-guide {
    font-size: 15px;
    line-height: 1.5;
  }

  /* Header Offset for mobile */
  .page-resources-777bet-app-security-guide__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-777bet-app-security-guide__hero-content h1 {
    font-size: 2em;
  }

  .page-resources-777bet-app-security-guide__hero-description {
    font-size: 1em;
  }
}