/* style/resources-e88-account-security.css */

/* Base styles for the page content, ensuring contrast with dark body background */
.page-resources-e88-account-security {
  color: #ffffff; /* Light text for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

.page-resources-e88-account-security__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section common styles */
.page-resources-e88-account-security__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for titles */
  font-weight: bold;
  line-height: 1.2;
}

.page-resources-e88-account-security__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Background color variations */
.page-resources-e88-account-security__dark-bg {
  background-color: #121212; /* Inherit body background or similar dark */
  color: #ffffff;
  padding: 80px 0;
}

.page-resources-e88-account-security__light-bg {
  background-color: #1a1a1a; /* Slightly lighter dark for contrast sections */
  color: #f0f0f0;
  padding: 80px 0;
}

/* Card styles */
.page-resources-e88-account-security__card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark background */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

.page-resources-e88-account-security__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Button styles */
.page-resources-e88-account-security__btn-primary,
.page-resources-e88-account-security__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-e88-account-security__btn-primary {
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-resources-e88-account-security__btn-primary:hover {
  background-color: #1e87b8;
  border-color: #1e87b8;
}

.page-resources-e88-account-security__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-resources-e88-account-security__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Hero Section */
.page-resources-e88-account-security__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 100px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #121212;
  position: relative;
  overflow: hidden;
}

.page-resources-e88-account-security__hero-content {
  max-width: 900px;
  z-index: 1;
  position: relative;
}

.page-resources-e88-account-security__hero-title {
  font-size: 3.5em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-resources-e88-account-security__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-resources-e88-account-security__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-resources-e88-account-security__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-resources-e88-account-security__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Subtle background image */
  filter: none; /* No color filters */
}

/* Intro Section */
.page-resources-e88-account-security__intro-section {
  background-color: #1a1a1a;
}

.page-resources-e88-account-security__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-resources-e88-account-security__feature-item {
  text-align: center;
}

.page-resources-e88-account-security__feature-icon {
  width: 100%; /* Ensure large image */
  height: auto;
  max-height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: none; /* No color filters */
}

.page-resources-e88-account-security__feature-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-resources-e88-account-security__feature-text {
  color: #cccccc;
}

/* Security Features Section */
.page-resources-e88-account-security__security-features {
  background-color: #121212;
}

.page-resources-e88-account-security__security-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 30px;
}

.page-resources-e88-account-security__list-item {
  background: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #26A9E0;
  padding: 30px;
  border-radius: 5px;
  color: #ffffff;
}

.page-resources-e88-account-security__list-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-resources-e88-account-security__list-text {
  color: #cccccc;
}

/* User Responsibility Section */
.page-resources-e88-account-security__user-responsibility {
  background-color: #1a1a1a;
}

.page-resources-e88-account-security__responsibility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-resources-e88-account-security__responsibility-item {
  text-align: center;
}

.page-resources-e88-account-security__responsibility-image {
  width: 100%; /* Ensure large image */
  height: auto;
  max-height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: none; /* No color filters */
}

.page-resources-e88-account-security__responsibility-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-resources-e88-account-security__responsibility-text {
  color: #cccccc;
}

.page-resources-e88-account-security__cta-block {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background-color: rgba(38, 169, 224, 0.1);
  border-radius: 10px;
}

.page-resources-e88-account-security__cta-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #ffffff;
}

/* FAQ Section */
.page-resources-e88-account-security__faq-section {
  background-color: #121212;
}

.page-resources-e88-account-security__faq-list {
  margin-top: 50px;
}

.page-resources-e88-account-security__faq-item {
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: #ffffff;
}

.page-resources-e88-account-security__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(38, 169, 224, 0.15);
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-resources-e88-account-security__faq-question:hover {
  background-color: rgba(38, 169, 224, 0.25);
}

.page-resources-e88-account-security__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.page-resources-e88-account-security__faq-item.active .page-resources-e88-account-security__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-e88-account-security__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: rgba(255, 255, 255, 0.03);
  color: #cccccc;
}

.page-resources-e88-account-security__faq-item.active .page-resources-e88-account-security__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 20px 25px;
}

.page-resources-e88-account-security__faq-answer p {
  margin: 0;
  color: #cccccc;
}

/* Final CTA Section */
.page-resources-e88-account-security__final-cta {
  background-color: #121212;
  text-align: center;
  padding: 80px 20px;
}

.page-resources-e88-account-security__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-resources-e88-account-security__hero-title {
    font-size: 3em;
  }
  .page-resources-e88-account-security__section-title {
    font-size: 2em;
  }
  .page-resources-e88-account-security__security-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-resources-e88-account-security {
    font-size: 15px;
    line-height: 1.5;
  }
  .page-resources-e88-account-security__hero-section {
    padding: 80px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is below fixed header */
  }
  .page-resources-e88-account-security__hero-title {
    font-size: 2.2em;
  }
  .page-resources-e88-account-security__hero-description {
    font-size: 1em;
  }
  .page-resources-e88-account-security__hero-cta-buttons,
  .page-resources-e88-account-security__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-e88-account-security__btn-primary,
  .page-resources-e88-account-security__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }
  .page-resources-e88-account-security__section-title {
    font-size: 1.8em;
  }
  .page-resources-e88-account-security__section-description {
    font-size: 0.95em;
  }
  .page-resources-e88-account-security__feature-grid,
  .page-resources-e88-account-security__responsibility-grid {
    grid-template-columns: 1fr;
  }
  .page-resources-e88-account-security__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-resources-e88-account-security__faq-answer {
    padding: 15px 20px;
  }
  .page-resources-e88-account-security img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-e88-account-security__container,
  .page-resources-e88-account-security__section,
  .page-resources-e88-account-security__card,
  .page-resources-e88-account-security__feature-item,
  .page-resources-e88-account-security__responsibility-item,
  .page-resources-e88-account-security__cta-block,
  .page-resources-e88-account-security__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-e88-account-security__hero-image-wrapper {
    position: relative; /* Adjust for mobile if needed, or keep absolute with higher z-index for content */
    height: 200px; /* Smaller background image on mobile */
    margin-bottom: 20px;
  }
  .page-resources-e88-account-security__hero-image {
    position: absolute;
  }
  .page-resources-e88-account-security__hero-content {
    padding-top: 0; /* No extra padding here as hero section handles it */
  }
  .page-resources-e88-account-security__security-list .page-resources-e88-account-security__list-item {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .page-resources-e88-account-security__hero-title {
    font-size: 1.8em;
  }
  .page-resources-e88-account-security__section-title {
    font-size: 1.5em;
  }
  .page-resources-e88-account-security__hero-section {
    padding: 60px 10px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-resources-e88-account-security__intro-section,
  .page-resources-e88-account-security__security-features,
  .page-resources-e88-account-security__user-responsibility,
  .page-resources-e88-account-security__faq-section,
  .page-resources-e88-account-security__final-cta {
    padding: 50px 0;
  }
  .page-resources-e88-account-security__container {
    padding: 0 10px;
  }
  .page-resources-e88-account-security__feature-item,
  .page-resources-e88-account-security__responsibility-item {
    padding: 20px;
  }
  .page-resources-e88-account-security__list-title {
    font-size: 1.4em;
  }
}

/* Ensure content area images are never too small */
.page-resources-e88-account-security__feature-icon,
.page-resources-e88-account-security__responsibility-image {
    min-width: 200px;
    min-height: 200px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Override specific image sizes for content area if needed to ensure minimum */
.page-resources-e88-account-security__feature-icon[width="400"][height="300"],
.page-resources-e88-account-security__responsibility-image[width="400"][height="300"] {
    width: 100%; /* Make them fill container, but respect aspect ratio */
    height: auto;
    min-width: 200px; /* Enforce minimum size */
    min-height: 150px; /* Enforce minimum size while maintaining aspect ratio (400x300 -> 200x150) */
}

/* Ensure no filter is used on images */
.page-resources-e88-account-security img {
  filter: none !important;
}